/* =========================================================
   Biznes Origami — TypeUI fundamentals + Flash Family DNA
   Brand: solid violet #6d28d9. No yellow.
   ========================================================= */

:root {
  --ff-accent: #7c3aed;
  --ff-accent-hover: #6d28d9;
  --ff-accent-deep: #5b21b6;
  --ff-accent-soft: #f3eefe;
  --ff-hero: #6d28d9;
  --ff-black: #111111;
  --ff-ink: #111111;
  --ff-muted: #5a5a5a;
  --ff-soft: #5c5c70;
  --ff-line: #ebebeb;
  --ff-line-2: #f0f0f0;
  --ff-bg: #ffffff;
  --ff-bg-2: #f6f6f6;
  --ff-bg-3: #fafafa;
  --ff-header: 72px;
  /* FF 1440: ~1344 content, 48 gutters */
  --ff-container: 1344px;
  --ff-gutter: 48px;
  --ff-section: 88px;
  --ff-type-ratio: 1.333;
  --ff-font: 'Golos Text', Arial, system-ui, sans-serif;
  --ff-display: 'Golos Text', Arial, system-ui, sans-serif;
  --ff-display-mega: 'Golos Text', Arial, system-ui, sans-serif;
  --ff-radius: 12px;
  --ff-radius-lg: 20px;
  --ff-shadow-card: 0 16px 40px rgba(0, 0, 0, 0.12);
  --ff-shadow-float: 0 24px 56px -20px rgba(91, 33, 182, 0.28);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  /* TypeUI: anchors clear sticky nav */
  scroll-padding-top: calc(var(--ff-header) + 16px);
}

body {
  margin: 0;
}

.bo-site {
  min-height: 100vh;
  background: var(--ff-bg);
  color: var(--ff-ink);
  font-family: var(--ff-font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}

.bo-container {
  width: min(var(--ff-container), calc(100% - var(--ff-gutter) * 2));
  margin-inline: auto;
  max-width: 100%;
}

@media (max-width: 900px) {
  :root {
    --ff-gutter: 24px;
    --ff-section: 72px;
  }
}

@media (max-width: 720px) {
  :root {
    --ff-gutter: 16px;
    --ff-header: 64px;
    --ff-section: 64px;
  }
}

/* ========== HEADER ==========
   лого слева | меню по центру viewport | phone+CTA справа
*/
.bo-top {
  position: sticky;
  top: 0;
  z-index: 300;
  height: var(--ff-header);
  background: #fff;
  border-bottom: 1px solid transparent;
}

.bo-top__bar {
  position: relative;
  height: 100%;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 var(--ff-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
}

/* LEFT — flush left */
.bo-top__logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ff-black);
  flex-shrink: 0;
  min-width: 0;
}

/* лого без фиолетовой «рамки» */
.bo-top__mark {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: transparent;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  overflow: visible;
}

.bo-top__mark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.bo-top__logo span {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.025em;
  text-transform: none;
  color: #000;
  white-space: nowrap;
}

/* CENTER — absolute center of bar (ровно по экрану) */
.bo-top__nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  pointer-events: auto;
}

.bo-top__mega-wrap {
  display: inline-flex;
}

/* RIGHT — flush right */
.bo-top__right {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  margin-left: auto;
  flex-shrink: 0;
  min-width: 0;
}

.bo-top__cta {
  height: 46px;
  padding: 0 20px;
  font-size: 14px;
  border-radius: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.bo-top__link {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 36px;
  padding: 0 12px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ff-ink);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  border-radius: 8px;
  position: relative;
  transition: opacity 0.15s;
}

.bo-top__link:hover,
.bo-top__link.is-open,
.bo-top__link.is-active {
  opacity: 0.55;
}

/* hover underline — как ANX001 у Молнии */
.bo-top__link::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 1px;
  background: currentColor;
  transform: scale3d(0, 1, 1);
  transform-origin: 100% 50%;
  transition: transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}

.bo-top__link:hover::after,
.bo-top__link.is-open::after,
.bo-top__link.is-active::after {
  transform-origin: 0% 50%;
  transform: scale3d(1, 1, 1);
}

.bo-top__link svg {
  flex-shrink: 0;
  transition: transform 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.bo-top__link.is-open svg {
  transform: rotate(180deg);
}

/* submenu О студии */
.bo-top__subwrap {
  position: relative;
}

.bo-top__sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 190px;
  background: #fff;
  border: 1px solid var(--ff-line);
  border-radius: 14px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
  padding: 8px;
  display: grid;
  gap: 2px;
  animation: bo-sub-in 0.18s cubic-bezier(0.19, 1, 0.22, 1) both;
}

@keyframes bo-sub-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.bo-top__sub a {
  display: block;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ff-ink);
  text-decoration: none;
  transition: background 0.12s, color 0.12s;
}

.bo-top__sub a:hover {
  background: var(--ff-accent-soft);
  color: var(--ff-accent-deep);
}

