/* Тёплые нейтральные акценты (без агрессивного красного/оранжевого) */
:root {
  --bg: #181818;
  --bg-elevated: #191919;
  --bg-panel: #222222;
  --bg-shape: #171717;
  --border-light: #e9e9e9;
  --border-subtle: #2f2f2f;
  --text: #ffffff;
  --text-muted: #a1a1a1;
  --text-soft: #85889e;
  --accent-lavender: #8d97cc;
  --link: #8ebfb5;
  --coral: #6d9a90;
  --accent-sage: #6d9a90;
  --accent-sage-deep: #4a756d;
  --overlay-intro: #131313;
  --focus-outline: #2015ff;
  --font-display: "TildaSans", Arial, sans-serif;
  --font-body: "Manrope", Arial, sans-serif;
  --ease-belka: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 56px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.14);
  --shadow-card-hover: 0 14px 36px rgba(0, 0, 0, 0.2);
  --shadow-soft: 0 4px 14px rgba(0, 0, 0, 0.1);
  --shadow-inset-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  /* Яркие, но мягкие CTA (без градиента) */
  --btn-cta-bg: #34b89a;
  --btn-cta-bg-hover: #4ad4b6;
  --btn-cta-bg-active: #2a9d84;
  --btn-cta-text: #f6fffc;
  --btn-cta-glow: 0 4px 20px rgba(42, 170, 140, 0.45);
  --btn-cta-glow-hover: 0 10px 32px rgba(42, 170, 140, 0.55);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Скроллбар как на Belka */
body {
  overflow-x: hidden;
}

::-webkit-scrollbar {
  width: 11px;
  background-color: transparent;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(110, 154, 144, 0.75), rgba(141, 151, 204, 0.55));
  border-radius: var(--radius-pill);
  border: 3px solid transparent;
  background-clip: padding-box;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(110, 154, 144, 0.95), rgba(141, 151, 204, 0.75));
  background-clip: padding-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  font-weight: 400;
  color: var(--text-muted);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--link);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #a8d4ca;
}

.belka-root {
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}

@media (min-width: 980px) {
  .belka-root.belka-root--boot {
    opacity: 0;
  }
  .belka-root.belka-root--visible {
    opacity: 1;
  }
}

/* Интро-экран #131313, уезжает вниз как .bg-1 на Belka */
.belka-intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--overlay-intro);
  pointer-events: none;
  animation: belka-intro-slide 0.9s var(--ease-belka) 0.7s forwards;
}

.belka-intro--skip {
  animation: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(0, 100%);
}

@keyframes belka-intro-slide {
  0% {
    transform: translate(0, 0);
    opacity: 1;
  }
  100% {
    transform: translate(0, 100%);
    opacity: 1;
  }
}

.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

/* ——— Header (фикс, blur) ——— */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(24, 24, 24, 0.72);
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(233, 233, 233, 0.08);
}

