@font-face {
  font-family: "TTHovesPro";
  src: url("/css/fonts/tt-hoves-pro-regular.woff") format("woff");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --rh-bg: #1c1c1c;
  --rh-surface: #262321;
  --rh-surface-2: #2d2926;
  --rh-line: rgba(255, 255, 255, 0.12);
  --rh-line-strong: rgba(255, 255, 255, 0.24);
  --rh-text: #f4efe9;
  --rh-text-soft: rgba(244, 239, 233, 0.72);
  --rh-text-dim: rgba(244, 239, 233, 0.48);
  --rh-accent: #d8cab7;
  --rh-accent-strong: #f7f0e8;
  --rh-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
  --rh-radius: 22px;
  --rh-shell: min(100% - 40px, 1440px);
  --rh-copy: min(100%, 68ch);
  --rh-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --rh-header-stroke: rgba(255, 255, 255, 0.72);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

html.lenis.lenis-stopped:not(.lenis-autoToggle) {
  overflow-x: clip;
  overflow-y: visible;
}

body.rh-preview {
  margin: 0;
  background: var(--rh-bg);
  color: var(--rh-text);
  font-family: "TTHovesPro", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.rh-preview::selection {
  background: rgba(247, 240, 232, 0.22);
}

body.rh-preview img {
  display: block;
  max-width: 100%;
}

body.rh-preview a {
  color: inherit;
  text-decoration: none;
}

body.rh-preview button,
body.rh-preview input,
body.rh-preview textarea,
body.rh-preview select {
  font: inherit;
}

body.rh-preview button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.rh-shell {
  width: var(--rh-shell);
  margin: 0 auto;
}

.rh-home {
  overflow: clip;
}

.rh-section {
  position: relative;
  padding: 108px 0;
  background: var(--rh-bg);
}

.rh-section__intro {
  margin-bottom: 42px;
}

.rh-section__title {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 0.94;
  letter-spacing: -0.045em;
  font-weight: 500;
  text-transform: uppercase;
}

.rh-btn,
.rh-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  transition:
    transform 180ms var(--rh-ease),
    background-color 180ms var(--rh-ease),
    border-color 180ms var(--rh-ease),
    color 180ms var(--rh-ease);
}

.rh-btn:hover,
.rh-header__cta:hover {
  transform: translateY(-1px);
}

.rh-btn:active,
.rh-header__cta:active {
  transform: translateY(0);
}

.rh-btn--light,
.rh-header__cta {
  background: rgba(247, 240, 232, 0.94);
  color: #171513;
}

.rh-btn--ghost {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(20, 18, 16, 0.26);
  color: var(--rh-text);
}

.rh-header {
  position: fixed;
  inset: calc(20 * var(--rh-u)) 0 auto;
  z-index: 20;
  width: 100%;
  overflow-x: clip;
}

/* Референс: логотип на x=40u/y=37u, пилюля навигации на y=20u
   правым краем в 17u от края артборда. */
.rh-header__shell {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: calc(20 * var(--rh-u));
  width: calc(100% - 57 * var(--rh-u));
  margin: 0 calc(17 * var(--rh-u)) 0 calc(40 * var(--rh-u));
}

/* Логотип живёт вне фиксированной шапки, поэтому уезжает вместе со страницей,
   а липкой остаётся только пилюля меню. */
.rh-brandline {
  position: absolute;
  top: calc(20 * var(--rh-u));
  left: calc(40 * var(--rh-u));
  z-index: 19;
}

.rh-header__brand {
  padding-top: calc(17 * var(--rh-u));
  position: relative;
  z-index: 2;
}

.rh-brand {
  display: inline-flex;
  align-items: center;
  gap: calc(11 * var(--rh-u));
  color: #fff;
  font-size: calc(18 * var(--rh-u));
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
  text-transform: none;
}

.rh-brand__mark {
  display: inline-flex;
  width: calc(42 * var(--rh-u));
  height: calc(18 * var(--rh-u));
  flex: 0 0 auto;
  color: currentColor;
}

.rh-brand--footer .rh-brand__mark {
  width: calc(34 * var(--rh-u));
  height: calc(14 * var(--rh-u));
}

.rh-brand__mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.rh-brand__mark path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.rh-header__bar {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0;
  width: fit-content;
  min-height: calc(46 * var(--rh-u));
  padding: calc(3 * var(--rh-u));
  border: 0;
  border-radius: calc(8 * var(--rh-u));
  background: linear-gradient(0deg, rgba(193, 193, 193, 0.1), rgba(193, 193, 193, 0.1));
  backdrop-filter: blur(35px);
  box-shadow: none;
}

.rh-nav {
  display: flex;
  align-items: center;
  padding: 0 calc(6 * var(--rh-u)) 0 calc(10 * var(--rh-u));
}

.rh-nav__link,
.rh-header__phone,
.rh-header__cta,
.rh-header__icon {
  position: relative;
  min-height: calc(39 * var(--rh-u));
  border-radius: calc(6 * var(--rh-u));
}

.rh-nav__link,
.rh-header__phone {
  color: var(--rh-text);
  font-size: calc(11 * var(--rh-u));
  line-height: 1.45;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.rh-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 0 calc(13 * var(--rh-u));
  font-weight: 500;
}

.rh-header__cell,
.rh-header__icon {
  margin-left: calc(4 * var(--rh-u));
  border: max(1px, calc(1 * var(--rh-u))) solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.012);
  box-shadow: none;
}

.rh-header__phone {
  display: inline-flex;
  align-items: center;
  padding: 0 calc(10 * var(--rh-u));
  border-color: transparent;
  background: transparent;
}

body.rh-preview .rh-header__cta {
  min-height: calc(39 * var(--rh-u));
  padding: 0 calc(15 * var(--rh-u));
  border: max(1px, calc(1 * var(--rh-u))) solid var(--rh-header-stroke);
  background: rgba(255, 255, 255, 0.018);
  color: var(--rh-text);
  font-size: calc(11 * var(--rh-u));
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.rh-header__icon {
  width: calc(37 * var(--rh-u));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--rh-text);
  border: max(1px, calc(1 * var(--rh-u))) solid var(--rh-header-stroke);
}

.rh-header__icon svg {
  width: calc(15 * var(--rh-u));
  height: calc(15 * var(--rh-u));
}

.rh-nav__link:hover,
.rh-header__phone:hover,
.rh-header__cta:hover,
.rh-header__icon:hover {
  background: rgba(255, 255, 255, 0.06);
  transform: none;
}

.rh-burger {
  display: none;
}

.nav-mobile {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: start end;
  padding: 20px;
  overflow-x: clip;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms var(--rh-ease);
  background: rgba(10, 9, 8, 0.52);
}

.site-header.is-open .nav-mobile {
  opacity: 1;
  pointer-events: auto;
}

.nav-mobile__panel {
  width: min(100%, 360px);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  background: rgba(31, 31, 31, 0.96);
  box-shadow: var(--rh-shadow);
}

.nav-mobile__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 600;
}

.nav-mobile__close {
  font-size: 1.8rem;
  line-height: 1;
}

.nav-mobile-list {
  display: grid;
  gap: 12px;
}

.nav-mobile-list a,
.nav-mobile__phone,
.btn-cta-mobile {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
}

.btn-cta-mobile {
  width: 100%;
  margin-top: 14px;
  background: rgba(247, 240, 232, 0.96);
  color: #191715;
  text-align: left;
}

/* Герой на всю ширину экрана, без верхнего зазора. */
.rh-hero {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  background: var(--rh-bg);
}

.rh-hero__stage {
  position: relative;
  width: 100%;
  aspect-ratio: 1600 / 800;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background: var(--rh-bg);
}

.rh-hero__media,
.rh-hero__veil {
  position: absolute;
  inset: 0;
  border-radius: 0;
  overflow: hidden;
}

.rh-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.rh-hero__veil {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(15, 13, 12, 0.16) 0%, rgba(15, 13, 12, 0) 38%, rgba(15, 13, 12, 0) 100%),
    linear-gradient(180deg, rgba(15, 13, 12, 0) 0%, rgba(15, 13, 12, 0) 62%, rgba(15, 13, 12, 0.28) 100%);
}

.rh-hero__shell {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  margin: 0;
}

.rh-hero__headline {
  position: absolute;
  top: 34.125%;
  left: calc(30 * var(--rh-u));
  width: calc(495 * var(--rh-u));
  transform: none;
}

.rh-hero__support {
  position: absolute;
  z-index: 2;
  top: 79.875%;
  left: calc(30 * var(--rh-u));
  width: calc(400 * var(--rh-u));
}

.rh-hero__title {
  margin: 0;
  max-width: 100%;
  color: #fff;
  font-family: "TTHovesPro", Arial, sans-serif;
  font-size: calc(44 * var(--rh-u));
  line-height: 1.159;
  letter-spacing: -0.041em;
  font-weight: 400;
  text-transform: uppercase;
  text-rendering: optimizeSpeed;
  font-kerning: none;
}

/* Строка заголовка не флекс: флекс блокифицирует вложенные спаны, и тогда
   innerText вместе с буфером обмена отдают по одному символу на строку. */
.rh-hero__line {
  display: block;
  width: max-content;
  max-width: 100%;
  white-space: nowrap;
}

.rh-reveal__line {
  display: block;
}

.rh-reveal__inner {
  display: inline-block;
}

.rh-reveal__char,
.rh-reveal__space {
  display: inline;
  white-space: pre;
}

.rh-reveal__char {
  opacity: 1;
}

[data-rh-reveal-root].is-motion-ready .rh-reveal .rh-reveal__char,
.rh-hero.is-motion-ready .rh-reveal .rh-reveal__char {
  opacity: 0;
}

[data-rh-reveal-root].is-motion-ready .rh-reveal.is-revealing .rh-reveal__char,
.rh-hero.is-motion-ready .rh-reveal.is-revealing .rh-reveal__char {
  animation: rh-hero-char-reveal 400ms ease both;
  animation-delay: var(--rh-char-delay, 0ms);
  will-change: opacity;
}

[data-rh-reveal-root].is-motion-ready .rh-reveal.is-revealed .rh-reveal__char,
.rh-hero.is-motion-ready .rh-reveal.is-revealed .rh-reveal__char {
  opacity: 1;
}

@keyframes rh-hero-char-reveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Маска включается только на время анимации: в покое строка не обрезана,
   поэтому свечение заголовка и выносные элементы букв остаются целыми. */
[data-rh-reveal-root].is-motion-ready .rh-reveal:not(.is-revealed) .rh-reveal__line,
.rh-hero.is-motion-ready .rh-reveal:not(.is-revealed) .rh-reveal__line {
  overflow: hidden;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

[data-rh-reveal-root].is-motion-ready .rh-reveal .rh-reveal__inner,
.rh-hero.is-motion-ready .rh-reveal .rh-reveal__inner {
  transform: translateY(108%);
}

[data-rh-reveal-root].is-motion-ready .rh-reveal.is-revealing .rh-reveal__inner,
.rh-hero.is-motion-ready .rh-reveal.is-revealing .rh-reveal__inner {
  animation: rh-reveal-line-up 720ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: var(--rh-line-delay, 0ms);
  will-change: transform;
}

[data-rh-reveal-root].is-motion-ready .rh-reveal.is-revealed .rh-reveal__inner,
.rh-hero.is-motion-ready .rh-reveal.is-revealed .rh-reveal__inner {
  transform: none;
}

@keyframes rh-reveal-line-up {
  from {
    transform: translateY(108%);
  }
  to {
    transform: none;
  }
}

.rh-hero__intro {
  margin: 0;
  max-width: none;
  color: #fff;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  line-height: var(--rh-copy-lh);
}

.rh-hero__actions {
  display: flex;
  flex-wrap: nowrap;
  gap: calc(10 * var(--rh-u));
  margin-top: calc(20 * var(--rh-u));
}

.rh-hero__actions .rh-btn {
  min-height: calc(42 * var(--rh-u));
  padding: 0 calc(17 * var(--rh-u)) 0 calc(15 * var(--rh-u));
  border-radius: calc(6 * var(--rh-u));
  font-size: calc(13 * var(--rh-u));
  font-weight: 400;
  white-space: nowrap;
}

.rh-hero__actions .rh-btn::before {
  width: calc(4 * var(--rh-u));
  height: calc(4 * var(--rh-u));
  margin-right: calc(9 * var(--rh-u));
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.rh-hero__actions .rh-btn--light {
  background: #fff;
  color: #2e3d36;
}

.rh-hero__actions .rh-btn--ghost {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(18, 18, 18, 0.05);
}

/* Плашка прижата к правому нижнему краю кадра. Скруглён только её внутренний
   угол, а в стыках с краями кадра дуги принадлежат фото (.rh-photo-notch). */
.rh-hero__facts {
  position: absolute;
  top: auto;
  right: 0;
  bottom: 0;
  left: auto;
  z-index: 3;
  display: flex;
  align-items: flex-start;
  gap: calc(56 * var(--rh-u));
  width: auto;
  height: auto;
  min-height: 0;
  overflow: visible;
  padding: calc(30 * var(--rh-u)) calc(40 * var(--rh-u));
  border: 0;
  border-radius: calc(24 * var(--rh-u)) 0 0 0;
  background: var(--rh-bg);
  box-shadow: none;
}

/* Скругления углов самой картинки в стыке с плашкой. border-radius даёт
   выпуклую четверть диска, а нужен обратный вырез: заливка занимает угол
   у плашки, а прозрачная четверть круга с центром в дальнем углу открывает
   фото. Такую вогнутую дугу рисует только radial-gradient. */
.rh-photo-notch {
  --rh-n: var(--rh-notch, calc(24 * var(--rh-u)));
  position: absolute;
  z-index: 1;
  width: var(--rh-n);
  height: var(--rh-n);
  background: radial-gradient(
    circle at 0 0,
    transparent calc(var(--rh-n) - 0.5px),
    var(--rh-notch-fill, var(--rh-bg)) calc(var(--rh-n) + 0.5px)
  );
  pointer-events: none;
}

/* Правый край кадра: скруглён нижний правый угол фото. */
.rh-photo-notch--tr {
  top: calc(-1 * var(--rh-n));
  right: 0;
}

/* Нижний край кадра: скруглён левый нижний угол фото. */
.rh-photo-notch--bl {
  bottom: 0;
  left: calc(-1 * var(--rh-n));
}

.rh-hero__fact {
  display: flex;
  flex-direction: column;
  gap: calc(12 * var(--rh-u));
  width: calc(200 * var(--rh-u));
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.rh-hero__fact:nth-of-type(2) {
  width: calc(170 * var(--rh-u));
}

.rh-hero__fact-icon {
  display: inline-flex;
  flex-shrink: 0;
  width: calc(28 * var(--rh-u));
  height: calc(28 * var(--rh-u));
  margin-bottom: 0;
  color: #fff;
}

.rh-hero__fact-icon svg {
  width: 100%;
  height: 100%;
}

.rh-hero__fact-label {
  display: none;
}

.rh-hero__fact-value {
  margin: 0;
  max-width: none;
  color: #fff;
  font-size: calc(15 * var(--rh-u));
  line-height: 1.45;
}

.rh-capabilities {
  padding: calc(80 * var(--rh-u)) 0 calc(94 * var(--rh-u));
  overflow: hidden;
  border-top: 0;
  background:
    radial-gradient(circle at -4% 9%, rgba(56, 59, 74, 0.34), transparent 22%),
    var(--rh-bg);
}

.rh-capabilities__shell {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(10 * var(--rh-u));
  width: calc(100% - 60 * var(--rh-u));
  max-width: none;
  align-items: start;
}

.rh-capabilities .rh-section__intro {
  grid-column: 1;
  margin: 0;
}

.rh-capabilities__title {
  max-width: calc(346 * var(--rh-u));
  color: #fff;
  font-size: calc(42 * var(--rh-u));
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.042857em;
  font-weight: 400;
}

.rh-capabilities__title-line {
  display: block;
  white-space: nowrap;
}

.rh-capabilities__cards {
  display: grid;
  grid-column: 2 / 4;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(10 * var(--rh-u));
  min-width: 0;
}

.rh-capabilities__column {
  display: grid;
  align-content: start;
  gap: calc(10 * var(--rh-u));
  min-width: 0;
}

.rh-capability {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: calc(340 * var(--rh-u));
  flex-direction: column;
  align-items: flex-start;
  padding: calc(30 * var(--rh-u));
  overflow: hidden;
  border: max(1px, calc(1 * var(--rh-u))) solid rgba(255, 255, 255, 0.12);
  border-radius: calc(15 * var(--rh-u));
  background: #1c1c1c;
  color: #fff;
  text-align: left;
  backdrop-filter: blur(calc(35 * var(--rh-u)));
}

.rh-capability--1 {
  min-height: calc(368 * var(--rh-u));
}

.rh-capability--2 {
  min-height: calc(340 * var(--rh-u));
}

.rh-capability--3 {
  min-height: calc(354 * var(--rh-u));
}

.rh-capability--4 {
  min-height: calc(326 * var(--rh-u));
}

@media (min-width: 1600px) {
  .rh-capability--2 {
    min-height: calc(315 * var(--rh-u));
  }

  .rh-capability--3 {
    min-height: calc(333 * var(--rh-u));
  }

  .rh-capability--4 {
    min-height: calc(332 * var(--rh-u));
  }
}

.rh-capability:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.78);
  outline-offset: 3px;
}

.rh-capability__glow {
  position: absolute;
  z-index: -1;
  right: -9%;
  bottom: -37%;
  width: 88%;
  aspect-ratio: 1.3;
  border-radius: 50%;
  background: #383b4a;
  opacity: 0.45;
  filter: blur(calc(50 * var(--rh-u)));
}

.rh-capability__glyph {
  position: absolute;
  top: calc(30 * var(--rh-u));
  right: calc(30 * var(--rh-u));
  width: calc(40 * var(--rh-u));
  height: calc(48 * var(--rh-u));
  color: rgba(255, 255, 255, 0.86);
}

.rh-capability__glyph svg {
  width: 100%;
  height: 100%;
}

.rh-capability__title {
  position: relative;
  z-index: 1;
  display: block;
  max-width: calc(100% - 72 * var(--rh-u));
  font-size: calc(24 * var(--rh-u));
  line-height: 1.15;
  letter-spacing: -0.0375em;
  font-weight: 400;
  text-transform: uppercase;
}

.rh-capability__list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: calc(4 * var(--rh-u));
  width: 100%;
  margin-top: calc(50 * var(--rh-u));
  color: rgba(255, 255, 255, 0.7);
  font-size: calc(var(--rh-copy) * var(--rh-u));
  line-height: var(--rh-copy-lh);
}