.bo-top__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  line-height: 1.2;
  flex-shrink: 0;
  text-align: right;
}

.bo-top__phone {
  font-size: 14px;
  font-weight: 600;
  color: var(--ff-black);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.bo-top__hours {
  font-size: 11px;
  color: var(--ff-soft);
  margin-top: 2px;
  white-space: nowrap;
}

/* футер: mark чуть компактнее, тоже без фиолетовой заливки */
.bo-foot__brand .bo-top__mark {
  width: 36px;
  height: 36px;
}
.bo-foot__brand .bo-top__mark img {
  width: 36px;
  height: 36px;
}

@media (max-width: 1280px) {
  .bo-top__meta {
    display: none;
  }
}

@media (max-width: 520px) {
  .bo-top__cta {
    display: none;
  }
  .bo-top__logo span {
    font-size: 16px;
  }
  .bo-top__mark,
  .bo-top__mark img {
    width: 40px;
    height: 40px;
  }
}

.bo-top__burger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--ff-bg-2);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* mega */
.bo-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--ff-header);
  background: #fff;
  border-bottom: 1px solid var(--ff-line);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
  padding: 28px 0 32px;
  z-index: 299;
}

.bo-mega__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px 8px;
}

.bo-mega__item {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background 0.12s;
}

.bo-mega__item:hover {
  background: var(--ff-bg-2);
}

.bo-mega__item strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 3px;
}

.bo-mega__item span {
  font-size: 12px;
  line-height: 1.35;
  color: var(--ff-muted);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bo-mega__foot {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--ff-line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bo-drawer {
  display: none;
}

@media (max-width: 1100px) {
  .bo-top__nav {
    display: none;
  }
  .bo-top__burger {
    display: inline-flex;
  }
  .bo-mega {
    display: none !important;
  }
  .bo-drawer {
    display: block;
    position: fixed;
    inset: var(--ff-header) 0 0 0;
    z-index: 298;
    background: #fff;
    overflow-y: auto;
    padding: 8px 0 40px;
    border-top: 1px solid var(--ff-line);
  }
  .bo-drawer a,
  .bo-drawer button.bo-drawer__link {
    display: flex;
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ff-black);
    text-decoration: none;
    border: 0;
    background: transparent;
    border-bottom: 1px solid var(--ff-line-2);
    cursor: pointer;
    font-family: inherit;
  }
  .bo-drawer__sub {
    padding: 8px 16px 12px 24px;
    display: grid;
    gap: 2px;
    background: var(--ff-bg-3);
  }
  .bo-drawer__sub a {
    font-size: 13px;
    font-weight: 500;
    color: var(--ff-muted);
    border: 0;
    padding: 10px 12px;
  }
}

/* ========== BUTTONS (TypeUI: ≥16px, nowrap, no shrink, no underline) ========== */
.bo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  min-height: 48px;
  padding: 0 28px;
  border-radius: var(--ff-radius);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.1;
  text-decoration: none !important;
  border: 1.5px solid transparent;
  cursor: pointer;
  flex-shrink: 0;
  min-width: fit-content;
  transition:
    background 0.15s cubic-bezier(0.19, 1, 0.22, 1),
    border-color 0.15s,
    color 0.15s,
    transform 0.15s cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 0.15s;
  white-space: nowrap;
}

.bo-btn:hover {
  transform: translateY(-2px);
}

.bo-btn--yellow {
  background: var(--ff-accent);
  color: #fff;
  border-color: var(--ff-accent);
}

.bo-btn--yellow:hover {
  background: var(--ff-accent-deep);
}

.bo-btn--black {
  background: var(--ff-black);
  color: #fff;
  border-color: var(--ff-black);
}

.bo-btn--black:hover {
  background: #222;
}

.bo-btn--outline {
  background: transparent;
  color: var(--ff-black);
  border-color: rgba(0, 0, 0, 0.22);
}

.bo-btn--outline:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: var(--ff-black);
}

.bo-btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.bo-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* hero primary = solid white (как чёрная кнопка Molniya на жёлтом) */
.bo-hero .bo-btn--black {
  background: #fff;
  color: #4c1d95;
  border-color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  font-weight: 600;
}

.bo-hero .bo-btn--black:hover {
  background: #f5f3ff;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

/* secondary outline — как у Molniya */
.bo-hero .bo-btn--outline-light {
  border-width: 1.5px;
  border-color: rgba(255, 255, 255, 0.85);
  color: #fff;
  background: transparent;
}

.bo-hero .bo-btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.bo-btn--lg {
  height: 56px;
  padding: 0 32px;
  font-size: 16px;
  border-radius: 14px;
}

.bo-btn--block {
  width: 100%;
}

.bo-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.bo-btn--primary,
.bo-btn--accent {
  background: var(--ff-accent);
  color: #fff;
  border-color: var(--ff-accent);
}

.bo-btn--primary:hover,
.bo-btn--accent:hover {
  background: var(--ff-accent-deep);
  border-color: var(--ff-accent-deep);
}

.bo-btn--dark {
  background: var(--ff-black);
  color: #fff;
}

.bo-btn--ghost {
  background: transparent;
  color: var(--ff-black);
  border-color: rgba(0, 0, 0, 0.18);
}

.bo-btn--light {
  background: #fff;
  color: var(--ff-black);
}

/* ========== TYPE (TypeUI: display lh 1, h→p 32px, floors 16/14) ========== */
.bo-eyebrow {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ff-muted);
}