.site-header .inner {
  width: min(1200px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
}

.logo-mark svg {
  width: 18px;
  height: 18px;
  color: var(--text);
  stroke: var(--text);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-desktop a {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.55;
  padding: 0.35rem 0.65rem;
  margin: 0 -0.65rem;
  border-radius: var(--radius-pill);
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.nav-desktop a:hover {
  color: var(--link);
  background-color: rgba(110, 154, 144, 0.12);
}

.nav-desktop a:focus-visible {
  outline: 2px solid var(--focus-outline);
  outline-offset: 3px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.phone-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
  white-space: nowrap;
}

.phone-link:hover {
  color: var(--link);
}

.phone-link:focus-visible {
  outline: 2px solid var(--focus-outline);
  outline-offset: 3px;
  border-radius: 2px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
  border-radius: var(--radius-pill);
  transition:
    background-color 0.22s var(--ease-soft),
    color 0.22s var(--ease-soft),
    border-color 0.22s var(--ease-soft),
    box-shadow 0.22s var(--ease-soft),
    transform 0.22s var(--ease-soft);
  text-decoration: none;
  border: 1px solid transparent;
}

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

.btn-primary {
  min-height: 44px;
  padding: 0 28px;
  color: var(--btn-cta-text);
  background-color: var(--btn-cta-bg);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow:
    var(--btn-cta-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:hover {
  background-color: var(--btn-cta-bg-hover);
  border-color: rgba(255, 255, 255, 0.32);
  color: #ffffff;
  box-shadow:
    var(--btn-cta-glow-hover),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.btn-primary:active {
  background-color: var(--btn-cta-bg-active);
  transform: translateY(0);
  box-shadow:
    0 2px 12px rgba(30, 120, 100, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.site-header .btn-primary {
  font-size: 15px;
  min-height: 44px;
  padding: 0 26px;
}

.btn-ghost {
  min-height: 44px;
  padding: 0 24px;
  color: var(--text-muted);
  border-color: var(--border-subtle);
  background: transparent;
}

.btn-ghost:hover {
  border-color: rgba(110, 154, 144, 0.45);
  color: var(--text);
  background-color: rgba(110, 154, 144, 0.08);
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(34, 34, 34, 0.85);
  color: var(--text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.menu-toggle:hover {
  border-color: rgba(110, 154, 144, 0.4);
  background: rgba(40, 40, 44, 0.95);
}

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

.menu-toggle__icon {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  transition:
    transform 0.25s var(--ease-soft),
    box-shadow 0.25s var(--ease-soft);
}

.menu-toggle.is-open .menu-toggle__icon {
  transform: rotate(45deg);
  box-shadow: none;
}

.menu-toggle.is-open::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  margin: -1px 0 0 -9px;
  background: currentColor;
  border-radius: 1px;
  transform: rotate(-45deg);
  pointer-events: none;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--overlay-intro);
  padding: 1.35rem 1.25rem 2rem;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 199;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  padding: 1.05rem 1.35rem;
  border-radius: var(--radius-md);
  color: var(--text);
  background: var(--bg-panel);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  border: 1px solid var(--border-subtle);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.nav-mobile a:hover {
  border-color: rgba(110, 154, 144, 0.35);
  background: rgba(110, 154, 144, 0.08);
}

.nav-mobile a:focus-visible {
  outline: 2px solid var(--focus-outline);
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .header-actions .btn-primary {
    display: none;
  }
}

main {
  padding-top: var(--header-h);
}

/* ——— Hero: ровно высота экрана (первый экран), контент под фикс-шапкой ——— */
.hero-belka {
  position: relative;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
  box-sizing: border-box;
  background-color: var(--bg);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  padding-bottom: 0;
}

/* Перебить общий `section { padding }`, сохранить отступ под фикс-шапку */
section.hero-belka {
  padding-top: var(--header-h);
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
}

.hero-belka__deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-belka__blur {
  position: absolute;
  width: min(667px, 90vw);
  height: min(667px, 90vw);
  left: max(-12rem, -18vw);
  top: -3rem;
  border-radius: 50%;
  background: url("https://static.tildacdn.com/tild6237-3865-4566-a232-316430353231/blur-60.jpg") center / cover no-repeat;
  opacity: 0.9;
  animation: belka-blur-pulse 10s ease-in-out infinite;
}

@keyframes belka-blur-pulse {
  0%,
  100% {
    opacity: 0.85;
    transform: rotate(0deg) scale(1);
  }
  50% {
    opacity: 0.55;
    transform: rotate(-3deg) scale(1.02);
  }
}

.hero-belka__panel {
  position: absolute;
  border-radius: var(--radius-lg);
}

.hero-belka__panel--solid {
  right: max(-4rem, -8vw);
  top: -5rem;
  width: min(634px, 55vw);
  height: min(568px, 70vh);
  background: var(--bg);
}

.hero-belka__panel--grad {
  right: max(-2rem, -5vw);
  top: -5rem;
  width: min(634px, 52vw);
  height: min(568px, 68vh);
  background-image: linear-gradient(0deg, rgba(24, 24, 24, 1) 0%, rgba(24, 24, 24, 0.08) 100%);
}

@media (min-width: 901px) {
  .hero-belka__panel--solid,
  .hero-belka__panel--grad {
    opacity: 0;
    visibility: hidden;
  }
}

.hero-belka__content {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  padding: clamp(0.5rem, 2vh, 1.25rem) 0 0;
  max-width: none;
}

.hero-belka__top {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 1.08fr);
  gap: clamp(1rem, 3vw, 2.75rem);
  align-items: center;
  justify-items: stretch;
}

@media (min-width: 901px) {
  .hero-belka__top {
    flex: 1 1 auto;
    min-height: 0;
  }
}

.hero-belka__text {
  justify-self: start;
  max-width: 34rem;
  padding-right: 0.5rem;
  min-width: 0;
  /* Стабильная шкала без «плывущего» текста на средних ширинах */
  --hero-fs: clamp(1.45rem, 2.8vw + 0.85rem, 3.65rem);
}

.hero-belka__text .hero-belka__title .hero-line {
  font-size: var(--hero-fs);
}

.hero-belka__photo {
  justify-self: end;
  width: 100%;
  max-width: min(680px, 54vw);
}

.hero-belka__photo-frame {
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: none;
  overflow: hidden;
  line-height: 0;
  /* Мягкое «размытие» краёв: маска с плавным затуханием в фон hero (#181818) */
  -webkit-mask-image: radial-gradient(
    ellipse 70% 76% at 56% 48%,
    #000 0%,
    #000 38%,
    rgba(0, 0, 0, 0.72) 58%,
    rgba(0, 0, 0, 0.28) 78%,
    transparent 100%
  );
  mask-image: radial-gradient(
    ellipse 70% 76% at 56% 48%,
    #000 0%,
    #000 38%,
    rgba(0, 0, 0, 0.72) 58%,
    rgba(0, 0, 0, 0.28) 78%,
    transparent 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-mode: alpha;
  mask-mode: alpha;
}

/* Портрет на тёмном фоне — без multiply, стык с #181818 */
.hero-belka__photo-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(86dvh, 820px);
  margin-left: auto;
  object-fit: contain;
  object-position: right center;
  vertical-align: middle;
}

@media (min-width: 901px) {
  .hero-belka__photo-frame img {
    max-height: min(calc(100dvh - var(--header-h) - 0.5rem), 920px);
  }
}

.hero-follow {
  background-color: var(--bg);
  border-top: 1px solid var(--border-subtle);
}

section.hero-follow {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.hero-follow .hero-belka__below {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.hero-follow__phone {
  margin: 1.5rem 0 0;
}

.hero-belka__kicker {
  margin: 0 0 2.5rem;
  max-width: 22rem;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.59;
  font-weight: 400;
  color: var(--text);
  opacity: 0;
  animation: belka-fadeindown 1.5s ease-out 0.6s forwards;
}

@keyframes belka-fadeindown {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-belka__title {
  margin: 0 0 2.5rem;
  padding: 0;
  list-style: none;
}

.hero-belka__title .hero-line {
  display: block;
  font-family: var(--font-body);
  font-size: var(--hero-fs);
  line-height: 1.12;
  font-weight: 400;
  letter-spacing: -0.03em;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: normal;
  opacity: 0;
  animation: belka-fadeinup 1.5s var(--ease-soft) forwards;
}

.hero-belka__title .hero-line:nth-child(1) {
  animation-delay: 0s;
}

.hero-belka__title .hero-line:nth-child(2) {
  line-height: 1.12;
  animation-delay: 0.1s;
}

.hero-belka__title .hero-line:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes belka-fadeinup {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-belka__cta {
  opacity: 0;
  animation: belka-fadeindown 1s ease-out 0.8s forwards;
}

.hero-belka__cta .btn-primary {
  min-width: 160px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  color: var(--text);
  border: 1px solid var(--border-light);
  background: linear-gradient(0deg, rgba(23, 23, 23, 0.2) 0%, rgba(23, 23, 23, 0.2) 100%);
  -webkit-backdrop-filter: blur(25px);
  backdrop-filter: blur(25px);
  transition: background-color 0.2s, border-color 0.2s;
}

.tag:hover {
  background-color: rgba(110, 154, 144, 0.22);
  border-color: rgba(142, 191, 181, 0.55);
}

.hero-lead {
  font-size: 16px;
  line-height: 1.68;
  color: var(--text-muted);
  max-width: 58ch;
  margin: 0 0 1.5rem;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}

.stat-value {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 500;
  color: var(--accent-lavender);
  line-height: 1.2;
}

.stat-label {
  font-size: 13px;
  color: var(--text-soft);
  margin-top: 0.35rem;
  line-height: 1.55;
}

/* ——— Секции ——— */
section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-kicker {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(141, 151, 204, 0.95);
  margin-bottom: 0.65rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--text);
  line-height: 1.22;
}

.section-desc {
  color: var(--text-muted);
  max-width: 62ch;
  margin: 0;
  font-weight: 400;
  line-height: 1.68;
}

/* Короткий факт/цифра под заголовком секции (п. H) */
.section-fact {
  display: block;
  margin: 0.35rem 0 0;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
  color: var(--link);
  letter-spacing: -0.01em;
}

.section-band--light .section-fact {
  color: #3d7568;
}

.section-band--dark .section-fact {
  color: #9ed4c4;
}

.cta-block .section-fact {
  margin-bottom: 0.65rem;
}

/* ——— Блок «Почему обращаются к нам» ——— */
.section-advantages {
  position: relative;
  background: linear-gradient(165deg, #171719 0%, var(--bg) 22%, var(--bg) 78%, #171719 100%);
}

.section-advantages::before {
  content: "";
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(233, 233, 233, 0.18), transparent);
  pointer-events: none;
}

section.section-advantages {
  padding-top: clamp(4.25rem, 10vw, 6.75rem);
  padding-bottom: clamp(4.25rem, 10vw, 6.75rem);
}

.section-advantages__head {
  margin-bottom: 0;
}

.section-advantages__kicker {
  margin-bottom: 1rem;
}

.section-advantages__head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: start;
  padding-bottom: clamp(2rem, 5vw, 2.75rem);
  margin-bottom: clamp(2rem, 5vw, 3rem);
  border-bottom: 1px solid rgba(47, 47, 47, 0.85);
}

.section-advantages__title {
  font-size: clamp(1.65rem, 3.6vw, 2.75rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.03em;
  max-width: 17ch;
  margin: 0;
}

.section-advantages__intro {
  margin: 0;
  max-width: none;
  font-size: 17px;
  line-height: 1.65;
  padding-left: 1.35rem;
  border-left: 3px solid var(--coral);
  align-self: stretch;
  opacity: 0.98;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.2vw, 1.35rem);
}

@media (max-width: 960px) {
  .advantages-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-inline: auto;
  }
}

@media (max-width: 800px) {
  .section-advantages__head-grid {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .section-advantages__title {
    max-width: none;
  }

  .section-advantages__intro {
    border-left-width: 2px;
    padding-left: 1.1rem;
  }
}

.advantage-card {
  position: relative;
  padding: 2rem 1.35rem 1.85rem 1.5rem;
  min-height: 100%;
  background: linear-gradient(155deg, #2a2a2e 0%, #1f1f22 45%, #232326 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: transform 0.4s var(--ease-soft), border-color 0.28s, box-shadow 0.4s var(--ease-soft);
}

.advantage-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-sage), var(--accent-sage-deep) 40%, var(--accent-lavender));
  opacity: 0;
  transition: opacity 0.28s ease;
}

.advantage-card:hover {
  transform: translateY(-4px);
  border-color: rgba(141, 151, 204, 0.38);
  box-shadow: var(--shadow-card-hover);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-card__num {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(2.9rem, 7vw, 4rem);
  line-height: 1;
  letter-spacing: -0.06em;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
  user-select: none;
}

.advantage-card__row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.05rem;
  padding-right: 3.25rem;
}

.advantage-card__icon {
  flex-shrink: 0;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: rgba(110, 154, 144, 0.12);
  border: 1px solid rgba(110, 154, 144, 0.4);
  color: var(--accent-sage);
  box-shadow: var(--shadow-inset-highlight);
}

.advantage-card__icon svg {
  width: 25px;
  height: 25px;
}

.advantage-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.28;
  margin: 0;
  padding-top: 0.4rem;
  color: var(--text);
  letter-spacing: -0.02em;
}

.advantage-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
  color: var(--text-muted);
}

@media (prefers-reduced-motion: reduce) {
  .advantage-card {
    transition: border-color 0.2s, box-shadow 0.2s;
  }

  .advantage-card:hover {
    transform: none;
  }
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.22s ease;
}

.card:hover {
  border-color: rgba(141, 151, 204, 0.35);
  box-shadow: var(--shadow-card);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--accent-lavender);
}

.card-icon svg {
  width: 22px;
  height: 22px;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--text);
}

.card p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.68;
}

/* ——— Страница отзывов: «живые» карточки ——— */
.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  max-width: 720px;
  margin: 0 auto;
}

.review-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem 1.35rem;
  transition:
    border-color 0.2s ease,
    box-shadow 0.22s ease;
}

.review-card:hover {
  border-color: rgba(141, 151, 204, 0.28);
  box-shadow: var(--shadow-card);
}

.review-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 0.35rem;
}

