/* Разбор бизнеса — редакционная композиция.
   Белый, чёрный и оранжевый задают основу; синий и лайм отмечают план и цель.
   Стили изолированы от других страниц. Содержание и обработчики форм сохранены. */
@font-face {
  font-family: "Sofia XC"; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url("/fonts/sofia-xc-cyrillic.woff2") format("woff2");
  unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Sofia XC"; font-style: normal; font-weight: 600 900; font-display: swap;
  src: url("/fonts/sofia-xc-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+2000-206F, U+20AC, U+2122;
}


/* 16.11.2026: «слишком много цветов» (слово владельца) — лайм, синий и розовый
   ушли. Чёрный, белый, светло-серый и один оранжевый для действия и акцентов.
   Синий остался только в рамке фокуса с клавиатуры — её видно лишь при Tab. */
:root {
  --ink: #171715; --ink-soft: #62625e; --paper: #fff; --paper-2: #f2f2ef;
  --orange: #ff5b14; --flame: #ff5b14; --cobalt: #2e3bff;
  --lime: #d7ff3c; --pink: #ffc4ec; --line: #d9d9d3;
  --shell: 1240px; --gut: 48px; --display: "Sofia XC", "Onest", sans-serif;
}
body { background: var(--paper); color: var(--ink); }
[hidden] { display: none !important; }
::selection { background: var(--orange); color: #fff; }
[id] { scroll-margin-top: 100px; }
h2 { font-size: clamp(36px, 4.2vw, 60px); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; }
h3 { letter-spacing: -.025em; }
.rb-kicker { margin: 0 0 24px; font-size: 12px; line-height: 1.4; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
/* Decorative browser chrome and stock thumbnails no longer compete with the copy. */
.rb-dots, .rb-form-cursor,
.rb-asterisk, .rb-inline-photo, .rb-diff__frame, .rb-tile svg { display: none; }
.header { background: #fff; border-bottom: 1px solid var(--line); backdrop-filter: none; }
.header__inner { height: 84px; }
.header.is-stuck .header__inner { height: 68px; }
.brand img { width: 44px; height: 40px; }
.brand__name { font-size: 12px; }
.header nav { gap: 24px; font-weight: 500; }
.rb-header-link { font-size: 14px; font-weight: 600; padding: 12px 0; border-bottom: 1px solid var(--orange); white-space: nowrap; }
.rb-header-link span { margin-left: 20px; }
.rb-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 20px 26px; min-height: 64px; background: var(--orange); color: var(--ink);
  border: 1px solid transparent; border-radius: 3px; font-size: 17px; font-weight: 600; line-height: 1.3;
  transition: background .2s; }
.rb-button span { font-size: 25px; line-height: 1; }
.rb-button:hover { background: #ed4d06; }
.rb-text-link { display: inline-flex; justify-content: space-between; gap: 28px; padding: 14px 0; border-bottom: 1px solid currentColor; font-size: 16px; font-weight: 500; line-height: 1.4; }
.rb-text-link span { font-size: 22px; }
.rb-text-link:hover { color: var(--orange); }
:where(a, button, summary, input):focus-visible { outline: 2px solid var(--cobalt); outline-offset: 5px; }
/* Первый экран — вариант «Импульс» (выбор владельца 16.11.2026): заголовок по
   центру с оранжевым росчерком, три плашки доводов. По её слову добавлены два
   кадра со встреч: на широком экране — по краям заголовка, будто разговор через
   него; до 900 px — парой между заголовком и пояснением. Движение — одна сцена
   при загрузке, без повторов. */
.rb-hero { overflow: hidden; }
.rb-hero__inner { --photo: clamp(150px, 16.5vw, 236px); position: relative; display: grid; justify-items: center; gap: 26px; padding-block: 40px 52px; text-align: center; }
.rb-hero__meta { margin: 0; padding: 8px 14px; background: var(--paper-2); font-size: 13px; font-weight: 600; line-height: 1.4; }
.rb-hero__title { position: relative; z-index: 1; margin: 0; font-family: Onest, sans-serif; font-size: clamp(52px, 6.5vw, 92px); font-weight: 600; line-height: 1; letter-spacing: -.065em; }
.rb-hero__title > span:first-child { display: block; }
.rb-hero__expert { display: inline-block; position: relative; margin-top: 6px; }
.rb-hero__expert::after { content: ''; position: absolute; left: 0; right: 0; bottom: -8px; z-index: -1; height: 10px; background: var(--orange);
  clip-path: polygon(0 35%, 100% 0, 98% 65%, 2% 100%); transform-origin: left; animation: rb-underline .8s .3s both; }
.rb-hero__lead { max-width: min(640px, calc(100% - 2 * (var(--photo) + 40px))); margin: 10px 0 0; font-size: 19px; line-height: 1.5; }
.rb-hero__action { display: grid; justify-items: center; }
.rb-hero__action .rb-button { min-width: 290px; }
.rb-hero__points { justify-self: stretch; display: grid; grid-template-columns: 1fr 1.45fr 1fr; gap: 12px; margin-top: 14px; text-align: left; }
.rb-hero__points li { position: relative; padding: 22px 22px 22px 48px; background: var(--paper-2); border-top: 3px solid var(--ink); font-size: 14px; line-height: 1.5; animation: rb-rise .7s .2s both; }
.rb-hero__points li:nth-child(2) { animation-delay: .35s; }
.rb-hero__points li:nth-child(3) { animation-delay: .5s; }
.rb-hero__points li::before { content: '✓'; position: absolute; left: 22px; color: var(--orange); font-weight: 700; }
.rb-hero__photos { position: absolute; inset: 0; pointer-events: none; }
.rb-hero__photo { position: absolute; margin: 0; }
.rb-hero__photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; }
.rb-hero__photo--talk { left: 0; top: 74px; width: var(--photo); rotate: -4deg; animation: rb-land .8s .1s both; }
.rb-hero__photo--smile { right: 0; top: 136px; width: calc(var(--photo) * .88); rotate: 3.5deg; animation: rb-land .8s .25s both; }
.rb-hero__spark { position: absolute; top: -40px; left: -44px; width: 84px; height: 84px; rotate: 15deg; animation: rb-spark 2.2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rb-underline { from { transform: scaleX(0); } }
@keyframes rb-rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes rb-land { from { opacity: 0; translate: 0 26px; scale: .94; } }
@keyframes rb-spark { from { opacity: 0; transform: rotate(-110deg) scale(.6); } }
/* Для кого — сферы бегущей строкой (слово владельца 16.11.2026). Петля
   бесшовная: в дорожке два одинаковых списка, сдвиг ровно на половину. Под
   курсором строка встаёт, чтобы дочитать. Разделитель — та же оранжевая
   звёздочка, что на первом экране. */
.rb-for { padding-block: 48px 72px; overflow: hidden; }
.rb-for__band { border-block: 1px solid var(--ink); }
.rb-for__track { display: flex; width: max-content; animation: rb-marquee 48s linear infinite; }
.rb-for__band:hover .rb-for__track { animation-play-state: paused; }
.rb-for__list { display: flex; flex: none; }
.rb-for__list li { display: flex; align-items: center; padding-block: 24px; white-space: nowrap; font-size: clamp(28px, 3.4vw, 48px); font-weight: 500; line-height: 1.1; letter-spacing: -.04em; }
.rb-for__list li::after { content: ''; width: .62em; height: .62em; margin-inline: .7em; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cpath d='M100 8v184M8 100h184M35 35l130 130M35 165 165 35' fill='none' stroke='%23ff5b14' stroke-width='22'/%3E%3C/svg%3E") center / contain no-repeat; }
@keyframes rb-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .rb-for__track { width: auto; }
  .rb-for__list { flex-wrap: wrap; padding-inline: max(var(--gut), (100vw - var(--shell)) / 2); }
  .rb-for__list[aria-hidden] { display: none; }
  .rb-for__list li { white-space: normal; padding-block: 12px; }
}
.rb-left { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 1.4; margin: 14px 0 0; }
.rb-left i { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: none; }
.rb-situations { padding-block: 48px 88px; }
.rb-section-top { margin-bottom: 42px; }
.rb-section-top h2 { margin: 0; }
.rb-questions { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 40px; }
.rb-questions li { padding-top: 22px; border-top: 1px solid var(--line); }
.rb-questions__quote { display: block; font-size: 23px; font-weight: 500; letter-spacing: -.03em; line-height: 1.3; margin-bottom: 18px; }
.rb-questions p { max-width: 32ch; margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.rb-situations__note { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 42px; padding-top: 23px; border-top: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.rb-situations__note i { font-size: 28px; color: var(--orange); font-style: normal; }
.rb-expert { background: var(--ink); color: #fff; padding-block: 76px; }
.rb-expert__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0 80px; }
.rb-expert .rb-kicker { grid-column: 1 / -1; color: #b7b7af; }
.rb-expert h2 { font-size: clamp(40px, 4.8vw, 68px); margin: 0; }
.rb-expert h2 span { color: var(--orange); }
.rb-expert__copy p { font-size: 17px; line-height: 1.65; color: #cecec8; margin-bottom: 22px; }
/* Скриншот настоящего разбора и фото спикеров (16.11.2026). На компьютере — одной
   картинкой: скрин слева, два фото столбиком справа, низ второго фото вровень с
   низом скрина (подпись справа поднята на 4px: 12px над ней, как у скрина, а не
   16px промежутка сетки). Уже 1100 px — друг под другом, как раньше. */
.rb-expert__media { grid-column: 1 / -1; }
.rb-call { max-width: 940px; margin: 40px 0 0; }
.rb-call img { display: block; width: 100%; height: auto; border: 1px solid #484843; border-radius: 6px; }
.rb-call figcaption { margin-top: 12px; font-size: 12px; color: #b7b7af; }
@media (min-width: 1101px) {
  .rb-expert__media { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: 16px; margin-top: 44px; }
  .rb-expert__media .rb-call { max-width: none; margin: 0; }
  /* contain: size — столбик не распирает ряд своими фото: высоту ряда задаёт скрин,
     а столбик растягивается до неё и делит её на два фото и подпись. */
  .rb-expert__media .rb-expert__photos { contain: size; grid-column: auto; margin: 0; grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .rb-expert__media .rb-expert__pic { min-height: 0; }
  .rb-expert__media .rb-expert__pic img { height: 100%; }
  .rb-expert__media .rb-expert__caption { margin-top: -4px; }
}
.rb-expert__photos { grid-column: 1 / -1; display: grid; grid-template-columns: 1.7fr 1fr; gap: 16px; margin-top: 44px; }
.rb-expert__pic { margin: 0; min-width: 0; }
.rb-expert__pic img { display: block; width: 100%; height: 340px; object-fit: cover; border-radius: 3px; }
.rb-expert__pic--board img { object-position: 60% 40%; }
.rb-expert__pic--smile img { object-position: 40% 30%; }
.rb-expert__caption { grid-column: 1 / -1; margin: 0; font-size: 12px; color: #b7b7af; }
.rb-result__photo { margin: 28px 0 8px; }
.rb-result__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 3px; }
.rb-expert__roles { grid-column: 1 / -1; margin-top: 48px; border-top: 1px solid #484843; padding-top: 24px; }
.rb-expert__tiles { display: flex; align-items: center; gap: 24px; }
.rb-tile { font-size: 19px; font-weight: 500; }
.rb-tile--expert { color: var(--ink); }
.rb-expert__tiles > i { color: #85857d; font-size: 23px; font-style: normal; }
.rb-expert__optional { color: #b7b7af; }
.rb-diff { padding-block: 92px; }
.rb-diff__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 80px; align-items: end; margin-bottom: 44px; }
.rb-diff h2 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); }
.rb-diff__head p { font-size: 16px; line-height: 1.6; margin: 0; max-width: 38ch; color: var(--ink-soft); }
.rb-diff__table { display: grid; grid-template-columns: .65fr 1fr 1.15fr; }
.rb-diff__row { display: contents; }
.rb-diff__row > * { margin: 0; padding: 24px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; }
.rb-diff__row > :first-child { padding-left: 0; }
.rb-diff__row h3 { font-weight: 500; }
.rb-diff__row--head > * { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; border-top: 0; }
.rb-diff__row > :nth-child(3) { background: var(--paper-2); }
.rb-diff__them { color: var(--ink-soft); }
.rb-diff__us { font-weight: 500; }
.rb-diff__row small { display: none; }
.rb-result { background: var(--paper-2); padding-block: 80px; }
.rb-result__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 100px; align-items: start; }
.rb-result h2 { margin: 0 0 36px; font-size: clamp(36px, 3.6vw, 52px); }
/* Шаблон разбора за контакт — под листом плана: лист показывает пример, а
   кнопка предлагает забрать такой же себе. */
.rb-template { display: grid; gap: 16px; margin-top: 20px; padding: 24px; background: #fff; border: 1px solid var(--ink); }
.rb-template p { margin: 0; font-size: 16px; line-height: 1.5; }
.rb-template__button { justify-self: start; font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; }
/* Выбор мессенджера в окне шаблона: две кнопки-переключателя. */
.rb-send { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; padding: 0; border: 0; }
.rb-send legend { width: 100%; margin-bottom: 8px; padding: 0; font-size: 13px; color: var(--ink-soft); }
.rb-send label { position: relative; cursor: pointer; }
.rb-send input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rb-send span { display: inline-block; padding: 10px 18px; border: 1px solid #bcbcb4; border-radius: 2px; font-size: 15px; background: #fff; }
.rb-send input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.rb-send input:focus-visible + span { outline: 2px solid var(--cobalt); outline-offset: 2px; }
.rb-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding: 20px 0; border-top: 1px solid #d2d2ca; }
.rb-steps li > span { font-size: 12px; color: var(--ink-soft); padding-top: 3px; }
.rb-steps p { margin: 0; font-size: 16px; line-height: 1.55; }
.rb-steps b { font-weight: 600; }
.rb-result .rb-text-link { margin-top: 18px; }
.rb-sheet { padding: 32px; background: #fff; border-top: 3px solid var(--ink); box-shadow: 0 8px 30px #17171508; }
.rb-sheet__top { display: flex; align-items: start; justify-content: space-between; gap: 20px; font-size: 11px; line-height: 1.5; color: var(--ink-soft); }
.rb-sheet__top span:last-child { background: var(--paper-2); padding: 3px 8px; }
.rb-sheet h3 { font-size: 27px; font-weight: 500; line-height: 1.2; margin: 30px 0; }
.rb-sheet__row { display: grid; grid-template-columns: 36px 1fr; gap: 16px; border-top: 1px solid var(--line); padding: 20px 0; }
.rb-sheet__letter { font-size: 25px; line-height: 1.4; }
.rb-sheet__letter--goal { color: var(--orange); }
.rb-sheet h4 { font-size: 12px; font-weight: 500; color: var(--ink-soft); margin: 0 0 8px; }
.rb-sheet__row p { font-size: 17px; line-height: 1.45; margin: 0; }
.rb-sheet small { display: block; font-size: 11px; line-height: 1.5; color: var(--ink-soft); margin-top: 6px; }
.rb-sheet__plan { border-top: 1px solid var(--line); padding-top: 20px; }
.rb-sheet__plan ol { display: grid; gap: 18px; margin-top: 16px; }
.rb-sheet__plan li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 14px; line-height: 1.5; }
.rb-sheet__plan li > span { font-size: 11px; color: var(--ink-soft); padding-top: 3px; }
.rb-sheet__plan p { margin: 0; }
.rb-sheet__end { display: flex; justify-content: space-between; gap: 14px; background: var(--paper-2); padding: 14px 16px; font-size: 14px; line-height: 1.5; margin: 28px 0 0; }
.rb-cases { padding-block: 90px; }
.rb-cases__head { margin-bottom: 40px; }
.rb-cases h2 { margin: 0; }
.rb-cases h2 br { display: none; }
.rb-cases__list { border-top: 1px solid var(--ink); }
.rb-case { border-bottom: 1px solid var(--line); }
.rb-case summary { display: grid; grid-template-columns: 1.2fr 1fr 40px; gap: 32px; align-items: center; padding: 28px 0; list-style: none; cursor: pointer; }
.rb-case summary::-webkit-details-marker { display: none; }
.rb-case__name { font-size: clamp(24px, 2.6vw, 36px); font-weight: 500; line-height: 1.15; letter-spacing: -.04em; }
.rb-case__goal { max-width: 30ch; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }
.rb-case[open] .rb-case__name, .rb-case summary:hover .rb-case__name { color: var(--orange); }
.rb-case__sign { position: relative; width: 40px; height: 40px; }
.rb-case__sign::before, .rb-case__sign::after { content: ''; position: absolute; top: 19px; left: 10px; width: 20px; height: 1px; background: var(--ink); }
.rb-case__sign::after { transform: rotate(90deg); }
.rb-case[open] .rb-case__sign::after { transform: none; }
.rb-case__body { padding: 4px 0 44px; }
.rb-case__about { font-size: 17px; line-height: 1.6; max-width: 65ch; margin: 0; }
.rb-case__label { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin: 26px 0 12px; color: var(--ink-soft); }
.rb-case__team { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; font-size: 12px; line-height: 1.6; }
.rb-case__team span { background: var(--paper-2); padding: 5px 9px; }
.rb-case__team i { font-style: normal; color: #85857d; }
.rb-case__grid { display: grid; grid-template-columns: 1fr .85fr 1.2fr; gap: 36px; margin-top: 36px; }
.rb-case__col { padding-top: 20px; border-top: 1px solid var(--line); }
.rb-case__col h3 { display: flex; gap: 12px; align-items: center; font-size: 13px; font-weight: 600; min-height: 28px; margin-bottom: 22px; }
.rb-case__letter { font-size: 21px; font-weight: 400; }
.rb-case__letter--goal { color: var(--orange); }
.rb-case__col ul, .rb-case__col ol { display: grid; gap: 14px; }
.rb-case__col li { font-size: 14px; line-height: 1.6; }
.rb-case__col ul li { padding-left: 14px; position: relative; }
.rb-case__col ul li::before { content: '·'; position: absolute; left: 0; }
.rb-case__target { margin: 0 0 24px; }
.rb-case__target b { display: block; font-size: 27px; font-weight: 500; letter-spacing: -.035em; line-height: 1.2; }
.rb-case__target span { display: block; font-size: 12px; color: var(--ink-soft); margin-top: 7px; }
.rb-case__plan li { display: grid; grid-template-columns: 90px 1fr; gap: 16px; }
.rb-case__plan b { font-size: 12px; font-weight: 500; padding-top: 2px; }
.rb-cases__cta { margin-top: 30px; }
.rb-about { border-top: 1px solid var(--line); padding-block: 80px; }
.rb-about__head { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: end; }
.rb-about h2 { margin: 0; }
.rb-about__line { display: block; }
.rb-about__head > p { margin: 0; font-size: 16px; line-height: 1.6; max-width: 43ch; }
.rb-about__photos { margin-top: 44px; display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); gap: 16px;
  grid-template-areas: "w w w w w w w w z z z z" "w w w w w w w w n n n n" "g g g t t s s f f x x x" "c c c c c c c c c c c c"; }
.rb-about__photos figure { margin: 0; min-width: 0; }
.rb-about__photos img { width: 100%; height: 100%; object-fit: cover; }
.rb-about__wide { grid-area: w; position: relative; }
.rb-about__wide img { aspect-ratio: 3 / 2; }
.rb-about__wide figcaption { position: absolute; bottom: 0; left: 0; background: #fff; padding: 12px 18px 0 0; font-size: 12px; }
.rb-about__pic--zal { grid-area: z; }
.rb-about__annotation { grid-area: n; font-size: 20px; line-height: 1.4; align-self: end; padding: 16px 0; margin: 0; }
.rb-about__pic--gruppa { grid-area: g; }
.rb-about__pic--talk { grid-area: t; }
.rb-about__pic--smile { grid-area: s; }
.rb-about__pic--food { grid-area: f; }
.rb-about__pic--glass { grid-area: x; }
.rb-about__pic:not(.rb-about__pic--zal) { height: 200px; }
.rb-about__facts { grid-area: c; display: flex; gap: 64px; padding-top: 20px; }
.rb-about__facts p { margin: 0; font-size: 13px; line-height: 1.5; }
.rb-about__facts b { display: block; font-size: 40px; font-weight: 500; letter-spacing: -.04em; margin-bottom: 4px; }
.rb-faq { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; padding-block: 70px 90px; border-top: 1px solid var(--line); }
.rb-faq h2 { margin: 0; }
.rb-faq .faq__items { border-top: 1px solid var(--line); }
.rb-faq details { border-bottom: 1px solid var(--line); }
.rb-faq summary { font-size: 18px; font-weight: 500; padding-block: 24px; }
.rb-faq .faq__body p { font-size: 15px; line-height: 1.65; color: var(--ink-soft); }
/* Финал — ряды огромного узкого капса на чёрном, как в «дерзкой» вёрстке
   (возвращены словом владельца 16.11.2026). */
.rb-closing { padding: 96px 0 76px; overflow: hidden; background: var(--ink); color: #fff; }
.rb-closing__rows { display: grid; margin: 0; font-family: var(--display); font-size: clamp(64px, 11.6vw, 190px); font-weight: 800; line-height: .86; letter-spacing: 0; text-transform: uppercase; }
.rb-row { display: block; }
.rb-row:nth-child(2) { text-align: right; }
.rb-row--soft { color: var(--orange); }
.rb-plus { position: relative; display: inline-block; width: .56em; height: .56em; margin: 0 .1em 0 .14em; vertical-align: .06em; background: var(--orange); border-radius: 50%; }
.rb-plus::before, .rb-plus::after { content: ''; position: absolute; left: 50%; top: 50%; width: 48%; height: max(3px, .055em); background: var(--ink); transform: translate(-50%, -50%); }
.rb-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.rb-closing__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 40px; margin-top: 52px; padding-top: 26px; border-top: 1px solid #ffffff55; }
.rb-closing__facts { margin: 0; font-size: 20px; font-weight: 600; color: #fff; }
.rb-register { background: var(--paper-2); padding-block: 80px; }
.rb-register__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.rb-register h2 { font-size: clamp(48px, 5.2vw, 74px); margin: 0 0 24px; }
.rb-register__intro > p:not(.rb-kicker) { font-size: 17px; line-height: 1.6; }
.rb-form-area { min-width: 0; }
:is(.rb-register, .rb-modal) .reg { padding: 0; margin: 0; border: 0; background: transparent; box-shadow: none; border-radius: 0; }
:is(.rb-register, .rb-modal) .reg__row { display: grid; grid-template-columns: 1fr; gap: 22px; }
:is(.rb-register, .rb-modal) .reg__label { font-size: 13px; font-weight: 500; color: var(--ink); text-transform: none; letter-spacing: 0; margin-bottom: 10px; }
:is(.rb-register, .rb-modal) .reg__input { height: 58px; padding: 0 16px; border: 1px solid #bcbcb4; background: #fff; color: var(--ink); border-radius: 2px; font-size: 17px; }
:is(.rb-register, .rb-modal) .reg__input::placeholder { color: #73736c; }
:is(.rb-register, .rb-modal) .reg__input:focus { outline: 2px solid var(--ink); outline-offset: 2px; box-shadow: none; }
:is(.rb-register, .rb-modal) .reg__consent { margin: 24px 0; }
:is(.rb-register, .rb-modal) .reg__consent label { font-size: 12px; line-height: 1.6; color: #55554f; }
:is(.rb-register, .rb-modal) .reg__consent a { color: var(--ink); text-decoration: underline; }
:is(.rb-register, .rb-modal) .reg__consent input { accent-color: var(--ink); }
:is(.rb-register, .rb-modal) .reg__submit { display: flex; justify-content: space-between; width: 100%; max-width: none; min-height: 62px; padding: 16px 24px; border: 0; border-radius: 3px; box-shadow: none; color: var(--ink); background: var(--orange); font-size: 17px; font-weight: 600; }
:is(.rb-register, .rb-modal) .reg__submit:hover { background: #ed4d06; transform: none; }
:is(.rb-register, .rb-modal) .reg__submit:disabled { opacity: .6; cursor: wait; }
:is(.rb-register, .rb-modal) .reg__error { color: #b2220b; }
:is(.rb-register, .rb-modal) .is-invalid .reg__input { border-color: #b2220b; }
.rz-form__fail { padding: 14px; background: #fff0eb; border-left: 2px solid #b2220b; font-size: 14px; line-height: 1.5; }
.rz-booked__mark { font-size: 32px; color: var(--orange); }
.rz-booked__title { font-size: 38px; font-weight: 500; letter-spacing: -.04em; margin-bottom: 16px; }
.rz-booked__text { font-size: 17px; line-height: 1.5; }
/* После заявки — куда дальше: афиша встреч, чат или закрыть окно (16.11.2026). */
.rz-booked__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; }
.rz-booked__actions .link-arrow { font-size: 16px; }
/* Ссылка на афишу в «Кто мы» — единственный выход на сайт выше формы. */
.rb-about__link { margin-top: 18px; }
html.rz-modal-open { overflow: hidden; }
.rb-modal { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; overflow: auto; }
.rb-modal::backdrop { background: rgba(46,59,255,.55); }
.rb-modal[open] { display: grid; place-items: center; }
.rb-modal__box {
  position: relative; width: min(560px, calc(100% - 32px)); margin: 24px auto; padding: 62px 40px 36px;
  color: var(--ink); background: var(--paper); border: var(--stroke) solid var(--ink); border-radius: 22px;
  box-shadow: 12px 12px 0 var(--ink);
}
.rb-modal__box > .rb-dots { position: absolute; left: 18px; top: 18px; }
.rb-modal[open] .rb-modal__box { animation: rb-modal-in .28s cubic-bezier(.2,.8,.3,1); }
@keyframes rb-modal-in { from { opacity: 0; transform: translateY(18px) rotate(-1deg); } }
.rb-modal__close {
  position: absolute; top: 10px; right: 10px; width: 46px; height: 46px; display: grid; place-items: center;
  border: 2px solid var(--ink); border-radius: 50%; background: var(--paper); color: var(--ink);
  font: inherit; font-size: 30px; line-height: 1; cursor: pointer; transition: background .2s;
}
.rb-modal__close:hover { background: var(--paper-2); }
.rb-modal__close:focus-visible, .rb-modal__done:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }
.rb-modal .rb-kicker { margin-bottom: 18px; }
.rb-modal h2 { margin: 0 0 12px; font-size: clamp(52px, 7vw, 76px); }
.rb-modal__lead { margin: 0; font-size: 18px; font-weight: 500; line-height: 1.45; }
.rb-left--modal { justify-content: flex-start; margin: 14px 0 0; }
.rb-modal .reg { margin-top: 22px; }
.rb-modal .reg__row { gap: 14px; }
.rb-modal .reg__consent { margin: 22px 0; }
.rb-modal__done { border: 0; background: none; padding: 0; font: inherit; font-size: 17px; font-weight: 700; color: var(--ink); text-decoration: underline; cursor: pointer; }


/* Dialog shares the restrained typography and controls of the inline form. */
.rb-modal::backdrop { background: #17171599; }
.rb-modal__box { padding: 48px 36px 36px; border: 0; border-radius: 4px; box-shadow: 0 24px 80px #0002; }
.rb-modal h2 { font-size: 40px; font-weight: 500; line-height: 1.1; }
.rb-modal__close { border: 0; border-radius: 0; background: transparent; }
.rb-modal__close:hover { background: var(--paper-2); }
.rb-modal .rb-kicker { font-size: 11px; margin-bottom: 20px; }
.rb-modal__lead { font-size: 15px; font-weight: 400; }
.rb-modal .reg { margin-top: 28px; }
.footer { padding-top: 38px; }
.footer__legal { font-size: 11px; }
.rz-dock__note { margin: 0; font-size: 11px; line-height: 1.45; }
.rz-dock__note b { display: block; font-size: 13px; font-weight: 500; }
@media (min-width: 761px) { .rz-dock { display: none !important; } }
@media (max-width: 1100px) {
  :root { --gut: 32px; }
  .rb-expert__grid, .rb-diff__head, .rb-result__grid, .rb-about__head, .rb-register__grid, .rb-faq { column-gap: 44px; }
  .rb-questions { gap: 32px; }
  .rb-case__grid { grid-template-columns: 1fr 1fr; }
  .rb-case__col:last-child { grid-column: 1 / -1; }
  .rb-case__plan li { grid-template-columns: 100px 1fr; }
  .rb-about__pic:not(.rb-about__pic--zal) { height: 150px; }
}
@media (max-width: 900px) {
  .rb-hero__inner { gap: 22px; padding-block: 28px 36px; }
  .rb-hero__photos { position: relative; inset: auto; display: flex; justify-content: center; width: min(100%, 400px); padding-top: 6px; }
  .rb-hero__photo { position: relative; top: auto; right: auto; left: auto; }
  .rb-hero__photo--talk { width: 50%; }
  .rb-hero__photo--smile { width: 44%; margin: 34px 0 0 -3%; }
  .rb-hero__spark { top: -24px; left: auto; right: -16px; width: 56px; height: 56px; }
  .rb-hero__lead { max-width: 54ch; margin-top: 0; }
}
@media (max-width: 760px) {
  :root { --gut: 22px; }
  .rb-expert__photos { grid-template-columns: 1.3fr 1fr; gap: 10px; margin-top: 8px; }
  .rb-expert__pic img { height: 190px; }
  .rb-hero__inner { gap: 20px; padding-block: 22px 30px; }
  .rb-hero__meta { padding: 7px 10px; font-size: 11px; }
  .rb-hero__title { font-size: clamp(38px, 11vw, 64px); line-height: 1.06; letter-spacing: -.06em; }
  .rb-hero__expert { margin-top: 4px; }
  .rb-hero__expert::after { height: 7px; bottom: -5px; }
  .rb-hero__photos { width: min(100%, 340px); }
  .rb-hero__lead { font-size: 16px; }
  .rb-hero__action { justify-self: stretch; }
  .rb-hero__action .rb-button { width: 100%; min-width: 0; }
  .rb-hero__points { grid-template-columns: 1fr; gap: 8px; margin-top: 0; }
  .rb-hero__points li { padding: 16px 18px 16px 40px; font-size: 13px; }
  .rb-hero__points li::before { left: 18px; }
  /* Первый экран: одно большое фото во всю ширину вместо двух маленьких. */
  .rb-hero__photos { width: calc(100% + 2 * var(--gut)); max-width: none; margin-inline: calc(-1 * var(--gut)); padding-top: 0; }
  .rb-hero__photo--talk { width: 100%; rotate: none; }
  .rb-hero__photo--talk img { aspect-ratio: 1; border-radius: 0; }
  .rb-hero__photo--smile { display: none; }
  .rb-for { padding-block: 34px 44px; }
  .rb-for__list li { padding-block: 16px; }
  [id] { scroll-margin-top: 82px; }
  h2 { font-size: 37px; }
  .header__inner, .header.is-stuck .header__inner { height: 66px; }
  .brand img { width: 36px; height: 34px; }
  .brand__name { font-size: 10px; }
  .header nav { background: #fff; }
  .rb-header-link { display: none; }
  .rb-button { min-height: 58px; padding: 16px 20px; font-size: 16px; }
  .rb-situations { padding-block: 24px 52px; }
  .rb-section-top { margin-bottom: 28px; }
  .rb-questions { grid-template-columns: 1fr; gap: 24px; }
  .rb-questions li { padding-top: 18px; }
  .rb-questions__quote { font-size: 22px; margin-bottom: 10px; }
  .rb-questions__quote br { display: none; }
  .rb-questions p { font-size: 14px; max-width: 45ch; }
  .rb-situations__note { font-size: 14px; margin-top: 30px; }
  .rb-expert { padding-block: 48px; }
  .rb-expert__grid { grid-template-columns: 1fr; }
  .rb-expert h2 { font-size: 42px; margin-bottom: 28px; }
  .rb-expert__copy p { font-size: 15px; }
  .rb-expert__roles { margin-top: 14px; }
  .rb-expert__tiles { flex-wrap: wrap; gap: 10px 16px; }
  .rb-tile { font-size: 15px; }
  .rb-expert__tiles > i { font-size: 18px; }
  .rb-diff { padding-block: 52px; }
  .rb-diff__head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 30px; }
  .rb-diff h2 { font-size: 32px; }
  .rb-diff__head p { font-size: 14px; }
  .rb-diff__table { display: block; }
  .rb-diff__row { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 22px; }
  .rb-diff__row--head { display: none; }
  .rb-diff__row > * { padding: 16px 12px; font-size: 13px; }
  .rb-diff__row > :first-child { grid-column: 1 / -1; padding: 14px 0; border-top: 1px solid var(--ink); font-size: 15px; }
  .rb-diff__row > :nth-child(2) { padding-left: 0; }
  .rb-diff__row small { display: block; margin-bottom: 10px; font-size: 10px; text-transform: uppercase; font-weight: 600; }
  .rb-result { padding-block: 48px; }
  .rb-result__grid { grid-template-columns: 1fr; gap: 38px; }
  .rb-result h2 { font-size: 32px; margin-bottom: 28px; }
  .rb-template { padding: 20px; }
  .rb-template__button { justify-self: stretch; }
  .rb-steps p { font-size: 15px; }
  .rb-steps li { padding-block: 16px; }
  .rb-sheet { padding: 24px 20px; }
  .rb-sheet h3 { font-size: 25px; }
  .rb-sheet__top { font-size: 10px; }
  .rb-sheet__row p { font-size: 16px; }
  .rb-cases { padding-block: 52px; }
  .rb-cases__head { margin-bottom: 28px; }
  .rb-case summary { grid-template-columns: 1fr 32px; gap: 12px; padding-block: 24px; }
  .rb-case__name { font-size: 27px; }
  .rb-case__goal { grid-column: 1; font-size: 13px; max-width: 36ch; }
  .rb-case__sign { grid-column: 2; grid-row: 1; width: 32px; }
  .rb-case__about { font-size: 15px; }
  .rb-case__team { font-size: 11px; }
  .rb-case__grid { grid-template-columns: 1fr; gap: 26px; }
  .rb-case__col li { font-size: 14px; }
  .rb-case__target b { font-size: 27px; }
  .rb-case__plan li { grid-template-columns: 82px 1fr; gap: 12px; }
  .rb-text-link { font-size: 14px; }
  .rb-about { padding-block: 52px; }
  .rb-about__head { grid-template-columns: 1fr; gap: 24px; }
  .rb-about__head > p { font-size: 15px; }
  .rb-about__photos { margin-top: 30px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; grid-template-areas: "w w" "n n" "z g" "t s" "f x" "c c"; }
  .rb-about__wide img { aspect-ratio: 3 / 2; }
  .rb-about__annotation { font-size: 14px; padding-block: 12px; }
  .rb-about__annotation br { display: none; }
  .rb-about__pic:not(.rb-about__pic--zal), .rb-about__pic--zal { height: 160px; }
  .rb-about__pic--talk, .rb-about__pic--smile { height: 230px !important; }
  .rb-about__facts { gap: 30px; }
  .rb-about__facts p { flex: 1; font-size: 12px; }
  .rb-about__facts b { font-size: 34px; }
  .rb-faq { grid-template-columns: 1fr; gap: 30px; padding-block: 48px 52px; }
  .rb-faq h2 br { display: none; }
  .rb-faq summary { font-size: 16px; padding-block: 20px; }
  .rb-faq .faq__body p { font-size: 14px; }
  .rb-closing { padding: 60px 0 50px; }
  .rb-closing__rows { font-size: 17.4vw; }
  .rb-row:nth-child(2) { text-align: left; }
  .rb-closing__foot { flex-direction: column; align-items: stretch; gap: 22px; margin-top: 32px; }
  .rb-closing__facts { font-size: 17px; }
  .rb-register { padding-block: 48px; }
  .rb-register__grid { grid-template-columns: 1fr; gap: 32px; }
  .rb-register h2 { font-size: 48px; }
  .rb-register__intro > p:not(.rb-kicker) { font-size: 16px; }
  .rb-modal[open] { place-items: end center; }
  .rb-modal__box { width: 100%; margin: 0; padding: 52px 22px calc(24px + env(safe-area-inset-bottom)); border-radius: 12px 12px 0 0; }
  .rb-modal h2 { font-size: 34px; }
  .rb-modal .reg { margin-top: 22px; }
  .footer { padding-bottom: 110px; }
  .rz-dock:not([hidden]) { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-top: 1px solid var(--line); padding: 10px 22px calc(10px + env(safe-area-inset-bottom)); }
  .rz-dock .rb-button { min-height: 44px; padding: 12px 16px; font-size: 13px; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