.bo-eyebrow--light {
  color: rgba(255, 255, 255, 0.6);
}

/* Hero display — ratio ~1.333 from 16 */
.bo-h1 {
  margin: 0 0 32px;
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5.2vw, 3.75rem); /* 40–60 */
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ff-ink);
  text-wrap: balance;
}

.bo-h2 {
  margin: 0 0 32px;
  font-family: var(--ff-display);
  font-size: clamp(1.875rem, 3.4vw, 2.5rem); /* 30–40 */
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ff-ink);
  text-wrap: balance;
}

.bo-h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ff-ink);
}

.bo-lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ff-muted);
  max-width: 42ch;
  font-weight: 400;
}

.bo-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ff-muted);
}

/* ========== HERO — photo bg + Molniya layout ========== */
.bo-hero {
  --hero-pad-x: var(--ff-gutter);
  position: relative;
  background: #4c1d95;
  color: #fff;
  overflow: hidden;
  min-height: calc(100svh - var(--ff-header));
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

/* фото: мягкий brightness без contrast (contrast давал артефакты) */
.bo-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: url('../img/hero-bg.webp') center / cover no-repeat;
  filter: brightness(1.12);
  transform: scale(1.01);
}

/* белый wash + почти без тёмного scrim */
.bo-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(0deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1)),
    linear-gradient(180deg, transparent 0%, transparent 70%, rgba(20, 5, 40, 0.12) 100%);
}

/* stage: column flex — row grows, wordmark sticks bottom */
.bo-hero__stage {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - var(--ff-header));
  width: 100%;
}

/* content row — same gutters as rest of site */
.bo-hero__row {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.95fr);
  gap: 40px 56px;
  align-items: center;
  width: min(var(--ff-container), calc(100% - var(--ff-gutter) * 2));
  margin-inline: auto;
  /* меньше нижнего padding — wordmark ближе к контенту */
  padding: 40px 0 8px;
}

.bo-hero__copy {
  max-width: 640px;
}

/* H1 like Molniya: big, tight, black→white */
.bo-hero__title {
  margin: 0;
  font-family: var(--ff-display);
  font-size: clamp(2.75rem, 5.2vw, 3.75rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: #fff;
  text-wrap: balance;
}

.bo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Primary = solid black (Molniya). Ghost = outline on brand field */
.bo-btn--hero-primary {
  height: 56px;
  padding: 0 28px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  border: 1.5px solid #111;
  font-size: 16px;
  font-weight: 600;
  box-shadow: none;
}

.bo-btn--hero-primary:hover {
  background: #000;
  border-color: #000;
  transform: translateY(-1px);
}

.bo-btn--hero-ghost {
  height: 56px;
  padding: 0 28px;
  border-radius: 12px;
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  font-size: 16px;
  font-weight: 600;
}

.bo-btn--hero-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-1px);
}

/* Awards — white cards like Molniya №1 */
.bo-hero__awards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 460px;
  justify-self: end;
}

.bo-award {
  background: #fff;
  color: #111;
  border-radius: 16px;
  padding: 28px 22px 20px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14);
  transition: transform 0.18s cubic-bezier(0.19, 1, 0.22, 1);
}

.bo-award:hover {
  transform: translateY(-3px);
}