.rh-capability__list [role="listitem"]::before {
  margin-right: calc(5 * var(--rh-u));
  content: "–";
}

.rh-capability__cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-width: calc(132 * var(--rh-u));
  min-height: calc(44 * var(--rh-u));
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0 calc(17 * var(--rh-u));
  border-radius: calc(6 * var(--rh-u));
  background: #fff;
  color: #383b4a;
  font-size: calc(13 * var(--rh-u));
  line-height: 1;
  white-space: nowrap;
}

.rh-capability__cta::before {
  width: calc(4 * var(--rh-u));
  height: calc(4 * var(--rh-u));
  margin-right: calc(9 * var(--rh-u));
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.rh-highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rh-highlight {
  display: grid;
  grid-template-rows: 240px auto;
  border-radius: var(--rh-radius);
  overflow: hidden;
  text-align: left;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    transform 220ms var(--rh-ease),
    border-color 220ms var(--rh-ease);
}

.rh-highlight:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.18);
}

.rh-highlight__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-highlight__body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.rh-highlight__title {
  font-size: 1.02rem;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.rh-highlight__text,
.rh-highlight__meta {
  color: var(--rh-text-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

.rh-logic {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.rh-logic__top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 56px;
  align-items: start;
}

.rh-logic__copy {
  max-width: var(--rh-copy);
}

.rh-logic__copy .rh-section__title {
  max-width: 16ch;
}

.rh-logic__note {
  margin: 26px 0 0;
  color: var(--rh-text-soft);
  font-size: 1rem;
  line-height: 1.58;
}

.rh-logic__register {
  display: grid;
  gap: 12px;
}

.rh-logic__row {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.rh-logic__row:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.rh-logic__index {
  margin: 0;
  color: var(--rh-text-dim);
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.rh-logic__row h3,
.rh-logic__card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
  line-height: 1.08;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}

.rh-logic__row p,
.rh-logic__card p {
  margin: 0;
  color: var(--rh-text-soft);
  font-size: 0.95rem;
  line-height: 1.52;
}

.rh-logic__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 36px;
}

.rh-logic__card {
  padding: 24px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.rh-projects__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 22px;
}

.rh-project {
  display: grid;
  grid-template-rows: 380px auto;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-project__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-project__body {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.rh-project__label {
  margin: 0;
  color: var(--rh-text-dim);
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rh-project__body h3 {
  margin: 0;
  font-size: 1.36rem;
  line-height: 1.06;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.rh-project__body > p:last-of-type {
  margin: 0;
  color: var(--rh-text-soft);
  font-size: 0.95rem;
  line-height: 1.52;
}

.rh-project__cta {
  justify-self: start;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  text-transform: uppercase;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
}

.rh-process__shell {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 46px;
  align-items: start;
}

.rh-process__list {
  display: grid;
  gap: 0;
}

.rh-process__item {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.rh-process__item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.rh-process__item-title,
.rh-process__item-text {
  margin: 0;
}

.rh-process__item-title {
  font-size: 0.98rem;
  line-height: 1.14;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.rh-process__item-text {
  color: var(--rh-text-soft);
  font-size: 0.95rem;
  line-height: 1.52;
}

.rh-team__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 26px;
}

.rh-team__lead,
.rh-team__card {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-team__lead {
  display: grid;
}

.rh-team__lead-media {
  aspect-ratio: 4 / 4.9;
}

.rh-team__lead-media img,
.rh-team__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-team__lead-copy,
.rh-team__card-copy {
  display: grid;
  gap: 10px;
  padding: 22px;
}

.rh-team__lead-copy h3,
.rh-team__card-copy h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  font-weight: 500;
}

.rh-team__role {
  margin: 0;
  color: var(--rh-text-dim);
  font-size: 0.8rem;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rh-team__lead-copy > p:last-child,
.rh-team__card-copy > p:last-child {
  margin: 0;
  color: var(--rh-text-soft);
  font-size: 0.94rem;
  line-height: 1.52;
}

.rh-team__rail {
  display: grid;
  gap: 18px;
}

.rh-team__card {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
}

.rh-team__thumb {
  min-height: 100%;
}

.rh-faq__items {
  display: grid;
}

.rh-faq__item {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.rh-faq__item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

/* Вопрос набирается обычным регистром: в референсе капслока здесь нет,
   а плюс рисуют два волосяных штриха, не текстовый глиф. */
.rh-faq__item summary {
  position: relative;
  display: block;
  padding: 24px 48px 24px 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.02rem;
  line-height: 1.26;
  letter-spacing: -0.02em;
}

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

.rh-faq__answer {
  padding: 0 0 22px;
  max-width: 70ch;
}

.rh-faq__answer p {
  margin: 0;
  color: var(--rh-text-soft);
  font-size: 0.95rem;
  line-height: 1.58;
}

.rh-contact__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
  gap: 42px;
  align-items: start;
}

.rh-contact__copy {
  max-width: var(--rh-copy);
}

.rh-contact__text {
  margin: 24px 0 0;
  color: var(--rh-text-soft);
  font-size: 1rem;
  line-height: 1.58;
}

.rh-contact__meta {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.rh-contact__meta a,
.rh-contact__meta p {
  margin: 0;
  color: var(--rh-text);
  font-size: 0.95rem;
  line-height: 1.45;
}

.rh-contact__form {
  padding: 28px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-form {
  display: grid;
  gap: 18px;
}

.rh-field {
  display: grid;
  gap: 8px;
}

.rh-field span,
.rh-checkbox span {
  color: var(--rh-text-soft);
  font-size: 0.88rem;
  line-height: 1.4;
}

.rh-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.02);
  color: var(--rh-text);
}

.rh-field input::placeholder {
  color: rgba(244, 239, 233, 0.34);
}

.rh-field input:focus,
.rh-checkbox input:focus {
  outline: 2px solid rgba(247, 240, 232, 0.42);
  outline-offset: 2px;
}

.rh-checkbox {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.rh-checkbox input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.rh-form__status,
.field-error {
  min-height: 1.2em;
  margin: 0;
  color: #f7b0a6;
  font-size: 0.82rem;
  line-height: 1.35;
}

.rh-footer {
  position: relative;
  padding: 0 0 96px;
  background: var(--rh-bg);
}

.rh-footer__shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rh-footer__brand {
  display: grid;
  align-content: start;
  gap: 16px;
}

.rh-footer__messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rh-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.rh-footer__column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.rh-footer__column h3 {
  margin: 0 0 8px;
  color: var(--rh-text-dim);
  font-size: 0.74rem;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rh-footer__column a {
  color: var(--rh-text-soft);
  font-size: 0.9rem;
  line-height: 1.4;
}

.rh-back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(28, 24, 21, 0.82);
  color: var(--rh-text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--rh-ease), transform 180ms var(--rh-ease);
  backdrop-filter: blur(12px);
}

.rh-back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.rh-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
}

.rh-modal[hidden] {
  display: none;
}

.rh-modal.is-open {
  display: block;
}

.rh-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 10, 9, 0.74);
  backdrop-filter: blur(8px);
}

.rh-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, 1040px);
  margin: min(6vh, 52px) auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  border-radius: 28px;
  overflow: hidden;
  background: #1d1a18;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--rh-shadow);
}

.rh-modal__media img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
}

.rh-modal__body {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: 34px 32px;
}

.rh-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--rh-text);
  font-size: 1.5rem;
}

.rh-modal__eyebrow {
  margin: 0;
  color: var(--rh-text-dim);
  font-size: 0.72rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rh-modal__body h3 {
  margin: 0;
  font-size: 1.72rem;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.rh-modal__body p {
  margin: 0;
  color: var(--rh-text-soft);
  font-size: 0.96rem;
  line-height: 1.55;
}

.rh-modal__body ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.rh-modal__body li {
  color: var(--rh-text-soft);
  font-size: 0.93rem;
  line-height: 1.45;
}

.rh-service-dialog {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  width: min(calc(100% - 40px), 1120px);
  max-height: none;
  margin: 20px auto;
  overflow: hidden;
  border: 1px solid #303237;
  border-radius: 18px;
  background: rgba(28, 28, 28, 0.78);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(35px);
}

.rh-modal.is-open .rh-service-dialog {
  animation: rh-modal-enter 300ms var(--rh-ease) both;
}

@keyframes rh-modal-enter {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.rh-service-dialog__copy,
.rh-service-dialog__form-panel {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 32px 40px 36px;
  overflow: hidden;
}

.rh-service-dialog__copy::before,
.rh-service-dialog__form-panel::before {
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 320px;
  border-radius: 50%;
  background: #383b4a;
  opacity: 0.36;
  filter: blur(75px);
  content: "";
}

.rh-service-dialog__copy::before {
  right: -180px;
  bottom: -170px;
}

.rh-service-dialog__form-panel::before {
  top: -190px;
  right: -210px;
  opacity: 0.28;
}

.rh-service-dialog__copy {
  display: grid;
  align-content: start;
  gap: 14px;
}

.rh-service-dialog__copy h3,
.rh-service-dialog__form-panel h4 {
  margin: 0;
  color: #fff;
  font-weight: 400;
  text-transform: uppercase;
}

.rh-service-dialog__copy h3 {
  max-width: 16ch;
  padding-right: 42px;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.rh-service-dialog__copy p,
.rh-service-dialog__form-panel > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.96rem;
  line-height: 1.55;
}

.rh-service-dialog__copy ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.4;
  list-style: none;
}

.rh-service-dialog__copy li::before {
  margin-right: 7px;
  content: "–";
}

.rh-service-dialog__form-panel {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.018);
}

.rh-service-dialog__form-panel h4 {
  padding-right: 42px;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.rh-service-dialog__form-panel > p {
  max-width: 34ch;
  margin-top: 14px;
}

.rh-modal-form {
  margin-top: 30px;
}

.rh-modal-form .rh-field input {
  background: rgba(255, 255, 255, 0.025);
  border-color: rgba(255, 255, 255, 0.13);
}

.rh-service-dialog .rh-modal-form__submit {
  width: fit-content;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  background: #fff;
  color: #383b4a;
}

.rh-service-dialog .rh-modal-form__submit::before {
  width: 3px;
  height: 3px;
  margin-right: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

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

.rh-service-dialog .rh-modal__close {
  top: 18px;
  right: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
}

.rh-service-dialog .rh-modal__close svg {
  width: 18px;
  height: 18px;
}

.rh-toast,
.lead-toast {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 35;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: min(420px, calc(100vw - 40px));
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(24, 21, 19, 0.92);
  color: var(--rh-text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--rh-shadow);
  backdrop-filter: blur(12px);
}

.lead-toast {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 180ms var(--rh-ease),
    transform 180ms var(--rh-ease);
}

.lead-toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.lead-toast--error {
  border-color: rgba(247, 176, 166, 0.4);
}

@media (max-width: 1180px) {
  .rh-header__shell {
    gap: 16px;
  }

  .rh-header__bar {
    transform: scale(0.88);
    transform-origin: right top;
  }

  .rh-highlights__grid,
  .rh-logic__cards,
  .rh-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rh-capabilities {
    padding-top: 96px;
  }

  .rh-capabilities__shell {
    grid-template-columns: 1fr;
    gap: 36px;
    width: calc(100% - 48px);
  }

  /* На одной колонке карточки не должны создавать неявные колонки грида. */
  .rh-capabilities .rh-section__intro,
  .rh-capabilities__cards {
    grid-column: 1;
  }

  .rh-logic__top,
  .rh-process__shell,
  .rh-team__layout,
  .rh-contact__shell,
  .rh-footer__shell {
    grid-template-columns: 1fr;
  }

  .rh-team__lead-media {
    aspect-ratio: 16 / 11;
  }
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .rh-header__shell {
    width: calc(100% - 5vw - 28px);
    margin: 0 0 0 calc(2.5vw + 10px);
  }

  .rh-brandline {
    left: calc(2.5vw + 10px);
  }

  .rh-hero__stage {
    aspect-ratio: 1200 / 620;
  }

  .rh-hero__media,
  .rh-hero__veil {
    inset: 0;
    border-radius: 0;
  }

  .rh-hero__headline {
    top: 14vw;
    left: 2.5vw;
    width: 41.25vw;
  }

  .rh-hero__title {
    font-size: 3.5vw;
    line-height: 1.15;
    letter-spacing: -0.15vw;
  }

  .rh-hero__support {
    top: 38.25vw;
    left: 2.5vw;
    width: 29.25vw;
  }

  .rh-hero__intro {
    max-width: 29.25vw;
    min-height: 5.2vw;
    font-size: 0.916667vw;
  }

  .rh-hero__actions {
    gap: 0.833333vw;
    margin-top: 1.666667vw;
  }

  .rh-hero__actions .rh-btn {
    min-height: 3.516667vw;
    padding: 0 1.333333vw;
    border-radius: 0.5vw;
    font-size: 0.916667vw;
  }

  .rh-hero__actions .rh-btn::before {
    width: 0.25vw;
    height: 0.25vw;
    margin-right: 0.75vw;
  }

  .rh-hero__facts {
    top: auto;
    right: 0;
    bottom: 0;
    left: auto;
    gap: 3vw;
    width: auto;
    height: auto;
  }

  .rh-hero__fact {
    width: 14.166667vw;
    padding: 0;
  }

  .rh-hero__fact:nth-of-type(2) {
    width: 12.166667vw;
  }

  .rh-hero__fact-icon {
    width: 2.333333vw;
    height: 2.333333vw;
    margin-bottom: 0;
  }

  .rh-hero__fact-value {
    font-size: 0.916667vw;
  }
}

@media (min-width: 640px) and (max-width: 1199px) {
  .rh-header__shell {
    width: calc(100% - 9.375vw - 28px);
    margin: 0 0 0 calc(4.6875vw + 10px);
  }

  .rh-brandline {
    left: calc(4.6875vw + 10px);
  }

  .rh-hero__stage {
    aspect-ratio: 640 / 920;
  }

  .rh-hero__media,
  .rh-hero__veil {
    inset: 0;
    border-radius: 0;
  }

  .rh-hero__media img {
    object-position: 56% center;
  }

  /* Кегль и отступы героя здесь тоже считает --rh-u: прежние vw-значения были
     откалиброваны под артборд 640 и на 1180px давали двукратное увеличение.
     Переопределяем только раскладку портретной сцены. */
  .rh-hero__headline {
    top: 34%;
    left: calc(30 * var(--rh-u));
    width: 77%;
  }

  .rh-hero__support {
    top: auto;
    bottom: 22%;
    left: calc(30 * var(--rh-u));
    width: 55%;
  }

  .rh-hero__facts {
    top: auto;
    right: 0;
    bottom: 0;
    left: auto;
    gap: calc(40 * var(--rh-u));
  }

  .rh-hero__fact,
  .rh-hero__fact:nth-of-type(2) {
    width: auto;
    max-width: calc(220 * var(--rh-u));
  }

  .rh-hero__fact-label {
    display: none;
  }
}

@media (max-width: 920px) {
  .rh-header {
    inset: 16px 0 auto;
  }

  .rh-header__shell {
    width: calc(100% - 9.375vw - 20px);
    margin: 0 0 0 calc(4.6875vw + 10px);
  }

  .rh-brandline {
    top: 16px;
    left: calc(4.6875vw + 10px);
  }

  .rh-header__brand {
    padding-top: 4px;
  }

  .rh-header__bar {
    display: none;
  }

  .rh-burger {
    margin-left: auto;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    gap: 4px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(53, 56, 63, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
  }

  .rh-burger span {
    width: 20px;
    height: 1px;
    background: var(--rh-text);
  }

  .rh-highlights__grid,
  .rh-projects__grid,
  .rh-footer__grid {
    grid-template-columns: 1fr;
  }

  .rh-team__card,
  .rh-modal__dialog {
    grid-template-columns: 1fr;
  }

  .rh-modal__media {
    max-height: 320px;
  }

  .rh-service-dialog__form-panel {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  :root {
    --rh-shell: min(100% - 28px, 1440px);
  }

  .rh-section {
    padding: 82px 0;
  }

  .rh-section__intro {
    margin-bottom: 28px;
  }

  .rh-section__title {
    max-width: 100%;
    font-size: clamp(1.72rem, 10vw, 2.9rem);
  }

  .rh-capabilities {
    padding: 85px 0 98px;
  }

  .rh-capabilities__shell {
    gap: 26px;
    width: calc(100% - 36px);
  }

  .rh-capabilities__title {
    max-width: 13ch;
    font-size: 26px;
    line-height: 28.6px;
    letter-spacing: -1.1px;
  }

  .rh-capabilities__cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .rh-capabilities__column {
    display: contents;
  }

  .rh-capability {
    min-height: 328px;
    padding: 24px;
  }

  .rh-capability--1 {
    order: 1;
  }

  .rh-capability--2 {
    order: 2;
  }

  .rh-capability--3 {
    order: 3;
  }

  .rh-capability--4 {
    order: 4;
  }

  .rh-capability__glyph {
    top: 24px;
    right: 24px;
  }

  .rh-capability__title {
    font-size: 22px;
    line-height: 1.12;
  }

  .rh-capability__list {
    margin-top: 38px;
    font-size: 12px;
  }

  .rh-highlight {
    grid-template-rows: 220px auto;
  }

  .rh-project {
    grid-template-rows: 260px auto;
  }

  .rh-process__item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .rh-team__card {
    grid-template-columns: 1fr;
  }

  .rh-team__thumb {
    aspect-ratio: 16 / 11;
  }

  .rh-contact__form,
  .rh-modal__body {
    padding: 24px 18px;
  }

  .rh-modal__dialog {
    width: min(100% - 16px, 1040px);
    margin: 8px auto;
  }

  .rh-service-dialog {
    max-height: calc(100dvh - 16px);
    border-radius: 14px;
  }

  .rh-service-dialog__copy,
  .rh-service-dialog__form-panel {
    padding: 34px 24px;
  }

  .rh-service-dialog__copy h3 {
    font-size: 2rem;
  }
}

/* Телефон: кадр артборда 320×642 — нижняя граница, а не клетка. Заголовок,
   подводка с кнопками и плашка идут потоком, поэтому текст любой длины
   не уходит под плашку: кадр вытягивается вниз. */
@media (max-width: 639px) {
  .rh-hero__stage {
    display: flex;
    aspect-ratio: auto;
    min-height: calc(100vw * 642 / 320);
  }

  .rh-hero__shell {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    padding: 37.5vw 4.6875vw calc(18 * var(--rh-u));
  }

  .rh-hero__headline,
  .rh-hero__support,
  .rh-hero__facts {
    position: relative;
    inset: auto;
  }

  .rh-hero__support {
    margin-top: auto;
    padding-top: 8vw;
  }

  .rh-hero__media,
  .rh-hero__veil {
    inset: 0;
    border-radius: 0;
  }

  .rh-hero__media img {
    object-position: 58% center;
  }

  .rh-hero__headline {
    width: 82.5vw;
  }

  .rh-hero__title {
    font-size: 8.75vw;
    line-height: 1.15;
    letter-spacing: -0.34375vw;
  }

  .rh-hero__support {
    width: auto;
  }

  .rh-hero__intro {
    max-width: 100%;
    min-height: 0;
    font-size: 4.0625vw;
    line-height: 1.3;
  }

  .rh-hero__actions {
    gap: 2vw;
    margin-top: 4.6875vw;
  }

  .rh-hero__actions .rh-btn {
    min-height: 13.1875vw;
    padding: 0 3vw;
    border-radius: 1.875vw;
    font-size: 3.4375vw;
  }

  .rh-hero__actions .rh-btn::before {
    width: 0.9375vw;
    height: 0.9375vw;
    margin-right: 2.8125vw;
  }

  .rh-hero__facts {
    display: flex;
    flex-direction: column;
    gap: calc(12 * var(--rh-u));
    width: auto;
    height: auto;
    margin-top: calc(18 * var(--rh-u));
    border-radius: 0;
  }

  /* На мобильной ширине плашка не прижата к краям кадра — галтели не нужны. */
  .rh-photo-notch {
    display: none;
  }

  .rh-hero__fact {
    display: flex;
    gap: calc(6 * var(--rh-u));
    width: min(100%, calc(165 * var(--rh-u)));
    padding: 0;
  }

  .rh-hero__fact:nth-of-type(2) {
    width: min(100%, calc(165 * var(--rh-u)));
  }

  .rh-hero__fact-icon {
    width: calc(24 * var(--rh-u));
    height: calc(24 * var(--rh-u));
    margin: 0;
  }

  .rh-hero__fact-label {
    display: none;
  }

  .rh-hero__fact-value {
    max-width: none;
    font-size: max(11px, calc(11 * var(--rh-u)));
    line-height: 1.35;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  [data-rh-reveal-root].is-motion-ready .rh-reveal .rh-reveal__char,
  [data-rh-reveal-root].is-motion-ready .rh-reveal.is-revealing .rh-reveal__char,
  [data-rh-reveal-root].is-motion-ready .rh-reveal.is-revealed .rh-reveal__char,
  .rh-hero.is-motion-ready .rh-reveal .rh-reveal__char,
  .rh-hero.is-motion-ready .rh-reveal.is-revealing .rh-reveal__char,
  .rh-hero.is-motion-ready .rh-reveal.is-revealed .rh-reveal__char {
    opacity: 1;
    animation: none;
  }

  [data-rh-reveal-root].is-motion-ready .rh-reveal .rh-reveal__inner,
  [data-rh-reveal-root].is-motion-ready .rh-reveal.is-revealing .rh-reveal__inner,
  .rh-hero.is-motion-ready .rh-reveal .rh-reveal__inner,
  .rh-hero.is-motion-ready .rh-reveal.is-revealing .rh-reveal__inner {
    transform: none;
    animation: none;
  }

  [data-rh-reveal-root].is-motion-ready .rh-reveal:not(.is-revealed) .rh-reveal__line,
  .rh-hero.is-motion-ready .rh-reveal:not(.is-revealed) .rh-reveal__line {
    overflow: visible;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .rh-modal.is-open .rh-service-dialog {
    animation: none;
  }

  .rh-preview .rh-scene__rail-fill {
    transform: none;
  }
}

/* ========================================================================== */
/* Blackwood fidelity pass v18                                                 */
/* ========================================================================== */

.rh-preview {
  --rh-v18-bg: #1c1c1c;
  --rh-v18-panel: #202124;
  --rh-v18-panel-soft: #25262a;
  --rh-v18-line: rgba(255, 255, 255, 0.16);
  --rh-v18-line-strong: rgba(255, 255, 255, 0.28);
  --rh-v18-text: #f3f3f1;
  --rh-v18-muted: #777980;
  --rh-v18-muted-light: #aaaeb5;
  --rh-v18-ease: cubic-bezier(0.22, 1, 0.36, 1);
  /* Blackwood рисует страницу фиксированными артбордами 1600/1200/640/320
     и масштабирует их через zoom = clientWidth / артборд.
     --rh-u = 1 px артборда, поэтому все размеры блоков задаются в артбордных единицах. */
  --rh-u: 0.0625vw;
  --rh-copy: 16;
  --rh-copy-lh: 1.4;
  /* Blackwood использует ровно две прозрачности волосяных линий: 0.2 и 0.3. */
  --rh-line-soft: rgba(255, 255, 255, 0.2);
  --rh-line-bold: rgba(255, 255, 255, 0.3);
  --rh-marker-fill: #c6c6c6;
  --rh-frame: #26272b;
  --rh-frame-line: rgba(255, 255, 255, 0.12);
  --rh-hover-ink: #383b4a;
  --rh-ink-muted: #96979b;
  --rh-glow: #383b4a;
  --rh-photo-filter: none;
  color: var(--rh-v18-text);
  background: var(--rh-v18-bg);
  padding-bottom: calc(96 * var(--rh-u));
}

/* От 1200px стоит раскладка артборда 1600: колонки в процентах, высоты в u.
   Единица тоже считается от 1600, иначе на 1200–1599 высоты не сжимаются
   вместе с колонками и текст выходит из своих клеток. Ниже 1200 блоки
   идут потоком, и кегль считается от артборда 1200. */
@media (min-width: 640px) and (max-width: 1199px) {
  .rh-preview {
    --rh-u: 0.0833333vw;
  }
}

@media (max-width: 639px) {
  .rh-preview {
    --rh-u: 0.3125vw;
  }
}

html:has(body.rh-preview) {
  scroll-behavior: auto !important;
  background: var(--rh-v18-bg, #1c1c1c);
}

.rh-preview .rh-home {
  overflow: clip;
}

/* Единая контентная сетка референса: 1540 из 1600, направляющие на
   x = 30 / 543 / 1056 / 1569, то есть 0 / 33.33 / 66.67 / 100 % шелла. */
.rh-preview .rh-shell {
  width: calc(100% - 60 * var(--rh-u));
  max-width: none;
  margin-inline: auto;
}

.rh-preview .rh-section {
  padding: calc(80 * var(--rh-u)) 0 calc(94 * var(--rh-u));
}

/* В референсе нет рамок-контейнеров: только волосяные линии и маркеры
   на плоском фоне. .rh-frame остаётся координатной сеткой без оформления. */
.rh-preview .rh-frame {
  position: relative;
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.rh-preview .rh-frame-marker {
  position: absolute;
  z-index: 7;
  top: var(--rh-marker-y);
  left: var(--rh-marker-x);
  width: calc(9 * var(--rh-u));
  height: calc(9 * var(--rh-u));
  /* В референсе квадрат заливной, без обводки: обводка визуально уменьшала его до 7u. */
  border: 0;
  background: var(--rh-marker-fill);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Универсальная линейная сетка Blackwood.
   Горизонтали идут за края экрана, вертикали стоят на направляющих шелла,
   маркеры 9u садятся строго на пересечения. Координаты — в артбордных px. */
.rh-preview .rh-grid {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.rh-preview .rh-grid__line {
  position: absolute;
  background: var(--rh-line-soft);
}

.rh-preview .rh-grid__line--bold {
  background: var(--rh-line-bold);
}

.rh-preview .rh-grid__line--h {
  top: calc(var(--rh-line-y) * var(--rh-u));
  left: 50%;
  width: calc(100% + 60 * var(--rh-u));
  height: max(1px, calc(1 * var(--rh-u)));
  transform: translateX(-50%);
}

.rh-preview .rh-grid__line--h.is-partial {
  left: var(--rh-line-x);
  width: var(--rh-line-w);
  transform: none;
}

.rh-preview .rh-grid__line--v {
  top: calc(var(--rh-line-y, 0) * var(--rh-u));
  left: var(--rh-line-x);
  width: max(1px, calc(1 * var(--rh-u)));
  height: calc(var(--rh-line-h) * var(--rh-u));
}

.rh-preview .rh-grid .rh-frame-marker {
  z-index: 3;
  top: calc(var(--rh-marker-y) * var(--rh-u));
  left: var(--rh-marker-x);
}

/* Мягкий эллипс подсветки #383b4a — в референсе это заливная фигура
   с радиусом 500px и прозрачностью 0.45…0.65, без размытия. */
.rh-preview .rh-aura {
  position: absolute;
  z-index: 0;
  border-radius: 500px;
  background: var(--rh-glow);
  opacity: var(--rh-aura-opacity, 0.45);
  pointer-events: none;
  filter: blur(calc(60 * var(--rh-u)));
}

.rh-preview .rh-display-title {
  margin: 0;
  max-width: 13ch;
  font-family: var(--rh-font);
  font-size: calc(42 * var(--rh-u));
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.042857em;
  text-transform: uppercase;
  color: var(--rh-v18-text);
}

.rh-preview .rh-display-title__line {
  display: block;
  width: max-content;
  max-width: 100%;
  color: inherit;
}

/* Серая часть заголовка в референсе — inline-span цвета rgb(150,151,155). */
.rh-preview .rh-display-title__line.is-muted {
  color: var(--rh-ink-muted);
}

.rh-preview .rh-display-title--glow {
  text-shadow:
    0 0 22px rgba(255, 255, 255, 0.15),
    0 0 64px rgba(230, 232, 238, 0.08);
}

.rh-preview .rh-hero__line,
.rh-preview .rh-hero__line.is-muted {
  color: var(--rh-v18-text);
  text-shadow: 0 0 28px rgba(217, 220, 228, 0.09);
}

.rh-preview .rh-hero__title--glow {
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.2),
    0 0 70px rgba(238, 240, 244, 0.11);
}


.rh-preview .rh-btn--light,
.rh-preview .rh-capability__cta,
.rh-preview .rh-sticky-cta .sticky-cta__btn,
.rh-preview .rh-service-dialog .rh-modal-form__submit {
  transition:
    background-color 200ms ease-in-out,
    color 200ms ease-in-out,
    border-color 200ms ease-in-out;
}

.rh-preview .rh-btn--light:hover,
.rh-preview .rh-btn--light:focus-visible,
.rh-preview .rh-capability__cta:hover,
.rh-preview .rh-capability:focus-visible .rh-capability__cta,
.rh-preview .rh-sticky-cta .sticky-cta__btn:hover,
.rh-preview .rh-sticky-cta .sticky-cta__btn:focus-visible,
.rh-preview .rh-service-dialog .rh-modal-form__submit:hover,
.rh-preview .rh-service-dialog .rh-modal-form__submit:focus-visible {
  color: #fff;
  background: var(--rh-hover-ink);
  border-color: var(--rh-hover-ink);
}

.rh-preview .rh-capability__glyph {
  color: rgba(255, 255, 255, 0.86);
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.08));
}

.rh-preview .rh-capability__glyph path {
  vector-effect: non-scaling-stroke;
  shape-rendering: geometricPrecision;
}

/* Референс: первая строка белая, продолжение серое, за заголовком мягкое
   радиальное свечение. */
.rh-preview .rh-capabilities__title {
  color: var(--rh-v18-text);
  text-shadow:
    0 0 22px rgba(255, 255, 255, 0.15),
    0 0 64px rgba(230, 232, 238, 0.08);
}

.rh-preview .rh-section__intro {
  position: relative;
}

.rh-preview .rh-capabilities__aura {
  position: absolute;
  top: calc(-60 * var(--rh-u));
  left: calc(-90 * var(--rh-u));
  z-index: 0;
  width: calc(520 * var(--rh-u));
  height: calc(360 * var(--rh-u));
  pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(233, 236, 243, 0.1), rgba(233, 236, 243, 0));
  filter: blur(calc(18 * var(--rh-u)));
}

.rh-preview .rh-capabilities__title,
.rh-preview .rh-capabilities__cards {
  position: relative;
  z-index: 1;
}

/* Специфичность выше сброса body.rh-preview button и общего .rh-shell. */
.rh-preview .rh-capabilities__shell {
  width: calc(100% - 60 * var(--rh-u));
}

.rh-preview .rh-capability {
  background: #1c1c1c;
  border: max(1px, calc(1 * var(--rh-u))) solid rgba(255, 255, 255, 0.12);
}

.rh-preview .rh-capabilities__title-line {
  color: inherit;
}

.rh-preview .rh-capabilities__title-line.is-muted {
  color: var(--rh-ink-muted);
}

.rh-preview .rh-trigger {
  padding-top: calc(4 * var(--rh-u));
  padding-bottom: calc(5 * var(--rh-u));
}

.rh-preview .rh-trigger .rh-shell {
  width: calc(100% - 60 * var(--rh-u));
}

.rh-preview .rh-trigger__frame {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, calc(240 * var(--rh-u)));
  border: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.rh-preview .rh-trigger__grid {
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
}

.rh-preview .rh-trigger__line {
  position: absolute;
  background: var(--rh-line-soft);
}

.rh-preview .rh-trigger__line--h {
  left: 50%;
  width: calc(100% + 60 * var(--rh-u));
  height: max(1px, calc(1 * var(--rh-u)));
  transform: translateX(-50%);
  top: calc(var(--rh-line-row) * 240 * var(--rh-u));
}

.rh-preview .rh-trigger__line--h.is-partial {
  left: var(--rh-line-x);
  width: var(--rh-line-w);
  transform: none;
}

.rh-preview .rh-trigger__line--v {
  top: 0;
  left: var(--rh-line-x);
  width: max(1px, calc(1 * var(--rh-u)));
  height: 100%;
}

.rh-preview .rh-trigger__line--v.is-short {
  top: calc(240 * var(--rh-u));
  height: calc(480 * var(--rh-u));
}

.rh-preview .rh-trigger__frame .rh-frame-marker {
  z-index: 3;
  top: calc(var(--rh-marker-row) * 240 * var(--rh-u));
  left: var(--rh-marker-x);
}

.rh-preview .rh-trigger__heading {
  position: relative;
  z-index: 2;
  grid-column: 1 / 3;
  grid-row: 1;
  padding: calc(58 * var(--rh-u)) 0 0 calc(31 * var(--rh-u));
  border: 0;
}

.rh-preview .rh-trigger__title {
  max-width: calc(420 * var(--rh-u));
  font-size: calc(42 * var(--rh-u));
  line-height: 1.05;
}

/* Картинка занимает ячейку целиком: линии сетки — это её границы, а не рамка вокруг. */
.rh-preview .rh-trigger__media {
  position: relative;
  z-index: 0;
  grid-column: 3;
  grid-row: 1 / 3;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: calc(30 * var(--rh-u));
}

.rh-preview .rh-trigger__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--rh-photo-filter);
}

.rh-preview .rh-trigger__card {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: calc(126 * var(--rh-u)) minmax(0, auto);
  row-gap: 0;
  min-width: 0;
  padding: 0 calc(31 * var(--rh-u)) 0 calc(31 * var(--rh-u));
  border: 0;
  border-radius: 0;
  color: var(--rh-v18-text);
  background: transparent;
  text-align: left;
}

.rh-preview .rh-trigger__card--1 {
  grid-column: 1;
  grid-row: 2;
}

.rh-preview .rh-trigger__card--2 {
  grid-column: 2;
  grid-row: 2;
}

.rh-preview .rh-trigger__card--3 {
  grid-column: 2;
  grid-row: 3;
}

.rh-preview .rh-trigger__card--4 {
  grid-column: 3;
  grid-row: 3;
}

.rh-preview .rh-trigger__card-title {
  align-self: end;
  max-width: calc(300 * var(--rh-u));
  margin: 0;
  font-size: calc(24 * var(--rh-u));
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.0375em;
  text-transform: uppercase;
}

.rh-preview .rh-trigger__card-text {
  max-width: calc(287 * var(--rh-u));
  margin: 0;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  line-height: var(--rh-copy-lh);
  color: rgba(255, 255, 255, 0.6);
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

/* Старый слой блока 4 удалён: его transform, aspect-ratio, grayscale и
   процентные координаты перебивали артбордный слой по специфичности и
   уводили гексагон из композиции. Геометрия живёт ниже, в артбордном слое. */

/* Старый слой блока 5 удалён: display: grid на кадре и padding: clamp() на
   заголовке не сбрасывались артбордными правилами, из-за чего колонка уезжала
   из ячейки, а текст наползал на бруски результата. */

.rh-preview .rh-cases {
  padding-bottom: calc(94 * var(--rh-u));
}

.rh-preview .rh-cases__heading {
  margin-bottom: clamp(56px, 6vw, 96px);
}

.rh-preview .rh-cases__title {
  max-width: 13ch;
}

.rh-preview .rh-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rh-preview .rh-case-card {
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(192, 195, 201, 0.31);
  border-radius: 18px;
  background: #25262a;
}

.rh-preview .rh-case-card--wide {
  grid-column: 1 / -1;
}

.rh-preview .rh-case-card__button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.52 / 1;
  min-height: 440px;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #fff;
  background: #25262a;
  text-align: left;
  cursor: pointer;
}

.rh-preview .rh-case-card--wide .rh-case-card__button {
  aspect-ratio: 3.1 / 1;
  min-height: 420px;
}

.rh-preview .rh-case-card__media,
.rh-preview .rh-case-card__media img,
.rh-preview .rh-case-card__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rh-preview .rh-case-card__media {
  overflow: hidden;
}

.rh-preview .rh-case-card__media img {
  object-fit: cover;
  filter: var(--rh-photo-filter);
  transform: scale(1.002);
  transition: transform 850ms var(--rh-v18-ease), filter 600ms var(--rh-v18-ease);
}

.rh-preview .rh-case-card__shade {
  background:
    linear-gradient(180deg, rgba(8, 9, 10, 0.08), rgba(8, 9, 10, 0) 36%, rgba(8, 9, 10, 0.18)),
    linear-gradient(90deg, rgba(8, 9, 10, 0.12), transparent 58%);
}

.rh-preview .rh-case-card__button:hover .rh-case-card__media img,
.rh-preview .rh-case-card__button:focus-visible .rh-case-card__media img {
  filter: var(--rh-photo-filter);
  transform: scale(1.035);
}

.rh-preview .rh-case-card__copy {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  display: flex;
  width: min(66%, 520px);
  min-height: 185px;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 40px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0 0 18px 0;
  background: rgba(35, 36, 39, 0.58);
  backdrop-filter: blur(24px);
}

.rh-preview .rh-case-card__index {
  font-size: 10px;
  color: #b1b4b9;
}

.rh-preview .rh-case-card__title {
  max-width: 17ch;
  margin-top: 22px;
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.rh-preview .rh-case-card__summary {
  max-width: 40ch;
  margin-top: 18px;
  font-size: clamp(12px, 0.9vw, 15px);
  line-height: 1.4;
  color: #c0c2c7;
}

.rh-preview .rh-case-card__result {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  display: flex;
  width: min(46%, 380px);
  min-height: 120px;
  flex-direction: column;
  justify-content: center;
  gap: 11px;
  padding: 22px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-left: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 18px 0 0 0;
  background: rgba(38, 39, 42, 0.7);
  backdrop-filter: blur(26px);
}

.rh-preview .rh-case-card__result span {
  font-size: 10px;
  color: #b0b3b9;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.rh-preview .rh-case-card__result strong {
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 400;
  line-height: 1.25;
}

.rh-preview .rh-case-card__explore {
  position: absolute;
  z-index: 4;
  left: clamp(22px, 2.3vw, 38px);
  bottom: clamp(22px, 2.3vw, 38px);
  display: flex;
  align-items: center;
  gap: 14px;
  color: #fff;
}

.rh-preview .rh-case-card__eye {
  width: 52px;
  height: 52px;
  overflow: visible;
  animation: rh-eye-spin 14s linear infinite;
}

.rh-preview .rh-case-card__eye circle,
.rh-preview .rh-case-card__eye path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}

.rh-preview .rh-case-card__explore > span {
  font-size: 13px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 300ms ease, transform 400ms var(--rh-v18-ease);
}

.rh-preview .rh-case-card__button:hover .rh-case-card__explore > span,
.rh-preview .rh-case-card__button:focus-visible .rh-case-card__explore > span {
  opacity: 1;
  transform: translateX(0);
}

@keyframes rh-eye-spin {
  to {
    transform: rotate(1turn);
  }
}

/* Старые слои блоков 7-9 удалены: display: grid на кадрах, padding: clamp() и
   position: sticky не сбрасывались артбордными правилами — картинка процесса
   уезжала из кадра, а заголовок FAQ прилипал к верху экрана. */

/* Старый слой FAQ удалён: правило icon i:last-child было специфичнее нового и
   разворачивало вертикальный штрих плюса в горизонталь, а min-height 118px
   держал строки вдвое выше референсных. Оформление — в артбордном слое. */

.rh-preview .rh-final-cta {
  width: calc(100% - 20px);
  margin-inline: auto;
  padding: 0;
}

.rh-preview .rh-final-cta__scroll-space {
  position: relative;
  height: clamp(720px, 70vh, 820px);
  min-height: 0;
}

.rh-preview .rh-final-cta__stage {
  position: sticky;
  top: 10px;
  height: clamp(650px, 66vh, 760px);
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  background: #222326;
}

.rh-preview .rh-final-cta__image,
.rh-preview .rh-final-cta__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.rh-preview .rh-final-cta__image {
  object-fit: cover;
  object-position: center;
  filter: var(--rh-photo-filter);
  transform: scale(1.03);
}

.rh-preview .rh-final-cta__veil {
  background:
    linear-gradient(90deg, rgba(17, 18, 20, 0.22), transparent 42%),
    linear-gradient(180deg, transparent 58%, rgba(17, 18, 20, 0.2));
}

.rh-preview .rh-final-cta__panel {
  position: absolute;
  z-index: 2;
  left: 30px;
  bottom: 12px;
  width: min(450px, calc(100% - 40px));
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 16px;
  background: rgba(31, 32, 35, 0.58);
  backdrop-filter: blur(28px);
}

.rh-preview .rh-final-cta__title {
  max-width: 11ch;
  font-size: calc(42 * var(--rh-u));
  line-height: 1.05;
}

.rh-preview .rh-final-cta__panel > p {
  max-width: 43ch;
  margin: 30px 0 0;
  font-size: clamp(14px, 0.98vw, 16px);
  line-height: 1.52;
  color: #d0d2d6;
}

.rh-preview .rh-final-cta__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.rh-preview .rh-final-cta__actions > a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.rh-preview .rh-footer {
  position: relative;
  padding: 10px 0 20px;
  background: #1c1c1c;
}

.rh-preview .rh-footer__frame {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 510px;
}

.rh-preview .rh-footer__identity,
.rh-preview .rh-footer__contacts,
.rh-preview .rh-footer__navigation {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(32px, 3.5vw, 56px);
  border-right: 1px solid var(--rh-v18-line);
}

.rh-preview .rh-footer__navigation {
  border-right: 0;
}

.rh-preview .rh-footer__identity > p {
  max-width: 29ch;
  margin: 48px 0 0;
  color: #aaadb3;
  line-height: 1.45;
}

.rh-preview .rh-footer__identity > span {
  margin-top: auto;
  font-size: 11px;
  line-height: 1.5;
  color: #777a81;
}

.rh-preview .rh-footer__identity > span + span {
  margin-top: 8px;
}

.rh-preview .rh-footer__contacts > span,
.rh-preview .rh-footer__navigation > span {
  margin-bottom: 44px;
  font-size: 11px;
  color: #82858c;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rh-preview .rh-footer__phone {
  margin-bottom: 32px;
  font-size: clamp(26px, 2.2vw, 36px);
  letter-spacing: -0.035em;
}

.rh-preview .rh-footer__contacts p {
  max-width: 27ch;
  margin: 0 0 12px;
  color: #aaadb3;
  line-height: 1.45;
}

.rh-preview .rh-footer__messengers {
  display: flex;
  gap: 12px;
  margin-top: auto;
}

.rh-preview .rh-footer__messengers a {
  padding: 0;
  border: 0;
}

.rh-preview .rh-footer__navigation a {
  padding: 14px 0;
  border-bottom: 1px solid var(--rh-v18-line);
  font-size: clamp(15px, 1.05vw, 18px);
}

.rh-preview .rh-footer a {
  color: #fff;
  text-decoration: none;
}

.rh-preview .rh-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 520ms var(--rh-v18-ease),
    visibility 0s linear 560ms;
}

.rh-preview .rh-modal[hidden] {
  display: none !important;
}

.rh-preview .rh-modal.is-entering,
.rh-preview .rh-modal.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

.rh-preview .rh-modal.is-open {
  opacity: 1;
}

.rh-preview .rh-modal__backdrop {
  position: fixed;
  z-index: 0;
  inset: 0;
  background: rgba(7, 8, 9, 0.18);
  backdrop-filter: blur(0);
  transition:
    background 520ms var(--rh-v18-ease),
    backdrop-filter 560ms var(--rh-v18-ease);
}

.rh-preview .rh-modal.is-open .rh-modal__backdrop {
  background: rgba(7, 8, 9, 0.68);
  backdrop-filter: blur(18px);
}

.rh-preview .rh-modal .rh-service-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
  width: min(1120px, calc(100vw - 40px));
  max-height: calc(100dvh - 40px);
  margin: auto;
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  opacity: 0;
  background: rgba(29, 30, 32, 0.86);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(32px);
  transform: translateY(38px) scale(0.965);
  transform-origin: 50% 50%;
  transition:
    opacity 480ms var(--rh-v18-ease),
    transform 620ms var(--rh-v18-ease);
  animation: none !important;
}

.rh-preview .rh-modal.is-open .rh-service-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rh-preview .rh-modal.is-closing .rh-service-dialog {
  opacity: 0;
  transform: translateY(24px) scale(0.975);
  transition-duration: 390ms, 480ms;
}

.rh-preview .rh-modal__close {
  position: absolute;
  z-index: 5;
  top: 16px;
  right: 16px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  transition: background 260ms ease, transform 440ms var(--rh-v18-ease);
}

.rh-preview .rh-modal__close:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: rotate(90deg);
}

.rh-preview .rh-modal__close svg {
  width: 19px;
  height: 19px;
}

.rh-preview .rh-service-dialog__copy,
.rh-preview .rh-service-dialog__form-panel {
  padding: clamp(42px, 4vw, 68px);
}

.rh-preview .rh-service-dialog__copy {
  border-right: 1px solid var(--rh-v18-line);
}

.rh-preview .rh-service-dialog__form-panel {
  background: rgba(255, 255, 255, 0.025);
}

.rh-preview .rh-modal__index {
  display: none;
}

.rh-preview .rh-service-dialog h3,
.rh-preview .rh-service-dialog__copy h3 {
  max-width: 15ch;
  margin: 0 0 12px;
  font-size: clamp(32px, 2.8vw, 46px);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.045em;
  color: #fff;
}

.rh-preview .rh-service-dialog__form-panel h4 {
  max-width: 15ch;
  margin: 0 0 16px;
  font-size: clamp(27px, 2.2vw, 36px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.rh-preview .rh-service-dialog__form-panel > p {
  max-width: 36ch;
  margin: 0 0 30px;
  color: #aeb1b7;
  line-height: 1.5;
}

.rh-preview .rh-modal__paragraphs {
  display: grid;
  gap: 8px;
  color: #b6b9bf;
}

.rh-preview .rh-modal__paragraphs p {
  margin: 0;
  font-size: 15px;
  line-height: 1.35;
}

.rh-preview .rh-service-dialog__copy ul {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.rh-preview .rh-service-dialog__copy li {
  position: relative;
  padding-left: 19px;
  color: #e2e3e5;
  line-height: 1.42;
}

.rh-preview .rh-service-dialog__copy li::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 6px;
  height: 1px;
  background: currentColor;
}

.rh-preview .rh-modal .rh-field {
  display: grid;
  gap: 9px;
  margin-bottom: 22px;
}

.rh-preview .rh-modal .rh-field > span {
  font-size: 11px;
  color: #9699a0;
}

.rh-preview .rh-modal .rh-field input {
  width: 100%;
  height: 50px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.37);
  border-radius: 0;
  color: #fff;
  background: transparent;
  font: inherit;
  outline: 0;
  transition: border-color 240ms ease;
}

.rh-preview .rh-modal .rh-field input:focus {
  border-color: #fff;
}

.rh-preview .rh-modal .rh-checkbox {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin: 28px 0;
  font-size: 11px;
  line-height: 1.4;
  color: #93969d;
}

.rh-preview .rh-modal .rh-checkbox input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #fff;
}

.rh-preview .rh-service-dialog .rh-modal-form__submit {
  width: 100%;
  min-height: 54px;
  color: #2a2b2e;
  background: #fff;
  border-color: #fff;
  border-radius: 7px;
}


.rh-preview .rh-consult-dialog {
  grid-template-columns: 1fr !important;
  width: min(760px, calc(100vw - 48px)) !important;
}

.rh-preview .rh-consult-dialog .rh-service-dialog__form-panel {
  min-height: 620px;
}

.rh-preview .rh-consult-dialog h3 {
  margin-bottom: 46px;
}

.rh-preview .rh-sticky-cta {
  position: fixed;
  z-index: 900;
  right: auto;
  bottom: calc(30 * var(--rh-u));
  left: 50%;
  width: max-content;
  max-width: calc(100% - 40 * var(--rh-u));
  display: block !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition:
    opacity 300ms ease,
    transform 480ms var(--rh-v18-ease),
    visibility 0s linear;
}

.rh-preview .rh-sticky-cta .sticky-cta__btn {
  display: flex;
  width: 100%;
  min-width: calc(280 * var(--rh-u));
  min-height: calc(54 * var(--rh-u));
  align-items: center;
  justify-content: center;
  gap: calc(9 * var(--rh-u));
  padding: 0 calc(30 * var(--rh-u));
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: calc(8 * var(--rh-u));
  color: #242528;
  background: rgba(243, 243, 241, 0.92);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(24px);
  font-family: var(--rh-font);
  font-size: calc(13 * var(--rh-u));
  white-space: nowrap;
  cursor: pointer;
}

.rh-preview .rh-sticky-cta .sticky-cta__btn span {
  width: calc(4 * var(--rh-u));
  height: calc(4 * var(--rh-u));
  flex: 0 0 auto;
  border-radius: 50%;
  background: currentColor;
}

.rh-preview.is-modal-open .rh-sticky-cta,
.rh-preview .rh-sticky-cta:not(.is-visible) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 18px);
}

.rh-preview .rh-back-to-top {
  right: 24px;
  bottom: 92px;
}

/* Типографику и декор на всех ширинах задаёт артбордный слой через --rh-u,
   поэтому фиксированные px-переопределения заголовков здесь убраны:
   они возвращали рамки и размеры, которых в референсе нет. */
@media (max-width: 1180px) {
  .rh-preview .rh-case-card__button {
    min-height: 0;
  }
}

@media (max-width: 920px) {
  .rh-preview .rh-trigger__frame {
    display: flex;
    flex-direction: column;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
  }

  .rh-preview .rh-trigger__grid {
    display: none;
  }

  .rh-preview .rh-trigger__heading {
    padding: 0;
    border: 0;
  }

  .rh-preview .rh-trigger__media {
    order: 2;
    aspect-ratio: 16 / 10;
    border: 0;
  }

  .rh-preview .rh-trigger__card {
    order: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: calc(14 * var(--rh-u));
    min-height: 0;
    padding: 0;
    border: 0;
  }

  .rh-preview .rh-trigger__card-title,
  .rh-preview .rh-trigger__card-text {
    max-width: 100%;
  }

  .rh-preview .rh-cases__grid {
    grid-template-columns: 1fr;
  }

  .rh-preview .rh-case-card--wide {
    grid-column: auto;
  }

  .rh-preview .rh-case-card--wide .rh-case-card__button {
    aspect-ratio: 765 / 585;
    min-height: 0;
  }

  .rh-preview .rh-modal .rh-service-dialog {
    grid-template-columns: 1fr;
    width: min(720px, calc(100vw - 24px));
    max-height: calc(100dvh - 24px);
  }

  .rh-preview .rh-service-dialog__copy {
    border-right: 0;
    border-bottom: 1px solid var(--rh-v18-line);
  }
}

@media (max-width: 640px) {
  .rh-preview {
    padding-bottom: 70px;
  }

  .rh-preview .rh-shell,
  .rh-preview .rh-final-cta {
    width: calc(100% - 12px);
  }

  .rh-preview .rh-section {
    padding: 86px 0;
  }

  .rh-preview .rh-frame {
    border-radius: 12px;
  }

  .rh-preview .rh-display-title,
  .rh-preview .rh-section__title,
  .rh-preview .rh-trigger__title,
  .rh-preview .rh-volume__title,
  .rh-preview .rh-process-board__title,
  .rh-preview .rh-faq-board__title,
  .rh-preview .rh-final-cta__title {
    max-width: 100%;
    font-size: 26px;
    line-height: 29px;
    letter-spacing: -1.1px;
  }

  .rh-preview .rh-hero__title {
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -1.1px;
  }

  .rh-preview .rh-display-title__line {
    width: auto;
    white-space: normal;
  }

  .rh-preview .rh-trigger__heading {
    padding: 26px 22px;
  }

  .rh-preview .rh-trigger__media {
    aspect-ratio: 1 / 1;
  }

  .rh-preview .rh-trigger__card {
    grid-template-columns: 36px minmax(0, 1fr) 20px;
    gap: 10px;
    min-height: 230px;
    padding: 24px 20px;
  }

  .rh-preview .rh-trigger__card-title {
    font-size: 21px;
  }

  .rh-preview .rh-trigger__card-text {
    font-size: max(16px, calc(var(--rh-copy) * var(--rh-u)));
  }

  /* Планшетные px-переопределения блока 4 убраны: их right/left ломали
     артбордные координаты подписей вокруг гексагона. */

  .rh-preview .rh-volume__heading {
    min-height: 260px;
    padding: 24px 20px;
  }

  .rh-preview .rh-volume__item {
    min-height: 420px;
    padding: 28px 22px;
  }

  .rh-preview .rh-cases__heading {
    margin-bottom: 42px;
  }

  .rh-preview .rh-case-card,
  .rh-preview .rh-case-card__copy {
    border-radius: 12px;
  }

  .rh-preview .rh-case-card__result {
    border-radius: 0;
  }

  .rh-preview .rh-case-card__button,
  .rh-preview .rh-case-card--wide .rh-case-card__button {
    aspect-ratio: auto;
    min-height: 570px;
  }

  .rh-preview .rh-case-card__copy {
    width: calc(100% - 38px);
    min-height: 190px;
    padding: 24px 20px;
  }

  .rh-preview .rh-case-card__title {
    font-size: 26px;
  }

  .rh-preview .rh-case-card__result {
    width: calc(100% - 76px);
    min-height: 110px;
    padding: 18px 22px;
  }

  .rh-preview .rh-case-card__explore {
    bottom: 142px;
    left: 22px;
  }

  .rh-preview .rh-case-card__explore > span {
    opacity: 1;
    transform: none;
  }

  .rh-preview .rh-process-board__intro {
    padding: 28px 22px;
  }

  .rh-preview .rh-process-board__media {
    height: 330px;
  }

  .rh-preview .rh-process-board__steps .rh-process__item {
    grid-template-columns: 32px minmax(0, 1fr) 16px;
    gap: 14px;
    min-height: 160px;
    padding: 24px 20px;
  }

  .rh-preview .rh-reach__map {
    height: 580px;
    border-radius: 12px;
  }

  .rh-preview .rh-reach__map-mask {
    inset: 14% 1%;
    background-size: 6px 6px;
  }

  .rh-preview .rh-reach__orbit {
    width: 86vw;
  }

  .rh-preview .rh-reach__person {
    width: 44vw;
    padding: 11px 12px;
  }

  .rh-preview .rh-reach__person h3 {
    font-size: 12px;
  }

  .rh-preview .rh-reach__person--1 {
    top: 7%;
    left: 4%;
  }

  .rh-preview .rh-reach__person--2 {
    top: 9%;
    right: 4%;
  }

  .rh-preview .rh-reach__person--3 {
    right: 4%;
    bottom: 10%;
  }

  .rh-preview .rh-reach__person--4 {
    bottom: 9%;
    left: 4%;
  }

  .rh-preview .rh-reach__source {
    right: 8px;
    bottom: 5px;
    font-size: 7px;
  }

  .rh-preview .rh-faq-board__question {
    font-size: 18px;
  }

  .rh-preview .rh-faq-board__items .rh-faq__answer {
    padding: 0 4px 28px 38px;
  }

  .rh-preview .rh-final-cta__scroll-space {
    height: auto;
    min-height: 0;
  }

  .rh-preview .rh-final-cta__stage {
    position: relative;
    top: auto;
    min-height: 780px;
    height: auto;
    border-radius: 12px;
  }

  .rh-preview .rh-final-cta__image,
  .rh-preview .rh-final-cta__veil {
    height: 100%;
  }

  .rh-preview .rh-final-cta__panel {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    padding: 28px 22px;
    border-radius: 12px;
  }

  .rh-preview .rh-final-cta__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .rh-preview .rh-final-cta__actions > a {
    text-align: center;
  }

  .rh-preview .rh-footer__identity,
  .rh-preview .rh-footer__contacts,
  .rh-preview .rh-footer__navigation {
    min-height: 340px;
    padding: 28px 22px;
  }

  .rh-preview .rh-modal {
    padding: 6px;
  }

  .rh-preview .rh-modal .rh-service-dialog {
    width: calc(100vw - 12px);
    max-height: calc(100dvh - 12px);
    border-radius: 12px;
  }

  .rh-preview .rh-service-dialog__copy,
  .rh-preview .rh-service-dialog__form-panel {
    padding: 54px 22px 32px;
  }

  .rh-preview .rh-service-dialog h3,
  .rh-preview .rh-service-dialog__copy h3 {
    font-size: 34px;
  }

  .rh-preview .rh-consult-dialog .rh-service-dialog__form-panel {
    min-height: 610px;
  }

  .rh-preview .rh-sticky-cta {
    right: auto;
    bottom: 18px;
    left: 50%;
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
  }

  .rh-preview .rh-sticky-cta .sticky-cta__btn {
    min-width: 0;
    min-height: 56px;
    padding: 0 18px;
    font-size: 12px;
  }

  .rh-preview .rh-back-to-top {
    right: 12px;
    bottom: 78px;
  }
}

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

/* ========================================================================== */
/*  Blackwood 1:1 — финальный слой: артбордная геометрия блоков 4…11.          */
/*  Все координаты — артбордные пиксели сетки 1600 (1u = var(--rh-u)),         */
/*  контентная сетка шелла 1540u, направляющие на 0/33.33/66.67/100 %.         */
/* ========================================================================== */

/* --- Блок 4: логика дела (гексагон), артборд 1112u ------------------------- */

.rh-preview .rh-logic-world {
  padding: 0;
  overflow: visible;
  background: var(--rh-v18-bg);
}

.rh-preview .rh-logic-world__frame {
  position: relative;
  height: calc(1112 * var(--rh-u));
}

.rh-preview .rh-logic-world__aura {
  top: calc(263 * var(--rh-u));
  left: calc(340 * var(--rh-u));
  width: calc(840 * var(--rh-u));
  height: calc(840 * var(--rh-u));
  --rh-aura-opacity: 0.5;
  filter: blur(calc(150 * var(--rh-u)));
}

.rh-preview .rh-logic-world__top {
  position: absolute;
  z-index: 3;
  top: calc(120 * var(--rh-u));
  left: 0;
  width: calc(684 * var(--rh-u));
}

.rh-preview .rh-logic-world__title {
  margin: 0;
  max-width: none;
  font-size: calc(42 * var(--rh-u));
  line-height: 1.05;
  letter-spacing: -0.042857em;
  text-transform: uppercase;
}

.rh-preview .rh-logic-world__intro {
  position: absolute;
  z-index: 3;
  top: calc(125 * var(--rh-u));
  left: calc(1056 * var(--rh-u));
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--rh-u));
  width: calc(300 * var(--rh-u));
}