.review-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text);
}

.review-stars {
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: #e8b339;
  line-height: 1;
  user-select: none;
}

.review-star--muted {
  color: var(--text-muted);
  opacity: 0.45;
}

.review-meta {
  margin: 0 0 0.75rem;
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.review-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.58;
  color: var(--text);
  font-family: var(--font-body);
}

@media (min-width: 960px) {
  .reviews-list {
    max-width: 640px;
  }
}

.situations {
  background: linear-gradient(180deg, var(--bg) 0%, #1a1a1a 32%, #1b1b1e 68%, var(--bg) 100%);
}

.situation-widget {
  margin-top: 0.35rem;
}

.situation-tabs-label {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.situation-tabs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.15rem 0.1rem 0.85rem;
  margin: 0 -0.25rem;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.situation-tabs::-webkit-scrollbar {
  height: 5px;
}

.situation-tabs::-webkit-scrollbar-thumb {
  background: rgba(141, 151, 204, 0.35);
  border-radius: 6px;
}

.situation-tab {
  flex: 0 0 auto;
  min-width: max-content;
  scroll-snap-align: start;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.75rem 0.85rem 0.82rem;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--text-muted);
  background: linear-gradient(155deg, #252528 0%, #1c1c1f 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition:
    border-color 0.25s ease,
    box-shadow 0.28s var(--ease-soft),
    color 0.2s ease,
    transform 0.28s var(--ease-soft);
}

.situation-tab:hover {
  color: var(--text);
  border-color: rgba(141, 151, 204, 0.38);
}

.situation-tab.is-active {
  color: var(--text);
  border-color: rgba(110, 154, 144, 0.5);
  box-shadow:
    0 0 0 1px rgba(110, 154, 144, 0.12),
    var(--shadow-card);
  background: linear-gradient(155deg, #2f2f34 0%, #222225 100%);
}

.situation-tab:focus-visible {
  outline: 2px solid var(--focus-outline);
  outline-offset: 2px;
}

.situation-tab__num {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: rgba(245, 250, 248, 0.88);
  background: linear-gradient(145deg, #4d5452 0%, #3a4040 45%, #2c3030 100%);
  padding: 0.3rem 0.48rem;
  border-radius: var(--radius-sm);
  line-height: 1.15;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft), var(--shadow-inset-highlight);
}

.situation-tab.is-active .situation-tab__num {
  color: #f4faf8;
  background: linear-gradient(145deg, #6eb3a3 0%, #4a8578 48%, #2f5c52 100%);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 4px 16px rgba(45, 92, 82, 0.35),
    var(--shadow-inset-highlight);
}

.situation-tab__title {
  font-family: var(--font-display);
  font-size: clamp(0.72rem, 1.05vw, 0.84rem);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

.situation-tab--animate {
  opacity: 0;
  transform: translateY(12px);
}

.situation-tab--animate.is-visible {
  animation: belka-fadeinup 0.6s var(--ease-soft) forwards;
}

.situation-panels {
  margin-top: 0.1rem;
}

.situation-panel.is-active {
  animation: situation-panel-reveal 0.42s var(--ease-soft) both;
}

@keyframes situation-panel-reveal {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Широкий экран: все 8 кнопок в одну линию без скролла, текст может переноситься */
@media (min-width: 1320px) {
  .situation-tabs {
    overflow-x: visible;
    flex-wrap: nowrap;
    justify-content: stretch;
    gap: 0.5rem;
    padding-bottom: 1rem;
  }

  .situation-tab {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    align-items: center;
    text-align: center;
    padding: 0.78rem 0.5rem 0.85rem;
  }

  .situation-tab__title {
    white-space: normal;
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.22;
  }
}

@media (max-width: 520px) {
  .situation-tab {
    padding: 0.68rem 0.7rem 0.76rem;
  }

  .situation-tab__title {
    font-size: 0.7rem;
  }

  .situation-tabs-label {
    font-size: 0.78rem;
  }
}

/* Внутренние страницы: простой список карточек (кейсы и т.п.) */
.situation-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.situation-list > .situation-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.5rem;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  transition: border-color 0.2s;
}

.situation-list > .situation-item:hover {
  border-color: rgba(233, 233, 233, 0.15);
}

.situation-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  background: var(--coral);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
}

.situation-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(152deg, #2a2a2e 0%, #1f1f22 42%, #232326 100%);
  border: 1px solid var(--border-subtle);
  transition:
    border-color 0.3s var(--ease-soft),
    box-shadow 0.35s var(--ease-soft),
    transform 0.35s var(--ease-soft);
}

.situation-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent-sage), var(--accent-sage-deep) 45%, var(--accent-lavender));
  opacity: 0.55;
  transition: opacity 0.25s ease;
}

.situations .situation-card:hover {
  border-color: rgba(141, 151, 204, 0.4);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.situations .situation-card:hover::before {
  opacity: 1;
}

.situation-card__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.5rem;
  padding: 1.75rem 1.5rem 1.5rem;
  align-items: start;
  border-bottom: 1px solid rgba(47, 47, 47, 0.85);
}

.situation-card__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #f4faf8;
  background: linear-gradient(145deg, #6da89a 0%, #4a756d 50%, #2f4d44 100%);
  width: 2.65rem;
  height: 2.65rem;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 6px 18px rgba(38, 77, 68, 0.28),
    var(--shadow-inset-highlight);
  flex-shrink: 0;
}

.situation-card__case {
  min-width: 0;
}

/* Иконки kickers: mask + цвет в палитре sage / lavender / teal */
.situation-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9ed4c4;
}