.bo-award strong {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(2.75rem, 4vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.95;
  color: #111;
  margin: 0 0 12px;
}

.bo-award p {
  margin: 0;
  flex: 1;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
  color: #222;
}

.bo-award span {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  color: #999;
  border-bottom: 1px solid #ccc;
  padding-bottom: 1px;
  width: fit-content;
}

/* 3 large cranes — outer rotate, inner float (no transform clash) */
.bo-hero__cranes {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.bo-hero__crane {
  position: absolute;
  color: #fff;
  display: block;
  transform: rotate(var(--rot, 0deg));
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

.bo-hero__crane-float {
  display: block;
  width: 100%;
  height: 100%;
  animation: bo-crane-float var(--dur, 4s) ease-in-out var(--d, 0s) infinite;
  will-change: transform;
}

.bo-hero__crane svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* мягкий float — без вращения (крутит outer) */
@keyframes bo-crane-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -8px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bo-hero__crane-float {
    animation: none;
  }
}

/* Mega wordmark — natural proportions, slightly lifted */
.bo-hero__word {
  position: relative;
  z-index: 2;
  width: 100%;
  flex: 0 0 auto;
  margin-top: auto;
  margin-bottom: clamp(4px, 1vh, 12px);
  padding: 0;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  line-height: 0;
  pointer-events: none;
  user-select: none;
  transform: translateY(-3vh);
}

.bo-hero__word-line {
  display: block;
  font-family: var(--ff-display);
  font-size: 11.5vw;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: #fff;
  white-space: nowrap;
  margin: 0;
  padding: 0 8px;
  /* без scaleY — естественные пропорции букв */
  transform: none;
}

.bo-hero__mascot {
  display: none !important;
}

/* scroll reveal — короче и тише, без page fade */
.bo-js .bo-reveal {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  transition:
    opacity 0.35s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.35s cubic-bezier(0.19, 1, 0.22, 1);
}

.bo-js .bo-reveal.is-in {
  opacity: 1;
  transform: none;
}

.bo-js .bo-reveal-stagger .bo-reveal-item {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition:
    opacity 0.3s cubic-bezier(0.19, 1, 0.22, 1),
    transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
  transition-delay: calc(var(--i, 0) * 40ms);
}

.bo-js .bo-reveal-stagger.is-in .bo-reveal-item {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .bo-js .bo-reveal,
  .bo-js .bo-reveal-stagger .bo-reveal-item {
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (max-width: 960px) {
  .bo-hero {
    min-height: auto;
  }
  .bo-hero__stage {
    min-height: auto;
  }
  .bo-hero__row {
    grid-template-columns: 1fr;
    padding: 36px 0 20px;
    gap: 28px;
  }
  .bo-hero__awards {
    max-width: none;
    justify-self: stretch;
  }
  .bo-hero__title {
    font-size: clamp(2.25rem, 8vw, 3rem);
  }
  .bo-hero__crane:nth-child(n + 3) {
    display: none;
  }
}

@media (max-width: 520px) {
  .bo-hero__awards {
    gap: 10px;
  }
  .bo-award {
    min-height: 140px;
    padding: 18px 14px 16px;
  }
  .bo-award strong {
    font-size: 2rem;
  }
  .bo-award p {
    font-size: 13px;
  }
  .bo-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .bo-hero__actions .bo-btn {
    width: 100%;
  }
  .bo-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
  .bo-hero__actions .bo-btn {
    width: 100%;
  }
}

/* ========== LOGO STRIP — бегущая строка ========== */
.bo-logos {
  background: #fff;
  padding: 36px 0;
  border-bottom: 1px solid var(--ff-line-2);
  overflow: hidden;
}

.bo-logos__marquee {
  width: 100%;
  overflow: clip;
  overflow-x: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.bo-logos__track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: bo-marquee 28s linear infinite;
  will-change: transform;
}

.bo-logos:hover .bo-logos__track {
  animation-play-state: paused;
}

@keyframes bo-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

.bo-logos__track span {
  font-family: var(--ff-display-mega);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: none;
  color: #5c5c70;
  white-space: nowrap;
  opacity: 1;
  transition: opacity 0.2s, color 0.2s;
}

.bo-logos__track span:hover {
  opacity: 1;
  color: var(--ff-accent-deep);
}

/* ========== SECTIONS (TypeUI: equal top/bottom, 96px desktop) ========== */
.bo-section {
  padding: var(--ff-section) 0;
}

.bo-section--tight-top {
  padding-top: 32px;
}

.bo-section--soft {
  background: #f5f5f5;
}

.bo-section--black {
  background: #0a0a0a;
  color: #fff;
}

.bo-section--black .bo-h2 {
  color: #fff;
  margin-bottom: 0;
}

.bo-section--black .bo-lead,
.bo-section--black .bo-text {
  color: rgba(255, 255, 255, 0.65);
}

.bo-section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  margin-bottom: 48px;
}

.bo-section__head .bo-h2 {
  margin-bottom: 0;
}

.bo-link-more {
  font-size: 15px;
  font-weight: 600;
  color: var(--ff-black);
  text-decoration: none;
  border-bottom: 1.5px solid var(--ff-black);
  padding-bottom: 1px;
  transition: opacity 0.15s;
  white-space: nowrap;
}

.bo-link-more:hover {
  opacity: 0.55;
}

.bo-link-more--inline {
  display: inline-block;
  margin-top: 20px;
}

/* ========== SERVICE CATS ========== */
.bo-cats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px 48px;
  padding-top: 8px;
}

@media (max-width: 900px) {
  .bo-cats {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.bo-cat {
  padding: 0;
}

.bo-cat__top {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.bo-cat__title {
  font-size: clamp(1.5rem, 2.2vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--ff-ink);
  line-height: 1.1;
}

.bo-cat__title:hover {
  color: var(--ff-accent-deep);
}

/* pill-badge как у Molniya (1180 / 126 / 45) */
.bo-cat__num {
  font-family: var(--ff-font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  color: #888;
  background: #f0f0f0;
  border-radius: 999px;
  padding: 4px 9px;
  position: relative;
  top: -6px;
  margin-left: 0;
}

.bo-cat__rule {
  height: 1px;
  background: var(--ff-line);
  margin: 16px 0 4px;
}

.bo-cat__links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bo-cat__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ff-line);
  font-size: 16px;
  font-weight: 500;
  color: #555;
  text-decoration: none;
  position: relative;
  transition: color 0.15s, padding-left 0.15s;
}

.bo-cat__links a::after {
  content: '→';
  font-size: 16px;
  color: var(--ff-accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.2s, transform 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.bo-cat__links a:last-child {
  border-bottom: 0;
}

.bo-cat__links a:hover {
  color: var(--ff-black);
  padding-left: 6px;
}

.bo-cat__links a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* ========== PORTFOLIO ========== */
.bo-folio-featured {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 48px;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 900px) {
  .bo-folio-featured {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.bo-folio-featured__text h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 14px 0 14px;
}

.bo-folio-featured__text p {
  margin: 0 0 8px;
  color: var(--ff-muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 42ch;
}

.bo-folio-featured__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 18px;
}

.bo-folio-featured__stats strong {
  display: block;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
}

.bo-folio-featured__stats span {
  display: block;
  font-size: 12px;
  color: var(--ff-soft);
  margin-top: 4px;
}

.bo-folio-featured__media {
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(145deg, #f3eefe, #e9e4ff);
  aspect-ratio: 16/11;
  box-shadow:
    0 4px 0 rgba(0, 0, 0, 0.03),
    0 28px 64px -24px rgba(91, 33, 182, 0.4);
  position: relative;
  border: 1px solid rgba(109, 40, 217, 0.08);
}

.bo-folio-featured__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, 0.22) 100%);
  pointer-events: none;
}

.bo-folio-featured__media img,
.bo-folio-featured__media .bo-folio-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.bo-folio-featured:hover .bo-folio-featured__media img,
.bo-folio-featured:hover .bo-folio-featured__media .bo-folio-ph {
  transform: scale(1.035);
}

/* badge поверх медиа — как «Тильда» у Молнии */
.bo-folio-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #222;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.bo-folio-badge--award {
  background: linear-gradient(135deg, #a78bfa, #6d28d9);
  color: #fff;
}

.bo-folio-badge--award::before {
  content: '★';
  font-size: 10px;
}

.bo-folio-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
}

.bo-folio-ph span {
  font-family: var(--ff-display);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
  max-width: 16ch;
  line-height: 1.15;
}

.bo-folio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* если кейсов мало — карточки шире, без «дыр» */
.bo-folio-grid:has(> :only-child) {
  grid-template-columns: minmax(0, 1fr);
  max-width: 560px;
}

.bo-folio-grid:has(> :first-child:nth-last-child(2)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .bo-folio-grid,
  .bo-folio-grid:has(> :first-child:nth-last-child(2)) {
    grid-template-columns: 1fr;
    max-width: none;
  }
}

.bo-folio-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.bo-folio-card__media {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(145deg, #f5f3ff, #ede9fe);
  aspect-ratio: 4/3;
  margin-bottom: 16px;
  box-shadow: 0 14px 36px -18px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.bo-folio-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.2) 100%);
  pointer-events: none;
}

.bo-folio-card .bo-folio-badge {
  top: 12px;
  right: 12px;
  padding: 6px 11px;
}

.bo-folio-card__media img,
.bo-folio-card__media .bo-folio-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.bo-folio-card:hover .bo-folio-card__media img,
.bo-folio-card:hover .bo-folio-card__media .bo-folio-ph {
  transform: scale(1.04);
}

.bo-folio-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.bo-folio-card p {
  margin: 0 0 12px;
  font-size: 14px;
  color: var(--ff-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bo-tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ff-bg-2);
  font-size: 12px;
  font-weight: 500;
  color: var(--ff-muted);
  margin-right: 6px;
}

.bo-chip {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--ff-bg-2);
  font-size: 12px;
  font-weight: 500;
  color: var(--ff-muted);
  width: fit-content;
}

.bo-chip--accent {
  background: var(--ff-accent-soft);
  color: var(--ff-accent-deep);
}

/* ========== STEPS — цветные чипы как у Молнии ========== */
.bo-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

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

@media (max-width: 520px) {
  .bo-steps {
    grid-template-columns: 1fr;
  }
}

.bo-step {
  position: relative;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 32px -20px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
}

.bo-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -18px rgba(109, 40, 217, 0.24);
}

/* цветная плашка как чип у Молнии */
.bo-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
}

