/* Compact global header (~17% lighter) */
.nav-inner { height: 60px; }
.nav-logo { font-size: 1.05rem; margin-right: 40px; gap: 8px; }
.nav-logo-mark-img { width: 36px; height: 36px; }
.nav-links { gap: 30px; }
.nav-right .btn.btn-blue { padding: 10px 22px; font-size: 0.9rem; }

/* Hero headline hierarchy + model separation */
body.home-page .hero {
  background-position: center center, calc(100% + 6%) center;
}
body.home-page .hero-content {
  gap: 80px;
  grid-template-columns: 1.08fr 0.92fr;
}
body.home-page .hero-text {
  max-width: 640px;
  padding-right: 32px;
}
body.home-page .hero-title {
  font-size: clamp(2.45rem, 4.2vw, 4.15rem);
}
body.home-page .hero-title .hero-title-kicker,
body.home-page .hero-title .hero-main,
body.home-page .hero-title .hero-accent {
  display: block;
  white-space: nowrap;
}
body.home-page .hero-title .hero-title-kicker {
  font-size: 0.85em;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 0.15em;
  color: rgba(255, 255, 255, 0.62);
}
body.home-page .hero-title .hero-accent {
  position: relative;
  display: inline-block;
  width: max-content;
  max-width: none;
  padding-bottom: 0.08em;
}
body.home-page .hero-title .hero-accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange);
  border-radius: 2px;
}
@media (max-width: 1024px) {
  /* Contain overflow */
  body.home-page .hero {
    overflow-x: hidden;
    /* Darken model area: stronger left-to-right overlay so text is always legible */
    background-position: center center, 80% center;
    background-image:
      linear-gradient(90deg,
        rgba(8,18,35,1)   0%,
        rgba(8,18,35,0.97) 40%,
        rgba(8,18,35,0.88) 65%,
        rgba(8,18,35,0.70) 100%),
      url("../../hero-main.webp");
  }
  body.home-page .hero-inner,
  body.home-page .hero-content,
  body.home-page .hero-text,
  body.home-page .hero-title {
    max-width: 100%;
    min-width: 0;
  }
  body.home-page .hero-content {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
    overflow-x: hidden;
  }
  body.home-page .hero-text {
    max-width: none;
    padding-right: 0;
    text-align: left;
  }
  /* ~10% larger title on mobile vs auto clamp floor */
  body.home-page .hero-title {
    font-size: clamp(2.8rem, 8vw, 3.6rem);
  }
  body.home-page .hero-title .hero-title-kicker,
  body.home-page .hero-title .hero-main {
    white-space: normal;
    overflow-wrap: break-word;
    display: block;
  }
  /* Mobile: native underline follows wrapped text instead of a fixed ::after bar */
  body.home-page .hero-title .hero-accent {
    white-space: normal;
    overflow-wrap: break-word;
    display: inline;
    width: auto;
    max-width: 100%;
    padding-bottom: 0;
    text-decoration-line: underline;
    text-decoration-color: var(--orange);
    text-decoration-thickness: 3px;
    text-underline-offset: 0.08em;
    text-decoration-skip-ink: none;
  }
  body.home-page .hero-title .hero-accent::after {
    content: none;
  }
}

/* Как мы работаем: stable carousel controls */
body.home-page .principles-layout { align-items: stretch; }
body.home-page .principles-dark {
  height: 100%;
  min-height: 360px;
}
body.home-page .swiper-principles {
  flex: 1 1 auto;
  min-height: 0;
}
body.home-page .principles-controls {
  margin-top: auto;
  flex-shrink: 0;
}

.u-inline-2b11186ad1{margin-top: 64px;}

.u-inline-388a158257{object-position: center center}