.situation-kicker::before {
  content: "";
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  background-color: #6d9a90;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm0 1.8L18.2 8H14V3.8zM6 20V4h7v5h5v11H6z'/%3E%3C/svg%3E");
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8l-6-6zm0 1.8L18.2 8H14V3.8zM6 20V4h7v5h5v11H6z'/%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.situation-kicker--risk {
  color: #c4caea;
}

.situation-kicker--risk::before {
  background-color: #9aa6e0;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 2L1 21h22L12 2zm0 3.5L18.2 18H5.8L12 5.5zM11 10h2v4h-2v-4zm0 5h2v2h-2v-2z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 2L1 21h22L12 2zm0 3.5L18.2 18H5.8L12 5.5zM11 10h2v4h-2v-4zm0 5h2v2h-2v-2z'/%3E%3C/svg%3E");
}

.situation-kicker--solve {
  color: #a8e6d8;
}

.situation-kicker--solve::before {
  background-color: #8ebfb5;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.2 16.6 4.8 12.2l1.4-1.4 3 3 7.6-7.6 1.4 1.4-9 9.1z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9.2 16.6 4.8 12.2l1.4-1.4 3 3 7.6-7.6 1.4 1.4-9 9.1z'/%3E%3C/svg%3E");
}

.situation-card__case h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.12rem, 2.1vw, 1.34rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.25;
}