.bo-step--c1::before {
  background: #7c3aed;
}

.bo-step--c2::before {
  background: #8b5cf6;
}

.bo-step--c3::before {
  background: #a78bfa;
}

.bo-step--c4::before {
  background: #c4b5fd;
}

.bo-step__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 26px 0 0 24px;
  border-radius: 12px;
  background: var(--ff-accent-soft);
  color: var(--ff-accent-deep);
  font-family: var(--ff-display-mega);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.bo-step--c2 .bo-step__badge {
  background: #ede9fe;
}

.bo-step--c3 .bo-step__badge {
  background: #f3eefe;
}

.bo-step--c4 .bo-step__badge {
  background: #f5f3ff;
}

.bo-step__body {
  padding: 18px 24px 26px;
}

.bo-step__body h3 {
  margin: 0 0 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.bo-step__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ff-muted);
}

/* ========== TEAM ========== */
.bo-team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

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

@media (max-width: 520px) {
  .bo-team {
    grid-template-columns: 1fr;
  }
}

.bo-team__card {
  background: transparent;
}

.bo-team__photo {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  border-radius: 50%;
  background: var(--ff-bg);
  margin-bottom: 14px;
  box-shadow: 0 12px 28px -16px rgba(0, 0, 0, 0.25);
}

.bo-team__photo--empty {
  background: linear-gradient(145deg, #ede9fe, #c4b5fd);
}

.bo-team__meta strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
}