.rh-preview .rh-logic-world__intro p {
  margin: 0;
  color: #fff;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  line-height: 1.3;
  opacity: 0.6;
}

/* Семиугольник углом вверх, углы слегка скруглены. Точечный пунктир и квадраты
   лежат в 8u от границы кадра; хорда соединяет вершины 7 и 2. */
.rh-preview .rh-logic-world__hex {
  position: absolute;
  z-index: 2;
  top: calc(390 * var(--rh-u));
  left: calc(472.5 * var(--rh-u));
  width: calc(561 * var(--rh-u));
  height: calc(549 * var(--rh-u));
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: none;
  clip-path: url("#rh-heptagon-clip");
}

.rh-preview .rh-logic-world__clip {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.rh-preview .rh-logic-world__hex img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}

.rh-preview .rh-logic-world__connectors {
  position: absolute;
  inset: 0;
  z-index: 3;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.rh-preview .rh-logic-world__connectors .visible-line {
  fill: none;
  stroke: #fff;
  stroke-opacity: 0.8;
  stroke-width: 1.15;
  stroke-dasharray: 1.15 5.75;
  stroke-linecap: round;
}

.rh-preview .rh-logic-world__connectors .reveal {
  fill: none;
  stroke: #fff;
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
}

.rh-preview .rh-logic-world__connectors .rh-logic-world__square {
  fill: #fff;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.7);
}

.rh-preview .rh-logic-world__connectors.is-animated .p1 { animation: rh-point 0.18s ease-out 0s forwards; }
.rh-preview .rh-logic-world__connectors.is-animated .r12 { animation: rh-draw 0.55s ease-in-out 0.18s forwards; }
.rh-preview .rh-logic-world__connectors.is-animated .p2 { animation: rh-point 0.18s ease-out 0.73s forwards; }
.rh-preview .rh-logic-world__connectors.is-animated .r23 { animation: rh-draw 0.55s ease-in-out 0.91s forwards; }
.rh-preview .rh-logic-world__connectors.is-animated .p3 { animation: rh-point 0.18s ease-out 1.46s forwards; }
.rh-preview .rh-logic-world__connectors.is-animated .r34 { animation: rh-draw 0.55s ease-in-out 1.64s forwards; }
.rh-preview .rh-logic-world__connectors.is-animated .p4 { animation: rh-point 0.18s ease-out 2.19s forwards; }
.rh-preview .rh-logic-world__connectors.is-animated .r45 { animation: rh-draw 0.55s ease-in-out 2.37s forwards; }
.rh-preview .rh-logic-world__connectors.is-animated .p5 { animation: rh-point 0.18s ease-out 2.92s forwards; }
.rh-preview .rh-logic-world__connectors.is-animated .r56 { animation: rh-draw 0.55s ease-in-out 3.1s forwards; }
.rh-preview .rh-logic-world__connectors.is-animated .p6 { animation: rh-point 0.18s ease-out 3.65s forwards; }
.rh-preview .rh-logic-world__connectors.is-animated .r67 { animation: rh-draw 0.55s ease-in-out 3.83s forwards; }
.rh-preview .rh-logic-world__connectors.is-animated .p7 { animation: rh-point 0.18s ease-out 4.38s forwards; }
.rh-preview .rh-logic-world__connectors.is-animated .r71,
.rh-preview .rh-logic-world__connectors.is-animated .r72 { animation: rh-draw 0.6s ease-in-out 4.56s forwards; }

@keyframes rh-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes rh-point {
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .rh-preview .rh-logic-world__connectors .reveal {
    stroke-dashoffset: 0;
  }

  .rh-preview .rh-logic-world__connectors .rh-logic-world__square {
    opacity: 1;
    transform: none;
  }
}

/* Семь подписей по кольцу гексагона: индекс 13u/0.6 и белая метка 13u. */
.rh-preview .rh-logic-world__node {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: baseline;
  gap: calc(6 * var(--rh-u));
  min-height: calc(17 * var(--rh-u));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
}

.rh-preview .rh-logic-world__node-index {
  color: #fff;
  font-size: calc(15 * var(--rh-u));
  line-height: 1.15;
  opacity: 0.6;
}

.rh-preview .rh-logic-world__node h3 {
  margin: 0;
  color: #fff;
  font-size: calc(15 * var(--rh-u));
  font-weight: 400;
  line-height: 1.15;
}

.rh-preview .rh-logic-world__node--1 { top: calc(352 * var(--rh-u)); left: calc(662.5 * var(--rh-u)); }
.rh-preview .rh-logic-world__node--2 { top: calc(475 * var(--rh-u)); left: calc(972.5 * var(--rh-u)); }
.rh-preview .rh-logic-world__node--3 { top: calc(695 * var(--rh-u)); left: calc(1022.5 * var(--rh-u)); }
.rh-preview .rh-logic-world__node--4 { top: calc(910 * var(--rh-u)); left: calc(862.5 * var(--rh-u)); }
.rh-preview .rh-logic-world__node--5 { top: calc(910 * var(--rh-u)); left: calc(602.5 * var(--rh-u)); }
.rh-preview .rh-logic-world__node--6 { top: calc(695 * var(--rh-u)); left: calc(462.5 * var(--rh-u)); }
.rh-preview .rh-logic-world__node--7 { top: calc(475 * var(--rh-u)); left: calc(512.5 * var(--rh-u)); }

@media (min-width: 1200px) {
  .rh-preview .rh-logic-world__node--5,
  .rh-preview .rh-logic-world__node--6,
  .rh-preview .rh-logic-world__node--7 {
    justify-content: flex-end;
    transform: translateX(-100%);
  }
}

/* --- Блок 5: форматы подключения, артборд 685u ----------------------------- */

.rh-preview .rh-volume {
  padding: 0;
  overflow: visible;
  background: var(--rh-v18-bg);
}

.rh-preview .rh-volume__frame {
  position: relative;
  height: calc(685 * var(--rh-u));
}

.rh-preview .rh-volume__heading {
  position: absolute;
  z-index: 3;
  top: calc(99 * var(--rh-u));
  left: calc(30 * var(--rh-u));
  width: calc(505 * var(--rh-u));
}

.rh-preview .rh-volume__title {
  margin: 0;
  max-width: none;
  font-size: calc(42 * var(--rh-u));
  line-height: 1.05;
  letter-spacing: -0.042857em;
  text-transform: uppercase;
}

/* Колонка собирается потоком, а не абсолютными отступами: иначе заголовок из
   двух строк наезжает на описание, а описание — на брусок результата. */
.rh-preview .rh-volume__item {
  position: absolute;
  z-index: 3;
  top: calc(350 * var(--rh-u));
  display: flex;
  flex-direction: column;
  width: calc(33.3333% - 60 * var(--rh-u));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.rh-preview .rh-volume__item--1 { left: calc(30 * var(--rh-u)); }
.rh-preview .rh-volume__item--2 { left: calc(33.3333% + 30 * var(--rh-u)); }
.rh-preview .rh-volume__item--3 { left: calc(66.6667% + 30 * var(--rh-u)); }

.rh-preview .rh-volume__item h3 {
  margin: 0;
  min-height: calc(62 * var(--rh-u));
  color: #fff;
  font-size: calc(24 * var(--rh-u));
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.0375em;
  text-transform: uppercase;
}

.rh-preview .rh-volume__item > p {
  position: static;
  margin: calc(26 * var(--rh-u)) 0 0;
  width: 100%;
  min-height: calc(68 * var(--rh-u));
  color: #fff;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  line-height: var(--rh-copy-lh);
  opacity: 0.6;
}

/* Результат: три вертикальных бруска 1/3/6px по 54u и подпись в 24u справа. */
.rh-preview .rh-volume__result {
  position: static;
  display: flex;
  align-items: flex-start;
  gap: calc(10 * var(--rh-u));
  width: 100%;
  margin-top: calc(32 * var(--rh-u));
  padding: 0;
  border: 0;
  background: transparent;
}

.rh-preview .rh-volume__bars {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: calc(14 * var(--rh-u));
  height: calc(54 * var(--rh-u));
}

.rh-preview .rh-volume__bars i {
  position: absolute;
  top: 0;
  height: calc(54 * var(--rh-u));
  background: var(--rh-glow);
}

.rh-preview .rh-volume__bars i:nth-child(1) { left: 0; width: max(1px, calc(1 * var(--rh-u))); }
.rh-preview .rh-volume__bars i:nth-child(2) { left: calc(3 * var(--rh-u)); width: calc(3 * var(--rh-u)); }
.rh-preview .rh-volume__bars i:nth-child(3) { left: calc(8 * var(--rh-u)); width: calc(6 * var(--rh-u)); }

.rh-preview .rh-volume__result-copy {
  display: block;
}

.rh-preview .rh-volume__result-label {
  display: block;
  color: #fff;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  line-height: 1.15;
  text-transform: uppercase;
}

.rh-preview .rh-volume__result strong {
  display: block;
  margin-top: calc(7 * var(--rh-u));
  color: #fff;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  font-weight: 400;
  line-height: var(--rh-copy-lh);
  opacity: 0.7;
}

/* --- Блок 6: кейсы, карточка 765×585u ------------------------------------- */

.rh-preview .rh-cases__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(10 * var(--rh-u));
}

.rh-preview .rh-case-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: calc(20 * var(--rh-u));
  background: var(--rh-frame);
}