.situation-lead {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.52;
  color: var(--text);
  font-weight: 500;
}

.situation-body p,
.situation-solve p {
  margin: 0 0 0.75rem;
  font-size: 15px;
  line-height: 1.68;
  color: var(--text-muted);
}

.situation-body p:last-child,
.situation-solve p:last-child {
  margin-bottom: 0;
}

.situation-card__split {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 0;
}

.situation-risks {
  padding: 1.35rem 1.5rem 1.5rem;
  background: rgba(0, 0, 0, 0.22);
  border-right: 1px solid rgba(47, 47, 47, 0.9);
}

.situation-solve {
  padding: 1.35rem 1.5rem 1.5rem;
  background: linear-gradient(145deg, rgba(141, 151, 204, 0.09) 0%, rgba(28, 28, 31, 0.92) 52%);
}

.situation-risk-list {
  margin: 0.55rem 0 0;
  padding: 0;
  list-style: none;
}

.situation-risk-list li {
  position: relative;
  margin-bottom: 0.55rem;
  padding-left: 1.05rem;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(200, 212, 206, 0.96);
}

.situation-risk-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(145deg, #7db5a8, #4a756d);
  box-shadow:
    0 0 0 2px rgba(110, 154, 144, 0.35),
    0 0 10px rgba(110, 154, 144, 0.25);
}

.situation-risk-list li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .situation-card__head {
    grid-template-columns: 1fr;
    padding-top: 1.5rem;
  }

  .situation-card__num {
    justify-self: start;
  }

  .situation-card__split {
    grid-template-columns: 1fr;
  }

  .situation-risks {
    border-right: none;
    border-bottom: 1px solid rgba(47, 47, 47, 0.9);
  }
}

@media (prefers-reduced-motion: reduce) {
  .situations .situation-card:hover {
    transform: none;
  }

  .situation-panel.is-active {
    animation: none;
  }

  .situation-tab--animate.is-visible {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Блок «Как проходит работа»: таймлайн + песочные часы справа (либо сверху на мобиле) */
.section-process {
  position: relative;
  padding-block: clamp(2.5rem, 5.5vw, 4.25rem);
  background: linear-gradient(180deg, var(--bg) 0%, #151516 38%, #1a1a1d 72%, var(--bg) 100%);
  overflow: hidden;
}

.section-process::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 75% 60% at 88% 42%, rgba(110, 154, 144, 0.12), transparent 58%);
  pointer-events: none;
}

.section-process .container {
  position: relative;
  z-index: 1;
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(240px, 0.48fr);
  gap: clamp(1.75rem, 4vw, 3.75rem);
  align-items: start;
}

.process-main {
  min-width: 0;
}

.section-process__head {
  margin-bottom: clamp(1.35rem, 3vw, 2rem);
}

.process-visual {
  position: relative;
  margin: 0;
  padding: 0.35rem;
}

.process-visual__glow {
  position: absolute;
  width: 78%;
  height: 55%;
  right: 2%;
  top: 22%;
  background: radial-gradient(circle, rgba(110, 154, 144, 0.28), rgba(141, 151, 204, 0.12) 45%, transparent 72%);
  filter: blur(48px);
  opacity: 0.9;
  z-index: 0;
  pointer-events: none;
}

.process-visual__frame {
  position: relative;
  z-index: 1;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(110, 154, 144, 0.28);
  box-shadow:
    var(--shadow-card-hover),
    var(--shadow-inset-highlight);
  background: linear-gradient(160deg, #26262b 0%, #121214 100%);
}

.process-visual__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transform: scale(1.03);
  transform-origin: center center;
}

.process-visual__tag {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(168, 210, 198, 0.92);
}

@media (min-width: 901px) {
  .process-visual {
    position: sticky;
    top: calc(var(--header-h) + 1.25rem);
  }
}

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

  .process-visual {
    order: -1;
    max-width: min(300px, 88vw);
    margin-inline: auto;
    padding-top: 0;
  }

  .process-visual__tag {
    margin-top: 0.85rem;
  }
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.process-steps::before {
  content: "";
  position: absolute;
  left: 1.2rem;
  top: 2.85rem;
  bottom: 2.85rem;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(110, 154, 144, 0.55),
    rgba(141, 151, 204, 0.35) 52%,
    rgba(110, 154, 144, 0.1)
  );
  border-radius: 2px;
}