.bo-team__meta span {
  font-size: 13px;
  color: var(--ff-muted);
}

/* ========== GRIDS / REVIEWS / CARDS ========== */
.bo-grid {
  display: grid;
  gap: 20px;
}

.bo-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.bo-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

@media (max-width: 600px) {
  .bo-grid--3,
  .bo-grid--4,
  .bo-grid--2 {
    grid-template-columns: 1fr;
  }
  .bo-section {
    padding: var(--ff-section) 0;
  }
  .bo-section--tight-top {
    padding-top: 24px;
  }
}

.bo-review {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 36px -24px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s, box-shadow 0.18s;
}

.bo-review:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px -22px rgba(109, 40, 217, 0.2);
}

.bo-review p {
  margin: 0 0 22px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--ff-black);
  flex: 1;
}

.bo-review__stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
  align-items: center;
}

.bo-review__stars svg {
  display: block;
  flex-shrink: 0;
}

.bo-review__who {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bo-review__ava {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #6d28d9);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.bo-review strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.bo-review span {
  font-size: 12px;
  color: var(--ff-soft);
}

.bo-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  box-shadow: 0 10px 32px -20px rgba(0, 0, 0, 0.14);
  height: 100%;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

a.bo-card:hover {
  border-color: rgba(124, 58, 237, 0.35);
  box-shadow: 0 18px 44px -18px rgba(109, 40, 217, 0.28);
  transform: translateY(-3px);
}

.bo-card__title {
  margin: 0;
  font-family: var(--ff-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--ff-black);
  line-height: 1.25;
}

.bo-card__text {
  margin: 0;
  flex: 1;
  font-size: 14px;
  color: var(--ff-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bo-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ff-soft);
}

.bo-card__more {
  font-size: 13px;
  font-weight: 700;
  color: var(--ff-accent);
  margin-top: 2px;
  width: fit-content;
}

/* ========== FAQ ========== */
.bo-faq {
  display: grid;
  gap: 0;
  max-width: 880px;
  background: #fff;
  border-radius: 24px;
  padding: 8px 32px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 40px -24px rgba(0, 0, 0, 0.16);
}

.bo-faq details {
  border-bottom: 1px solid var(--ff-line);
  padding: 0;
  background: transparent;
}

.bo-faq details:last-child {
  border-bottom: 0;
}

.bo-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  letter-spacing: -0.015em;
  padding: 22px 8px 22px 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.bo-faq__ico {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  position: relative;
  border-radius: 50%;
  background: var(--ff-bg-2);
}

.bo-faq__ico::before,
.bo-faq__ico::after {
  content: '';
  position: absolute;
  background: var(--ff-black);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 1px;
}

.bo-faq__ico::before {
  width: 12px;
  height: 2px;
}

.bo-faq__ico::after {
  width: 2px;
  height: 12px;
  transition: opacity 0.15s;
}

.bo-faq details[open] .bo-faq__ico::after {
  opacity: 0;
}

.bo-faq details p {
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ff-muted);
  max-width: 60ch;
  padding-right: 36px;
}

/* ========== STATS (чёрный блок «Надёжный партнёр») ========== */
.bo-stats {
  padding: var(--ff-section) 0;
}

.bo-stats__head {
  max-width: 620px;
  margin-bottom: 56px;
}

.bo-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

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

@media (max-width: 520px) {
  .bo-stats__grid {
    grid-template-columns: 1fr;
  }
}

.bo-stat {
  padding: 34px 28px 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.bo-stat:hover {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}

.bo-stat strong {
  display: block;
  font-family: var(--ff-display-mega);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
  margin-bottom: 14px;
}

.bo-stat span {
  font-size: 14px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.6);
}

/* ========== WHY (4 карточки) ========== */
.bo-why {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  position: relative;
}