.rh-preview .rh-case-card__button {
  background: var(--rh-frame);
}

/* Тёмная рамка вокруг фото: инсет со всех сторон. */
.rh-preview .rh-case-card__media {
  inset: calc(16 * var(--rh-u));
  border-radius: calc(16 * var(--rh-u));
}

.rh-preview .rh-case-card__shade {
  display: none;
}

.rh-preview .rh-case-card--wide {
  grid-column: span 2;
}

.rh-preview .rh-case-card__button {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 765 / 585;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: calc(20 * var(--rh-u));
  background: var(--rh-frame);
  cursor: pointer;
}

.rh-preview .rh-case-card--wide .rh-case-card__button {
  aspect-ratio: 1540 / 585;
}

/* Инсет задаёт видимую рамку: width/height из px-слоя обнуляем,
   иначе фото вылезает за правый и нижний край. */
.rh-preview .rh-case-card__media {
  position: absolute;
  inset: calc(16 * var(--rh-u));
  display: block;
  width: auto;
  height: auto;
  overflow: hidden;
  border-radius: calc(16 * var(--rh-u));
}

.rh-preview .rh-case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--rh-photo-filter);
}

.rh-preview .rh-case-card__shade {
  display: none;
}

/* Стеклянная подпись: #c1c1c1 10 %, рамка 1px/10 %, радиус 10u, blur 25px.
   Ширина по тексту: от 300u до 460u. Более узкий потолок раздувал блок вниз
   и накрывал плашку результата. */