.process-step {
  position: relative;
  margin-bottom: 0.85rem;
  padding: 1.35rem 1.4rem 1.4rem 3.65rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(142deg, rgba(38, 38, 42, 0.95) 0%, rgba(24, 24, 27, 0.98) 100%);
  transition:
    border-color 0.28s ease,
    box-shadow 0.32s var(--ease-soft);
}

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

/* Иконки шагов на месте бывших бейджей 01–04 (тот же размер и позиция) */
.process-step::before {
  content: "";
  position: absolute;
  left: 0.52rem;
  top: 1.2rem;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 4px 14px rgba(42, 85, 74, 0.32),
    var(--shadow-inset-highlight);
  z-index: 1;
  background-color: #6d9a90;
  mask-size: 55%;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: 55%;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.process-step:nth-child(1)::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M20 15.5c-1.2 0-2.4-.2-3.6-.6-.3-.1-.7 0-1 .2l-2.2 2.2c-2.8-1.4-5.1-3.8-6.6-6.6l2.2-2.2c.3-.3.4-.7.2-1-.3-1.2-.5-2.4-.5-3.6 0-.6-.5-1-1-1H4c-.6 0-1 .5-1 1 0 9.4 7.6 17 17 17 .6 0 1-.4 1-1v-3.5c0-.5-.4-1-1-1z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M20 15.5c-1.2 0-2.4-.2-3.6-.6-.3-.1-.7 0-1 .2l-2.2 2.2c-2.8-1.4-5.1-3.8-6.6-6.6l2.2-2.2c.3-.3.4-.7.2-1-.3-1.2-.5-2.4-.5-3.6 0-.6-.5-1-1-1H4c-.6 0-1 .5-1 1 0 9.4 7.6 17 17 17 .6 0 1-.4 1-1v-3.5c0-.5-.4-1-1-1z'/%3E%3C/svg%3E");
}

.process-step:nth-child(2)::before {
  background-color: #8d97cc;
  box-shadow:
    0 4px 14px rgba(70, 78, 130, 0.3),
    var(--shadow-inset-highlight);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' fill-rule='evenodd' d='M10.5 3.75a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM2.25 10.5a8.25 8.25 0 1 1 14.59 5.28l4.69 4.69a.75.75 0 1 1-1.06 1.06l-4.69-4.69A8.25 8.25 0 0 1 2.25 10.5Z' clip-rule='evenodd'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' fill-rule='evenodd' d='M10.5 3.75a6.75 6.75 0 1 0 0 13.5 6.75 6.75 0 0 0 0-13.5ZM2.25 10.5a8.25 8.25 0 1 1 14.59 5.28l4.69 4.69a.75.75 0 1 1-1.06 1.06l-4.69-4.69A8.25 8.25 0 0 1 2.25 10.5Z' clip-rule='evenodd'/%3E%3C/svg%3E");
}

.process-step:nth-child(3)::before {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M19 3h-4.2c-.4-1.2-1.5-2-2.8-2s-2.4.8-2.8 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1zm7 16H5V5h2v2h10V5h2v14z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M19 3h-4.2c-.4-1.2-1.5-2-2.8-2s-2.4.8-2.8 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1zm7 16H5V5h2v2h10V5h2v14z'/%3E%3C/svg%3E");
}

.process-step:nth-child(4)::before {
  background-color: #8d97cc;
  box-shadow:
    0 4px 14px rgba(70, 78, 130, 0.3),
    var(--shadow-inset-highlight);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z'/%3E%3C/svg%3E");
}

.process-step:hover {
  border-color: rgba(110, 154, 144, 0.42);
  box-shadow: var(--shadow-card-hover);
}

.process-step h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.process-step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
  color: var(--text-muted);
}