/* blur-пятно позади карточек — как у Молнии */
#why::before {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  top: 12%;
  right: -8%;
  background: rgba(124, 58, 237, 0.14);
  filter: blur(100px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.bo-why .bo-reveal-item {
  position: relative;
  z-index: 1;
}

@media (max-width: 720px) {
  .bo-why {
    grid-template-columns: 1fr;
  }
}

.bo-why__card {
  position: relative;
  padding: 38px 34px 34px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 22px;
  box-shadow: 0 14px 40px -26px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.bo-why__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #a78bfa, #6d28d9);
  transform: scaleX(0);
  transform-origin: 0 0;
  transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.bo-why__card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 22px 50px -24px rgba(109, 40, 217, 0.3);
}

.bo-why__card:hover::before {
  transform: scaleX(1);
}

.bo-why__num {
  font-family: var(--ff-display-mega);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ff-accent);
  display: block;
  margin-bottom: 20px;
}

.bo-why__card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.bo-why__card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ff-muted);
  max-width: 46ch;
}

/* стрелка в ссылках */
.bo-arrow {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}

a:hover .bo-arrow {
  transform: translateX(4px);
}

.bo-folio-card__go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ff-accent);
}

/* FAQ на тёмном */
.bo-faq--dark {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
}

.bo-faq--dark details {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.bo-faq--dark summary {
  color: #fff;
}

.bo-faq--dark details p {
  color: rgba(255, 255, 255, 0.65);
}

.bo-faq--dark .bo-faq__ico {
  background: rgba(255, 255, 255, 0.1);
}

.bo-faq--dark .bo-faq__ico::before,
.bo-faq--dark .bo-faq__ico::after {
  background: #fff;
}

/* контакт — solid violet (no muddy multi-stop gradient) */
.bo-contact {
  background: #6d28d9;
  padding: var(--ff-section) 0;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.bo-contact::before {
  content: '';
  position: absolute;
  width: 50vw;
  height: 50vw;
  max-width: 560px;
  max-height: 560px;
  top: -20%;
  right: -10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 181, 253, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.bo-contact .bo-h2 {
  color: #fff;
}

.bo-contact__mess {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.bo-contact__mess-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.2s;
}

.bo-contact__mess-btn svg {
  width: 24px;
  height: 24px;
  display: block;
}

.bo-contact__mess-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.bo-contact__mess-btn.tg {
  background: #2aabee;
}

.bo-contact__mess-btn.vk {
  background: #0077ff;
}

.bo-contact__mess-btn.wa {
  background: #25d366;
}

.bo-contact__hint {
  display: block;
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
}

/* ========== CONTACT (continue) ========== */
.bo-contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

@media (max-width: 800px) {
  .bo-contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.bo-contact__copy .bo-lead {
  margin-top: 18px;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.78) !important;
}

.bo-contact__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 32px;
}

.bo-contact__meta a {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.bo-contact__meta a:hover {
  color: #e9d5ff;
}

.bo-form {
  background: #fff;
  border-radius: 24px;
  padding: 36px 32px;
  border: 0;
  box-shadow: 0 24px 64px -20px rgba(0, 0, 0, 0.45);
  color: var(--ff-black);
}

.bo-form h3 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.bo-form__sub {
  margin: 0 0 22px;
  font-size: 13px;
  color: var(--ff-soft);
}

.bo-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .bo-form__row {
    grid-template-columns: 1fr;
  }
  .bo-form {
    padding: 24px 18px;
  }
}

/* TypeUI: inputs need fill+border contrast vs parent card */
.bo-form input,
.bo-form textarea {
  width: 100%;
  margin-bottom: 12px;
  padding: 14px 16px;
  min-height: 52px;
  border-radius: 12px;
  border: 1.5px solid #d4d4d8;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ff-ink);
  outline: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}

.bo-form input:focus,
.bo-form textarea:focus {
  border-color: var(--ff-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.16);
}

.bo-form textarea {
  min-height: 100px;
  resize: vertical;
}

.bo-form__agree {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--ff-soft);
  margin: 4px 0 16px;
  line-height: 1.4;
  cursor: pointer;
}

.bo-form__agree input {
  width: auto;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--ff-accent);
}

.bo-form__agree a {
  color: var(--ff-black);
  border-bottom: 1px solid currentColor;
  text-decoration: none;
}

.bo-form__socials {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: center;
}

.bo-form__socials a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  transition: transform 0.18s cubic-bezier(0.19, 1, 0.22, 1), box-shadow 0.18s;
}

.bo-form__socials a svg {
  width: 19px;
  height: 19px;
  display: block;
}

.bo-form__socials a:hover {
  transform: translateY(-2px) scale(1.06);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.bo-form__socials a.tg {
  background: #2aabee;
}

.bo-form__socials a.vk {
  background: #0077ff;
}

.bo-form__socials a.wa {
  background: #25d366;
}

.bo-form__socials a.max {
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.bo-form__max-txt {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* ========== CTA BAND ========== */
.bo-band {
  padding: 80px 0;
  background: var(--ff-black);
  color: #fff;
}

.bo-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.bo-band h2 {
  margin: 0;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 14ch;
}

.bo-band p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  max-width: 36ch;
}

.bo-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ========== FOOTER ========== */
.bo-foot {
  background: #0a0a0a;
  color: #c4c4cc;
  padding: 64px 0 28px;
}

.bo-foot a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  transition: color 0.12s;
}

.bo-foot a:hover {
  color: #fff;
}

.bo-foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 800px) {
  .bo-foot__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .bo-foot__grid {
    grid-template-columns: 1fr;
  }
}