.rh-preview .rh-case-card__copy {
  position: absolute;
  top: calc(30 * var(--rh-u));
  left: calc(30 * var(--rh-u));
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--rh-u));
  width: fit-content;
  min-width: calc(300 * var(--rh-u));
  max-width: calc(460 * var(--rh-u));
  padding: calc(18 * var(--rh-u)) calc(21 * var(--rh-u));
  border: max(1px, calc(1 * var(--rh-u))) solid rgba(255, 255, 255, 0.1);
  border-radius: calc(10 * var(--rh-u));
  background: rgba(193, 193, 193, 0.1);
  backdrop-filter: blur(25px);
  text-align: left;
}

.rh-preview .rh-case-card__index {
  display: none;
}

/* Заголовок кейса берётся из базы дословно, поэтому он не обрезается:
   строка по ширине стекла, высота по тексту. */
.rh-preview .rh-case-card__title {
  display: block;
  max-width: none;
  overflow: visible;
  color: #fff;
  font-size: calc(24 * var(--rh-u));
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.0417em;
  text-transform: uppercase;
}

.rh-preview .rh-case-card__summary {
  display: block;
  overflow: visible;
  max-width: 46ch;
  color: #fff;
  font-size: calc(18 * var(--rh-u));
  line-height: 1.45;
  opacity: 0.8;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

/* «Результат» прижат к правому и нижнему краю фото. Внутренний угол —
   радиус плашки, стыки справа и снизу — те же галтели, что в герое.
   Цвет галтели = рамка, иначе на фото появляется тёмный вырез. */
.rh-preview .rh-case-card__result {
  --rh-notch: calc(20 * var(--rh-u));
  --rh-notch-fill: var(--rh-frame);
  position: absolute;
  right: calc(16 * var(--rh-u));
  bottom: calc(16 * var(--rh-u));
  left: auto;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: calc(8 * var(--rh-u));
  width: calc(300 * var(--rh-u));
  padding: calc(16 * var(--rh-u)) calc(18 * var(--rh-u));
  overflow: visible;
  border: 0;
  border-radius: calc(20 * var(--rh-u)) 0 calc(16 * var(--rh-u)) 0;
  background: var(--rh-frame);
  backdrop-filter: none;
  text-align: left;
}
.rh-preview .rh-case-card__result > span {
  color: #fff;
  font-size: calc(15 * var(--rh-u));
  line-height: 1.15;
}

.rh-preview .rh-case-card__result strong {
  color: #fff;
  font-size: calc(16 * var(--rh-u));
  font-weight: 400;
  line-height: 1.3;
  opacity: 1;
}

/* Круглый значок 40u в левом нижнем углу вместо надписи «Посмотреть». */
.rh-preview .rh-case-card__explore {
  position: absolute;
  right: auto;
  bottom: calc(30 * var(--rh-u));
  left: calc(30 * var(--rh-u));
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(40 * var(--rh-u));
  height: calc(40 * var(--rh-u));
  padding: 0;
  border: max(1px, calc(1 * var(--rh-u))) solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: rgba(28, 28, 28, 0.35);
  backdrop-filter: blur(25px);
  opacity: 1;
  transform: none;
  perspective: calc(120 * var(--rh-u));
}

.rh-preview .rh-case-card__explore > span {
  display: none;
}

/* Плоский поворот у круглой иконки незаметен, поэтому глаз крутится в 3D. */
.rh-preview .rh-case-card__eye {
  width: calc(20 * var(--rh-u));
  height: calc(20 * var(--rh-u));
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  transform-style: preserve-3d;
  animation: rh-eye-orbit 6.5s linear infinite;
}

@keyframes rh-eye-orbit {
  0% {
    transform: rotateY(0deg) rotateX(0deg);
  }

  50% {
    transform: rotateY(180deg) rotateX(10deg);
  }

  100% {
    transform: rotateY(360deg) rotateX(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .rh-preview .rh-case-card__eye {
    animation: none;
  }
}

.rh-preview .rh-cases__heading {
  margin-bottom: calc(26 * var(--rh-u));
}

.rh-preview .rh-cases__title {
  margin: 0;
  max-width: calc(425 * var(--rh-u));
  font-size: calc(42 * var(--rh-u));
  line-height: 1.05;
  letter-spacing: -0.042857em;
  text-transform: uppercase;
}

/* --- Блок 7: процесс, артборд 705u ---------------------------------------- */

.rh-preview .rh-process-board {
  padding: 0;
  overflow: visible;
  background: var(--rh-v18-bg);
}

.rh-preview .rh-process-board__frame {
  position: relative;
  height: calc(705 * var(--rh-u));
}

.rh-preview .rh-process-board__intro {
  position: absolute;
  z-index: 3;
  top: calc(42 * var(--rh-u));
  left: calc(30 * var(--rh-u));
  width: calc(556 * var(--rh-u));
  padding: 0;
  border: 0;
}

.rh-preview .rh-process-board__title {
  margin: 0;
  max-width: none;
  font-size: calc(42 * var(--rh-u));
  line-height: 1.05;
  letter-spacing: -0.042857em;
  text-transform: uppercase;
}

/* Абзац выше линии фото: пять строк по ~52 знака между заголовком и фото. */
.rh-preview .rh-process-board__note {
  position: absolute;
  z-index: 3;
  top: calc(148 * var(--rh-u));
  left: calc(30 * var(--rh-u));
  margin: 0;
  width: calc(460 * var(--rh-u));
  color: #fff;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  line-height: var(--rh-copy-lh);
  opacity: 0.6;
}

.rh-preview .rh-process-board__media {
  position: absolute;
  z-index: 3;
  top: calc(283 * var(--rh-u));
  left: calc(1 * var(--rh-u));
  width: calc(1025 * var(--rh-u));
  height: calc(416 * var(--rh-u));
  overflow: hidden;
  border: 0;
  border-radius: calc(30 * var(--rh-u));
}

.rh-preview .rh-process-board__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rh-preview .rh-process-board__steps {
  position: static;
  display: block;
  gap: 0;
  padding: 0;
  border: 0;
}

/* Шаг занимает свою клетку между линиями сетки и стоит по её центру. */
.rh-preview .rh-process-board__steps .rh-process__item {
  position: absolute;
  z-index: 3;
  top: calc(var(--rh-step-top) * var(--rh-u));
  left: calc(66.6667% + 30 * var(--rh-u));
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  width: calc(33.3333% - 60 * var(--rh-u));
  height: calc(var(--rh-step-height, 139) * var(--rh-u));
  min-height: 0;
  padding: 0;
  border: 0;
}

.rh-preview .rh-process-board__index {
  display: block;
  color: #fff;
  font-size: calc(8 * var(--rh-u));
  line-height: 1.2;
  opacity: 0.6;
}

/* Заголовок шага выше: длинный текст не должен пересекать нижнюю линию сетки. */
.rh-preview .rh-process-board__steps .rh-process__item-title {
  margin: calc(12 * var(--rh-u)) 0 0;
  color: #fff;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
}

.rh-preview .rh-process-board__steps .rh-process__item-text {
  margin: calc(10 * var(--rh-u)) 0 0;
  color: #fff;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  line-height: var(--rh-copy-lh);
  opacity: 0.6;
}

/* --- Блок 8: команда и карта, артборд 747u -------------------------------- */

.rh-preview .rh-reach {
  padding: 0;
  overflow: visible;
  background: var(--rh-v18-bg);
}

.rh-preview .rh-reach__frame {
  position: relative;
  height: calc(747 * var(--rh-u));
}

.rh-preview .rh-reach__aura {
  width: calc(590 * var(--rh-u));
  height: calc(406 * var(--rh-u));
  --rh-aura-opacity: 0.5;
  filter: blur(calc(120 * var(--rh-u)));
}

.rh-preview .rh-reach__aura--1 {
  top: calc(9 * var(--rh-u));
  left: calc(-12 * var(--rh-u));
}

.rh-preview .rh-reach__aura--2 {
  top: calc(215 * var(--rh-u));
  left: calc(475 * var(--rh-u));
}

.rh-preview .rh-reach__top {
  position: absolute;
  z-index: 3;
  top: calc(120 * var(--rh-u));
  left: 0;
  display: block;
  width: calc(516 * var(--rh-u));
}

.rh-preview .rh-reach__title {
  margin: 0;
  max-width: none;
  font-size: calc(42 * var(--rh-u));
  line-height: 1.05;
  letter-spacing: -0.042857em;
  text-transform: uppercase;
}

.rh-preview .rh-reach__lead {
  position: absolute;
  z-index: 3;
  top: calc(125 * var(--rh-u));
  left: calc(1288 * var(--rh-u));
  margin: 0;
  width: calc(252 * var(--rh-u));
  color: #fff;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  line-height: var(--rh-copy-lh);
  opacity: 0.8;
}

/* Карта сдвинута правее текстовой колонки: на 342u её силуэт перекрывал
   третью строку заголовка. */
.rh-preview .rh-reach__map {
  position: absolute;
  z-index: 2;
  top: calc(177 * var(--rh-u));
  left: calc(470 * var(--rh-u));
  width: calc(800 * var(--rh-u));
  height: calc(442 * var(--rh-u));
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Карта набрана точечной матрицей, а не залита белым: контур России пересекается
   с сеткой квадратов 3u через шаг 6u, поэтому силуэт читается «пиксельным». */
.rh-preview .rh-reach__map-mask {
  position: absolute;
  inset: 0;
  background: #fff;
  opacity: 0.85;
  -webkit-mask-image: var(--rh-map-url), conic-gradient(#000 0 25%, transparent 0);
  -webkit-mask-position: center, 0 0;
  -webkit-mask-size: contain, calc(6 * var(--rh-u)) calc(6 * var(--rh-u));
  -webkit-mask-repeat: no-repeat, repeat;
  -webkit-mask-composite: source-in;
  mask-image: var(--rh-map-url), conic-gradient(#000 0 25%, transparent 0);
  mask-position: center, 0 0;
  mask-size: contain, calc(6 * var(--rh-u)) calc(6 * var(--rh-u));
  mask-repeat: no-repeat, repeat;
  mask-composite: intersect;
}

.rh-preview .rh-reach__label {
  position: absolute;
  z-index: 3;
  top: calc(338 * var(--rh-u));
  left: 0;
  margin: 0;
  width: calc(254 * var(--rh-u));
  color: #fff;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  line-height: var(--rh-copy-lh);
  opacity: 0.6;
}

.rh-preview .rh-reach__people {
  position: absolute;
  z-index: 3;
  top: calc(365 * var(--rh-u));
  left: 0;
  margin: 0;
  padding: 0;
  width: calc(300 * var(--rh-u));
  list-style: none;
}

.rh-preview .rh-reach__person {
  position: static;
  display: flex;
  align-items: baseline;
  gap: calc(10 * var(--rh-u));
  height: calc(36 * var(--rh-u));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
}

.rh-preview .rh-reach__person-name {
  color: #fff;
  font-size: calc(24 * var(--rh-u));
  line-height: 1.15;
  letter-spacing: -0.0417em;
}

.rh-preview .rh-reach__person-role {
  color: #fff;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  line-height: 1.2;
  opacity: 0.5;
}

.rh-preview .rh-reach__source {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: calc(10 * var(--rh-u));
  left: auto;
  color: #fff;
  font-size: calc(9 * var(--rh-u));
  line-height: 1.2;
  opacity: 0.35;
  text-decoration: none;
}

/* --- Блок 9: FAQ ---------------------------------------------------------- */

.rh-preview .rh-faq-board {
  padding: calc(60 * var(--rh-u)) 0 calc(80 * var(--rh-u));
}

.rh-preview .rh-faq-board__shell {
  display: block;
}

.rh-preview .rh-faq-board__heading {
  min-height: calc(157 * var(--rh-u));
}

.rh-preview .rh-faq-board__title {
  margin: 0;
  max-width: calc(410 * var(--rh-u));
  font-size: calc(42 * var(--rh-u));
  line-height: 1.05;
  letter-spacing: -0.042857em;
  text-transform: uppercase;
}

.rh-preview .rh-faq-board__container {
  width: calc(100% - 60 * var(--rh-u));
  max-width: none;
  margin-inline: auto;
}

.rh-preview .rh-faq-board__items {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.rh-preview .rh-faq-board__items .rh-faq__item {
  padding: calc(20 * var(--rh-u)) 0;
  border: 0;
  border-top: max(1px, calc(1 * var(--rh-u))) solid #4a4a4b;
  border-radius: 0;
  background: transparent;
}

.rh-preview .rh-faq-board__items .rh-faq__item:last-child {
  border-bottom: max(1px, calc(1 * var(--rh-u))) solid #4a4a4b;
}

.rh-preview .rh-faq-board__items .rh-faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: calc(24 * var(--rh-u));
  padding: 0;
  cursor: pointer;
  list-style: none;
}

.rh-preview .rh-faq-board__items .rh-faq__item summary::-webkit-details-marker {
  display: none;
}

.rh-preview .rh-faq-board__question {
  color: #fff;
  font-size: calc(22 * var(--rh-u));
  font-weight: 500;
  line-height: 1.25;
}

/* Плюс 24u в один волосяной штрих, без круга и заливки. */
.rh-preview .rh-faq-board__icon {
  position: relative;
  flex: 0 0 auto;
  width: calc(40 * var(--rh-u));
  height: calc(40 * var(--rh-u));
  border: 0;
  border-radius: 50%;
  background: transparent;
  transition: background 200ms ease;
}

.rh-preview .rh-faq-board__items .rh-faq__item summary:hover .rh-faq-board__icon,
.rh-preview .rh-faq-board__items .rh-faq__item summary:focus-visible .rh-faq-board__icon {
  background: #e7e7e8;
}

.rh-preview .rh-faq-board__items .rh-faq__item summary:hover .rh-faq-board__icon i,
.rh-preview .rh-faq-board__items .rh-faq__item summary:focus-visible .rh-faq-board__icon i {
  background: #1c1c1c;
}

.rh-preview .rh-faq-board__icon i {
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  transform: translate(-50%, -50%);
  transition: opacity 200ms ease-in-out;
}

.rh-preview .rh-faq-board__icon i:nth-child(1) {
  width: calc(24 * var(--rh-u));
  height: max(1px, calc(1 * var(--rh-u)));
}

.rh-preview .rh-faq-board__icon i:nth-child(2) {
  width: max(1px, calc(1 * var(--rh-u)));
  height: calc(24 * var(--rh-u));
}

.rh-preview .rh-faq-board__items .rh-faq__item[open] .rh-faq-board__icon i:nth-child(2) {
  opacity: 0;
}

.rh-preview .rh-faq-board__items .rh-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0;
  border: 0;
  transition: grid-template-rows 320ms ease;
}

.rh-preview .rh-faq__answer-inner {
  min-height: 0;
  overflow: hidden;
}

.rh-preview .rh-faq-board__items .rh-faq__item[open] .rh-faq__answer {
  grid-template-rows: 1fr;
}

.rh-preview .rh-faq__item {
  interpolate-size: allow-keywords;
}

.rh-preview .rh-faq__item::details-content {
  height: 0;
  overflow: clip;
  transition: height 320ms ease, content-visibility 320ms allow-discrete;
}

.rh-preview .rh-faq__item[open]::details-content {
  height: auto;
}

.rh-preview .rh-faq-board__items .rh-faq__answer p {
  margin: 0;
  padding-top: calc(14 * var(--rh-u));
  max-width: calc(900 * var(--rh-u));
  color: #fff;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  line-height: var(--rh-copy-lh);
  opacity: 0.7;
}

/* --- Блок 10: финальный CTA, артборд 600u --------------------------------- */

.rh-preview .rh-final-cta {
  width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
}

.rh-preview .rh-final-cta__stage {
  position: relative;
  top: auto;
  width: calc(100% - 60 * var(--rh-u));
  height: calc(600 * var(--rh-u));
  min-height: 0;
  margin-inline: auto;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #1c1c1c;
}

/* Кадр выше окна и прибит к верху вьюпорта, пока окно секции наезжает на него.
   Окно обрезает кадр, поэтому фото проявляется из-под фона страницы, а не липнет. */
.rh-preview .rh-final-cta__image {
  position: absolute;
  inset: auto;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  min-height: calc(800 * var(--rh-u));
  border-radius: calc(15 * var(--rh-u));
  filter: var(--rh-photo-filter);
  object-fit: cover;
  object-position: center 53%;
  transform: none;
  will-change: transform;
}

.rh-preview .rh-final-cta__panel {
  position: absolute;
  z-index: 2;
  top: calc(240 * var(--rh-u));
  left: calc(10 * var(--rh-u));
  right: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: calc(15 * var(--rh-u));
  width: calc(370 * var(--rh-u));
  height: auto;
  min-height: calc(323 * var(--rh-u));
  padding: calc(20 * var(--rh-u));
  overflow: visible;
  border: max(1px, calc(1 * var(--rh-u))) solid rgba(255, 255, 255, 0.1);
  border-radius: calc(10 * var(--rh-u));
  background: rgba(193, 193, 193, 0.1);
  backdrop-filter: blur(25px);
  box-shadow: none;
}

.rh-preview .rh-final-cta__copy {
  display: flex;
  flex-direction: column;
  gap: calc(30 * var(--rh-u));
}

.rh-preview .rh-final-cta__title {
  margin: 0;
  max-width: calc(304 * var(--rh-u));
  font-size: calc(38 * var(--rh-u));
  line-height: 1.1;
  letter-spacing: -0.0395em;
  text-transform: uppercase;
}

.rh-preview .rh-final-cta__copy p {
  margin: 0;
  max-width: calc(321 * var(--rh-u));
  color: #fff;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  line-height: var(--rh-copy-lh);
  opacity: 0.9;
}

.rh-preview .rh-final-cta__actions {
  display: flex;
  align-items: center;
  gap: calc(16 * var(--rh-u));
}

.rh-preview .rh-final-cta__actions .rh-btn--light {
  min-height: calc(42 * var(--rh-u));
  padding: 0 calc(19 * var(--rh-u)) 0 calc(17 * var(--rh-u));
  border-radius: calc(6 * var(--rh-u));
  background: #fff;
  color: #2e3d36;
  font-size: calc(13 * var(--rh-u));
}

.rh-preview .rh-final-cta__actions .rh-btn--light::before {
  width: calc(4 * var(--rh-u));
  height: calc(4 * var(--rh-u));
  margin-right: calc(9 * var(--rh-u));
  flex: 0 0 auto;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.rh-preview .rh-final-cta__actions a {
  color: #fff;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  line-height: 1.2;
  text-decoration: none;
  opacity: 1;
}

/* --- Блок 11: футер, артборд 304u ----------------------------------------- */

.rh-preview .rh-footer {
  padding: 0 0 calc(8 * var(--rh-u));
  border: 0;
  background: var(--rh-v18-bg);
}

.rh-preview .rh-footer__frame {
  position: relative;
  display: block;
  height: calc(310 * var(--rh-u));
  min-height: 0;
  padding: 0;
}

.rh-preview .rh-footer__identity,
.rh-preview .rh-footer__contacts,
.rh-preview .rh-footer__navigation {
  position: absolute;
  z-index: 3;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.rh-preview .rh-footer__identity {
  top: calc(50 * var(--rh-u));
  left: calc(30 * var(--rh-u));
  width: calc(33.3333% - 60 * var(--rh-u));
}

.rh-preview .rh-footer__contacts {
  top: calc(50 * var(--rh-u));
  left: calc(33.3333% + 30 * var(--rh-u));
  width: calc(33.3333% - 60 * var(--rh-u));
}

.rh-preview .rh-footer__navigation {
  top: calc(50 * var(--rh-u));
  left: calc(66.6667% + 30 * var(--rh-u));
  width: calc(33.3333% - 60 * var(--rh-u));
}

.rh-preview .rh-brand--footer {
  font-size: calc(15 * var(--rh-u));
}

.rh-preview .rh-brand__mark {
  width: calc(168 * var(--rh-u));
  height: auto;
  aspect-ratio: 1132 / 360;
}

.rh-preview .rh-brand--footer .rh-brand__mark {
  width: calc(140 * var(--rh-u));
}

.rh-preview .rh-brand__logo {
  display: block;
  width: 100%;
  height: auto;
}

.rh-preview .rh-brand__text {
  display: none;
}

/* В референсе футер двухцветный: подписи и юридические строки серые,
   адрес и навигация белые. Ровный серый по всему футеру — это регрессия. */
.rh-preview .rh-footer__legal,
.rh-preview .rh-footer__address,
.rh-preview .rh-footer__hours {
  margin: 0;
  color: #fff;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  line-height: var(--rh-copy-lh);
  opacity: 0.5;
}

.rh-preview .rh-footer__address {
  opacity: 1;
}

.rh-preview .rh-footer__legal {
  margin-top: calc(59 * var(--rh-u));
  max-width: calc(275 * var(--rh-u));
}

.rh-preview .rh-footer__address {
  margin-top: calc(30 * var(--rh-u));
  max-width: calc(275 * var(--rh-u));
}

.rh-preview .rh-footer__label {
  display: block;
  color: #fff;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  line-height: var(--rh-copy-lh);
  opacity: 1;
  text-transform: none;
  letter-spacing: normal;
}

.rh-preview .rh-footer__phone {
  display: block;
  margin-top: calc(10 * var(--rh-u));
  color: #fff;
  font-size: calc(24 * var(--rh-u));
  line-height: 1.15;
  letter-spacing: -0.0375em;
  text-decoration: none;
  text-transform: uppercase;
}

.rh-preview .rh-footer__hours {
  margin-top: calc(12 * var(--rh-u));
}

.rh-preview .rh-footer__messengers {
  display: flex;
  gap: calc(2 * var(--rh-u));
  margin-top: calc(18 * var(--rh-u));
}

.rh-preview .rh-footer__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: calc(32 * var(--rh-u));
  height: calc(32 * var(--rh-u));
  border: max(1px, calc(1 * var(--rh-u))) solid rgba(255, 255, 255, 0.55);
  border-radius: calc(16 * var(--rh-u));
  background: transparent;
  color: #fff;
  text-decoration: none;
}

.rh-preview .rh-footer__chip svg {
  display: block;
  width: calc(16 * var(--rh-u));
  height: calc(16 * var(--rh-u));
}

.rh-preview .rh-footer__navigation a {
  display: block;
  margin-top: calc(6 * var(--rh-u));
  padding: 0;
  border: 0;
  color: #fff;
  font-size: calc(var(--rh-copy) * var(--rh-u));
  line-height: 1.3;
  text-decoration: none;
  opacity: 1;
}

.rh-preview .rh-footer__navigation a:hover {
  opacity: 0.6;
}

/* --- Мобильная раскладка новых блоков ------------------------------------- */

/* --- Догоняющие правила поверх артбордного слоя ---------------------------- */

/* Референс: список внутри карточки идёт без зазора, CTA ровно 42u. */
.rh-preview .rh-capability__list {
  gap: 0;
}

.rh-preview .rh-capability__cta {
  min-height: calc(42 * var(--rh-u));
}

/* Ячейка блока 3 ровно 240u, поэтому описание отбивается от заголовка на 16u
   и жёстко ограничено четырьмя строками — иначе текст выходит за линии сетки. */
.rh-preview .rh-trigger__card-text {
  display: -webkit-box;
  margin-top: calc(16 * var(--rh-u));
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
}

.rh-preview .rh-trigger__line--v.is-short {
  height: calc(477 * var(--rh-u));
}

/* В референсе у шагов процесса нет стрелок и нижних разделителей у карточек:
   разделители рисует линейная сетка секции. */
.rh-preview .rh-process-board__arrow {
  display: none;
}

.rh-preview .rh-process-board__steps .rh-process__item,
.rh-preview .rh-process-board__steps .rh-process__item:last-child {
  border-bottom: 0;
}

.rh-preview .rh-reach__orbit {
  display: none;
}

.rh-preview .rh-faq-board__index {
  display: none;
}

.rh-preview .rh-footer__chip:hover,
.rh-preview .rh-footer__chip:focus-visible {
  background: var(--rh-hover-ink);
}

/* Референс ниже 1200px уходит с артборда 1600 на свои 640/320.
   Мы на этих ширинах распускаем абсолютные координаты в поток:
   геометрия 1600 там сжималась бы пропорционально до нечитаемого кегля. */
@media (max-width: 1199px) {
  .rh-preview .rh-logic-world__frame,
  .rh-preview .rh-volume__frame,
  .rh-preview .rh-process-board__frame,
  .rh-preview .rh-reach__frame,
  .rh-preview .rh-footer__frame {
    height: auto;
  }

  .rh-preview .rh-grid {
    display: none;
  }

  .rh-preview .rh-logic-world__top,
  .rh-preview .rh-logic-world__intro,
  .rh-preview .rh-logic-world__hex,
  .rh-preview .rh-logic-world__node,
  .rh-preview .rh-volume__heading,
  .rh-preview .rh-volume__item,
  .rh-preview .rh-volume__item > p,
  .rh-preview .rh-volume__result,
  .rh-preview .rh-process-board__intro,
  .rh-preview .rh-process-board__note,
  .rh-preview .rh-process-board__media,
  .rh-preview .rh-process-board__steps .rh-process__item,
  .rh-preview .rh-reach__top,
  .rh-preview .rh-reach__lead,
  .rh-preview .rh-reach__map,
  .rh-preview .rh-reach__label,
  .rh-preview .rh-reach__people,
  .rh-preview .rh-reach__source,
  .rh-preview .rh-footer__identity,
  .rh-preview .rh-footer__contacts,
  .rh-preview .rh-footer__navigation {
    position: static;
    top: auto;
    left: auto;
    width: 100%;
    max-width: 100%;
  }

  .rh-preview .rh-logic-world,
  .rh-preview .rh-volume,
  .rh-preview .rh-process-board,
  .rh-preview .rh-reach {
    padding: 48px 0;
  }

  .rh-preview .rh-logic-world__frame,
  .rh-preview .rh-volume__frame,
  .rh-preview .rh-process-board__frame,
  .rh-preview .rh-reach__frame,
  .rh-preview .rh-footer__frame {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 0;
  }

  .rh-preview .rh-logic-world__hex,
  .rh-preview .rh-process-board__media,
  .rh-preview .rh-reach__map {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  /* В один столбец гексагональная обрезка и контур теряют смысл. */
  .rh-preview .rh-logic-world__hex {
    clip-path: none;
    border-radius: 14px;
  }

  .rh-preview .rh-logic-world__connectors,
  .rh-preview .rh-logic-world__square {
    display: none;
  }

  .rh-preview .rh-logic-world__aura,
  .rh-preview .rh-reach__aura {
    display: none;
  }

  .rh-preview .rh-cases__grid {
    grid-template-columns: 1fr;
  }

  .rh-preview .rh-case-card--wide {
    grid-column: span 1;
  }

  .rh-preview .rh-case-card--wide .rh-case-card__button {
    aspect-ratio: 765 / 585;
  }

  .rh-preview .rh-case-card__copy {
    width: calc(100% - 34 * var(--rh-u));
  }

  .rh-preview .rh-case-card__result {
    display: none;
  }

  /* В потоке шаг процесса высотой по тексту, а не по клетке артборда. */
  .rh-preview .rh-process-board__steps .rh-process__item {
    display: block;
    height: auto;
  }

  /* В потоке подпись узла схемы переносится по ширине колонки. */
  .rh-preview .rh-logic-world__node {
    white-space: normal;
  }

  .rh-preview .rh-logic-world__node h3 {
    min-width: 0;
  }

  /* В потоке строка города переносит пояснение под название, а не за край экрана. */
  .rh-preview .rh-reach__person {
    flex-wrap: wrap;
    height: auto;
    min-height: calc(36 * var(--rh-u));
    row-gap: 0;
    white-space: normal;
  }

  .rh-preview .rh-reach__person-name {
    white-space: nowrap;
  }

  .rh-preview .rh-final-cta__stage {
    width: calc(100% - 24px);
    height: auto;
    min-height: 0;
  }

  .rh-preview .rh-final-cta__image {
    position: relative;
    height: auto;
    min-height: 280px;
    aspect-ratio: 16 / 10;
    transform: none;
  }

  .rh-preview .rh-final-cta__panel {
    position: static;
    width: 100%;
    height: auto;
  }

  .rh-preview .rh-faq-board__container {
    width: 100%;
  }

  /* В потоке артбордные 11u/13u сжимались бы до нечитаемых 7-8px,
     поэтому мелкому тексту здесь задан читаемый пол. */
  .rh-preview .rh-hero__intro,
  .rh-preview .rh-hero__fact-value,
  .rh-preview .rh-capability__list,
  .rh-preview .rh-trigger__card-text,
  .rh-preview .rh-logic-world__intro p,
  .rh-preview .rh-reach__person-role,
  .rh-preview .rh-volume__item p,
  .rh-preview .rh-volume__result-label,
  .rh-preview .rh-volume__result strong,
  .rh-preview .rh-process-board__note,
  .rh-preview .rh-process-board__steps .rh-process__item-title,
  .rh-preview .rh-process-board__steps .rh-process__item-text,
  .rh-preview .rh-reach__lead,
  .rh-preview .rh-reach__label,
  .rh-preview .rh-faq-board__items .rh-faq__answer p,
  .rh-preview .rh-case-card__summary,
  .rh-preview .rh-case-card__result > span,
  .rh-preview .rh-case-card__result strong,
  .rh-preview .rh-final-cta__copy p,
  .rh-preview .rh-footer__label,
  .rh-preview .rh-footer__legal,
  .rh-preview .rh-footer__address,
  .rh-preview .rh-footer__hours,
  .rh-preview .rh-footer__navigation a {
    font-size: max(16px, calc(var(--rh-copy) * var(--rh-u)));
  }

  .rh-preview .rh-logic-world__node-index,
  .rh-preview .rh-logic-world__node h3 {
    font-size: max(15px, calc(15 * var(--rh-u)));
  }
}

/* На артборде 320 слова заголовков длиннее колонки, поэтому строки
   перестают быть max-content и переносятся, а не выходят за экран. */
@media (max-width: 639px) {
  .rh-preview .rh-display-title__line,
  .rh-preview .rh-hero__line {
    width: auto;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  /* Артбордные 42u дали бы здесь 51px, поэтому заголовки блоков
     возвращаются к мобильному кеглю общей типографики. */
  .rh-preview .rh-logic-world__title,
  .rh-preview .rh-volume__title,
  .rh-preview .rh-process-board__title,
  .rh-preview .rh-reach__title,
  .rh-preview .rh-faq-board__title,
  .rh-preview .rh-cases__title,
  .rh-preview .rh-final-cta__title {
    font-size: 26px;
    line-height: 29px;
    letter-spacing: -1.1px;
  }

  .rh-preview .rh-faq-board__question {
    font-size: 18px;
    font-weight: 500;
  }
}

/* Keep the footer navigation inside the frame, with air above the bottom rule. */
.rh-preview .rh-footer__navigation {
  top: calc(12 * var(--rh-u));
}

/* Стеклянная панель заявки шире на артборде; ниже 1200px панель в потоке на всю ширину. */
@media (min-width: 1200px) {
  .rh-preview .rh-final-cta__panel {
    width: calc(640 * var(--rh-u));
  }

  .rh-preview .rh-final-cta__title,
  .rh-preview .rh-final-cta__copy p {
    max-width: calc(580 * var(--rh-u));
  }
}

/* Drop only the navigation label below the top rule; the link list stays put. */
@media (min-width: 1200px) {
  .rh-preview .rh-footer__navigation > .rh-footer__label {
    position: relative;
    z-index: 1;
    transform: translateY(calc(14 * var(--rh-u)));
  }
}

/* Step 2: indexable full-text appendix for crawlers, hidden from layout. */
.rh-preview .seo-index-appendix-root {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: normal;
  border: 0;
}

/* Step 5: v5 selling blocks and long-copy safeguards. */
.rh-preview .rh-trigger__card-text,
.rh-preview .rh-case-card__summary,
.rh-preview .rh-process-board__note,
.rh-preview .rh-process-board__steps .rh-process__item-text {
  overflow-wrap: anywhere;
}

.rh-preview .rh-trigger__card-text {
  display: block;
  overflow: visible;
  max-width: none;
  margin-top: calc(16 * var(--rh-u));
  font-size: max(16px, calc(var(--rh-copy) * var(--rh-u)));
  line-height: var(--rh-copy-lh);
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

/* На артборде 1600 кегль карточки масштабируется вместе с клеткой, как зум эталона:
   строк в клетке столько же при любой ширине. Пол 16px держит только поток ниже 1200. */
@media (min-width: 1200px) {
  .rh-preview .rh-trigger__card-text {
    font-size: calc(var(--rh-copy) * var(--rh-u));
  }
}

.rh-preview .rh-case-card__copy {
  width: fit-content;
  min-width: calc(300 * var(--rh-u));
  max-width: calc(460 * var(--rh-u));
}

.rh-preview .rh-case-card__summary {
  display: block;
  overflow: visible;
  max-width: 46ch;
  font-size: calc(18 * var(--rh-u));
  line-height: 1.45;
  -webkit-box-orient: initial;
  -webkit-line-clamp: unset;
}

.rh-preview .rh-process-board__note,
.rh-preview .rh-process-board__steps .rh-process__item-text {
  font-size: clamp(13px, calc(var(--rh-copy) * var(--rh-u)), 16px);
}

/* На артборде абзац и шаги масштабируются вместе с клетками (без пола 13px):
   строк над фото и в клетке шага столько же, сколько на 1600. */
@media (min-width: 1200px) {
  .rh-preview .rh-process-board__note,
  .rh-preview .rh-process-board__steps .rh-process__item-text {
    font-size: min(calc(var(--rh-copy) * var(--rh-u)), 16px);
  }
}

.rh-preview .rh-scene,
.rh-preview .rh-now {
  padding: calc(96 * var(--rh-u)) 0;
  background: var(--rh-v18-bg);
}

.rh-preview .rh-proof {
  padding: calc(96 * var(--rh-u)) 0;
  background: #141416;
  border-block: max(1px, calc(1 * var(--rh-u))) solid var(--rh-line);
}

.rh-preview .rh-scene__title,
.rh-preview .rh-proof__title,
.rh-preview .rh-now__title {
  margin: 0;
  max-width: none;
  font-size: calc(42 * var(--rh-u));
  line-height: 1.05;
  letter-spacing: -0.042857em;
  text-transform: uppercase;
}

.rh-preview .rh-scene__eyebrow,
.rh-preview .rh-proof__eyebrow,
.rh-preview .rh-now__eyebrow {
  margin: 0;
  color: var(--rh-accent);
  font-size: clamp(11px, calc(12 * var(--rh-u)), 14px);
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Голова блока по референсу: надзаголовок на всю ширину,
   под ним заголовок слева и акцентная строка справа. */
.rh-preview .rh-scene__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.42fr);
  column-gap: calc(56 * var(--rh-u));
  row-gap: calc(24 * var(--rh-u));
  align-items: start;
}

.rh-preview .rh-scene__eyebrow {
  grid-column: 1 / -1;
}

.rh-preview .rh-scene__headline {
  grid-column: 1;
  min-width: 0;
}

.rh-preview .rh-scene__punch {
  grid-column: 2;
  margin: 0;
  padding-top: calc(18 * var(--rh-u));
  border-top: max(1px, calc(1 * var(--rh-u))) solid var(--rh-line-bold);
  color: #fff;
  font-size: clamp(15px, calc(18 * var(--rh-u)), 22px);
  line-height: 1.3;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.rh-preview .rh-scene__track {
  position: relative;
  margin-top: calc(76 * var(--rh-u));
  padding-top: calc(28 * var(--rh-u));
}

/* Волосок над колонками заполняется слева направо при прокрутке. */
.rh-preview .rh-scene__rail {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  overflow: hidden;
  height: max(1px, calc(1 * var(--rh-u)));
  background: var(--rh-line-bold);
}

.rh-preview .rh-scene__rail-fill {
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

.rh-preview .rh-scene__steps,
.rh-preview .rh-now__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.rh-preview .rh-scene__steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: calc(56 * var(--rh-u));
}

.rh-preview .rh-scene__step {
  min-width: 0;
}

.rh-preview .rh-scene__index,
.rh-preview .rh-now__index {
  margin: 0;
  color: #fff;
  font-size: clamp(11px, calc(12 * var(--rh-u)), 14px);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  line-height: 1;
}

.rh-preview .rh-scene__stage {
  margin: calc(20 * var(--rh-u)) 0 0;
  color: var(--rh-v18-text);
  font-size: clamp(17px, calc(20 * var(--rh-u)), 24px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}

.rh-preview .rh-scene__text,
.rh-preview .rh-proof__text,
.rh-preview .rh-now__item-text,
.rh-preview .rh-proof__note {
  margin: 0;
  color: var(--rh-text-soft);
  font-size: clamp(14px, calc(15 * var(--rh-u)), 17px);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.rh-preview .rh-scene__text {
  margin-top: calc(18 * var(--rh-u));
}

/* Надзаголовок стоит в левом жёлобе, заголовок и содержимое смещены вправо. */
.rh-preview .rh-proof__layout,
.rh-preview .rh-now__layout,
.rh-preview .rh-now__body,
.rh-preview .rh-proof__body {
  min-width: 0;
}

.rh-preview .rh-proof__body,
.rh-preview .rh-now__body {
  min-width: 0;
}

.rh-preview .rh-proof__eyebrow {
  margin-top: calc(10 * var(--rh-u));
}

.rh-preview .rh-proof__matrix {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  column-gap: calc(28 * var(--rh-u));
  row-gap: calc(72 * var(--rh-u));
  margin-top: calc(64 * var(--rh-u));
}

.rh-preview .rh-proof__cell {
  min-width: 0;
  padding: calc(42 * var(--rh-u)) calc(38 * var(--rh-u));
  border: max(1px, calc(1 * var(--rh-u))) solid var(--rh-line-bold);
}

.rh-preview .rh-proof__value {
  display: block;
  color: #fff;
  font-size: clamp(30px, calc(44 * var(--rh-u)), 56px);
  font-variant-numeric: tabular-nums;
  line-height: 0.95;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.rh-preview .rh-proof__label {
  display: block;
  margin-top: calc(16 * var(--rh-u));
  color: #fff;
  font-size: clamp(11px, calc(13 * var(--rh-u)), 15px);
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-transform: uppercase;
}

.rh-preview .rh-proof__text {
  margin-top: calc(16 * var(--rh-u));
  color: #fff;
}

/* Дисклеймер — залитая плашка поверх центра сетки, как в референсе. */
.rh-preview .rh-proof__note {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(calc(640 * var(--rh-u)), 86%);
  margin: 0;
  padding: calc(28 * var(--rh-u)) calc(34 * var(--rh-u));
  background: var(--rh-v18-panel-soft);
  color: #fff;
  font-size: clamp(13px, calc(14 * var(--rh-u)), 16px);
  line-height: 1.5;
  transform: translate(-50%, -50%);
}

.rh-preview .rh-now__eyebrow {
  display: flex;
  align-items: center;
  gap: calc(9 * var(--rh-u));
  margin-top: calc(12 * var(--rh-u));
  color: var(--rh-v18-muted-light);
  font-size: clamp(12px, calc(14 * var(--rh-u)), 16px);
  letter-spacing: 0;
  text-transform: none;
}

.rh-preview .rh-now__dot {
  flex: 0 0 auto;
  width: max(4px, calc(5 * var(--rh-u)));
  height: max(4px, calc(5 * var(--rh-u)));
  border-radius: 50%;
  background: var(--rh-accent);
}

.rh-preview .rh-now__list {
  margin-top: calc(64 * var(--rh-u));
}

.rh-preview .rh-now__entry {
  margin: 0;
  padding: 0;
}

.rh-preview .rh-now__item {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  column-gap: calc(48 * var(--rh-u));
  align-items: start;
  width: 100%;
  margin: 0;
  padding: calc(34 * var(--rh-u)) 0;
  border: 0;
  border-top: max(1px, calc(1 * var(--rh-u))) solid var(--rh-line-bold);
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: none;
}

.rh-preview .rh-now__entry:last-child .rh-now__item {
  border-bottom: max(1px, calc(1 * var(--rh-u))) solid var(--rh-line-bold);
}

.rh-preview .rh-now__item:hover,
.rh-preview .rh-now__item:focus-visible {
  background: rgba(255, 255, 255, 0.035);
}

.rh-guide-cursor {
  position: fixed;
  z-index: 80;
  top: 0;
  left: 0;
  padding: 8px 12px;
  border-radius: 6px;
  background: #fff;
  color: #171513;
  font-size: 13px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-100vw, -100vh);
}

.rh-guide-cursor.is-on {
  opacity: 1;
}

.rh-preview .rh-now__item-head {
  min-width: 0;
}

.rh-preview .rh-now__item-title {
  display: block;
  margin: calc(14 * var(--rh-u)) 0 0;
  color: var(--rh-text);
  font-size: clamp(17px, calc(20 * var(--rh-u)), 24px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.012em;
  text-transform: uppercase;
}

/* Стрелка висит в своей колонке, чтобы абзац остался выключен по левому краю. */
.rh-preview .rh-now__item-text {
  display: grid;
  grid-template-columns: max(20px, calc(26 * var(--rh-u))) minmax(0, 1fr);
  align-items: start;
}

.rh-preview .rh-now__arrow {
  color: #fff;
}

.rh-preview .rh-now__note {
  margin: calc(48 * var(--rh-u)) 0 0;
  max-width: 56ch;
  color: var(--rh-text);
  font-size: clamp(16px, calc(20 * var(--rh-u)), 24px);
  line-height: 1.35;
  letter-spacing: -0.012em;
  overflow-wrap: anywhere;
}

/* Плашка дисклеймера перестаёт быть оверлеем, когда сетка становится узкой. */
@media (max-width: 1280px) {
  /* Плашка встаёт в поток, поэтому равные строки больше не нужны:
     иначе её строка растянулась бы до высоты самой высокой ячейки. */
  .rh-preview .rh-proof__matrix {
    grid-auto-rows: auto;
    row-gap: 28px;
  }

  .rh-preview .rh-proof__note {
    position: static;
    grid-column: 1 / -1;
    width: auto;
    transform: none;
  }
}

@media (max-width: 1180px) {
  .rh-preview .rh-scene__head {
    grid-template-columns: 1fr;
  }

  .rh-preview .rh-scene__headline,
  .rh-preview .rh-scene__punch {
    grid-column: 1;
  }

  .rh-preview .rh-scene__steps {
    column-gap: 28px;
  }

  .rh-preview .rh-proof__layout,
  .rh-preview .rh-now__layout {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .rh-preview .rh-proof__eyebrow,
  .rh-preview .rh-now__eyebrow {
    margin-top: 0;
  }

  .rh-preview .rh-now__item {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }
}

@media (max-width: 920px) {
  .rh-preview .rh-scene,
  .rh-preview .rh-proof,
  .rh-preview .rh-now {
    padding: 56px 0;
  }

  .rh-preview .rh-scene__track {
    margin-top: 40px;
    padding-top: 0;
  }

  .rh-preview .rh-scene__rail {
    display: none;
  }

  .rh-preview .rh-scene__steps {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }

  .rh-preview .rh-scene__step {
    padding-top: 24px;
    border-top: 1px solid var(--rh-line-bold);
  }

  .rh-preview .rh-proof__matrix {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .rh-preview .rh-proof__cell {
    padding: 28px 24px;
  }

  .rh-preview .rh-now__list {
    margin-top: 36px;
  }
}

@media (max-width: 640px) {
  .rh-preview .rh-scene__title,
  .rh-preview .rh-proof__title,
  .rh-preview .rh-now__title {
    font-size: 26px;
    line-height: 29px;
    letter-spacing: -1.1px;
  }

  .rh-preview .rh-scene__punch {
    font-size: 16px;
  }

  .rh-preview .rh-scene__stage,
  .rh-preview .rh-now__item-title {
    font-size: 17px;
  }

  .rh-preview .rh-proof__value {
    font-size: 32px;
  }

  .rh-preview .rh-now__note {
    font-size: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rh-preview .rh-scene__rail-fill {
    transform: scaleX(1);
  }
}

@media (hover: none), (pointer: coarse) {
  .rh-preview .rh-now__item {
    cursor: pointer;
  }

  .rh-guide-cursor {
    display: none;
  }
}

.rh-preview .rh-modal__list-title {
  margin: calc(26 * var(--rh-u)) 0 0;
  color: #fff;
  font-size: calc(12 * var(--rh-u));
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.62;
}
.rh-preview .rh-modal__list-title[hidden] {
  display: none;
}
.rh-preview .rh-modal__list-title + ul {
  margin-top: calc(12 * var(--rh-u));
}

.rh-preview .rh-service-dialog:not(.rh-consult-dialog) .rh-modal-quiz {
  line-height: 1.55;
}

@media (min-width: 640px) and (max-width: 920px) {
  .rh-preview .rh-case-card__copy {
    width: min(calc(520 * var(--rh-u)), calc(100% - 180 * var(--rh-u)));
    min-width: 0;
    max-width: none;
  }
}

/* На телефоне стекло во всю ширину фото с равными полями: узкая колонка
   рвала слова и обрезала заголовок. */
@media (max-width: 639px) {
  .rh-preview .rh-case-card__copy {
    width: calc(100% - 60 * var(--rh-u));
    min-width: 0;
    max-width: none;
  }

  /* Самое длинное слово заголовка («ЗАРЕГИСТРИРОВАЛИ») помещается в стекло. */
  .rh-preview .rh-case-card__title {
    font-size: 22px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 920px) {
  .rh-preview .rh-case-card__summary {
    max-width: none;
    font-size: 15px;
    line-height: 1.45;
    -webkit-line-clamp: unset;
  }
}

/* Шаги первой встречи на контактах: чуть крупнее и с воздухом между строками. */
.rh-preview .rh-meet .rh-process-board__index {
  display: block;
  margin-bottom: 10px;
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.rh-preview .rh-meet .rh-process__item-title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.35;
}

.rh-preview .rh-meet .rh-process__item-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
}

/* Модалка заявки, которую открывают кнопки: больше воздуха и чуть крупнее текст.
   Специфичность выше позднего компактного блока квиза, чтобы размер жил в общей системе. */
.rh-preview .rh-modal .rh-consult-dialog .rh-service-dialog__form-panel {
  min-height: 0;
  padding: 32px 40px 28px;
}

.rh-preview .rh-modal .rh-consult-dialog h3 {
  margin-bottom: 18px;
  line-height: 1.08;
}

.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz {
  gap: 16px;
}

.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz__title,
.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz__intro,
.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz__progress-text,
.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz__question,
.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz__option,
.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz__result p,
.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz .rh-field > span,
.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz .rh-field input,
.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz .rh-checkbox {
  font-size: 16px;
  line-height: 1.55;
}

.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz__question {
  font-size: 18px;
  line-height: 1.4;
}

.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz__progress {
  gap: 10px;
}

.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz__options {
  gap: 12px;
  margin-top: 4px;
}

.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz__option {
  padding: 14px 16px;
}

.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz:has(.rh-modal-quiz__result:not([hidden])) > .rh-modal-quiz__title,
.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz:has(.rh-modal-quiz__result:not([hidden])) > .rh-modal-quiz__intro,
.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz:has(.rh-modal-quiz__result:not([hidden])) > .rh-modal-quiz__progress {
  display: none;
}

.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz__result[hidden] {
  display: none;
}

.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz__result:not([hidden]) {
  display: grid;
  gap: 10px;
}

.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz .rh-field {
  gap: 8px;
  margin-bottom: 18px;
}

.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz .rh-field input {
  height: 46px;
}

.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz .rh-checkbox {
  margin: 18px 0 20px;
  font-size: 15px;
}

.rh-preview .rh-modal .rh-consult-dialog .rh-modal-quiz .rh-modal-form__submit {
  min-height: 52px;
}

/* Единый графитовый фон: цвет даёт только страница (html/body = #1c1c1c),
   секции прозрачные, поэтому свечения не обрезаются фоном соседнего блока. */
.rh-preview .rh-section,
.rh-preview .rh-footer {
  background: transparent;
}

.rh-preview .rh-proof {
  background: transparent;
  border-block: 0;
}

/* Свечение блока возможностей вынесено из фона секции в слой, который может
   выйти вверх за границу секции; screen только осветляет и не гасит текст. */
.rh-preview .rh-capabilities {
  overflow: visible;
  overflow-x: clip;
  background: transparent;
}

.rh-preview .rh-capabilities::before {
  content: "";
  position: absolute;
  top: calc(-251 * var(--rh-u));
  left: calc(-4% - 343 * var(--rh-u));
  width: calc(686 * var(--rh-u));
  height: calc(686 * var(--rh-u));
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(56, 59, 74, 0.34), rgba(56, 59, 74, 0));
  mix-blend-mode: screen;
}

.rh-preview .rh-capability__list {
  margin-bottom: calc(28 * var(--rh-u));
}

/* Ноутбучные экраны: диалог услуги помещается без внутреннего скролла. */
@media (min-width: 921px) and (max-height: 820px) {
  .rh-preview .rh-service-dialog__copy,
  .rh-preview .rh-service-dialog__form-panel {
    padding-block: clamp(26px, 4.4vh, 44px);
  }

  .rh-preview .rh-service-dialog__copy h3 {
    max-width: 20ch;
  }

  .rh-preview .rh-service-dialog__copy ul {
    margin-top: 10px;
  }

  .rh-preview .rh-service-dialog__form-panel > p {
    margin-bottom: 20px;
  }

  .rh-preview .rh-modal .rh-field {
    margin-bottom: 14px;
  }

  .rh-preview .rh-modal .rh-checkbox {
    margin: 16px 0 20px;
  }
}

.rh-preview .rh-modal-quiz [hidden] {
  display: none;
}
.rh-preview .rh-modal-quiz__progress {
  display: grid;
  gap: calc(6 * var(--rh-u));
}
.rh-preview .rh-modal-quiz__bar {
  display: block;
  height: calc(2 * var(--rh-u));
  background: var(--rh-line);
}
.rh-preview .rh-modal-quiz__bar span {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--rh-line-strong);
  transition: width 180ms ease;
}
.rh-preview .rh-modal-quiz__step {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.rh-preview .rh-modal-quiz__options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(6 * var(--rh-u));
}
.rh-preview .rh-modal-quiz__option {
  display: flex;
  align-items: center;
  gap: calc(6 * var(--rh-u));
  min-width: 0;
  padding: calc(8 * var(--rh-u));
  border: 1px solid var(--rh-line);
}
.rh-preview .rh-modal-quiz__option:has(input:checked),
.rh-preview .rh-modal-quiz__option.is-selected {
  border-color: var(--rh-line-strong);
}
.rh-preview .rh-modal-quiz__actions {
  display: flex;
  flex-wrap: wrap;
  gap: calc(8 * var(--rh-u));
}
@media (max-width: 920px) {
  .rh-preview .rh-modal-quiz__options {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rh-preview .rh-modal-quiz__bar span,
  .rh-preview .rh-modal-quiz__step {
    transition: none;
    animation: none;
  }
}

.rh-preview .rh-modal .rh-service-dialog {
  max-height: calc(100dvh - 16px);
  overflow: hidden;
}

.rh-preview .rh-consult-dialog .rh-service-dialog__form-panel {
  min-height: 0;
  padding: 20px 28px 16px;
}

.rh-preview .rh-consult-dialog h3 {
  margin-bottom: 8px;
}

.rh-preview .rh-service-dialog__form-panel:has(.rh-modal-quiz) {
  padding-block: 18px;
}

.rh-preview .rh-service-dialog:not(.rh-consult-dialog) .rh-service-dialog__form-panel:has(.rh-modal-quiz) {
  padding-block: 12px;
}

.rh-preview .rh-service-dialog__form-panel:has(.rh-modal-quiz) > h4,
.rh-preview .rh-service-dialog__form-panel:has(.rh-modal-quiz) > p {
  margin-bottom: 4px;
}

.rh-preview .rh-modal-quiz {
  display: grid;
  align-content: start;
  gap: 3px;
  margin-top: 0;
}

.rh-preview .rh-modal-quiz p,
.rh-preview .rh-modal-quiz legend {
  margin: 0;
}

.rh-preview .rh-modal .rh-modal-quiz .rh-field {
  gap: 2px;
  margin-bottom: 6px;
}

.rh-preview .rh-modal .rh-modal-quiz .rh-field input {
  height: 32px;
}

.rh-preview .rh-modal .rh-modal-quiz .rh-checkbox {
  margin: 4px 0 6px;
}

.rh-preview .rh-modal-quiz .rh-modal-form__submit {
  min-height: 40px;
}

.rh-preview .rh-modal-quiz__options {
  gap: 6px;
}

.rh-preview .rh-modal-quiz__option {
  padding: 6px 8px;
}

.rh-preview .rh-crumbs {
  margin: 0 0 28px;
}

.rh-preview .rh-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Ссылка на соседнюю страницу внутри абзаца читается как обычный текст. */
.rh-preview a.rh-inline-link {
  color: inherit;
  font: inherit;
  text-decoration: none;
}

.rh-preview .rh-footer__practice {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.rh-preview .rh-modal .rh-service-dialog {
  overflow: auto;
}

.rh-preview .rh-contact-board .rh-reach__frame {
  position: relative;
  display: block;
  min-height: 0;
}

.rh-preview .rh-contact-board .rh-reach__people {
  position: static;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: calc(18 * var(--rh-u));
  width: auto;
  margin-top: calc(28 * var(--rh-u));
}

.rh-preview .rh-contact-board .rh-reach__person {
  white-space: normal;
  height: auto;
  align-items: flex-start;
  flex-direction: column;
  gap: calc(8 * var(--rh-u));
  padding: calc(18 * var(--rh-u));
  border: max(1px, calc(1 * var(--rh-u))) solid rgba(255, 255, 255, 0.1);
  border-radius: calc(10 * var(--rh-u));
  background: rgba(193, 193, 193, 0.1);
}

.rh-preview .rh-contact-board .rh-reach__person-role {
  color: inherit;
  text-decoration: none;
}

.rh-preview .rh-meet__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: calc(24 * var(--rh-u));
  margin: calc(28 * var(--rh-u)) 0 0;
  padding: 0;
  list-style: none;
}

.rh-preview .rh-meet .rh-process__item {
  display: block;
  min-width: 0;
  padding: calc(18 * var(--rh-u)) 0 0;
  border-top: max(1px, calc(1 * var(--rh-u))) solid rgba(255, 255, 255, 0.11);
  border-bottom: 0;
}

.rh-preview .rh-office__media {
  overflow: hidden;
  border-radius: calc(30 * var(--rh-u));
}

.rh-preview .rh-office__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.rh-preview .rh-hub-group__lead {
  max-width: 68ch;
  margin: calc(18 * var(--rh-u)) 0 0;
}

.rh-preview .rh-hub-group .rh-cases__grid {
  margin-top: calc(28 * var(--rh-u));
}

.rh-preview .rh-hub-group .rh-case-card__title {
  -webkit-line-clamp: unset;
}

@media (max-width: 920px) {
  .rh-preview .rh-contact-board .rh-reach__people,
  .rh-preview .rh-meet__list {
    grid-template-columns: 1fr;
  }

  /* Подпись без обрезки выше круглой метки: ширина блока та же,
     карточке добавляется высота, метка остаётся в нижнем левом углу. */
  .rh-preview .rh-case-card__button,
  .rh-preview .rh-case-card--wide .rh-case-card__button {
    min-height: 760px;
  }

  .rh-preview .rh-case-card__explore {
    bottom: calc(16 * var(--rh-u));
    z-index: 4;
  }
}

/* Контакты: плитки не прилипают к герою и не тянут за собой высоту карты. */
.rh-preview .rh-contact-board {
  padding: calc(96 * var(--rh-u)) 0 calc(64 * var(--rh-u));
}

.rh-preview .rh-contact-board .rh-reach__frame {
  height: auto;
}

.rh-preview .rh-meet {
  padding: calc(72 * var(--rh-u)) 0 calc(80 * var(--rh-u));
}

.rh-preview .rh-contact-board .rh-reach__people > li {
  display: flex;
  min-width: 0;
}

.rh-preview .rh-contact-board a.rh-reach__person {
  flex: 1;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.rh-preview .rh-contact-board a.rh-reach__person:hover,
.rh-preview .rh-contact-board a.rh-reach__person:focus-visible {
  background: rgba(193, 193, 193, 0.18);
}

/* Подвал на всех страницах растёт вместе со списком ссылок и не вылезает из рамки. */
@media (min-width: 1200px) {
  .rh-preview .rh-footer__frame {
    height: auto;
    min-height: calc(310 * var(--rh-u));
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .rh-preview .rh-footer__identity,
  .rh-preview .rh-footer__contacts,
  .rh-preview .rh-footer__navigation {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    max-width: none;
    padding: calc(48 * var(--rh-u)) calc(30 * var(--rh-u)) calc(48 * var(--rh-u));
  }

  .rh-preview .rh-footer .rh-grid__line--v {
    top: calc(20 * var(--rh-u));
    height: calc(100% - 40 * var(--rh-u));
  }

  .rh-preview .rh-footer .rh-grid__line--h:nth-of-type(2) {
    top: auto;
    bottom: calc(18 * var(--rh-u));
  }

  .rh-preview .rh-footer .rh-frame-marker:nth-child(n + 11) {
    top: auto;
    bottom: calc(18 * var(--rh-u));
    transform: translate(-50%, 50%);
  }
}
