/* АБ «Гаевский и партнеры» – новая визуальная система (без Tilda) */

:root {
  /* Fluid scale: viewport 320px → 1920px+ (см. блок «Адаптивная шкала» в конце файла) */
  --fluid-min-width: 320px;
  --fluid-max-width: 1220px;
  --nav-mega-services-max: 1340px;

  --bg-deep: #060a10;
  --bg: #0c121c;
  --bg-elevated: #121a28;
  --bg-card: #141d2e;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(171, 139, 80, 0.35);
  --text: #f2f5f9;
  --text-muted: rgba(242, 245, 249, 0.72);
  --text-soft: rgba(242, 245, 249, 0.52);
  --surface: var(--bg-card);
  --tool-accent-blue: #93c5fd;
  --accent: #c9a962;
  --accent-dim: #a68b4f;
  --accent-glow: rgba(201, 169, 98, 0.22);
  --btn-primary-from: #edd48a;
  --btn-primary-mid: #d9bc62;
  --btn-primary-to: #c9a04a;
  --btn-primary-fg: #1a1208;
  --btn-primary-glow: rgba(217, 188, 98, 0.32);
  --danger: #e85d5d;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-lg: 0 24px 80px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Lora", "PT Serif", Georgia, "Times New Roman", serif;
  --font-display: var(--font);

  /* Вертикальный ритм (масштабируется с rem) */
  --base-line-height: 1.5;
  --heading-line-height: 1.2;

  /* Fluid typography (верхние пределы поднимаются на wide/ultrawide) */
  --fs-base: clamp(16px, 0.9rem + 0.22vw, 1.0625rem);
  --fs-h1: clamp(1.9rem, 1.3rem + 2vw, 4rem);
  --fs-h2: clamp(1.425rem, 1.1rem + 1vw, 2.75rem);
  --fs-h3: clamp(1.0625rem, 0.96rem + 0.4vw, 1.625rem);
  /* Яндекс: читаемый текст на мобильных — не меньше 12px (лучше 13–14px) */
  --fs-sm: clamp(13px, 0.82rem + 0.16vw, 0.9375rem);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-interactive: all 0.3s ease;

  --step--1: var(--fs-sm);
  --step-0: 0.9375rem;
  --step-1: 1.0625rem;
  --step-2: var(--fs-h3);
  --step-3: var(--fs-h2);
  --step-4: var(--fs-h1);

  /* Fluid spacing */
  --space: clamp(1rem, 0.6rem + 1.5vw, 2rem);
  --section-y: clamp(2rem, 5vw, 5rem);
  --gap-md: clamp(1rem, 2vw, 2rem);
  --gap-sm: clamp(0.75rem, 1.25vw, 1.35rem);
  --prose-width: 65ch;

  --container: min(var(--fluid-max-width), calc(100% - max(var(--space) * 2, 6vw)));
  --header-megabar-bg: #071935;
  --header-glass-nav: #8a99ad;
  --header-glass-nav-hover: #ffffff;
  --nav-panel-bg: #0e213f;
  --nav-mega-bg: rgba(7, 15, 30, 0.96);
  --nav-mega-border: rgba(197, 168, 128, 0.15);
  --nav-mega-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
  --nav-mega-link: #8a99ad;
  --nav-mega-link-hover: #ffffff;
  --nav-mega-practice-hover: #ffffff;
  --home-recognition-bg: transparent;
  --home-partners-bg: transparent;
  --home-form-bg: transparent;

  /* Унифицированная иерархия (см. блок «Visual system» ниже) */
  --eyebrow-size: var(--fs-sm);
  --eyebrow-weight: 700;
  --eyebrow-tracking: 0.12em;
  --eyebrow-color: var(--accent);
  --eyebrow-color-muted: var(--text-soft);
  --card-radius: var(--radius-md);
  --card-padding: clamp(1.15rem, 2vw, 1.35rem);
  --shadow-card: 0 10px 28px rgba(0, 0, 0, 0.22);
  --shadow-card-hover: 0 16px 40px rgba(0, 0, 0, 0.28);
  --shadow-panel: 0 18px 48px rgba(0, 0, 0, 0.32);
  --hero-title-inner: clamp(1.75rem, 1.15rem + 1.6vw, 2.75rem);
  --hero-pad-y: clamp(1.35rem, 2.5vw, 2rem);
}

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

html {
  font-size: clamp(16px, 0.82rem + 0.42vw, 17.5px);
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--base-line-height);
  color: var(--text);
  background: radial-gradient(1200px 600px at 12% -10%, var(--accent-glow), transparent 55%),
    radial-gradient(900px 500px at 88% 0%, rgba(80, 120, 200, 0.08), transparent 50%),
    var(--bg-deep);
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #e4cf94;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.container {
  width: var(--container);
  max-width: 100%;
  margin-inline: auto;
}

/* Базовая иерархия заголовков – rem + fluid-токены */
h1,
h2,
h3 {
  line-height: var(--heading-line-height);
}

h1 {
  font-family: var(--font-serif);
  font-size: var(--fs-h1);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h2 {
  font-family: var(--font-serif);
  font-size: var(--fs-h2);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
}

h4 {
  font-size: var(--step-1);
  line-height: 1.3;
}

h5,
h6 {
  font-size: var(--step-0);
  line-height: 1.35;
}

p {
  font-size: 1rem;
  line-height: 1.6;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- Хлебные крошки (визуальные) ----- */

.breadcrumbs {
  padding-top: 0.85rem;
  padding-bottom: 0.15rem;
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  line-height: 1.45;
}

.breadcrumbs__item {
  display: inline-flex;
  align-items: center;
}

.breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin: 0 0.45rem;
  color: var(--text-soft);
  font-weight: 400;
  pointer-events: none;
}

.breadcrumbs__link {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumbs__link:hover {
  color: var(--text);
}

.breadcrumbs__current {
  color: var(--text-muted);
  font-weight: 500;
}

/* ----- Header ----- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(6, 10, 16, 0.78);
  backdrop-filter: blur(14px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
}

.brand:hover {
  color: var(--text);
}

.brand__mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent), var(--accent-dim));
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: #0a0e14;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.2;
}

.brand__name {
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: 0.02em;
}

.brand__tag {
  font-size: 0.72rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #f2f5f9;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(197, 168, 128, 0.45);
}

.nav-toggle__icon {
  position: relative;
  display: block;
  width: 1.15rem;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: background 0.2s ease;
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.24s ease, top 0.24s ease;
}

.nav-toggle__icon::before {
  top: -6px;
}

.nav-toggle__icon::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.nav-mobile-backdrop {
  display: none;
}

.nav-mobile-footer {
  display: none;
}

.nav-top__link.nav-top__link--services-mobile {
  display: none;
}

.nav-top__link.nav-top__link--about-mobile {
  display: none;
}

body.nav-drawer-open {
  overflow: hidden;
  touch-action: none;
}

/* ----- Шапка: glassmorphism, микроанимации, парящая кнопка связи ----- */

body.abg-merged {
  padding-top: var(--site-header-h, 4.75rem);
}

.site-header-stack {
  position: relative;
  z-index: 1000;
}

.site-header--megabar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--header-megabar-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: none;
}

.site-header--megabar.site-header--glass {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 15, 30, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
}

.site-header--megabar.site-header--glass::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.site-header--megabar.site-header--glass.is-scrolled {
  background: rgba(7, 15, 30, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.32);
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

.site-header--megabar.site-header--glass .site-header__inner.nav-top {
  transition: padding 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header--megabar.site-header--glass.is-scrolled .site-header__inner.nav-top {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

.site-header--megabar .site-header__inner.nav-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: "brand phonegap toggle";
  align-items: center;
  gap: 0.5rem 0.75rem;
  padding: 0.65rem 0;
}

@media (min-width: 1100px) {
  .site-header--megabar .site-header__inner.nav-top {
    position: relative;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav phone";
    gap: 0.35rem 1rem;
  }

  .site-header--megabar .nav-top__toggle {
    display: none;
  }

  .nav-top__nav.nav {
    grid-area: nav;
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.1rem 0.2rem;
    row-gap: 0.15rem;
    width: auto;
    min-width: 0;
    max-width: none;
    height: auto;
    margin: 0;
    padding: 0 0.5rem;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav-top__menu {
    display: contents;
  }

  .nav-top__item {
    list-style: none;
  }

  .nav-mobile-backdrop {
    display: none !important;
  }

  .nav-mobile-footer {
    display: none !important;
  }

  .nav-top__link.nav-top__link--services-mobile {
    display: none !important;
  }

  .nav-top__link.nav-top__link--about-mobile {
    display: none !important;
  }
}

.nav-top__brand.brand {
  grid-area: brand;
  gap: 0.65rem;
  min-width: 0;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header--glass .nav-top__brand.brand:hover {
  opacity: 0.92;
  transform: translateY(-1px);
}

.nav-top__logo {
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 98, 0.45);
  background: rgba(201, 169, 98, 0.12);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header--glass .nav-top__brand:hover .nav-top__logo {
  border-color: rgba(197, 168, 128, 0.65);
  box-shadow: 0 4px 18px rgba(197, 168, 128, 0.2);
}

.site-header--megabar .brand__name {
  color: #f2f5f9;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
}

.site-header--megabar .brand__tag {
  color: rgba(242, 245, 249, 0.55);
}

.nav-top__contact-bar {
  grid-area: phonegap;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem 0.65rem;
  justify-self: end;
}

@media (min-width: 1100px) {
  .nav-top__contact-bar {
    grid-area: phone;
  }
}

.nav-top__toggle {
  grid-area: toggle;
  justify-self: end;
}

@media (min-width: 1100px) {
  .nav-top__bureau-extra {
    display: none !important;
  }
}

/* Быстрая связь: Telegram, WhatsApp, почта, звонок */
.quick-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

button.theme-toggle.quick-socials__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.55rem;
  gap: 0.35rem;
  width: auto;
  min-width: 2.25rem;
  font: inherit;
  cursor: pointer;
  appearance: none;
}

.theme-toggle__label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

html:not(.light-theme) .theme-toggle__label--dark {
  display: none;
}

html.light-theme .theme-toggle__label--light {
  display: none;
}

.site-header--glass .theme-toggle {
  width: auto;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.6rem;
}

@media (max-width: 1099px) {
  .theme-toggle__label {
    display: none !important;
  }

  button.theme-toggle.quick-socials__link,
  .site-header--glass .theme-toggle {
    width: 2.5rem;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    gap: 0;
    border-radius: 50%;
  }

  .theme-toggle__icon {
    width: 18px;
    height: 18px;
  }
}

.quick-socials__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--accent);
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid rgba(197, 168, 128, 0.32);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.quick-socials__link:hover {
  color: #fff;
  background: rgba(197, 168, 128, 0.22);
  border-color: rgba(197, 168, 128, 0.55);
}

.quick-socials--hero .quick-socials__link {
  width: 2.25rem;
  height: 2.25rem;
}

/* Парящая кнопка звонка в шапке (одна на всех ширинах) */
.nav-top__phone-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #c5a880;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid rgba(197, 168, 128, 0.35);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
  transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1100px) {
  .nav-top__phone-cta {
    padding: 0.55rem 1.15rem;
    font-size: 0.8125rem;
  }
}

.nav-top__phone-cta:hover {
  color: #070f1e;
  background-color: #c5a880;
  border-color: #c5a880;
  box-shadow: 0 4px 18px rgba(197, 168, 128, 0.28);
  transform: translateY(-1px);
}

/* Иконки мессенджеров в glass-шапке */
.site-header--glass .quick-socials--header .quick-socials__link {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  color: #c5a880;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.3s ease, background-color 0.3s ease, color 0.3s ease,
    transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
}

.site-header--glass .quick-socials--header .quick-socials__link svg {
  transition: transform 0.3s ease;
}

.site-header--glass .quick-socials--header .quick-socials__link:hover {
  color: #ffffff;
  border-color: rgba(197, 168, 128, 0.55);
  background: rgba(197, 168, 128, 0.08);
  box-shadow: 0 4px 14px rgba(197, 168, 128, 0.15);
  transform: translateY(-1px);
}

.site-header--glass .quick-socials--header .quick-socials__link:hover svg {
  transform: scale(1.06);
}

/* Шапка: иконки мессенджеров и почты – фирменные цвета, не золото */
.site-header--glass .quick-socials--header .quick-socials__link .brand-icon--telegram {
  color: #2aabee;
}

.site-header--glass .quick-socials--header .quick-socials__link .brand-icon--whatsapp {
  color: #25d366;
}

.site-header--glass .quick-socials--header .quick-socials__link .brand-icon--email {
  color: #5eb0ff;
}

.site-header--glass .quick-socials--header .quick-socials__link:hover .brand-icon--telegram {
  color: #5bc8ff;
}

.site-header--glass .quick-socials--header .quick-socials__link:hover .brand-icon--whatsapp {
  color: #3fe07a;
}

.site-header--glass .quick-socials--header .quick-socials__link:hover .brand-icon--email {
  color: #8ec8ff;
}

@media (min-width: 1100px) {
  .site-header--megabar .brand__text {
    display: none;
  }

  .nav-top__link--flat,
  .nav-dd__hit {
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.8rem;
    font-weight: 500;
    color: #e9eff2;
  }

  .nav-top__link--flat:hover,
  .nav-dd__hit:hover {
    color: #ab8b50;
  }

  /* Плавное золотое подчёркивание пунктов меню */
  .site-header--glass .nav-top__link--flat {
    position: relative;
    padding: 0.5rem 0.22rem;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--header-glass-nav);
    letter-spacing: 0.1em;
    font-weight: 600;
    font-size: 0.72rem;
    transition: color 0.3s ease;
  }

  .site-header--glass .nav-top__link--flat::after {
    content: "";
    position: absolute;
    bottom: 0.15rem;
    left: 0.22rem;
    right: 0.22rem;
    width: auto;
    height: 1px;
    background: #c5a880;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .site-header--glass .nav-top__link--flat:hover,
  .site-header--glass .nav-top__link--flat[aria-current="page"] {
    color: var(--header-glass-nav-hover);
    background: transparent;
    border-color: transparent;
  }

  .site-header--glass .nav-top__link--flat:hover::after,
  .site-header--glass .nav-top__link--flat[aria-current="page"]::after {
    transform: scaleX(1);
  }

  .site-header--glass .nav-dd__hit {
    position: relative;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--header-glass-nav);
    letter-spacing: 0.1em;
    font-weight: 600;
    font-size: 0.72rem;
    padding: 0.5rem 1.1rem 0.5rem 0.22rem;
    transition: color 0.3s ease;
  }

  .site-header--glass .nav-dd__hit::before {
    content: "";
    position: absolute;
    bottom: 0.15rem;
    left: 0.22rem;
    right: 1rem;
    height: 1px;
    background: #c5a880;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
  }

  .site-header--glass .nav-dd__hit:hover,
  .site-header--glass .nav-dd[open] > .nav-dd__hit {
    color: var(--header-glass-nav-hover);
    background: transparent;
  }

  .site-header--glass .nav-dd__hit:hover::before,
  .site-header--glass .nav-dd[open] > .nav-dd__hit::before {
    transform: scaleX(1);
  }

  .nav-top__bureau-extra {
    display: inline-flex;
    gap: 0.1rem;
    align-items: center;
  }

  .nav-top__bureau-extra .nav-top__link {
    padding: 0.5rem 0.22rem;
    font-size: 0.75rem;
    text-transform: none;
    letter-spacing: 0;
    color: rgba(233, 239, 242, 0.65);
  }
}

.nav-top__bureau-extra {
  display: none;
}

.nav-top__link {
  display: inline-block;
  padding: 0.42rem 0.65rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(242, 245, 249, 0.88);
  border: 1px solid transparent;
}

.nav-top__link:hover,
.nav-top__link[aria-current="page"] {
  color: #f2f5f9;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.06);
}

.nav-mega__cta-hint,
.nav-mobile-footer__hint,
.guide-sidebar__cta-hint,
.guide-folder__cta-hint,
.abg-cta-hint {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-soft);
  text-wrap: pretty;
}

.nav-mobile-footer__actions {
  display: grid;
  gap: 0.5rem;
}

.abg-external-mark {
  display: inline-block;
  margin-left: 0.12rem;
  font-size: 0.92em;
  line-height: 1;
  color: var(--accent);
  text-decoration: none;
}

.guide-encaro__cta-link--external {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.guide-sidebar__cta-hint,
.guide-folder__cta-hint {
  margin-top: 0.35rem;
}

.nav-dd {
  position: relative;
  border-radius: 6px;
}

.nav-dd__hit {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 0.42rem 1.5rem 0.42rem 0.65rem;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(242, 245, 249, 0.88);
  border: 1px solid transparent;
}

.nav-dd__hit::-webkit-details-marker {
  display: none;
}

.nav-dd__hit::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 0.35rem;
  height: 0.35rem;
  margin-top: -0.2rem;
  border-right: 1.5px solid rgba(242, 245, 249, 0.55);
  border-bottom: 1.5px solid rgba(242, 245, 249, 0.55);
  transform: rotate(45deg);
  transition: transform 0.2s ease, margin-top 0.2s ease, border-color 0.2s ease;
}

.nav-dd[open] > .nav-dd__hit::after {
  margin-top: 0.05rem;
  transform: rotate(225deg);
  border-color: rgba(201, 169, 98, 0.75);
}

.nav-dd[open] > .nav-dd__hit {
  color: #c9a962;
  background: rgba(255, 255, 255, 0.06);
}

.nav-dd__hit:focus-visible {
  outline: 2px solid rgba(201, 169, 98, 0.65);
  outline-offset: 2px;
}

/* «Услуги»: подзаголовок в мобильном меню – понятнее, чем один label */
.nav-dd__hit--services .nav-dd__hit-sub {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(242, 245, 249, 0.45);
}

@media (min-width: 1100px) {
  .nav-dd__hit--services .nav-dd__hit-sub {
    display: none;
  }
}

@media (max-width: 1099px) {
  .nav-dd__hit--services {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

.nav-dd__panel {
  position: absolute;
  left: 0;
  top: calc(100% + 0.35rem);
  min-width: 220px;
  padding: 0.65rem 0.5rem;
  background: var(--nav-panel-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  z-index: 220;
}

.nav-dd__panel--stack .nav-top__link {
  display: block;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.4rem 0.55rem;
}

.nav-dd--wide .nav-dd__panel--mega {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1.5rem;
  min-width: min(560px, calc(100vw - 2rem));
  padding: 1rem 1rem 1.1rem;
}

/* Мегаменю «Услуги»: матрица 4 компетенции + акцент */
@media (min-width: 1100px) {
  /* Отвязываем контекст позиционирования от кнопки «Услуги» */
  .nav-dd--services {
    position: static !important;
  }

  .nav-dd--services > .nav-dd__panel--mega.nav-mega--matrix {
    position: fixed;
    top: var(--site-header-h, 4.75rem);
    left: 50%;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    transform: translateX(-50%);
    translate: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    width: min(var(--nav-mega-services-max), calc(100vw - 2rem));
    min-width: 0;
    max-width: min(var(--nav-mega-services-max), calc(100vw - 2rem));
    max-height: none;
    overflow: visible;
    padding: 2rem;
    z-index: 1001;
    background: var(--nav-mega-bg);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border: 1px solid var(--nav-mega-border);
    border-radius: var(--radius-sm);
    border-bottom: 3px solid var(--accent);
    box-shadow: var(--nav-mega-shadow);
  }

  .nav-mega--matrix .nav-mega__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(9.25rem, 10.75rem);
    gap: 0.75rem 1.25rem;
    align-items: start;
  }

  .nav-mega--matrix.nav-dd__panel--services .nav-mega__col--accent {
    grid-column: 6;
    grid-row: 1 / -1;
  }

  .nav-mega--matrix .nav-mega__label {
    display: block;
    margin: 0 0 0.65rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    line-height: 1.3;
  }

  .nav-mega--matrix .nav-mega__label--cluster {
    margin-bottom: 0.75rem;
    padding-bottom: 0.3rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-soft);
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    line-height: 1.3;
  }

  .nav-mega__subgroup {
    margin-bottom: 0.6rem;
  }

  .nav-mega__subgroup:last-child {
    margin-bottom: 0;
  }

  .nav-mega--matrix a.nav-mega__label--sub {
    margin-bottom: 0.45rem;
    padding-bottom: 0;
    border-bottom: none;
    font-weight: 700;
    color: var(--accent);
  }

  .nav-mega--matrix .nav-mega__list--sub {
    padding-left: 0.25rem;
    gap: 0.25rem;
  }

  .nav-mega--matrix a.nav-mega__label--practice {
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
  }

  .nav-mega__icon {
    flex-shrink: 0;
    color: var(--accent);
    opacity: 0.92;
  }

  .nav-mega__label-text {
    min-width: 0;
  }

  .nav-mega__label--urgent {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
  }

  .nav-mega--matrix a.nav-mega__label--practice:hover {
    color: var(--nav-mega-practice-hover);
    border-bottom-color: rgba(201, 169, 98, 0.45);
  }

  .nav-mega--matrix .nav-mega__list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
  }

  .nav-mega--matrix .nav-mega__list .nav-top__link {
    display: flex;
    align-items: center;
    min-height: 1.7rem;
    padding: 0;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--nav-mega-link);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .nav-mega--matrix .nav-mega__list .nav-top__link--featured {
    font-weight: 700;
    color: var(--text);
  }

  .nav-mega--matrix .nav-mega__list .nav-top__link:hover {
    color: var(--nav-mega-link-hover);
    transform: translateX(3px);
  }

  .nav-mega__col--accent {
    align-self: stretch;
    max-width: 12.75rem;
  }

  .nav-mega--matrix .nav-mega__col--accent .nav-mega__card {
    gap: 0.55rem;
    padding: 0.75rem 0.65rem;
  }

  .nav-mega--matrix .nav-mega__col--accent .nav-mega__label--urgent {
    display: block;
    font-size: 0.7rem;
    letter-spacing: 0.07em;
  }

  .nav-mega--matrix .nav-mega__col--accent .nav-mega__icon {
    display: none;
  }

  .nav-mega--matrix .nav-mega__col--accent .nav-mega__text {
    flex: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    text-wrap: pretty;
  }

  .nav-mega--matrix .nav-mega__col--accent .btn--sm {
    align-self: stretch;
    padding: 0.45rem 0.55rem;
    font-size: 0.74rem;
    line-height: 1.3;
    text-align: center;
    white-space: normal;
  }

  .nav-mega__urgent-actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    width: 100%;
  }

  .nav-mega--matrix .nav-mega__col--accent .nav-mega__urgent-link {
    font-size: 0.8125rem;
    line-height: 1.35;
    text-align: center;
  }

  .nav-mega__protocol-links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
  }

  .nav-mega--matrix .nav-mega__col--accent .nav-mega__protocol-link {
    display: block;
    font-size: 0.74rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--accent);
    text-align: center;
    text-decoration: none;
    text-wrap: pretty;
  }

  .nav-mega--matrix .nav-mega__col--accent .nav-mega__protocol-link:hover {
    color: var(--text);
    text-decoration: underline;
  }

  .nav-mega__card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    height: 100%;
    padding: 1.35rem 1.25rem;
    border: 1px solid rgba(201, 169, 98, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(201, 169, 98, 0.08);
  }

  .nav-mega__card .nav-mega__label {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .nav-mega__text {
    margin: 0;
    flex: 1;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-muted);
  }

  .nav-mega__urgent-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
  }

  .nav-mega__urgent-link:hover {
    color: var(--text);
  }

  .nav-mega__head {
    margin-bottom: 1.1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
  }

  .nav-mega__all {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
  }

  .nav-mega__all:hover {
    color: var(--text);
  }

  /* Инфоцентр: компактная 2-колоночная панель */
  .nav-dd:not(.nav-dd--services) > .nav-dd__panel--mega.nav-mega--info {
    left: 0;
    translate: none;
    display: block;
    min-width: min(420px, calc(100vw - 2rem));
    max-width: 480px;
    padding: 1.75rem 2rem;
    background: var(--nav-mega-bg);
    border: 1px solid var(--nav-mega-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--nav-mega-shadow);
  }

  .nav-mega--info .nav-mega__grid--info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.75rem 2rem;
  }

  .nav-mega--info .nav-mega__list .nav-top__link {
    display: flex;
    align-items: center;
    min-height: 2.25rem;
    font-size: 0.9rem;
    color: var(--nav-mega-link);
  }
}

.nav-mega__col--stacked {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.nav-mega__stack {
  display: flex;
  flex-direction: column;
}

.nav-mega__label {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(201, 169, 98, 0.95);
}

.nav-mega__label--spaced {
  margin-top: 0.75rem;
}

a.nav-mega__label--practice {
  display: block;
  text-decoration: none;
  transition: color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

a.nav-mega__label--practice:hover {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.nav-dd__panel--mega .nav-top__link {
  display: block;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.28rem 0.45rem;
}

@media (max-width: 1099px) {
  .nav-dd__panel {
    position: static;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.18);
    margin: 0.25rem 0 0.35rem;
    padding: 0.5rem;
  }

  .nav-dd--wide .nav-dd__panel--mega {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .nav-dd--services[open] > .nav-dd__panel--mega.nav-mega--matrix {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: min(58vh, 26rem);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
    border: 1px solid var(--nav-mega-border);
    background: var(--nav-mega-bg);
    box-shadow: var(--nav-mega-shadow);
    padding: 1.15rem 1rem 1rem;
    margin: 0.35rem 0 0.5rem;
  }

  .nav-mega--matrix .nav-mega__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .nav-mega--matrix .nav-mega__label {
    margin: 0 0 0.65rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(197, 168, 128, 0.12);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
  }

  .nav-mega--matrix .nav-mega__list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
  }

  .nav-mega--matrix .nav-mega__list .nav-top__link {
    display: flex;
    align-items: center;
    min-height: 1.85rem;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.35;
    color: var(--nav-mega-link);
  }

  .nav-mega__card {
    padding: 1rem;
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: var(--radius-sm);
    background: rgba(201, 169, 98, 0.06);
  }

  .nav-mega__text {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-muted);
  }

  .nav-mega__head {
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    text-align: left;
  }

  .nav-mega__all {
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
  }

  .nav-top__nav.nav {
    position: fixed;
    top: var(--site-header-h, 4.75rem);
    right: 0;
    left: auto;
    bottom: 0;
    z-index: 1001;
    height: auto;
    max-width: none;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(22.5rem, 92vw);
    margin: 0;
    padding: 0.85rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 0;
    background: rgba(7, 15, 30, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.45);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    visibility: hidden;
    opacity: 0;
    /* Держим панель в вьюпорте: translateX(105%) Яндекс считает выходом за экран */
    transform: none;
    transition:
      opacity 0.28s ease,
      visibility 0.28s step-end;
  }

  .nav-top__menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-top__item {
    list-style: none;
  }

  .nav-top__nav.nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    transition:
      opacity 0.28s ease,
      visibility 0s step-start;
  }

  .nav-mobile-backdrop {
    position: fixed;
    inset: 0;
    top: var(--site-header-h, 4.75rem);
    z-index: 1000;
    display: block;
    background: rgba(4, 10, 22, 0.62);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.28s ease,
      visibility 0.28s step-end;
  }

  .nav-mobile-backdrop.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      opacity 0.28s ease,
      visibility 0s step-start;
  }

  .nav-mobile-backdrop[hidden] {
    display: block;
  }

  .nav-top__link--flat,
  .nav-top__nav.nav .nav-top__menu > .nav-top__item > .nav-top__link {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.45rem 0.65rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-transform: none;
    letter-spacing: 0.01em;
    border-color: transparent;
    background: transparent;
  }

  .nav-top__nav.nav .nav-dd__hit {
    color: var(--text);
    text-transform: none;
    letter-spacing: 0.01em;
  }

  .nav-top__nav.nav .nav-dd__hit::after {
    border-right-color: var(--text-soft);
    border-bottom-color: var(--text-soft);
  }

  .nav-top__link--flat:hover,
  .nav-top__nav.nav .nav-top__menu > .nav-top__item > .nav-top__link:hover,
  .nav-top__link--flat[aria-current="page"],
  .nav-top__nav.nav .nav-top__menu > .nav-top__item > .nav-top__link[aria-current="page"] {
    color: var(--accent);
    background: rgba(197, 168, 128, 0.08);
  }

  .nav-top__nav.nav .nav-dd__hit:hover,
  .nav-top__nav.nav .nav-dd[open] > .nav-dd__hit {
    color: var(--accent);
    background: rgba(197, 168, 128, 0.08);
  }

  .nav-top__nav.nav .nav-dd[open] > .nav-dd__hit::after {
    border-color: var(--accent);
  }

  .nav-top__nav.nav .nav-mega--matrix .nav-mega__list .nav-top__link {
    color: var(--nav-mega-link);
  }

  .nav-top__nav.nav .nav-mega--matrix .nav-mega__list .nav-top__link:hover {
    color: var(--nav-mega-link-hover);
  }

  .nav-top__bureau-extra {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.15rem 0 0.35rem;
    margin: 0 0 0.35rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-top__bureau-extra .nav-top__link {
    min-height: 2.5rem;
    padding: 0.4rem 0.65rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
  }

  .nav-mobile-footer {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-mobile-footer__cta {
    width: 100%;
    justify-content: center;
  }

  .nav-mobile-footer__phone {
    display: block;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
  }

  .nav-mobile-footer__phone:hover {
    color: var(--accent);
  }

  .nav-mobile-footer__socials {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.65rem;
  }

  .nav-mobile-footer__socials .quick-socials {
    gap: 0.55rem;
  }

  .nav-mobile-footer__socials .quick-socials__link {
    width: 2.5rem;
    height: 2.5rem;
  }

  .nav-dd {
    border-bottom: 1px solid var(--border);
  }

  .nav-dd__hit {
    width: 100%;
    text-align: left;
    min-height: 2.85rem;
    padding: 0.55rem 0.65rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
  }

  .site-header--megabar .site-header__inner.nav-top {
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas: "brand phonegap toggle";
  }

  .nav-top__brand .brand__tag {
    display: none;
  }

  .nav-top__phone-cta {
    font-size: 0.82rem;
    padding: 0.4rem 0.55rem;
    white-space: nowrap;
  }

  .nav-dd--desktop-only {
    display: none !important;
  }

  .nav-top__link.nav-top__link--services-mobile {
    display: flex;
  }

  .nav-top__link.nav-top__link--about-mobile {
    display: flex;
  }
}

@media (max-width: 479px) {
  .nav-top__contact-bar .quick-socials,
  .nav-top__contact-bar .theme-toggle {
    display: none;
  }

  .nav-top__logo {
    width: 44px;
    height: 44px;
  }

  .site-header--megabar .brand__name {
    font-size: 0.88rem;
  }
}

@media (max-width: 1099px) {
  .nav-toggle {
    display: inline-flex;
  }
}

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

/* ----- Sections ----- */

.section {
  padding: var(--section-y) 0;
}

.section--tight {
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.section__head {
  max-width: var(--prose-width);
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.section__label {
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  text-transform: uppercase;
  letter-spacing: var(--eyebrow-tracking);
  color: var(--eyebrow-color);
  margin: 0 0 0.5rem;
}

/* ----- Visual system: eyebrows, inner heroes, cards ----- */

.abg-eyebrow,
.section__label,
.articles-hub-hero__eyebrow,
.abg-section-head__eyebrow,
.practice-hero__label,
.practice-services__eyebrow,
.actions-guide-hero__label,
.page-hero__label {
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--eyebrow-color);
}

.abg-eyebrow--muted,
.guide-hero__kicker {
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--eyebrow-color-muted);
}

.articles-hub-hero__title,
.actions-guide-hero__title,
.practice-hero__title,
.page-hero__title {
  font-size: var(--hero-title-inner);
}

.articles-hub-hero.section {
  padding-top: var(--hero-pad-y);
}

.card {
  border-radius: var(--card-radius);
  padding: var(--card-padding);
  box-shadow: var(--shadow-card);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
}

.encaro-guide-hub-card {
  box-shadow: var(--shadow-card);
}

.encaro-guide-hub-card:hover {
  box-shadow: var(--shadow-card-hover);
}

.card--flat,
.card--flat:hover {
  transform: none;
  box-shadow: none;
}

.card--flat:hover {
  border-color: var(--border);
}

.actions-guide-stack__card {
  border-radius: var(--radius-sm);
}

.section__title {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 650;
  line-height: 1.15;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section__lead {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step-1);
}

/* ----- Hero ----- */

.hero {
  padding: clamp(2.5rem, 8vw, 5rem) 0 clamp(3rem, 7vw, 4.5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

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

.hero__title {
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 1rem;
  letter-spacing: -0.03em;
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__sub {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: var(--step-1);
  max-width: 48ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--step--1);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--ease-interactive);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: linear-gradient(
    168deg,
    var(--btn-primary-from) 0%,
    var(--btn-primary-mid) 44%,
    var(--btn-primary-to) 100%
  );
  color: var(--btn-primary-fg);
  border-color: rgba(255, 236, 180, 0.3);
  font-weight: 600;
  box-shadow:
    0 2px 10px rgba(0, 0, 0, 0.3),
    0 8px 26px rgba(201, 168, 74, 0.28);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 169, 98, 0.45);
  color: var(--text);
}

.btn--primary:hover {
  background: linear-gradient(168deg, #f5e09a 0%, #e4c872 44%, #d4b458 100%);
  color: var(--btn-primary-fg);
  border-color: rgba(255, 244, 200, 0.42);
  box-shadow:
    0 4px 14px rgba(0, 0, 0, 0.34),
    0 12px 34px rgba(228, 200, 114, 0.4),
    0 0 32px var(--btn-primary-glow);
  transform: translateY(-2px);
  filter: none;
}

.btn--primary:focus-visible {
  outline: 2px solid rgba(237, 212, 138, 0.9);
  outline-offset: 2px;
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}

.btn--sm {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.hero__note {
  font-size: var(--step--1);
  color: var(--text-soft);
  max-width: 42ch;
}

.hero__panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-lg);
}

.hero__panel h2 {
  font-size: var(--step--1);
  margin: 0 0 1rem;
  font-weight: 600;
}

.stat {
  display: grid;
  gap: 0.75rem;
}

.stat__row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--border);
  font-size: var(--step--1);
}

.stat__row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.stat__value {
  font-weight: 700;
  color: var(--accent);
}

/* ----- Cards grid ----- */

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.25rem), 1fr));
  gap: var(--gap-md);
}

.feed-streams__lead {
  margin: 0 0 1rem;
  max-width: 62ch;
  color: var(--text-muted);
}

.feed-streams__grid {
  margin-top: 0.35rem;
}

.feed-stream-card {
  text-align: left;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.card__title {
  font-size: var(--step-1);
  font-weight: 600;
  margin: 0;
}

.card__meta {
  font-size: var(--step--1);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.card__text {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step-0);
  flex: 1;
}

/* ----- Risk / list blocks ----- */

.risk-grid {
  display: grid;
  gap: 1rem;
}

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

.risk {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem;
}

.risk h3 {
  margin: 0 0 0.5rem;
  font-size: var(--step-1);
  color: var(--accent);
}

.risk p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step--1);
}

/* ----- Steps ----- */

.steps {
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

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

.step {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.25rem;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.1rem;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: var(--accent);
  color: #0a0e14;
  font-weight: 800;
  font-size: 0.8rem;
  display: grid;
  place-items: center;
}

.step h3 {
  margin: 0 0 0.35rem;
  font-size: var(--step-1);
}

.step p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step--1);
}

/* ----- FAQ ----- */

.faq {
  max-width: 720px;
}

.faq:not(.faq--cols) {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq.faq--cols {
  max-width: none;
  display: grid;
  gap: 0 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .faq.faq--cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.faq__col {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq__col .faq__item:last-child {
  margin-bottom: 0;
}

.faq details,
.faq .faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0;
  background: var(--bg-elevated);
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  list-style: none;
}

.faq__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.faq__question {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
  overflow-wrap: break-word;
}

.faq__toggle {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.2rem;
  position: relative;
}

.faq__toggle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 42%;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid #c5a880;
  border-bottom: 2px solid #c5a880;
  transform: translate(-50%, -35%) rotate(45deg);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease;
  opacity: 0.9;
}

.faq__item:hover .faq__toggle::before,
.faq__item[open] .faq__toggle::before {
  border-color: #ffffff;
}

.faq__item[open] .faq__toggle::before {
  transform: translate(-50%, -15%) rotate(225deg);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq details[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq .faq__body {
  padding: 0 1.15rem 1rem;
  color: var(--text-muted);
  font-size: var(--step--1);
}

/* ----- Таймлайн этапов (О бюро и др.) ----- */

.work-process-timeline {
  margin: 2.5rem 0 1.75rem;
  padding: 0 0 0 1.55rem;
  list-style: none;
  border-left: 1px solid rgba(197, 168, 128, 0.2);
}

.work-process-timeline__step {
  position: relative;
  margin: 0 0 1.85rem;
  padding: 0;
}

.work-process-timeline__step:last-child {
  margin-bottom: 0;
}

.work-process-timeline__step::before {
  content: "";
  position: absolute;
  left: -1.82rem;
  top: 0.35rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #c5a880;
  border: 3px solid #070f1e;
  box-shadow: 0 0 0 1px rgba(197, 168, 128, 0.25);
}

.work-process-timeline__step-title {
  margin: 0 0 0.65rem;
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
}

.work-process-timeline__step-text {
  margin: 0;
  max-width: var(--prose-width);
  font-size: var(--step-0);
  line-height: 1.55;
  color: #8a99ad;
}

.work-process-timeline__sublist {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.work-process-timeline__subitem {
  position: relative;
  padding-left: 1rem;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: #8a99ad;
}

.work-process-timeline__subitem::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.5rem;
  line-height: 1.5;
  color: #c5a880;
}

.work-process-timeline__step--with-principles {
  break-inside: avoid;
  page-break-inside: avoid;
}

.work-process-timeline__principles-intro {
  margin: 0.9rem 0 0.55rem;
  max-width: var(--prose-width);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.45;
  color: #ffffff;
}

.work-process-timeline__sublist--ordered {
  margin-top: 0.35rem;
  padding-left: 1.35rem;
  list-style: decimal;
}

.work-process-timeline__sublist--ordered .work-process-timeline__subitem {
  padding-left: 0.25rem;
  font-size: var(--step--1);
}

.work-process-timeline__sublist--ordered .work-process-timeline__subitem::before {
  content: none;
}

/* ----- О бюро: hero, фокус, двухколоночный блок ----- */

.about-intro-stack {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-intro-stack .about-hero {
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
}

.about-intro-stack .about-manifesto.about-manifesto--ethics {
  padding-top: 0;
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
  background: transparent;
  border-top: none;
  border-bottom: none;
}

.about-intro-stack .about-manifesto--ethics .about-manifesto__grid {
  grid-template-columns: 1fr;
  max-width: none;
}

.about-intro-stack .about-manifesto--ethics .about-manifesto__content {
  break-inside: avoid;
  page-break-inside: avoid;
}

.about-hero {
  padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.about-hero__inner {
  display: grid;
  gap: clamp(1.75rem, 3.5vw, 2.5rem);
  align-items: start;
}

@media (min-width: 960px) {
  .about-hero__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(15rem, 0.8fr);
    gap: clamp(2rem, 4vw, 3.25rem);
  }

  .about-hero__spotlights {
    margin-top: clamp(2.4rem, 4vw, 3.1rem);
  }
}

.about-hero__spotlights {
  display: grid;
  gap: 0.85rem;
}

.about-hero__spotlight {
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding: 1rem 3.25rem 1rem 1.1rem;
  border: 1px solid rgba(197, 168, 128, 0.18);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(145deg, rgba(197, 168, 128, 0.07), transparent 55%),
    rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.22s ease,
    box-shadow 0.3s ease;
}

.about-hero__spotlight:hover,
.about-hero__spotlight:focus-visible {
  border-color: rgba(197, 168, 128, 0.45);
  background:
    linear-gradient(145deg, rgba(197, 168, 128, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.about-hero__spotlight--probono {
  background:
    linear-gradient(145deg, rgba(96, 165, 250, 0.08), transparent 55%),
    rgba(255, 255, 255, 0.02);
}

.about-hero__spotlight--probono:hover,
.about-hero__spotlight--probono:focus-visible {
  background:
    linear-gradient(145deg, rgba(96, 165, 250, 0.12), transparent 60%),
    rgba(255, 255, 255, 0.04);
}

.about-hero__spotlight--tools {
  background:
    linear-gradient(145deg, rgba(168, 139, 92, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.02);
}

.about-hero__spotlight--tools:hover,
.about-hero__spotlight--tools:focus-visible {
  background:
    linear-gradient(145deg, rgba(168, 139, 92, 0.16), transparent 60%),
    rgba(255, 255, 255, 0.04);
}

@media (min-width: 1100px) {
  .about-hero__spotlights--triad {
    gap: 0.75rem;
  }
}

.about-hero__spotlight-eyebrow {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-hero__spotlight-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

.about-hero__spotlight-text {
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--text-soft);
}

.about-hero__spotlight-arrow {
  position: absolute;
  top: 50%;
  right: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(197, 168, 128, 0.35);
  background: rgba(197, 168, 128, 0.1);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  transform: translateY(-50%);
  transition:
    color 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.about-hero__spotlight:hover .about-hero__spotlight-arrow,
.about-hero__spotlight:focus-visible .about-hero__spotlight-arrow {
  color: #fff;
  border-color: rgba(197, 168, 128, 0.55);
  background: rgba(197, 168, 128, 0.22);
  transform: translateY(-50%) translateX(2px);
}

.about-page .about-manifesto__title,
.about-page .about-details__heading {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.55vw, 1.5rem);
  font-weight: 700;
  line-height: var(--heading-line-height);
  letter-spacing: -0.015em;
  color: var(--text);
}

.about-page .about-details__heading {
  margin: 0 0 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-page .about-manifesto--ethics .about-manifesto__title {
  margin-bottom: 1rem;
}

.about-page .about-manifesto--ethics .about-manifesto__content p {
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--header-glass-nav);
}

.about-hero__label {
  margin: 0 0 0.95rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-hero__title {
  margin: 0 0 1.35rem;
  max-width: 50rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.625rem);
  font-weight: 800;
  line-height: var(--heading-line-height);
  letter-spacing: -0.02em;
  color: var(--text);
}

.about-hero__lead {
  margin: 0;
  max-width: 53rem;
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--header-glass-nav);
}

.about-hero__lead--manifest {
  max-width: 56rem;
  font-size: clamp(1.05rem, 1.15vw, 1.2rem);
  line-height: 1.6;
  color: var(--text);
}

.about-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3.5vw, 2.75rem);
  margin-top: clamp(1.75rem, 3vw, 2.35rem);
  padding-top: clamp(1.35rem, 2.5vw, 1.85rem);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-hero__stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: min(100%, 9rem);
}

.about-hero__stat-value {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.about-hero__stat-label {
  font-size: var(--step--1);
  line-height: 1.4;
  color: var(--text-soft);
}

.about-page .about-focus .abg-section-head--left {
  margin-bottom: clamp(1.15rem, 2.5vw, 1.65rem);
}

.about-page .about-focus__meta {
  display: none;
}

.about-focus {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.about-focus .container {
  container-type: inline-size;
  container-name: about-focus;
}

.about-focus__grid {
  display: grid;
  gap: var(--gap-md);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr));
}

.about-focus__card {
  padding: 1.75rem 1.85rem;
  border: 1px solid rgba(197, 168, 128, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.01);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.about-focus__card:hover {
  border-color: rgba(197, 168, 128, 0.4);
  background: rgba(255, 255, 255, 0.02);
  transform: translateY(-2px);
}

.about-focus__meta {
  display: block;
  margin-bottom: 0.75rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-focus__title {
  margin: 0 0 0.85rem;
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.about-focus__text {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--header-glass-nav);
}

.about-details {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.about-details__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: start;
}

@media (min-width: 900px) {
  .about-details__grid {
    grid-template-columns: 1fr 1fr;
    gap: 3.75rem;
  }
}

.about-details__text {
  margin: 0 0 1.1rem;
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--header-glass-nav);
}

.about-details__text:last-child {
  margin-bottom: 0;
}

.about-details__link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 168, 128, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.about-details__link:hover {
  color: var(--text);
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

.about-page .about-details .work-process-timeline {
  margin: 0.25rem 0 0;
}

.about-page .work-process-timeline__step-title {
  color: var(--text);
}

.about-page .work-process-timeline__step-text,
.about-page .work-process-timeline__subitem {
  color: var(--header-glass-nav);
}

.about-page .work-process-timeline__principles-intro {
  color: var(--text);
}

/* ----- О бюро: принципы (карточки) и таймлайн сотрудничества ----- */

.about-principles {
  padding: clamp(2rem, 4vw, 3.25rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-principles__intro {
  margin: 0 0 clamp(1.35rem, 2.5vw, 1.85rem);
  max-width: 42rem;
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--header-glass-nav);
}

.about-principles__grid {
  display: grid;
  gap: var(--gap-md);
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .about-principles__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-principles__grid--quad {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .about-principles__grid--quad {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.about-principle-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1.65rem 1.75rem;
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(197, 168, 128, 0.07), transparent 55%),
    rgba(255, 255, 255, 0.02);
  transition: border-color 0.28s ease, transform 0.28s ease, box-shadow 0.28s ease;
}

.about-principle-card:hover {
  border-color: rgba(197, 168, 128, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
}

.about-principle-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 10px;
  color: var(--accent);
  background: rgba(197, 168, 128, 0.1);
  border: 1px solid rgba(197, 168, 128, 0.22);
}

.about-principle-card__title {
  margin: 0;
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.about-principle-card__text {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--header-glass-nav);
}

.about-cooperation {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-cooperation__track-shell {
  margin: 0 0 clamp(1.75rem, 3vw, 2.35rem);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.about-cooperation__track {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: min(100%, 52rem);
}

.about-cooperation__step {
  position: relative;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 0 0 1.65rem 0.25rem;
}

.about-cooperation__step:last-child {
  padding-bottom: 0;
}

.about-cooperation__step-head {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
}

.about-cooperation__step-rail {
  flex: 1;
  width: 2px;
  min-height: 1.25rem;
  margin-top: 0.45rem;
  background: linear-gradient(
    180deg,
    rgba(197, 168, 128, 0.55) 0%,
    rgba(197, 168, 128, 0.12) 100%
  );
}

.about-cooperation__step:last-child .about-cooperation__step-rail {
  display: none;
}

.about-cooperation__step-body {
  padding: 1.15rem 1.25rem 1.2rem;
  border: 1px solid rgba(197, 168, 128, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

@media (min-width: 1024px) {
  .about-cooperation__track-shell {
    overflow: visible;
  }

  .about-cooperation__track {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    min-width: 0;
    padding-top: 0.35rem;
  }

  .about-cooperation__track::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 1.55rem;
    height: 2px;
    background: linear-gradient(
      90deg,
      rgba(197, 168, 128, 0.08) 0%,
      rgba(197, 168, 128, 0.45) 18%,
      rgba(197, 168, 128, 0.45) 82%,
      rgba(197, 168, 128, 0.08) 100%
    );
    pointer-events: none;
    z-index: 0;
  }

  .about-cooperation__track-shell {
    position: relative;
  }

  .about-cooperation__step {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding: 0;
    z-index: 1;
  }

  .about-cooperation__step-head {
    flex-direction: row;
    justify-content: center;
    min-height: auto;
  }

  .about-cooperation__step-rail {
    display: none;
  }

  .about-cooperation__step-body {
    min-height: 100%;
  }
}

.about-cooperation__step--highlight .about-cooperation__step-body,
.about-cooperation__step--encaro .about-cooperation__step-body {
  border-color: rgba(56, 132, 255, 0.38);
  background:
    linear-gradient(135deg, rgba(0, 119, 255, 0.1) 0%, rgba(197, 168, 128, 0.06) 100%),
    rgba(255, 255, 255, 0.03);
  box-shadow: 0 10px 28px rgba(0, 119, 255, 0.1);
}

.about-cooperation__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  color: #1a1208;
  background: linear-gradient(135deg, rgba(197, 168, 128, 0.95), rgba(168, 138, 98, 0.98));
  box-shadow: 0 4px 14px rgba(197, 168, 128, 0.22);
}

.about-cooperation__step--encaro .about-cooperation__step-num {
  color: #fff;
  background: linear-gradient(135deg, #0077ff 0%, #0066dd 100%);
  box-shadow: 0 4px 14px rgba(0, 119, 255, 0.28);
}

.about-cooperation__step-body {
  min-width: 0;
}

.about-cooperation__encaro-chip {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin: 0.85rem 0 0;
  padding: 0.45rem 0.7rem;
  border-radius: 6px;
  border: 1px solid rgba(0, 119, 255, 0.28);
  background: rgba(0, 119, 255, 0.08);
}

.about-cooperation__encaro-chip-label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ecfff;
}

.about-cooperation__encaro-chip-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: #5eb0ff;
  text-decoration: none;
  border-bottom: 1px dashed rgba(94, 176, 255, 0.55);
}

.about-cooperation__encaro-chip-link:hover,
.about-cooperation__encaro-chip-link:focus-visible {
  color: #c5e4ff;
}

.about-cooperation__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.55rem;
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #e8f2ff;
  background: rgba(0, 119, 255, 0.22);
  border: 1px solid rgba(0, 119, 255, 0.45);
}

.about-cooperation__step-title {
  margin: 0 0 0.55rem;
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.about-cooperation__step-text {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.62;
  color: var(--header-glass-nav);
}

.about-cooperation__encaro-link {
  color: #5eb0ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.about-cooperation__encaro-link:hover,
.about-cooperation__encaro-link:focus-visible {
  color: #9ecfff;
}

.about-cooperation__rules {
  margin: 0 0 1.35rem;
  padding: 1.45rem 1.55rem;
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
}

.about-cooperation__rules-title {
  margin: 0 0 1rem;
  font-size: var(--step-0);
  font-weight: 700;
  color: var(--text);
}

.about-cooperation__rules-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .about-cooperation__rules-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

.about-cooperation__rule {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
}

.about-cooperation__rule-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #1a1208;
  background: rgba(197, 168, 128, 0.9);
}

.about-cooperation__rule-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.about-cooperation__rule-label {
  font-size: var(--step--1);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-cooperation__rule-text {
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--header-glass-nav);
}

.about-cooperation__crosslink {
  margin: 0;
  max-width: min(56rem, 100%);
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--text-soft);
}

.about-cooperation__link {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 168, 128, 0.3);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.about-cooperation__link:hover,
.about-cooperation__link:focus-visible {
  color: var(--text);
  border-bottom-color: rgba(255, 255, 255, 0.35);
}

/* ----- О бюро: связанные разделы и FAQ ----- */

.about-related {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.about-related__eyebrow {
  margin: 0 0 1.35rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.about-related__grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

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

.about-related__card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  min-height: 0;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(197, 168, 128, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.2s ease,
    box-shadow 0.3s ease;
}

.about-related__card:hover {
  border-color: rgba(197, 168, 128, 0.45);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.about-related__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.about-related__meta {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.about-related__title {
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.about-related__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50%;
  border: 1px solid rgba(197, 168, 128, 0.4);
  background: rgba(197, 168, 128, 0.1);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  color: #c5a880;
  transition: color 0.2s ease, transform 0.2s ease, border-color 0.2s ease,
    background 0.2s ease;
}

.about-related__card:hover .about-related__arrow {
  color: #ffffff;
  border-color: rgba(197, 168, 128, 0.6);
  background: rgba(197, 168, 128, 0.2);
  transform: translateX(3px);
}

.about-faq {
  padding: clamp(2rem, 4vw, 3.5rem) 0 clamp(3rem, 5vw, 4rem);
}

.about-page .about-faq__inner {
  max-width: none;
}

.about-faq__eyebrow {
  margin: 0 0 1.35rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.about-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about-faq__item {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  background: rgba(12, 27, 51, 0.55);
  overflow: hidden;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.about-faq__item:hover {
  border-color: rgba(197, 168, 128, 0.22);
  background: rgba(12, 27, 51, 0.75);
}

.about-faq__item[open] {
  border-color: rgba(197, 168, 128, 0.35);
  background: rgba(12, 27, 51, 0.85);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.about-faq__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.2rem 1.35rem;
  cursor: pointer;
  list-style: none;
}

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

.about-faq__question {
  flex: 1;
  min-width: 0;
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: normal;
}

.about-faq__toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid rgba(197, 168, 128, 0.35);
  background: rgba(197, 168, 128, 0.08);
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.about-faq__toggle::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid #c5a880;
  border-bottom: 2px solid #c5a880;
  transform: rotate(45deg) translate(-1px, -2px);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease;
}

.about-faq__item:hover .about-faq__toggle,
.about-faq__item[open] .about-faq__toggle {
  border-color: rgba(197, 168, 128, 0.55);
  background: rgba(197, 168, 128, 0.15);
}

.about-faq__item:hover .about-faq__toggle::before,
.about-faq__item[open] .about-faq__toggle::before {
  border-color: #ffffff;
}

.about-faq__item[open] .about-faq__toggle::before {
  transform: rotate(225deg) translate(-1px, 1px);
}

.about-faq__item[open] .about-faq__summary {
  border-bottom: 1px solid rgba(197, 168, 128, 0.15);
}

.about-faq__body {
  padding: 0 1.35rem 1.2rem;
}

.about-faq__body p {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--header-glass-nav);
}

/* ----- Хаб практики (налоги и др.) ----- */

.practice-hero {
  padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
}

.practice-hero__label {
  margin: 0 0 0.95rem;
}

.practice-hero__title {
  margin: 0 0 1.35rem;
  max-width: 50rem;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
}

.practice-hero__lead {
  margin: 0;
  max-width: 53rem;
  font-size: var(--step-1);
  line-height: 1.6;
  color: var(--text-muted);
}

.practice-insight {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
}

.practice-insight__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: start;
}

@media (min-width: 900px) {
  .practice-insight__grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.practice-insight__callout {
  padding: 1.75rem 1.85rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(197, 168, 128, 0.04);
  box-shadow: var(--shadow-card);
}

.practice-insight__callout-title,
.practice-insight__approach-title {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.practice-insight__approach-title {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.practice-insight__text {
  margin: 0 0 0.95rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #8a99ad;
}

.practice-insight__text:last-child {
  margin-bottom: 0;
}

.practice-insight__text--emphasis {
  font-style: italic;
}

.practice-services {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.practice-services__inner {
  max-width: 75rem;
}

.practice-services__eyebrow {
  margin: 0 0 0.85rem;
  text-align: center;
}

.practice-services .container {
  container-type: inline-size;
  container-name: practice-services;
}

.practice-services__title {
  margin: 0 0 2.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.practice-services__grid {
  display: grid;
  gap: var(--gap-md);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr));
}

.practice-services__card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
  padding: var(--card-padding);
  border: 1px solid rgba(197, 168, 128, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.practice-services__card:hover {
  border-color: rgba(197, 168, 128, 0.38);
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.practice-services__card-title {
  margin: 0;
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.practice-services__card-text {
  margin: 0;
  flex: 1;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text-muted);
}

.practice-services__card-cta {
  margin-top: auto;
  align-self: flex-start;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed rgba(197, 168, 128, 0.55);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.practice-services__card-cta:hover {
  color: var(--text);
  border-bottom-color: rgba(255, 255, 255, 0.45);
}

.practice-services__card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.svc-tax-hub-cta {
  background: var(--bg-alt, var(--bg));
}

.svc-tax-hub-cta__panel {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: var(--radius-sm);
  background: var(--surface, rgba(255, 255, 255, 0.02));
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.svc-tax-hub-cta__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e11d48;
}

.svc-tax-hub-cta__panel .tax-landing-cta__title {
  margin-bottom: 1rem;
}

.svc-tax-hub-cta__panel .tax-landing-cta__text {
  margin-left: auto;
  margin-right: auto;
}

.svc-tax-hub-cta__actions {
  justify-content: center;
  margin-top: 0.25rem;
}

.svc-tax-hub-adv {
  background: var(--bg-alt, var(--bg));
  border-top: 1px solid var(--border);
}

@media (min-width: 900px) {
  .svc-tax-hub-adv .tax-landing-adv__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.svc-tax-hub-emergency {
  border-top: 1px solid var(--border);
  background: radial-gradient(
    circle at 50% 50%,
    rgba(17, 30, 51, 0.95) 0%,
    var(--bg) 100%
  );
}

.svc-tax-hub-emergency__phone-wrap {
  margin: 0 0 1.75rem;
  text-align: center;
}

.svc-tax-hub-emergency__form-title {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 700;
  text-align: center;
  color: var(--text);
}

.svc-corp-pillars {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
  background: var(--bg-alt, var(--bg));
}

.svc-corp-pillars__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .svc-corp-pillars__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .svc-corp-pillars__grid--duo {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-corp-pillars__grid--quad {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .svc-corp-pillars__grid--quad {
    grid-template-columns: repeat(4, 1fr);
  }
}

.svc-corp-pillars__card {
  padding: 1.5rem 1.65rem;
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-top: 3px solid #c5a880;
  border-radius: var(--radius-sm);
  background: var(--surface, rgba(255, 255, 255, 0.02));
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.svc-corp-pillars__card:hover {
  border-color: rgba(197, 168, 128, 0.38);
  transform: translateY(-2px);
}

.svc-corp-pillars__title {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.svc-corp-pillars__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.svc-corp-pillars__card .svc-dep-rules__icon {
  margin-bottom: 0.75rem;
}

.practice-adjacent__grid {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .practice-adjacent__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ----- Налоговый юрист: целевая страница (/practice/taxpractice) ----- */

.tax-landing-section-title {
  margin: 0 0 2rem;
  font-size: var(--step-2);
  font-weight: 700;
  text-align: center;
  color: var(--text);
  text-decoration: none;
}

.tax-landing-hero {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2rem, 4vw, 3rem);
  background: radial-gradient(ellipse 80% 60% at 88% 40%, rgba(100, 160, 220, 0.14), transparent 55%),
    var(--bg-deep);
  border-bottom: 1px solid var(--border);
}

.tax-landing-hero__inner {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .tax-landing-hero__inner {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 3rem;
  }
}

.tax-landing-hero__eyebrow {
  margin: 0 0 0.85rem;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.tax-landing-hero__title {
  margin: 0 0 1.15rem;
  font-size: var(--step-4);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
}

.tax-landing-hero__lead {
  margin: 0 0 1.5rem;
  max-width: var(--prose-width);
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
}

.tax-landing__bullets {
  margin: 0 0 1.15rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 56ch;
}

.tax-landing__bullet {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  break-inside: avoid;
}

.tax-landing__bullet-mark {
  flex-shrink: 0;
  margin-top: 0.15rem;
  font-size: var(--step--1);
  color: var(--accent);
}

.tax-landing__bullet-text {
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--text-muted);
}

.tax-landing__bullet-strong {
  color: var(--text);
  font-weight: 600;
}

.tax-landing-hero__bullets-intro {
  margin: 0 0 1rem;
  max-width: 56ch;
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.tax-landing-hero__defense-grid {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
  max-width: 100%;
}

@media (min-width: 720px) {
  .tax-landing-hero__defense-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

.tax-landing-hero__defense-card {
  padding: 1.1rem 1.15rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.tax-landing-hero__defense-title {
  margin: 0 0 0.5rem;
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.tax-landing-hero__defense-text {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--text-muted);
}

.abg-service-hub .svc-vnp-defenses,
.tax-practice-hub .svc-vnp-defenses,
.tax-consultation-hub .svc-vnp-defenses {
  padding-block: clamp(1.25rem, 2.5vw, 2rem);
}

.svc-vnp-defenses .abg-section-head {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.65rem);
}

.svc-vnp-defenses .tax-landing-hero__defense-grid {
  margin-bottom: 0;
}

.tax-landing-hero__copy .tax-landing-hero__lead + .tax-landing-hero__lead {
  margin-top: -0.65rem;
}

.tax-landing-hero--split-contact .tax-landing-hero__lead {
  margin-bottom: 0;
  max-width: none;
}

.tax-landing-hero--split-contact .tax-landing-hero__contact-aside {
  padding: clamp(1.1rem, 2.2vw, 1.35rem) clamp(1.15rem, 2.4vw, 1.5rem);
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--bg-deep) 88%, var(--accent) 12%);
  align-self: start;
}

.tax-landing-hero--split-contact .tax-landing-hero__contact-aside .abg-hairline-contact {
  margin-top: 0;
  max-width: none;
}

.tax-landing-hero--split-contact .tax-landing-hero__contact-aside .abg-hairline-contact__rule {
  display: none;
}

@media (min-width: 900px) {
  .tax-landing-hero--split-contact .tax-landing-hero__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    align-items: start;
  }
}

.tax-landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}

/* Hairline contact strip (hero + CTA) */
.abg-hairline-contact {
  margin-top: 0.15rem;
  max-width: 40rem;
}

.abg-hairline-contact__rule {
  height: 1px;
  margin-bottom: 0.75rem;
  background: linear-gradient(
    90deg,
    rgba(197, 168, 128, 0.55) 0%,
    rgba(197, 168, 128, 0.12) 72%,
    transparent 100%
  );
}

.abg-hairline-contact__stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.abg-hairline-contact__phone {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  text-decoration: none;
  color: inherit;
}

.abg-hairline-contact__label {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-muted);
}

.abg-hairline-contact__number {
  position: relative;
  font-size: clamp(1.05rem, 2.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  padding-bottom: 0.2rem;
}

.abg-hairline-contact__number::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.abg-hairline-contact__phone:hover .abg-hairline-contact__number::after,
.abg-hairline-contact__phone:focus-visible .abg-hairline-contact__number::after {
  transform: translateX(-50%) scaleX(1);
}

.abg-hairline-contact__arrow-slot {
  display: inline-flex;
  align-items: center;
  margin-left: 0.15rem;
  color: rgba(197, 168, 128, 0.75);
}

.abg-hairline-contact__phone .abg-vector-arrow {
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
}

.abg-hairline-contact__phone:hover .abg-vector-arrow,
.abg-hairline-contact__phone:focus-visible .abg-vector-arrow {
  transform: rotate(-90deg);
  color: var(--accent);
}

.abg-hairline-contact__vk {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  text-decoration: none;
  color: inherit;
}

.abg-hairline-contact__vk svg,
.abg-vk-icon {
  flex-shrink: 0;
}

.abg-hairline-contact__vk-label {
  position: relative;
  font-size: clamp(0.98rem, 2.1vw, 1.12rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  padding-bottom: 0.2rem;
}

.abg-hairline-contact__vk-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: #0077FF;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.abg-hairline-contact__vk:hover .abg-hairline-contact__vk-label::after,
.abg-hairline-contact__vk:focus-visible .abg-hairline-contact__vk-label::after {
  transform: translateX(-50%) scaleX(1);
}

.abg-hairline-contact__vk:hover .abg-vector-arrow,
.abg-hairline-contact__vk:focus-visible .abg-vector-arrow {
  transform: rotate(-90deg);
  color: #0077FF;
}

.abg-hairline-contact__vk .abg-vector-arrow {
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
}

.abg-hairline-contact__channel-note {
  margin: 0;
  max-width: 38rem;
  font-size: var(--step--2);
  line-height: 1.45;
  color: var(--text-soft);
}

.abg-hairline-contact__channel-note a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.abg-hairline-contact__channel-note a:hover,
.abg-hairline-contact__channel-note a:focus-visible {
  color: var(--text);
}

.abg-hairline-contact__satellites {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
}

.abg-hairline-contact__messengers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
}

.abg-hairline-contact__messengers--solo {
  justify-content: flex-start;
  margin-top: 0.85rem;
}

.tax-emergency--progressive .abg-hairline-contact__messengers--solo {
  margin-top: 1rem;
}

.abg-hairline-contact__messengers-hint {
  font-size: var(--step--1);
  color: var(--text-muted);
  margin-right: 0.15rem;
}

.abg-hairline-contact__messenger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem 0.35rem 0.55rem;
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  transition:
    border-color 0.22s ease,
    color 0.22s ease,
    background 0.22s ease;
}

.abg-hairline-contact__messenger svg {
  flex-shrink: 0;
  color: rgba(197, 168, 128, 0.9);
  transition: color 0.22s ease;
}

.abg-hairline-contact__messenger:hover,
.abg-hairline-contact__messenger:focus-visible {
  border-color: rgba(197, 168, 128, 0.55);
  color: var(--text);
  background: rgba(197, 168, 128, 0.08);
}

.abg-hairline-contact__messenger:hover svg,
.abg-hairline-contact__messenger:focus-visible svg {
  color: var(--accent);
}

.abg-hairline-contact__messenger--secondary {
  opacity: 0.9;
  border-color: rgba(197, 168, 128, 0.2);
}

.abg-hairline-contact__messenger--mail svg {
  color: rgba(197, 168, 128, 0.95);
}

.tax-emergency--progressive {
  text-align: left;
}

.tax-emergency--progressive .tax-emergency__inner {
  align-items: stretch;
}

.tax-emergency--progressive .tax-emergency__title {
  text-align: center;
}

.tax-emergency--progressive .tax-emergency__phone-lead {
  margin: 0 0 1.15rem;
  text-align: left;
}

.tax-emergency--progressive .abg-hairline-contact {
  max-width: none;
  margin-bottom: 1.35rem;
}

.tax-emergency--progressive .abg-inline-lead {
  width: 100%;
  margin-bottom: 0.25rem;
}

.abg-inline-lead__row {
  width: 100%;
}

.abg-inline-lead__field {
  display: block;
  width: 100%;
}

.abg-inline-lead__prompt {
  display: block;
  margin-bottom: 0.75rem;
  font-size: var(--step-0);
  font-weight: 500;
  color: var(--text);
}

.abg-inline-lead__input-wrap {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid rgba(197, 168, 128, 0.35);
  transition: border-color 0.25s ease;
}

.abg-inline-lead__input-wrap:focus-within {
  border-color: rgba(197, 168, 128, 0.75);
}

.abg-inline-lead__input-wrap input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0.85rem 0.15rem 0.85rem 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: var(--step-0);
  color: var(--text);
}

.abg-inline-lead__input-wrap input::placeholder {
  color: rgba(148, 163, 184, 0.65);
}

.abg-inline-lead__input-wrap input:focus {
  outline: none;
}

.abg-inline-lead__submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: rgba(197, 168, 128, 0.8);
  cursor: pointer;
  transition: color 0.25s ease, transform 0.25s ease;
}

.abg-inline-lead__submit:hover,
.abg-inline-lead__submit:focus-visible {
  color: var(--accent);
  transform: translateX(3px);
}

.abg-inline-lead__submit-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.abg-inline-lead__privacy {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.abg-inline-lead__privacy a {
  color: var(--text);
  text-decoration-thickness: 1px;
}

@media (prefers-reduced-motion: reduce) {
  .abg-hairline-contact__number::after,
  .abg-hairline-contact__phone .abg-vector-arrow,
  .tax-vitrine__card--active,
  .tax-vitrine__corner .abg-vector-arrow {
    transition: none;
  }
}

.tax-landing-hero__messenger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  flex: 1 1 calc(50% - 0.35rem);
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(197, 168, 128, 0.45);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tax-landing-hero__messenger-btn svg {
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .tax-landing-hero__actions--cta-row {
    flex-wrap: nowrap;
  }

  .tax-landing-hero__cta-phone {
    flex: 1 1 auto;
    min-width: 0;
  }

  .tax-landing-hero__messenger-btn {
    flex: 0 0 auto;
    min-width: 8.75rem;
  }
}

.tax-landing-hero__phone {
  font-size: var(--step-0);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 168, 128, 0.45);
  padding-bottom: 0.1rem;
}

.tax-landing-hero__phone:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.tax-landing__portrait {
  justify-self: end;
}

.tax-landing__portrait-card {
  max-width: 22rem;
  padding: 0.65rem;
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}

.tax-landing__portrait-img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-sm) - 2px);
  margin-bottom: 0.85rem;
}

.tax-landing__portrait-name {
  margin: 0 0 0.35rem;
  font-size: var(--step-0);
  font-weight: 700;
  color: var(--text);
}

.tax-landing__portrait-role {
  margin: 0;
  font-size: var(--step--1);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

/* ----- Профиль управляющего партнёра (team/advocacy) ----- */

.partner-profile-hero.tax-landing-hero {
  background: radial-gradient(ellipse 72% 85% at 88% 48%, rgba(12, 27, 51, 0.92), transparent 58%),
    var(--bg-deep);
}

.partner-profile-hero .tax-landing__portrait-card {
  max-width: 20rem;
}

.partner-profile-hero .tax-landing__portrait-img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.about-focus__card--edge {
  border-left: 4px solid #c5a880;
}

.partner-timeline {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.partner-timeline__inner {
  max-width: 44rem;
}

.partner-timeline .work-process-timeline__step-title--year {
  margin: 0 0 0.4rem;
  font-size: var(--step-0);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #c5a880;
}

.partner-practices {
  padding: clamp(2rem, 4vw, 3rem) 0;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.partner-practices__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.partner-practices__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.15rem;
  border: 1px solid rgba(197, 168, 128, 0.45);
  border-radius: var(--radius-sm);
  font-size: var(--step-0);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.partner-practices__tag:hover {
  border-color: #c5a880;
  background: rgba(197, 168, 128, 0.1);
  color: #ffffff;
}

.partner-consult {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 3.75rem);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.partner-consult__text {
  margin: 0 0 1rem;
  max-width: var(--prose-width);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text-muted);
}

.partner-consult__text:last-of-type {
  margin-bottom: 1.35rem;
}

.tax-landing-adv {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.tax-landing-adv__grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .tax-landing-adv__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tax-landing-adv__card {
  padding: 1.75rem 1.85rem;
  border: 1px solid rgba(197, 168, 128, 0.18);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.tax-landing-adv__card-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.tax-landing-adv__card-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.tax-landing-vitrine {
  padding: clamp(1.5rem, 3vw, 2rem) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  overflow: visible;
}

.tax-landing-vitrine .container,
.tax-vitrine__grid {
  overflow: visible;
}

.tax-landing-vitrine--alt {
  background: var(--bg-alt, var(--bg));
}

.tax-vitrine__grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}

@media (min-width: 640px) {
  .tax-vitrine__grid:not(.tax-vitrine__grid--quad) {
    grid-template-columns: repeat(2, 1fr);
  }

  .tax-vitrine__grid--quad {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .tax-vitrine__grid:not(.tax-vitrine__grid--quad) {
    grid-template-columns: repeat(4, 1fr);
  }

  .tax-vitrine__grid--five {
    grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  }
}

.tax-vitrine__card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem 1.5rem;
  border: 1px solid rgba(197, 168, 128, 0.18);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  overflow: visible;
}

.tax-vitrine__card--active {
  position: relative;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.32s ease,
    background 0.32s ease,
    box-shadow 0.32s ease;
}

.tax-vitrine__card--active:hover,
.tax-vitrine__card--active:focus-visible {
  border-color: rgba(197, 168, 128, 0.42);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.14);
}

.tax-vitrine__corner {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  display: inline-flex;
  color: rgba(148, 163, 184, 0.55);
  pointer-events: none;
}

.tax-vitrine__corner .abg-vector-arrow {
  transition:
    transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.25s ease;
}

.tax-vitrine__card--active:hover .tax-vitrine__corner .abg-vector-arrow,
.tax-vitrine__card--active:focus-visible .tax-vitrine__corner .abg-vector-arrow {
  color: var(--accent);
  transform: rotate(-90deg) scale(1.08);
}

.tax-vitrine__card--link {
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.tax-vitrine__card--link:hover {
  border-color: rgba(197, 168, 128, 0.45);
  background: rgba(255, 255, 255, 0.03);
}

.tax-vitrine__card--link .tax-vitrine__title,
.tax-vitrine__card--link .tax-vitrine__text,
.tax-vitrine__card--link .tax-vitrine__cta {
  text-decoration: none;
}

.tax-vitrine__card-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 0;
  min-width: 0;
  overflow: visible;
  padding-right: 1.75rem;
}

.tax-vitrine__img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  border-radius: calc(var(--radius-sm) - 2px);
}

.tax-vitrine__title {
  margin: 0;
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.tax-vitrine__text {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text-muted);
  overflow: visible;
  overflow-wrap: break-word;
  word-break: normal;
}

.tax-vitrine__btn {
  margin-top: auto;
  align-self: flex-start;
  width: 100%;
  text-align: center;
  padding: 0.65rem 1rem;
  font-size: var(--step--1);
}

.tax-vitrine__btn--outline {
  border: 1px solid rgba(197, 168, 128, 0.55);
  color: var(--accent);
  background: transparent;
}

.tax-vitrine__btn--outline:hover {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(197, 168, 128, 0.08);
}

.tax-landing-vitrine--grouped .tax-vitrine-groups {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 2.75rem);
}

.tax-vitrine-group__head {
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.tax-vitrine-group__title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.tax-vitrine-group__lead {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.tax-vitrine-group__cross {
  margin: 0.65rem 0 0;
  padding: 0.45rem 0.65rem;
  font-size: var(--step--2);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.01em;
  color: color-mix(in srgb, var(--accent) 88%, var(--text));
  border-left: 2px solid rgba(197, 168, 128, 0.45);
  background: rgba(197, 168, 128, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Абонентское сопровождение – сегменты аудитории */
.tax-landing-hero--audience-filter .tax-audience-tabs__lead {
  margin: 0 0 0.85rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--tax-muted, var(--text-muted));
}

.tax-landing-hero--audience-filter .tax-audience-tabs {
  margin-bottom: 0.25rem;
}

.tax-landing-hero--audience-filter .tax-audience-tab {
  display: block;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
  appearance: none;
}

.tax-landing-hero--audience-filter .tax-audience-tab__label {
  display: block;
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(0.92rem, 1.35vw, 1.08rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--tax-hero-text, var(--text));
}

.tax-landing-hero--audience-filter .tax-audience-tab__outcome {
  display: block;
  margin-top: 0.55rem;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--tax-muted, var(--text-muted));
}

.tax-landing-hero--audience-filter .tax-audience-tab__outcome strong {
  font-weight: 700;
  color: var(--tax-hero-text, var(--text));
}

.tax-landing-hero--audience-filter .tax-audience-tab.is-active {
  border-color: rgba(197, 168, 128, 0.55);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(197, 168, 128, 0.2);
}

.tax-landing-hero--audience-filter .tax-audience-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.tax-audience-filter__status {
  margin: 0 0 1.25rem;
  padding: 0.65rem 0.85rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-muted);
  border-left: 2px solid rgba(197, 168, 128, 0.45);
  background: rgba(197, 168, 128, 0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.tax-landing-vitrine--audience.is-audience-active .tax-vitrine__card {
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.tax-landing-vitrine--audience.is-audience-active .tax-vitrine__card.is-audience-dim {
  opacity: 0.34;
  transform: scale(0.985);
  pointer-events: none;
}

.tax-landing-vitrine--audience.is-audience-active .tax-vitrine__card.is-audience-match {
  opacity: 1;
  border-color: rgba(197, 168, 128, 0.55);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.16),
    inset 0 0 0 1px rgba(197, 168, 128, 0.18);
}

.tax-landing-vitrine--audience.is-audience-active .tax-vitrine-group.is-audience-dim {
  opacity: 0.55;
}

.tax-landing-vitrine--audience.is-audience-active .tax-vitrine-group.is-audience-dim .tax-vitrine-group__head {
  opacity: 0.7;
}

/* Абонентское сопровождение – сворачиваемые направления витрины */
.tax-landing-vitrine--collapsible-groups .tax-vitrine-groups {
  gap: 0.75rem;
}

.tax-vitrine-group--accordion {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--bg-card) 94%, var(--accent) 6%);
  overflow: hidden;
}

.tax-vitrine-group--accordion.is-audience-match:not([open]) {
  border-color: rgba(197, 168, 128, 0.42);
  box-shadow: 0 8px 24px -18px rgba(201, 169, 98, 0.35);
}

.tax-vitrine-group--accordion.is-audience-dim:not([open]) {
  opacity: 0.62;
}

.tax-vitrine-group--accordion[open] {
  border-color: rgba(197, 168, 128, 0.38);
  box-shadow: 0 14px 36px -22px rgba(0, 0, 0, 0.28);
}

.tax-vitrine-group__summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(0.95rem, 2vw, 1.2rem) clamp(1rem, 2.2vw, 1.35rem);
  cursor: pointer;
  list-style: none;
}

.tax-vitrine-group__summary::-webkit-details-marker {
  display: none;
}

.tax-vitrine-group__summary-main {
  flex: 1;
  min-width: 0;
}

.tax-vitrine-group--accordion .tax-vitrine-group__title {
  display: block;
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.02rem, 1.55vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}

.tax-vitrine-group--accordion .tax-vitrine-group__lead {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  line-height: 1.5;
}

.tax-vitrine-group--accordion .tax-vitrine-group__cross {
  margin-top: 0.55rem;
}

.tax-vitrine-group__summary-meta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}

.tax-vitrine-group__count {
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.tax-vitrine-group__accordion-arrow {
  flex-shrink: 0;
  color: var(--accent);
  transition: transform 0.28s ease;
}

.tax-vitrine-group--accordion[open] .tax-vitrine-group__accordion-arrow {
  transform: rotate(180deg);
}

.tax-vitrine-group__body {
  padding: 0 clamp(1rem, 2.2vw, 1.35rem) clamp(1rem, 2.2vw, 1.35rem);
  border-top: 1px solid var(--border);
}

.tax-vitrine-group__extra.is-collapsed {
  display: none;
}

.tax-vitrine-group__spoiler {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.85rem;
  padding: 0;
  border: none;
  background: none;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  cursor: pointer;
}

.tax-vitrine-group__spoiler:hover,
.tax-vitrine-group__spoiler:focus-visible {
  color: var(--text);
}

.tax-vitrine-group__spoiler.is-expanded .tax-vitrine-group__spoiler-arrow {
  transform: rotate(180deg);
}

.tax-vitrine-aside {
  margin-top: clamp(1.25rem, 2.5vw, 1.75rem);
  padding: 1rem 1.15rem;
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: var(--radius-md);
  background: rgba(197, 168, 128, 0.06);
}

.tax-vitrine-aside__text {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text-muted);
}

.tax-vitrine-aside__link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.tax-vitrine-aside__link:hover {
  text-decoration: underline;
}

/* Service landing hubs – shared vertical rhythm */
.abg-service-hub > section,
.tax-practice-hub > section,
.taxpractice-practice-hub > section,
.taxcrimes-practice-hub > section ,
.criminallaw-practice-hub > section ,
.bankruptcy-practice-hub > section,
.corporate-practice-hub > section,
.personal-assets-practice-hub > section,
.complexlitigation-practice-hub > section,
.foreigntrade-practice-hub > section,
.intellectual-practice-hub > section ,
.realestate-practice-hub > section ,
.employment-practice-hub > section ,
.compliance-practice-hub > section {
  padding-top: clamp(2rem, 4.5vw, 2.65rem);
  padding-bottom: clamp(2rem, 4.5vw, 2.65rem);
}

.abg-service-hub > .tax-landing-hero,
.tax-practice-hub > .tax-landing-hero,
.taxpractice-practice-hub > .tax-landing-hero,
.taxcrimes-practice-hub > .tax-landing-hero ,
.criminallaw-practice-hub > .tax-landing-hero ,
.bankruptcy-practice-hub > .tax-landing-hero,
.corporate-practice-hub > .tax-landing-hero,
.personal-assets-practice-hub > .tax-landing-hero,
.complexlitigation-practice-hub > .tax-landing-hero,
.foreigntrade-practice-hub > .tax-landing-hero,
.intellectual-practice-hub > .tax-landing-hero ,
.realestate-practice-hub > .tax-landing-hero ,
.employment-practice-hub > .tax-landing-hero ,
.compliance-practice-hub > .tax-landing-hero {
  padding-top: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: clamp(2rem, 4vw, 2.5rem);
}

.abg-service-hub > .svc-cam-cases,
.abg-service-hub > .tax-emergency,
.abg-service-hub > .about-faq,
.abg-service-hub > .tax-landing-cta,
.tax-practice-hub > .svc-cam-cases,
.tax-practice-hub > .tax-emergency,
.tax-practice-hub > .about-faq,
.taxpractice-practice-hub > .svc-cam-cases,
.taxpractice-practice-hub > .tax-emergency,
.taxpractice-practice-hub > .about-faq,
.taxcrimes-practice-hub > .svc-cam-cases,
.taxcrimes-practice-hub > .tax-emergency,
.taxcrimes-practice-hub > .about-faq,
.criminallaw-practice-hub > .svc-cam-cases,
.bankruptcy-practice-hub > .svc-cam-cases,
.corporate-practice-hub > .svc-cam-cases,
.personal-assets-practice-hub > .svc-cam-cases,
.complexlitigation-practice-hub > .svc-cam-cases,
.foreigntrade-practice-hub > .svc-cam-cases,
.intellectual-practice-hub > .svc-cam-cases,
.realestate-practice-hub > .svc-cam-cases,
.employment-practice-hub > .svc-cam-cases,
.compliance-practice-hub > .svc-cam-cases,
.criminallaw-practice-hub > .tax-emergency,
.bankruptcy-practice-hub > .tax-emergency,
.corporate-practice-hub > .tax-emergency,
.personal-assets-practice-hub > .tax-emergency,
.complexlitigation-practice-hub > .tax-emergency,
.foreigntrade-practice-hub > .tax-emergency,
.intellectual-practice-hub > .tax-emergency,
.realestate-practice-hub > .tax-emergency,
.employment-practice-hub > .tax-emergency,
.compliance-practice-hub > .tax-emergency,
.criminallaw-practice-hub > .about-faq ,
.bankruptcy-practice-hub > .about-faq,
.corporate-practice-hub > .about-faq,
.personal-assets-practice-hub > .about-faq,
.complexlitigation-practice-hub > .about-faq,
.foreigntrade-practice-hub > .about-faq,
.intellectual-practice-hub > .about-faq ,
.realestate-practice-hub > .about-faq ,
.employment-practice-hub > .about-faq ,
.compliance-practice-hub > .about-faq {
  padding-top: 0;
  padding-bottom: 0;
}

.abg-service-hub > .svc-vnp-algo,
.abg-service-hub > .svc-vnp-defenses,
.abg-service-hub > .svc-cam-process,
.abg-service-hub > .tax-landing-articles,
.abg-service-hub > .tax-landing-vitrine,
.tax-practice-hub > .tax-landing-vitrine,
.taxpractice-practice-hub > .tax-landing-vitrine,
.taxcrimes-practice-hub > .tax-landing-vitrine,
.criminallaw-practice-hub > .tax-landing-vitrine,
.bankruptcy-practice-hub > .tax-landing-vitrine,
.corporate-practice-hub > .tax-landing-vitrine,
.personal-assets-practice-hub > .tax-landing-vitrine,
.complexlitigation-practice-hub > .tax-landing-vitrine,
.foreigntrade-practice-hub > .tax-landing-vitrine,
.intellectual-practice-hub > .tax-landing-vitrine,
.realestate-practice-hub > .tax-landing-vitrine,
.employment-practice-hub > .tax-landing-vitrine,
.compliance-practice-hub > .tax-landing-vitrine,
.tax-consultation-hub > .tax-landing-vitrine {
  padding-top: clamp(1rem, 2.5vw, 1.75rem);
  padding-bottom: clamp(0.35rem, 1.5vw, 0.85rem);
}

.abg-service-hub > .tax-landing-adv,
.tax-practice-hub > .tax-landing-adv,
.taxpractice-practice-hub > .tax-landing-adv,
.taxcrimes-practice-hub > .tax-landing-adv,
.criminallaw-practice-hub > .tax-landing-adv,
.bankruptcy-practice-hub > .tax-landing-adv,
.corporate-practice-hub > .tax-landing-adv,
.personal-assets-practice-hub > .tax-landing-adv,
.complexlitigation-practice-hub > .tax-landing-adv,
.foreigntrade-practice-hub > .tax-landing-adv,
.intellectual-practice-hub > .tax-landing-adv,
.realestate-practice-hub > .tax-landing-adv,
.employment-practice-hub > .tax-landing-adv,
.compliance-practice-hub > .tax-landing-adv,
.tax-consultation-hub > .tax-landing-adv {
  padding-top: clamp(2.75rem, 5vw, 3.75rem);
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
  border-top: 1px solid rgba(197, 168, 128, 0.22);
}

.abg-service-hub .abg-section-head,
.tax-practice-hub .abg-section-head,
.taxpractice-practice-hub .abg-section-head,
.taxcrimes-practice-hub .abg-section-head,
.criminallaw-practice-hub .abg-section-head,
.bankruptcy-practice-hub .abg-section-head,
.corporate-practice-hub .abg-section-head,
.personal-assets-practice-hub .abg-section-head,
.complexlitigation-practice-hub .abg-section-head,
.foreigntrade-practice-hub .abg-section-head,
.intellectual-practice-hub .abg-section-head,
.realestate-practice-hub .abg-section-head,
.employment-practice-hub .abg-section-head,
.compliance-practice-hub .abg-section-head,
.tax-consultation-hub .abg-section-head {
  margin-bottom: clamp(1.65rem, 3vw, 2.15rem);
}

.abg-service-hub .tax-landing-section-title,
.tax-practice-hub .tax-landing-section-title {
  margin-bottom: 1.35rem;
}

/* Подуслуги: сетка направлений и блок process/appeal – читаемый кегль */
.abg-service-hub .tax-landing-hero__defense-card {
  padding: 1.2rem 1.3rem;
}

.abg-service-hub .svc-cam-process__copy .svc-dep-who__title {
  font-size: clamp(1.3rem, 1.05rem + 0.65vw, 1.5rem);
}

/* Методология: кегль и сетка (макс. 3 в ряд; при 5 шагах – 3+2) */
.abg-service-hub [class$="algo__card"] {
  padding: clamp(1.4rem, 2.2vw, 1.75rem) clamp(1.3rem, 2vw, 1.55rem);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.abg-service-hub [class$="algo__step"] {
  display: block;
  margin-bottom: 0.85rem;
  font-size: clamp(1.15rem, 1rem + 0.35vw, 1.35rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.abg-service-hub [class$="algo__title"] {
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
  line-height: 1.38;
  margin-bottom: 0.55rem;
}

.abg-service-hub [class$="algo__text"] {
  font-size: clamp(0.875rem, 0.82rem + 0.18vw, 0.9375rem);
  line-height: 1.58;
}

.abg-service-hub [class$="algo__grid"] {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
}

.svc-tax-cons-algo {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

@media (min-width: 640px) {
  .abg-service-hub [class$="algo__grid"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .abg-service-hub > section,
  .tax-practice-hub > section {
    padding-top: clamp(2.75rem, 3.5vw, 3.25rem);
    padding-bottom: clamp(2.75rem, 3.5vw, 3.25rem);
  }

  .abg-service-hub > .tax-landing-hero,
  .tax-practice-hub > .tax-landing-hero {
    padding-top: clamp(2.25rem, 3vw, 2.85rem);
    padding-bottom: clamp(2.25rem, 3vw, 2.65rem);
  }

  .abg-service-hub .tax-vitrine__grid--quad,
  .tax-practice-hub .tax-vitrine__grid--quad {
    gap: 1.5rem 1.75rem;
  }

  .tax-practice-hub .svc-tax-hub-emergency:not(.tax-emergency--quiz) .tax-emergency__inner {
    max-width: 42rem;
    padding: clamp(2rem, 4vw, 2.75rem);
    border: 1px solid rgba(197, 168, 128, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  }

  .tax-practice-hub .tax-emergency--quiz .tax-emergency__inner {
    padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(197, 168, 128, 0.28);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  }
}

/* Tax practice hub – 2026 refresh */
.tax-practice-hub,
.taxpractice-practice-hub,
.taxcrimes-practice-hub ,
.criminallaw-practice-hub {
  --tax-hero-text: color-mix(in srgb, var(--text) 88%, #e8e4dc);
  --tax-muted: color-mix(in srgb, var(--text-muted) 92%, #b8c0cc);
}

.tax-landing-hero--practice {
  position: relative;
  overflow: hidden;
  border-bottom-color: rgba(197, 168, 128, 0.12);
  background: transparent;
}

.tax-landing-hero__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 12% 20%, rgba(88, 120, 200, 0.16), transparent 58%),
    radial-gradient(ellipse 48% 62% at 92% 42%, rgba(88, 140, 220, 0.14), transparent 55%),
    radial-gradient(ellipse 55% 45% at 88% 75%, rgba(120, 80, 180, 0.1), transparent 52%),
    var(--bg-deep);
}

.tax-landing-hero--practice .tax-landing-hero__inner {
  position: relative;
  z-index: 1;
}

.tax-landing-hero--practice .tax-landing-hero__title {
  color: var(--tax-hero-text);
}

.tax-landing-hero--practice .tax-landing-hero__lead {
  color: var(--tax-muted);
  font-size: var(--step-0);
  max-width: 52ch;
}

.tax-hero-highlight__grid {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.5rem;
  max-width: 56ch;
}

@media (min-width: 720px) {
  .tax-hero-highlight__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tax-hero-highlight {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
}

.tax-hero-highlight__title {
  margin: 0 0 0.4rem;
  font-size: var(--step--1);
  font-weight: 700;
  line-height: 1.35;
  color: var(--tax-hero-text);
}

.tax-hero-highlight__text {
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--tax-muted);
}

/* Tax practice hub – hero value pillars */
.tax-landing-hero--practice .tax-hero-highlight__grid {
  gap: 1rem;
  margin: 0 0 1.65rem;
  max-width: none;
}

@media (min-width: 640px) {
  .tax-landing-hero--practice .tax-hero-highlight__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.1rem;
  }
}

.tax-landing-hero--practice .tax-hero-highlight {
  position: relative;
  padding: 1.15rem 1.2rem 1.2rem 1.45rem;
  border: 1px solid rgba(197, 168, 128, 0.24);
  border-radius: var(--radius-sm);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.055) 0%,
    rgba(255, 255, 255, 0.02) 55%,
    rgba(88, 140, 220, 0.04) 100%
  );
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

.tax-landing-hero--practice .tax-hero-highlight::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(
    180deg,
    rgba(197, 168, 128, 0.95) 0%,
    rgba(197, 168, 128, 0.35) 100%
  );
}

.tax-landing-hero--practice .tax-hero-highlight:nth-child(2)::before {
  background: linear-gradient(
    180deg,
    rgba(120, 175, 235, 0.95) 0%,
    rgba(88, 140, 220, 0.35) 100%
  );
}

.tax-landing-hero--practice .tax-hero-highlight:hover {
  border-color: rgba(197, 168, 128, 0.38);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(197, 168, 128, 0.12);
  transform: translateY(-2px);
}

.tax-landing-hero--practice .tax-hero-highlight__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.45vw, 1.125rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--tax-hero-text);
}

.tax-landing-hero--practice .tax-hero-highlight__text {
  font-size: clamp(0.875rem, 0.9rem + 0.1vw, 0.9375rem);
  line-height: 1.55;
  color: var(--tax-muted);
}

.tax-hero-highlight__lead {
  margin: 1.35rem 0 0.85rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--tax-muted, var(--text-muted));
}

.tax-hero-highlight__outcome {
  margin: 0.65rem 0 0;
  font-size: clamp(0.875rem, 0.9rem + 0.1vw, 0.9375rem);
  line-height: 1.5;
  color: var(--tax-muted);
}

.tax-hero-highlight__outcome strong {
  font-weight: 700;
  color: var(--tax-hero-text, var(--text));
}

.tax-landing-hero--highlights-full .tax-landing-hero__highlights--full {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: clamp(0.25rem, 1vw, 0.75rem);
}

.tax-landing-hero--highlights-full .tax-hero-highlight__lead {
  margin-top: 0;
}

.tax-landing-hero--highlights-full .tax-hero-highlight__grid {
  width: 100%;
  max-width: none;
  margin-bottom: 0;
  align-items: stretch;
}

.tax-landing-hero--highlights-full .tax-hero-highlight {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.tax-landing-hero--highlights-full .tax-hero-highlight__body {
  flex: 1 1 auto;
}

.tax-landing-hero--highlights-full .tax-hero-highlight__action {
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(197, 168, 128, 0.2);
}

.tax-landing-hero--highlights-full .tax-hero-highlight__action-label {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.tax-landing-hero--highlights-full .tax-hero-highlight__outcome {
  margin: 0;
  font-size: clamp(0.875rem, 0.9rem + 0.1vw, 0.9375rem);
  line-height: 1.55;
  color: var(--tax-muted);
}

@media (min-width: 900px) {
  .tax-landing-hero--highlights-full .tax-hero-highlight__title {
    min-height: 2.75em;
  }

  .tax-landing-hero--highlights-full .tax-hero-highlight__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.35rem);
  }
}

@media (min-width: 900px) and (max-width: 1320px) {
  .tax-landing-hero--practice .tax-hero-highlight__grid {
    grid-template-columns: 1fr;
  }

  .tax-landing-hero--highlights-full .tax-hero-highlight__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.light-theme .tax-landing-hero--practice .tax-hero-highlight {
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(248, 246, 242, 0.88) 100%
  );
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

/* Hero highlights – страница ВНП (тот же паттерн, что у хаба практики) */
.tax-landing-hero--highlights {
  --tax-hero-text: color-mix(in srgb, var(--text) 88%, #e8e4dc);
  --tax-muted: color-mix(in srgb, var(--text-muted) 92%, #b8c0cc);
}

.tax-landing-hero--highlights .tax-landing-hero__title {
  color: var(--tax-hero-text);
}

.tax-landing-hero--highlights .tax-landing-hero__lead {
  color: var(--tax-muted);
  font-size: var(--step-0);
  max-width: 52ch;
}

.tax-landing-hero--highlights .tax-hero-highlight__grid {
  gap: 1rem;
  margin: 0 0 1.65rem;
  max-width: none;
}

@media (min-width: 640px) {
  .tax-landing-hero--highlights .tax-hero-highlight__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.1rem;
  }
}

.tax-landing-hero--highlights .tax-hero-highlight {
  position: relative;
  padding: 1.15rem 1.2rem 1.2rem 1.45rem;
  border: 1px solid rgba(197, 168, 128, 0.24);
  border-radius: var(--radius-sm);
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.055) 0%,
    rgba(255, 255, 255, 0.02) 55%,
    rgba(88, 140, 220, 0.04) 100%
  );
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease;
}

.tax-landing-hero--highlights .tax-hero-highlight::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 3px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(
    180deg,
    rgba(197, 168, 128, 0.95) 0%,
    rgba(197, 168, 128, 0.35) 100%
  );
}

.tax-landing-hero--highlights .tax-hero-highlight:nth-child(2)::before {
  background: linear-gradient(
    180deg,
    rgba(120, 175, 235, 0.95) 0%,
    rgba(88, 140, 220, 0.35) 100%
  );
}

.tax-landing-hero--highlights .tax-hero-highlight:hover {
  border-color: rgba(197, 168, 128, 0.38);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(197, 168, 128, 0.12);
  transform: translateY(-2px);
}

.tax-landing-hero--highlights .tax-hero-highlight__title {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.45vw, 1.125rem);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--tax-hero-text);
}

.tax-landing-hero--highlights .tax-hero-highlight__text {
  font-size: clamp(0.875rem, 0.9rem + 0.1vw, 0.9375rem);
  line-height: 1.55;
  color: var(--tax-muted);
}

@media (min-width: 900px) and (max-width: 1320px) {
  .tax-landing-hero--highlights .tax-hero-highlight__grid {
    grid-template-columns: 1fr;
  }
}

.light-theme .tax-landing-hero--highlights .tax-hero-highlight {
  background: linear-gradient(
    155deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(248, 246, 242, 0.88) 100%
  );
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.tax-landing__portrait--immersive {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-self: end;
  align-self: start;
  margin-top: 0.25rem;
}

.tax-landing__portrait-stage {
  position: relative;
  width: min(100%, 26.5rem);
  margin: 0 auto;
  aspect-ratio: 5 / 6;
  pointer-events: none;
}

.tax-landing__portrait-aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.9;
  z-index: 0;
}

.tax-landing__portrait-aurora--cool {
  inset: 8% 6% 22%;
  background: radial-gradient(
    circle at 42% 38%,
    rgba(88, 140, 220, 0.42) 0%,
    rgba(60, 90, 160, 0.18) 42%,
    transparent 72%
  );
}

.tax-landing__portrait-aurora--warm {
  inset: 28% 10% 8%;
  background: radial-gradient(
    circle at 58% 62%,
    rgba(197, 168, 128, 0.22) 0%,
    rgba(120, 80, 60, 0.08) 45%,
    transparent 70%
  );
  filter: blur(22px);
}

.tax-landing__portrait-rim {
  position: absolute;
  inset: 12% 14% 18%;
  border-radius: 48% 48% 42% 42%;
  z-index: 1;
  background: radial-gradient(
    ellipse 70% 75% at 50% 40%,
    rgba(255, 255, 255, 0.07) 0%,
    transparent 62%
  );
  box-shadow:
    inset 0 0 0 1px rgba(197, 168, 128, 0.08),
    0 0 60px rgba(88, 140, 220, 0.12);
  pointer-events: none;
}

.tax-landing__portrait-figure {
  position: relative;
  z-index: 2;
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.tax-landing__portrait-img--cutout {
  display: block;
  width: auto;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom center;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-mask-image: radial-gradient(
    ellipse 78% 92% at 50% 38%,
    #000 58%,
    rgba(0, 0, 0, 0.55) 78%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 78% 92% at 50% 38%,
    #000 58%,
    rgba(0, 0, 0, 0.55) 78%,
    transparent 100%
  );
  filter:
    drop-shadow(0 22px 36px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 48px rgba(88, 140, 220, 0.2));
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2,  1);
}

/* PNG с прозрачным фоном – мягче по краям, без «прямоугольника» */
@supports (background: color-mix(in srgb, #000 50%, #fff)) {
  .tax-landing-hero--practice .tax-landing__portrait-img--cutout[src$=".png"] {
    -webkit-mask-image: radial-gradient(
      ellipse 82% 95% at 50% 36%,
      #000 68%,
      rgba(0, 0, 0, 0.75) 86%,
      transparent 100%
    );
    mask-image: radial-gradient(
      ellipse 82% 95% at 50% 36%,
      #000 68%,
      rgba(0, 0, 0, 0.75) 86%,
      transparent 100%
    );
  }
}

.tax-landing__portrait-caption {
  position: relative;
  z-index: 3;
  margin-top: 0.35rem;
  padding-top: 0.5rem;
}

.tax-landing__portrait-caption::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 3.5rem;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(197, 168, 128, 0.45),
    transparent
  );
}

.tax-landing__portrait--immersive .tax-landing__portrait-name {
  margin: 0;
  font-size: var(--step-0);
  font-weight: 700;
  color: var(--tax-hero-text);
}

.tax-landing__portrait--immersive .tax-landing__portrait-role {
  margin: 0.2rem 0 0;
  font-size: var(--step--1);
  line-height: 1.45;
  color: var(--tax-muted);
  text-transform: none;
  letter-spacing: 0.01em;
}

@media (min-width: 900px) {
  .tax-landing-hero--practice .tax-landing-hero__inner {
    align-items: start;
  }

  .tax-landing-hero--practice .tax-landing__portrait--immersive {
    margin-bottom: 0;
  }

  .tax-landing-hero--practice .tax-landing__portrait-figure {
    align-items: center;
  }

  .tax-landing-hero--practice .tax-landing__portrait-img--cutout {
    object-position: center center;
  }

  .tax-landing__portrait-stage {
    width: min(27.5rem, 38vw);
    max-height: min(32rem, calc(100svh - var(--site-header-h, 5rem) - 6rem));
    aspect-ratio: auto;
    height: min(32rem, calc(100svh - var(--site-header-h, 5rem) - 6rem));
  }
}

.light-theme .tax-landing__portrait-aurora--cool {
  opacity: 0.55;
}

.light-theme .tax-landing__portrait-img--cutout {
  filter:
    drop-shadow(0 18px 28px rgba(15, 23, 42, 0.18))
    drop-shadow(0 0 32px rgba(88, 140, 220, 0.12));
}

.tax-practice-hub .tax-bento__cell--wide {
  order: -1;
  min-height: 10.5rem;
}

.tax-bento__grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .tax-bento__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tax-bento__cell--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .tax-bento__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tax-bento__cell--wide {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* Tax practice vitrine – ровная «1 + 3» сетка, CTA по нижнему краю */
.tax-practice-hub .tax-bento__grid {
  align-items: stretch;
  gap: 1.15rem;
}

.tax-practice-hub .tax-bento__grid .tax-vitrine__card {
  height: 100%;
  min-height: 0;
}

.tax-practice-hub .tax-bento__grid .tax-vitrine__card-body {
  flex: 1 1 auto;
  min-height: 0;
}

@media (min-width: 720px) {
  .tax-practice-hub .tax-bento__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "feature feature"
      "card-b card-c"
      "card-d card-d";
  }

  .tax-practice-hub .tax-bento__grid > :nth-child(1) {
    grid-area: feature;
  }

  .tax-practice-hub .tax-bento__grid > :nth-child(2) {
    grid-area: card-b;
  }

  .tax-practice-hub .tax-bento__grid > :nth-child(3) {
    grid-area: card-c;
  }

  .tax-practice-hub .tax-bento__grid > :nth-child(4) {
    grid-area: card-d;
  }

  .tax-practice-hub .tax-bento__cell--wide {
    grid-column: auto;
    min-height: 0;
  }
}

@media (min-width: 1024px) {
  .tax-practice-hub .tax-bento__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "feature feature feature"
      "card-b card-c card-d";
  }

  .tax-practice-hub .tax-bento__cell--wide {
    grid-column: auto;
  }
}

@media (min-width: 900px) {
  .tax-practice-hub .tax-bento__cell--wide .tax-vitrine__card-body {
    display: grid;
    grid-template-columns: minmax(11rem, 34%) minmax(0, 1fr);
    column-gap: 1.35rem;
    row-gap: 0.65rem;
    align-content: start;
  }

  .tax-practice-hub .tax-bento__cell--wide .tax-vitrine__title {
    margin: 0;
    align-self: start;
  }

  .tax-practice-hub .tax-bento__cell--wide .tax-vitrine__text {
    margin: 0;
    align-self: start;
  }
}

/* Tax / tax crimes / criminallaw / bankruptcy / corporate practice hubs – 6 услуг, сетка 3×2 (без layout 1+3) */
.taxpractice-practice-hub .tax-bento__grid,
.taxcrimes-practice-hub .tax-bento__grid ,
.criminallaw-practice-hub .tax-bento__grid ,
.bankruptcy-practice-hub .tax-bento__grid,
.corporate-practice-hub .tax-bento__grid,
.personal-assets-practice-hub .tax-bento__grid,
.complexlitigation-practice-hub .tax-bento__grid,
.foreigntrade-practice-hub .tax-bento__grid,
.intellectual-practice-hub .tax-bento__grid ,
.realestate-practice-hub .tax-bento__grid ,
.employment-practice-hub .tax-bento__grid ,
.compliance-practice-hub .tax-bento__grid {
  align-items: stretch;
  gap: 1.15rem;
  grid-template-columns: 1fr;
  grid-template-areas: none;
}

.taxpractice-practice-hub .tax-bento__grid .tax-vitrine__card,
.taxcrimes-practice-hub .tax-bento__grid .tax-vitrine__card ,
.criminallaw-practice-hub .tax-bento__grid .tax-vitrine__card ,
.bankruptcy-practice-hub .tax-bento__grid .tax-vitrine__card,
.corporate-practice-hub .tax-bento__grid .tax-vitrine__card,
.personal-assets-practice-hub .tax-bento__grid .tax-vitrine__card,
.complexlitigation-practice-hub .tax-bento__grid .tax-vitrine__card,
.foreigntrade-practice-hub .tax-bento__grid .tax-vitrine__card,
.intellectual-practice-hub .tax-bento__grid .tax-vitrine__card ,
.realestate-practice-hub .tax-bento__grid .tax-vitrine__card ,
.employment-practice-hub .tax-bento__grid .tax-vitrine__card ,
.compliance-practice-hub .tax-bento__grid .tax-vitrine__card {
  height: 100%;
  min-height: 11.25rem;
}

.taxpractice-practice-hub .tax-bento__grid .tax-vitrine__card-body,
.taxcrimes-practice-hub .tax-bento__grid .tax-vitrine__card-body ,
.criminallaw-practice-hub .tax-bento__grid .tax-vitrine__card-body ,
.bankruptcy-practice-hub .tax-bento__grid .tax-vitrine__card-body,
.corporate-practice-hub .tax-bento__grid .tax-vitrine__card-body,
.personal-assets-practice-hub .tax-bento__grid .tax-vitrine__card-body,
.complexlitigation-practice-hub .tax-bento__grid .tax-vitrine__card-body,
.foreigntrade-practice-hub .tax-bento__grid .tax-vitrine__card-body,
.intellectual-practice-hub .tax-bento__grid .tax-vitrine__card-body ,
.realestate-practice-hub .tax-bento__grid .tax-vitrine__card-body ,
.employment-practice-hub .tax-bento__grid .tax-vitrine__card-body ,
.compliance-practice-hub .tax-bento__grid .tax-vitrine__card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.taxpractice-practice-hub .tax-bento__cell--wide,
.taxpractice-practice-hub .tax-bento__cell--std,
.taxpractice-practice-hub .tax-bento__cell--compact,
.taxpractice-practice-hub .tax-bento__cell--tall,
.taxcrimes-practice-hub .tax-bento__cell--wide,
.criminallaw-practice-hub .tax-bento__cell--wide,
.bankruptcy-practice-hub .tax-bento__cell--wide,
.corporate-practice-hub .tax-bento__cell--wide,
.taxcrimes-practice-hub .tax-bento__cell--std,
.criminallaw-practice-hub .tax-bento__cell--std,
.bankruptcy-practice-hub .tax-bento__cell--std,
.corporate-practice-hub .tax-bento__cell--std,
.taxcrimes-practice-hub .tax-bento__cell--compact,
.criminallaw-practice-hub .tax-bento__cell--compact,
.bankruptcy-practice-hub .tax-bento__cell--compact,
.corporate-practice-hub .tax-bento__cell--compact,
.taxcrimes-practice-hub .tax-bento__cell--tall ,
.criminallaw-practice-hub .tax-bento__cell--tall ,
.bankruptcy-practice-hub .tax-bento__cell--tall,
.corporate-practice-hub .tax-bento__cell--tall,
.personal-assets-practice-hub .tax-bento__cell--wide,
.personal-assets-practice-hub .tax-bento__cell--std,
.personal-assets-practice-hub .tax-bento__cell--compact,
.personal-assets-practice-hub .tax-bento__cell--tall,
.complexlitigation-practice-hub .tax-bento__cell--wide,
.complexlitigation-practice-hub .tax-bento__cell--std,
.complexlitigation-practice-hub .tax-bento__cell--compact,
.complexlitigation-practice-hub .tax-bento__cell--tall,
.foreigntrade-practice-hub .tax-bento__cell--wide,
.foreigntrade-practice-hub .tax-bento__cell--std,
.foreigntrade-practice-hub .tax-bento__cell--compact,
.foreigntrade-practice-hub .tax-bento__cell--tall,
.intellectual-practice-hub .tax-bento__cell--wide,
.realestate-practice-hub .tax-bento__cell--wide,
.employment-practice-hub .tax-bento__cell--wide,
.compliance-practice-hub .tax-bento__cell--wide,
.intellectual-practice-hub .tax-bento__cell--std,
.realestate-practice-hub .tax-bento__cell--std,
.employment-practice-hub .tax-bento__cell--std,
.compliance-practice-hub .tax-bento__cell--std,
.intellectual-practice-hub .tax-bento__cell--compact,
.realestate-practice-hub .tax-bento__cell--compact,
.employment-practice-hub .tax-bento__cell--compact,
.compliance-practice-hub .tax-bento__cell--compact,
.intellectual-practice-hub .tax-bento__cell--tall ,
.realestate-practice-hub .tax-bento__cell--tall ,
.employment-practice-hub .tax-bento__cell--tall ,
.compliance-practice-hub .tax-bento__cell--tall {
  grid-column: auto;
  grid-row: auto;
  order: unset;
  min-height: 0;
}

@media (min-width: 720px) {
  .taxpractice-practice-hub .tax-bento__grid,
  .taxcrimes-practice-hub .tax-bento__grid ,
.criminallaw-practice-hub .tax-bento__grid ,
.bankruptcy-practice-hub .tax-bento__grid,
.corporate-practice-hub .tax-bento__grid,
.personal-assets-practice-hub .tax-bento__grid,
.complexlitigation-practice-hub .tax-bento__grid,
.foreigntrade-practice-hub .tax-bento__grid,
.intellectual-practice-hub .tax-bento__grid ,
.realestate-practice-hub .tax-bento__grid ,
.employment-practice-hub .tax-bento__grid ,
.compliance-practice-hub .tax-bento__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .taxpractice-practice-hub .tax-bento__grid,
  .taxcrimes-practice-hub .tax-bento__grid ,
.criminallaw-practice-hub .tax-bento__grid ,
.bankruptcy-practice-hub .tax-bento__grid,
.corporate-practice-hub .tax-bento__grid,
.personal-assets-practice-hub .tax-bento__grid,
.complexlitigation-practice-hub .tax-bento__grid,
.foreigntrade-practice-hub .tax-bento__grid,
.intellectual-practice-hub .tax-bento__grid ,
.realestate-practice-hub .tax-bento__grid ,
.employment-practice-hub .tax-bento__grid ,
.compliance-practice-hub .tax-bento__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.taxpractice-practice-hub .tax-landing-vitrine .abg-section-head__title--plaque,
.taxcrimes-practice-hub .tax-landing-vitrine .abg-section-head__title--plaque ,
.criminallaw-practice-hub .tax-landing-vitrine .abg-section-head__title--plaque ,
.bankruptcy-practice-hub .tax-landing-vitrine .abg-section-head__title--plaque,
.corporate-practice-hub .tax-landing-vitrine .abg-section-head__title--plaque,
.personal-assets-practice-hub .tax-landing-vitrine .abg-section-head__title--plaque,
.complexlitigation-practice-hub .tax-landing-vitrine .abg-section-head__title--plaque,
.foreigntrade-practice-hub .tax-landing-vitrine .abg-section-head__title--plaque,
.intellectual-practice-hub .tax-landing-vitrine .abg-section-head__title--plaque ,
.realestate-practice-hub .tax-landing-vitrine .abg-section-head__title--plaque ,
.employment-practice-hub .tax-landing-vitrine .abg-section-head__title--plaque ,
.compliance-practice-hub .tax-landing-vitrine .abg-section-head__title--plaque {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-transform: none;
  color: var(--text);
}

.taxpractice-practice-hub .tax-bento__grid .tax-vitrine__title,
.taxcrimes-practice-hub .tax-bento__grid .tax-vitrine__title ,
.criminallaw-practice-hub .tax-bento__grid .tax-vitrine__title ,
.bankruptcy-practice-hub .tax-bento__grid .tax-vitrine__title,
.corporate-practice-hub .tax-bento__grid .tax-vitrine__title,
.personal-assets-practice-hub .tax-bento__grid .tax-vitrine__title,
.complexlitigation-practice-hub .tax-bento__grid .tax-vitrine__title,
.foreigntrade-practice-hub .tax-bento__grid .tax-vitrine__title,
.intellectual-practice-hub .tax-bento__grid .tax-vitrine__title ,
.realestate-practice-hub .tax-bento__grid .tax-vitrine__title ,
.employment-practice-hub .tax-bento__grid .tax-vitrine__title ,
.compliance-practice-hub .tax-bento__grid .tax-vitrine__title {
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.taxpractice-practice-hub .tax-bento__grid .tax-vitrine__text,
.taxcrimes-practice-hub .tax-bento__grid .tax-vitrine__text ,
.criminallaw-practice-hub .tax-bento__grid .tax-vitrine__text ,
.bankruptcy-practice-hub .tax-bento__grid .tax-vitrine__text,
.corporate-practice-hub .tax-bento__grid .tax-vitrine__text,
.personal-assets-practice-hub .tax-bento__grid .tax-vitrine__text,
.complexlitigation-practice-hub .tax-bento__grid .tax-vitrine__text,
.foreigntrade-practice-hub .tax-bento__grid .tax-vitrine__text,
.intellectual-practice-hub .tax-bento__grid .tax-vitrine__text ,
.realestate-practice-hub .tax-bento__grid .tax-vitrine__text ,
.employment-practice-hub .tax-bento__grid .tax-vitrine__text ,
.compliance-practice-hub .tax-bento__grid .tax-vitrine__text {
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--text-muted);
}

.taxpractice-practice-hub .tax-bento__grid .tax-vitrine__cta,
.taxcrimes-practice-hub .tax-bento__grid .tax-vitrine__cta ,
.criminallaw-practice-hub .tax-bento__grid .tax-vitrine__cta ,
.bankruptcy-practice-hub .tax-bento__grid .tax-vitrine__cta,
.corporate-practice-hub .tax-bento__grid .tax-vitrine__cta,
.personal-assets-practice-hub .tax-bento__grid .tax-vitrine__cta,
.complexlitigation-practice-hub .tax-bento__grid .tax-vitrine__cta,
.foreigntrade-practice-hub .tax-bento__grid .tax-vitrine__cta,
.intellectual-practice-hub .tax-bento__grid .tax-vitrine__cta ,
.realestate-practice-hub .tax-bento__grid .tax-vitrine__cta ,
.employment-practice-hub .tax-bento__grid .tax-vitrine__cta ,
.compliance-practice-hub .tax-bento__grid .tax-vitrine__cta {
  display: block;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 0.85rem;
  font-size: var(--step--1);
  font-weight: 600;
  line-height: 1.4;
}

.taxpractice-practice-hub .tax-vitrine__card.tax-bento__cell--wide,
.taxpractice-practice-hub .tax-vitrine__card.tax-bento__cell--std,
.taxpractice-practice-hub .tax-vitrine__card.tax-bento__cell--compact,
.taxcrimes-practice-hub .tax-vitrine__card.tax-bento__cell--wide,
.criminallaw-practice-hub .tax-vitrine__card.tax-bento__cell--wide,
.bankruptcy-practice-hub .tax-vitrine__card.tax-bento__cell--wide,
.corporate-practice-hub .tax-vitrine__card.tax-bento__cell--wide,
.taxcrimes-practice-hub .tax-vitrine__card.tax-bento__cell--std,
.criminallaw-practice-hub .tax-vitrine__card.tax-bento__cell--std,
.bankruptcy-practice-hub .tax-vitrine__card.tax-bento__cell--std,
.corporate-practice-hub .tax-vitrine__card.tax-bento__cell--std,
.taxcrimes-practice-hub .tax-vitrine__card.tax-bento__cell--compact ,
.criminallaw-practice-hub .tax-vitrine__card.tax-bento__cell--compact ,
.bankruptcy-practice-hub .tax-vitrine__card.tax-bento__cell--compact,
.corporate-practice-hub .tax-vitrine__card.tax-bento__cell--compact,
.personal-assets-practice-hub .tax-vitrine__card.tax-bento__cell--wide,
.personal-assets-practice-hub .tax-vitrine__card.tax-bento__cell--std,
.personal-assets-practice-hub .tax-vitrine__card.tax-bento__cell--compact,
.complexlitigation-practice-hub .tax-vitrine__card.tax-bento__cell--wide,
.complexlitigation-practice-hub .tax-vitrine__card.tax-bento__cell--std,
.complexlitigation-practice-hub .tax-vitrine__card.tax-bento__cell--compact,
.foreigntrade-practice-hub .tax-vitrine__card.tax-bento__cell--wide,
.foreigntrade-practice-hub .tax-vitrine__card.tax-bento__cell--std,
.foreigntrade-practice-hub .tax-vitrine__card.tax-bento__cell--compact,
.intellectual-practice-hub .tax-vitrine__card.tax-bento__cell--wide,
.realestate-practice-hub .tax-vitrine__card.tax-bento__cell--wide,
.employment-practice-hub .tax-vitrine__card.tax-bento__cell--wide,
.compliance-practice-hub .tax-vitrine__card.tax-bento__cell--wide,
.intellectual-practice-hub .tax-vitrine__card.tax-bento__cell--std,
.realestate-practice-hub .tax-vitrine__card.tax-bento__cell--std,
.employment-practice-hub .tax-vitrine__card.tax-bento__cell--std,
.compliance-practice-hub .tax-vitrine__card.tax-bento__cell--std,
.intellectual-practice-hub .tax-vitrine__card.tax-bento__cell--compact ,
.realestate-practice-hub .tax-vitrine__card.tax-bento__cell--compact ,
.employment-practice-hub .tax-vitrine__card.tax-bento__cell--compact ,
.compliance-practice-hub .tax-vitrine__card.tax-bento__cell--compact {
  padding: 1.25rem 1.35rem;
  border-color: rgba(197, 168, 128, 0.28);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.045) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.taxpractice-practice-hub .tax-vitrine__card--active,
.taxcrimes-practice-hub .tax-vitrine__card--active ,
.criminallaw-practice-hub .tax-vitrine__card--active ,
.bankruptcy-practice-hub .tax-vitrine__card--active,
.corporate-practice-hub .tax-vitrine__card--active,
.personal-assets-practice-hub .tax-vitrine__card--active,
.complexlitigation-practice-hub .tax-vitrine__card--active,
.foreigntrade-practice-hub .tax-vitrine__card--active,
.intellectual-practice-hub .tax-vitrine__card--active ,
.realestate-practice-hub .tax-vitrine__card--active ,
.employment-practice-hub .tax-vitrine__card--active ,
.compliance-practice-hub .tax-vitrine__card--active {
  transition:
    border-color 0.32s ease,
    box-shadow 0.32s ease,
    background 0.32s ease,
    transform 0.32s ease;
}

.taxpractice-practice-hub .tax-vitrine__card--active:hover,
.taxpractice-practice-hub .tax-vitrine__card--active:focus-visible,
.taxcrimes-practice-hub .tax-vitrine__card--active:hover,
.criminallaw-practice-hub .tax-vitrine__card--active:hover,
.bankruptcy-practice-hub .tax-vitrine__card--active:hover,
.corporate-practice-hub .tax-vitrine__card--active:hover,
.taxcrimes-practice-hub .tax-vitrine__card--active:focus-visible ,
.criminallaw-practice-hub .tax-vitrine__card--active:focus-visible ,
.bankruptcy-practice-hub .tax-vitrine__card--active:focus-visible,
.corporate-practice-hub .tax-vitrine__card--active:focus-visible,
.personal-assets-practice-hub .tax-vitrine__card--active:hover,
.personal-assets-practice-hub .tax-vitrine__card--active:focus-visible,
.complexlitigation-practice-hub .tax-vitrine__card--active:hover,
.complexlitigation-practice-hub .tax-vitrine__card--active:focus-visible,
.foreigntrade-practice-hub .tax-vitrine__card--active:hover,
.foreigntrade-practice-hub .tax-vitrine__card--active:focus-visible,
.intellectual-practice-hub .tax-vitrine__card--active:hover,
.realestate-practice-hub .tax-vitrine__card--active:hover,
.employment-practice-hub .tax-vitrine__card--active:hover,
.compliance-practice-hub .tax-vitrine__card--active:hover,
.intellectual-practice-hub .tax-vitrine__card--active:focus-visible ,
.realestate-practice-hub .tax-vitrine__card--active:focus-visible ,
.employment-practice-hub .tax-vitrine__card--active:focus-visible ,
.compliance-practice-hub .tax-vitrine__card--active:focus-visible {
  border-color: rgba(197, 168, 128, 0.48);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.16),
    inset 0 0 0 1px rgba(197, 168, 128, 0.2),
    inset 0 0 28px rgba(88, 140, 220, 0.1);
  transform: translateY(-2px);
}

@media (min-width: 900px) {
  .taxpractice-practice-hub > section,
  .taxcrimes-practice-hub > section,
  .criminallaw-practice-hub > section ,
.bankruptcy-practice-hub > section,
.corporate-practice-hub > section,
.personal-assets-practice-hub > section,
.complexlitigation-practice-hub > section,
.foreigntrade-practice-hub > section,
.intellectual-practice-hub > section ,
.realestate-practice-hub > section ,
.employment-practice-hub > section ,
.compliance-practice-hub > section {
    padding-top: clamp(2.75rem, 3.5vw, 3.25rem);
    padding-bottom: clamp(2.75rem, 3.5vw, 3.25rem);
  }

  .taxpractice-practice-hub > .tax-landing-hero,
  .taxcrimes-practice-hub > .tax-landing-hero,
  .criminallaw-practice-hub > .tax-landing-hero ,
.bankruptcy-practice-hub > .tax-landing-hero,
.corporate-practice-hub > .tax-landing-hero,
.personal-assets-practice-hub > .tax-landing-hero,
.complexlitigation-practice-hub > .tax-landing-hero,
.foreigntrade-practice-hub > .tax-landing-hero,
.intellectual-practice-hub > .tax-landing-hero ,
.realestate-practice-hub > .tax-landing-hero ,
.employment-practice-hub > .tax-landing-hero ,
.compliance-practice-hub > .tax-landing-hero {
    padding-top: clamp(2.25rem, 3vw, 2.85rem);
    padding-bottom: clamp(2.25rem, 3vw, 2.65rem);
  }

  .taxpractice-practice-hub .tax-emergency--quiz .tax-emergency__inner,
  .taxcrimes-practice-hub .tax-emergency--quiz .tax-emergency__inner,
  .criminallaw-practice-hub .tax-emergency--quiz .tax-emergency__inner ,
.bankruptcy-practice-hub .tax-emergency--quiz .tax-emergency__inner,
.corporate-practice-hub .tax-emergency--quiz .tax-emergency__inner,
.personal-assets-practice-hub .tax-emergency--quiz .tax-emergency__inner,
.complexlitigation-practice-hub .tax-emergency--quiz .tax-emergency__inner,
.foreigntrade-practice-hub .tax-emergency--quiz .tax-emergency__inner,
.intellectual-practice-hub .tax-emergency--quiz .tax-emergency__inner ,
.realestate-practice-hub .tax-emergency--quiz .tax-emergency__inner ,
.employment-practice-hub .tax-emergency--quiz .tax-emergency__inner ,
.compliance-practice-hub .tax-emergency--quiz .tax-emergency__inner {
    padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
    border: 1px solid rgba(197, 168, 128, 0.28);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  }
}

.tax-practice-hub .tax-landing-vitrine .abg-section-head__title--plaque {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-transform: none;
  color: var(--text);
}

.tax-practice-hub .tax-bento__grid .tax-vitrine__title {
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.tax-practice-hub .tax-bento__grid .tax-vitrine__text {
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--text-muted);
}

.tax-practice-hub .tax-bento__grid .tax-vitrine__cta {
  font-size: var(--step--1);
  font-weight: 600;
  line-height: 1.4;
}

.tax-practice-hub .tax-bento__grid .tax-vitrine__hint {
  font-size: var(--step--1);
}

.tax-practice-hub .tax-vitrine__card.tax-bento__cell--wide,
.tax-practice-hub .tax-vitrine__card.tax-bento__cell--std,
.tax-practice-hub .tax-vitrine__card.tax-bento__cell--compact {
  padding: 1.25rem 1.35rem;
}

.tax-practice-hub .tax-vitrine__card.tax-bento__cell--wide {
  border-color: rgba(197, 168, 128, 0.32);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.045) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.tax-practice-hub .tax-vitrine__card--active,
.tax-cases--modern .tax-cases__card {
  transition:
    border-color 0.32s ease,
    box-shadow 0.32s ease,
    background 0.32s ease,
    transform 0.32s ease;
}

.tax-practice-hub .tax-vitrine__card--active:hover,
.tax-practice-hub .tax-vitrine__card--active:focus-visible,
.tax-cases--modern .tax-cases__card--link:hover,
.tax-cases--modern .tax-cases__card--link:focus-visible {
  border-color: rgba(197, 168, 128, 0.48);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.16),
    inset 0 0 0 1px rgba(197, 168, 128, 0.2),
    inset 0 0 28px rgba(88, 140, 220, 0.1);
  transform: translateY(-2px);
}

@media (min-width: 720px) {
  .tax-practice-hub .tax-bento__cell--wide {
    order: unset;
    min-height: 0;
  }
}

.tax-vitrine__hint {
  margin: 0.35rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--accent);
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

.tax-vitrine__card--active:hover .tax-vitrine__hint,
.tax-vitrine__card--active:focus-visible .tax-vitrine__hint {
  opacity: 1;
  transform: translateY(0);
}

.tax-practice-hub .tax-bento__grid .tax-vitrine__cta {
  display: block;
  flex-shrink: 0;
  margin-top: auto;
  padding-top: 0.85rem;
  color: var(--accent);
  border-top: 1px solid rgba(197, 168, 128, 0.14);
}

.tax-adv-trust__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .tax-adv-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem 1.25rem;
  }
}

.tax-practice-hub .tax-adv-trust__grid .tax-landing-adv__card-title {
  font-size: var(--step-0);
  line-height: 1.35;
}

.tax-practice-hub .tax-adv-trust__grid .tax-landing-adv__card-text {
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--tax-muted);
}

.tax-adv-bento__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .tax-adv-bento__grid {
    grid-template-columns: 1.15fr 1fr;
    grid-auto-rows: minmax(0, auto);
  }

  .tax-adv-bento__card--lead {
    grid-row: span 2;
    padding: 1.65rem 1.75rem;
    border-color: rgba(197, 168, 128, 0.28);
    background: rgba(255, 255, 255, 0.035);
  }
}

.tax-practice-hub .tax-landing-adv__card {
  border: 1px solid rgba(197, 168, 128, 0.16);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.35rem;
  background: rgba(255, 255, 255, 0.02);
}

.tax-practice-hub .tax-landing-adv__card-title {
  font-size: var(--step-0);
  line-height: 1.35;
}

.tax-practice-hub .tax-landing-adv__card-text {
  font-size: var(--step-0);
  line-height: 1.5;
  color: var(--tax-muted);
}

.tax-adv__highlights {
  margin: 0.65rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tax-adv__highlights li {
  position: relative;
  padding-left: 1rem;
  font-size: var(--step-0);
  font-weight: 500;
  line-height: 1.4;
  color: var(--tax-hero-text);
}

.tax-adv__highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(197, 168, 128, 0.55);
}

.tax-adv-bento__card--lead .tax-landing-adv__card-title {
  font-size: var(--step-1);
}

.tax-cases--modern .tax-cases__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  -webkit-overflow-scrolling: touch;
}

.tax-cases--modern .tax-cases__card {
  flex: 0 0 min(100%, 20rem);
  scroll-snap-align: start;
  padding: 1.35rem 1.45rem;
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(6px);
}

@media (min-width: 900px) {
  .tax-cases--modern .tax-cases__track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.15rem, 1.5vw, 1.65rem);
    overflow-x: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .tax-cases--modern .tax-cases__card {
    flex: unset;
    scroll-snap-align: unset;
    width: auto;
    min-height: 100%;
  }

  .tax-cases--modern.tax-cases--focus .tax-cases__track {
    display: block;
    max-width: 52rem;
    margin-inline: auto;
  }

  .tax-cases--modern.tax-cases--focus .tax-cases__card {
    padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.65rem, 3vw, 2.35rem);
    border-color: rgba(197, 168, 128, 0.28);
    background: rgba(255, 255, 255, 0.04);
  }

  .tax-cases--modern.tax-cases--focus .tax-cases__text {
    font-size: var(--step-0);
    line-height: 1.65;
    max-width: 62ch;
  }
}

.tax-cases__amount {
  margin: 0 0 0.35rem;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--accent);
}

.tax-cases__tag--muted {
  font-size: var(--step--1);
  color: var(--tax-muted);
}

.tax-case-track {
  position: relative;
  margin: 1.1rem 0 0;
  padding-top: 0.35rem;
}

.tax-case-track__line {
  position: absolute;
  top: 0.5rem;
  left: 0.4rem;
  right: 0.4rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    rgba(197, 168, 128, 0.15) 0%,
    rgba(88, 140, 220, 0.45) 50%,
    rgba(197, 168, 128, 0.15) 100%
  );
  box-shadow: 0 0 12px rgba(88, 140, 220, 0.25);
}

.tax-case-track__nodes {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tax-case-track__node {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
}

.tax-case-track__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 3px rgba(197, 168, 128, 0.18),
    0 0 14px rgba(197, 168, 128, 0.45);
}

.tax-case-track__label {
  font-size: 0.625rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--tax-muted);
}

@media (max-width: 420px) {
  .tax-case-track__nodes {
    flex-wrap: wrap;
    row-gap: 0.65rem;
  }

  .tax-case-track__node {
    flex: 1 1 42%;
  }

  .tax-case-track__line {
    display: none;
  }
}

.tax-micro-scenarios {
  border-top: 1px solid rgba(197, 168, 128, 0.15);
  background: rgba(255, 255, 255, 0.015);
}

.tax-micro-scenarios__lead {
  margin: -0.5rem 0 1.25rem;
  font-size: var(--step--1);
  color: var(--tax-muted);
  max-width: 52ch;
}

.tax-micro-scenarios__list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.tax-micro-scenario {
  border: 1px solid rgba(197, 168, 128, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.28s ease, background 0.28s ease;
}

.tax-micro-scenario[open] {
  border-color: rgba(197, 168, 128, 0.32);
  background: rgba(255, 255, 255, 0.035);
}

.tax-micro-scenario__summary {
  position: relative;
  padding: 0.95rem 2.25rem 0.95rem 1.1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  color: var(--tax-hero-text);
  transition: color 0.2s ease;
}

.tax-micro-scenario__summary::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.tax-micro-scenario[open] .tax-micro-scenario__summary::after {
  content: "−";
  transform: translateY(-50%) rotate(0deg);
}

.tax-micro-scenario__summary::-webkit-details-marker {
  display: none;
}

.tax-micro-scenario__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.tax-micro-scenario[open] .tax-micro-scenario__panel {
  grid-template-rows: 1fr;
}

.tax-micro-scenario__panel-inner {
  overflow: hidden;
}

.tax-micro-scenario__body {
  padding: 0 1.1rem 0.75rem;
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--tax-muted);
}

.tax-micro-scenario__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0 1.1rem 1rem;
}

.tax-micro-scenario__copy,
.tax-micro-scenario__share {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid rgba(197, 168, 128, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: var(--tax-hero-text);
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
}

.tax-micro-scenario__copy:hover,
.tax-micro-scenario__share:hover,
.tax-micro-scenario__copy:focus-visible,
.tax-micro-scenario__share:focus-visible {
  border-color: rgba(197, 168, 128, 0.5);
  box-shadow: inset 0 0 16px rgba(88, 140, 220, 0.12);
}

.tax-micro-scenario__copy.is-copied {
  border-color: rgba(120, 200, 140, 0.55);
  color: #9fd4a8;
}

/* Lead quiz (tax practice emergency) */
.tax-practice-hub .tax-emergency--progressive.tax-emergency--quiz .tax-emergency__inner {
  max-width: 52rem;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

.tax-practice-hub .tax-emergency--progressive.tax-emergency--quiz .tax-emergency__phone-lead {
  text-align: center;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.tax-practice-hub .tax-emergency--progressive.tax-emergency--quiz .abg-hairline-contact {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5rem;
}

.tax-practice-hub .tax-emergency--progressive.tax-emergency--quiz .abg-hairline-contact__stack {
  align-items: center;
}

.tax-emergency--quiz .abg-lead-quiz--split {
  width: 100%;
  max-width: 48rem;
  margin: 0.25rem auto 0;
  text-align: left;
}

.abg-lead-quiz--split .abg-lead-quiz__grid {
  display: grid;
  gap: 1.35rem 1.75rem;
  align-items: start;
}

@media (min-width: 768px) {
  .abg-lead-quiz--split .abg-lead-quiz__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.5rem 2rem;
  }
}

.abg-lead-quiz--split .abg-lead-quiz__col--contact {
  padding: 1.15rem 1.25rem;
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.abg-lead-quiz--split .abg-lead-quiz__privacy {
  margin: 0.75rem 0 0;
  text-align: left;
}

.abg-lead-quiz__issue[aria-pressed="true"] {
  border-color: rgba(197, 168, 128, 0.55);
  background: rgba(197, 168, 128, 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(197, 168, 128, 0.25),
    inset 0 0 24px rgba(88, 140, 220, 0.1);
}

.abg-lead-quiz__prompt {
  margin: 0 0 0.85rem;
  font-size: var(--step-0);
  font-weight: 600;
  color: var(--text);
}

.abg-lead-quiz__issues {
  display: grid;
  gap: 0.55rem;
}

.abg-lead-quiz__issue {
  display: block;
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: var(--step-0);
  font-weight: 600;
  text-align: left;
  color: var(--text);
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.abg-lead-quiz__issue:hover,
.abg-lead-quiz__issue:focus-visible {
  border-color: rgba(197, 168, 128, 0.5);
  box-shadow: inset 0 0 20px rgba(88, 140, 220, 0.1);
}

.abg-lead-quiz__step--2.is-hidden {
  display: none;
}

.abg-lead-quiz__step--2:not(.is-hidden) {
  display: block;
  animation: abg-quiz-in 0.35s ease;
}

@keyframes abg-quiz-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.abg-lead-quiz__channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.abg-lead-quiz__channel {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.7rem;
  font-size: var(--step--1);
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: 999px;
  cursor: pointer;
}

.abg-lead-quiz__channel:has(input:checked) {
  border-color: rgba(197, 168, 128, 0.5);
  background: rgba(197, 168, 128, 0.1);
}

.abg-lead-quiz__contact {
  display: block;
  margin-bottom: 0.65rem;
}

.abg-lead-quiz__contact-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: var(--step--1);
  color: var(--text-muted);
}

.abg-lead-quiz__back {
  margin: 0.25rem 0 0;
  padding: 0;
  font: inherit;
  font-size: var(--step--1);
  color: var(--accent);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.tax-micro-scenarios__note {
  margin: 1.25rem 0 0;
  font-size: var(--step--1);
  color: var(--tax-muted);
}

.tax-practice-hub > .tax-micro-scenarios {
  padding-top: clamp(1.5rem, 3vw, 2rem);
  padding-bottom: clamp(1.5rem, 3vw, 2rem);
}

.tax-emergency {
  padding: clamp(2.75rem, 5vw, 4rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: radial-gradient(circle at 50% 40%, rgba(80, 24, 24, 0.35) 0%, var(--bg-main) 72%);
  text-align: center;
}

.tax-emergency__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tax-emergency__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ef6b6b;
}

.tax-emergency__title {
  margin-bottom: 1rem;
}

.tax-emergency__lead {
  margin: 0 auto 2rem;
  max-width: 46rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.tax-emergency__phone-lead {
  margin: 0 auto 1rem;
  max-width: 46rem;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text);
}

.svc-tax-hub-emergency .tax-emergency__phone-lead + .svc-tax-hub-emergency__phone-wrap {
  margin-bottom: 2rem;
}

.tax-emergency__messengers {
  margin: 1.75rem 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.tax-emergency__messengers-label {
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--text-muted);
}

.tax-emergency__messengers-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem;
}

.tax-messenger-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: var(--accent);
  background: rgba(197, 168, 128, 0.08);
  border: 1px solid rgba(197, 168, 128, 0.4);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.tax-messenger-icon:hover {
  color: var(--bg-main, #070f1e);
  background: var(--accent);
  border-color: var(--accent);
}

.tax-messenger-icon svg {
  flex-shrink: 0;
}

.tax-emergency__form {
  width: 100%;
  max-width: 52rem;
  text-align: left;
}

.tax-emergency__fields {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.tax-emergency__alt {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.tax-emergency__alt a {
  color: var(--text-title);
  font-weight: 600;
}

.tax-landing-cases {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.tax-landing-cases__eyebrow,
.tax-landing-articles__eyebrow {
  margin: 0 0 0.85rem;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.tax-cases__grid,
.tax-articles__grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}

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

.tax-cases__card,
.tax-articles__card {
  padding: 1.75rem 1.85rem;
  border: 1px solid rgba(197, 168, 128, 0.18);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.tax-cases__tag,
.tax-articles__meta {
  margin: 0 0 0.65rem;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.tax-cases__title,
.tax-articles__title {
  margin: 0 0 0.75rem;
  font-size: var(--step-1);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: normal;
}

.tax-cases__text,
.tax-articles__text {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.tax-cases__result {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--accent);
}

.tax-cases__result strong {
  font-weight: 700;
  color: var(--accent);
}

.tax-cases__link {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.tax-cases__link:hover {
  text-decoration: underline;
}

.tax-cases__more {
  margin: 1.5rem 0 0;
  text-align: center;
  font-size: var(--fs-sm);
}

.tax-cases__more a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.tax-cases__more a:hover {
  text-decoration: underline;
}

.tax-landing-cta {
  padding: clamp(2.25rem, 4vw, 3rem) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
}

.tax-landing-cta__inner {
  max-width: 40rem;
}

.tax-landing-cta__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.25rem, 1rem + 0.6vw, 1.5rem);
  font-weight: 700;
  color: var(--text);
}

.tax-landing-cta__text {
  margin: 0 0 1.35rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.tax-landing-cta--prominent {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 0%,
    rgba(197, 168, 128, 0.14) 0%,
    var(--bg-alt, var(--bg)) 58%
  );
  border-top: 1px solid var(--border-gold, var(--border));
}

.tax-landing-cta--prominent .tax-landing-cta__inner {
  max-width: 44rem;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 2.5rem);
  background: var(--bg-card);
  border: 1px solid var(--border-gold, rgba(197, 168, 128, 0.35));
  border-radius: var(--radius, 8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.tax-landing-cta--prominent .tax-landing-cta__title {
  color: var(--text-title, var(--text));
  font-size: clamp(1.35rem, 1.1rem + 0.75vw, 1.75rem);
}

.tax-landing-cta--prominent .tax-landing-cta__text {
  color: var(--text-main, var(--text-muted));
}

.tax-landing-articles {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.tax-articles__link {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.tax-articles__link:hover {
  color: var(--accent-dim);
}

/* ----- Допрос в ФНС: страница услуги ----- */

.svc-dep-who {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.svc-dep-who__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .svc-dep-who__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.svc-dep-who__title {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 1rem + 0.6vw, 1.375rem);
  font-weight: 700;
  color: var(--text);
}

.svc-dep-who__intro {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.svc-dep-who__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.svc-dep-who__list strong {
  color: var(--text);
  font-weight: 600;
}

.svc-dep-rules {
  padding: 1.75rem 1.85rem;
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: rgba(197, 168, 128, 0.06);
  box-shadow: var(--shadow-lg);
}

.svc-dep-rules__title {
  margin: 0 0 1.15rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.svc-dep-rules__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.svc-dep-rules__item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.65rem 0.75rem;
  align-items: start;
}

.svc-dep-rules__icon {
  display: flex;
  color: var(--accent);
}

.svc-dep-rules__num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
  line-height: 1.4;
}

.svc-dep-rules__text {
  grid-column: 3;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.svc-dep-help {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.svc-dep-help__grid {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .svc-dep-help__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .svc-dep-help__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.svc-dep-cases {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.svc-dep-cases__grid {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .svc-dep-cases__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.svc-dep-algo {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.svc-dep-algo__grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .svc-dep-algo__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.svc-dep-algo__card {
  padding: 1.5rem 1.35rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.svc-dep-algo__step {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.svc-dep-algo__title {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}

.svc-dep-algo__text {
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--text-muted);
}

.svc-dep-cases .tax-cases__grid {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .svc-dep-cases .tax-cases__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-dep-benefits {
  background: var(--bg-alt, var(--bg));
  border-top: 1px solid var(--border);
}

.svc-dep-faq {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.svc-dep-faq .about-faq__page-title {
  margin: 0 0 2rem;
  text-align: center;
}

.svc-dep-benefits:not(.abg-section-band) {
  padding: clamp(2.75rem, 5vw, 4.25rem) 0;
  border-top: 1px solid var(--border);
}

.svc-dep-benefits__eyebrow {
  margin: 0 0 0.85rem;
  text-align: center;
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.svc-dep-benefits__inner {
  display: grid;
  gap: var(--gap-md);
  max-width: 62.5rem;
}

.svc-dep-benefits__list {
  display: flex;
  flex-direction: column;
  max-width: 62.5rem;
  margin: 0 auto;
}

.svc-dep-benefits__row {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.15rem 1.35rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.svc-dep-benefits__row:first-child {
  border-top: 1px solid var(--border);
}

.svc-dep-benefits__row:hover {
  border-bottom-color: rgba(197, 168, 128, 0.4);
  background: rgba(197, 168, 128, 0.04);
}

.svc-dep-benefits__row:first-child:hover {
  border-top-color: rgba(197, 168, 128, 0.25);
}

.svc-dep-benefits__num {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 1.4rem + 0.8vw, 2rem);
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
  padding-top: 0.15rem;
}

.svc-dep-benefits__title {
  margin: 0 0 0.5rem;
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--text);
}

.svc-dep-benefits__text {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.55;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .svc-dep-benefits__row {
    grid-template-columns: 3.25rem 1fr;
    gap: 0.85rem 1rem;
  }
}

/* ----- Cameral service page ----- */

.svc-cam-hero {
  border-bottom: 1px solid var(--border);
}

.svc-cam-process {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.svc-cam-process__text {
  margin: 0 0 1rem;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text-muted);
}

.svc-cam-process__text:last-child {
  margin-bottom: 0;
}

.svc-cam-act {
  background: var(--bg-card);
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 6px;
  padding: 1.85rem 1.65rem;
}

.svc-cam-act__text {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.svc-cam-act__text:last-child {
  margin-bottom: 0;
}

.svc-cam-algo {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.svc-cam-algo__grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .svc-cam-algo__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.svc-cam-algo__card {
  padding: 1.5rem 1.35rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.svc-cam-algo__step {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.svc-cam-algo__title {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.svc-cam-algo__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.svc-vnp-appeal {
  background: var(--bg-card);
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 6px;
  padding: 1.85rem 1.65rem;
}

.svc-vnp-appeal__text {
  margin: 0 0 1rem;
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text-muted);
}

.svc-vnp-appeal__text:last-of-type {
  margin-bottom: 1rem;
}

.svc-vnp-appeal__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.svc-vnp-appeal__step {
  margin: 0;
}

.svc-vnp-appeal__step-label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
}

.svc-vnp-appeal__step-text {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--text-muted);
}

.svc-vnp-appeal .svc-dep-rules__title {
  font-size: clamp(1.2rem, 1rem + 0.55vw, 1.4rem);
}

.svc-vnp-algo {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.svc-vnp-algo__grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .svc-vnp-algo__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.svc-vnp-algo__card {
  padding: 1.5rem 1.35rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.svc-vnp-algo__step {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.svc-vnp-algo__title {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.svc-vnp-algo__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Методология на подуслугах: макс. 3 в ряд; 5 шагов – пирамида 3+2 */
@media (min-width: 900px) {
  .abg-service-hub [class$="algo__grid"] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .abg-service-hub [class$="algo__grid"]:has(> :nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .abg-service-hub [class$="algo__grid"]:has(> :nth-child(5):last-child) {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .abg-service-hub [class$="algo__grid"]:has(> :nth-child(5):last-child) > :nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1;
  }

  .abg-service-hub [class$="algo__grid"]:has(> :nth-child(5):last-child) > :nth-child(2) {
    grid-column: 3 / span 2;
    grid-row: 1;
  }

  .abg-service-hub [class$="algo__grid"]:has(> :nth-child(5):last-child) > :nth-child(3) {
    grid-column: 5 / span 2;
    grid-row: 1;
  }

  .abg-service-hub [class$="algo__grid"]:has(> :nth-child(5):last-child) > :nth-child(4) {
    grid-column: 2 / span 2;
    grid-row: 2;
  }

  .abg-service-hub [class$="algo__grid"]:has(> :nth-child(5):last-child) > :nth-child(5) {
    grid-column: 4 / span 2;
    grid-row: 2;
  }
}

.svc-vnp-adv {
  background: var(--bg-alt, var(--bg));
  border-top: 1px solid var(--border);
}

@media (min-width: 900px) {
  .svc-vnp-adv .tax-landing-adv__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .svc-vnp-adv .tax-landing-adv__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-cam-adv {
  background: var(--bg-alt, var(--bg));
  border-top: 1px solid var(--border);
}

@media (min-width: 900px) {
  .svc-cam-adv .tax-landing-adv__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .svc-cam-adv .tax-landing-adv__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-cam-risks {
  padding: 1.5rem 1.65rem;
  background: rgba(197, 168, 128, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.svc-cam-risks__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.svc-cam-risks__list strong {
  color: var(--text);
  font-weight: 600;
}

.svc-cam-help {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.svc-cam-help__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13.75rem, 1fr));
  gap: 1.15rem;
}

.svc-cam-help__card {
  padding: 1.35rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--border-gold, var(--border));
  border-radius: 6px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.svc-cam-help__card:hover {
  border-color: rgba(197, 168, 128, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.svc-cam-help__title {
  margin: 0 0 0.55rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}

.svc-cam-help__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.svc-cam-cases {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.svc-cam-cases__grid {
  grid-template-columns: 1fr;
}

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

.svc-cam-faq {
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.svc-cam-faq .about-faq__page-title {
  margin: 0 0 2rem;
  text-align: center;
}

.svc-cam-cases + .svc-dep-benefits {
  background: var(--bg-alt, var(--bg));
}

/* ----- Consumer bankruptcy (физлица) ----- */

.svc-bfl-hero {
  border-bottom: 1px solid var(--border);
}

.svc-bfl-types {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.svc-bfl-types--dual .svc-bfl-types__cards {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr));
}

.svc-bfl-types__card {
  padding: 1.75rem 1.85rem;
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}

.svc-bfl-types__card-title {
  margin: 0 0 0.85rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}

.svc-bfl-types__card-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.svc-bfl-steps__card {
  position: relative;
}

.svc-bfl-steps__num {
  display: block;
  margin-bottom: 0.85rem;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.tax-cases__card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.tax-cases__card--link:hover {
  border-color: rgba(197, 168, 128, 0.45);
  background: rgba(255, 255, 255, 0.03);
}

.svc-bfl-types__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 900px) {
  .svc-bfl-types__grid {
    grid-template-columns: 1fr min(22rem, 38%);
    gap: 2.5rem;
  }
}

.svc-bfl-types__title {
  margin: 0 0 1rem;
  font-size: clamp(1.15rem, 2vw, 1.375rem);
  font-weight: 700;
  color: var(--text);
}

.svc-bfl-types__text {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.svc-bfl-types__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.svc-bfl-types__list strong {
  color: var(--text);
  font-weight: 600;
}

.svc-bfl-types__mfc {
  padding: 1.5rem 1.65rem;
  background: rgba(197, 168, 128, 0.06);
  border-left: 3px solid var(--accent);
  border-radius: 0 8px 8px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.svc-bfl-types__mfc-title {
  margin: 0 0 0.85rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}

.svc-bfl-types__mfc-text {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.svc-bfl-types__mfc-text:last-child {
  margin-bottom: 0;
}

.svc-bfl-steps {
  background: var(--bg);
}

.svc-bfl-steps__grid {
  grid-template-columns: repeat(auto-fit, minmax(13.75rem, 1fr));
}

.svc-bfl-cases__grid {
  grid-template-columns: 1fr;
}

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

.svc-bfl-cases + .svc-dep-benefits {
  background: var(--bg-alt, var(--bg));
}

.svc-bkdl-defense {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.svc-bkdl-defense__grid {
  display: grid;
  gap: 1.75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18.75rem), 1fr));
}

.svc-bkdl-defense__card {
  padding: 1.75rem 1.85rem;
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}

.svc-bkdl-defense__card-title {
  margin: 0 0 0.85rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
}

.svc-bkdl-defense__card-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.svc-cam-cases--alt {
  background: var(--bg-alt, var(--bg));
}

.svc-bkdl-risk {
  border-top: 1px solid var(--border);
}

/* ----- Counterparty in bankruptcy (защита сделок) ----- */

.svc-bkc-hero {
  border-bottom: 1px solid var(--border);
}

.svc-bkc-threat {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.svc-bkc-threat__card {
  max-width: 62.5rem;
  margin: 0 auto;
  padding: 2rem 2.15rem;
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}

.svc-bkc-threat__text {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.svc-bkc-threat__text:last-child {
  margin-bottom: 0;
}

.svc-bkc-check {
  border-top: 1px solid var(--border);
}

.svc-bkc-cases {
  background: var(--bg-alt, var(--bg));
}

.svc-bkc-cases__grid {
  grid-template-columns: 1fr;
}

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

.svc-bkc-cta .tax-landing-cta__inner {
  max-width: 40rem;
}

.svc-bkc-adv {
  background: var(--bg-alt, var(--bg));
  border-top: 1px solid var(--border);
}

.svc-bkc-adv__grid {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .svc-bkc-adv__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ----- Subsidiary liability (субсидиарка) ----- */

.svc-subs-stats {
  display: grid;
  gap: 1.15rem;
}

.svc-subs-stats__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.35rem 1.5rem;
  background: var(--accent-glow);
  border: 1px solid var(--border-gold, var(--border-strong));
  border-radius: 6px;
}

.svc-subs-stats__label {
  margin: 0;
  max-width: 14rem;
  font-size: var(--step--1);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
}

.svc-subs-stats__value {
  flex-shrink: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 4vw, 2.375rem);
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
}

.svc-subs-steps__grid {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .svc-subs-steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .svc-subs-steps__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-subs-steps {
  background: var(--bg-alt, var(--bg));
  border-top: 1px solid var(--border);
}

.svc-bksub-stats {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.svc-bksub-stats__lead {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.svc-bksub-stats__metrics {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2.75rem;
}

@media (min-width: 768px) {
  .svc-bksub-stats__metrics {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-bksub-stats__metric {
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 6px;
}

.svc-bksub-stats__value {
  display: block;
  margin-bottom: 0.65rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.svc-bksub-stats__metric-text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.svc-bksub-stats__grounds-title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.svc-bksub-stats__grounds {
  display: grid;
  gap: 1.15rem;
  max-width: 62.5rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .svc-bksub-stats__grounds {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-bksub-stats__ground {
  padding: 1.5rem 1.35rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.svc-bksub-stats__ground-title {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}

.svc-bksub-stats__ground-text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.svc-bksub-algo {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.svc-bksub-algo__grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .svc-bksub-algo__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .svc-bksub-algo__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-bksub-algo__card {
  padding: 1.5rem 1.35rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.svc-bksub-algo__step {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.svc-bksub-algo__title {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.svc-bksub-algo__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.svc-bksub-risk {
  border-top: 1px solid var(--border);
}

.svc-bksub-cases {
  background: var(--bg-alt, var(--bg));
}

@media (min-width: 900px) {
  .svc-bksub-cases .tax-cases__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ----- Creditor in bankruptcy ----- */

.svc-bkcr-overview {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.svc-bkcr-overview__card {
  max-width: 62.5rem;
  margin: 0 auto;
  padding: 2rem 2.15rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 6px;
}

.svc-bkcr-overview__text {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.svc-bkcr-overview__text:last-child {
  margin-bottom: 0;
}

.svc-bkcr-cases {
  background: var(--bg-alt, var(--bg));
}

@media (min-width: 900px) {
  .svc-bkcr-cases .tax-cases__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-bkcr-algo {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.svc-bkcr-algo__grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 640px) {
  .svc-bkcr-algo__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.svc-bkcr-algo__card {
  padding: 1.5rem 1.35rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.svc-bkcr-algo__step {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 1.375rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
}

.svc-bkcr-algo__title {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
}

.svc-bkcr-algo__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.svc-bkcr-emergency {
  border-top: 1px solid var(--border);
  text-align: center;
}

.svc-bkcr-emergency .tax-landing-cta__inner {
  max-width: 40rem;
}

.svc-bkcr-emergency__alt {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.svc-bkcr-adv {
  border-top: 1px solid var(--border);
}

@media (min-width: 900px) {
  .svc-bkcr-adv .tax-landing-adv__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-cred-steps__grid {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .svc-cred-steps__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .svc-cred-steps__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.svc-cred-steps {
  border-top: 1px solid var(--border);
}

.svc-cred-adv {
  background: var(--bg-alt, var(--bg));
  border-top: 1px solid var(--border);
}

.svc-bank-adv {
  background: var(--bg-alt, var(--bg));
  border-top: 1px solid var(--border);
}

@media (min-width: 900px) {
  .svc-bank-adv .tax-landing-adv__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .svc-bank-adv .tax-landing-adv__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.svc-bank-contact {
  border-top: 1px solid var(--border);
}

/* ----- Tax consultation service page ----- */

.svc-tax-cons-sectors {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.svc-tax-cons-sectors__grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .svc-tax-cons-sectors__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.svc-tax-cons-sectors__col {
  padding: 2rem 1.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
}

.svc-tax-cons-sectors__col-title {
  margin: 0 0 1.35rem;
  padding-bottom: 0.65rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid rgba(197, 168, 128, 0.35);
}

.svc-tax-cons-sectors__item {
  margin-bottom: 1.5rem;
}

.svc-tax-cons-sectors__item:last-child {
  margin-bottom: 0;
}

.svc-tax-cons-sectors__item-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.svc-tax-cons-sectors__item-text {
  margin: 0;
  font-size: 0.84375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.svc-tax-cons-cases--alt {
  background: var(--bg-alt, var(--bg));
}

.svc-tax-cons-contact {
  border-top: 1px solid var(--border);
}

.tax-consultation-hub > section {
  padding-top: clamp(2rem, 4.5vw, 2.65rem);
  padding-bottom: clamp(2rem, 4.5vw, 2.65rem);
}

.tax-consultation-hub > .tax-landing-hero {
  padding-top: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: clamp(2rem, 4vw, 2.5rem);
}

.tax-consultation-hub > .svc-vnp-algo,
.tax-consultation-hub > .svc-vnp-defenses,
.tax-consultation-hub > .tax-landing-adv,
.tax-consultation-hub > .svc-tax-cons-sectors,
.tax-consultation-hub > .svc-tax-cons-dir,
.tax-consultation-hub > .svc-tax-cons-hl,
.tax-consultation-hub > .svc-cam-cases,
.tax-consultation-hub > .svc-tax-cons-contact,
.tax-consultation-hub > .about-faq,
.tax-consultation-hub > .about-related,
.tax-consultation-hub > .tax-landing-articles {
  padding-top: 0;
  padding-bottom: 0;
}

.tax-consultation-hub .tax-landing-section-title {
  margin-bottom: 1.35rem;
}

@media (min-width: 900px) {
  .tax-consultation-hub > section {
    padding-top: clamp(2.75rem, 3.5vw, 3.25rem);
    padding-bottom: clamp(2.75rem, 3.5vw, 3.25rem);
  }

  .tax-consultation-hub > .tax-landing-hero {
    padding-top: clamp(2.25rem, 3vw, 2.85rem);
    padding-bottom: clamp(2.25rem, 3vw, 2.65rem);
  }

  .tax-consultation-hub .svc-tax-cons-contact .tax-emergency__inner {
    max-width: 42rem;
    padding: clamp(2rem, 4vw, 2.75rem);
    border: 1px solid rgba(197, 168, 128, 0.35);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
  }
}

.svc-tax-cons-dir {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border);
}

.svc-tax-cons-dir__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
  gap: 1.5rem;
}

.svc-tax-cons-dir__card {
  padding: 1.75rem 1.85rem;
  background: var(--surface);
  border: 1px solid var(--border-gold, var(--border));
  border-radius: 6px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.svc-tax-cons-dir__card:hover {
  border-color: rgba(197, 168, 128, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.svc-tax-cons-dir__tag {
  margin: 0 0 0.65rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.svc-tax-cons-dir__title {
  margin: 0 0 0.85rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}

.svc-tax-cons-dir__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.svc-tax-cons-hl {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.svc-tax-cons-hl__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.15rem;
}

.svc-tax-cons-hl__card {
  padding: 1.5rem 1.55rem;
  background: var(--surface);
  border: 1px solid var(--border-gold, var(--border));
  border-radius: 6px;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.svc-tax-cons-hl__card:hover {
  border-color: rgba(197, 168, 128, 0.55);
  background: rgba(197, 168, 128, 0.04);
}

.svc-tax-cons-hl__title {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.svc-tax-cons-hl__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.svc-tax-cons-hl + .svc-cam-cases + .svc-dep-benefits,
.svc-tax-cons-dir + .svc-cam-cases + .svc-dep-benefits {
  background: var(--bg-alt, var(--bg));
}

/* ----- Валютный контроль (премиум-услуга) ----- */

.svc-val-dir {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.svc-val-dir__grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.75rem;
}

@media (min-width: 720px) {
  .svc-val-dir__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .svc-val-dir__grid--triple {
    grid-template-columns: repeat(3, 1fr);
  }

  .svc-val-dir__grid--quad {
    grid-template-columns: repeat(4, 1fr);
  }

  .svc-val-dir__grid--dual {
    grid-template-columns: repeat(2, 1fr);
  }

  .svc-val-dir__grid--five {
    grid-template-columns: repeat(auto-fit, minmax(13.5rem, 1fr));
  }
}

.svc-val-dir--alt {
  background: var(--bg-alt, var(--bg));
}

.svc-val-dir__card {
  padding: 1.5rem 1.625rem;
  background: var(--bg-card);
  border: 1px solid var(--border, rgba(197, 168, 128, 0.25));
  border-radius: var(--radius, 6px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.svc-val-dir__card:hover {
  border-color: var(--accent, #c5a880);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.svc-val-dir__icon {
  display: block;
  margin-bottom: 0.875rem;
  color: var(--accent, #c5a880);
}

.svc-val-dir__title {
  margin: 0 0 0.625rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-title, var(--text));
}

.svc-val-dir__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.svc-val-cases {
  background: var(--bg-alt, var(--bg));
  border-top: 1px solid var(--border, rgba(255, 255, 255, 0.08));
}

.svc-val-adv {
  padding: clamp(2.75rem, 5vw, 4rem) 0;
}

.svc-val-adv__grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.75rem;
}

@media (min-width: 720px) {
  .svc-val-adv__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-val-adv__card {
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border-left: 3px solid var(--accent, #c5a880);
  border-radius: var(--radius, 4px);
}

.svc-val-adv__card .svc-val-dir__icon {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--accent, #c5a880);
}

.svc-val-adv__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-title, var(--text));
}

.svc-val-adv__text {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.svc-cam-help__grid--two {
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .svc-cam-help__grid--two {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ----- Footer ----- */

.site-footer {
  margin-top: 0;
  padding: clamp(4rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 2.5rem);
  background: var(--bg-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #8a99ad;
}

.site-footer__grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3.125rem);
  margin-bottom: clamp(2rem, 4vw, 3.125rem);
}

@media (min-width: 800px) {
  .site-footer__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    column-gap: clamp(1.25rem, 2.5vw, 2rem);
    row-gap: clamp(2rem, 4vw, 3.125rem);
    align-items: start;
  }

  .site-footer__col--bureau {
    grid-column: 1;
    justify-self: start;
    align-self: start;
    max-width: 13.5rem;
  }

  .site-footer__col--contact {
    grid-column: 2;
    justify-self: center;
    width: max-content;
    max-width: min(38rem, calc(100vw - var(--space) * 2 - 28rem));
  }

  .site-footer__col--nav {
    grid-column: 3;
    justify-self: end;
    align-self: start;
    max-width: 11.5rem;
  }
}

@media (min-width: 960px) {
  .site-footer__col--contact .site-footer__media {
    flex-wrap: nowrap;
  }
}

.site-footer__heading {
  margin: 0 0 1.15rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
}

.site-footer__bureau-name {
  margin: 0 0 0.95rem;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
}

.site-footer__legal {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #64748b;
}

.site-footer__policy a {
  font-size: 0.75rem;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed rgba(197, 168, 128, 0.4);
}

.site-footer__policy a:hover {
  color: #e8d4b8;
  border-bottom-color: var(--accent);
}

.site-footer__address {
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #e9eff2;
  font-weight: 500;
}

.site-footer__contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}

.site-footer__contact-links a {
  font-size: 0.875rem;
  color: rgba(242, 245, 249, 0.88);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__contact-links a:hover {
  color: var(--accent);
}

.site-footer__phone {
  font-size: clamp(1rem, 2.8vw, 1.05rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--accent) !important;
}

.site-footer__phone:hover {
  color: #e8d4b8 !important;
}

.site-footer__email {
  color: rgba(242, 245, 249, 0.78) !important;
}

.site-footer__email:hover {
  color: var(--accent) !important;
}

.site-footer__contact-page {
  font-size: 0.8125rem !important;
  color: #8a99ad !important;
}

.site-footer__contact-page:hover {
  color: var(--accent) !important;
}

.site-footer__channels {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-footer__subheading {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(138, 153, 173, 0.9);
}

.site-footer__subheading--media {
  margin-top: 0.35rem;
}

.site-footer__col .quick-socials--footer {
  margin-bottom: 0;
}

.quick-socials--footer .quick-socials__link {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(197, 168, 128, 0.2);
  color: rgba(242, 245, 249, 0.72);
}

.quick-socials--footer .quick-socials__link .brand-icon--telegram,
.quick-socials--footer .quick-socials__link .brand-icon--whatsapp,
.quick-socials--footer .quick-socials__link .brand-icon--email,
.quick-socials--footer .quick-socials__link .brand-icon--phone {
  color: currentColor;
}

.quick-socials--footer .quick-socials__link:hover,
.quick-socials--footer .quick-socials__link:focus-visible {
  border-color: rgba(197, 168, 128, 0.48);
  background: rgba(201, 169, 98, 0.08);
  color: var(--accent);
}

.quick-socials--footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.site-footer__media {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
}

.site-footer__media__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 168, 128, 0.2);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(242, 245, 249, 0.72);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.site-footer__media__link:hover {
  border-color: rgba(197, 168, 128, 0.48);
  background: rgba(201, 169, 98, 0.08);
  color: var(--accent);
}

.site-footer__media__icon {
  display: block;
  width: 1rem;
  height: 1rem;
  object-fit: contain;
  opacity: 0.88;
  filter: grayscale(1) brightness(1.35);
}

.site-footer__media__link:hover .site-footer__media__icon {
  opacity: 1;
  filter: none;
}

.contact-bureau-media {
  margin-top: 1.25rem;
}

.contact-bureau-media__heading {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-bureau-media__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-bureau-media__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.85rem;
  border-radius: 4px;
  border: 1px solid rgba(197, 168, 128, 0.22);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-title);
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-bureau-media__link:hover {
  border-color: rgba(197, 168, 128, 0.5);
  background: rgba(197, 168, 128, 0.08);
}

.contact-bureau-media__icon {
  width: 1.125rem;
  height: 1.125rem;
  object-fit: contain;
}

.site-footer__nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__nav-list a {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #8a99ad;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__nav-list a:hover {
  color: var(--accent);
}

.site-footer__nav {
  display: block;
}

.site-footer__nav a {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #8a99ad;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer__nav a:hover {
  color: var(--accent);
}

.site-footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.site-footer__copy {
  margin: 0;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.5;
}

.site-footer p,
.site-footer a {
  font-size: var(--step--1);
}

.site-footer a:hover {
  color: var(--text);
}

@media (max-width: 799px) {
  .site-footer {
    padding-top: clamp(2.5rem, 8vw, 3.25rem);
    padding-bottom: clamp(1.75rem, 5vw, 2.25rem);
  }

  .site-footer__grid {
    gap: 0;
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
  }

  .site-footer__col {
    padding: 1.55rem 0;
    border-bottom: 1px solid rgba(197, 168, 128, 0.12);
  }

  .site-footer__col--bureau {
    padding-top: 0;
  }

  .site-footer__col--nav {
    padding-bottom: 0;
    border-bottom: none;
  }

  .site-footer__heading {
    margin-bottom: 0.95rem;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
  }

  .site-footer__bureau-name {
    margin-bottom: 0.75rem;
    line-height: 1.55;
  }

  .site-footer__legal {
    margin-bottom: 0.75rem;
  }

  .site-footer__address {
    margin-bottom: 0.95rem;
    line-height: 1.55;
  }

  .site-footer__contact-links {
    margin-bottom: 1.1rem;
    padding: 1rem 1.05rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(197, 168, 128, 0.18);
    background: rgba(12, 20, 36, 0.38);
    gap: 0.7rem;
  }

  .site-footer__channels {
    gap: 0.55rem;
  }

  .site-footer__subheading--media {
    margin-top: 0.15rem;
  }

  .quick-socials--footer .quick-socials__link--phone {
    display: none;
  }

  .site-footer__media {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
  }

  .site-footer__media__link {
    width: 100%;
    min-width: 0;
    padding-inline: 0.55rem;
  }

  .site-footer__yandex {
    margin-top: 0.35rem;
  }

  .site-footer__bottom {
    padding-top: 1.25rem;
    text-align: center;
  }

  .site-footer__copy {
    font-size: 0.72rem;
  }
}

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

.prose {
  max-width: var(--prose-width);
}

.prose p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: var(--base-line-height);
}

.prose h2 {
  font-size: var(--step-2);
}

.prose h3 {
  font-size: var(--step-1);
}

.prose--page {
  max-width: min(72ch, 100%);
}

/* ----- Внутренние страницы (нативная вёрстка) ----- */

.page-hero {
  padding: clamp(2rem, 4vw, 3.25rem) 0 1.5rem;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(201, 169, 98, 0.08), transparent 42%);
}

.page-hero__label {
  margin: 0 0 0.5rem;
}

.page-hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 650;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.page-hero__lead {
  margin: 0 0 1.35rem;
  max-width: 62ch;
  font-size: var(--step-1);
  color: var(--text-muted);
  line-height: 1.55;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-block-title {
  margin: 0 0 0.65rem;
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.archive-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.archive-strip__text {
  margin: 0;
  max-width: 42ch;
  color: var(--text-muted);
  font-size: var(--step--1);
}

.page-rich {
  padding-block: 0.25rem 0;
}

.page-list {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
}

.page-list li {
  margin-bottom: 0.45rem;
}

.page-steps {
  margin: 0.75rem 0 0;
  padding-left: 1.35rem;
  color: var(--text-muted);
  counter-reset: ps;
}

.page-steps li {
  margin-bottom: 0.65rem;
  padding-left: 0.35rem;
}

.card--flat {
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: none;
}

/* ----- Tilda внутри merge (полная ширина, без лишней оболочки) ----- */

body.abg-merged .abg-merged-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.abg-merged .abg-merged-main--home .practice-merge-intro-lead {
  background: linear-gradient(180deg, rgba(7, 25, 53, 0.62) 0%, rgba(6, 10, 16, 0.55) 100%);
  border-bottom-color: rgba(201, 169, 98, 0.18);
}

body.abg-merged .abg-merged-main--home .practice-merge-intro-lead__text {
  font-size: var(--step-1);
  max-width: 62ch;
}

body.abg-merged .practice-merge-intro-head {
  padding-top: clamp(1.15rem, 2.2vw, 1.85rem);
  padding-bottom: 0.25rem;
  margin: 0;
  background: rgba(6, 10, 16, 0.42);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.abg-merged .practice-merge-intro-head .practice-merge-intro__h1 {
  margin: 0 0 0.15rem;
}

body.abg-merged .practice-merge-intro-head .practice-merge-intro-head__label {
  margin-bottom: 0.45rem;
}

body.abg-merged .practice-merge-intro-lead {
  background: rgba(6, 10, 16, 0.55);
  border-bottom: 1px solid var(--border);
  margin: 0;
}

body.abg-merged .practice-merge-intro-lead__text {
  margin: 0;
  max-width: 72ch;
  font-size: var(--step-0);
  color: var(--text);
}

body.abg-merged .practice-merge-related {
  background: rgba(6, 10, 16, 0.35);
  border-bottom: 1px solid var(--border);
}

body.abg-merged .practice-merge-related__grid {
  margin-top: 0.75rem;
}

body.abg-merged .practice-merge-related__card .card__title {
  font-size: var(--step-0);
}

body.abg-merged .practice-merge-related__card .card__title::after {
  content: " →";
  color: #c5a880;
  font-weight: 600;
}

body.abg-merged .practice-merge-related__card:hover .card__title::after {
  color: #ffffff;
}

body.abg-merged .practice-merge-related__card {
  transition: border-color 0.3s ease, background 0.3s ease;
}

body.abg-merged .practice-merge-related__card:hover {
  border-color: rgba(197, 168, 128, 0.35);
  background: rgba(255, 255, 255, 0.03);
}

body.abg-merged .abg-tilda-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Tilda часто задаёт светлый фон блокам – не перетираем */

/* ----- Главная (layout home / home_simple) ----- */

.container--narrow {
  max-width: 44rem;
}

.home-simple-hero__grid {
  grid-template-columns: 1fr;
  align-items: flex-start;
  gap: clamp(1.5rem, 3vw, 2rem);
}

@media (min-width: 900px) {
  .home-simple-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 3.5vw, 3rem);
    align-items: flex-start;
  }
}

.home-hero__contact-cluster {
  margin: 1.5rem 0 0.25rem;
  max-width: 42rem;
}

.home-hero__action-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.15rem;
  border: 1px solid rgba(197, 168, 128, 0.24);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.25rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .home-hero__action-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
  }
}

.home-hero__phone-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  gap: 0.15rem;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

@media (min-width: 768px) {
  .home-hero__phone-link {
    align-items: flex-start;
    text-align: left;
  }
}

.home-hero__phone-link:hover {
  transform: translateY(-1px);
}

.home-hero__phone-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-hero__phone-number {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
}

/* Деликатный адаптивный разделитель */
.home-hero__action-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  width: 100%;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .home-hero__action-divider {
    width: 1px;
    height: 2.25rem;
    background: rgba(255, 255, 255, 0.12);
  }
}

.home-hero__socials-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex-grow: 1;
}

@media (min-width: 768px) {
  .home-hero__socials-wrapper {
    align-items: flex-end;
    gap: 0.35rem;
  }
}

.home-hero__socials-hint {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-soft);
}

.home-hero__socials-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .home-hero__socials-row {
    justify-content: flex-end;
  }
}
.home-hero__channel {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(197, 168, 128, 0.25);
  border-radius: 30px;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  transition: all 0.2s ease;
}

.home-hero__channel svg {
  flex-shrink: 0;
  color: rgba(197, 168, 128, 0.9);
  transition: color 0.2s ease;
}

.home-hero__channel:hover,
.home-hero__channel:focus-visible {
  color: #ffffff;
  border-color: rgba(197, 168, 128, 0.55);
  background: rgba(197, 168, 128, 0.08);
}

.home-hero__channel:hover svg,
.home-hero__channel:focus-visible svg {
  color: var(--accent);
}

.home-hero__portrait-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.home-hero__portrait-col .home-hero__stats-line {
  width: 100%;
  max-width: 32rem;
  margin: 0.5rem auto 0;
  padding: 0.65rem 0 0;
  border-top: 1px solid var(--hero-border);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.85rem;
}

.home-hero__portrait-col .home-hero__stat {
  font-size: 0.9rem;
  white-space: normal;
  line-height: 1.3;
  gap: 0.38rem;
}

.home-hero__portrait-col .home-hero__stat-bullet {
  font-size: 0.75rem;
}

.home-hero__stats-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-top: 2rem;
  padding-top: 1.85rem;
  border-top: 1px solid var(--hero-border);
  line-height: 1.4;
}

.home-hero__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--hero-strong);
  white-space: nowrap;
}

.home-hero__stat-bullet {
  flex-shrink: 0;
  font-size: 0.75rem;
  line-height: 1;
  color: var(--accent);
}

.home-simple-hero .home-hero__portrait-col {
  text-align: center;
  align-self: start;
  justify-self: end;
}

.home-simple-hero .home-hero__portrait {
  text-align: center;
  width: fit-content;
  max-width: 100%;
  position: relative;
  display: inline-block;
  isolation: isolate;
  border-radius: var(--radius-md);
}

.home-hero__portrait img {
  display: block;
  width: 100%;
  max-width: 26.25rem;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: none;
  object-fit: cover;
  border: none;
}

/* Плавный «вплавленный» край портрета (не expert-блок) */
.home-simple-hero:not(.home-simple-hero--expert) .home-hero__portrait img {
  -webkit-mask-image: radial-gradient(130% 120% at 50% 30%, #000 64%, transparent 100%);
  mask-image: radial-gradient(130% 120% at 50% 30%, #000 64%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center;
  mask-position: center;
}

.home-simple-hero:not(.home-simple-hero--expert) .home-hero__portrait::before {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -1.15rem;
  height: 28%;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent 72%);
  filter: blur(14px);
  opacity: 0.75;
}

.home-simple-hero:not(.home-simple-hero--expert) .home-hero__portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  /* затемнение/виньетка по краям + мягкий холодный тон */
  background:
    radial-gradient(120% 95% at 50% 15%, rgba(7, 18, 38, 0) 0%, rgba(7, 18, 38, 0.18) 58%, rgba(7, 18, 38, 0.62) 100%),
    linear-gradient(120deg, rgba(7, 18, 38, 0.28) 0%, rgba(7, 18, 38, 0) 38%, rgba(7, 18, 38, 0.22) 100%);
  mix-blend-mode: multiply;
  opacity: 0.95;
}

@media (min-width: 900px) {
  /* Сдвиг портрета левее для плотности первого экрана */
  .home-simple-hero .home-hero__portrait-col {
    align-items: center;
    text-align: center;
  }

  .home-simple-hero .home-hero__portrait-col .home-hero__stats-line {
    max-width: 100%;
  }

  .home-simple-hero .home-hero__portrait {
    text-align: right;
    padding-top: 0;
  }

  .home-simple-hero .home-hero__portrait img {
    max-width: min(27.5rem, 42vw);
    max-height: min(32rem, calc(100svh - var(--site-header-h, 5rem) - 5rem));
    width: auto;
    height: auto;
    margin-left: 0;
    object-fit: cover;
    object-position: top center;
  }
}

@media (min-width: 1280px) {
  .home-simple-hero:not(.home-simple-hero--expert) .home-hero__portrait-col {
    transform: translateX(-1.5rem);
  }
}

.home-hero__facts {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: rgba(20, 33, 61, 0.45);
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.home-hero__facts-title {
  margin: 0 0 1.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-hero__facts-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-hero__fact {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.55rem 0 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: var(--step--1);
  color: var(--text-muted);
  line-height: 1.5;
}

.home-hero__fact:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.home-hero__fact-value {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.home-trust--spaced {
  padding-top: clamp(2rem, 3.5vw, 2.75rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.home-trust__avatar-link {
  display: inline-block;
  margin: 0 auto 0.5rem;
  text-decoration: none;
  border-radius: 50%;
  transition: transform 0.25s ease;
}

.home-trust__avatar-link:hover,
.home-trust__avatar-link:focus-visible {
  transform: translateY(-2px);
}

.home-trust__avatar {
  position: relative;
  width: 8.75rem;
  height: 8.75rem;
  margin: 0;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: #0a1424;
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(197, 168, 128, 0.12);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.home-trust__avatar-link:hover .home-trust__avatar,
.home-trust__avatar-link:focus-visible .home-trust__avatar {
  border-color: rgba(197, 168, 128, 0.85);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.5),
    0 0 0 3px rgba(197, 168, 128, 0.18);
}

.home-trust__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9) contrast(1.04) saturate(0.95);
}

.home-trust__avatar::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 28px rgba(5, 11, 21, 0.45);
  pointer-events: none;
}

.home-trust__credential-medal {
  margin-bottom: 0.5rem;
}

.home-trust__credential-medal-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  margin: 0 auto;
  padding: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.home-trust__credential-medal-inner img {
  display: block;
  width: auto;
  height: auto;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  margin: 0;
  border: none;
  border-radius: 0;
}

.home-simple-services__note {
  margin: 0 0 1.25rem;
  max-width: 50ch;
  font-size: var(--step--1);
  color: var(--text-muted);
  line-height: 1.5;
}

.home-simple-services__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}

.home-simple-services__list a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #e9eff2;
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.home-simple-services__list a:hover {
  border-color: #ab8b50;
  background: rgba(171, 139, 80, 0.1);
  color: #ffffff;
}

.home-simple-contact__text {
  margin: 0;
  font-size: var(--step--1);
  color: var(--text-muted);
  line-height: 1.6;
}

.home-simple-contact__text a {
  color: var(--accent);
  text-decoration: none;
}

.home-simple-contact__text a:hover {
  text-decoration: underline;
}

.home-trust__grid {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 800px) {
  .home-trust__grid {
    grid-template-columns: 1.15fr 0.85fr;
  }
}

.home-trust__quote {
  margin: 0;
  padding: 1.35rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: rgba(201, 169, 98, 0.08);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.home-trust__quote p {
  margin: 0;
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--text);
}

.home-trust__quote p::before {
  content: "«";
}

.home-trust__quote p::after {
  content: "»";
}

.home-trust__cite {
  margin: 1.25rem 0 0;
  font-size: var(--step-0);
  color: var(--text-muted);
  line-height: 1.5;
}

.advocate-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  color: #c5a880;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color 0.3s ease;
}

.advocate-profile-link__icon {
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.advocate-profile-link:hover {
  color: #ffffff;
}

.advocate-profile-link:hover .advocate-profile-link__icon {
  transform: translateX(5px);
}

.home-trust__credential {
  text-align: center;
  margin-bottom: 1.25rem;
}

.home-trust__credential .home-trust__avatar-link {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.home-trust__credential-caption {
  margin: 0.85rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}

.home-trust__features {
  display: grid;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

@media (min-width: 800px) {
  .home-trust__features {
    margin-top: 0;
  }
}

.home-trust__feature-title {
  margin: 0 0 0.4rem;
  font-size: var(--step-1);
  font-weight: 600;
}

.home-trust__feature p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step-0);
  line-height: 1.6;
}

.home-practices {
  margin-top: 0;
  padding: clamp(2rem, 3.5vw, 2.75rem) 0 clamp(2rem, 4vw, 3.25rem);
  background-color: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.home-practices__head {
  text-align: center;
}

.home-practices__head .abg-section-head {
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
}

.home-practices__head .abg-section-head--plaque .abg-section-head__title--plaque {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.home-practices__lead {
  margin: 0 auto 1.35rem;
  max-width: 42rem;
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.5;
  text-align: center;
  color: var(--text-muted);
}

.home-practices__title-row,
.home-section-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: clamp(0.85rem, 2vw, 1.35rem);
  row-gap: 0.45rem;
  margin-bottom: clamp(0.85rem, 1.6vw, 1.15rem);
}

.home-section-title-row:not(.home-section-title-row--duo) .abg-section-head {
  display: contents;
  margin-bottom: 0;
  padding-top: 0;
}

.home-section-title-row:not(.home-section-title-row--duo) .abg-section-head__rule {
  flex-basis: 100%;
  margin-bottom: 0.5rem;
}

.home-section-title-row--duo .abg-section-head {
  margin-bottom: 0;
  padding-top: 0;
  width: 100%;
}

.home-section-title-row__inline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.45rem 1.15rem;
}

.home-section-title-row__inline .abg-section-head__title {
  margin: 0;
}

.home-section-head-link {
  flex-shrink: 0;
  font-family: var(--font-body, inherit);
  font-size: clamp(0.75rem, 1.05vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-transform: none;
  text-decoration: none;
  color: var(--text-soft);
  transition: color 0.22s ease;
}

.home-section-head-link:hover,
.home-section-head-link:focus-visible {
  color: var(--accent);
}

.home-practices__catalog-link {
  margin: 1.25rem auto 0;
  max-width: 42rem;
  font-size: 0.9375rem;
  line-height: 1.45;
  text-align: center;
}

.home-practices__catalog-link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.home-practices__catalog-link a:hover {
  text-decoration: underline;
}

/* Главная: 5 макро-колонок = header */
.home-macro-columns {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  text-align: left;
}

@media (min-width: 768px) {
  .home-macro-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .home-macro-columns {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

.home-macro-column {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
  padding: 1rem 0.95rem 1.05rem;
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(ellipse 95% 120% at 50% 0%, rgba(48, 62, 92, 0.35) 0%, rgba(8, 14, 28, 0.72) 72%),
    rgba(12, 20, 36, 0.5);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.home-macro-column:hover,
.home-macro-column:focus-within,
.home-macro-column.is-active {
  border-color: rgba(197, 168, 128, 0.45);
  box-shadow: 0 10px 28px -14px rgba(0, 0, 0, 0.65);
  transform: translateY(-2px);
}

.home-macro-column.is-dimmed {
  opacity: 0.72;
}

.home-macro-column__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(0.68rem, 0.8vw, 0.78rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-macro-column__hubs {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.home-macro-column__hub-link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.55rem 0.5rem;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease;
}

.home-macro-column__hub-link:hover {
  background: rgba(197, 168, 128, 0.1);
}

.home-macro-column__hub-title {
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.35;
  color: var(--text);
}

.home-macro-column__hub-desc {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
}

/* Блок 2: навигатор рисков */
.home-navigator__panel {
  padding: clamp(1.1rem, 2vw, 1.5rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.home-navigator__step + .home-navigator__step {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.home-navigator__step-label {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.home-navigator__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.home-navigator__chip {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.home-navigator__chip:hover {
  border-color: var(--accent);
  color: var(--text);
}

.home-navigator__chip[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(197, 168, 128, 0.14);
  color: var(--text);
  font-weight: 600;
}

.home-navigator__results {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.home-navigator__results.is-hidden {
  display: none;
}

.home-navigator__results-label {
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.home-navigator__results-grid {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
}

.home-navigator__hub-card {
  display: block;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.15s ease;
}

.home-navigator__hub-card:hover {
  border-color: var(--accent);
}

.home-navigator__hub-card strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.92rem;
  color: var(--text);
}

.home-navigator__hub-card span {
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

/* Блок 4: стандарты */
.home-standards__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

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

.home-standards__card {
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
}

.home-standards__card-title {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}

.home-standards__card-text {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* Блок 5: кейсы */
.home-cases--precedents {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3.25rem);
}

.home-cases--precedents .home-section-title-row {
  margin-bottom: clamp(1rem, 1.8vw, 1.35rem);
}

.home-cases__grid {
  display: grid;
  gap: clamp(1.35rem, 2.4vw, 1.85rem);
  grid-template-columns: 1fr;
}

.home-cases__more {
  margin: clamp(1.25rem, 2.2vw, 1.65rem) 0 0;
  text-align: center;
  font-size: 0.9rem;
}

.home-cases__more a {
  color: var(--accent);
  text-decoration: none;
}

.home-cases__more a:hover {
  text-decoration: underline;
}

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

.home-case-study__facts {
  margin: 1rem 0 0;
  display: grid;
  gap: clamp(0.75rem, 1.4vw, 1rem);
}

.home-case-study__facts dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.28rem;
}

.home-case-study__facts dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--text-muted);
}

.home-case-study.card--flat {
  padding: clamp(1.4rem, 2.6vw, 1.95rem);
  gap: 0.7rem;
}

.home-case-study .card__title {
  margin-bottom: 0.35rem;
  line-height: 1.38;
}

.home-case-study .card__meta {
  margin-bottom: 0.15rem;
}

/* Блок 7: контакт – экспресс-форма на главной, SOS-терминал на контактах */
.home-contact--express {
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.home-contact--terminal {
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.contact-sos {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(6, 10, 16, 0.35) 0%, transparent 100%);
}

.home-contact__inner--narrow {
  max-width: 40rem;
}

.home-contact__urgent-link {
  margin: clamp(1.25rem, 2.5vw, 1.75rem) 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.home-contact__urgent-link a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.home-contact__urgent-link a:hover {
  text-decoration: underline;
}

.home-express-form__box {
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 1rem;
  background: rgba(17, 24, 39, 0.45);
  box-shadow:
    0 0 0 1px rgba(197, 168, 128, 0.05),
    0 12px 32px rgba(0, 0, 0, 0.2);
}

.home-express-form__fields {
  display: grid;
  gap: 1rem;
}

.home-express-form__field {
  display: grid;
  gap: 0.4rem;
}

.home-express-form__field input,
.home-express-form__field textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.5rem;
  background: rgba(0, 0, 0, 0.22);
  color: var(--text);
  font: inherit;
  line-height: 1.45;
}

.home-express-form__field input:focus,
.home-express-form__field textarea:focus {
  outline: 2px solid rgba(201, 169, 98, 0.45);
  border-color: rgba(201, 169, 98, 0.45);
}

.home-express-form__optional {
  font-weight: 400;
  color: var(--text-soft);
}

.home-express-form__submit {
  margin-top: 1.15rem;
}

.home-express-form__submit .btn {
  width: 100%;
  justify-content: center;
}

.home-express-form__privacy {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: var(--text-soft);
}

.home-contact__inner {
  max-width: 72rem;
  margin-inline: auto;
}

.home-contact__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.28;
  color: var(--text);
  text-align: left;
}

.home-contact__lead {
  margin: 0 0 clamp(1.75rem, 3.5vw, 2.5rem);
  max-width: 56rem;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.55;
  color: var(--text-muted);
  text-align: left;
}

.home-contact__terminal {
  margin: 0;
}

.home-lead-terminal__grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: stretch;
}

@media (min-width: 900px) {
  .home-lead-terminal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 2.5vw, 2rem);
  }
}

.home-lead-terminal__panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.35rem, 2.2vw, 2rem);
  border-radius: 1rem;
}

.home-lead-terminal__panel--self {
  border: 1px solid rgba(100, 116, 139, 0.28);
  background: rgba(17, 24, 39, 0.38);
}

.home-lead-terminal__panel--contact {
  border: 1px solid rgba(197, 168, 128, 0.32);
  background: rgba(17, 24, 39, 0.58);
  box-shadow:
    0 0 0 1px rgba(197, 168, 128, 0.05),
    0 16px 40px rgba(0, 0, 0, 0.24),
    0 8px 28px rgba(197, 168, 128, 0.06);
}

.home-lead-terminal__panel-tag {
  margin: 0 0 clamp(1.1rem, 2vw, 1.35rem);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--accent);
}

.home-lead-terminal__panel-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: clamp(1rem, 1.8vw, 1.25rem);
}

.home-lead-terminal__field {
  display: grid;
  gap: 0.55rem;
}

.home-lead-terminal__field-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--text-muted);
}

.home-lead-terminal__panel--contact .home-lead-terminal__field-label {
  color: var(--text-soft);
}

.home-lead-terminal__list {
  display: flex;
  flex-direction: column;
}

.home-lead-terminal__situation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem 0;
  border: none;
  border-bottom: 1px solid rgba(197, 168, 128, 0.14);
  border-radius: 0;
  background: transparent;
  font: inherit;
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition:
    color 0.22s ease,
    border-color 0.22s ease,
    padding-left 0.22s ease;
}

.home-lead-terminal__situation:first-child {
  border-top: 1px solid rgba(197, 168, 128, 0.14);
}

.home-lead-terminal__situation:hover,
.home-lead-terminal__situation:focus-visible,
.home-lead-terminal__situation.is-active {
  color: var(--text);
  border-color: rgba(197, 168, 128, 0.32);
  padding-left: 0.35rem;
}

.home-lead-terminal__arrow {
  flex-shrink: 0;
  font-size: 1.05rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.75;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.home-lead-terminal__situation:hover .home-lead-terminal__arrow,
.home-lead-terminal__situation:focus-visible .home-lead-terminal__arrow {
  opacity: 1;
  transform: translateX(3px);
}

.home-lead-terminal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.95rem 1.15rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  color: #fff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.home-lead-terminal__btn:hover,
.home-lead-terminal__btn:focus-visible {
  transform: translateY(-1px);
}

.home-lead-terminal__btn--phone {
  background: linear-gradient(135deg, rgba(197, 168, 128, 0.95) 0%, rgba(168, 138, 98, 0.98) 100%);
  color: #1a1208;
  border-color: transparent;
  box-shadow: 0 8px 22px rgba(197, 168, 128, 0.26);
}

.home-lead-terminal__btn--phone:hover,
.home-lead-terminal__btn--phone:focus-visible {
  background: linear-gradient(135deg, rgba(210, 182, 140, 0.98) 0%, rgba(180, 150, 108, 1) 100%);
  box-shadow: 0 10px 26px rgba(197, 168, 128, 0.34);
}

@media (prefers-reduced-motion: no-preference) {
  .home-lead-terminal__btn--pulse {
    animation: home-lead-terminal-pulse 2.8s ease-in-out infinite;
  }
}

@keyframes home-lead-terminal-pulse {
  0%,
  100% {
    box-shadow:
      0 8px 22px rgba(197, 168, 128, 0.26),
      0 0 0 0 rgba(197, 168, 128, 0.22);
  }
  50% {
    box-shadow:
      0 10px 28px rgba(197, 168, 128, 0.34),
      0 0 0 6px rgba(197, 168, 128, 0.08);
  }
}

.home-lead-terminal__messengers-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.55rem;
}

.home-lead-terminal__messenger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.62rem 0.55rem;
  border: 1px solid rgba(197, 168, 128, 0.24);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-soft);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.home-lead-terminal__messenger:hover,
.home-lead-terminal__messenger:focus-visible {
  border-color: rgba(197, 168, 128, 0.42);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  transform: translateY(-1px);
}

.home-lead-terminal__messenger--vk .home-lead-terminal__btn-icon {
  color: #6b9fd4;
}

.home-lead-terminal__messenger--telegram .home-lead-terminal__btn-icon {
  color: #5eb3f0;
}

.home-lead-terminal__messenger--whatsapp .home-lead-terminal__btn-icon {
  color: #4cc38a;
}

.home-lead-terminal__messenger .home-lead-terminal__btn-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.home-lead-terminal__channel-note {
  margin: 0.45rem 0 0;
  font-size: 0.68rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.home-lead-terminal__btn-icon {
  flex-shrink: 0;
}

.home-lead-terminal__guarantee {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.home-lead-terminal__guarantee--footer {
  margin-top: clamp(1.1rem, 2vw, 1.35rem);
  padding-top: clamp(0.95rem, 1.8vw, 1.15rem);
  border-top: 1px solid rgba(197, 168, 128, 0.14);
  font-size: 0.72rem;
  color: var(--text-muted);
}

.home-lead-terminal__shield {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--accent);
  opacity: 0.85;
}

.home-lead-terminal__mail-form {
  display: grid;
  gap: 0.85rem;
  margin-top: auto;
}

.home-lead-terminal__situation-select {
  width: 100%;
  padding: 0.72rem 2rem 0.72rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.28);
  background-color: rgba(15, 23, 42, 0.55);
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c5a880' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
}
  background-position: right 0.75rem center;
}

.home-lead-terminal__protocol {
  display: grid;
  gap: 0.55rem;
  margin: 0;
}

.home-lead-terminal__protocol--outline {
  padding: 0.9rem 1rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(197, 168, 128, 0.38);
  background: transparent;
}

.home-lead-terminal__protocol[hidden] {
  display: none !important;
}

.home-lead-terminal__protocol-kicker {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-lead-terminal__protocol-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.home-lead-terminal__protocol-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--accent);
  text-decoration: none;
}

.home-lead-terminal__protocol-link:hover,
.home-lead-terminal__protocol-link:focus-visible {
  color: var(--text);
  text-decoration: underline;
}

.home-lead-terminal__protocol-open {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

.home-lead-terminal__protocol-open[hidden] {
  display: none !important;
}

.home-lead-terminal__situation-select:focus {
  outline: none;
  border-color: rgba(197, 168, 128, 0.5);
  box-shadow: 0 0 0 1px rgba(197, 168, 128, 0.2);
}

.home-lead-terminal__mail-form .home-form__field {
  margin-bottom: 1.15rem;
}

.home-lead-terminal__mail-form textarea {
  width: 100%;
  min-height: 5.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(197, 168, 128, 0.22);
  background: var(--bg-card);
  color: var(--text);
  font: inherit;
  resize: vertical;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.home-lead-terminal__mail-form textarea:focus {
  outline: none;
  border-color: rgba(197, 168, 128, 0.5);
  box-shadow: 0 0 0 1px rgba(197, 168, 128, 0.18);
}

.home-lead-terminal__mail-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
}

.home-lead-terminal__shield-icon {
  display: block;
}

.home-practices__grid {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .home-practices__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (min-width: 900px) {
  .home-practices__grid--fifteen {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (min-width: 1280px) {
  .home-practices__grid--fifteen {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.8rem;
  }
}

a.home-practice-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  min-height: 100%;
  padding: 1rem 1rem 1.05rem;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: var(--radius-sm);
  background:
    radial-gradient(ellipse 95% 120% at 50% 0%, rgba(48, 62, 92, 0.42) 0%, rgba(8, 14, 28, 0.78) 72%),
    rgba(12, 20, 36, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    transform 0.28s ease,
    background 0.28s ease;
}

a.home-practice-card:hover,
a.home-practice-card:focus-visible {
  border-color: rgba(197, 168, 128, 0.48);
  background:
    radial-gradient(ellipse 95% 120% at 50% 0%, rgba(58, 74, 108, 0.5) 0%, rgba(10, 18, 34, 0.82) 72%),
    rgba(14, 22, 40, 0.62);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(197, 168, 128, 0.18),
    0 0 28px rgba(197, 168, 128, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  color: inherit;
}

.home-practice-card__decor {
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  overflow: hidden;
}

.home-practice-card__decor::before {
  content: "";
  position: absolute;
  right: -2.5rem;
  bottom: -3rem;
  width: 9rem;
  height: 9rem;
  border: 1px solid rgba(197, 168, 128, 0.1);
  border-radius: 50%;
  opacity: 0.45;
  box-shadow:
    -3.5rem -1.5rem 0 -0.5rem rgba(197, 168, 128, 0.04),
    inset 0 0 24px rgba(197, 168, 128, 0.06);
}

.home-practice-card__decor::after {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: -1.25rem;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 168, 128, 0.16) 0%, transparent 68%);
  opacity: 0.55;
}

.home-practice-card__head,
.home-practice-card__text {
  position: relative;
  z-index: 1;
}

.home-practice-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem;
}

.home-practice-card__lead {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  flex: 1;
  min-width: 0;
}

.home-practice-card__icon-wrap {
  flex-shrink: 0;
  display: inline-flex;
  margin-top: 0.12rem;
  color: rgba(197, 168, 128, 0.72);
  transition:
    color 0.25s ease,
    filter 0.25s ease;
}

.home-practice-card__icon {
  display: block;
  width: 26px;
  height: 26px;
}

a.home-practice-card:hover .home-practice-card__icon-wrap,
a.home-practice-card:focus-visible .home-practice-card__icon-wrap {
  color: var(--accent);
  filter: drop-shadow(0 0 10px rgba(197, 168, 128, 0.35));
}

.home-practice-card__arrow {
  flex-shrink: 0;
  display: inline-flex;
  margin-top: 0.1rem;
  color: rgba(148, 163, 184, 0.5);
  pointer-events: none;
}

.home-practice-card__arrow .abg-vector-arrow {
  width: 16px;
  height: 16px;
  transition:
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.2s ease;
}

a.home-practice-card:hover .home-practice-card__arrow .abg-vector-arrow,
a.home-practice-card:focus-visible .home-practice-card__arrow .abg-vector-arrow {
  color: var(--accent);
  transform: translate(3px, -3px) scale(1.12);
}

.home-practice-card__title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1.32;
  color: #ffffff;
}

.home-practice-card__text {
  flex: 1;
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--text-muted);
}

@media (min-width: 1100px) {
  .home-practice-card__title {
    font-size: var(--step-1);
  }

  .home-practice-card__text {
    font-size: var(--step-0);
  }
}

.home-form__field select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.home-form__field select:focus {
  outline: 2px solid rgba(201, 169, 98, 0.35);
  border-color: var(--accent);
}

.home-recognition {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 0;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.home-recognition__award-row {
  display: grid;
  gap: clamp(2rem, 4vw, 3.75rem);
  align-items: center;
}

@media (min-width: 800px) {
  .home-recognition__award-row {
    grid-template-columns: 1.2fr 0.8fr;
  }
}

.home-recognition__copy-head .abg-section-head {
  margin-bottom: clamp(1rem, 2vw, 1.35rem);
  text-align: left;
}

.home-recognition__copy-head .abg-section-head--left .abg-section-head__rule,
.home-recognition__copy-head .abg-section-head__rule {
  margin-left: 0;
  margin-right: auto;
}

.home-recognition__copy-head .abg-section-head--duo .abg-section-head__eyebrow {
  font-size: clamp(0.8125rem, 1vw, 0.9rem);
  letter-spacing: 0.12em;
}

.home-recognition__copy-head .abg-section-head--duo .abg-section-head__title {
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
}

.home-recognition__text {
  margin: 0 0 1.25rem;
  max-width: 52ch;
  font-size: clamp(1rem, 1.05vw, 1.0625rem);
  color: var(--text-muted);
  line-height: 1.6;
}

.home-recognition__link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px dashed rgba(201, 169, 98, 0.55);
}

.home-recognition__link:hover {
  text-decoration: none;
  border-bottom-color: var(--accent);
}

.home-recognition__award {
  text-align: center;
}

.home-recognition__carousel {
  width: 100%;
  max-width: 20rem;
  margin: 0 auto;
}

.home-recognition__carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.home-recognition__carousel-meta {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.home-recognition__carousel-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.home-recognition__carousel-btn:hover,
.home-recognition__carousel-btn:focus-visible {
  border-color: var(--accent);
  background: rgba(197, 168, 128, 0.12);
}

.home-recognition__carousel-viewport {
  overflow: hidden;
}

.home-recognition__carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.home-recognition__carousel-track::-webkit-scrollbar {
  display: none;
}

.home-recognition__slide {
  flex: 0 0 100%;
  width: 100%;
  margin: 0;
  scroll-snap-align: center;
}

.home-recognition__award-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 17.5rem);
  margin: 0 auto;
  aspect-ratio: 1 / 1.41;
  padding: 0.65rem;
  background: rgba(20, 33, 61, 0.35);
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
  position: relative;
}

button.home-recognition__zoom {
  display: flex;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

button.home-recognition__zoom:hover,
button.home-recognition__zoom:focus-visible {
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.48);
  transform: translateY(-2px);
}

.home-recognition__zoom-hint {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0.55rem;
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  background: rgba(6, 10, 16, 0.72);
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.3;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

button.home-recognition__zoom:hover .home-recognition__zoom-hint,
button.home-recognition__zoom:focus-visible .home-recognition__zoom-hint {
  opacity: 1;
}

.recognition-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.recognition-lightbox[hidden] {
  display: none !important;
}

.recognition-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 22, 0.82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.recognition-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: min(100%, 56rem);
  max-height: calc(100vh - 2rem);
}

.recognition-lightbox__img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
  background: rgba(20, 33, 61, 0.35);
}

.recognition-lightbox__caption {
  margin: 0;
  max-width: 46rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(242, 245, 249, 0.82);
  text-align: center;
  text-wrap: pretty;
}

.recognition-lightbox__close {
  position: absolute;
  top: -0.25rem;
  right: 0;
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: 50%;
  background: rgba(12, 18, 28, 0.92);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.recognition-lightbox__close:hover,
.recognition-lightbox__close:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

html.light-theme .recognition-lightbox__backdrop {
  background: rgba(15, 23, 42, 0.55);
}

html.light-theme .recognition-lightbox__caption {
  color: var(--text-muted);
}

html.light-theme .recognition-lightbox__close {
  background: var(--bg-card);
  border-color: var(--border-strong);
}

html.recognition-lightbox-open {
  overflow: hidden;
}

.home-recognition__award-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
}

.home-recognition__award-img.is-hidden {
  display: none;
}

.home-recognition__award-fallback {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 100%;
  height: 100%;
  padding: 1.25rem;
  text-align: center;
  color: var(--accent);
}

.home-recognition__award-fallback.is-visible {
  display: flex;
}

.home-recognition__award-fallback-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

.home-recognition__award-fallback-note {
  font-size: 0.75rem;
  color: var(--text-soft);
  line-height: 1.35;
}

.home-recognition__award-caption {
  margin: 0.95rem 0 0;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--text-soft);
  text-align: center;
  line-height: 1.45;
  text-wrap: pretty;
}

.home-recognition__partners {
  margin-top: 0;
  padding: clamp(3rem, 5vw, 4.25rem) 0;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

.home-recognition__partners-head {
  text-align: center;
}

.home-recognition__partners-head .abg-section-head {
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.home-recognition__partners-head .abg-section-head--plaque .abg-section-head__title--plaque {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.home-recognition__badges-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.15rem;
  align-items: stretch;
  justify-items: stretch;
  max-width: 62.5rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.home-recognition__badges-grid > li {
  display: flex;
  min-width: 0;
}

@media (max-width: 900px) {
  .home-recognition__badges-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .home-recognition__badges-grid {
    grid-template-columns: 1fr;
  }
}

/* Партнёры: кликабельные плашки + мини-логотип */
.home-recognition__partner-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem 0.65rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(197, 168, 128, 0.28);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  color: var(--nav-mega-link);
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease, background-color 0.25s ease,
    box-shadow 0.25s ease, transform 0.2s ease;
}

.home-recognition__partner-link:hover {
  color: var(--nav-mega-link-hover);
  border-color: rgba(197, 168, 128, 0.55);
  background: rgba(197, 168, 128, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.home-recognition__partner-link--static {
  cursor: default;
}

.home-recognition__partner-link--static:hover {
  transform: none;
  box-shadow: none;
}

.home-recognition__partner-thumb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 4px;
  background: rgba(197, 168, 128, 0.06);
  border: 1px solid rgba(197, 168, 128, 0.22);
  overflow: hidden;
}

.home-recognition__partner-shield {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c5a880;
  pointer-events: none;
}

.home-recognition__partner-thumb img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.15rem;
  background: rgba(5, 11, 21, 0.35);
  filter: grayscale(0.1) brightness(1.2);
  opacity: 0.98;
}

.home-recognition__partner-thumb img.is-hidden {
  display: none;
}

.home-recognition__partner-link:hover .home-recognition__partner-thumb img {
  filter: grayscale(0) brightness(1.1);
  opacity: 1;
}

.home-recognition__partner-label {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .home-recognition__partner-label {
    white-space: normal;
    text-align: left;
  }
}

.home-recognition__logos-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem 1.15rem;
  align-items: stretch;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

@media (max-width: 1100px) {
  .home-recognition__logos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-recognition__logos-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.home-recognition__logo-item {
  display: flex;
  min-width: 0;
  transition: opacity 0.25s ease;
}

.home-recognition__logos-grid img.is-hidden {
  display: none;
}

.home-hero {
  --hero-bg: var(--bg-deep);
  --hero-title: #ffffff;
  --hero-text: rgba(255, 255, 255, 0.95);
  --hero-muted: #94a3b8;
  --hero-strong: #ffffff;
  --hero-border: rgba(255, 255, 255, 0.08);
  --hero-glow-a: rgba(201, 169, 98, 0.12);
  --hero-glow-b: rgba(80, 120, 200, 0.08);
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.5rem);
  background-color: var(--hero-bg);
  background-image:
    radial-gradient(ellipse 90% 70% at 85% 15%, var(--hero-glow-a), transparent 55%),
    radial-gradient(ellipse 60% 50% at 5% 90%, var(--hero-glow-b), transparent 45%);
  border-bottom: 1px solid var(--hero-border);
  color: var(--hero-title);
}

.home-hero.home-simple-hero {
  padding-top: clamp(1.5rem, 3vh, 2.25rem);
  padding-bottom: clamp(1rem, 2vh, 1.5rem);
}

@media (min-width: 900px) and (min-height: 640px) {
  .home-hero.home-simple-hero > .container.home-hero__grid {
    display: grid;
    align-content: start;
    align-items: start;
  }
}

.home-hero__grid {
  display: grid;
  gap: 2rem;
  align-items: flex-start;
}

.home-hero__copy,
.home-hero__copy--lean {
  min-width: 0;
}

@media (min-width: 900px) {
  .home-hero__grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: clamp(2rem, 3.5vw, 3rem);
    align-items: flex-start;
  }
}

.home-hero__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: var(--step-4);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--hero-title);
}

.home-simple-hero .home-hero__title {
  margin-top: 0;
  margin-bottom: 1.15rem;
  font-size: var(--step-4);
  line-height: 1.18;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 20em;
}

.home-simple-hero .home-hero__title--lines {
  text-wrap: wrap;
  max-width: 100%;
  font-size: clamp(1.65rem, 0.95rem + 1.75vw, 2.85rem);
  line-height: 1.14;
}

.home-hero__title-line {
  display: block;
  overflow-wrap: break-word;
  max-width: 100%;
}

.home-hero__lead {
  margin: 0 0 1.25rem;
  max-width: var(--prose-width);
  font-size: var(--step-1);
  font-weight: 500;
  color: var(--hero-text);
  line-height: 1.5;
}

.home-simple-hero .home-hero__lead {
  margin-bottom: 1.65rem;
}

.home-hero__points {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 0 0 2.8rem;
  padding: 0;
  list-style: none;
  max-width: 56ch;
}

.home-simple-hero .home-hero__points {
  gap: 1.1rem;
  margin-bottom: 1.65rem;
}

.home-hero__point {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.home-hero__point-bullet {
  flex-shrink: 0;
  margin-top: 0.2rem;
  font-size: 0.875rem;
  line-height: 1.3;
  font-weight: 700;
  color: var(--accent);
}

.home-hero__point-text {
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--hero-muted);
}

.home-hero__point-title {
  color: var(--hero-strong);
  font-weight: 650;
}

.home-simple-hero .home-hero__point-text {
  font-size: var(--step-0);
  color: color-mix(in srgb, var(--hero-text) 82%, var(--hero-muted));
}

.home-simple-hero .home-hero__point-title {
  display: block;
  margin-bottom: 0.15rem;
  font-size: var(--step-0);
}

.home-hero__since {
  margin: 0 0 1.25rem;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.home-simple-hero .btn--primary.home-hero__cta {
  padding: 0.9rem 1.25rem;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: center;
  margin-bottom: 0;
}

.home-simple-hero .home-hero__phone {
  font-size: 1rem;
  font-weight: 700;
  color: var(--hero-strong);
  text-decoration: none;
  border-bottom: 1px solid var(--hero-border);
  padding-bottom: 0.12rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.home-simple-hero .home-hero__phone:hover {
  color: #c5a880;
  border-color: rgba(197, 168, 128, 0.55);
  background: transparent;
}

.home-hero .btn--ghost {
  color: #e9eff2;
  border-color: rgba(255, 255, 255, 0.55);
}

.home-hero .btn--ghost:hover {
  color: #ffffff;
  border-color: #ab8b50;
  background: rgba(171, 139, 80, 0.12);
}

.home-hero__visual {
  display: flex;
  justify-content: center;
}

.home-hero__portrait-card {
  width: min(100%, 340px);
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  color: #071935;
}

.home-hero__portrait-card img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.home-hero__portrait-caption {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.home-hero__portrait-caption span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: #4a5568;
}

.home-hero__portrait-placeholder {
  aspect-ratio: 4 / 5;
  max-height: 420px;
  border-radius: var(--radius-lg);
  border: 1px dashed var(--border-strong);
  background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}

.home-hero__portrait-note {
  font-size: 0.78rem;
  color: var(--text-soft);
  text-align: center;
  max-width: 22ch;
  line-height: 1.4;
}

.home-cta-strip {
  background: var(--bg-elevated);
  border-bottom: 1px solid var(--border);
}

.home-cta-strip__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.home-cta-strip__title {
  margin: 0 0 0.35rem;
  font-size: var(--step-2);
  font-weight: 600;
}

.home-cta-strip__text {
  margin: 0;
  max-width: 48ch;
  color: var(--text-muted);
  font-size: var(--step-0);
}

.home-partner__grid {
  display: grid;
  gap: 2rem;
  margin-top: 1rem;
}

@media (min-width: 800px) {
  .home-partner__grid {
    grid-template-columns: 1.4fr 0.6fr;
    align-items: start;
  }
}

.home-partner__quote {
  margin: 1.5rem 0 0;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--accent);
  background: rgba(201, 169, 98, 0.08);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.home-partner__quote p {
  margin: 0;
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text);
}

.home-partner__card {
  padding: 0 0 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-align: center;
  overflow: hidden;
}

.home-partner__avatar {
  width: 100%;
  margin: 0 0 1rem;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.home-partner__avatar img {
  width: 100%;
  max-height: 280px;
  border-radius: 0;
  border: none;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.home-partner__name,
.home-partner__role {
  padding: 0 1.15rem;
}

.home-clients__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
  align-items: center;
  justify-content: flex-start;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.home-clients__grid li {
  flex: 0 1 auto;
}

.home-clients__grid img {
  max-height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(0.15) brightness(1.05);
  opacity: 0.92;
}

.home-partner__name {
  margin: 0 0 0.25rem;
  font-weight: 600;
}

.home-partner__role {
  margin: 0 0 1rem;
  font-size: var(--step--1);
  color: var(--text-muted);
}

.home-services__lead {
  margin: -0.25rem 0 1.25rem;
  max-width: 62ch;
  color: var(--text-muted);
}

.home-services__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.home-service-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem 1.2rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s;
}

.home-service-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  color: inherit;
}

.home-service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: rgba(201, 169, 98, 0.15);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
}

.home-service-card__label {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-soft);
}

.home-service-card__pains {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
  font-size: var(--step--1);
  color: var(--text-muted);
  line-height: 1.45;
}

.home-service-card__more {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--accent);
}

.home-testimonials__lead {
  margin-top: -0.25rem;
}

.home-testimonials__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  margin-top: 1rem;
}

.home-testimonial__excerpt {
  margin: 0;
  font-size: var(--step-0);
  line-height: 1.55;
}

.home-testimonial__scan {
  margin: 0.75rem 0 0;
}

.home-testimonial__scan img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  object-position: left top;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
}

.site-footer__yandex {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.55rem;
  margin-top: 0.15rem;
  margin-bottom: 0;
  padding: 0.55rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(197, 168, 128, 0.18);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: inherit;
  width: 100%;
}

.site-footer__yandex:hover {
  border-color: rgba(201, 169, 98, 0.45);
}

.site-footer__yandex-brand {
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  background: #fc0;
  color: #000;
  font-size: 0.75rem;
  font-weight: 700;
}

.site-footer__yandex-score {
  font-size: 0.82rem;
  font-weight: 600;
}

.site-footer__yandex-note {
  font-size: 0.75rem;
  color: var(--text-soft);
}

.site-footer__docs {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
}

.site-footer__docs a {
  color: #8a99ad;
  text-decoration: none;
}

.site-footer__docs a:hover {
  color: var(--accent);
}

/* ----- О бюро: манифест партнёра ----- */

.about-manifesto {
  padding: clamp(3rem, 5vw, 3.75rem) 0;
  background: #0c1b33;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.about-manifesto--ethics:not(.about-intro-stack .about-manifesto) {
  background: #0c1b33;
}

.about-manifesto__inner {
  max-width: 62.5rem;
}

.about-manifesto__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  align-items: start;
}

@media (min-width: 720px) {
  .about-manifesto__grid {
    grid-template-columns: minmax(8.5rem, 0.32fr) 1fr;
    gap: 2.5rem;
  }
}

.about-manifesto__portrait {
  text-align: center;
}

.about-manifesto__avatar {
  width: 8.125rem;
  height: 8.125rem;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
  border: 2px solid var(--accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

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

.about-manifesto__name {
  margin: 0.95rem 0 0.2rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
}

.about-manifesto__role {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.about-manifesto__title {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.55vw, 1.5rem);
  font-weight: 700;
  line-height: var(--heading-line-height);
  letter-spacing: -0.015em;
  color: var(--text);
}

.about-manifesto__content p {
  margin: 0 0 0.95rem;
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--header-glass-nav);
}

.about-manifesto__content p:last-of-type {
  margin-bottom: 0;
}

.about-manifesto__quote {
  margin: 1.35rem 0 0;
  padding: 0 0 0 0.95rem;
  border: none;
  border-left: 2px solid var(--accent);
}

.about-manifesto__quote p {
  margin: 0;
  font-size: 1rem;
  font-style: italic;
  line-height: 1.65;
  color: #ffffff;
}

.home-form {
  background: transparent;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.home-form .page-block-title {
  color: var(--text);
}

.home-form__follow {
  margin: 0 0 1.25rem;
  max-width: 58ch;
  color: var(--text-muted);
}

.home-form__box {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.home-form__fields {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
}

.home-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.home-form__label {
  font-size: 0.78rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.home-form__field input {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font: inherit;
}

.home-form__field input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.home-form__topics {
  margin: 0;
  padding: 0;
  border: none;
}

.home-form__legend {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.home-form__topics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
}

.home-form__topic {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  font-size: var(--step--1);
  color: var(--text);
}

.home-form__submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.home-form__privacy {
  margin: 0;
  max-width: 42ch;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.home-form__alt {
  margin: 1rem 0 0;
  font-size: var(--step--1);
  color: var(--text-muted);
}

/* ----- Заголовки секций (каталог, лендинги услуг) ----- */

.abg-section-head {
  padding-top: clamp(0.35rem, 1.5vw, 0.75rem);
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}

.abg-section-head--left {
  text-align: left;
}

.abg-section-head--left .abg-section-head__rule {
  margin-left: 0;
  margin-right: auto;
}

.abg-section-head__rule {
  width: 2.75rem;
  height: 2px;
  margin: 0 auto clamp(0.85rem, 1.5vw, 1.1rem);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 169, 98, 0.85) 25%,
    rgba(201, 169, 98, 0.85) 75%,
    transparent
  );
}

.abg-section-head__eyebrow {
  margin: 0 0 0.45rem;
}

.abg-section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  font-weight: 800;
  line-height: var(--heading-line-height);
  letter-spacing: -0.02em;
  color: var(--text);
}

.abg-section-head--plaque .abg-section-head__title--plaque,
.abg-section-head--duo .abg-section-head__eyebrow {
  font-size: clamp(0.75rem, 1.1vw, 0.8125rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.abg-section-head--plaque .abg-section-head__title--plaque {
  font-family: var(--font-body, inherit);
  font-size: clamp(0.72rem, 1.1vw, 0.8125rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.abg-section-head--duo .abg-section-head__title {
  margin-top: 0.35rem;
}

.abg-section-head--duo {
  margin-bottom: clamp(1.15rem, 2.5vw, 1.65rem);
}

.abg-section-band {
  padding-top: clamp(2.25rem, 4.5vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid rgba(197, 168, 128, 0.14);
  background: radial-gradient(
    ellipse 100% 80% at 50% 0%,
    rgba(201, 169, 98, 0.07),
    transparent 62%
  );
}

.abg-section-band--cases {
  margin-top: clamp(0.5rem, 1.5vw, 1rem);
}

.abg-section-band--benefits {
  padding-top: clamp(1.75rem, 3.5vw, 2.35rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

/* «Результаты» → «Ключевые направления»: без двойного зазора между секциями */
.abg-service-hub > .svc-dep-benefits.abg-section-band--benefits:has(+ .svc-vnp-defenses),
.tax-practice-hub > .svc-dep-benefits.abg-section-band--benefits:has(+ .svc-vnp-defenses),
.tax-consultation-hub > .svc-dep-benefits.abg-section-band--benefits:has(+ .svc-vnp-defenses) {
  padding-bottom: clamp(0.75rem, 1.5vw, 1.15rem);
}

.abg-service-hub > .svc-dep-benefits.abg-section-band--benefits + .svc-vnp-defenses,
.tax-practice-hub > .svc-dep-benefits.abg-section-band--benefits + .svc-vnp-defenses,
.tax-consultation-hub > .svc-dep-benefits.abg-section-band--benefits + .svc-vnp-defenses {
  padding-top: clamp(0.65rem, 1.25vw, 1rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 2rem);
}

.abg-service-hub > .svc-dep-benefits.abg-section-band--benefits + .svc-vnp-defenses .abg-section-head,
.tax-practice-hub > .svc-dep-benefits.abg-section-band--benefits + .svc-vnp-defenses .abg-section-head,
.tax-consultation-hub > .svc-dep-benefits.abg-section-band--benefits + .svc-vnp-defenses .abg-section-head {
  padding-top: 0;
}

.abg-section-band .abg-section-head {
  padding-top: 0;
}

.abg-service-hub > .abg-section-band.svc-cam-cases,
.abg-service-hub > .abg-section-band.svc-tax-cons-dir,
.abg-service-hub > .abg-section-band.svc-tax-cons-sectors {
  padding-top: clamp(2.5rem, 5vw, 3.25rem);
  padding-bottom: clamp(2.25rem, 4.5vw, 3rem);
}

.svc-dep-benefits.abg-section-band .svc-dep-benefits__inner {
  padding-top: 0;
}

.svc-dep-benefits.abg-section-band .abg-section-head {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.svc-dep-benefits__eyebrow {
  display: none;
}

.about-related .abg-section-head {
  margin-bottom: clamp(1.35rem, 2.5vw, 1.85rem);
}

.about-related__card--faq {
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  min-height: 100%;
  padding: 1.1rem 1.15rem 1rem;
}

.about-related__faq-plaque {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-align: center;
}

.about-related__faq-rule {
  display: block;
  width: 2.25rem;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(201, 169, 98, 0.85) 25%,
    rgba(201, 169, 98, 0.85) 75%,
    transparent
  );
}

.about-related__faq-label {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.35;
}

.about-related__card--faq .about-related__body {
  flex: 1;
}

.about-related__card--faq .about-related__arrow {
  align-self: flex-end;
  margin-top: auto;
}

@media (min-width: 640px) {
  .about-related__grid:has(.about-related__card--faq) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .about-related__grid:has(.about-related__card--faq) {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ----- Каталог услуг (/services) – матрица бизнес-задач ----- */

.services-catalog-page .services-hub-hero {
  border-bottom: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.services-hub-hero__grid-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

.services-hub-hero__text-col {
  text-align: center;
}

.services-hub-hero__text-col .services-hub-hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: var(--heading-line-height);
  letter-spacing: -0.02em;
  color: var(--text);
}

.services-hub-hero__text-col .services-hub-hero__lead {
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text-muted);
}

@media (min-width: 1024px) {
  .services-hub-hero__grid-wrapper {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 3.5rem;
  }

  .services-hub-hero__text-col {
    text-align: left;
  }

  .services-hub-hero__text-col .services-hub-hero__title {
    font-size: clamp(2rem, 3.2vw, 2.625rem);
    line-height: 1.15;
  }
}

.services-catalog-find {
  padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(1.25rem, 3vw, 1.75rem);
}

.services-catalog-tools {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}

.services-catalog-tools .abg-section-head {
  padding-top: 0;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.65rem);
}

/* Корректировка отступов результатов фильтрации навигатора */
.services-navigator-results {
  padding-top: clamp(1rem, 2vw, 1.5rem);
}

.services-catalog-page .services-catalog-list {
  padding-top: clamp(1rem, 2vw, 1.5rem);
}

.services-catalog-list {
  padding: clamp(0.5rem, 2vw, 1rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.services-catalog-list .abg-section-head {
  margin-bottom: clamp(1.75rem, 3.5vw, 2.35rem);
}

.services-hub-hero,
.services-catalog-hero,
.practices-hub-hero {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2rem);
  background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(201, 169, 98, 0.1), transparent 55%),
    var(--bg-deep);
  border-bottom: 1px solid var(--border);
}

.services-hub-hero__inner,
.services-catalog-hero__inner,
.practices-hub-hero__inner {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
}

.services-hub-hero__eyebrow,
.services-catalog-hero__eyebrow,
.practices-hub-hero__eyebrow {
  margin: 0 0 0.85rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.services-hub-hero__title,
.services-catalog-hero__title,
.practices-hub-hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: var(--heading-line-height);
  letter-spacing: -0.02em;
  color: var(--text);
}

.services-hub-hero__lead,
.services-catalog-hero__lead,
.practices-hub-hero__lead {
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text-muted);
}

.practices-hub-hero__secondary {
  margin: 1.15rem 0 0;
  font-size: var(--fs-sm);
}

.practices-hub-hero__secondary a {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.practices-hub-hero__secondary a:hover {
  text-decoration: underline;
}

.practices-hub {
  padding-top: 0;
}

.services-hub {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.services-catalog-page .services-hub {
  padding: 0;
}

.catalog-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}

.catalog-group {
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  transition: var(--transition);
}

.catalog-group:hover {
  border-color: rgba(197, 168, 128, 0.45);
  box-shadow: 0 10px 28px -14px rgba(0, 0, 0, 0.45);
}

.catalog-group__title {
  margin: 0 0 0.9rem;
  padding-bottom: 0.65rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid rgba(197, 168, 128, 0.25);
}

.catalog-group__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.catalog-group__link {
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.catalog-group__link:hover {
  color: var(--text);
}

.services-search {
  max-width: 38rem;
  margin: 0 auto 1.25rem;
}

.services-search__input {
  width: 100%;
  padding: 1.15rem 1.35rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.services-search__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent-glow);
}

.services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.services-tag {
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.services-tag:hover,
.services-tag.is-active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(201, 169, 98, 0.1);
}

.services-catalog__toolbar,
.catalog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: clamp(1.5rem, 3vw, 2rem);
}

.services-catalog__filter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.services-catalog__filter:hover {
  border-color: rgba(197, 168, 128, 0.5);
  color: var(--text);
}

.services-catalog__filter.is-active {
  border-color: rgba(197, 168, 128, 0.55);
  background: rgba(197, 168, 128, 0.14);
  color: var(--accent);
}

.services-catalog-tools--navigator {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.services-navigator .abg-section-head {
  text-align: left;
  margin-bottom: 1.5rem;
}

.services-navigator .abg-section-head__rule {
  margin-left: 0;
  margin-right: auto;
}

.navigator-step {
  margin-bottom: 1.25rem;
}

.navigator-step:last-of-type {
  margin-bottom: 1.5rem;
}

.navigator-step__label {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-soft);
  letter-spacing: 0.05em;
}

.navigator-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.navigator-search {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
}

.services-search--navigator {
  margin: 0;
  max-width: none;
}

.services-search--navigator .services-search__input {
  background: var(--bg);
  border-color: rgba(255, 255, 255, 0.06);
}

.services-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18.75rem), 1fr));
  gap: 1.5rem;
}

.services-hub__macros {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
}

.services-catalog-page .services-catalog-hero {
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(1rem, 2vw, 1.35rem);
}

.services-catalog-page .services-catalog-hero__inner {
  max-width: none;
  margin-inline: auto;
  text-align: left;
}

.services-catalog-hero__grid {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
}

@media (min-width: 960px) {
  .services-catalog-hero__grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }
}

.services-catalog-hero__intro .services-catalog-hero__title {
  margin-bottom: 0.65rem;
}

.services-catalog-hero__intro .services-catalog-hero__lead {
  max-width: 58ch;
  font-size: clamp(1.02rem, 1.28vw, 1.12rem);
  line-height: 1.5;
  font-weight: 500;
  color: rgba(237, 228, 210, 0.92);
}

.services-catalog-hero__manifest {
  margin: clamp(1.1rem, 2vw, 1.45rem) 0 0;
  padding: 0 0 0 clamp(1rem, 1.8vw, 1.35rem);
  border: none;
  border-left: 2px solid rgba(197, 168, 128, 0.38);
  max-width: 58ch;
}

.services-catalog-hero__manifest-thesis {
  margin: 0 0 0.7rem;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text);
}

.services-catalog-hero__manifest-thesis strong {
  font-weight: 600;
}

.services-catalog-hero__manifest-body {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.62;
  color: var(--text-muted);
}

.services-catalog-hero__focus {
  margin: 0.85rem 0 0;
  max-width: 58ch;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text-muted);
}

.services-catalog-hero__roles {
  margin-top: clamp(2.35rem, 4.5vw, 3.1rem);
}

.services-catalog-hero__role-hint {
  margin: 0.55rem 0 0;
  max-width: 46ch;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--accent);
  transition: opacity 0.25s ease;
}

.services-catalog-page.is-role-view .services-catalog-hero__role-hint {
  animation: svc-role-hint-in 0.35s ease;
}

@keyframes svc-role-hint-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-catalog__filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease, background 0.2s ease;
}

.services-catalog__filter.is-active .services-catalog__filter-count {
  color: var(--accent);
  background: rgba(201, 169, 98, 0.18);
}

.services-catalog__toolbar--hero {
  justify-content: flex-start;
  margin-bottom: 0;
  gap: 0.4rem;
}

.services-catalog__toolbar--hero .services-catalog__filter {
  padding: 0.38rem 0.8rem;
  font-size: 0.78rem;
}

.services-catalog-hero__action {
  padding: clamp(1.1rem, 2vw, 1.35rem) clamp(1.15rem, 2.2vw, 1.5rem);
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: var(--radius-md);
  background:
    radial-gradient(ellipse 120% 80% at 100% 0%, rgba(88, 140, 220, 0.1), transparent 55%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
  box-shadow: 0 12px 32px -18px rgba(0, 0, 0, 0.55);
}

.services-catalog-hero__action-lead {
  margin: 0 0 0.85rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text);
}

.services-catalog-hero__search {
  margin: 0;
  max-width: none;
}

.services-catalog-hero__encaro-note {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.services-catalog-hero__encaro-note a {
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}

.services-catalog-hero__encaro-note a:hover {
  text-decoration: underline;
}

.services-catalog-hero__contact-link {
  display: inline-block;
  margin-left: 0.35rem;
  font-weight: 600;
  white-space: nowrap;
}

.services-catalog-hero__encaro-mark {
  margin-right: 0.2rem;
}

.services-catalog-hero__tools {
  margin-top: clamp(1.5rem, 3vw, 2rem);
  display: grid;
  gap: 1.25rem;
  text-align: left;
}

.services-catalog-hero__roles-label {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.services-catalog-hero__roles .services-catalog__toolbar {
  justify-content: center;
}

.svc-sticky-tabs {
  position: sticky;
  top: var(--site-header-h, 4.75rem);
  z-index: 35;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg-deep) 92%, transparent);
  backdrop-filter: blur(10px);
}

.svc-sticky-tabs__inner {
  display: flex;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.55rem 0;
  scrollbar-width: none;
}

.svc-sticky-tabs__inner::-webkit-scrollbar {
  display: none;
}

.svc-sticky-tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  padding: 0.45rem 0.85rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.svc-sticky-tabs__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.85;
}

.svc-sticky-tabs__icon svg {
  width: 100%;
  height: 100%;
}

.svc-sticky-tabs__tab.is-active .svc-sticky-tabs__icon {
  opacity: 1;
}

.svc-sticky-tabs__tab:hover {
  color: var(--text);
  border-color: var(--border);
}

.svc-sticky-tabs__tab.is-active {
  color: var(--accent);
  border-color: rgba(197, 168, 128, 0.45);
  background: rgba(197, 168, 128, 0.08);
}

.svc-macro-group {
  scroll-margin-top: calc(var(--site-header-h, 4.75rem) + 3.25rem);
}

.svc-macro-group.is-hidden {
  display: none;
}

.services-hub__role-view {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.services-hub__macros.is-reorganizing .svc-card {
  pointer-events: none;
}

.svc-macro-group--role {
  scroll-margin-top: calc(var(--site-header-h, 4.75rem) + 3.25rem);
}

.services-catalog-page.is-role-view .svc-macro-group--role {
  animation: svc-role-section-in 0.38s ease both;
  animation-delay: calc(var(--role-stagger, 0) * 70ms);
}

.services-catalog-page.is-role-view .svc-macro-group--role .svc-card:not(.is-hidden) {
  animation: svc-role-card-in 0.34s ease both;
  animation-delay: calc(var(--role-stagger, 0) * 70ms + var(--card-stagger, 0) * 45ms);
}

@keyframes svc-role-section-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes svc-role-card-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-catalog-page.is-role-view .svc-card.is-role-match:not(.is-hidden) {
  border-color: rgba(197, 168, 128, 0.42);
  box-shadow: 0 10px 28px -16px rgba(201, 169, 98, 0.35);
}

.svc-macro-group__head {
  margin-bottom: 1.15rem;
}

.svc-macro-group__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
}

.svc-macro-group__focus {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-muted);
}

.svc-macro-group + .svc-macro-group {
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
}

/* Каталог: 2–3 хаба в ряд – на всю ширину контейнера */
.services-catalog-page .svc-macro-group .services-hub__grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
  justify-content: stretch;
  width: 100%;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.services-catalog-page .svc-macro-group__grid--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 960px) {
  .services-catalog-page .svc-macro-group__grid--triple {
    grid-template-columns: 1fr;
  }
}

.svc-macro-group__wide {
  margin-top: clamp(1rem, 2vw, 1.35rem);
}

.services-catalog-page .svc-card--wide {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-areas:
    "top top"
    "label label"
    "title title"
    "desc desc"
    "content content"
    "more more";
  gap: 0 1.75rem;
  border-color: rgba(197, 168, 128, 0.42);
  background:
    linear-gradient(135deg, rgba(197, 168, 128, 0.08), transparent 55%),
    color-mix(in srgb, var(--bg-card) 94%, var(--accent) 6%);
  box-shadow: 0 14px 36px -24px rgba(201, 169, 98, 0.4);
}

@media (min-width: 900px) {
  .services-catalog-page .svc-card--wide {
    grid-template-areas:
      "top top"
      "label label"
      "title content"
      "desc content"
      "more more";
    align-items: start;
  }

  .services-catalog-page .svc-card--wide .svc-card__content {
    margin-top: 0;
  }
}

.services-catalog-page .svc-card--wide .svc-card__top {
  grid-area: top;
}

.services-catalog-page .svc-card--wide .svc-card__wide-label {
  grid-area: label;
  margin: 0 0 0.35rem;
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.services-catalog-page .svc-card--wide .svc-card__title {
  grid-area: title;
}

.services-catalog-page .svc-card--wide .svc-card__desc {
  grid-area: desc;
}

.services-catalog-page .svc-card--wide .svc-card__content {
  grid-area: content;
}

.services-catalog-page .svc-card--wide .svc-card__more {
  grid-area: more;
}

.services-catalog-page .svc-card--wide .svc-card__list--featured {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.15rem 1rem;
  margin-top: 0;
}

@media (max-width: 640px) {
  .services-catalog-page .svc-card--wide .svc-card__list--featured {
    grid-template-columns: 1fr;
  }
}

/* Каталог: плотнее внутренние поля карточек практик */
.services-catalog-page .svc-card {
  padding: clamp(1.05rem, 1.75vw, 1.55rem);
}

.services-catalog-page .svc-card__top {
  margin-bottom: 0.55rem;
  gap: 0.35rem 0.75rem;
}

.services-catalog-page .svc-card__title {
  margin-bottom: 0.45rem;
  font-size: clamp(1.05rem, 1.55vw, 1.18rem);
}

.services-catalog-page .svc-card__title-icon {
  width: 1.85rem;
  height: 1.85rem;
  margin-top: 0.05rem;
}

.services-catalog-page .svc-card__desc {
  font-size: 0.9375rem;
  line-height: 1.48;
}

.services-catalog-page .svc-card__list {
  margin-top: 0.75rem;
}

.services-catalog-page .svc-card__list li {
  margin-bottom: 0.38rem;
  font-size: 0.9rem;
  line-height: 1.48;
}

.services-catalog-page .svc-card__spoiler {
  margin: 0.2rem 0 0.55rem;
}

.services-catalog-page .svc-card__more {
  margin-top: 0.85rem;
}

.services-catalog-page .svc-macro-group__head {
  margin-bottom: 0.95rem;
}

.svc-card__spoiler {
  align-self: flex-start;
  margin: 0.35rem 0 0.85rem;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
  cursor: pointer;
}

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

.svc-card__extra.is-collapsed {
  display: none;
}

.services-catalog-cta__privacy {
  margin-top: 1.25rem;
  font-size: 0.75rem;
  color: var(--text-soft);
  line-height: 1.5;
  text-align: center;
}

.services-hub__empty {
  text-align: center;
  margin-top: 3rem;
  font-size: 1.05rem;
  color: var(--text-muted);
}

.services-hub__empty a {
  color: var(--accent);
  font-weight: 600;
}

.services-hub__grid .svc-card {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.svc-card:hover {
  border-color: var(--accent);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.5);
  transform: translateY(-5px);
}

.services-hub__grid.is-hidden {
  display: none;
}

.navigator-results.is-hidden {
  display: none;
}

#services-list-heading.is-hidden {
  display: none;
}

.navigator-result-card:hover {
  border-color: rgba(197, 168, 128, 0.55);
}

[data-theme="light"] .navigator-result-card {
  background: linear-gradient(145deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.01) 100%) !important;
}

[data-theme="light"] .navigator-result-card__cta {
  border-top-color: rgba(0, 0, 0, 0.06) !important;
}

[data-theme="light"] .services-search__input[style*="border-color"] {
  border-color: var(--border) !important;
}

.svc-card.is-hidden {
  display: none;
}

.svc-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.85rem;
}

.svc-card__badge {
  padding: 0.22rem 0.62rem;
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 999px;
  background: transparent;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.svc-card__count {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
}

.svc-card__title {
  margin: 0 0 0.65rem;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.28rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text);
  border-bottom: none;
}

.svc-card__desc {
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--text-muted);
}

.svc-card__list {
  position: relative;
  z-index: 2;
  margin: 1.25rem 0 auto;
  padding: 0;
  list-style: none;
}

.svc-card__list li {
  margin-bottom: 0.65rem;
  font-size: 0.95rem;
  line-height: 1.4;
}

.svc-card__list a {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.svc-card__list a:hover {
  color: var(--accent);
  border-bottom-color: transparent;
}

.svc-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.5rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.svc-card__more::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

.svc-card__more-arrow {
  display: inline-flex;
  line-height: 0;
  opacity: 0.75;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.svc-card:hover .svc-card__more {
  color: var(--text);
}

.svc-card:hover .svc-card__more-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.services-hub__empty {
  margin: 2rem 0 0;
  text-align: center;
  font-size: var(--fs-base);
  color: var(--text-muted);
}

.services-hub__empty.is-hidden {
  display: none;
}

/* ----- Кейсы: связанные дела на услугах + поиск на /cases ----- */

.svc-related-cases {
  padding-top: 0;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
}

.svc-related-cases__lead {
  margin: -0.5rem 0 1.5rem;
  max-width: 42rem;
  font-size: var(--fs-base);
  color: var(--text-muted);
}

.svc-related-cases__grid {
  margin-bottom: 1.25rem;
}

.svc-related-cases__card-title {
  margin: 0 0 0.5rem;
  font-size: var(--step-1);
  line-height: 1.35;
}

.svc-related-cases__card-text {
  margin: 0;
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--text-muted);
}

.svc-related-cases__img {
  width: 100%;
  max-height: 10rem;
  margin-bottom: 0.85rem;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius-sm);
}

/* /search, /cases – превью в карточках: целиком, без обрезки верха/боков */
.articles-hub__grid .svc-card > .svc-related-cases__img {
  aspect-ratio: 16 / 9;
  max-height: none;
  height: auto;
  object-fit: contain;
  object-position: center center;
  background: color-mix(in srgb, var(--bg-deep) 90%, var(--border));
}

.svc-related-cases__card-link {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.svc-related-cases__more {
  margin: 0;
  text-align: center;
  font-size: var(--fs-sm);
}

.svc-related-cases__more a {
  font-weight: 600;
}

.cases-search__grid {
  margin-top: 1.25rem;
}

.cases-search__hint {
  margin: 0.5rem 0 0;
  font-size: var(--fs-sm);
  color: var(--text-soft);
}

.cases-search__empty {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

.cases-search__empty.is-hidden {
  display: none;
}

/* ----- /search – лента статей ----- */

.articles-hub-hero {
  position: relative;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2rem, 4vw, 2.75rem);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 90% 80% at 12% 0%, rgba(201, 169, 98, 0.14), transparent 52%),
    radial-gradient(ellipse 60% 50% at 88% 20%, rgba(201, 169, 98, 0.06), transparent 45%),
    var(--bg-deep);
  overflow: hidden;
}

.articles-hub-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 100%);
  pointer-events: none;
}

.articles-hub-hero__shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  align-items: start;
}

@media (min-width: 900px) {
  .articles-hub-hero__shell {
    grid-template-columns: minmax(0, 1.75fr) minmax(15rem, 0.55fr);
    gap: clamp(1.75rem, 3vw, 2.5rem);
    align-items: start;
  }
}

/* /cases: сверху intro+поиск в ряд, теги — полной шириной ниже, без скролла */
.articles-hub-hero__shell--cases {
  grid-template-columns: 1fr;
}

.articles-hub-hero__top {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.25rem);
  align-items: start;
}

@media (min-width: 900px) {
  .articles-hub-hero__shell--cases {
    grid-template-columns: 1fr;
  }

  .articles-hub-hero__top {
    grid-template-columns: minmax(0, 1.75fr) minmax(15rem, 0.55fr);
    gap: clamp(1.75rem, 3vw, 2.5rem);
    align-items: end;
  }
}

.articles-hub-hero__shell--cases > .articles-hub-hero__filters {
  margin-top: 0;
}

.articles-hub-hero__eyebrow {
  margin: 0 0 0.85rem;
}

.articles-hub-hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--text);
}

.articles-hub-hero__lead {
  margin: 0;
  max-width: 62ch;
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--text-muted);
}

.articles-hub-hero__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.articles-hub-hero__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.35rem 0 0;
}

.articles-hub-hero__filter {
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: var(--transition);
}

.articles-hub-hero__filter:hover {
  border-color: rgba(197, 168, 128, 0.5);
  color: var(--text);
}

.articles-hub-hero__filter.is-active {
  border-color: var(--accent);
  background: rgba(201, 169, 98, 0.14);
  color: var(--accent);
}

.articles-hub-hero__filters-wrap {
  margin-top: 1.1rem;
}

.articles-hub-hero__filters-wrap .articles-hub-hero__filters {
  margin-top: 0;
}

.articles-hub-hero__filters--tags {
  max-height: none;
  overflow: visible;
  padding-right: 0;
  transition: max-height 0.28s ease;
}

.articles-hub-hero__filters-wrap.is-collapsed .articles-hub-hero__filters--tags {
  max-height: 5.25rem;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
}

.articles-hub-hero__filters--tags .articles-hub-hero__filter {
  font-size: var(--fs-xs, 0.8125rem);
  padding: 0.38rem 0.75rem;
}

.articles-hub-hero__filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin-top: 0.65rem;
}

.articles-hub-hero__filters-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  border: 1px dashed rgba(197, 168, 128, 0.55);
  border-radius: 999px;
  background: rgba(201, 169, 98, 0.08);
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.articles-hub-hero__filters-toggle:hover {
  border-style: solid;
  border-color: var(--accent);
  background: rgba(201, 169, 98, 0.16);
  text-decoration: none;
}

.articles-hub-hero__filters-wrap:not(.is-collapsed) .articles-hub-hero__filters-toggle {
  border-style: solid;
}

.articles-hub-hero__filters-skip {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
}

.articles-hub-hero__filters-skip:hover {
  color: var(--text);
  text-decoration: underline;
}

.articles-hub-hero__filters-wrap:not(.is-collapsible) .articles-hub-hero__filters-toggle {
  display: none;
}

#articles-feed,
#cases-feed {
  scroll-margin-top: 5.5rem;
}

.articles-hub-hero__topic {
  padding: 0.4rem 0.85rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-soft);
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.articles-hub-hero__panel {
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
  border: 1px solid rgba(197, 168, 128, 0.32);
  border-radius: var(--radius-lg, 12px);
  background: rgba(12, 16, 24, 0.55);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
}

.articles-hub-hero__panel-label {
  margin: 0 0 0.75rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.articles-search {
  position: relative;
  display: flex;
  align-items: center;
}

.articles-search--hero .articles-search__input {
  width: 100%;
  padding: 0.95rem 1rem 0.95rem 2.85rem;
  font-size: var(--step-0);
  border-radius: var(--radius-md, 8px);
  border: 1px solid rgba(197, 168, 128, 0.35);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
}

.articles-search--hero .articles-search__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.18);
}

.articles-search__icon {
  position: absolute;
  left: 1rem;
  display: flex;
  color: var(--text-soft);
  pointer-events: none;
}

.articles-hub-hero__hint {
  margin: 0.85rem 0 0;
  font-size: var(--fs-sm);
  line-height: 1.45;
  color: var(--text-soft);
}

.articles-hub {
  padding: clamp(1.75rem, 3.5vw, 2.5rem) 0 clamp(3rem, 6vw, 4rem);
}

.articles-hub__grid {
  margin-top: 0;
}

.articles-hub__badge {
  margin: 0 0 0.5rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.articles-hub__date {
  margin: 0 0 0.45rem;
  font-size: var(--fs-sm);
  color: var(--text-soft);
}

.articles-hub__empty {
  margin-top: 1.5rem;
  text-align: center;
  color: var(--text-muted);
}

.articles-hub__empty.is-hidden {
  display: none;
}

.articles-hub__pager {
  margin-top: 2rem;
  text-align: center;
}

.articles-hub__pager.is-hidden {
  display: none;
}

body.abg-merged .abg-merged-main--articles {
  padding-top: 0;
}

.services-catalog-cta {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4.5rem);
  border-top: 1px solid var(--border);
  background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(201, 169, 98, 0.08), transparent 55%);
}

.services-catalog-cta__panel {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.services-catalog-cta__panel .abg-section-head {
  padding-top: 0;
}

.services-catalog-cta__text {
  margin: -0.35rem auto 1.35rem;
  max-width: 34rem;
  font-size: var(--step-0);
  line-height: var(--base-line-height);
  color: var(--text-muted);
}

.services-catalog-cta__hairline {
  margin-bottom: 1.15rem;
}

.services-catalog-cta__form {
  max-width: 28rem;
  margin: 0 auto;
}

/* ----- FAQ hub (/faq) и тизер на практиках ----- */

.faq-hub-hero,
.faq-hub-hero__inner {
  text-align: center;
}

.faq-hub-hero {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2rem);
  border-bottom: 1px solid var(--border);
  background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(201, 169, 98, 0.1), transparent 55%);
}

.faq-hub-hero__eyebrow {
  margin: 0 0 0.85rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.faq-hub-hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.faq-hub-hero__lead {
  margin: 0 auto;
  max-width: 42rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-hub {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4rem);
}

.faq-hub__tools {
  margin-bottom: clamp(1.75rem, 3vw, 2.35rem);
  padding: clamp(1.25rem, 3vw, 1.65rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-card);
}

.faq-hub__search {
  max-width: 38rem;
  margin: 0 auto 1rem;
}

.faq-hub__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.faq-hub__filter {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 999px;
  background: transparent;
  font-family: inherit;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.faq-hub__filter:hover {
  border-color: rgba(197, 168, 128, 0.5);
  color: var(--text);
}

.faq-hub__filter.is-active {
  border-color: var(--accent);
  background: rgba(201, 169, 98, 0.14);
  color: var(--accent);
}

.faq-hub__categories {
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 2.75rem);
}

.faq-hub__category {
  padding-top: clamp(1.5rem, 3vw, 2rem);
  border-top: 1px solid rgba(197, 168, 128, 0.22);
}

.faq-hub__category:first-child {
  padding-top: 0;
  border-top: none;
}

.faq-hub__category-head {
  margin-bottom: 1.15rem;
}

.faq-hub__category-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
}

.faq-hub__category-title a {
  color: var(--text);
  text-decoration: none;
}

.faq-hub__category-title a:hover {
  color: var(--accent);
}

.faq-hub__category-meta {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

.faq-hub__category.is-hidden {
  display: none;
}

.faq-hub__empty {
  margin: 2rem 0 0;
  text-align: center;
  color: var(--text-muted);
}

.faq-hub__empty.is-hidden {
  display: none;
}

.faq-hub-teaser {
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  border-top: 1px solid rgba(197, 168, 128, 0.22);
}

.faq-hub-teaser__inner {
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}

.faq-hub-teaser__text {
  margin: -0.25rem 0 1.15rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.faq-hub-teaser__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.faq-hub-teaser__link:hover {
  color: var(--text);
}

.faq-hub-teaser__arrow {
  line-height: 0;
  transition: transform 0.2s ease;
}

.faq-hub-teaser__link:hover .faq-hub-teaser__arrow {
  transform: translate(2px, -2px);
}

.abg-service-hub > .faq-hub-teaser {
  padding-top: clamp(2rem, 4vw, 2.75rem);
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
}

/* ----- Офис в Москве (/map) ----- */

.tax-landing-hero__actions--map-office {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.35rem;
  margin-top: 1.35rem;
}

.tax-landing-hero__actions--map-office .tax-landing-hero__pass-cta {
  padding: 0.9rem 1.55rem;
  font-size: clamp(0.9375rem, 0.88rem + 0.2vw, 1.0625rem);
}

.tax-landing-hero__phone-compact {
  font-size: clamp(0.9375rem, 0.88rem + 0.2vw, 1.0625rem);
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  white-space: nowrap;
}

.tax-landing-hero__phone-compact:hover {
  color: var(--accent);
}

.svc-map-algo__card--corner {
  position: relative;
  overflow: hidden;
}

.svc-map-algo__step--corner {
  position: absolute;
  top: 0.65rem;
  right: 0.85rem;
  margin: 0;
  font-size: clamp(2rem, 1.5rem + 1.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  opacity: 0.22;
  pointer-events: none;
}

.svc-map-algo__card--corner .svc-map-algo__title {
  padding-right: 2.5rem;
}

.map-office-find {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(3rem, 6vw, 4rem);
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.015);
}

.map-office-find__title {
  margin-bottom: clamp(1.35rem, 2.5vw, 1.85rem);
}

.map-office-find__grid {
  display: grid;
  gap: clamp(1.35rem, 3vw, 2rem);
  align-items: start;
}

@media (min-width: 900px) {
  .map-office-find__grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 2.5vw, 2.25rem);
  }
}

.map-office-find__map-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0a1220;
  min-height: clamp(16rem, 42vw, 22rem);
}

.map-office-find__map {
  display: block;
  width: 100%;
  height: clamp(16rem, 42vw, 22rem);
  border: 0;
  filter: grayscale(1) invert(1) contrast(0.92) hue-rotate(180deg);
}

html.light-theme .map-office-find__map {
  filter: grayscale(0.35) contrast(1.05);
}

.map-office-find__map-link {
  margin: 0.75rem 0 0;
  font-size: var(--fs-sm);
}

.map-office-find__map-link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.map-office-find__map-link a:hover {
  color: var(--text);
}

.map-office-find__form-col {
  padding: clamp(1.25rem, 2.5vw, 1.65rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.map-office-find__form-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.125rem, 1rem + 0.35vw, 1.3125rem);
  line-height: 1.35;
}

.map-office-find__form-lead {
  margin: 0 0 1.15rem;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text-muted);
}

.map-office-find__form {
  display: grid;
  gap: 0.9rem;
}

.map-office-find__field {
  display: grid;
  gap: 0.35rem;
}

.map-office-find__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.map-office-find__input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
  font: inherit;
}

.map-office-find__input:focus {
  outline: 2px solid rgba(197, 168, 128, 0.45);
  outline-offset: 1px;
  border-color: rgba(197, 168, 128, 0.55);
}

.map-office-find__submit {
  margin-top: 0.35rem;
  width: 100%;
  justify-content: center;
}

.map-office-find__privacy {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--text-soft);
}

/* ----- Контакты / офис (страница /contact) ----- */

.contact-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 4.5rem);
  background: #070f1e;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-hero__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  align-items: stretch;
}

@media (min-width: 900px) {
  .contact-hero__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2.5rem;
  }
}

.contact-hero__eyebrow {
  margin-bottom: 0.85rem;
}

.contact-hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 1.4vw, 2.35rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
}

.contact-hero__address {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
}

.contact-hero__note {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #8a99ad;
}

.contact-hero__connection {
  margin: 0 0 1.15rem;
}

.contact-hero__connection .home-lead-terminal--contact-only {
  margin: 0;
}

.contact-hero__connection .home-lead-terminal__panel--contact {
  border-radius: 0.75rem;
  padding: clamp(0.8rem, 1.4vw, 1rem);
}

.home-lead-terminal--contact-only .home-lead-terminal__panel-body {
  gap: 0.55rem;
}

.home-lead-terminal--contact-only .home-lead-terminal__field {
  gap: 0.3rem;
}

.home-lead-terminal--contact-only .home-lead-terminal__field-label,
.home-lead-terminal--contact-only .home-form__label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.35;
  text-transform: none;
  color: var(--text-soft);
  text-align: center;
  width: 100%;
}

.home-lead-terminal--contact-only .home-lead-terminal__field:has(.home-lead-terminal__btn--phone) {
  justify-items: center;
}

.home-lead-terminal--contact-only .home-lead-terminal__btn--phone {
  width: auto;
  max-width: 100%;
  padding: 0.55rem 0.85rem;
  font-size: 0.78rem;
  gap: 0.38rem;
}

.home-lead-terminal--contact-only .home-lead-terminal__btn--phone .home-lead-terminal__btn-icon {
  width: 0.9rem;
  height: 0.9rem;
}

.home-lead-terminal--contact-only .home-lead-terminal__messengers-row {
  gap: 0.38rem;
}

.home-lead-terminal--contact-only .home-lead-terminal__messenger {
  padding: 0.48rem 0.35rem;
  font-size: 0.66rem;
}

.home-lead-terminal--contact-only .home-lead-terminal__mail-form {
  gap: 0.45rem;
}

.home-lead-terminal--contact-only .home-lead-terminal__mail-form textarea {
  min-height: 3.35rem;
  font-size: 0.84rem;
}

.home-lead-terminal--contact-only .home-lead-terminal__mail-submit {
  width: auto;
  justify-self: center;
  max-width: 100%;
  padding: 0.55rem 0.9rem;
  font-size: 0.78rem;
  gap: 0.38rem;
}

.home-lead-terminal--contact-only .home-lead-terminal__mail-submit .home-lead-terminal__btn-icon {
  width: 0.9rem;
  height: 0.9rem;
}

.contact-hero__connection .home-lead-terminal__guarantee--footer {
  margin-top: 0.85rem;
  font-size: 0.78rem;
}

.contact-hero__channels {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.contact-hero__phone {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.contact-hero__phone:hover {
  color: #c5a880;
}

.contact-hero__email {
  font-size: 0.95rem;
  color: #c5a880;
  text-decoration: none;
}

.contact-hero__email:hover {
  color: #ffffff;
}

.contact-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.contact-messenger-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: 4px;
  background: rgba(197, 168, 128, 0.06);
  color: #c5a880;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.contact-messenger-btn:hover {
  background: #c5a880;
  border-color: #c5a880;
  color: #070f1e;
}

.contact-messenger-btn svg {
  flex-shrink: 0;
}

.contact-hero__map-link {
  margin: 0;
  font-size: 0.85rem;
}

.contact-hero__map-link a {
  color: #8a99ad;
  text-decoration: none;
}

.contact-hero__map-link a:hover {
  color: #c5a880;
}

.contact-hero__map-wrap {
  min-height: 320px;
  border: 1px solid rgba(197, 168, 128, 0.15);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

@media (min-width: 900px) {
  .contact-hero__map-wrap {
    min-height: 420px;
  }
}

.contact-hero__map {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

/* Виджет Яндекс.Карт не поддерживает тёмную тему – приглушаем в тёмном оформлении сайта */
html:not(.light-theme) .contact-hero__map-wrap {
  position: relative;
  isolation: isolate;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(197, 168, 128, 0.22);
}

html:not(.light-theme) .contact-hero__map-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  background: rgba(7, 15, 30, 0.06);
  box-shadow: inset 0 0 0 1px rgba(197, 168, 128, 0.1);
}

html:not(.light-theme) .contact-hero__map {
  filter: brightness(1.12) saturate(0.92) contrast(1.04);
}

.svc-privacy-policy .prose.prose--page,
.svc-privacy-policy__prose {
  max-width: none;
  width: 100%;
}

.svc-privacy-policy .prose p,
.svc-privacy-policy .prose li {
  max-width: none;
}

.svc-privacy-policy__updated {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: #8a99ad;
}

.svc-stages-list {
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.svc-stages-list .svc-dep-benefits__row {
  padding: 1.1rem 0;
}

.svc-stages-list .svc-dep-benefits__title {
  margin-bottom: 0.35rem;
}

.svc-u1992-split + .svc-stages-list {
  border-top: none;
}

.svc-u1992-split,
.svc-utax-split,
.svc-u159-split,
.svc-uecon-split {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.svc-u1992-split__grid,
.svc-utax-split__grid,
.svc-u159-split__grid,
.svc-uecon-split__grid {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 768px) {
  .svc-u1992-split__grid,
  .svc-utax-split__grid,
  .svc-u159-split__grid,
  .svc-uecon-split__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.svc-u1992-split__col .page-block-title,
.svc-utax-split__col .page-block-title,
.svc-u159-split__col .page-block-title,
.svc-uecon-split__col .page-block-title {
  margin-top: 0;
}

.svc-u159-split__card {
  padding: 1.75rem 1.85rem;
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}

.svc-uecon-split__card {
  padding: 1.75rem 1.85rem;
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}

.svc-uecon-stats {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--bg-alt, var(--bg));
}

.svc-uecon-stats__lead {
  max-width: 42rem;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.svc-uecon-stats__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17.5rem), 1fr));
}

.svc-uecon-stats__card {
  padding: 1.5rem 1.65rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
}

.svc-uecon-stats__title {
  margin: 0 0 0.65rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text);
}

.svc-uecon-stats__text {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.svc-uecon-stats__text strong {
  color: var(--accent);
  font-weight: 600;
}

.contact-page__section {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-page__services-bridge {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: clamp(1.35rem, 2.5vw, 2rem) 0 clamp(1.75rem, 3vw, 2.35rem);
}

.contact-page__services-bridge-inner {
  display: flex;
  justify-content: center;
  text-align: center;
}

.contact-page__services-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  max-width: 100%;
  padding: 0.72rem 1.1rem 0.72rem 1.35rem;
  font-size: clamp(0.92rem, 0.86rem + 0.2vw, 1.02rem);
  font-weight: 600;
  letter-spacing: 0.015em;
  line-height: 1.35;
  color: var(--accent);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid rgba(197, 168, 128, 0.38);
  border-radius: 999px;
  background: rgba(197, 168, 128, 0.06);
  box-shadow: 0 0 0 0 rgba(197, 168, 128, 0);
  transition:
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.contact-page__services-link:hover {
  color: var(--text);
  background: rgba(197, 168, 128, 0.12);
  border-color: rgba(197, 168, 128, 0.58);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.contact-page__services-link:focus-visible {
  outline: 2px solid rgba(197, 168, 128, 0.65);
  outline-offset: 3px;
}

.contact-page__services-link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75em;
  height: 1.75em;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.14);
  border: 1px solid rgba(197, 168, 128, 0.32);
  flex-shrink: 0;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.contact-page__services-link-arrow-icon {
  display: block;
  font-size: 1.05em;
  line-height: 1;
  animation: contact-services-arrow-nudge 1.55s ease-in-out infinite;
}

.contact-page__services-link:hover .contact-page__services-link-arrow {
  background: rgba(197, 168, 128, 0.22);
  border-color: rgba(197, 168, 128, 0.5);
  transform: scale(1.05);
}

.contact-page__services-link:hover .contact-page__services-link-arrow-icon {
  animation: contact-services-arrow-hover 0.45s ease-in-out infinite alternate;
}

@keyframes contact-services-arrow-nudge {
  0%,
  100% {
    transform: translateX(0);
    opacity: 0.82;
  }

  50% {
    transform: translateX(4px);
    opacity: 1;
  }
}

@keyframes contact-services-arrow-hover {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-page__services-link-arrow-icon {
    animation: none;
  }

  .contact-page__services-link:hover .contact-page__services-link-arrow-icon {
    animation: none;
    transform: translateX(3px);
  }

  .contact-page__services-link:hover {
    transform: none;
  }
}

.contact-page__duo {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: clamp(2.25rem, 4vw, 3.25rem) 0;
}

.contact-page__duo-grid {
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
}

@media (min-width: 900px) {
  .contact-page__duo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 3vw, 3.25rem);
    align-items: start;
  }

  .contact-page__duo-col:first-child {
    padding-right: clamp(1.25rem, 2.5vw, 2rem);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
  }

  .contact-page__duo-col:last-child {
    padding-left: clamp(1.25rem, 2.5vw, 2rem);
  }
}

.contact-page__duo-col.prose--page {
  max-width: none;
}

.contact-page__duo-col .page-block-title {
  font-size: clamp(1.15rem, 1rem + 0.35vw, 1.45rem);
  line-height: 1.3;
}

.contact-page__duo .emergency-response-grid {
  grid-template-columns: 1fr;
}

.emergency-response-grid {
  display: grid;
  gap: 1.15rem;
  margin: 1.5rem 0 0.5rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.emergency-response-card {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(197, 168, 128, 0.15);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.25s ease, background 0.25s ease;
}

.emergency-response-card:hover {
  border-color: rgba(197, 168, 128, 0.38);
  background: rgba(255, 255, 255, 0.03);
}

.emergency-response-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.emergency-response-card__title {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  color: #ffffff;
}

.emergency-response-card__eta {
  flex-shrink: 0;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
  background: rgba(197, 168, 128, 0.12);
  font-size: 0.6875rem;
  font-weight: 700;
  color: #c5a880;
  white-space: nowrap;
}

.emergency-response-card__address {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: #8a99ad;
}

/* ----- Адаптивная шкала: планшет → desktop → wide → ultrawide ----- */

/* Планшет и узкий desktop: чуть больше боковых отступов */
@media (min-width: 768px) and (max-width: 1099px) {
  :root {
    --space: clamp(1.15rem, 3vw, 1.75rem);
    --fs-base: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
  }
}

/* Desktop 1100–1279: базовая ширина контейнера */
@media (min-width: 1100px) and (max-width: 1279px) {
  :root {
    --space: clamp(1.35rem, 3vw, 2.25rem);
    --fluid-max-width: 1260px;
  }
}

/* Wide 1280+ */
@media (min-width: 1280px) {
  :root {
    --fluid-max-width: 1320px;
    --nav-mega-services-max: 1400px;
    --prose-width: 68ch;
    --container: min(var(--fluid-max-width), calc(100% - max(var(--space) * 2, 5vw)));
    --space: clamp(1.5rem, 3vw, 2.75rem);
    --section-y: clamp(2.5rem, 4vw, 5.5rem);
    --gap-md: clamp(1.25rem, 1.5vw, 2.5rem);
    --step-0: 1.03125rem;
    --step-1: 1.15625rem;
    --fs-base: clamp(0.9375rem, 0.9rem + 0.12vw, 1.03125rem);
    --fs-h1: clamp(2.2rem, 1.45rem + 1.85vw, 3.875rem);
    --fs-h2: clamp(1.55rem, 1.2rem + 0.85vw, 2.75rem);
    --fs-h3: clamp(1.125rem, 1rem + 0.32vw, 1.625rem);
    --fs-sm: clamp(0.8125rem, 0.78rem + 0.1vw, 0.9rem);
  }

  html {
    font-size: clamp(15px, 0.78rem + 0.48vw, 18px);
  }

  .site-header--megabar .brand__name {
    font-size: clamp(0.9375rem, 0.9rem + 0.12vw, 1.0625rem);
  }

  .site-header--glass .nav-top__link--flat,
  .site-header--glass .nav-dd__hit {
    font-size: 0.75rem;
    letter-spacing: 0.09em;
  }

  .nav-top__phone-cta {
    font-size: 0.8125rem;
    padding: 0.6rem 1.25rem;
  }

  .nav-mega--matrix .nav-mega__list .nav-top__link {
    font-size: 0.875rem;
  }

  .nav-mega--matrix .nav-mega__label {
    font-size: 0.8125rem;
  }

  @media (min-width: 1100px) {
    .nav-dd--services > .nav-dd__panel--mega.nav-mega--matrix {
      width: min(var(--nav-mega-services-max), calc(100vw - 2rem));
      max-width: min(var(--nav-mega-services-max), calc(100vw - 2rem));
    }
  }

  .tax-landing-hero__inner {
    gap: clamp(2.5rem, 3vw, 3.5rem);
  }

  @media (min-width: 900px) {
    .tax-landing-hero__inner {
      grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 22rem);
    }
  }

  .tax-landing__portrait-card {
    max-width: 22rem;
  }

  .home-hero__point-text {
    font-size: 1rem;
  }

  .btn {
    font-size: var(--step-0);
    padding: 0.85rem 1.5rem;
  }
}

/* 2XL 1536+ (широкий Full HD, в т.ч. ~1900×1280) */
@media (min-width: 1536px) {
  :root {
    --fluid-max-width: 1400px;
    --nav-mega-services-max: 1480px;
    --prose-width: 70ch;
    --container: min(var(--fluid-max-width), calc(100% - max(var(--space) * 2, 4.5vw)));
    --space: clamp(1.65rem, 3vw, 3rem);
    --section-y: clamp(2.75rem, 3.5vw, 5.75rem);
    --gap-md: clamp(1.35rem, 1.4vw, 2.65rem);
    --step-0: 1.09375rem;
    --step-1: 1.21875rem;
    --fs-base: clamp(1rem, 0.94rem + 0.1vw, 1.09375rem);
    --fs-h1: clamp(2.4rem, 1.6rem + 1.55vw, 4.125rem);
    --fs-h2: clamp(1.7rem, 1.28rem + 0.65vw, 2.875rem);
    --fs-h3: clamp(1.2rem, 1.06rem + 0.25vw, 1.75rem);
  }

  html {
    font-size: clamp(15.5px, 0.74rem + 0.52vw, 18.5px);
  }

  .abg-service-hub [class$="algo__title"] {
    font-size: clamp(1.05rem, 1rem + 0.15vw, 1.1875rem);
  }

  .abg-service-hub [class$="algo__text"] {
    font-size: clamp(0.9375rem, 0.88rem + 0.12vw, 1.03125rem);
  }

  .tax-landing-hero--practice .tax-hero-highlight__title,
  .tax-landing-hero--highlights .tax-hero-highlight__title {
    font-size: clamp(1.05rem, 1rem + 0.2vw, 1.1875rem);
  }

  .tax-landing-hero--practice .tax-hero-highlight__text,
  .tax-landing-hero--highlights .tax-hero-highlight__text {
    font-size: clamp(0.9375rem, 0.9rem + 0.12vw, 1.03125rem);
  }

  .site-header--glass .nav-top__link--flat,
  .site-header--glass .nav-dd__hit {
    font-size: 0.8125rem;
  }

  .nav-top__phone-cta {
    font-size: 0.875rem;
  }

  @media (min-width: 1100px) {
    .nav-dd--services > .nav-dd__panel--mega.nav-mega--matrix {
      width: min(var(--nav-mega-services-max), calc(100vw - 2rem));
      max-width: min(var(--nav-mega-services-max), calc(100vw - 2rem));
    }
  }

  @media (min-width: 900px) {
    .tax-landing-hero__inner {
      grid-template-columns: minmax(0, 1.2fr) minmax(20rem, 25rem);
      gap: 3.35rem;
    }
  }

  .tax-landing__portrait-card {
    max-width: 25rem;
  }
}

/* Ultrawide 1920+ */
@media (min-width: 1920px) {
  :root {
    --fluid-max-width: 1480px;
    --nav-mega-services-max: 1540px;
    --prose-width: 72ch;
    --container: min(var(--fluid-max-width), calc(100% - max(var(--space) * 2, 4vw)));
    --space: clamp(1.85rem, 2.5vw, 3.25rem);
    --section-y: clamp(3rem, 3.5vw, 6rem);
    --gap-md: clamp(1.5rem, 1.35vw, 2.85rem);
    --step-0: 1.125rem;
    --step-1: 1.28125rem;
    --fs-base: 1.09375rem;
    --fs-h1: clamp(2.65rem, 1.7rem + 1.25vw, 4.375rem);
    --fs-h2: clamp(1.85rem, 1.4rem + 0.45vw, 3rem);
    --fs-h3: 1.8125rem;
    --fs-sm: 0.9rem;
  }

  html {
    font-size: clamp(16px, 0.7rem + 0.55vw, 19px);
  }

  .site-header--glass .nav-top__link--flat,
  .site-header--glass .nav-dd__hit {
    font-size: 0.8125rem;
    padding: 0.55rem 0.45rem;
  }

  .nav-top__phone-cta {
    font-size: 0.9375rem;
    padding: 0.65rem 1.35rem;
  }

  .nav-mega--matrix .nav-mega__list .nav-top__link {
    font-size: 0.9375rem;
    min-height: 1.85rem;
  }

  @media (min-width: 1100px) {
    .nav-dd--services > .nav-dd__panel--mega.nav-mega--matrix {
      width: min(var(--nav-mega-services-max), calc(100vw - 2rem));
      max-width: min(var(--nav-mega-services-max), calc(100vw - 2rem));
      padding: 2.75rem;
    }
  }

  @media (min-width: 900px) {
    .tax-landing-hero__inner {
      grid-template-columns: minmax(0, 1.22fr) minmax(21rem, 27rem);
      gap: 3.65rem;
    }

    .home-hero__grid,
    .home-simple-hero__grid {
      gap: clamp(2.5rem, 3.5vw, 4rem);
    }
  }

  .tax-landing__portrait-card {
    max-width: 26rem;
  }

  .home-hero__point-text {
    font-size: 1rem;
  }

  .breadcrumbs__list {
    font-size: var(--fs-sm);
  }
}

/* Компактные экраны: читаемый текст (Яндекс ≥12px) и шапка без горизонтального скролла */
@media (max-width: 479px) {
  :root {
    --fs-base: 1rem;
    --fs-sm: 0.875rem;
    --space: 1rem;
  }

  html {
    font-size: 16px;
  }

  /* Логотип + телефон + меню: название бюро на 320px не помещается */
  .brand__text {
    display: none;
  }

  .nav-top__phone-cta {
    font-size: 0.75rem;
    padding: 0.4rem 0.5rem;
  }
}

@media (max-width: 900px) {
  html {
    font-size: 16px;
  }

  :root {
    --fs-base: 1rem;
    --fs-sm: 0.875rem;
  }

  .nav-mega--matrix .nav-mega__label,
  .nav-mega__kicker,
  .brand__tag,
  .theme-toggle__label,
  .home-hero__phone-label,
  .home-hero__socials-hint,
  .home-hero__stat-bullet,
  .home-hero__credentials-lead,
  .home-hero__credential::before,
  .home-agency-tag,
  .home-case-study__journey-kicker,
  .home-macro-bento__protocol-tile-num,
  .home-macro-bento__protocol-feature,
  .abg-section-head__eyebrow,
  .abg-eyebrow,
  .section__label,
  .abg-section-head--duo .abg-section-head__eyebrow,
  .abg-section-head--plaque .abg-section-head__title--plaque,
  .home-section-head-link--in-card,
  .home-recognition__zoom-hint,
  .home-recognition__logo-caption,
  .site-footer__yandex-brand,
  .site-footer__yandex-note,
  .site-footer__subheading,
  .site-footer__heading,
  .site-footer__media__link,
  .contact-bureau-media__heading,
  .nav-dd__hit--services .nav-dd__hit-sub,
  .nav-mega__cta-hint,
  .nav-mobile-footer__hint,
  .home-recognition__award-fallback-note,
  .site-contact-float__eyebrow,
  .site-contact-float__phone {
    font-size: max(12px, 0.75rem);
  }

  .home-abbr-tag {
    font-size: max(12px, 0.875em);
  }

  .nav-top__phone-cta,
  .btn,
  .home-hero__cta,
  .home-hero__channel,
  .home-hero__contact-trust,
  .home-hero__eyebrow,
  .home-hero__credential-line,
  .home-section-head-link,
  .card__meta {
    font-size: max(12px, 0.8125rem);
  }
}

/* ----- Страница 404 ----- */

.error-page {
  position: relative;
  padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
  overflow: hidden;
  background: radial-gradient(ellipse 90% 60% at 50% 0%, rgba(201, 169, 98, 0.14), transparent 58%),
    var(--bg-deep);
  border-bottom: 1px solid var(--border);
}

.error-page::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 15, 30, 0.35) 100%);
  pointer-events: none;
}

.error-page__inner {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.error-page__eyebrow {
  margin: 0 0 1rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.error-page__code {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 14vw, 7.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  background: linear-gradient(180deg, rgba(197, 168, 128, 0.55) 0%, rgba(197, 168, 128, 0.12) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.error-page__title {
  margin: 0 0 1.15rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.15rem);
  font-weight: 800;
  line-height: var(--heading-line-height);
  letter-spacing: -0.02em;
  color: var(--text);
}

.error-page__lead {
  margin: 0 auto 2rem;
  max-width: 34rem;
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--text-muted);
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1rem;
  margin-bottom: 2.25rem;
}

.error-page__phone {
  display: inline-flex;
  align-items: center;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.error-page__phone:hover {
  color: var(--text);
}

.error-page__panel {
  padding: 1.35rem 1.5rem 1.5rem;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.error-page__panel-title {
  margin: 0 0 1rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.error-page__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.error-page__chip {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.error-page__chip:hover {
  border-color: rgba(197, 168, 128, 0.5);
  background: rgba(197, 168, 128, 0.08);
  color: var(--accent);
}

@media (min-width: 640px) {
  .error-page__panel {
    padding: 1.5rem 1.75rem 1.65rem;
  }
}

/* Очищаем сырые текстовые символы ромбов в буллитах главной страницы */
.home-hero__point-bullet,
.tax-landing__bullet-mark {
  color: transparent !important;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.55rem;
}

.home-hero__point-bullet::before,
.tax-landing__bullet-mark::before {
  content: "";
  position: absolute;
  width: 0.35rem;
  height: 0.35rem;
  background-color: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 8px var(--accent-glow);
}

.home-hero__stats-line {
  border-top-color: rgba(255, 255, 255, 0.1);
  margin-top: 1.5rem;
  padding-top: 1.25rem;
}

.home-hero__stat-bullet {
  color: transparent !important;
  position: relative;
  display: inline-flex;
  width: 0.45rem;
  height: 0.45rem;
  margin-right: 0.25rem;
}

.home-hero__stat-bullet::before {
  content: "";
  position: absolute;
  width: 0.3rem;
  height: 0.3rem;
  background-color: var(--accent);
  transform: rotate(45deg);
}

[data-theme="light"] .home-hero__stats-line {
  border-top-color: rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   EncARO / Протоколы действий – суперблок хаба (/actions_guide)
   Разметка: content/actions_guide_superblock.py (по actions_guide_all_code.txt)
   ========================================================================== */

.actions-guide-hero {
  padding: clamp(1.35rem, 2.5vw, 2rem) 0 clamp(1.1rem, 2vw, 1.5rem);
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(201, 169, 98, 0.1), transparent 52%),
    linear-gradient(180deg, rgba(6, 10, 16, 0.55), rgba(6, 10, 16, 0.2));
  border-bottom: 1px solid var(--border);
}

.actions-guide-hero__inner {
  max-width: none;
}

.actions-guide-hero__grid {
  display: grid;
  gap: clamp(1.35rem, 2.5vw, 2rem);
  align-items: center;
}

@media (min-width: 960px) {
  .actions-guide-hero__grid {
    grid-template-columns: minmax(0, 1.28fr) minmax(18rem, 0.72fr);
    gap: clamp(1.35rem, 2.2vw, 2.35rem);
    align-items: start;
  }
}

.actions-guide-hero__copy {
  min-width: 0;
  max-width: none;
  text-align: left;
}

.actions-guide-hero__label {
  margin: 0 0 0.55rem;
}

.actions-guide-hero__title {
  margin: 0 0 0.85rem;
  max-width: none;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

.actions-guide-hero__hint {
  margin: 0 0 0.75rem;
  max-width: none;
  font-size: clamp(0.92rem, 0.88rem + 0.2vw, 1rem);
  line-height: 1.5;
  color: var(--text-muted);
}

.actions-guide-hero__hint-phone {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.actions-guide-hero__hint-phone:hover {
  text-decoration: underline;
}

.actions-guide-hero__intro {
  margin: 0 0 0.85rem;
  max-width: none;
  font-size: clamp(0.98rem, 0.92rem + 0.25vw, 1.08rem);
  line-height: 1.55;
  color: var(--text-muted);
}

.actions-guide-hero__benefits {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
  max-width: none;
}

.actions-guide-hero__benefit {
  position: relative;
  padding-left: 1.15rem;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.02rem);
  line-height: 1.48;
  color: var(--text);
}

.actions-guide-hero__benefit::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.16);
  transform: translateY(-50%);
}

.actions-guide-hero__visual {
  min-width: 0;
}

@media (min-width: 960px) {
  .actions-guide-hero__visual {
    padding-top: 0.15rem;
  }
}

.actions-guide-stack {
  width: 100%;
  max-width: 22rem;
  margin-inline: auto;
  padding: 1.1rem 1.15rem 1.2rem;
  border: 1px solid rgba(201, 169, 98, 0.28);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(165deg, rgba(22, 32, 50, 0.96), rgba(10, 16, 28, 0.98));
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (min-width: 960px) {
  .actions-guide-stack {
    max-width: none;
    margin-inline: 0;
  }
}

.actions-guide-stack__label {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.actions-guide-stack__cards {
  display: grid;
  gap: 0.55rem;
}

.actions-guide-stack__card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.7rem 0.75rem;
  border-radius: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}

.actions-guide-stack__card--lead {
  border-color: rgba(201, 169, 98, 0.35);
  background: rgba(201, 169, 98, 0.1);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 98, 0.1);
}

.actions-guide-stack__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(201, 169, 98, 0.14);
  border: 1px solid rgba(201, 169, 98, 0.28);
}

.actions-guide-stack__body {
  min-width: 0;
}

.actions-guide-stack__title {
  margin: 0 0 0.2rem;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.actions-guide-stack__text {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.actions-guide-preview {
  width: 100%;
  max-width: 21rem;
  margin-inline: auto;
}

@media (min-width: 960px) {
  .actions-guide-preview {
    max-width: none;
    margin-inline: 0 0;
    margin-left: auto;
  }
}

.actions-guide-preview__stage {
  position: relative;
  transform: perspective(880px) rotateY(-16deg) rotateX(7deg);
  transform-origin: center center;
}

.actions-guide-preview__tablet {
  position: relative;
  z-index: 1;
  padding: 0.85rem 0.9rem 1rem;
  border: 1px solid rgba(201, 169, 98, 0.34);
  border-radius: 1rem;
  background:
    linear-gradient(155deg, rgba(22, 32, 50, 0.98), rgba(10, 16, 28, 0.98));
  box-shadow:
    0 24px 48px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.actions-guide-preview__tablet-bar {
  display: flex;
  gap: 0.28rem;
  margin-bottom: 0.7rem;
}

.actions-guide-preview__tablet-bar span {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.actions-guide-preview__tablet-bar span:first-child {
  background: rgba(232, 93, 93, 0.75);
}

.actions-guide-preview__tablet-bar span:nth-child(2) {
  background: rgba(201, 169, 98, 0.75);
}

.actions-guide-preview__tablet-bar span:nth-child(3) {
  background: rgba(90, 208, 155, 0.75);
}

.actions-guide-preview__docs {
  display: grid;
  gap: 0.5rem;
}

.actions-guide-preview__doc {
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-left: 3px solid rgba(201, 169, 98, 0.45);
  background: rgba(255, 255, 255, 0.03);
}

.actions-guide-preview__doc--lead {
  border-left-color: var(--accent);
  background: rgba(201, 169, 98, 0.1);
  box-shadow: inset 0 0 0 1px rgba(201, 169, 98, 0.12);
}

.actions-guide-preview__doc-tag {
  display: block;
  margin-bottom: 0.18rem;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.actions-guide-preview__doc-title {
  display: block;
  font-size: clamp(0.78rem, 0.72rem + 0.2vw, 0.88rem);
  font-weight: 700;
  line-height: 1.32;
  color: var(--text);
}

.actions-guide-preview__folder {
  position: absolute;
  right: -0.35rem;
  bottom: -0.85rem;
  z-index: 0;
  opacity: 0.92;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.35));
  transform: translateZ(-12px) rotate(-6deg);
}

.actions-guide-superblock {
  padding-top: clamp(1.15rem, 2vw, 1.65rem);
}

.actions-guide-hub__toolbar {
  display: grid;
  gap: 0.85rem;
  margin-bottom: clamp(1rem, 1.5vw, 1.35rem);
}

.actions-guide-hub__search {
  position: relative;
  display: block;
}

.actions-guide-hub__search-icon {
  position: absolute;
  top: 50%;
  left: 0.95rem;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.actions-guide-hub__search-input {
  width: 100%;
  padding: 0.78rem 1rem 0.78rem 2.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  font: inherit;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.02rem);
  line-height: 1.4;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.actions-guide-hub__search-input::placeholder {
  color: var(--text-muted);
}

.actions-guide-hub__search-input:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow: 0 0 0 1px rgba(201, 169, 98, 0.25);
}

.actions-guide-hub__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.actions-guide-hub__chip {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: transparent;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.actions-guide-hub__chip:hover {
  border-color: var(--accent);
  color: var(--text);
}

.actions-guide-hub__chip[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(197, 168, 128, 0.14);
  color: var(--text);
  font-weight: 600;
}

.actions-guide-hub__empty {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border: 1px dashed rgba(201, 169, 98, 0.35);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-muted);
  text-align: center;
}

.encaro-guide-hub-card.is-hidden {
  display: none;
}

.encaro-guide-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.85rem, 0.65rem + 0.8vw, 1.25rem);
}

@media (min-width: 720px) {
  .encaro-guide-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1060px) {
  .encaro-guide-hub-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.encaro-guide-hub-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.15rem 1.15rem 1.05rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: radial-gradient(900px 420px at 8% 0%, rgba(201, 169, 98, 0.08), transparent 40%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 58%);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease,
    background 0.18s ease;
}

.encaro-guide-hub-card:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.28);
  background: radial-gradient(900px 420px at 8% 0%, rgba(201, 169, 98, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(255, 255, 255, 0.01) 58%);
}

.encaro-guide-hub-card:focus-visible {
  outline: 2px solid rgba(201, 169, 98, 0.75);
  outline-offset: 3px;
}

.encaro-guide-hub-card__top {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.actions-guide-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(201, 169, 98, 0.22);
  background: rgba(255, 255, 255, 0.02);
  color: var(--accent);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.18);
}

.actions-guide-card__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.encaro-guide-hub-card__title {
  margin: 0;
  font-size: clamp(1.02rem, 0.92rem + 0.35vw, 1.2rem);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.encaro-guide-hub-card__legal {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  line-height: 1.35;
  font-weight: 500;
  color: var(--text-muted);
}

.encaro-guide-hub-card__legal::before {
  content: "(";
}

.encaro-guide-hub-card__legal::after {
  content: ")";
}

.encaro-guide-hub-card__text {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.encaro-guide-hub-card__cta {
  margin-top: auto;
  font-size: var(--fs-sm);
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.encaro-guide-hub-card__cta::after {
  content: "→";
  transform: translateY(-0.5px);
}

.encaro-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.encaro-badge.is-badge-danger {
  border-color: rgba(232, 93, 93, 0.45);
  background: rgba(232, 93, 93, 0.12);
  color: #ffd2d2;
}

.encaro-badge.is-badge-warn {
  border-color: rgba(201, 169, 98, 0.55);
  background: rgba(201, 169, 98, 0.12);
  color: #f4e6c2;
}

.encaro-badge.is-badge-success {
  border-color: rgba(90, 208, 155, 0.45);
  background: rgba(90, 208, 155, 0.12);
  color: rgba(215, 255, 237, 0.95);
}

.encaro-badge.is-badge-info {
  border-color: rgba(96, 165, 250, 0.45);
  background: rgba(96, 165, 250, 0.12);
  color: rgba(219, 234, 254, 0.95);
}

.encaro-badge.is-badge-primary {
  border-color: rgba(201, 169, 98, 0.55);
  background: rgba(201, 169, 98, 0.12);
  color: #f4e6c2;
}

.encaro-badge.is-badge-neutral {
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(148, 163, 184, 0.1);
  color: rgba(242, 245, 249, 0.9);
}

/* ==========================================================================
   /guide (нативные протоколы по sid)
   ========================================================================== */

.guide-page {
  --guide-accent: var(--accent);
  --guide-accent-weak: rgba(201, 169, 98, 0.28);
  --guide-accent-bg: rgba(201, 169, 98, 0.12);
  --guide-accent-bg-weak: rgba(201, 169, 98, 0.08);
}

.guide-page[data-guide-theme="debtor"] {
  --guide-accent: rgba(148, 163, 184, 1);
  --guide-accent-weak: rgba(148, 163, 184, 0.28);
  --guide-accent-bg: rgba(148, 163, 184, 0.12);
  --guide-accent-bg-weak: rgba(148, 163, 184, 0.08);
}

.guide-page[data-guide-theme="creditor"] {
  --guide-accent: rgba(96, 165, 250, 1);
  --guide-accent-weak: rgba(96, 165, 250, 0.3);
  --guide-accent-bg: rgba(96, 165, 250, 0.12);
  --guide-accent-bg-weak: rgba(96, 165, 250, 0.08);
}

.guide-page[data-guide-theme="counterparty"] {
  --guide-accent: rgba(251, 146, 60, 1);
  --guide-accent-weak: rgba(251, 146, 60, 0.3);
  --guide-accent-bg: rgba(251, 146, 60, 0.12);
  --guide-accent-bg-weak: rgba(251, 146, 60, 0.08);
}

.guide-page[data-guide-theme="kameral"] {
  --guide-accent: rgba(96, 165, 250, 1);
  --guide-accent-weak: rgba(96, 165, 250, 0.3);
  --guide-accent-bg: rgba(96, 165, 250, 0.12);
  --guide-accent-bg-weak: rgba(96, 165, 250, 0.08);
}

.guide-page[data-guide-theme="vnp"] {
  --guide-accent: rgba(248, 113, 113, 1);
  --guide-accent-weak: rgba(248, 113, 113, 0.3);
  --guide-accent-bg: rgba(248, 113, 113, 0.12);
  --guide-accent-bg-weak: rgba(248, 113, 113, 0.08);
}

.guide-page[data-guide-theme="outside"] {
  --guide-accent: rgba(167, 139, 250, 1);
  --guide-accent-weak: rgba(167, 139, 250, 0.3);
  --guide-accent-bg: rgba(167, 139, 250, 0.12);
  --guide-accent-bg-weak: rgba(167, 139, 250, 0.08);
}

.guide-page[data-guide-theme="office"] {
  --guide-accent: rgba(248, 113, 113, 1);
  --guide-accent-weak: rgba(248, 113, 113, 0.3);
  --guide-accent-bg: rgba(248, 113, 113, 0.12);
  --guide-accent-bg-weak: rgba(248, 113, 113, 0.08);
}

.guide-page[data-guide-theme="home"] {
  --guide-accent: rgba(251, 146, 60, 1);
  --guide-accent-weak: rgba(251, 146, 60, 0.3);
  --guide-accent-bg: rgba(251, 146, 60, 0.12);
  --guide-accent-bg-weak: rgba(251, 146, 60, 0.08);
}

.guide-page[data-guide-theme="interrogation"] {
  --guide-accent: rgba(148, 163, 184, 1);
  --guide-accent-weak: rgba(148, 163, 184, 0.28);
  --guide-accent-bg: rgba(148, 163, 184, 0.12);
  --guide-accent-bg-weak: rgba(148, 163, 184, 0.08);
}

.guide-page[data-guide-theme="orm"] {
  --guide-accent: rgba(167, 139, 250, 1);
  --guide-accent-weak: rgba(167, 139, 250, 0.28);
  --guide-accent-bg: rgba(167, 139, 250, 0.12);
  --guide-accent-bg-weak: rgba(167, 139, 250, 0.08);
}

.guide-page[data-guide-theme="in_bankruptcy"] {
  --guide-accent: rgba(96, 165, 250, 1);
  --guide-accent-weak: rgba(96, 165, 250, 0.3);
  --guide-accent-bg: rgba(96, 165, 250, 0.12);
  --guide-accent-bg-weak: rgba(96, 165, 250, 0.08);
}

.guide-page[data-guide-theme="out_of_bankruptcy"] {
  --guide-accent: rgba(251, 146, 60, 1);
  --guide-accent-weak: rgba(251, 146, 60, 0.3);
  --guide-accent-bg: rgba(251, 146, 60, 0.12);
  --guide-accent-bg-weak: rgba(251, 146, 60, 0.08);
}

.guide-page[data-guide-theme="art199"],
.guide-page[data-guide-theme="art199_1"],
.guide-page[data-guide-theme="art199_2"] {
  --guide-accent: rgba(248, 113, 113, 1);
  --guide-accent-weak: rgba(248, 113, 113, 0.3);
  --guide-accent-bg: rgba(248, 113, 113, 0.12);
  --guide-accent-bg-weak: rgba(248, 113, 113, 0.08);
}

.guide-page[data-guide-theme="general"] {
  --guide-accent: rgba(251, 146, 60, 1);
  --guide-accent-weak: rgba(251, 146, 60, 0.3);
  --guide-accent-bg: rgba(251, 146, 60, 0.12);
  --guide-accent-bg-weak: rgba(251, 146, 60, 0.08);
}

.guide-page[data-guide-theme="pre_trial"] {
  --guide-accent: rgba(74, 222, 128, 1);
  --guide-accent-weak: rgba(74, 222, 128, 0.3);
  --guide-accent-bg: rgba(74, 222, 128, 0.12);
  --guide-accent-bg-weak: rgba(74, 222, 128, 0.08);
}

.guide-page[data-guide-theme="enforcement"] {
  --guide-accent: rgba(96, 165, 250, 1);
  --guide-accent-weak: rgba(96, 165, 250, 0.3);
  --guide-accent-bg: rgba(96, 165, 250, 0.12);
  --guide-accent-bg-weak: rgba(96, 165, 250, 0.08);
}

.guide-page[data-guide-theme="bankruptcy"] {
  --guide-accent: rgba(148, 163, 184, 1);
  --guide-accent-weak: rgba(148, 163, 184, 0.28);
  --guide-accent-bg: rgba(148, 163, 184, 0.12);
  --guide-accent-bg-weak: rgba(148, 163, 184, 0.08);
}

.guide-page[data-guide-theme="subsidiary"] {
  --guide-accent: rgba(251, 146, 60, 1);
  --guide-accent-weak: rgba(251, 146, 60, 0.3);
  --guide-accent-bg: rgba(251, 146, 60, 0.12);
  --guide-accent-bg-weak: rgba(251, 146, 60, 0.08);
}

.guide-page[data-guide-theme="transactions"] {
  --guide-accent: rgba(167, 139, 250, 1);
  --guide-accent-weak: rgba(167, 139, 250, 0.3);
  --guide-accent-bg: rgba(167, 139, 250, 0.12);
  --guide-accent-bg-weak: rgba(167, 139, 250, 0.08);
}

.guide-page[data-guide-theme="conflict"] {
  --guide-accent: rgba(96, 165, 250, 1);
  --guide-accent-weak: rgba(96, 165, 250, 0.3);
  --guide-accent-bg: rgba(96, 165, 250, 0.12);
  --guide-accent-bg-weak: rgba(96, 165, 250, 0.08);
}

.guide-page[data-guide-theme="exit_ma"] {
  --guide-accent: rgba(167, 139, 250, 1);
  --guide-accent-weak: rgba(167, 139, 250, 0.3);
  --guide-accent-bg: rgba(167, 139, 250, 0.12);
  --guide-accent-bg-weak: rgba(167, 139, 250, 0.08);
}

.guide-page[data-guide-theme="audit"] {
  --guide-accent: rgba(148, 163, 184, 1);
  --guide-accent-weak: rgba(148, 163, 184, 0.28);
  --guide-accent-bg: rgba(148, 163, 184, 0.12);
  --guide-accent-bg-weak: rgba(148, 163, 184, 0.08);
}

.guide-page[data-guide-theme="legal_audit"] {
  --guide-accent: rgba(45, 212, 191, 1);
  --guide-accent-weak: rgba(45, 212, 191, 0.3);
  --guide-accent-bg: rgba(45, 212, 191, 0.12);
  --guide-accent-bg-weak: rgba(45, 212, 191, 0.08);
}

.guide-page[data-guide-theme="decision"] {
  --guide-accent: rgba(251, 146, 60, 1);
  --guide-accent-weak: rgba(251, 146, 60, 0.3);
  --guide-accent-bg: rgba(251, 146, 60, 0.12);
  --guide-accent-bg-weak: rgba(251, 146, 60, 0.08);
}

.guide-page[data-guide-theme="demand"] {
  --guide-accent: rgba(248, 113, 113, 1);
  --guide-accent-weak: rgba(248, 113, 113, 0.3);
  --guide-accent-bg: rgba(248, 113, 113, 0.12);
  --guide-accent-bg-weak: rgba(248, 113, 113, 0.08);
}

.guide-page[data-guide-theme="refund"] {
  --guide-accent: rgba(96, 165, 250, 1);
  --guide-accent-weak: rgba(96, 165, 250, 0.3);
  --guide-accent-bg: rgba(96, 165, 250, 0.12);
  --guide-accent-bg-weak: rgba(96, 165, 250, 0.08);
}

.guide-page[data-guide-theme="respondent"] {
  --guide-accent: rgba(148, 163, 184, 1);
  --guide-accent-weak: rgba(148, 163, 184, 0.28);
  --guide-accent-bg: rgba(148, 163, 184, 0.12);
  --guide-accent-bg-weak: rgba(148, 163, 184, 0.08);
}

.guide-page[data-guide-theme="claimant"] {
  --guide-accent: rgba(96, 165, 250, 1);
  --guide-accent-weak: rgba(96, 165, 250, 0.3);
  --guide-accent-bg: rgba(96, 165, 250, 0.12);
  --guide-accent-bg-weak: rgba(96, 165, 250, 0.08);
}

.guide-page[data-guide-theme="contract_audit"] {
  --guide-accent: rgba(45, 212, 191, 1);
  --guide-accent-weak: rgba(45, 212, 191, 0.3);
  --guide-accent-bg: rgba(45, 212, 191, 0.12);
  --guide-accent-bg-weak: rgba(45, 212, 191, 0.08);
}

.guide-page[data-guide-theme="legal"] {
  --guide-accent: rgba(96, 165, 250, 1);
  --guide-accent-weak: rgba(96, 165, 250, 0.3);
  --guide-accent-bg: rgba(96, 165, 250, 0.12);
  --guide-accent-bg-weak: rgba(96, 165, 250, 0.08);
}

.guide-page[data-guide-theme="individual"] {
  --guide-accent: rgba(167, 139, 250, 1);
  --guide-accent-weak: rgba(167, 139, 250, 0.3);
  --guide-accent-bg: rgba(167, 139, 250, 0.12);
  --guide-accent-bg-weak: rgba(167, 139, 250, 0.08);
}

.guide-page[data-guide-theme="before_deal"] {
  --guide-accent: rgba(74, 222, 128, 1);
  --guide-accent-weak: rgba(74, 222, 128, 0.3);
  --guide-accent-bg: rgba(74, 222, 128, 0.12);
  --guide-accent-bg-weak: rgba(74, 222, 128, 0.08);
}

.guide-page[data-guide-theme="existing_partner"] {
  --guide-accent: rgba(251, 146, 60, 1);
  --guide-accent-weak: rgba(251, 146, 60, 0.3);
  --guide-accent-bg: rgba(251, 146, 60, 0.12);
  --guide-accent-bg-weak: rgba(251, 146, 60, 0.08);
}

.guide-page[data-guide-theme="forensic_audit"] {
  --guide-accent: rgba(167, 139, 250, 1);
  --guide-accent-weak: rgba(167, 139, 250, 0.3);
  --guide-accent-bg: rgba(167, 139, 250, 0.12);
  --guide-accent-bg-weak: rgba(167, 139, 250, 0.08);
}

.guide-page[data-guide-theme="divorce"] {
  --guide-accent: rgba(248, 113, 113, 1);
  --guide-accent-weak: rgba(248, 113, 113, 0.3);
  --guide-accent-bg: rgba(248, 113, 113, 0.12);
  --guide-accent-bg-weak: rgba(248, 113, 113, 0.08);
}

.guide-page[data-guide-theme="inheritance"] {
  --guide-accent: rgba(148, 163, 184, 1);
  --guide-accent-weak: rgba(148, 163, 184, 0.28);
  --guide-accent-bg: rgba(148, 163, 184, 0.12);
  --guide-accent-bg-weak: rgba(148, 163, 184, 0.08);
}

.guide-page[data-guide-theme="business_share"] {
  --guide-accent: rgba(96, 165, 250, 1);
  --guide-accent-weak: rgba(96, 165, 250, 0.3);
  --guide-accent-bg: rgba(96, 165, 250, 0.12);
  --guide-accent-bg-weak: rgba(96, 165, 250, 0.08);
}

.guide-page__back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  text-decoration: none;
  color: var(--text-muted);
  font-size: var(--step--1);
}

.guide-page__back:hover {
  color: var(--text);
}

.guide-controls {
  display: grid;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

@media (min-width: 980px) {
  .guide-controls {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
  }
}

.guide-summary {
  position: relative;
  overflow: hidden;
  padding: 1.15rem 1.15rem 1rem;
  background: radial-gradient(900px 420px at 8% 0%, var(--guide-accent-bg), transparent 45%),
    rgba(255, 255, 255, 0.015);
}

.guide-summary::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 55%);
  opacity: 0.7;
}

.guide-summary__meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.guide-summary__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.guide-summary__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--guide-accent-weak);
  background: var(--guide-accent-bg);
  color: rgba(242, 245, 249, 0.92);
  font-size: 0.8rem;
  font-weight: 650;
}

.guide-page--v2 .guide-page__back {
  margin-bottom: 0.85rem;
}

.guide-page--v2 {
  /* В протоколах нужно больше воздуха, чем в обычных текстовых страницах */
  --fluid-max-width: 1400px;
}

.guide-page--dashboard .guide-page__container {
  max-width: min(1400px, 100%);
}

.guide-hero--dashboard {
  padding: clamp(1rem, 1.5vw, 1.35rem) clamp(1.1rem, 1.8vw, 1.5rem);
}

.guide-hero--dashboard .guide-page__back {
  margin: 0 0 0.65rem;
}

.guide-hero__grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}

@media (min-width: 900px) {
  .guide-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.25rem, 2.5vw, 2rem);
  }
}

.guide-hero__copy {
  min-width: 0;
}

.guide-hero__cockpit {
  min-width: 0;
  margin: 0;
  padding: clamp(0.75rem, 1.2vw, 1rem);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 10, 16, 0.35);
}

.guide-hero__cockpit .guide-stepper {
  margin-bottom: 0;
}

.guide-hero {
  position: relative;
  overflow: hidden;
  padding: 1.25rem 1.25rem 1.15rem;
  background: radial-gradient(900px 420px at 8% 0%, var(--guide-accent-bg), transparent 48%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-panel);
}

.guide-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.guide-hero__kicker {
  margin: 0;
}

.guide-hero__title {
  margin: 0 0 0.45rem;
  font-size: var(--step-2);
  letter-spacing: -0.02em;
}

.guide-hero__title-legal {
  margin: -0.15rem 0 0.45rem;
  font-size: 0.92rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--text-muted);
}

.guide-hero__title-legal::before {
  content: "(";
}

.guide-hero__title-legal::after {
  content: ")";
}

.guide-hero__topline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.35rem;
}

.guide-plain-intro {
  margin: 0 0 1rem;
  padding: 1rem 1.05rem;
  border-color: rgba(201, 169, 98, 0.22);
  background: rgba(201, 169, 98, 0.05);
}

.guide-plain-intro__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.65rem;
}

.guide-plain-intro__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.guide-plain-intro__text {
  margin: 0 0 0.55rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.guide-plain-intro__text:last-child {
  margin-bottom: 0;
}

.guide-glossary {
  width: min(34rem, calc(100vw - 2rem));
  max-height: min(80vh, 36rem);
  padding: 0;
  border: 1px solid rgba(201, 169, 98, 0.28);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated, #101820);
  color: var(--text);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.guide-glossary::backdrop {
  background: rgba(4, 8, 14, 0.72);
}

.guide-glossary__panel {
  margin: 0;
  padding: 0;
}

.guide-glossary__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-glossary__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.guide-glossary__list {
  padding: 0.5rem 1rem 1rem;
  overflow: auto;
  max-height: calc(min(80vh, 36rem) - 3.5rem);
}

.guide-glossary__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.guide-glossary__item:last-child {
  border-bottom: 0;
}

.guide-glossary__term {
  padding: 0.65rem 0;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.guide-glossary__term::-webkit-details-marker {
  display: none;
}

.guide-glossary__def {
  margin: 0 0 0.65rem;
  padding-left: 0.15rem;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.guide-hero__lead {
  margin: 0 0 1.05rem;
  max-width: 80ch;
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.6;
}

.guide-dispatcher--v2 {
  margin: 0;
  padding: 0.85rem 0.85rem 0.35rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(6, 10, 16, 0.35);
}

.guide-page--v2 .guide-switch {
  margin-top: 0;
  margin-bottom: 0.65rem;
}

.guide-page--v2 .guide-switch__btn {
  border-radius: 0.85rem;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.02);
}

.guide-page--v2 .guide-switch__btn.is-active {
  background: color-mix(in srgb, var(--guide-accent) 14%, transparent);
}

.guide-dispatcher {
  margin: 0.9rem 0 1.05rem;
  padding: 1.05rem 1.05rem 0.65rem;
  background: radial-gradient(900px 420px at 10% 0%, var(--guide-accent-bg), transparent 48%),
    rgba(255, 255, 255, 0.01);
  border-color: rgba(255, 255, 255, 0.08);
}

.guide-dispatcher__label {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.guide-summary__title {
  position: relative;
  z-index: 1;
  margin: 0 0 0.45rem;
  font-size: var(--step-1);
  letter-spacing: -0.01em;
}

.guide-summary__text {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.55;
  max-width: 70ch;
}

.guide-contact {
  padding: 1.05rem 1.05rem 0.95rem;
  min-width: min(22rem, 100%);
  background: rgba(255, 255, 255, 0.01);
}

.guide-contact__title {
  margin: 0 0 0.5rem;
  font-size: var(--step--1);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-soft);
  font-weight: 800;
}

.guide-contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.guide-contact__phone {
  text-decoration: none;
  font-weight: 700;
  color: var(--text);
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.guide-contact__phone:hover {
  border-color: rgba(201, 169, 98, 0.55);
  color: var(--accent);
}

/* ----- Layout + sticky status (банкротство и др. протоколы) ----- */

.guide-layout {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: start;
}

@media (min-width: 768px) {
  .guide-page--dashboard .guide-layout {
    grid-template-columns: minmax(0, 1.85fr) minmax(16.5rem, 1fr);
  }
}

.guide-sidebar {
  display: block;
  min-width: 0;
}

@media (max-width: 767px) {
  .guide-page--dashboard .guide-layout {
    display: flex;
    flex-direction: column;
  }

  .guide-page--dashboard .guide-sidebar {
    order: -1;
  }

  .guide-status--sticky {
    position: static;
    top: auto;
  }

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

  .guide-hero__title {
    font-size: clamp(1.25rem, 5vw, 1.65rem);
  }
}

.guide-status {
  padding: 1.05rem 1.05rem 0.95rem;
  background: rgba(255, 255, 255, 0.01);
}

.guide-status--sticky {
  position: sticky;
  top: calc(var(--encaro-navbar-height, 56px) + 1rem);
  display: grid;
  gap: 0.95rem;
}

.guide-sidebar__actions {
  display: grid;
  gap: 0.55rem;
}

.guide-sidebar__btn {
  width: 100%;
  justify-content: center;
}

.guide-sidebar__phone {
  display: block;
  text-align: center;
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--text-muted);
  text-decoration: none;
}

.guide-sidebar__phone:hover {
  color: var(--accent);
}

.guide-encaro {
  padding: 0.85rem 0.9rem;
  border-color: rgba(0, 119, 255, 0.22);
  background: linear-gradient(135deg, rgba(0, 119, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.guide-encaro__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6eb6ff;
}

.guide-encaro__text {
  margin: 0 0 0.65rem;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--text-muted);
}

.guide-encaro__field {
  display: block;
  margin-bottom: 0.55rem;
}

.guide-encaro__label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.guide-encaro__context {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text);
}

.guide-encaro__context[hidden] {
  display: none !important;
}

.guide-encaro__cta-stack {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.15rem;
}

.guide-encaro__cta-tier {
  padding: 0.55rem 0.6rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.14);
}

.guide-encaro__cta-badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.guide-encaro__cta-tier--free .guide-encaro__cta-badge {
  color: #8fd0ff;
}

.guide-encaro__cta-tier--self .guide-encaro__cta-badge {
  color: #6eb6ff;
}

.guide-encaro__cta-tier--lawyer .guide-encaro__cta-badge {
  color: #d4b87a;
}

.guide-encaro__cta-link {
  display: block;
  font-size: 0.84rem;
  font-weight: 650;
  line-height: 1.4;
  color: var(--text);
  text-decoration: none;
}

.guide-encaro__cta-link:hover {
  color: #9fd4ff;
}

.guide-encaro__cta-link--primary {
  color: #8fd0ff;
}

.guide-encaro__cta-note {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.guide-sos-sticky {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 140;
  padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.2), rgba(8, 12, 20, 0.96));
  border-top: 1px solid rgba(201, 169, 98, 0.35);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
}

.guide-sos-sticky:not([hidden]) {
  display: block;
}

@media (min-width: 768px) {
  .guide-sos-sticky {
    display: none !important;
  }
}

html.guide-sos-active .guide-page {
  padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
}

.guide-sos-sticky__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  border-radius: 0.65rem;
  background: linear-gradient(135deg, #c9a962, #a8863f);
  color: #0b0f14;
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.guide-sos-sticky__btn:hover {
  filter: brightness(1.05);
  color: #0b0f14;
}

/* —— Плавающий виджет связи (сайт) —— */
.site-contact-float {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 125;
  width: min(11.5rem, calc(100vw - 1.5rem));
  padding: 0.85rem 0.9rem 0.95rem;
  border: 1px solid rgba(201, 169, 98, 0.42);
  border-right: none;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
  background: linear-gradient(165deg, rgba(20, 29, 46, 0.97), rgba(8, 12, 20, 0.98));
  box-shadow: -10px 12px 36px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(10px);
  transform: translate3d(110%, -50%, 0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s var(--ease-interactive), opacity 0.35s ease;
  animation: site-contact-float-bob 4.8s ease-in-out infinite;
}

html.site-contact-float-active .site-contact-float:not([hidden]) {
  transform: translate3d(0, -50%, 0);
  opacity: 1;
  pointer-events: auto;
}

@keyframes site-contact-float-bob {
  0%,
  100% {
    margin-top: 0;
  }
  50% {
    margin-top: -6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-contact-float {
    animation: none;
  }
}

.site-contact-float__close {
  position: absolute;
  top: 0.35rem;
  right: 0.4rem;
  width: 1.5rem;
  height: 1.5rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.site-contact-float__close:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
}

.site-contact-float__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-contact-float__title {
  margin: 0 0 0.65rem;
  padding-right: 1.25rem;
  font-size: 0.82rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--text);
}

.site-contact-float__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2.15rem;
  margin-bottom: 0.45rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
}

.site-contact-float__phone {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  color: var(--text-muted);
  text-decoration: none;
}

.site-contact-float__phone:hover {
  color: var(--accent);
}

.site-contact-dock {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  padding: 0.45rem 0.55rem calc(0.45rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(201, 169, 98, 0.32);
  background: linear-gradient(180deg, rgba(8, 12, 20, 0.15), rgba(8, 12, 20, 0.96));
  backdrop-filter: blur(10px);
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.35);
}

.site-contact-dock:not([hidden]) {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.35rem;
}

html.site-contact-dock-active .abg-merged-main {
  padding-bottom: calc(3.6rem + env(safe-area-inset-bottom, 0px));
}

.site-contact-dock__item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  border: 1px solid rgba(201, 169, 98, 0.28);
  border-radius: 0.65rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  text-decoration: none;
}

.site-contact-dock__item:hover,
.site-contact-dock__item:focus-visible {
  border-color: rgba(201, 169, 98, 0.55);
  background: rgba(201, 169, 98, 0.1);
}

.site-contact-dock__item .brand-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.site-contact-dock__item--phone {
  color: var(--accent);
}

@media (min-width: 768px) {
  .site-contact-dock {
    display: none !important;
  }

  html.site-contact-dock-active .abg-merged-main {
    padding-bottom: 0;
  }
}

@media (max-width: 767px) {
  .site-contact-float {
    display: none !important;
  }
}

.guide-folder__company {
  margin: 0 0 0.75rem;
  padding: 0.55rem 0.65rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(201, 169, 98, 0.22);
  background: rgba(201, 169, 98, 0.06);
  font-size: 0.84rem;
  line-height: 1.45;
}

.guide-folder__company[hidden] {
  display: none !important;
}

.guide-folder__company-label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.guide-folder__company-name {
  font-weight: 650;
  color: var(--text);
}

.guide-encaro__input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
  font: inherit;
  font-size: var(--step--1);
}

.guide-encaro__input:focus {
  outline: none;
  border-color: rgba(0, 119, 255, 0.45);
}

.guide-encaro__link {
  width: 100%;
  justify-content: center;
}

.guide-protocol-result--sidebar {
  margin-top: 0.15rem;
  padding: 0.75rem 0.85rem;
  max-height: 14rem;
  overflow: auto;
}

.guide-protocol-result--sidebar .guide-protocol-result__body {
  font-size: 0.78rem;
}

.guide-status__label {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.guide-status__value {
  margin: 0 0 0.75rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.guide-risk__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
  font-size: var(--step--1);
}

.guide-risk__text {
  color: var(--guide-accent);
}

.guide-risk__bar {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.guide-risk__fill {
  height: 100%;
  width: 50%;
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--guide-accent) 85%, white),
    color-mix(in srgb, var(--guide-accent) 45%, transparent)
  );
  border-radius: 999px;
  transition: width 0.25s ease;
}

.guide-progress {
  margin: 0.85rem 0;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-progress__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
  margin-bottom: 0.35rem;
  color: var(--text-muted);
  font-size: var(--step--1);
}

.guide-progress__value {
  color: #8fd0ff;
  font-weight: 700;
}

.guide-progress__bar {
  height: 8px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.guide-progress__fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3d9bff, #6eb6ff);
  transition: width 0.25s ease;
}

.guide-progress__hint {
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-soft);
}

.guide-start-banner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding: 0.75rem 0.9rem;
  border-color: rgba(201, 169, 98, 0.35);
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.12), rgba(0, 119, 255, 0.06));
}

.guide-start-banner[hidden] {
  display: none !important;
}

.guide-start-banner__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text);
}

.guide-start-banner__link {
  color: #9fd4ff;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.guide-start-banner__link:hover {
  color: #c5e4ff;
}

.guide-start-banner__dismiss {
  flex: 0 0 auto;
  width: 1.75rem;
  height: 1.75rem;
  border: 0;
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.guide-start-banner__dismiss:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.12);
}

#guide-first-aid {
  scroll-margin-top: 6.5rem;
}

.guide-cta {
  margin-top: 0.95rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.guide-cta__title {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.guide-cta__quote {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.55;
}

.guide-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.guide-cta__phone {
  text-decoration: none;
  font-weight: 750;
  color: var(--text);
  padding: 0.55rem 0.75rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.guide-cta__phone:hover {
  border-color: rgba(201, 169, 98, 0.55);
  color: var(--accent);
}

.guide-switch,
.guide-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.guide-switch {
  margin-top: 0.15rem;
}

.guide-switch__btn,
.guide-steps__btn {
  appearance: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  font: inherit;
  font-size: var(--step--1);
  font-weight: 650;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.guide-switch,
.guide-steps,
.guide-stepper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 0.25rem;
}

.guide-switch::-webkit-scrollbar,
.guide-steps::-webkit-scrollbar,
.guide-stepper::-webkit-scrollbar {
  height: 6px;
}

.guide-switch::-webkit-scrollbar-thumb,
.guide-steps::-webkit-scrollbar-thumb,
.guide-stepper::-webkit-scrollbar-thumb {
  background: var(--guide-accent-weak);
  border-radius: 999px;
}

.guide-switch__btn:hover,
.guide-steps__btn:hover {
  transform: translateY(-1px);
  border-color: var(--guide-accent-weak);
  background: var(--guide-accent-bg-weak);
}

.guide-switch__btn.is-active,
.guide-steps__btn.is-active {
  border-color: var(--guide-accent-weak);
  background: var(--guide-accent-bg);
}

/* ----- Stepper (как в старом EncARO, но в нашей теме) ----- */

.guide-stepper {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0.25rem 0 1.05rem;
}

.guide-stepper__item {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  padding: 0.35rem 0.35rem;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  min-width: 5.2rem;
}

.guide-stepper__dot {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.guide-stepper__num {
  font-size: 0.9rem;
  font-weight: 750;
  color: rgba(242, 245, 249, 0.9);
}

.guide-stepper__label {
  font-size: 0.72rem;
  line-height: 1.2;
  font-weight: 650;
  text-align: center;
}

.guide-stepper__item:hover .guide-stepper__dot {
  transform: translateY(-1px);
  border-color: var(--guide-accent-weak);
  background: var(--guide-accent-bg-weak);
}

.guide-stepper__item.is-active,
.guide-stepper__item[aria-pressed="true"] {
  color: var(--text);
}

.guide-stepper__item.is-active .guide-stepper__dot,
.guide-stepper__item[aria-pressed="true"] .guide-stepper__dot {
  border-color: var(--guide-accent-weak);
  background: var(--guide-accent-bg);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--guide-accent) 18%, transparent), 0 18px 45px rgba(0, 0, 0, 0.22);
}

.guide-panels {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.75rem;
}

.guide-panel {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.guide-panel__duo {
  display: grid;
  gap: 0.9rem;
}

@media (min-width: 860px) {
  .guide-panel__duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

.guide-panel__card {
  padding: 1.05rem 1.05rem 0.95rem;
  border-radius: var(--radius-md);
  background: radial-gradient(900px 420px at 10% 0%, var(--guide-accent-bg-weak), transparent 44%),
    rgba(255, 255, 255, 0.01);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  transform: none;
}

.guide-now-main {
  margin-bottom: 0.85rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent, #c9a227);
  background: rgba(201, 162, 39, 0.08);
}

.guide-now-main__title {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 650;
}

.guide-now-main__list {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.35rem;
}

.guide-now-main__item {
  font-size: 0.95rem;
  line-height: 1.45;
}

.guide-aid-callout {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-aid-callout--warning {
  border-color: rgba(220, 120, 60, 0.45);
  background: rgba(220, 120, 60, 0.1);
}

.guide-aid-callout__title {
  margin: 0 0 0.35rem;
  font-weight: 650;
  font-size: 0.92rem;
}

.guide-aid-callout__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.92;
}

html.light-theme .guide-now-main {
  background: rgba(201, 162, 39, 0.12);
}

html.light-theme .guide-aid-callout--warning {
  background: rgba(220, 120, 60, 0.08);
}

.tax-landing-hero__first-hour {
  margin: 0.65rem 0 0;
  padding: 0.75rem 0.9rem;
  border-left: 3px solid var(--accent, #c9a227);
  background: rgba(201, 162, 39, 0.08);
  font-size: 0.95rem;
  line-height: 1.5;
}

.tax-situation-callout {
  margin: 0.85rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm, 8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.tax-situation-callout__title {
  margin: 0 0 0.5rem;
  font-weight: 650;
  font-size: 0.95rem;
}

.tax-situation-callout__list {
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.3rem;
}

.tax-situation-callout__item {
  font-size: 0.92rem;
  line-height: 1.45;
}

.tax-landing-hero__guide-link {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}

.tax-landing-hero__guide-anchor {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

html.light-theme .tax-landing-hero__first-hour,
html.light-theme .tax-situation-callout {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}

.guide-panel__card--span {
  grid-column: 1 / -1;
}

.guide-rich__p {
  margin: 0 0 0.75rem;
  color: var(--text-muted);
  font-size: var(--step-0);
  line-height: 1.65;
}

.guide-rich__p:last-child {
  margin-bottom: 0;
}

.guide-rich__faq {
  margin: 0.85rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: var(--step--1);
  line-height: 1.6;
}

.guide-rich__faq strong {
  color: var(--guide-accent);
  font-weight: 800;
}

.guide-rich--html strong {
  color: var(--text);
  font-weight: 750;
}

.guide-rich--html a {
  color: var(--guide-accent);
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.guide-mini-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

@media (min-width: 860px) {
  .guide-mini-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.guide-mini-grid--duo {
  grid-template-columns: 1fr;
}

@media (min-width: 520px) {
  .guide-mini-grid--duo {
    grid-template-columns: 1fr;
  }
}

.guide-aid-checklist {
  display: grid;
  gap: 0.55rem;
}

.guide-aid-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.6rem 0.7rem;
  border-radius: calc(var(--radius-md) - 2px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.guide-aid-check:hover {
  background: rgba(255, 255, 255, 0.03);
}

.guide-aid-check.is-checked {
  border-color: color-mix(in srgb, var(--guide-accent) 35%, transparent);
  background: color-mix(in srgb, var(--guide-accent) 6%, transparent);
}

.guide-aid-check__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.guide-aid-check__box {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  border-radius: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}

.guide-aid-check.is-checked .guide-aid-check__box {
  border-color: var(--guide-accent);
  background: color-mix(in srgb, var(--guide-accent) 55%, transparent);
}

.guide-aid-check.is-checked .guide-aid-check__box::after {
  content: "";
  position: absolute;
  left: 0.3rem;
  top: 0.12rem;
  width: 0.35rem;
  height: 0.6rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.guide-aid-check__text {
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.55;
}

.guide-aid-check__text strong {
  color: var(--text);
  font-weight: 750;
}

.guide-folder--compact .guide-folder__checklist--docs {
  margin-top: 0;
}

.guide-page--dashboard .guide-sieve__item {
  padding: 0.75rem 0.85rem;
  background: rgba(255, 255, 255, 0.015);
}

.guide-page--dashboard .guide-cta {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.guide-mini {
  padding: 0.95rem 0.95rem 0.85rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.01);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
}

.guide-mini__title {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--guide-accent);
}

.guide-mini__text {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.55;
}

.guide-folder {
  display: grid;
  gap: 1.1rem;
  margin-top: 0.15rem;
}

.guide-folder__actions {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 860px) {
  .guide-folder__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.guide-folder__action {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.95rem 0.95rem 0.85rem;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--guide-accent) 6%, transparent);
  border-color: color-mix(in srgb, var(--guide-accent) 22%, transparent);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.guide-folder__icon {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--guide-accent);
}

.guide-folder__action-text {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.55;
}

.guide-folder__checklist {
  display: grid;
  gap: 0.55rem;
  padding: 0.95rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-folder__checklist-title {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.guide-folder-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.55rem 0.65rem;
  border-radius: calc(var(--radius-md) - 2px);
  cursor: pointer;
  transition: background 0.15s ease;
}

.guide-folder-check:hover {
  background: rgba(255, 255, 255, 0.03);
}

.guide-folder-check__input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.guide-folder-check__box {
  flex-shrink: 0;
  width: 1.1rem;
  height: 1.1rem;
  margin-top: 0.15rem;
  border: 2px solid color-mix(in srgb, var(--guide-accent) 45%, var(--text-muted));
  border-radius: 0.25rem;
  background: transparent;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.guide-folder-check.is-checked .guide-folder-check__box {
  border-color: var(--guide-accent);
  background: color-mix(in srgb, var(--guide-accent) 85%, white);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.35);
}

.guide-folder-check__text {
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.5;
}

.guide-folder-check.is-checked .guide-folder-check__text {
  color: var(--text);
}

.guide-folder__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding-top: 0.15rem;
}

.guide-folder__phone {
  color: var(--guide-accent);
  font-size: var(--step--1);
  font-weight: 650;
  text-decoration: none;
}

.guide-folder__phone:hover {
  text-decoration: underline;
}

.guide-sieve {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.15rem;
}

.guide-sieve__lead {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.55;
}

.guide-sieve__list {
  display: grid;
  gap: 0.65rem;
}

.guide-sieve__item {
  display: grid;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  border-color: rgba(255, 255, 255, 0.08);
  transition: border-color 0.15s ease, background 0.15s ease;
}

@media (min-width: 720px) {
  .guide-sieve__item {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
  }
}

.guide-sieve__item.is-yes {
  border-color: color-mix(in srgb, #e05252 45%, transparent);
  background: color-mix(in srgb, #e05252 7%, transparent);
}

.guide-sieve__item.is-no {
  border-color: color-mix(in srgb, #4caf7d 35%, transparent);
  background: color-mix(in srgb, #4caf7d 5%, transparent);
}

.guide-sieve__question {
  margin: 0;
  color: var(--text);
  font-size: var(--step--1);
  line-height: 1.55;
}

.guide-sieve__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.guide-sieve__btn {
  min-width: 4.25rem;
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.guide-sieve__btn:hover {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--text);
}

.guide-sieve__btn--yes.is-active {
  border-color: color-mix(in srgb, #e05252 55%, transparent);
  background: color-mix(in srgb, #e05252 18%, transparent);
  color: #ffb4b4;
}

.guide-sieve__btn--no.is-active {
  border-color: color-mix(in srgb, #4caf7d 50%, transparent);
  background: color-mix(in srgb, #4caf7d 16%, transparent);
  color: #a8e6c4;
}

.guide-sieve__summary {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-sieve__count {
  font-size: var(--step--1);
  font-weight: 650;
  color: var(--text);
}

.guide-sieve__hint {
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.guide-constructor {
  margin-top: clamp(1.25rem, 1rem + 0.8vw, 1.75rem);
  padding: clamp(1rem, 0.85rem + 0.6vw, 1.35rem);
  border-color: color-mix(in srgb, var(--guide-accent) 22%, transparent);
}

.guide-constructor__title {
  margin: 0 0 0.45rem;
  font-size: var(--step-1);
}

.guide-constructor__lead {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.55;
  max-width: 72ch;
}

.guide-constructor__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 0.85rem;
}

.guide-constructor__contact {
  color: var(--guide-accent);
  font-size: var(--step--1);
  font-weight: 650;
  text-decoration: none;
}

.guide-constructor__contact:hover {
  text-decoration: underline;
}

.guide-protocol-result {
  margin-top: 1rem;
  padding: clamp(1rem, 0.85rem + 0.6vw, 1.35rem);
  border-color: color-mix(in srgb, var(--guide-accent) 35%, transparent);
}

.guide-protocol-result__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.guide-protocol-result__title {
  margin: 0;
  font-size: var(--step-1);
}

.guide-protocol-doc__meta {
  margin: 0 0 0.35rem;
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.5;
}

.guide-protocol-doc__header {
  margin: 0 0 0.65rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  font-size: var(--step-0);
  font-weight: 700;
  line-height: 1.45;
}

.guide-protocol-doc__h {
  margin: 1rem 0 0.45rem;
  font-size: var(--step-0);
}

.guide-protocol-doc__list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.55;
}

.guide-protocol-doc__list li {
  margin-bottom: 0.35rem;
}

.guide-protocol-doc__empty {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.5;
}

.guide-protocol-doc__footer {
  margin: 1.1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  font-size: 0.78rem;
}

@media print {
  .site-header,
  .site-footer,
  .guide-page__back,
  .guide-hero,
  .guide-layout,
  .guide-constructor,
  .guide-status--sticky {
    display: none !important;
  }

  .guide-protocol-result {
    display: block !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .guide-protocol-result__head button {
    display: none !important;
  }

  .guide-page--v2 {
    padding: 0 !important;
  }
}

.guide-panel__card:hover {
  border-color: color-mix(in srgb, var(--guide-accent) 35%, transparent);
  box-shadow: none;
  transform: none;
}

.guide-panel__title {
  margin: 0 0 0.55rem;
  font-size: var(--step-1);
  letter-spacing: -0.01em;
}

.guide-panel__intro {
  margin: -0.25rem 0 0.55rem;
  color: var(--text-muted);
  font-size: var(--step--1);
}

.guide-panel__list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.guide-panel__list li::marker {
  color: color-mix(in srgb, var(--guide-accent) 85%, white);
}

.guide-panel__list li {
  margin-bottom: 0.5rem;
}

/* ----- Статьи /tpost/ (инфоцентр, кейсы) ----- */
body.abg-merged .abg-merged-main--post .abg-post-hero.page-hero {
  padding-bottom: clamp(1.25rem, 3vw, 2rem);
}

.abg-post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  margin: 0 0 1rem;
  font-size: var(--fs-sm);
  color: var(--text-soft);
}

.abg-post-hero__date,
.abg-post-hero__author {
  margin: 0;
}

.abg-post-hero--case .abg-post-hero__date {
  display: none;
}

.abg-post-hero__tags {
  margin: 0 0 1.15rem;
}

.abg-post-hero__tag {
  cursor: default;
  pointer-events: none;
}

.abg-case-landing {
  margin: 0 0 1rem;
}

.abg-case-landing__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.65rem;
}

.abg-case-landing__chip {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: var(--fs-xs, 0.8125rem);
  line-height: 1.35;
  border: 1px solid var(--border-soft, rgba(255, 255, 255, 0.12));
  color: var(--text-soft);
  background: var(--bg-card, rgba(255, 255, 255, 0.04));
}

.abg-case-landing__chip--outcome {
  border-color: rgba(46, 160, 67, 0.45);
  color: var(--text, inherit);
}

.abg-case-landing__service {
  margin: 0;
  font-size: var(--fs-sm);
}

.abg-case-landing__service a {
  color: var(--accent);
  text-decoration: none;
}

.abg-case-landing__service a:hover {
  text-decoration: underline;
}

.breadcrumbs__back {
  margin: 0.35rem 0 0;
  font-size: var(--fs-sm);
}

.breadcrumbs__back a {
  color: var(--text-muted);
  text-decoration: none;
}

.breadcrumbs__back a:hover {
  color: var(--accent);
}

/* Единая ширина колонки статьи: текст и обложка */
body.abg-merged .abg-merged-main--post .container--post {
  max-width: min(58rem, 96vw);
  width: 100%;
}

body.abg-merged .abg-merged-main--post .abg-post-hero .page-hero__lead {
  max-width: none;
}

body.abg-merged .abg-merged-main--post .abg-post-hero .page-hero__title {
  max-width: none;
}

.abg-post-lead {
  margin: 1.35rem 0 0;
  padding: 0;
  width: 100%;
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

.abg-post-lead img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  /* contain – без обрезки широких иллюстраций (cover резал верх кадра) */
  max-height: min(28rem, 56vh);
  object-fit: contain;
  object-position: center center;
  vertical-align: middle;
}

.container--article {
  max-width: min(58rem, 96vw);
}

.abg-post-prose.prose--page {
  max-width: none;
}

.abg-post-prose {
  max-width: 100%;
  font-size: 1.125rem;
  line-height: 1.7;
}

.abg-post-prose .page-block-title {
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.abg-post-prose .page-block-title:first-child {
  margin-top: 0;
}

.abg-post-prose .abg-post-subtitle {
  margin: 1.35rem 0 0.65rem;
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.abg-post-prose .abg-post-kicker {
  margin: 1.15rem 0 0.5rem;
  font-size: var(--fs-base);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-soft);
  text-transform: uppercase;
}

.abg-post-prose .abg-post-p {
  margin: 0 0 1.1rem;
  font-size: inherit;
  line-height: inherit;
  color: var(--text-muted);
}

.abg-post-prose .abg-post-p:last-child {
  margin-bottom: 0;
}

.abg-post-prose p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.abg-post-prose h2:not(.page-block-title) {
  margin: 1.5rem 0 0.75rem;
  font-size: var(--step-2);
  font-weight: 600;
  color: var(--text);
}

.abg-post-prose h3 {
  margin: 1.25rem 0 0.6rem;
  font-size: var(--step-1);
  font-weight: 600;
}

.abg-post-prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.abg-post-prose a:hover {
  color: var(--text);
}

.abg-post-prose strong {
  color: var(--text);
  font-weight: 600;
}

.abg-post-prose ul,
.abg-post-prose ol {
  margin: 0.75rem 0 1.25rem;
  padding-left: 1.35rem;
  color: var(--text-muted);
}

.abg-post-prose li {
  margin-bottom: 0.45rem;
}

.abg-post-prose .abg-post-figure {
  margin: 1.35rem 0;
  padding: 0;
  width: 100%;
}

.abg-post-prose .abg-post-figure img,
.abg-post-prose > figure:first-child img,
.abg-post-prose img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(22rem, 45vh);
  object-fit: contain;
  object-position: center center;
  border-radius: var(--radius-sm);
}

.abg-post-prose .abg-post-quote {
  margin: 1.35rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid color-mix(in srgb, var(--accent) 55%, transparent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: color-mix(in srgb, var(--accent) 6%, var(--bg-card));
  color: var(--text-muted);
  font-style: italic;
}

/* Вставки из Tilda (embedcode) – только токены темы, без белого фона */
.abg-post-prose .abg-post-callout,
.abg-post-prose .t-redactor__embedcode {
  margin: 1.5rem 0;
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--bg-card) !important;
  font-family: var(--font-body, inherit);
  font-size: var(--fs-base);
  line-height: 1.55;
  color: var(--text-muted) !important;
}

.abg-post-prose .abg-post-callout > div:not(.abg-post-callout__actions):not(.abg-post-callout__legal),
.abg-post-prose .t-redactor__embedcode > div:not(.abg-post-callout__actions):not(.abg-post-callout__legal) {
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: inherit !important;
}

.abg-post-prose .abg-post-callout p,
.abg-post-prose .t-redactor__embedcode p {
  margin: 0 0 0.85rem;
  color: var(--text-muted) !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.abg-post-prose .abg-post-callout p:last-child,
.abg-post-prose .t-redactor__embedcode p:last-child {
  margin-bottom: 0;
}

.abg-post-prose .abg-post-callout strong,
.abg-post-prose .abg-post-callout .abg-post-callout__title,
.abg-post-prose .t-redactor__embedcode strong {
  color: var(--text) !important;
  font-weight: 600;
}

.abg-post-prose .abg-post-callout em,
.abg-post-prose .t-redactor__embedcode em {
  color: var(--text-muted) !important;
  font-style: italic;
}

.abg-post-prose .abg-post-callout hr,
.abg-post-prose .t-redactor__embedcode hr {
  margin: 0.9rem 0;
  border: 0;
  border-top: 1px solid var(--border) !important;
  background: transparent !important;
}

.abg-post-prose .abg-post-callout:has(.abg-post-callout__actions) hr {
  display: none;
}

/* CTA: кнопка услуги + телефон */
.abg-post-prose .abg-post-callout__actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1.25rem;
  margin: 1rem 0 0 !important;
  padding: 1rem 0 0 !important;
  border-top: 1px solid var(--border) !important;
}

.abg-post-prose .abg-post-callout__cta {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
  text-transform: none !important;
  text-decoration: none !important;
  color: var(--text) !important;
  border: 1px solid color-mix(in srgb, var(--accent) 45%, var(--border)) !important;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--accent) 14%, var(--bg-card));
  transition: border-color 0.15s ease, background 0.15s ease;
}

.abg-post-prose .abg-post-callout__cta:hover {
  color: var(--text) !important;
  border-color: var(--accent) !important;
  background: color-mix(in srgb, var(--accent) 22%, var(--bg-card));
}

.abg-post-prose .abg-post-callout__phone {
  font-size: 1.05rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  text-transform: none !important;
  text-decoration: none !important;
  color: var(--accent) !important;
  white-space: nowrap;
}

.abg-post-prose .abg-post-callout__phone:hover {
  color: var(--text) !important;
}

/* Маркировка рекламы – мелко и ненавязчиво */
.abg-post-prose .abg-post-callout__legal {
  margin: 0.5rem 0 0 !important;
  padding: 0 !important;
  font-size: 0.625rem !important;
  line-height: 1.4 !important;
  letter-spacing: 0.02em;
  color: color-mix(in srgb, var(--text-soft) 55%, transparent) !important;
  opacity: 0.72;
}

.abg-post-prose .abg-post-callout__legal a {
  color: inherit !important;
  text-decoration: none !important;
  border: none !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

.abg-post-prose .abg-post-callout span,
.abg-post-prose .t-redactor__embedcode span {
  color: inherit !important;
}

.abg-post-prose .post-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 0.75rem;
  margin: 1.35rem 0;
}

.abg-post-prose .post-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--border);
}

body.abg-merged .abg-merged-main--post .svc-related-cases {
  border-top: 1px solid var(--border);
  padding-top: 0.5rem;
}

/* Полный список услуг под Bento-витриной на хабах практик */
.hub-services-full {
  padding-block: clamp(2rem, 4vw, 3rem);
}

.hub-services-full__inner {
  max-width: 52rem;
}

.hub-services-full__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hub-services-full__accordion {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.hub-services-full__group {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.hub-services-full__summary {
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-weight: 600;
  list-style: none;
}

.hub-services-full__summary::-webkit-details-marker {
  display: none;
}

.hub-services-full__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  padding: 0 1rem 1rem;
}

.hub-services-full__tag {
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.hub-services-full__tag:hover,
.hub-services-full__tag:focus-visible {
  border-bottom-color: currentColor;
}

/* ----- Home UX refresh (главная, layout home_simple) ----- */

.home-simple-hero .home-hero__title {
  line-height: 1.32;
}

.home-credential {
  font-weight: 700;
  color: var(--accent);
}

.home-hero__agency-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.35rem;
}

.home-agency-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.65rem;
  border: 1px solid rgba(197, 168, 128, 0.38);
  border-radius: 999px;
  background: rgba(197, 168, 128, 0.1);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-hero__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 26rem;
  margin-bottom: 1rem;
  overflow: hidden;
  isolation: isolate;
  animation: home-cta-pulse 2.8s ease-in-out infinite;
}

.home-hero__cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.42) 50%,
    transparent 62%
  );
  transform: translateX(-130%);
  animation: home-cta-shine 3.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes home-cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.35);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(197, 168, 128, 0);
  }
}

@keyframes home-cta-shine {
  0%,
  72% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(130%);
  }
}

.brand-icon--telegram {
  color: #2aabee;
}

.brand-icon--whatsapp {
  color: #25d366;
}

.brand-icon--email {
  color: #5eb0ff;
}

.brand-icon--phone {
  color: #34c759;
}

.brand-icon--vk {
  flex-shrink: 0;
}

.quick-socials__link--email:hover .brand-icon--email,
.quick-socials__link--email:focus-visible .brand-icon--email {
  color: #8ec8ff;
}

.quick-socials__link--phone:hover .brand-icon--phone,
.quick-socials__link--phone:focus-visible .brand-icon--phone {
  color: #5ee87a;
}

.quick-socials__link:hover .brand-icon--vk,
.quick-socials__link:focus-visible .brand-icon--vk {
  color: #4d9dff;
}

.home-hero__channel--telegram:hover .brand-icon--telegram,
.home-hero__channel--telegram:focus-visible .brand-icon--telegram {
  color: #5bc8ff;
}

.home-hero__channel--whatsapp:hover .brand-icon--whatsapp,
.home-hero__channel--whatsapp:focus-visible .brand-icon--whatsapp {
  color: #3fe07a;
}

.home-hero__channel--vk:hover .brand-icon--vk,
.home-hero__channel--vk:focus-visible .brand-icon--vk {
  color: #4d9dff;
}

.home-navigator__chip--role {
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease;
}

.home-navigator__chip--role:hover,
.home-navigator__chip--role:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.home-navigator__chip:hover,
.home-navigator__chip:focus-visible {
  border-color: var(--accent);
  background: var(--accent);
  color: #0a0f18;
  font-weight: 700;
}

.home-navigator__chip[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #0a0f18;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(197, 168, 128, 0.28);
}

.home-navigator__chip-abbr {
  font-size: 1.08em;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.home-navigator__chip[aria-pressed="true"] .home-navigator__chip-abbr,
.home-navigator__chip:hover .home-navigator__chip-abbr,
.home-navigator__chip:focus-visible .home-navigator__chip-abbr {
  color: inherit;
}

@media (min-width: 1100px) {
  .home-macro-columns {
    display: flex;
    align-items: stretch;
    gap: 0.55rem;
  }

  .home-macro-column {
    flex: 1 1 0;
    min-width: 0;
    padding: 1.35rem 1.1rem 1.4rem;
    transition:
      flex 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.25s ease,
      box-shadow 0.25s ease,
      transform 0.25s ease,
      opacity 0.3s ease;
  }

  .home-macro-column:hover,
  .home-macro-column.is-active {
    flex: 2.15 1 0;
    transform: translateY(-3px);
  }

  .home-macro-column.is-dimmed {
    flex: 0.72 1 0;
    opacity: 0.58;
  }
}

.home-macro-column__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  margin-bottom: 0.35rem;
}

.home-macro-column__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: 50%;
  color: var(--accent);
}

.home-macro-column__icon svg {
  width: 1.15rem;
  height: 1.15rem;
}

.home-macro-column {
  padding: 1.25rem 1.15rem 1.35rem;
}

.home-macro-column__hub-link {
  padding: 0.7rem 0.6rem;
}

.home-abbr-tag {
  display: inline-block;
  margin: 0 0.12rem;
  padding: 0.08rem 0.38rem;
  border: 1px solid rgba(197, 168, 128, 0.28);
  border-radius: 4px;
  background: rgba(197, 168, 128, 0.08);
  font-size: 0.875em;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
  color: var(--accent);
  white-space: nowrap;
}

.home-stat-accent {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.home-standards__card-text .home-stat-accent {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.home-case-study .card__title .home-stat-accent {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.home-agency-mark {
  padding: 0.06rem 0.28rem;
  border-radius: 3px;
  background: rgba(197, 168, 128, 0.12);
  color: inherit;
  font-weight: 650;
}

.home-case-study__timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem 0.5rem;
  margin: 0.85rem 0 0.65rem;
  padding: 0;
  list-style: none;
}

/* Вертикальный таймлайн кейса: шаг + Проблема/Решение/Результат в одной строке */
.home-case-study__journey {
  margin: 1.1rem 0 0;
}

.home-case-study__journey-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(0.55rem, 1.2vw, 0.95rem);
}

.home-case-study__journey-item {
  display: grid;
  grid-template-columns: 1.35rem minmax(0, 1fr);
  gap: 0 0.8rem;
  align-items: stretch;
  opacity: 0.72;
  transition: opacity 0.32s ease;
}

.home-case-study__journey-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.42rem;
}

.home-case-study__journey-rail::after {
  content: "";
  flex: 1;
  width: 2px;
  margin-top: 0.35rem;
  min-height: 0.75rem;
  border-radius: 999px;
  background: rgba(197, 168, 128, 0.22);
  transform-origin: top center;
  transform: scaleY(var(--journey-segment, 0));
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-case-study__journey.is-animated .home-case-study__journey-rail::after {
  transform: scaleY(1);
}

.home-case-study__journey-item:last-child .home-case-study__journey-rail::after {
  display: none;
}

.home-case-study__journey-dot {
  width: 0.82rem;
  height: 0.82rem;
  border-radius: 50%;
  border: 2px solid rgba(197, 168, 128, 0.38);
  background: var(--bg-card);
  flex-shrink: 0;
  transition:
    border-color 0.28s ease,
    background-color 0.28s ease,
    transform 0.28s ease,
    box-shadow 0.28s ease;
}

.home-case-study__journey-content {
  padding: 0.55rem 0.7rem 0.35rem 0.8rem;
  border-left: 2px solid transparent;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  transition:
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.home-case-study__journey-item:last-child .home-case-study__journey-content {
  padding-bottom: 0.35rem;
}

.home-case-study__journey-step {
  margin: 0 0 0.35rem;
  font-size: clamp(0.8125rem, 1.1vw, 0.86rem);
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.home-case-study__journey-kicker {
  margin: 0 0 0.32rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-case-study__journey-text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.home-case-study__journey.is-animated .home-case-study__journey-item {
  opacity: 1;
}

.home-case-study__journey.is-animated .home-case-study__journey-item:nth-child(1) {
  transition-delay: 0.05s;
}

.home-case-study__journey.is-animated .home-case-study__journey-item:nth-child(2) {
  transition-delay: 0.18s;
}

.home-case-study__journey.is-animated .home-case-study__journey-item:nth-child(3) {
  transition-delay: 0.31s;
}

.home-case-study__journey.is-animated .home-case-study__journey-item:nth-child(1) .home-case-study__journey-rail::after {
  transition-delay: 0.12s;
}

.home-case-study__journey.is-animated .home-case-study__journey-item:nth-child(2) .home-case-study__journey-rail::after {
  transition-delay: 0.28s;
}

.home-case-study__journey.is-animated .home-case-study__journey-dot {
  border-color: var(--accent);
  background: var(--accent);
}

.home-case-study__journey-item:hover,
.home-case-study__journey-item:focus-within,
.home-case-study__journey-item.is-active {
  opacity: 1;
}

.home-case-study__journey-item:hover .home-case-study__journey-dot,
.home-case-study__journey-item:focus-within .home-case-study__journey-dot,
.home-case-study__journey-item.is-active .home-case-study__journey-dot {
  border-color: var(--accent);
  background: var(--accent);
  transform: scale(1.12);
  box-shadow: 0 0 0 4px rgba(201, 169, 98, 0.16);
}

.home-case-study__journey-item:hover .home-case-study__journey-content,
.home-case-study__journey-item:focus-within .home-case-study__journey-content,
.home-case-study__journey-item.is-active .home-case-study__journey-content {
  border-left-color: rgba(201, 169, 98, 0.55);
  background: rgba(201, 169, 98, 0.07);
}

.home-case-study__journey-item:hover .home-case-study__journey-step,
.home-case-study__journey-item:focus-within .home-case-study__journey-step,
.home-case-study__journey-item.is-active .home-case-study__journey-step {
  color: var(--accent);
}

.home-case-study__timeline::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  right: 0.45rem;
  top: 0.62rem;
  height: 3px;
  border-radius: 999px;
  background: rgba(197, 168, 128, 0.18);
  z-index: 0;
}

.home-case-study__timeline.is-animated::before {
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) var(--timeline-progress, 0%),
    rgba(197, 168, 128, 0.18) var(--timeline-progress, 0%),
    rgba(197, 168, 128, 0.18) 100%
  );
  transition: --timeline-progress 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-case-study__timeline-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  width: 100%;
  text-align: center;
  opacity: 0.45;
  transition: opacity 0.35s ease;
}

.home-case-study__timeline.is-animated .home-case-study__timeline-step {
  opacity: 1;
}

.home-case-study__timeline-dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 3px solid rgba(197, 168, 128, 0.35);
  background: var(--bg-card);
  transition:
    border-color 0.35s ease,
    background-color 0.35s ease,
    transform 0.35s ease;
}

.home-case-study__timeline.is-animated .home-case-study__timeline-dot {
  border-color: var(--accent);
  background: var(--accent);
  transform: scale(1.08);
}

.home-case-study__timeline-label {
  font-size: 0.64rem;
  font-weight: 600;
  line-height: 1.28;
  color: var(--text-muted);
  max-width: 100%;
  overflow-wrap: break-word;
}

.home-recognition__logo-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.7rem;
  width: 100%;
  min-height: 7.5rem;
  min-width: 0;
  padding: 1rem 0.75rem 0.85rem;
  text-decoration: none;
  border-radius: var(--radius-md);
  background: rgba(12, 20, 36, 0.42);
  border: 1px solid rgba(197, 168, 128, 0.2);
  box-shadow: none;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease,
    background-color 0.28s ease;
}

.home-recognition__logo-link--surface-light,
.home-recognition__logo-link--surface-dark {
  background: rgba(12, 20, 36, 0.42);
  border: 1px solid rgba(197, 168, 128, 0.2);
  box-shadow: none;
}

.home-recognition__logo-link--static {
  cursor: default;
}

.home-recognition__logo-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 3.75rem;
}

.home-recognition__logo-img {
  display: block;
  height: clamp(2.65rem, 4.2vw, 3.35rem);
  width: auto;
  max-width: min(100%, 11rem);
  object-fit: contain;
  filter: grayscale(1) brightness(1.9) contrast(0.5);
  opacity: 0.58;
  transition:
    filter 0.32s ease,
    opacity 0.32s ease,
    transform 0.28s ease;
}

.home-recognition__logo-caption {
  display: block;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--text-muted);
}

.home-recognition__logo-link--surface-light .home-recognition__logo-caption,
.home-recognition__logo-link--surface-dark .home-recognition__logo-caption {
  color: var(--text-muted);
}

.home-recognition__logo-link.is-fallback .home-recognition__logo-visual {
  min-height: 0;
}

.home-recognition__logo-link.is-fallback .home-recognition__logo-caption {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}

.home-recognition__logo-link:hover,
.home-recognition__logo-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(197, 168, 128, 0.42);
  background: rgba(12, 20, 36, 0.62);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.home-recognition__logo-link:hover .home-recognition__logo-img,
.home-recognition__logo-link:focus-visible .home-recognition__logo-img {
  filter: none;
  opacity: 1;
}

.home-recognition__logo-link--surface-light:hover,
.home-recognition__logo-link--surface-light:focus-visible,
.home-recognition__logo-link--surface-dark:hover,
.home-recognition__logo-link--surface-dark:focus-visible {
  border-color: rgba(197, 168, 128, 0.42);
  background: rgba(12, 20, 36, 0.62);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

.home-recognition__logo-shell {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
}

.home-recognition__logo-item:has(.home-recognition__logo-shell:hover),
.home-recognition__logo-item:has(.home-recognition__logo-shell:focus-within) {
  z-index: 25;
}

.home-recognition__logo-tip {
  position: absolute;
  z-index: 40;
  left: 50%;
  bottom: calc(100% + 0.7rem);
  width: min(19rem, calc(100vw - 2rem));
  padding: 0.85rem 0.95rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 168, 128, 0.38);
  background: rgba(10, 16, 30, 0.96);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px) scale(0.98);
  transition:
    opacity 0.24s ease,
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.24s ease;
}

.home-recognition__logo-tip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.42rem;
  width: 0.85rem;
  height: 0.85rem;
  border-right: 1px solid rgba(197, 168, 128, 0.38);
  border-bottom: 1px solid rgba(197, 168, 128, 0.38);
  background: rgba(10, 16, 30, 0.96);
  transform: translateX(-50%) rotate(45deg);
}

.home-recognition__logo-tip::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 0.8rem;
}

.home-recognition__logo-tip-text {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(242, 245, 249, 0.92);
  text-wrap: pretty;
}

.home-recognition__logo-tip-cta {
  display: inline-block;
  margin-top: 0.55rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

.home-recognition__logo-tip-cta:hover,
.home-recognition__logo-tip-cta:focus-visible {
  color: #e8d4b8;
  text-decoration: underline;
}

.home-recognition__logo-tip.is-below {
  bottom: auto;
  top: calc(100% + 0.7rem);
  transform: translateX(-50%) translateY(-8px) scale(0.98);
}

.home-recognition__logo-tip.is-below::after {
  top: -0.42rem;
  bottom: auto;
  border-right: 0;
  border-bottom: 0;
  border-left: 1px solid rgba(197, 168, 128, 0.38);
  border-top: 1px solid rgba(197, 168, 128, 0.38);
}

.home-recognition__logo-tip.is-below::before {
  top: auto;
  bottom: 100%;
}

.home-recognition__logo-tip.is-align-left {
  left: 0;
  transform: translateX(0) translateY(8px) scale(0.98);
}

.home-recognition__logo-tip.is-align-left::after {
  left: 1.65rem;
}

.home-recognition__logo-tip.is-align-right {
  left: auto;
  right: 0;
  transform: translateX(0) translateY(8px) scale(0.98);
}

.home-recognition__logo-tip.is-align-right::after {
  left: auto;
  right: 1.65rem;
}

.home-recognition__logo-tip.is-measuring {
  visibility: visible !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (hover: hover) and (pointer: fine) {
  .home-recognition__logo-shell:hover .home-recognition__logo-tip,
  .home-recognition__logo-shell:focus-within .home-recognition__logo-tip {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .home-recognition__logo-shell:hover .home-recognition__logo-tip.is-below,
  .home-recognition__logo-shell:focus-within .home-recognition__logo-tip.is-below {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .home-recognition__logo-shell:hover .home-recognition__logo-tip.is-align-left,
  .home-recognition__logo-shell:focus-within .home-recognition__logo-tip.is-align-left {
    transform: translateX(0) translateY(0) scale(1);
  }

  .home-recognition__logo-shell:hover .home-recognition__logo-tip.is-align-right,
  .home-recognition__logo-shell:focus-within .home-recognition__logo-tip.is-align-right {
    transform: translateX(0) translateY(0) scale(1);
  }
}

.home-recognition__partners,
.home-recognition__partners-head,
.home-recognition__logos-grid,
.home-recognition__logo-item {
  overflow: visible;
}


/* ----- Catalog UX refresh (/services) ----- */

.services-search--catalog {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 40rem;
  margin: 0 auto;
}

.services-search--catalog .services-search__icon {
  position: absolute;
  left: 1.1rem;
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.9;
  pointer-events: none;
}

.services-search__input--catalog {
  width: 100%;
  padding: 1.15rem 2.5rem 1.15rem 3rem;
  font-size: 1.02rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(197, 168, 128, 0.42);
  border-radius: var(--radius-md);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 10px 28px rgba(0, 0, 0, 0.22);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.services-search__input--catalog::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.services-search__input--catalog:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.09);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 2px var(--accent-glow),
    0 14px 32px rgba(0, 0, 0, 0.28);
}

.services-search__caret {
  position: absolute;
  right: 1.15rem;
  width: 2px;
  height: 1.15rem;
  background: var(--accent);
  border-radius: 1px;
  opacity: 0;
  pointer-events: none;
}

.services-search--catalog:not(:focus-within) .services-search__input--catalog:placeholder-shown ~ .services-search__caret {
  opacity: 1;
  animation: svc-search-caret-blink 1.05s step-end infinite;
}

@keyframes svc-search-caret-blink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.services-catalog__filter {
  padding: 0.52rem 1.05rem;
  border-radius: 999px;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.services-catalog__filter:hover,
.services-catalog__filter:focus-visible {
  border-color: var(--accent);
  background: rgba(197, 168, 128, 0.12);
  color: var(--text);
  transform: translateY(-1px);
}

.services-catalog__filter.is-active {
  border-color: rgba(197, 168, 128, 0.55);
  background: rgba(197, 168, 128, 0.14);
  color: var(--accent);
  font-weight: 700;
  box-shadow: none;
}

.svc-sticky-tabs {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.svc-sticky-tabs__tab {
  position: relative;
  border-radius: 0;
  padding: 0.65rem 0.95rem 0.75rem;
  gap: 0.45rem;
}

.svc-sticky-tabs__tab.is-active {
  color: var(--accent);
  border-color: transparent;
  background: transparent;
  font-weight: 700;
}

.svc-sticky-tabs__tab.is-active::after {
  content: "";
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(197, 168, 128, 0.55);
}

.svc-card__title {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.svc-card__title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.15rem;
  height: 2.15rem;
  margin-top: 0.1rem;
  border: 1px solid rgba(197, 168, 128, 0.32);
  border-radius: 50%;
  color: var(--accent);
}

.svc-card__title-icon svg {
  width: 1.05rem;
  height: 1.05rem;
}

.svc-card__title-text {
  flex: 1;
  min-width: 0;
}

.svc-card__badge {
  border: 1px solid rgba(197, 168, 128, 0.28);
  background: transparent;
  color: var(--text-soft);
  font-weight: 600;
}

.svc-scan-emph {
  font-weight: 600;
  color: inherit;
}

.svc-card__desc .svc-scan-emph {
  color: var(--text);
}

.svc-scan-accent {
  font-weight: 600;
  color: inherit;
}

.svc-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  line-height: 1.65;
}

.svc-card__list li::before {
  content: "›";
  flex-shrink: 0;
  margin-top: 0.02rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-soft);
  opacity: 0.75;
}

.svc-card__list a {
  flex: 1;
  min-width: 0;
  border-bottom: none;
}

.svc-card__list a:hover,
.svc-card__list a:focus-visible {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow:
    inset 0 0 0 1px rgba(197, 168, 128, 0.14),
    inset 0 1px 24px rgba(197, 168, 128, 0.06),
    0 14px 32px -12px rgba(0, 0, 0, 0.55);
}

.svc-card__spoiler {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0.35rem 0 0.85rem;
  padding: 0;
  border: none;
  background: none;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-soft);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease, gap 0.2s ease;
}

.svc-card__spoiler:hover,
.svc-card__spoiler:focus-visible {
  color: var(--text-muted);
  gap: 0.5rem;
}

.svc-card__spoiler-arrow {
  flex-shrink: 0;
  color: var(--text-soft);
  opacity: 0.8;
  transition: transform 0.28s ease, opacity 0.2s ease;
  animation: none;
}

.svc-card__spoiler.is-expanded .svc-card__spoiler-arrow {
  transform: rotate(180deg);
  animation: none;
}

@keyframes svc-spoiler-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(3px);
  }
}

.services-catalog-cta--glow {
  background:
    radial-gradient(ellipse 70% 80% at 50% 100%, rgba(201, 169, 98, 0.08), transparent 55%),
    var(--bg-deep);
  border-top-color: var(--border);
}

.services-catalog-cta--glow .services-catalog-cta__panel {
  border-color: rgba(197, 168, 128, 0.28);
  background: var(--bg-card);
  box-shadow:
    0 0 48px rgba(201, 169, 98, 0.08),
    0 18px 42px rgba(0, 0, 0, 0.28);
}

.services-catalog-cta--glow .abg-hairline-contact__vk svg {
  filter: none;
}

.services-catalog-cta--glow .abg-hairline-contact__messenger--mail svg {
  color: rgba(197, 168, 128, 0.95);
  stroke: rgba(197, 168, 128, 0.95);
}

.services-catalog-cta--glow .abg-hairline-contact__messenger--telegram svg {
  color: #2aabee;
  stroke: #2aabee;
}

.services-catalog-cta--glow .abg-hairline-contact__messenger--whatsapp svg {
  color: #25d366;
  stroke: #25d366;
}

.services-catalog-cta--glow .abg-hairline-contact__messenger {
  border-color: rgba(197, 168, 128, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.services-catalog-cta--glow .abg-hairline-contact__messenger:hover,
.services-catalog-cta--glow .abg-hairline-contact__messenger:focus-visible {
  border-color: rgba(197, 168, 128, 0.45);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

/* ----- Practice hub UX refresh (лендинги /practice/*) ----- */

.tax-landing-hero--practice .tax-landing-hero__inner {
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: center;
}

@media (min-width: 900px) {
  .tax-landing-hero--practice .tax-landing-hero__inner {
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 0.78fr);
    gap: clamp(1.5rem, 2.8vw, 2.25rem);
    align-items: center;
  }

  .tax-landing-hero--practice .tax-landing__portrait--immersive {
    margin-left: -1.25rem;
    justify-self: start;
  }
}

.tax-landing-hero__cta-stack {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 0 1.35rem;
  max-width: 36rem;
}

.tax-landing-hero__cta-btn {
  position: relative;
  width: fit-content;
  max-width: 100%;
  padding: 0.85rem 1.65rem;
  overflow: hidden;
  isolation: isolate;
  animation: practice-cta-pulse 2.8s ease-in-out infinite;
}

.tax-landing-hero__cta-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 38%,
    rgba(255, 255, 255, 0.38) 50%,
    transparent 62%
  );
  transform: translateX(-130%);
  animation: practice-cta-shine 3.6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes practice-cta-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(197, 168, 128, 0.32);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(197, 168, 128, 0);
  }
}

@keyframes practice-cta-shine {
  0%,
  72% {
    transform: translateX(-130%);
  }
  100% {
    transform: translateX(130%);
  }
}

.tax-landing-hero__hairline--compact {
  margin-top: 0.15rem;
}

.tax-landing-hero--practice .tax-hero-highlight {
  border-color: rgba(197, 168, 128, 0.42);
  background: linear-gradient(
    155deg,
    rgba(197, 168, 128, 0.1) 0%,
    rgba(255, 255, 255, 0.03) 48%,
    rgba(88, 140, 220, 0.05) 100%
  );
  box-shadow:
    inset 0 0 0 1px rgba(197, 168, 128, 0.12),
    0 12px 30px rgba(0, 0, 0, 0.16);
}

.tax-vitrine__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.65rem;
  border: 1px solid rgba(197, 168, 128, 0.32);
  border-radius: 50%;
  color: var(--accent);
}

.tax-vitrine__icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.tax-vitrine__abbr,
.practice-scan-accent,
.svc-scan-accent {
  font-weight: 800;
  color: var(--accent);
}

.tax-vitrine__abbr {
  font-size: 1.08em;
  letter-spacing: 0.03em;
}

.tax-vitrine__card--active {
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

.tax-vitrine__card--active:hover,
.tax-vitrine__card--active:focus-visible {
  transform: translateY(-4px);
  background: linear-gradient(
    160deg,
    rgba(255, 255, 255, 0.06) 0%,
    rgba(197, 168, 128, 0.08) 100%
  );
  box-shadow:
    inset 0 0 0 1px rgba(197, 168, 128, 0.16),
    0 16px 34px rgba(0, 0, 0, 0.28);
}

.tax-landing-adv__card {
  position: relative;
  overflow: hidden;
}

.tax-landing-adv__card-watermark {
  position: absolute;
  top: 0.35rem;
  right: 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--accent);
  opacity: 0.08;
  pointer-events: none;
  user-select: none;
}

.tax-landing-adv__card-title,
.tax-landing-adv__card-text,
.tax-adv__highlights {
  position: relative;
  z-index: 1;
}

.tax-cases__result-panel {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(197, 168, 128, 0.35);
  background: linear-gradient(
    135deg,
    rgba(197, 168, 128, 0.16) 0%,
    rgba(88, 140, 220, 0.1) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.tax-cases__result-label {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.tax-cases__result-text {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text);
}

.tax-case-track__line {
  height: 4px;
}

.tax-case-track.is-animated .tax-case-track__line {
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent) var(--track-progress, 0%),
    rgba(197, 168, 128, 0.18) var(--track-progress, 0%),
    rgba(88, 140, 220, 0.25) 100%
  );
  transition: --track-progress 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.tax-case-track__dot {
  width: 0.85rem;
  height: 0.85rem;
  border: 3px solid rgba(197, 168, 128, 0.35);
  background: var(--bg-card);
  box-shadow: none;
  opacity: 0.5;
  transition:
    opacity 0.35s ease,
    border-color 0.35s ease,
    background-color 0.35s ease,
    transform 0.35s ease;
}

.tax-case-track.is-animated .tax-case-track__dot {
  opacity: 1;
  border-color: var(--accent);
  background: var(--accent);
  transform: scale(1.08);
  box-shadow:
    0 0 0 3px rgba(197, 168, 128, 0.18),
    0 0 14px rgba(197, 168, 128, 0.45);
}

[class$="-practice-hub"] .abg-lead-quiz__issue[aria-pressed="true"],
.abg-service-hub .abg-lead-quiz__issue[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #0a0f18;
  box-shadow: 0 6px 18px rgba(197, 168, 128, 0.28);
}

[class$="-practice-hub"] .tax-emergency--progressive .abg-hairline-contact__messenger--telegram svg,
.abg-service-hub .tax-emergency--progressive .abg-hairline-contact__messenger--telegram svg {
  color: #2aabee;
  stroke: #2aabee;
}

[class$="-practice-hub"] .tax-emergency--progressive .abg-hairline-contact__messenger--whatsapp svg,
.abg-service-hub .tax-emergency--progressive .abg-hairline-contact__messenger--whatsapp svg {
  color: #25d366;
  stroke: #25d366;
}

[class$="-practice-hub"] .tax-emergency--progressive .abg-hairline-contact__messenger,
.abg-service-hub .tax-emergency--progressive .abg-hairline-contact__messenger {
  border-color: rgba(138, 160, 196, 0.28);
  background: rgba(255, 255, 255, 0.05);
}

[class$="-practice-hub"] .tax-emergency--progressive .abg-hairline-contact__messenger:hover,
[class$="-practice-hub"] .tax-emergency--progressive .abg-hairline-contact__messenger:focus-visible,
.abg-service-hub .tax-emergency--progressive .abg-hairline-contact__messenger:hover,
.abg-service-hub .tax-emergency--progressive .abg-hairline-contact__messenger:focus-visible {
  border-color: rgba(197, 168, 128, 0.45);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}

.practice-adjacent__card {
  border-color: rgba(197, 168, 128, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.practice-adjacent__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}

.practice-adjacent__arrow .abg-vector-arrow {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s ease;
}

.practice-adjacent__card:hover .practice-adjacent__arrow .abg-vector-arrow,
.practice-adjacent__card:focus-visible .practice-adjacent__arrow .abg-vector-arrow {
  transform: translate(3px, -3px);
}

/* ----- Главная: hero «визитка эксперта» + карусель специализации ----- */

.home-hero__agency-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.home-hero__eyebrow {
  margin: 0 0 0.9rem;
  max-width: 42rem;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(201, 169, 98, 0.85);
}

.home-hero__lead-block {
  margin: 0 0 1.35rem;
  max-width: 42rem;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(201, 169, 98, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(10, 16, 26, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home-hero__lead-intro {
  margin: 0 0 0.7rem;
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.5;
  color: var(--hero-text);
}

.home-hero__lead-list {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-hero__lead-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--hero-text);
}

.home-hero__lead-icon {
  flex-shrink: 0;
  display: flex;
  margin-top: 0.18em;
  color: rgba(201, 169, 98, 0.92);
}

.home-hero__lead-icon svg {
  display: block;
  width: 1.05rem;
  height: 1.05rem;
}

.home-hero__lead-text {
  flex: 1 1 auto;
  min-width: 0;
}

.home-hero__lead-label {
  font-weight: 600;
  color: var(--hero-strong);
}

.home-hero__agency-eyebrow-item + .home-hero__agency-eyebrow-item::before {
  content: "·";
  margin: 0 0.35rem;
  opacity: 0.65;
}

.home-hero__copy--lean .home-hero__lead {
  margin-bottom: 1.35rem;
}

.home-hero__copy--lean .home-hero__lead-block {
  margin-bottom: 1.35rem;
}

.home-hero__contact-cluster--minimal {
  margin-top: 0;
}

.home-hero__contact-cluster--minimal .home-hero__cta {
  width: fit-content;
  max-width: 100%;
  margin-bottom: 0.85rem;
}

.home-hero__contact-trust {
  margin: 0.9rem 0 0;
  max-width: 38rem;
  font-size: 0.875rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(242, 245, 249, 0.58);
}

.home-hero__quick-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
}

.home-hero__phone-inline {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--hero-strong);
  text-decoration: none;
  white-space: nowrap;
}

.home-hero__phone-inline:hover,
.home-hero__phone-inline:focus-visible {
  color: var(--accent);
}

.home-hero__quick-divider {
  color: var(--hero-muted);
  opacity: 0.55;
  user-select: none;
}

.home-hero__socials-row--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.home-hero__socials-row--inline .home-hero__channel {
  padding: 0.3rem 0.65rem;
  border: none;
  background: transparent;
}

.home-hero__portrait-col--expert {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.home-hero__expert-panel {
  width: 100%;
  max-width: 26.5rem;
  padding: 0 clamp(0.75rem, 1.4vw, 1rem) clamp(0.85rem, 1.5vw, 1rem);
  border: 1px solid rgba(201, 169, 98, 0.24);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.home-hero__expert-panel .home-hero__portrait {
  width: calc(100% + clamp(1.5rem, 2.8vw, 2rem));
  max-width: none;
  margin: 0 calc(-1 * clamp(0.75rem, 1.4vw, 1rem)) 0.35rem;
  border-radius: 0;
}

.home-simple-hero--expert .home-hero__expert-panel .home-hero__portrait img {
  width: 100%;
  max-width: none;
  border-radius: 0;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0, 0, 0, 0.4) 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 68%, rgba(0, 0, 0, 0.4) 86%, transparent 100%);
}

.home-simple-hero--expert .home-hero__expert-panel .home-hero__portrait::before {
  left: 0;
  right: 0;
  bottom: 0;
  height: 42%;
  border-radius: 0;
  background: linear-gradient(to bottom, transparent, rgba(6, 10, 16, 0.55));
  filter: blur(10px);
  opacity: 0.9;
}

.home-simple-hero--expert .home-hero__expert-panel .home-hero__portrait::after {
  border-radius: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    transparent 48%,
    rgba(6, 10, 16, 0.35) 72%,
    rgba(6, 10, 16, 0.92) 100%
  );
  mix-blend-mode: normal;
  opacity: 1;
}

.home-hero__credentials-block {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(201, 169, 98, 0.18);
}

.home-hero__credentials-lead {
  margin: 0 0 0.65rem;
  padding-top: 0;
  border-top: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: left;
}

.home-hero__credentials {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.home-hero__credential {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  min-height: 100%;
  padding: 0.62rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(10, 16, 26, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    inset 0 0 0 1px rgba(201, 169, 98, 0.08);
}

.home-hero__credential::before {
  content: "◆";
  flex-shrink: 0;
  margin-top: 0.12em;
  font-size: 0.75rem;
  line-height: 1;
  color: var(--accent);
}

.home-hero__credential-line {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--hero-text);
  text-align: left;
}

.home-simple-hero--expert .home-hero__portrait-col--expert .home-hero__portrait {
  align-self: stretch;
}

.home-simple-hero--expert .home-hero__expert-panel {
  align-self: center;
}

@media (min-width: 900px) {
  .home-simple-hero--expert .home-simple-hero__grid {
    align-items: center;
    gap: clamp(1.25rem, 2.5vw, 2rem);
  }

  .home-simple-hero--expert .home-hero__portrait-col--expert {
    align-items: stretch;
  }

  .home-simple-hero--expert .home-hero__expert-panel .home-hero__portrait img {
    max-height: min(28rem, calc(100svh - var(--site-header-h, 5rem) - 8rem));
    object-fit: cover;
    object-position: top center;
  }
}

@media (min-width: 1280px) {
  .home-simple-hero--expert .home-hero__portrait-col--expert {
    transform: translateX(0.5rem);
  }
}

.home-practices--bento {
  --macro-bento-bg: rgba(12, 20, 36, 0.55);
  --macro-bento-bg-hover: rgba(7, 14, 28, 0.88);
  --macro-bento-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
  --macro-bento-list: #c8d0dc;
  --macro-bento-height: 17rem;
}

.home-practices--bento .home-practices__head {
  text-align: center;
}

.home-practices--bento .home-practices__lead {
  display: none;
}

.home-macro-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 1.5vw, 1rem);
  margin: 0 auto;
  max-width: 72rem;
  align-items: stretch;
}

@media (min-width: 640px) {
  .home-macro-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .home-macro-bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-macro-bento__card--protocols {
    grid-column: 1 / -1;
  }
}

.home-macro-bento__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: var(--macro-bento-height);
  padding: clamp(1.35rem, 2.4vw, 1.85rem);
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: var(--radius-md);
  background: var(--macro-bento-bg);
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  transition:
    border-color 0.32s ease,
    box-shadow 0.32s ease,
    background 0.32s ease,
    transform 0.32s ease;
}

.home-macro-bento__card--protocols {
  gap: clamp(1rem, 2vw, 1.35rem);
  min-height: auto;
  padding-bottom: clamp(1.25rem, 2.2vw, 1.55rem);
}

.home-macro-bento__card--protocols .home-macro-bento__icon {
  position: static;
  flex-shrink: 0;
}

.home-macro-bento__protocol-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-bottom: 0.45rem;
}

.home-macro-bento__protocol-title-row .home-macro-bento__title {
  margin: 0;
  flex: 1 1 auto;
  min-width: min(14rem, 100%);
}

.home-section-head-link--in-card {
  flex-shrink: 0;
  margin-left: auto;
  font-size: clamp(0.75rem, 1.05vw, 0.8rem);
}

.home-macro-bento__protocol-copy {
  flex: 1;
  min-width: 0;
}

.home-macro-bento__protocol-head {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.85rem, 1.8vw, 1.15rem);
}

.home-macro-bento__protocol-lead {
  margin: 0;
  max-width: 52rem;
  font-size: clamp(0.92rem, 1.25vw, 1.02rem);
  line-height: 1.58;
  color: var(--text-soft);
}

.home-macro-bento__protocol-grid {
  display: grid;
  width: 100%;
  gap: clamp(0.55rem, 1.1vw, 0.75rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .home-macro-bento__protocol-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.home-macro-bento__protocol-tile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-radius: calc(var(--radius-sm) - 2px);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition:
    border-color 0.24s ease,
    background 0.24s ease,
    transform 0.22s ease,
    box-shadow 0.24s ease;
}

.home-macro-bento__protocol-tile:hover,
.home-macro-bento__protocol-tile:focus-visible {
  border-color: rgba(197, 168, 128, 0.48);
  background: rgba(197, 168, 128, 0.1);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.home-macro-bento__protocol-tile-num {
  font-size: 0.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.home-macro-bento__protocol-tile-body {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.home-macro-bento__protocol-tile-title {
  font-size: clamp(0.84rem, 1.05vw, 0.92rem);
  font-weight: 700;
  line-height: 1.38;
  color: var(--text);
}

.home-macro-bento__protocol-tile-hint {
  font-size: clamp(0.75rem, 0.95vw, 0.8rem);
  line-height: 1.38;
  color: var(--text-soft);
}

.home-macro-bento__protocol-tile-arrow {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  opacity: 0.75;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.home-macro-bento__protocol-tile:hover .home-macro-bento__protocol-tile-arrow,
.home-macro-bento__protocol-tile:focus-visible .home-macro-bento__protocol-tile-arrow {
  opacity: 1;
  transform: translateX(2px);
}

.home-macro-bento__protocol-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.home-macro-bento__protocol-feature {
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: 999px;
  background: rgba(197, 168, 128, 0.08);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-soft);
}

.home-macro-bento__protocol-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.15rem;
  border-top: 1px solid rgba(197, 168, 128, 0.14);
}

.home-macro-bento__practice--protocols {
  margin-top: 0;
  font-size: 0.84rem;
}

@media (max-width: 639px) {
  .home-macro-bento__card {
    min-height: auto;
  }
}

.home-macro-bento__head {
  display: flex;
  align-items: flex-start;
  gap: clamp(0.75rem, 1.5vw, 1rem);
  margin-bottom: clamp(0.85rem, 1.6vw, 1.15rem);
}

.home-macro-bento__icon {
  position: static;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(201, 169, 98, 0.42);
  border-radius: 50%;
  background: rgba(201, 169, 98, 0.14);
  color: rgba(201, 169, 98, 0.92);
  pointer-events: none;
  box-shadow:
    0 0 0 1px rgba(201, 169, 98, 0.1),
    0 0 14px rgba(201, 169, 98, 0.22);
  transition: var(--ease-interactive);
}

.home-macro-bento__card:hover .home-macro-bento__icon,
.home-macro-bento__card:focus-within .home-macro-bento__icon {
  background: rgba(201, 169, 98, 0.22);
  border-color: rgba(201, 169, 98, 0.58);
  box-shadow:
    0 0 0 1px rgba(201, 169, 98, 0.16),
    0 0 20px rgba(201, 169, 98, 0.34);
}

.home-macro-bento__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.home-macro-bento__title {
  position: relative;
  z-index: 1;
  margin: 0;
  flex: 1;
  min-width: 0;
  max-width: none;
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--text);
}

.home-macro-bento__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.home-macro-bento__preview {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.home-macro-bento__preview li {
  position: relative;
  padding-left: 1rem;
  font-size: clamp(0.875rem, 1.05vw, 0.9375rem);
  line-height: 1.6;
  color: var(--macro-bento-list);
}

.home-macro-bento__preview li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: rgba(197, 168, 128, 0.65);
}

.home-macro-bento__practice {
  margin-top: auto;
  padding-top: 1rem;
  font-size: clamp(0.82rem, 1.05vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--accent);
  text-decoration: none;
}

.home-macro-bento__practice:hover,
.home-macro-bento__practice:focus-visible {
  text-decoration: underline;
}

.home-macro-bento__card:hover,
.home-macro-bento__card:focus-within {
  border-color: rgba(197, 168, 128, 0.45);
  box-shadow: var(--macro-bento-shadow);
  background: var(--macro-bento-bg-hover);
  transform: translateY(-2px);
}

/* Отзывы Яндекс Карт */
.home-yandex-reviews {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid rgba(197, 168, 128, 0.12);
}

.home-yandex-reviews__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 1.35rem;
}

.home-yandex-reviews__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.home-yandex-reviews__lead {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.home-yandex-reviews__lead a {
  color: var(--accent);
  text-decoration: none;
}

.home-yandex-reviews__lead a:hover {
  text-decoration: underline;
}

.home-yandex-reviews__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 72rem;
  margin: 0 auto;
}

@media (max-width: 899px) {
  .home-yandex-reviews__grid {
    grid-template-columns: 1fr;
  }
}

.home-yandex-reviews__more {
  margin: 1.1rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
}

.home-yandex-reviews__more a {
  color: var(--accent);
  text-decoration: none;
}

.home-yandex-reviews__more a:hover {
  text-decoration: underline;
}

.yandex-review-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  height: 100%;
  padding: clamp(1.1rem, 2vw, 1.35rem);
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: var(--radius-md);
  background: rgba(12, 20, 36, 0.45);
}

.yandex-review-card__stars {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--accent);
  line-height: 1;
}

.yandex-review-card__quote {
  margin: 0;
  flex: 1;
}

.yandex-review-card__quote p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text);
}

.yandex-review-card__meta {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

.contact-yandex-reviews {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-top: 1px solid rgba(197, 168, 128, 0.12);
}

.contact-yandex-reviews__head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 1.25rem;
}

.contact-yandex-reviews__eyebrow {
  margin-bottom: 0.35rem;
}

.contact-yandex-reviews__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.65rem);
  font-weight: 800;
  color: var(--text);
}

.contact-yandex-reviews__lead {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.contact-yandex-reviews__lead a {
  color: var(--accent);
}

.yandex-reviews-carousel {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
}

.yandex-reviews-carousel__toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.yandex-reviews-carousel__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--accent);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}

.yandex-reviews-carousel__btn:hover,
.yandex-reviews-carousel__btn:focus-visible {
  border-color: var(--accent);
  background: rgba(197, 168, 128, 0.12);
}

.yandex-reviews-carousel__viewport {
  overflow: hidden;
  container-type: inline-size;
}

.yandex-reviews-carousel__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}

.yandex-reviews-carousel__track::-webkit-scrollbar {
  display: none;
}

.yandex-review-card--slide {
  --reviews-slide-gap: 1rem;
  flex: 0 0 calc((100cqi - 2 * var(--reviews-slide-gap)) / 3);
  width: calc((100cqi - 2 * var(--reviews-slide-gap)) / 3);
  max-width: calc((100cqi - 2 * var(--reviews-slide-gap)) / 3);
  scroll-snap-align: start;
  min-height: 12.5rem;
}

.yandex-review-card--slide .yandex-review-card__quote {
  flex: 1;
}

.yandex-review-card--slide .yandex-review-card__quote p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
}

@media (max-width: 899px) {
  .yandex-review-card--slide {
    flex-basis: calc((100cqi - var(--reviews-slide-gap)) / 2);
    width: calc((100cqi - var(--reviews-slide-gap)) / 2);
    max-width: calc((100cqi - var(--reviews-slide-gap)) / 2);
  }

  .yandex-review-card--slide .yandex-review-card__quote p {
    -webkit-line-clamp: 6;
  }
}

@media (max-width: 559px) {
  .yandex-review-card--slide {
    flex-basis: 100cqi;
    width: 100cqi;
    max-width: 100cqi;
  }

  .yandex-review-card--slide .yandex-review-card__quote p {
    -webkit-line-clamp: unset;
    display: block;
    overflow: visible;
  }
}

.home-yandex-reviews__more-sep {
  margin: 0 0.45rem;
  color: var(--text-muted);
  font-weight: 400;
}

.reviews-page-hero {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem;
}

.reviews-page-hero__inner {
  max-width: 42rem;
}

.reviews-page-hero__eyebrow {
  margin-bottom: 0.35rem;
}

.reviews-page-hero__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.reviews-page-hero__lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.reviews-page-hero__lead a {
  color: var(--accent);
}

.reviews-page {
  padding: 0 0 clamp(2.5rem, 5vw, 3.75rem);
}

.reviews-page__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
}

.yandex-review-card--page {
  min-height: 10.5rem;
}

.reviews-page__source {
  margin: 1.25rem 0 0;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.reviews-page__source a {
  color: var(--accent);
}

.reviews-page__empty {
  margin: 0;
  color: var(--text-muted);
}

/* Главная: методология – журнальная вёрстка */
.home-standards--editorial {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
  border-top: 1px solid rgba(197, 168, 128, 0.12);
  border-bottom: 1px solid rgba(197, 168, 128, 0.08);
  background:
    radial-gradient(ellipse 70% 55% at 12% 0%, rgba(197, 168, 128, 0.05), transparent 62%),
    rgba(255, 255, 255, 0.01);
}

.home-standards--editorial .home-standards__layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3.25rem);
}

@media (min-width: 900px) {
  .home-standards--editorial .home-standards__layout {
    grid-template-columns: minmax(11rem, 26%) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4.25rem);
    align-items: start;
  }
}

.home-standards--editorial .home-standards__intro .abg-section-head {
  margin: 0;
  text-align: left;
}

.home-standards--editorial .abg-section-head__title {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.25;
}

.home-standards--editorial .abg-section-head__eyebrow {
  margin-bottom: 0.55rem;
}

.home-standards--editorial .home-standards__lead {
  margin: clamp(1.25rem, 2.2vw, 1.65rem) 0 0;
  padding-left: 1rem;
  max-width: 34ch;
  font-size: clamp(0.92rem, 1.05vw, 1rem);
  line-height: 1.72;
  color: var(--text-muted);
  border-left: 2px solid rgba(197, 168, 128, 0.42);
}

.home-standards--editorial .home-standards__list {
  display: flex;
  flex-direction: column;
  gap: clamp(0.35rem, 0.8vw, 0.65rem);
}

.home-standards--editorial .home-standards__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(1.15rem, 2.2vw, 1.85rem);
  align-items: start;
  padding: clamp(1.55rem, 2.8vw, 2.15rem) 0;
  border-top: 1px solid rgba(197, 168, 128, 0.18);
}

.home-standards--editorial .home-standards__item:first-child {
  padding-top: 0;
  border-top: none;
}

.home-standards--editorial .home-standards__index {
  font-family: var(--font-display);
  font-size: clamp(3.35rem, 5.4vw, 4.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(201, 169, 98, 0.13);
  -webkit-text-stroke: 1.5px rgba(201, 169, 98, 0.42);
  text-stroke: 1.5px rgba(201, 169, 98, 0.42);
  paint-order: stroke fill;
  user-select: none;
  min-width: 2.6ch;
}

.home-standards--editorial .home-standards__item-title {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  font-weight: 700;
  line-height: 1.38;
  color: var(--text);
}

.home-standards--editorial .home-standards__item-text {
  margin: 0;
  font-size: clamp(0.92rem, 1.02vw, 1rem);
  line-height: 1.72;
  color: var(--text-muted);
}

.home-standards--editorial .home-standards__emph {
  font-weight: 650;
  color: inherit;
  background: none;
  padding: 0;
}

/* ----- Premium typography & micro-interactions ----- */

/* Лёгкое появление блоков при скролле (B2B: без «шоу») */
.abg-scroll-reveal {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

.abg-scroll-reveal.is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .abg-scroll-reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

.hero__title,
.home-hero__title,
.section__title,
.page-hero__title,
.articles-hub-hero__title,
.actions-guide-hero__title,
.practice-hero__title,
.practice-services__title,
.abg-section-head__title:not(.abg-section-head__title--plaque),
.guide-hero__title,
.contact-hero__title,
.about-page .about-details__heading {
  font-family: var(--font-serif);
  letter-spacing: -0.02em;
}

.btn,
.card,
.encaro-guide-hub-card,
.practice-services__card,
.actions-guide-stack__card,
.guide-switch__btn,
.guide-stepper__item,
.guide-encaro__cta-link,
.guide-start-banner__link,
.guide-sos-sticky__btn,
.site-contact-float,
.site-contact-dock,
.site-contact-dock__item,
.guide-aid-check,
.guide-folder-check,
.guide-sieve__btn,
.site-header a,
.site-footer a,
.nav-mega a,
.abg-hairline-contact__messenger,
.articles-hub-hero__topic,
.feed-stream-card {
  transition: var(--ease-interactive);
}

.btn:hover,
.btn--secondary:hover,
.btn--ghost:hover {
  filter: brightness(1.04);
}

.btn--primary:hover {
  filter: none;
}

.btn--primary:active,
.btn--secondary:active,
.btn--ghost:active,
.btn:active {
  transform: scale(0.98);
  filter: none;
}

/* —— Consultation hub (/konsultatsiya) —— */
.abg-merged-main--consultation-hub {
  --consult-hub-bg: #0b0f19;
  --consult-hub-surface: rgba(17, 24, 39, 0.72);
  --consult-hub-gold: #c5a880;
  --consult-hub-blue: #1e40af;
  --consult-hub-text: #f3f4f6;
  --consult-hub-muted: #9ca3af;
  --consult-hub-border: rgba(148, 163, 184, 0.18);
  --consult-hub-heading: #fff;
  --consult-hub-subtitle: #d1d5db;
  --consult-hub-emphasis: #e5e7eb;
  --consult-hub-chip-text: #cbd5e1;
  --consult-hub-chip-bg: rgba(15, 23, 42, 0.55);
  --consult-hub-card-bg: rgba(15, 23, 42, 0.45);
  --consult-hub-card-bg-muted: rgba(30, 41, 59, 0.35);
  --consult-hub-card-bg-accent: rgba(17, 24, 39, 0.72);
  --consult-hub-link: #93c5fd;
  --consult-hub-step-text: #cbd5e1;
  --consult-hub-label-soft: #6b7280;
  --consult-hub-quote: #9ca3af;
  --consult-hub-toggle-hover: #e5e7eb;
  --consult-hub-toggle-active: #f8f4ed;
  --consult-hub-market-heading: #cbd5e1;
  --consult-hub-trust-bg: rgba(15, 23, 42, 0.55);
  --consult-hub-modal-bg: #111827;
  --consult-hub-modal-backdrop: rgba(2, 6, 23, 0.78);
  --consult-hub-modal-shadow: rgba(0, 0, 0, 0.45);
  --consult-hub-input-bg: rgba(15, 23, 42, 0.85);
  --consult-hub-input-text: #fff;
  --consult-hub-field-label: #d1d5db;
  --consult-hub-cta-text: #fff;
  --consult-hub-cta-bg: linear-gradient(135deg, rgba(197, 168, 128, 0.18), rgba(30, 64, 175, 0.2));
  --consult-hub-cta-hover-bg: rgba(197, 168, 128, 0.28);
  --consult-hub-card-shadow: rgba(0, 0, 0, 0.28);
  --consult-hub-hero-glow-a: rgba(30, 64, 175, 0.22);
  --consult-hub-hero-glow-b: rgba(197, 168, 128, 0.12);
  --consult-hub-close: #9ca3af;
  --consult-hub-close-hover: #fff;
  --consult-hub-close-hover-bg: rgba(255, 255, 255, 0.06);
  --consult-hub-market-toggle-bg: rgba(71, 85, 105, 0.35);
  background: var(--consult-hub-bg);
  color: var(--consult-hub-text);
}

.abg-merged-main--consultation-hub .consultation-hub {
  font-family: var(--font-sans, system-ui, sans-serif);
}

.consult-hub-hero {
  padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, var(--consult-hub-hero-glow-a), transparent 55%),
    radial-gradient(ellipse 60% 50% at 90% 10%, var(--consult-hub-hero-glow-b), transparent 50%),
    var(--consult-hub-bg);
}

.consult-hub-hero__inner {
  text-align: left;
}

.consult-hub-hero__copy {
  max-width: 56rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.consult-hub-hero__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--consult-hub-gold);
}

.consult-hub-hero__title {
  margin: 0 0 0.85rem;
  font-family: Lora, "PT Serif", Georgia, serif;
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--consult-hub-heading);
}

.consult-hub-hero__subtitle {
  margin: 0 0 clamp(1rem, 2vw, 1.35rem);
  font-size: clamp(1.2rem, 2.1vw, 1.5rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--consult-hub-gold);
}

.consult-hub-hero__lead {
  margin: 0;
  font-size: clamp(1rem, 1.45vw, 1.125rem);
  line-height: 1.68;
  color: var(--consult-hub-muted);
}

.consult-hub-compare {
  margin-top: 0;
}

.consult-hub-compare__split {
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
  align-items: stretch;
  padding-top: 0.65rem;
}

@media (min-width: 768px) {
  .consult-hub-compare__split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(1.1rem, 2.2vw, 1.5rem);
    padding-top: 0.85rem;
  }
}

.consult-hub-compare__col-wrap--gaevsky {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.consult-hub-compare__badge {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  padding: 0.38rem 0.95rem;
  border: 1px solid rgba(197, 168, 128, 0.52);
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(17, 24, 39, 0.98) 0%,
    rgba(11, 15, 25, 0.98) 100%
  );
  box-shadow:
    0 0 0 1px rgba(197, 168, 128, 0.1),
    0 6px 20px rgba(0, 0, 0, 0.35),
    0 4px 18px rgba(197, 168, 128, 0.14);
  color: var(--consult-hub-gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.consult-hub-compare__col {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 2vw, 1.25rem);
  border-radius: 1rem;
  padding: clamp(1.1rem, 2.2vw, 1.5rem);
}

.consult-hub-compare__col--market {
  border: 1px solid rgba(100, 116, 139, 0.24);
  background: var(--consult-hub-card-bg-muted);
  opacity: 0.9;
}

.consult-hub-compare__col--gaevsky {
  flex: 1;
  margin-top: 0.55rem;
  border: 1px solid rgba(197, 168, 128, 0.38);
  background: linear-gradient(
    180deg,
    rgba(17, 24, 39, 0.94) 0%,
    rgba(11, 15, 25, 0.98) 100%
  );
  box-shadow:
    0 0 0 1px rgba(197, 168, 128, 0.06),
    0 16px 42px rgba(0, 0, 0, 0.28),
    0 8px 28px rgba(197, 168, 128, 0.07);
  transition:
    transform 0.32s ease,
    border-color 0.32s ease,
    box-shadow 0.32s ease;
  will-change: transform;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .consult-hub-compare__col-wrap--gaevsky:hover .consult-hub-compare__col--gaevsky {
    border-color: rgba(197, 168, 128, 0.58);
    box-shadow:
      0 0 0 1px rgba(197, 168, 128, 0.14),
      0 20px 48px rgba(0, 0, 0, 0.32),
      0 12px 36px rgba(197, 168, 128, 0.18);
    transform: scale(1.015);
  }
}

.consult-hub-compare__col-title {
  margin: 0;
  font-size: clamp(0.82rem, 1.35vw, 0.92rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--consult-hub-market-heading);
}

.consult-hub-compare__col--gaevsky .consult-hub-compare__col-title {
  color: var(--consult-hub-gold);
}

.consult-hub-compare__items {
  display: grid;
  gap: clamp(1rem, 2vw, 1.2rem);
}

.consult-hub-compare__item-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.42rem;
}

.consult-hub-compare__item-phase {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--consult-hub-muted);
}

.consult-hub-compare__col--gaevsky .consult-hub-compare__item-phase {
  color: var(--consult-hub-gold);
}

.consult-hub-compare__mark {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.72rem;
}

.consult-hub-compare__mark--minus {
  border: 1px solid rgba(148, 163, 184, 0.3);
  background-color: rgba(100, 116, 139, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 8h8' stroke='%2394a3b8' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E");
}

.consult-hub-compare__mark--plus {
  border: 1px solid rgba(197, 168, 128, 0.45);
  background-color: rgba(197, 168, 128, 0.14);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.2 6.4 11 12.5 5' stroke='%23c5a880' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.consult-hub-compare__item-text {
  margin: 0;
  font-size: clamp(0.86rem, 1.2vw, 0.94rem);
  line-height: 1.58;
  color: var(--consult-hub-muted);
}

.consult-hub-compare__col--gaevsky .consult-hub-compare__item-text {
  color: var(--consult-hub-emphasis);
}

.consult-hub-compare__item + .consult-hub-compare__item {
  padding-top: clamp(0.95rem, 1.8vw, 1.1rem);
  border-top: 1px solid var(--consult-hub-border);
}

.consult-hub-compare__col--gaevsky .consult-hub-compare__item + .consult-hub-compare__item {
  border-top-color: rgba(197, 168, 128, 0.16);
}

.consult-hub-standard {
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
  border: 1px solid var(--consult-hub-border);
  border-radius: 1rem;
  background: var(--consult-hub-card-bg);
}

.consult-hub-standard__title {
  margin: 0 0 1rem;
  max-width: 42rem;
  font-family: Lora, "PT Serif", Georgia, serif;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--consult-hub-gold);
}

.consult-hub-standard__intro {
  margin: 0 0 1rem;
  max-width: 52rem;
  font-size: clamp(0.98rem, 1.5vw, 1.05rem);
  line-height: 1.62;
  color: var(--consult-hub-muted);
}

.consult-hub-standard__pivot {
  margin: 0 0 1.15rem;
  max-width: 52rem;
  font-size: clamp(0.98rem, 1.5vw, 1.05rem);
  line-height: 1.62;
  color: var(--consult-hub-emphasis);
}

.consult-hub-standard__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: clamp(1rem, 2vw, 1.35rem);
}

.consult-hub-standard__item {
  padding-left: 1.1rem;
  border-left: 2px solid rgba(197, 168, 128, 0.45);
}

.consult-hub-standard__item-title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--consult-hub-heading);
}

.consult-hub-standard__item-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.62;
  color: var(--consult-hub-muted);
}

.consult-hub-hero__pattern {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.consult-hub-hero__pattern li {
  font-size: 0.9rem;
  color: var(--consult-hub-subtitle);
}

.consult-hub-hero__pattern li strong {
  color: var(--consult-hub-gold);
  font-weight: 600;
}

.consult-hub-grid-section {
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
}

.consult-hub-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  padding-bottom: 0.15rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.consult-hub-tags::-webkit-scrollbar {
  display: none;
}

.consult-hub-tags__btn {
  flex: 0 0 auto;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--consult-hub-border);
  border-radius: 999px;
  background: var(--consult-hub-chip-bg);
  color: var(--consult-hub-chip-text);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.2;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.consult-hub-tags__btn:hover {
  border-color: rgba(197, 168, 128, 0.45);
  color: var(--consult-hub-heading);
}
.consult-hub-tags__btn[aria-pressed="true"] {
  border-color: var(--consult-hub-gold);
  background: rgba(197, 168, 128, 0.16);
  color: var(--consult-hub-gold);
}

.consult-hub-grid__empty {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--consult-hub-muted);
  text-align: center;
}

.consult-hub-grid__empty[hidden] {
  display: none !important;
}

.consult-hub-card.is-filtered-out {
  display: none !important;
}

.consult-hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .consult-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.consult-hub-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.35rem 1.35rem 1.15rem;
  border: 1px solid var(--consult-hub-border);
  border-radius: 1rem;
  background: var(--consult-hub-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.consult-hub-card:hover {
  border-color: rgba(197, 168, 128, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px var(--consult-hub-card-shadow);
}

.consult-hub-card:hover .consult-hub-card__title {
  color: var(--consult-hub-gold);
}

.consult-hub-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.consult-hub-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.consult-hub-badge--gold {
  color: #1a1408;
  background: linear-gradient(135deg, #e8d4b0, var(--consult-hub-gold));
}

.consult-hub-badge--blue {
  color: #dbeafe;
  background: rgba(30, 64, 175, 0.55);
  border: 1px solid rgba(96, 165, 250, 0.35);
}

.consult-hub-badge--urgent {
  color: #fecaca;
  background: rgba(127, 29, 29, 0.45);
  border: 1px solid rgba(248, 113, 113, 0.35);
}

.consult-hub-badge--green {
  color: #d1fae5;
  background: rgba(6, 78, 59, 0.45);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.consult-hub-badge--indigo {
  color: #e0e7ff;
  background: rgba(49, 46, 129, 0.5);
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.consult-hub-card__duration {
  font-size: 0.78rem;
  color: var(--consult-hub-muted);
  white-space: nowrap;
}

.consult-hub-card__title {
  margin: 0 0 0.65rem;
  font-family: Lora, "PT Serif", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--consult-hub-heading);
  transition: color 0.3s ease;
}

.consult-hub-card__lead {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--consult-hub-muted);
}

.consult-hub-card__process-label {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--consult-hub-label-soft);
}

.consult-hub-card__steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.consult-hub-card__step {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.55rem;
  padding: 0.35rem 0;
}

.consult-hub-card__step-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--consult-hub-gold);
}

.consult-hub-card__step-text {
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--consult-hub-step-text);
}

.consult-hub-card__related {
  display: inline-block;
  margin: 0.35rem 0 0.75rem;
  font-size: 0.8rem;
  color: var(--consult-hub-link);
  text-decoration: none;
}

.consult-hub-card__related:hover {
  color: var(--consult-hub-gold);
}

.consult-hub-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--consult-hub-border);
}

.consult-hub-card__price {
  margin: 0;
  font-family: Lora, "PT Serif", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
}

.consult-hub-card__price--fixed {
  color: var(--consult-hub-gold);
}

.consult-hub-card__price--quote {
  font-size: 1.05rem;
  color: var(--consult-hub-quote);
}

.consult-hub-card__cta {
  flex-shrink: 0;
  padding: 0.65rem 1rem;
  border: 1px solid rgba(197, 168, 128, 0.45);
  border-radius: 0.55rem;
  background: var(--consult-hub-cta-bg);
  color: var(--consult-hub-cta-text);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.consult-hub-card__cta:hover {
  border-color: var(--consult-hub-gold);
  background: var(--consult-hub-cta-hover-bg);
}

.consult-hub-trust {
  padding: 0 0 3rem;
}

.consult-hub-trust__inner {
  padding: 1.25rem 1.35rem;
  border: 1px solid var(--consult-hub-border);
  border-radius: 0.85rem;
  background: var(--consult-hub-trust-bg);
  text-align: center;
}

.consult-hub-trust__title {
  margin: 0 0 0.45rem;
  font-family: Lora, "PT Serif", Georgia, serif;
  font-size: 1.05rem;
  color: var(--consult-hub-heading);
}

.consult-hub-trust__text {
  margin: 0 auto;
  max-width: 42rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--consult-hub-muted);
}

.consult-hub-trust__link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--consult-hub-link);
}

.consult-hub-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.consult-hub-modal[hidden] {
  display: none !important;
}

.consult-hub-modal__backdrop {
  position: absolute;
  inset: 0;
  background: var(--consult-hub-modal-backdrop);
  backdrop-filter: blur(4px);
}

.consult-hub-modal__panel {
  position: relative;
  width: min(100%, 34rem);
  max-height: min(92vh, 44rem);
  overflow: auto;
  padding: 1.35rem 1.35rem 1.5rem;
  border: 1px solid var(--consult-hub-border);
  border-radius: 1rem;
  background: var(--consult-hub-modal-bg);
  box-shadow: 0 24px 60px var(--consult-hub-modal-shadow);
  animation: consult-hub-modal-in 0.28s ease;
}

@keyframes consult-hub-modal-in {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.consult-hub-modal__close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 0.45rem;
  background: transparent;
  color: var(--consult-hub-close);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.consult-hub-modal__close:hover {
  color: var(--consult-hub-close-hover);
  background: var(--consult-hub-close-hover-bg);
}

.consult-hub-modal__title {
  margin: 0 2rem 0.35rem 0;
  font-family: Lora, "PT Serif", Georgia, serif;
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--consult-hub-heading);
}

.consult-hub-modal__privacy {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--consult-hub-muted);
}

.consult-hub-modal__form {
  display: grid;
  gap: 0.85rem;
}

.consult-hub-field {
  display: grid;
  gap: 0.35rem;
}

.consult-hub-field__label {
  font-size: 0.82rem;
  color: var(--consult-hub-field-label);
}

.consult-hub-field__input,
.consult-hub-field__textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--consult-hub-border);
  border-radius: 0.5rem;
  background: var(--consult-hub-input-bg);
  color: var(--consult-hub-input-text);
  font: inherit;
}

.consult-hub-field__textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.consult-hub-field__input:focus,
.consult-hub-field__textarea:focus {
  outline: 2px solid rgba(197, 168, 128, 0.45);
  border-color: var(--consult-hub-gold);
}

.consult-hub-field--checkbox {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.55rem;
}

.consult-hub-field--checkbox input {
  margin-top: 0.2rem;
}

.consult-hub-field__checkbox-text {
  font-size: 0.8rem;
  color: var(--consult-hub-muted);
}

.consult-hub-field__checkbox-text a {
  color: var(--consult-hub-link);
}

.consult-hub-modal__file-note {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #fbbf24;
}

.consult-hub-modal__submit {
  margin-top: 0.25rem;
  padding: 0.75rem 1rem;
  border: 0;
  border-radius: 0.55rem;
  background: linear-gradient(135deg, #c5a880, #a88452);
  color: #1a1408;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.3s ease;
}

.consult-hub-modal__submit:hover {
  filter: brightness(1.06);
}

.consult-hub-modal__success-title {
  margin: 0 0 0.5rem;
  font-family: Lora, "PT Serif", Georgia, serif;
  font-size: 1.2rem;
  color: var(--consult-hub-heading);
}

.consult-hub-modal__success-text {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--consult-hub-muted);
}

.consult-hub-modal__success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
}

.consult-hub-modal__success-close {
  border: 0;
  background: transparent;
  color: var(--consult-hub-close);
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}

.abg-merged-main--consultation-hub .site-breadcrumbs {
  --breadcrumb-color: var(--consult-hub-muted);
}

.abg-merged-main--consultation-hub .site-breadcrumbs a {
  color: var(--consult-hub-chip-text);
}

/* —— Инструменты (/instrumenty) —— */
.tools-hub-hero__shell {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

@media (min-width: 900px) {
  .tools-hub-hero__shell {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    align-items: start;
  }
}

.tools-hub-hero__eyebrow,
.tool-page-hero__eyebrow {
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

.tools-hub-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 0.75rem;
}

.tools-hub-hero__lead,
.tool-page-hero__lead {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 42rem;
}

.tools-hub-hero__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.tools-hub-hero__topic {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 168, 128, 0.22);
  font-size: var(--step--1);
  color: var(--text-soft);
}

.tools-hub-hero__panel {
  padding: 1.1rem 1.15rem;
  border: 1px solid rgba(197, 168, 128, 0.18);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.tools-hub-hero__panel-label {
  margin: 0 0 0.65rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--text);
}

.tools-hub-hero__filter {
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.55rem 0.7rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(197, 168, 128, 0.22);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.tools-hub-hero__hint {
  margin: 0.65rem 0 0;
  font-size: var(--step--1);
  color: var(--text-soft);
}

.tools-hub__section-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(197, 168, 128, 0.15);
}

.tools-hub__grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 640px) {
  .tools-hub__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .tools-hub__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.tools-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(197, 168, 128, 0.16);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, rgba(197, 168, 128, 0.05), transparent 55%);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.tools-card:hover,
.tools-card:focus-visible {
  border-color: rgba(197, 168, 128, 0.42);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.tools-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.65rem;
  background: rgba(197, 168, 128, 0.12);
  color: var(--accent);
}

.tools-card--danger .tools-card__icon {
  background: rgba(248, 113, 113, 0.12);
  color: #f87171;
}

.tools-card--blue .tools-card__icon {
  background: rgba(96, 165, 250, 0.12);
  color: #60a5fa;
}

.tools-card__badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.tools-card__badge--soon {
  background: rgba(197, 168, 128, 0.15);
  color: var(--accent);
}

.tools-card__title {
  display: block;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.25rem;
}

.tools-card__desc {
  display: block;
  font-size: var(--step--1);
  line-height: 1.45;
  color: var(--text-soft);
}

.tools-card__arrow {
  color: var(--accent);
  font-size: 1.1rem;
  align-self: center;
}

.tools-hub-cta__card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(197, 168, 128, 0.08), transparent 60%);
}

.tools-hub-cta__title {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.tools-hub-cta__text {
  margin: 0 0 1rem;
  color: var(--text-soft);
  max-width: 46rem;
  line-height: 1.55;
}

.tool-page-hero__inner {
  max-width: 48rem;
}

.tool-page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin: 0 0 0.65rem;
}

.tool-page-hero__back {
  margin: 1rem 0 0;
  font-size: var(--step--1);
}

.tool-page-hero__back a {
  color: var(--accent);
  text-decoration: none;
}

.tool-page__grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 960px) {
  .tool-page__grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 0.6fr);
    align-items: start;
  }
}

.tool-calc__panel {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.tool-calc__panel-title {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tool-field {
  margin-bottom: 1rem;
}

.tool-field__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--text-muted);
}

.tool-field__input {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(197, 168, 128, 0.3);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.tool-field__input::placeholder {
  color: rgba(188, 198, 212, 0.68);
  opacity: 1;
}

.tool-field__input:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.12);
}

.tool-field__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.tool-field__row .tool-field__input {
  flex: 1 1 8rem;
}

.tool-field__prefix,
.tool-field__sep {
  font-size: var(--step--1);
  color: var(--text-muted);
}

.tool-field__hint {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.tool-check {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  margin-bottom: 0.35rem;
  font-size: var(--step--1);
  color: var(--text-muted);
  cursor: pointer;
}

.tool-calc__result {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(74, 222, 128, 0.25);
  border-radius: var(--radius-sm);
  background: rgba(34, 197, 94, 0.06);
}

.tool-calc__result-title {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tool-calc__result-sum {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
}

.tool-calc__result-sum strong {
  color: #4ade80;
}

.tool-calc__result-formula,
.tool-calc__stats {
  margin: 0;
  font-size: var(--step--1);
  color: var(--text-muted);
  line-height: 1.5;
}

.tool-calc__stats {
  list-style: none;
  padding: 0;
}

.tool-calc__stats li {
  margin-bottom: 0.35rem;
}

.tool-calc__alert {
  margin-top: 0.75rem;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(251, 191, 36, 0.35);
  background: rgba(251, 191, 36, 0.08);
  font-size: var(--step--1);
  color: var(--text-soft);
}

.tool-calc__details {
  margin-top: 0.75rem;
  font-size: var(--step--1);
}

.tool-exclude-row {
  align-items: center;
  margin-bottom: 0.45rem;
}

.tool-exclude-row .tool-exclude-remove {
  flex: 0 0 auto;
  min-width: 2rem;
  padding: 0.25rem 0.5rem;
  line-height: 1;
}

.tool-table__muted td {
  color: var(--text-muted, rgba(255, 255, 255, 0.45));
}

.tool-tabs {
  display: flex;
  gap: 0.35rem;
  margin-bottom: 1rem;
  padding: 0.2rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(197, 168, 128, 0.12);
}

.tool-tabs__btn {
  flex: 1;
  padding: 0.5rem 0.65rem;
  border: none;
  border-radius: calc(var(--radius-sm) - 2px);
  background: transparent;
  color: var(--text-soft);
  font-size: var(--step--1);
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.tool-tabs__btn.is-active {
  background: rgba(197, 168, 128, 0.18);
  color: var(--text);
}

.tool-tabs__panel {
  display: none;
}

.tool-tabs__panel.is-active {
  display: block;
}

.tool-tabs__panel .btn--block {
  margin-top: 0.75rem;
}

.tool-result-list {
  margin-top: 0.5rem;
}

.tool-result-list__group {
  margin: 0.85rem 0 0.35rem;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  font-size: var(--step--1);
}

.tool-result-list__group strong {
  display: block;
}

.tool-result-list__hint {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-soft);
  font-size: 0.85em;
}

.tool-result-list__row {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(197, 168, 128, 0.08);
  font-size: var(--step--1);
}

.tool-result-list__value {
  flex-shrink: 0;
  font-weight: 600;
}

.tool-result-list__total {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(197, 168, 128, 0.2);
  font-size: var(--step-0);
}

.tool-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

@media (max-width: 640px) {
  .tool-kpi-row {
    grid-template-columns: 1fr;
  }
}

.tool-kpi {
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(197, 168, 128, 0.12);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
}

.tool-kpi__value {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
}

.tool-kpi__value--accent {
  color: #6ee7b7;
}

.tool-kpi__value--gold {
  color: var(--gold, #c5a880);
}

.tool-kpi__label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: var(--text-soft);
  line-height: 1.3;
}

.tool-checklist__progress {
  height: 1.25rem;
  margin: 0.75rem 0 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 168, 128, 0.12);
  overflow: hidden;
}

.tool-checklist__progress-bar {
  height: 100%;
  width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  background: linear-gradient(90deg, rgba(197, 168, 128, 0.45), rgba(197, 168, 128, 0.25));
  transition: width 0.25s ease;
}

.tool-checklist__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 1rem;
}

.tool-checklist__nav-link {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(197, 168, 128, 0.2);
  font-size: var(--step--1);
  color: var(--text-soft);
  text-decoration: none;
}

.tool-checklist__nav-link:hover {
  color: var(--text);
  border-color: rgba(197, 168, 128, 0.35);
}

.tool-checklist__stage {
  margin-bottom: 1.25rem;
}

.tool-checklist__stage-title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-family: var(--font-display);
}

.tool-checklist__items {
  display: grid;
  gap: 0.5rem;
}

.tool-checklist__item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(197, 168, 128, 0.14);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
}

.tool-checklist__item.is-done {
  opacity: 0.72;
}

.tool-checklist__item.is-done strong {
  text-decoration: line-through;
}

.tool-checklist__item--critical {
  border-color: rgba(248, 113, 113, 0.35);
}

.tool-checklist__item input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.tool-checklist__item-body {
  display: block;
}

.tool-checklist__item-hint {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--step--1);
  color: var(--text-soft);
  line-height: 1.45;
}

.tool-checklist__item-text {
  margin: 0.25rem 0 0;
  font-size: var(--step--1);
  color: var(--text-soft);
  line-height: 1.45;
}

.tool-checklist__step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  margin-right: 0.35rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.45);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fca5a5;
}

.tool-checklist__risk {
  margin: 0.35rem 0 0;
  font-size: var(--step--1);
  color: #fca5a5;
  font-style: italic;
}

.tool-checklist__risk--ok {
  color: #6ee7b7;
}

.tool-guide__section {
  margin-bottom: 1.25rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(197, 168, 128, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.tool-guide__section h2 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-family: var(--font-display);
}

.tool-guide__section p,
.tool-guide__section li {
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--text-soft);
}

.tool-guide__section--info {
  border-left: 3px solid #67e8f9;
}

.tool-guide__section--success {
  border-left: 3px solid #6ee7b7;
}

.tool-guide__section--danger {
  border-left: 3px solid #fca5a5;
}

.tool-guide__section--warning {
  border-left: 3px solid #fcd34d;
}

.tool-guide__note {
  margin-top: 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(197, 168, 128, 0.08);
  font-size: var(--step--1);
}

.tool-guide__toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1.25rem;
}

.tool-guide__toc-link {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-radius: 999px;
  font-size: var(--step--1);
  color: var(--text-soft);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.tool-guide__toc-link:hover {
  background: rgba(197, 168, 128, 0.12);
  color: var(--text);
}

.tool-guide__section--table .tool-table {
  font-size: var(--step--1);
}

.tool-checklist__details-wrap {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.5rem;
}

.tool-checklist__details {
  border: 1px solid rgba(197, 168, 128, 0.15);
  border-radius: var(--radius-sm);
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.02);
}

.tool-checklist__details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: var(--step--1);
}

.tool-checklist__details p {
  margin: 0.5rem 0 0;
  font-size: var(--step--1);
  line-height: 1.55;
  color: var(--text-soft);
}

.tool-checklist .tool-calc__promo,
.tool-checklist .tool-calc__inline-cta,
.tool-guide .tool-calc__promo,
.tool-guide .tool-calc__inline-cta {
  margin-top: 1.25rem;
}

.tool-glossary__letters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.75rem 0 1rem;
}

.tool-glossary__letter {
  min-width: 2rem;
  padding: 0.25rem 0.45rem;
  border: 1px solid rgba(197, 168, 128, 0.18);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-soft);
  font: inherit;
  cursor: pointer;
}

.tool-glossary__letter.is-active,
.tool-glossary__letter:hover {
  color: var(--text);
  border-color: rgba(197, 168, 128, 0.35);
  background: rgba(197, 168, 128, 0.1);
}

.tool-glossary__list {
  display: grid;
  gap: 0.65rem;
}

.tool-glossary__card {
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(197, 168, 128, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
}

.tool-glossary__term {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-family: var(--font-display);
}

.tool-glossary__plain {
  margin: 0;
  font-size: var(--step--1);
  line-height: 1.5;
}

.tool-glossary__official {
  margin: 0.55rem 0 0;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(197, 168, 128, 0.18);
  font-size: 0.8rem;
  color: var(--text-soft);
  line-height: 1.45;
}

.tool-glossary__official span {
  display: block;
  margin-bottom: 0.15rem;
  font-weight: 600;
  color: var(--text);
}

.tool-calendar__summary {
  margin: 0.75rem 0;
  font-size: var(--step--1);
  color: var(--text-soft);
}

.tool-calendar__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.75rem;
}

.tool-cal-month {
  padding: 0.55rem;
  border: 1px solid rgba(197, 168, 128, 0.12);
  border-radius: var(--radius-sm);
}

.tool-cal-month__title {
  margin: 0 0 0.35rem;
  text-align: center;
  font-size: 0.9rem;
}

.tool-cal-month__head,
.tool-cal-month__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  font-size: 0.68rem;
  text-align: center;
}

.tool-cal-month__head span {
  color: var(--text-soft);
  font-weight: 600;
}

.tool-cal-day {
  padding: 0.15rem 0;
  border-radius: 3px;
}

.tool-cal-day--work {
  background: rgba(34, 197, 94, 0.08);
}

.tool-cal-day--rest {
  background: rgba(248, 113, 113, 0.12);
  color: #fca5a5;
}

.tool-cal-day--moved-work {
  background: rgba(251, 191, 36, 0.12);
}

.tool-cal-day--empty {
  visibility: hidden;
}

.tool-calendar__legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.85rem;
  font-size: var(--step--1);
  color: var(--text-soft);
}

.tool-calendar__swatch {
  display: inline-block;
  width: 0.85rem;
  height: 0.85rem;
  margin-right: 0.25rem;
  border-radius: 2px;
  vertical-align: -0.1rem;
}

.tool-calendar__swatch--rest {
  background: rgba(248, 113, 113, 0.35);
}

.tool-calendar__swatch--work {
  background: rgba(34, 197, 94, 0.35);
}

.tool-calendar__swatch--moved {
  background: rgba(251, 191, 36, 0.45);
}

.tool-field--inline {
  max-width: 12rem;
}

.tool-calc__sidebar {
  margin-top: 1rem;
}

.tool-aside {
  padding: 1rem 1.05rem;
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
}

.tool-aside--inline {
  margin-top: 0;
}

.tool-aside__title {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-family: var(--font-display);
}

.tool-aside__text {
  margin: 0 0 0.75rem;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--text-muted);
}

.tool-aside__basis {
  margin: 0 0 0.75rem;
  font-size: var(--step--1);
}

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

.tool-aside__link {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--accent);
  font-size: var(--step--1);
  text-decoration: none;
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.tool-ref__highlight {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(197, 168, 128, 0.25);
  background: linear-gradient(135deg, rgba(197, 168, 128, 0.1), transparent 70%);
}

.tool-ref__current-label {
  margin: 0;
  font-size: var(--step--1);
  color: var(--text-soft);
}

.tool-ref__current-value {
  margin: 0.15rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--accent);
}

.tool-ref__current-date {
  margin: 0;
  font-size: var(--step--1);
  color: var(--text-soft);
}

.tool-ref__current-note {
  margin: 0.45rem 0 0;
  font-size: var(--step--1);
  line-height: 1.45;
  color: var(--text-muted);
}

.tool-ref__lead {
  margin: 0 0 1rem;
  line-height: 1.55;
  color: var(--text-soft);
}

.tool-ref__footnote {
  margin: 0.85rem 0 0;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--text-muted);
}

.tool-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(197, 168, 128, 0.14);
  border-radius: var(--radius-sm);
}

.tool-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
}

.tool-table th,
.tool-table td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid rgba(197, 168, 128, 0.1);
  text-align: left;
  vertical-align: top;
}

.tool-table th {
  font-weight: 600;
  background: rgba(197, 168, 128, 0.06);
}

.tool-table__current {
  background: rgba(34, 197, 94, 0.06);
}

.tool-table__badge {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
}

.tool-placeholder {
  padding: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
  border: 1px dashed rgba(197, 168, 128, 0.25);
  border-radius: var(--radius-md);
}

.tool-placeholder__icon {
  margin: 0 auto 0.75rem;
  color: var(--accent);
  opacity: 0.85;
}

.tool-placeholder__title {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
}

.tool-placeholder__text {
  margin: 0 auto 0.75rem;
  max-width: 32rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.tool-placeholder__note {
  margin: 0 auto 1rem;
  max-width: 34rem;
  font-size: var(--step--1);
  color: var(--text-soft);
}

.tool-placeholder__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.d-none {
  display: none !important;
}

.tool-calc__note {
  margin-top: 0.75rem;
  font-size: var(--step--1);
  color: var(--text-soft);
  line-height: 1.45;
}

.tool-company-card {
  margin-bottom: 1rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.tool-company-card--wide {
  margin-top: 1rem;
}

.tool-company-card__name {
  margin: 0 0 0.35rem;
  font-weight: 600;
  font-size: var(--step--1);
}

.tool-company-card__meta {
  margin: 0 0 0.25rem;
  font-size: 0.78rem;
  color: var(--text-soft);
  line-height: 1.4;
}

.tool-badge {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tool-badge--ok {
  border: 1px solid rgba(74, 222, 128, 0.35);
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
}

.tool-article-promo {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(59, 130, 246, 0.28);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.02) 60%);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tool-article-promo:hover {
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}

.tool-article-promo__icon {
  flex: 0 0 auto;
  font-size: 1.5rem;
  line-height: 1;
}

.tool-article-promo__body {
  min-width: 0;
}

.tool-article-promo__badge {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(147, 197, 253, 0.14);
  color: var(--tool-accent-blue);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tool-article-promo__title {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.35;
}

.tool-article-promo__summary {
  margin: 0 0 0.45rem;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--text-muted);
}

.tool-article-promo__link {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--tool-accent-blue);
}

.tool-fieldset {
  margin: 0 0 1rem;
  padding: 0;
  border: none;
}

.tool-fieldset__legend {
  margin-bottom: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tool-fieldset__optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

.tool-field__input--inn {
  flex: 0 1 8rem;
  max-width: 10rem;
}

.tool-calc__kpi {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(147, 197, 253, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(59, 130, 246, 0.1);
  font-size: var(--step--1);
  color: var(--text-muted);
  line-height: 1.45;
}

.tool-calc__kpi strong {
  color: var(--tool-accent-blue);
}

.tool-calc__kpi-sep {
  color: var(--text-muted);
  opacity: 0.7;
}

.tool-aside__subtitle {
  margin: 0.85rem 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.tool-aside__list {
  margin: 0 0 0.5rem;
  padding-left: 1.1rem;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--text-muted);
}

.tool-aside__list li + li {
  margin-top: 0.25rem;
}

.tool-calc__promo {
  margin-top: 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(197, 168, 128, 0.2);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.tool-calc__promo-title {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tool-calc__promo-text {
  margin: 0 0 0.5rem;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--text-muted);
}

.tool-calc__promo-link {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.tool-calc__inline-cta {
  margin-top: 0.85rem;
  padding: 0.9rem 0.95rem;
  border: 1px solid rgba(197, 168, 128, 0.22);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
}

.tool-calc__inline-cta-badge {
  display: inline-block;
  margin: 0 0 0.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(201, 169, 98, 0.14);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tool-calc__inline-cta-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.tool-calc__inline-cta-text {
  margin: 0 0 0.65rem;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--text-muted);
}

.tool-calc__inline-cta-secondary {
  margin: 0.65rem 0 0;
  font-size: var(--step--1);
  color: var(--text-muted);
}

.tool-calc__inline-cta-secondary a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.tool-page-faq .faq {
  max-width: none;
}

.tool-page-cta__card {
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: var(--radius-md);
  border: 1px solid rgba(197, 168, 128, 0.28);
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.1), rgba(255, 255, 255, 0.03) 68%);
  color: var(--text);
}

.tool-page-cta__badge {
  display: inline-block;
  margin: 0 0 0.5rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(201, 169, 98, 0.14);
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tool-page-cta__title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  color: var(--text);
}

.tool-page-cta__text {
  margin: 0 0 1rem;
  max-width: 44rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.tool-page-cta__note {
  margin: 0.85rem 0 0;
  max-width: 44rem;
  font-size: var(--step--1);
  line-height: 1.5;
  color: var(--text-soft);
}

/* —— Банкротные экспресс-тесты (.tool-quiz) —— */
.tool-quiz {
  display: grid;
  gap: 1.25rem;
}

.tool-quiz__intro {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background:
    radial-gradient(ellipse 90% 80% at 0% 0%, rgba(197, 168, 128, 0.12), transparent 55%),
    var(--bg-elevated);
}

.tool-quiz__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.tool-quiz__lead {
  margin: 0;
  line-height: 1.55;
  color: var(--text-muted);
}

.tool-quiz__law {
  margin: 0.75rem 0 0;
  font-size: var(--fs-sm);
  color: var(--text-soft);
}

.tool-quiz__law-label {
  font-weight: 700;
  color: var(--text-muted);
}

.tool-quiz__progress-block {
  display: grid;
  gap: 0.55rem;
}

.tool-quiz__progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
}

.tool-quiz__progress-pct {
  color: var(--accent);
}

.tool-quiz__progress-track {
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.tool-quiz__progress-bar {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent-dim), var(--accent));
  transition: width 0.35s ease;
}

.tool-quiz__steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tool-quiz__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  transition: background 0.2s ease, transform 0.2s ease;
}

.tool-quiz__dot.is-current {
  background: var(--accent);
  transform: scale(1.2);
}

.tool-quiz__dot.is-done {
  background: rgba(197, 168, 128, 0.55);
}

.tool-quiz__panel {
  padding: clamp(1.15rem, 2.5vw, 1.6rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  animation: tool-quiz-in 0.32s ease;
}

@keyframes tool-quiz-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.tool-quiz__q-index {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.tool-quiz__question {
  margin: 0 0 1.1rem;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  line-height: 1.35;
  color: var(--text);
}

.tool-quiz__options {
  display: grid;
  gap: 0.65rem;
}

.tool-quiz__option {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 0.85rem;
  align-items: start;
  width: 100%;
  padding: 0.95rem 1.05rem;
  text-align: left;
  font: inherit;
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.tool-quiz__option:hover,
.tool-quiz__option:focus-visible {
  border-color: rgba(197, 168, 128, 0.55);
  background: rgba(197, 168, 128, 0.08);
  outline: none;
}

.tool-quiz__option.is-selected {
  border-color: var(--accent);
  background: rgba(197, 168, 128, 0.14);
  box-shadow: 0 0 0 1px var(--accent-glow);
}

.tool-quiz__option-key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 0.55rem;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent);
  background: rgba(197, 168, 128, 0.14);
}

.tool-quiz__option-text {
  line-height: 1.45;
  padding-top: 0.25rem;
}

.tool-quiz__nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-top: 1.15rem;
}

.tool-quiz__hint {
  font-size: var(--fs-sm);
  color: var(--text-soft);
}

.tool-quiz__disclaimer {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-soft);
}

.tool-quiz__advocate-note {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--accent);
  background: color-mix(in srgb, var(--bg-elevated) 88%, var(--accent) 12%);
}

.tool-quiz__advocate-note-label {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.tool-quiz__advocate-note-text {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--text);
}

.tool-quiz__result {
  padding: clamp(1.25rem, 2.8vw, 1.85rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  animation: tool-quiz-in 0.4s ease;
}

.tool-quiz__result-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.tool-quiz__result-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  color: var(--text);
}

.tool-quiz__result.is-success .tool-quiz__result-title { color: #7dcea0; }
.tool-quiz__result.is-medium .tool-quiz__result-title { color: #e0b35a; }
.tool-quiz__result.is-high .tool-quiz__result-title { color: #e07a7a; }

.tool-quiz__meter {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tool-quiz__meter-track {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.tool-quiz__meter-fill {
  height: 100%;
  border-radius: inherit;
  transition: width 0.55s ease;
}

.tool-quiz__meter-fill.is-success { background: linear-gradient(90deg, #3d8b65, #7dcea0); }
.tool-quiz__meter-fill.is-medium { background: linear-gradient(90deg, #b8892d, #e0b35a); }
.tool-quiz__meter-fill.is-high { background: linear-gradient(90deg, #b34a4a, #e07a7a); }

.tool-quiz__meter-label {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
}

.tool-quiz__result-msg {
  margin: 0 0 1.15rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.tool-quiz__persons {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.tool-quiz__person {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.tool-quiz__person-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}

.tool-quiz__person-head strong { color: var(--text); }
.tool-quiz__person-head span { font-weight: 700; color: var(--accent); }
.tool-quiz__person--high .tool-quiz__person-head span { color: #e07a7a; }
.tool-quiz__person--medium .tool-quiz__person-head span { color: #e0b35a; }
.tool-quiz__person p {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--text-muted);
}

.tool-quiz__next {
  margin: 0 0 1.15rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--accent);
  background: rgba(197, 168, 128, 0.08);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.tool-quiz__next-title {
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  color: var(--text);
}

.tool-quiz__next-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.tool-quiz__cta {
  margin: 0 0 1rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(197, 168, 128, 0.35);
  border-radius: var(--radius-md);
  background:
    radial-gradient(ellipse 100% 80% at 100% 0%, rgba(88, 140, 220, 0.1), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

.tool-quiz__cta-text {
  margin: 0 0 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.tool-quiz__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

@media (max-width: 640px) {
  .tool-quiz__option {
    grid-template-columns: 1.85rem 1fr;
    gap: 0.65rem;
    padding: 0.8rem 0.85rem;
  }
}