@media (max-width: 520px) {
  .process-steps::before {
    left: 1rem;
    top: 2.5rem;
    bottom: 2.5rem;
  }

  .process-step {
    padding-left: 3.25rem;
    padding-top: 1.2rem;
  }

  .process-step::before {
    left: 0.38rem;
    top: 1.05rem;
    width: 2.15rem;
    height: 2.15rem;
    mask-size: 56%;
    -webkit-mask-size: 56%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .process-step {
    transition: border-color 0.2s;
  }

  .process-step:hover {
    box-shadow: none;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

details.faq-item {
  border: 1px solid var(--border-subtle);
  background: var(--bg-panel);
  overflow: hidden;
  border-radius: var(--radius-md);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

details.faq-item:hover {
  border-color: rgba(141, 151, 204, 0.28);
}

details.faq-item[open] {
  border-color: rgba(110, 154, 144, 0.35);
  box-shadow: var(--shadow-card);
}

details.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background-color 0.22s ease;
}

details.faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

details.faq-item[open] summary {
  background-color: rgba(110, 154, 144, 0.06);
}

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

details.faq-item summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--accent-lavender);
  border-bottom: 2px solid var(--accent-lavender);
  transform: rotate(45deg);
  transition: transform 0.3s var(--ease-soft);
  flex-shrink: 0;
}

details.faq-item[open] summary::after {
  transform: rotate(-135deg);
}

details.faq-item .faq-body {
  padding: 0 1.25rem 1.15rem;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.68;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  transition: opacity 0.25s ease;
}

.cta-block {
  border: 1px solid var(--border-subtle);
  background: var(--bg-panel);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: clamp(2rem, 5vw, 3rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

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

.cta-block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  margin: 0 0 1rem;
  color: var(--text);
}

.cta-block .lead {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 58ch;
  line-height: 1.68;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-grid label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-display);
  color: var(--text-soft);
  margin-bottom: 0.35rem;
}

.form-grid input:not([type="checkbox"]):not([type="radio"]),
.form-grid textarea {
  width: 100%;
  padding: 0.88rem 1.05rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 100%), var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.12);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background-color 0.22s ease;
}

.form-grid input:not([type="checkbox"]):not([type="radio"]):focus,
.form-grid textarea:focus {
  outline: none;
  border-color: rgba(110, 154, 144, 0.55);
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.1),
    0 0 0 3px rgba(110, 154, 144, 0.22),
    0 0 0 1px rgba(141, 151, 204, 0.35);
}

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

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.45;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.2rem;
}

.checkbox-row label a {
  color: var(--accent-lavender);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.checkbox-row label a:hover {
  color: var(--accent-sage);
}

.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 2rem;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer h4 {
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-soft);
  margin: 0 0 1rem;
}

.site-footer p,
.site-footer a {
  font-size: 14px;
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--link);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 13px;
  color: var(--text-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.text-accent {
  color: var(--accent-lavender);
}

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

@media (max-width: 900px) {
  .hero-belka {
    height: auto;
    min-height: 100svh;
    min-height: 100dvh;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .hero-belka__content {
    justify-content: flex-start;
    padding-top: clamp(1rem, 4vh, 2rem);
    padding-bottom: 1.5rem;
  }

  .hero-belka__top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .hero-belka__text {
    max-width: none;
    order: 1;
    padding-right: 0;
    --hero-fs: clamp(1.35rem, 5.5vw + 0.45rem, 2.05rem);
  }

  .hero-belka__photo {
    order: 2;
    justify-self: center;
    max-width: min(520px, 92vw);
    display: block;
    align-self: center;
  }

  .hero-belka__photo-frame {
    -webkit-mask-image: radial-gradient(
      ellipse 78% 80% at 50% 48%,
      #000 0%,
      #000 36%,
      rgba(0, 0, 0, 0.7) 56%,
      rgba(0, 0, 0, 0.25) 76%,
      transparent 100%
    );
    mask-image: radial-gradient(
      ellipse 78% 80% at 50% 48%,
      #000 0%,
      #000 36%,
      rgba(0, 0, 0, 0.7) 56%,
      rgba(0, 0, 0, 0.25) 76%,
      transparent 100%
    );
  }

  .hero-belka__photo-frame img {
    max-height: min(52dvh, 480px);
    margin-left: auto;
    margin-right: auto;
    object-position: center center;
  }

  .hero-belka__panel--solid,
  .hero-belka__panel--grad {
    opacity: 0.35;
    visibility: visible;
  }
}

@media (max-width: 420px) {
  .hero-belka__text {
    --hero-fs: clamp(1.28rem, 6.2vw + 0.35rem, 1.72rem);
  }
}

/* ——— Кнопки: и <a>, и <button> ——— */
button.btn {
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* ——— Чередование светлых / тёмных полос ——— */
.section-band--dark {
  color: var(--text-muted);
}

/* Тёмная полоса под формой заявки (без перебивания градиента у .section-process) */
section#zayavka.section-band--dark {
  background-color: var(--bg);
}

.section-band--light {
  background: linear-gradient(180deg, #f4f7f5 0%, #eef2f0 28%, #eef2f0 100%);
  color: #3d4745;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.section-band--light .section-kicker {
  color: #4d6a62;
  letter-spacing: 0.1em;
}

.section-band--light .section-title {
  color: #121816;
}

.section-band--light .section-desc {
  color: #4a5553;
}

.section-advantages.section-band--light {
  background: #eef2f0;
}

.section-advantages.section-band--light::before {
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.06), transparent);
}

.section-advantages.section-band--light .section-advantages__head-grid {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.section-advantages.section-band--light .section-advantages__intro {
  border-left-color: #6d9086;
  color: #3d4544;
}

.section-advantages.section-band--light .advantage-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--shadow-soft);
}

.section-advantages.section-band--light .advantage-card:hover {
  border-color: rgba(110, 154, 144, 0.35);
  box-shadow: var(--shadow-card-hover);
}

.section-advantages.section-band--light .advantage-card__title {
  color: #121816;
}

.section-advantages.section-band--light .advantage-card__text {
  color: #4a5553;
}