.bo-foot__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
}

.bo-foot__socials {
  display: flex;
  gap: 10px;
}

.bo-foot__socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.85);
  transition: background 0.15s, transform 0.15s, color 0.15s;
}

.bo-foot__socials a svg {
  width: 17px;
  height: 17px;
  display: block;
}

.bo-foot__socials a:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  transform: translateY(-2px);
}

.bo-foot__socials a.tg:hover {
  background: #2aabee;
  border-color: #2aabee;
}

.bo-foot__socials a.vk:hover {
  background: #0077ff;
  border-color: #0077ff;
}

.bo-foot__socials a.wa:hover {
  background: #25d366;
  border-color: #25d366;
}

.bo-foot__hours {
  color: #c4c4cc;
  font-size: 12px;
}

.bo-foot__brand .bo-top__mark {
  width: 32px;
  height: 32px;
}

/* TypeUI: footer labels ≥14px (list-label role) */
.bo-foot h4 {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c4c4cc;
}

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

.bo-foot li {
  font-size: 14px;
}

.bo-foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 20px;
  font-size: 12px;
  color: #c4c4cc;
}

.bo-foot__socials {
  display: flex;
  gap: 10px;
}

.bo-foot__socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.15s, transform 0.15s;
}

.bo-foot__socials a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
}

.bo-foot__socials a.tg:hover {
  background: #2aabee;
}

.bo-foot__socials a.vk:hover {
  background: #0077ff;
}

.bo-foot__socials a.wa:hover {
  background: #25d366;
}

.bo-foot__socials svg {
  width: 18px;
  height: 18px;
  display: block;
}

.bo-foot__hours {
  color: #c4c4cc;
  font-size: 13px;
}

/* ========== INNER PAGE HERO ========== */
.bo-page-hero {
  padding: 56px 0 48px;
  background: #fff;
  border-bottom: 1px solid var(--ff-line-2);
}

.bo-page-hero .bo-h1 {
  max-width: 14ch;
}

.bo-crumbs {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--ff-soft);
}

.bo-crumbs a {
  color: var(--ff-soft);
  text-decoration: none;
}

.bo-crumbs a:hover {
  color: var(--ff-black);
}

.bo-crumbs span + span::before {
  content: '/';
  margin: 0 8px;
  opacity: 0.5;
}

.bo-two {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 860px) {
  .bo-two {
    grid-template-columns: 1fr;
  }
}

.bo-prose p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ff-muted);
}

.bo-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0;
}

.bo-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--ff-line);
  font-size: 14px;
  font-weight: 500;
}

.bo-list li::before {
  content: '→ ';
  color: var(--ff-soft);
}

.bo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ========== FLOAT MESSENGERS ========== */
.bo-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 250;
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* не перекрывать мега-вордмарк внизу hero */
}

.bo-float a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
  color: #fff;
  transition: transform 0.15s, box-shadow 0.15s;
}

.bo-float a:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.bo-float a svg {
  width: 24px;
  height: 24px;
  display: block;
}

.bo-float a.tg {
  background: #2aabee;
}

.bo-float a.vk {
  background: #0077ff;
}

.bo-float a.wa {
  background: #25d366;
}

/* case list */
.bo-case {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 20px 0;
  border-bottom: 1px solid var(--ff-line);
}

.bo-case__media {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--ff-bg-2);
}

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

.bo-case__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bo-case__stats {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.bo-case__stats strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.bo-case__stats span {
  font-size: 11px;
  color: var(--ff-soft);
}

@media (max-width: 720px) {
  .bo-case {
    grid-template-columns: 1fr;
  }
}

/* services catalog cards polish */
.bo-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

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

@media (max-width: 560px) {
  .bo-svc-grid {
    grid-template-columns: 1fr;
  }
}

.bo-svc-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: #fff;
  border: 1px solid var(--ff-line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  height: 100%;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.bo-svc-card:hover {
  border-color: rgba(124, 58, 237, 0.3);
  box-shadow: 0 16px 40px -22px rgba(109, 40, 217, 0.3);
  transform: translateY(-2px);
}

.bo-svc-card__bar {
  height: 6px;
  background: linear-gradient(90deg, #a78bfa, #6d28d9);
}

.bo-svc-card__body {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.bo-svc-card__cat {
  font-size: 11px;
  font-weight: 600;
  color: var(--ff-accent-deep);
  background: var(--ff-accent-soft);
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
}

.bo-svc-card h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.bo-svc-card p {
  margin: 0;
  font-size: 13px;
  color: var(--ff-muted);
  line-height: 1.45;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bo-svc-card__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--ff-soft);
}

.bo-svc-card__more {
  font-weight: 700;
  color: var(--ff-accent);
  font-size: 13px;
}