.section-advantages.section-band--light .advantage-card__num {
  color: rgba(0, 0, 0, 0.06);
}

.section-advantages.section-band--light .advantage-card__icon {
  background: rgba(110, 154, 144, 0.12);
  border-color: rgba(110, 154, 144, 0.35);
  color: #4d756d;
}

.section-advantages.section-band--light .advantage-card::before {
  background: linear-gradient(180deg, #6d9086, #5a7a72 40%, var(--accent-lavender));
}

/* Светлая полоса: типовые ситуации */
.situations.section-band--light {
  background: #eef2f0;
}

.situations.section-band--light .situation-tabs-label {
  color: #5a665f;
}

.situations.section-band--light .situation-tab {
  color: #4a5553;
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
}

.situations.section-band--light .situation-tab:hover {
  color: #121816;
  border-color: rgba(110, 154, 144, 0.45);
}

.situations.section-band--light .situation-tab.is-active {
  color: #121816;
  background: #f7faf9;
  border-color: rgba(110, 154, 144, 0.5);
  box-shadow:
    0 0 0 1px rgba(110, 154, 144, 0.1),
    var(--shadow-card);
}

.situations.section-band--light .situation-card {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.1);
}

.situations.section-band--light .situation-card::before {
  opacity: 0.35;
}

.situations.section-band--light .situation-card__head {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.situations.section-band--light .situation-card__case h3,
.situations.section-band--light .situation-lead {
  color: #121816;
}

.situations.section-band--light .situation-body p,
.situations.section-band--light .situation-solve p {
  color: #4a5553;
}

.situations.section-band--light .situation-kicker {
  color: #3d7568;
}

.situations.section-band--light .situation-kicker::before {
  background-color: #4d8578;
}

.situations.section-band--light .situation-kicker--risk {
  color: #5a6499;
}

.situations.section-band--light .situation-kicker--risk::before {
  background-color: #6f78b5;
}

.situations.section-band--light .situation-kicker--solve {
  color: #2f6b5e;
}

.situations.section-band--light .situation-kicker--solve::before {
  background-color: #3d8a78;
}

.situations.section-band--light .situation-risks {
  background: rgba(0, 0, 0, 0.04);
  border-right-color: rgba(0, 0, 0, 0.08);
}

.situations.section-band--light .situation-solve {
  background: linear-gradient(145deg, rgba(110, 154, 144, 0.1) 0%, rgba(255, 255, 255, 0.95) 55%);
}

.situations.section-band--light .situation-risk-list li {
  color: #4a5553;
}

.situations.section-band--light .situation-risk-list li::before {
  background: linear-gradient(145deg, #6d9a90, #4a756d);
  box-shadow:
    0 0 0 2px rgba(110, 154, 144, 0.4),
    0 0 12px rgba(110, 154, 144, 0.2);
}

.situations.section-band--light .situation-card:hover {
  box-shadow: var(--shadow-card);
}

/* Светлая полоса: нейтральный бейдж + акцент только у активной вкладки */
.situations.section-band--light .situation-tab__num {
  color: rgba(45, 58, 54, 0.92);
  background: linear-gradient(145deg, #eef2f0 0%, #dce4df 100%);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.situations.section-band--light .situation-tab.is-active .situation-tab__num {
  color: #f4faf8;
  background: linear-gradient(145deg, #6eb3a3 0%, #458a7c 50%, #2f6658 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow:
    0 4px 14px rgba(45, 102, 88, 0.3),
    var(--shadow-inset-highlight);
}

.situations.section-band--light .situation-card__num {
  box-shadow:
    0 6px 16px rgba(45, 92, 82, 0.22),
    var(--shadow-inset-highlight);
}

/* FAQ на светлой полосе */
.section-band--light details.faq-item {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.section-band--light details.faq-item summary {
  color: #121816;
}

.section-band--light details.faq-item .faq-body {
  color: #4a5553;
}

/* Компактная форма (имя + телефон) */
.form-grid.form-grid--compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 360px;
}

@media (min-width: 520px) {
  .form-grid.form-grid--compact {
    grid-template-columns: 1fr 1fr;
    max-width: 520px;
  }

  .form-grid.form-grid--compact .checkbox-row,
  .form-grid.form-grid--compact > .btn.btn-primary,
  .form-grid.form-grid--compact button.btn-primary {
    grid-column: 1 / -1;
  }
}

/* ——— Модальное окно заявки ——— */
.lead-modal {
  width: min(100vw - 2rem, 420px);
  max-height: min(90dvh, 640px);
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--bg-panel);
  color: var(--text);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04);
}

.lead-modal::backdrop {
  background: rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.lead-modal__inner {
  padding: 1.5rem 1.35rem 1.5rem;
  position: relative;
}

.lead-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lead-modal__close:hover {
  background: rgba(110, 154, 144, 0.25);
}

.lead-modal__title {
  margin: 0 2.25rem 0.35rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
}

.lead-modal__lead {
  margin: 0 0 1rem;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Мягкое появление секций при скролле (только при включённом JS — см. site-js в разметке) */
.site-js .reveal-scroll:not(.reveal-scroll--in) {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.68s cubic-bezier(0.22, 0.61, 0.36, 1),
    transform 0.68s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.site-js .reveal-scroll.reveal-scroll--in {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .site-js .reveal-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }

  details.faq-item,
  details.faq-item summary,
  details.faq-item .faq-body {
    transition: none;
  }

  .menu-toggle__icon,
  .menu-toggle.is-open::after {
    transition: none;
  }
}
