:root {
  --brand-dark: #0b2233;
  --brand-deep: #071821;
  --brand-copper: #d97a3c;
  --brand-orange: #ff6b3d;
  --brand-light: #f7f4f1;
  --brand-text: #0b2530;
  --brand-muted: #607282;
  --color-text: var(--brand-text);
  --color-muted: var(--brand-muted);
  --color-accent: var(--brand-orange);
  --color-check: #58d68d;
  --color-light-bg: var(--brand-light);
  --color-white: #ffffff;
  --color-text-on-dark-muted: #dde6ec;
  --blue: var(--color-text);
  --graphite: var(--brand-dark);
  --white: var(--color-white);
  --gray: var(--color-light-bg);
  --accent: var(--brand-orange);
  --text: var(--brand-text);
  --muted: var(--brand-muted);
  --shadow-soft: 0 16px 36px rgba(7, 24, 33, 0.12);
  --font-heading: "Manrope", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --heading-tracking: -0.02em;
  --heading-tracking-display: -0.025em;
  --fs-h1: clamp(2rem, 4vw + 0.75rem, 3.875rem);
  --lh-h1: 1.08;
  --fs-h2: clamp(1.75rem, 1.8vw + 1.1rem, 2.875rem);
  --lh-h2: 1.15;
  --fs-h3-card: clamp(1.1875rem, 0.55vw + 1.05rem, 1.625rem);
  --lh-h3-card: 1.22;
  --fs-h3-lead: clamp(1.125rem, 0.5vw + 1rem, 1.375rem);
  --fw-heading: 700;
  --fs-body: clamp(1rem, 0.2vw + 0.96rem, 1.0625rem);
  --lh-body: 1.62;
  --fs-caption: clamp(0.8125rem, 0.12vw + 0.78rem, 0.9375rem);
  --lh-caption: 1.45;
  --fs-nav: 1rem;
  --fw-nav: 600;
  --fs-btn: 1rem;
  --fw-btn: 700;
  --radius-btn: 12px;
  /* Spacing */
  --space-section-y: 88px;
  --space-section-y-tablet: 64px;
  --space-section-y-mobile: 56px;
  --space-head-bottom: 44px;
  /* Cards */
  --radius-card: 20px;
  --radius-card-lg: 24px;
  --radius-icon: 14px;
  --border-card: 1px solid rgba(217, 122, 60, 0.15);
  --shadow-card: 0 10px 25px rgba(217, 122, 60, 0.06), 0 18px 50px rgba(7, 24, 33, 0.06);
  --shadow-card-hover: 0 16px 45px rgba(217, 122, 60, 0.1), 0 24px 70px rgba(7, 24, 33, 0.1);
  /* Motion */
  --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 0.22s;
  --duration-base: 0.28s;
  --duration-reveal: 0.72s;
  --lift-hover: -4px;
  --header-offset: 84px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding-top: var(--header-offset);
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-nav-open {
  overflow: hidden;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--fw-heading);
  letter-spacing: var(--heading-tracking);
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-wrap: anywhere;
  margin: 0;
}

h1 {
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  letter-spacing: var(--heading-tracking-display);
  color: inherit;
}

h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  color: var(--text);
}

h3 {
  font-size: var(--fs-h3-card);
  line-height: var(--lh-h3-card);
  color: var(--text);
}

/* Секционные h2 — единая шкала Manrope */
.section__head h2,
.planning-section__head h2,
.call-master h2,
.official h2,
.contacts__info h2,
.request-block__content h2,
.request-block__head h2 {
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
}

.request-block__content h2,
.request-block__head h2 {
  color: var(--color-white);
  margin-bottom: 10px;
}

.section__head h2 {
  margin-bottom: 8px;
}

.planning-section__head h2,
.call-master h2,
.official h2,
.contacts__info h2 {
  color: var(--text);
}

/* Карточки и UI-h3 — наследуют h3, только отступы и цвет */
.achievement h3,
.adv-card h3,
.planning-card h3,
.service-card h3,
.works-slider__title,
.case-review-card__title,
.services-ribbon__title {
  font-size: var(--fs-h3-card);
  line-height: var(--lh-h3-card);
}

.footer__inner h3 {
  font-size: var(--fs-h3-card);
  line-height: var(--lh-h3-card);
  color: var(--color-white);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.section { padding: var(--space-section-y) 0; }
.section--gray {
  background:
    radial-gradient(circle at 90% 10%, rgba(217, 122, 60, 0.1), transparent 35%),
    linear-gradient(180deg, #f7f4f1 0%, #f4f7fa 100%);
}

.section__head h2::after,
.planning-section__head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-copper), transparent);
  opacity: 0.75;
  margin: 14px auto 0;
}

.section__head { text-align: center; margin-bottom: var(--space-head-bottom); }
.section__head p {
  margin: 0;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(227, 234, 238, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background var(--duration-base) var(--ease-premium),
    box-shadow var(--duration-base) var(--ease-premium),
    border-color var(--duration-base) var(--ease-premium);
}

.header--scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(227, 234, 238, 0.65);
  box-shadow: 0 8px 28px rgba(15, 42, 58, 0.1);
}

.header__inner {
  min-height: 84px;
  padding-block: 8px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  transition:
    min-height var(--duration-base) var(--ease-premium),
    padding var(--duration-base) var(--ease-premium);
}

.header--scrolled .header__inner {
  min-height: 72px;
  padding-block: 6px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  width: 112px;
  height: 58px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 2px;
  transition:
    width var(--duration-base) var(--ease-premium),
    height var(--duration-base) var(--ease-premium);
}

.header--scrolled .logo img {
  width: 104px;
  height: 54px;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav a {
  position: relative;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
  padding: 4px 0;
  white-space: nowrap;
  flex-shrink: 0;
  transition:
    color var(--duration-base) var(--ease-premium),
    background var(--duration-base) var(--ease-premium);
}

.nav a:hover {
  color: var(--accent);
}

.nav a.is-active {
  color: #ff6b3d;
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: #ff6b3d;
}

.nav-backdrop {
  display: none;
}

#services,
#planning,
#advantages,
#works,
#reviews,
#contacts,
#hero,
#request {
  scroll-margin-top: calc(var(--header-offset) + 12px);
}
.header__contacts {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header__contacts .btn {
  min-height: 42px;
  padding: 9px 16px;
  font-size: 0.9375rem;
}

.header__phones {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0;
  line-height: 1.15;
  flex-shrink: 0;
}

.header__phone {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  font-size: 0.8125rem;
}

.header__phone--primary {
  font-size: 0.8125rem;
}

.header__phone--secondary {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}

@media (min-width: 993px) {
  .nav {
    gap: clamp(12px, 1.2vw, 18px);
  }

  .nav a {
    font-size: clamp(0.8125rem, 0.12vw + 0.78rem, 0.9375rem);
  }
}

@media (min-width: 993px) and (max-width: 1240px) {
  .header__inner {
    gap: 12px;
  }

  .nav {
    gap: 10px;
  }

  .nav a {
    font-size: 0.8125rem;
  }

  .header__contacts .btn {
    padding-inline: 14px;
    font-size: 0.875rem;
  }
}

.btn {
  border: 0;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: var(--fw-btn);
  font-size: var(--fs-btn);
  line-height: 1.25;
  padding: 12px 20px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition:
    transform var(--duration-base) var(--ease-premium),
    box-shadow var(--duration-base) var(--ease-premium),
    background var(--duration-base) ease,
    border-color var(--duration-base) ease,
    color var(--duration-fast) ease;
}
@media (hover: hover) {
  .btn:hover {
    transform: translateY(-2px);
  }
}
.btn--accent,
.btn-primary {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-copper));
  color: #fff;
  box-shadow: 0 14px 34px rgba(217, 122, 60, 0.28);
}
@media (hover: hover) {
  .btn--accent:hover,
  .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(217, 122, 60, 0.38);
  }
}
.btn--ghost,
.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}
@media (hover: hover) {
  .btn--ghost:hover,
  .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
  }
}
.btn--pulse {
  animation: pulse 3s var(--ease-premium) infinite;
}
@media (prefers-reduced-motion: reduce) {
  .btn--pulse {
    animation: none;
  }
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-offset));
  display: flex;
  align-items: center;
  padding: 48px 0 48px;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(
      90deg,
      rgba(11,42,58,0.95) 0%,
      rgba(13,54,74,0.92) 50%,
      rgba(11,42,58,0.85) 100%
    ),
    url("images/heating-scheme.jpg") center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: 10%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 107, 44, 0.16);
  filter: blur(70px);
  pointer-events: none;
}
.hero__grid.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
}
.hero__left {
  min-width: 0;
  max-width: 720px;
}
.hero__left > * {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.6s ease forwards;
}
.hero__left > *:nth-child(1) { animation-delay: 0.1s; }
.hero__left > *:nth-child(2) { animation-delay: 0.2s; }
.hero__left > *:nth-child(3) { animation-delay: 0.3s; }
.hero__left > *:nth-child(4) { animation-delay: 0.4s; }
.hero__left > *:nth-child(5) { animation-delay: 0.5s; }
.hero__left > *:nth-child(6) { animation-delay: 0.58s; }
.hero__left > *:nth-child(7) { animation-delay: 0.66s; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 8px 16px;
  font-family: var(--font-body);
  color: var(--color-white);
  font-weight: 600;
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}
.hero h1 {
  max-width: 800px;
  margin-bottom: 16px;
  color: var(--color-white);
}
.hero__subtitle {
  max-width: 760px;
  margin: 0 0 14px;
  font-family: var(--font-body);
  color: var(--color-text-on-dark-muted);
  font-size: clamp(1rem, 1.1vw + 0.85rem, 1.25rem);
  line-height: 1.35;
  font-weight: 500;
}

.hero__subtitle-services-row {
  display: inline;
}

.hero__subtitle-services-row + .hero__subtitle-services-row::before {
  content: " • ";
}

.hero__subtitle-region {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.92em;
  color: rgba(221, 230, 236, 0.62);
}

.hero__description {
  max-width: 720px;
  margin: 0 0 10px;
  font-family: var(--font-body);
  color: var(--color-text-on-dark-muted);
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
}

.hero__description-note {
  color: rgba(221, 230, 236, 0.62);
}
.hero__slogan {
  margin: 0 0 12px;
  font-family: var(--font-body);
  color: var(--accent);
  font-size: var(--fs-caption);
  font-weight: 600;
}

@media (min-width: 769px) {
  .hero__slogan {
    font-size: clamp(1.06rem, 0.26vw + 0.98rem, 1.22rem);
    line-height: 1.45;
    font-weight: 700;
    text-shadow: 0 0 16px rgba(255, 107, 61, 0.34);
  }
}

/* Печатающийся текст: только акцентный слоган в hero */
.hero__slogan.hero-typing {
  position: relative;
  display: block;
  min-width: 0;
  min-height: calc(var(--lh-caption) * 1.15);
}
.hero__slogan.hero-typing .hero-typing__measure {
  display: block;
  visibility: hidden;
  pointer-events: none;
  user-select: none;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
}
.hero__slogan.hero-typing .hero-typing__output {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  min-height: 1.2em;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: normal;
}
.hero__slogan.hero-typing .hero-typing__output::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.88em;
  margin-left: 3px;
  background: #ff6b3d;
  vertical-align: -0.06em;
  border-radius: 1px;
}
.hero__slogan.hero-typing:not(.typing-done):not(.hero-typing--instant) .hero-typing__output::after {
  animation: heroTypingCaretBlink 0.95s steps(1, end) infinite;
}
.hero__slogan.hero-typing.typing-done .hero-typing__output::after {
  animation: none;
  opacity: 0;
  transition: opacity 0.55s ease;
}
.hero__slogan.hero-typing.hero-typing--instant .hero-typing__output::after {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero__slogan.hero-typing:not(.typing-done) .hero-typing__output::after {
    animation: none;
    opacity: 0;
  }
}

@keyframes heroTypingCaretBlink {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 12px; }
.hero .btn--ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.26);
}
.hero .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.14);
}
.trust-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
.trust-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  color: var(--color-text-on-dark-muted);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: var(--lh-body);
}
.trust-list i {
  color: var(--color-check);
  font-size: 1.125rem;
  flex-shrink: 0;
}
.hero__right {
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 480px;
}
.hero-video {
  width: 100%;
  max-width: 100%;
  max-height: 480px;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 20px 56px rgba(0,0,0,0.32);
  animation: fadeIn 1s ease forwards;
  opacity: 0;
  animation-delay: 0.35s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-video video {
  max-height: 460px;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 24px;
}

.site-ticker {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: 46px;
  height: clamp(46px, 4vw, 54px);
  background: #0e2a36;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.site-ticker__viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.site-ticker__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  flex-shrink: 0;
  width: fit-content;
  max-width: none;
  height: 100%;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: site-ticker-scroll var(--ticker-duration, 52s) linear infinite;
}

.site-ticker__group {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  flex: 0 0 auto;
  align-items: center;
  flex-shrink: 0;
  width: max-content;
  max-width: none;
  margin: 0;
  padding: 0 2.5rem 0 0;
  white-space: nowrap;
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 0.35vw + 0.8rem, 1rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
}

.site-ticker__item {
  flex-shrink: 0;
  color: #fff;
  white-space: nowrap;
}

.site-ticker__dot {
  flex-shrink: 0;
  color: #ff6b3d;
  padding: 0 1.125rem;
  user-select: none;
}

@keyframes site-ticker-scroll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-1 * var(--ticker-distance, 50%)), 0, 0);
  }
}

@media (hover: hover) and (pointer: fine) {
  .site-ticker:hover .site-ticker__track {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-ticker__track {
    animation: none;
    transform: none;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding: 0 1rem;
  }

  .site-ticker__group[aria-hidden="true"] {
    display: none;
  }

  .site-ticker__group {
    flex: 1 1 auto;
    width: auto;
    max-width: 100%;
    justify-content: center;
    padding: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.achievements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.achievement {
  background: #fff;
  border: var(--border-card);
  border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-card);
  padding: 28px;
  transition:
    border-color var(--duration-base) ease,
    box-shadow var(--duration-base) ease;
}

@media (hover: hover) {
  .achievement:hover {
    border-color: rgba(217, 122, 60, 0.28);
    box-shadow: var(--shadow-card-hover);
  }
}
.achievement__value {
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--text);
  font-weight: 700;
}
.achievement h3 {
  margin: 0 0 6px;
  color: var(--accent);
}
.achievement p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.adv-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-card-lg);
  border: var(--border-card);
  box-shadow: var(--shadow-card);
  padding: 24px;
  overflow: hidden;
  transition:
    transform var(--duration-base) var(--ease-premium),
    box-shadow var(--duration-base) ease;
}
.adv-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand-copper), #ff9a77);
}
.adv-card i {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-icon);
  display: grid;
  place-items: center;
  background: rgba(255, 107, 61, .14);
  color: var(--accent);
  font-size: 1.3rem;
  margin-bottom: 14px;
}
.adv-card h3 {
  margin: 0;
  color: var(--text);
}
.adv-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
@media (hover: hover) {
  .adv-card:hover {
    transform: translateY(var(--lift-hover));
    border-color: rgba(217, 122, 60, 0.28);
    box-shadow: var(--shadow-card-hover);
  }
}

.stagger .reveal:nth-child(2) { transition-delay: .06s; }
.stagger .reveal:nth-child(3) { transition-delay: .12s; }
.stagger .reveal:nth-child(4) { transition-delay: .18s; }
.stagger .reveal:nth-child(5) { transition-delay: .24s; }
.stagger .reveal:nth-child(6) { transition-delay: .3s; }

.planning-section {
  position: relative;
  overflow: hidden;
  padding: var(--space-section-y) 0;
  background:
    radial-gradient(circle at 85% 10%, rgba(217, 122, 60, 0.14), transparent 34%),
    linear-gradient(180deg, #f7f4f1 0%, #f4f7fa 100%);
}

.planning-section::before {
  content: "";
  position: absolute;
  top: 88px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: rgba(217, 122, 60, 0.12);
  border-radius: 50%;
  filter: blur(45px);
  pointer-events: none;
}

.planning-section__head {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.planning-section__head h2 {
  margin: 0;
}

.planning-section__head p {
  max-width: 680px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.planning-grid-wrap {
  position: relative;
  margin-top: 42px;
  min-width: 0;
  overflow: visible;
}

.planning-routes {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.planning-routes__path {
  fill: none;
  stroke: rgba(217, 122, 60, 0.35);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.planning-routes--static .planning-routes__path,
.planning-routes--draw .planning-routes__path {
  stroke-dashoffset: 0;
}

.planning-routes__node {
  fill: var(--brand-copper);
  filter: drop-shadow(0 0 5px rgba(217, 122, 60, 0.48));
  opacity: 0;
  transform: scale(0.45);
  transform-box: fill-box;
  transform-origin: center;
}

.planning-routes--static .planning-routes__node {
  opacity: 1;
  transform: scale(1);
}

@media not (prefers-reduced-motion: reduce) {
  .planning-routes:not(.planning-routes--static):not(.planning-routes--draw) .planning-routes__path {
    stroke-dashoffset: var(--route-length, 0);
  }

  .planning-routes--draw .planning-routes__path {
    animation: planningRouteDraw var(--route-duration, 1.05s) ease-out forwards;
    animation-delay: var(--route-delay, 0ms);
  }

  .planning-routes--mobile.planning-routes--nodes-in .planning-routes__node {
    animation: planningRouteNodeIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--node-delay, 0ms);
  }

  .planning-routes--mobile:not(.planning-routes--draw):not(.planning-routes--static)
    .planning-routes__path--trace {
    stroke-dashoffset: var(--route-length, 9999);
  }
}

@keyframes planningRouteDraw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes planningRouteNodeIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.planning-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 0;
  min-width: 0;
}

.planning-card {
  position: relative;
  min-height: 190px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(217, 122, 60, 0.15);
  border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(10px);
  --plan-end-rot: 0deg;
  transform-origin: center center;
  transition:
    transform var(--duration-base) var(--ease-premium),
    box-shadow var(--duration-base) ease,
    border-color var(--duration-base) ease;
}

@media not (prefers-reduced-motion: reduce) {
  .planning-grid:not(.planning-grid--inview) .planning-card {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.96) rotate(0deg);
  }

  .planning-grid--inview .planning-card {
    animation: planningCardBounceIn 0.82s cubic-bezier(0.34, 1.12, 0.52, 1) both;
  }

  .planning-grid--inview .planning-card:nth-child(1) {
    animation-delay: 0ms;
  }
  .planning-grid--inview .planning-card:nth-child(2) {
    animation-delay: 140ms;
  }
  .planning-grid--inview .planning-card:nth-child(3) {
    animation-delay: 280ms;
  }
  .planning-grid--inview .planning-card:nth-child(4) {
    animation-delay: 420ms;
  }
  .planning-grid--inview .planning-card:nth-child(5) {
    animation-delay: 560ms;
  }
  .planning-grid--inview .planning-card:nth-child(6) {
    animation-delay: 700ms;
  }
}

.planning-grid .planning-card:nth-child(1) {
  --plan-end-rot: -1deg;
}
.planning-grid .planning-card:nth-child(2) {
  --plan-end-rot: 0.8deg;
}
.planning-grid .planning-card:nth-child(3) {
  --plan-end-rot: -0.6deg;
}
.planning-grid .planning-card:nth-child(4) {
  --plan-end-rot: 0.7deg;
}
.planning-grid .planning-card:nth-child(5) {
  --plan-end-rot: -0.8deg;
}
.planning-grid .planning-card:nth-child(6) {
  --plan-end-rot: 0.5deg;
}

@media (hover: hover) {
  .planning-card:hover {
    transform: translate3d(0, var(--lift-hover), 0) scale(1) rotate(0deg);
    border-color: rgba(217, 122, 60, 0.28);
    box-shadow: var(--shadow-card-hover);
  }
}

.planning-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  color: #ff6b2c;
  font-size: 1.35rem;
  background: rgba(255, 107, 44, 0.1);
  border-radius: var(--radius-icon);
  transition:
    transform var(--duration-base) var(--ease-premium),
    background var(--duration-base) ease;
}

@media (hover: hover) {
  .planning-card:hover i {
    transform: scale(1.04);
    background: rgba(255, 107, 44, 0.14);
  }
}

.planning-card h3 {
  margin: 0 0 10px;
  color: var(--text);
}

.planning-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

@keyframes planningCardBounceIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 24px, 0) scale(0.98) rotate(0deg);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, -3px, 0) scale(1.01) rotate(0deg);
  }
  82% {
    transform: translate3d(0, 2px, 0) scale(0.995) rotate(0deg);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(var(--plan-end-rot));
  }
}

@media (prefers-reduced-motion: reduce) {
  .planning-card {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    animation: none !important;
  }
  .planning-grid .planning-card {
    margin-top: 0 !important;
  }
  .planning-card:hover {
    transform: translate3d(0, -4px, 0) scale(1) rotate(0deg);
  }
  .planning-routes--static .planning-routes__path {
    stroke-dashoffset: 0;
  }
}

@media (max-width: 760px) {
  .planning-grid .planning-card:nth-child(1) {
    --plan-end-rot: -0.3deg;
  }
  .planning-grid .planning-card:nth-child(2) {
    --plan-end-rot: 0.3deg;
  }
  .planning-grid .planning-card:nth-child(3) {
    --plan-end-rot: -0.25deg;
  }
  .planning-grid .planning-card:nth-child(4) {
    --plan-end-rot: 0.25deg;
  }
  .planning-grid .planning-card:nth-child(5) {
    --plan-end-rot: -0.3deg;
  }
  .planning-grid .planning-card:nth-child(6) {
    --plan-end-rot: 0.2deg;
  }
}

.section--why {
  position: relative;
  overflow: hidden;
  padding: var(--space-section-y) 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(217, 122, 60, 0.1), transparent 35%),
    linear-gradient(180deg, #f7f4f1 0%, #f4f7fa 100%);
}

.section--why::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 122, 60, 0.14) 0%, rgba(217, 122, 60, 0.04) 55%, transparent 72%);
  filter: blur(64px);
  pointer-events: none;
}

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

.section-label {
  margin: 0 0 12px;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section--why .section__head {
  max-width: 820px;
  margin: 0 auto var(--space-head-bottom);
  text-align: center;
}

.section--why .section__head p:not(.section-label) {
  max-width: 720px;
  margin: 16px auto 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: clamp(20px, 2vw, 28px);
  min-width: 0;
}

.section--why .why-grid .adv-card.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity var(--duration-reveal) var(--ease-premium),
    transform var(--duration-reveal) var(--ease-premium),
    box-shadow var(--duration-base) ease,
    border-color var(--duration-base) ease;
}

.section--why .why-grid .adv-card.reveal.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.section--why .why-grid .adv-card.reveal:nth-child(1) {
  transition-delay: 0ms;
}
.section--why .why-grid .adv-card.reveal:nth-child(2) {
  transition-delay: 100ms;
}
.section--why .why-grid .adv-card.reveal:nth-child(3) {
  transition-delay: 200ms;
}
.section--why .why-grid .adv-card.reveal:nth-child(4) {
  transition-delay: 300ms;
}
.section--why .why-grid .adv-card.reveal:nth-child(5) {
  transition-delay: 400ms;
}
.section--why .why-grid .adv-card.reveal:nth-child(6) {
  transition-delay: 500ms;
}

@media (prefers-reduced-motion: reduce) {
  .section--why .why-grid .adv-card.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .section--why .why-grid .adv-card.reveal.active:not(.adv-card--lead)::before {
    transform: scaleY(1);
    opacity: 0.75;
    transition: none;
  }
}

.section--why .adv-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 24px 22px 26px;
  overflow: hidden;
  background: #fff;
  border: var(--border-card);
  border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-card);
  transition:
    transform var(--duration-base) var(--ease-premium),
    box-shadow var(--duration-base) ease,
    border-color var(--duration-base) ease;
}

.section--why .adv-card:not(.adv-card--lead) {
  padding-left: 28px;
}

.section--why .adv-card:not(.adv-card--lead)::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 20px;
  bottom: 20px;
  width: 3px;
  background: #ff6b3d;
  opacity: 0.75;
  border-radius: 999px;
  transform: scaleY(0);
  transform-origin: top center;
  pointer-events: none;
  z-index: 1;
  transition: none;
}

.section--why .why-grid .adv-card.reveal.active:not(.adv-card--lead)::before {
  transform: scaleY(1);
  transition:
    transform 600ms var(--ease-premium),
    opacity var(--duration-base) ease;
}

.section--why .why-grid .adv-card.reveal.active:nth-child(2):not(.adv-card--lead)::before {
  transition-delay: 600ms;
}

.section--why .why-grid .adv-card.reveal.active:nth-child(3):not(.adv-card--lead)::before {
  transition-delay: 700ms;
}

.section--why .why-grid .adv-card.reveal.active:nth-child(4):not(.adv-card--lead)::before {
  transition-delay: 800ms;
}

.section--why .why-grid .adv-card.reveal.active:nth-child(5):not(.adv-card--lead)::before {
  transition-delay: 900ms;
}

.section--why .why-grid .adv-card.reveal.active:nth-child(6):not(.adv-card--lead)::before {
  transition-delay: 1000ms;
}

.section--why .adv-card--lead {
  background: linear-gradient(152deg, #1a3a4d 0%, var(--brand-dark) 48%, #0f2f3f 100%);
  border: 1px solid rgba(217, 122, 60, 0.28);
  box-shadow:
    0 14px 36px rgba(7, 24, 33, 0.2),
    0 0 0 1px rgba(217, 122, 60, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  padding: 26px 24px 28px;
}

.section--why .adv-card--lead::before {
  content: none;
}

@media (hover: hover) {
  .section--why .adv-card:not(.adv-card--lead):hover,
  .section--why .adv-card--lead:hover {
    transform: translateY(-4px);
  }

  .section--why .adv-card:not(.adv-card--lead):hover {
    border-color: rgba(217, 122, 60, 0.28);
    box-shadow: var(--shadow-card-hover);
  }

  .section--why .adv-card:not(.adv-card--lead):hover::before {
    opacity: 1;
  }

  .section--why .adv-card--lead:hover {
    border-color: rgba(217, 122, 60, 0.38);
    box-shadow:
      0 20px 44px rgba(7, 24, 33, 0.26),
      0 0 0 1px rgba(217, 122, 60, 0.22),
      0 0 28px rgba(217, 122, 60, 0.12);
  }

  .section--why .adv-card.reveal.active:not(.adv-card--lead):hover,
  .section--why .adv-card.reveal.active.adv-card--lead:hover {
    transform: translateY(-4px);
  }
}

.section--why .adv-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: #ff6b3d;
  font-size: 1.25rem;
  background: rgba(255, 107, 61, 0.09);
  border-radius: var(--radius-icon);
  transition: background var(--duration-base) ease;
}

.section--why .adv-card--lead i {
  color: #ff8f66;
  background: rgba(255, 107, 61, 0.2);
}

.section--why .adv-card:not(.adv-card--lead):hover i {
  background: rgba(255, 107, 61, 0.13);
}

.section--why .adv-card--lead:hover i {
  background: rgba(255, 107, 61, 0.26);
}

.section--why .adv-card h3 {
  margin: 0 0 10px;
  color: var(--text);
}

.section--why .adv-card--lead h3 {
  margin-bottom: 10px;
  color: #fff;
  font-size: var(--fs-h3-lead);
  line-height: 1.2;
}

.section--why .adv-card--lead .adv-card__num {
  font-family: var(--font-heading);
  font-size: 1.45em;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.section--why .adv-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.section--why .adv-card--lead p {
  color: rgba(221, 230, 236, 0.9);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.services-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 12px;
}
.services-scroll::-webkit-scrollbar {
  height: 6px;
}
.services-scroll::-webkit-scrollbar-thumb {
  background: #ff6b3d;
  border-radius: 10px;
}
.service-card {
  min-width: 300px;
  background: #fff;
  border-radius: var(--radius-card-lg);
  border: var(--border-card);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition:
    transform var(--duration-base) var(--ease-premium),
    box-shadow var(--duration-base) ease;
}
.service-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  margin: 0 auto 20px;
}
.service-card h3 {
  margin: 0 0 8px;
  color: var(--text);
}
.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(var(--lift-hover));
    border-color: rgba(217, 122, 60, 0.28);
    box-shadow: var(--shadow-card-hover);
  }
}

/* Горизонтальная лента «Наши услуги» */
.section--services {
  background:
    radial-gradient(circle at 90% 10%, rgba(217, 122, 60, 0.08), transparent 35%),
    linear-gradient(180deg, #f7f4f1 0%, #f4f7fa 100%);
  overflow-x: clip;
}
.section--services .section__head {
  margin-bottom: 1.75rem;
}

.services-ribbon {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: stretch;
  gap: clamp(8px, 2vw, 14px);
  max-width: 100%;
  padding-bottom: 8px;
  margin-bottom: max(0px, env(safe-area-inset-bottom));
}

.services-ribbon__arrow {
  align-self: center;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--graphite);
  color: #f1f5f9;
  transition:
    transform var(--duration-fast) var(--ease-premium),
    background var(--duration-fast) ease,
    opacity var(--duration-fast) ease;
  box-shadow: 0 8px 20px rgba(14, 42, 56, 0.1);
}
@media (hover: hover) {
  .services-ribbon__arrow:hover:not(:disabled) {
    background: var(--brand-dark);
    box-shadow: 0 8px 22px rgba(217, 122, 60, 0.22);
    transform: scale(1.04);
  }
}
.services-ribbon__arrow:disabled {
  opacity: 0.38;
  cursor: default;
}
.services-ribbon__arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.services-ribbon__arrow i {
  font-size: 1.25rem;
}

.services-ribbon__viewport {
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 107, 61, 0.45) transparent;
  padding: 6px 2px 18px;
  scroll-snap-type: x proximity;
}
.services-ribbon__viewport::-webkit-scrollbar {
  height: 6px;
}
.services-ribbon__viewport::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 61, 0.45);
  border-radius: 10px;
}
.services-ribbon__viewport:focus-visible {
  outline: 2px solid rgba(255, 107, 61, 0.35);
  outline-offset: 2px;
  border-radius: 12px;
}

.services-ribbon__track {
  display: flex;
  gap: 20px;
  width: max-content;
  max-width: none;
  padding: 4px 8px 8px;
}

.services-ribbon__track.is-no-transition {
  transition: none;
}

.services-ribbon__slide {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.services-ribbon__card {
  position: relative;
  flex: 0 0 auto;
  width: min(300px, calc(88vw - 12px));
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--radius-card-lg);
  border: var(--border-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  scroll-snap-align: start;
  transition:
    transform var(--duration-base) var(--ease-premium),
    box-shadow var(--duration-base) ease;
}

.services-ribbon__slide .services-ribbon__card.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity var(--duration-reveal) var(--ease-premium),
    transform var(--duration-reveal) var(--ease-premium),
    box-shadow var(--duration-base) ease;
}

.services-ribbon__slide .services-ribbon__card.reveal.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.services-ribbon__card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.22s ease;
  border-radius: 24px 24px 0 0;
  pointer-events: none;
}
@media (hover: hover) {
  .services-ribbon__card.reveal.active:hover,
  .services-ribbon__card:hover {
    transform: translateY(-5px);
    border-color: rgba(217, 122, 60, 0.28);
    box-shadow: var(--shadow-card-hover);
  }

  .services-ribbon__card:hover .services-ribbon__media img {
    transform: scale(1.04);
  }
}
.services-ribbon__card:hover::before {
  opacity: 1;
}

.services-ribbon__media {
  display: block;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
  background: #e8eef3;
  border-radius: var(--radius-card-lg) var(--radius-card-lg) 0 0;
}
.services-ribbon__media img {
  display: block;
  width: 100%;
  height: clamp(150px, 42vw, 190px);
  object-fit: cover;
  object-position: center;
  transition: transform var(--duration-base) var(--ease-premium);
}

@media (min-width: 992px) {
  .services-ribbon__media img {
    height: clamp(170px, 14vw, 210px);
    min-height: 170px;
    max-height: 210px;
  }
}

.services-ribbon__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0;
  padding: 6px 20px 22px;
  text-align: left;
}

.services-ribbon__title {
  margin: 0 0 10px;
  color: var(--text);
}

.services-ribbon__text {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--muted);
  flex: 1;
}

.services-ribbon__cta {
  margin-top: auto;
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  line-height: var(--lh-caption);
  color: var(--accent);
  text-decoration: none;
  width: fit-content;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.services-ribbon__cta:hover {
  color: var(--text);
  border-bottom-color: rgba(255, 107, 61, 0.45);
}

.services-ribbon__slide:nth-child(1) .services-ribbon__card.reveal {
  transition-delay: 0ms;
}
.services-ribbon__slide:nth-child(2) .services-ribbon__card.reveal {
  transition-delay: 100ms;
}
.services-ribbon__slide:nth-child(3) .services-ribbon__card.reveal {
  transition-delay: 200ms;
}
.services-ribbon__slide:nth-child(4) .services-ribbon__card.reveal {
  transition-delay: 300ms;
}
.services-ribbon__slide:nth-child(5) .services-ribbon__card.reveal {
  transition-delay: 400ms;
}
.services-ribbon__slide:nth-child(6) .services-ribbon__card.reveal {
  transition-delay: 500ms;
}

@media (prefers-reduced-motion: reduce) {
  .services-ribbon__slide .services-ribbon__card.reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (min-width: 720px) {
  .services-ribbon__card {
    width: min(292px, calc((100vw - 8rem) / 3.05));
  }
}

@media (min-width: 1100px) {
  .services-ribbon__card {
    width: min(278px, calc((min(1180px, 100vw - 32px) - 7.5rem) / 3.35));
  }
}

@media (min-width: 1280px) {
  .services-ribbon__card {
    width: min(268px, calc((min(1180px, 100vw - 32px) - 7.5rem) / 3.85));
  }
}

.services-ribbon__dots {
  grid-column: 1 / -1;
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 0 8px;
}

.services-ribbon__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #b5c4d1;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.services-ribbon__dot.is-active {
  background: var(--accent);
  transform: scale(1.28);
}

.services-ribbon__dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.call-master__inner {
  background: linear-gradient(145deg, #ffffff 0%, #f5f8fb 48%, #edf3f7 100%);
  border-radius: 24px;
  border: 1px solid #e1e9ee;
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.call-master h2 {
  margin: 0 0 14px;
}
.call-master ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}
.call-master li { display: flex; align-items: center; gap: 8px; color: var(--text); font-size: var(--fs-body); line-height: var(--lh-body); }
.call-master i { color: var(--accent); }

.call-master__inner > .btn.btn--accent {
  flex-shrink: 0;
  align-self: center;
  white-space: nowrap;
  text-align: center;
}

@media (max-width: 1100px) {
  .call-master__inner > .btn.btn--accent {
    justify-self: start;
    width: auto;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .call-master__inner > .btn.btn--accent {
    width: 100%;
    white-space: normal;
    justify-self: stretch;
  }
}

.section--timeline { background: linear-gradient(180deg, #f5f8fb, #ffffff); }
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.timeline__line {
  position: absolute;
  left: 8%;
  right: 8%;
  top: 22px;
  height: 2px;
  background: #e6e6e6;
  overflow: hidden;
}
.process-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: #ff6b3d;
}
.process-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid #e6e6e6;
  transition: all 0.4s ease;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}
.process-dot.active {
  background: #ff6b3d;
  border-color: #ff6b3d;
  box-shadow: 0 0 12px rgba(255,107,61,0.5);
}
.process-line .process-dot:nth-child(1) { left: 0%; }
.process-line .process-dot:nth-child(2) { left: 20%; }
.process-line .process-dot:nth-child(3) { left: 40%; }
.process-line .process-dot:nth-child(4) { left: 60%; }
.process-line .process-dot:nth-child(5) { left: 80%; }
.process-line .process-dot:nth-child(6) { left: 100%; }
.timeline.process-animate .process-line::after {
  animation: lineDraw 2s ease forwards;
}
.timeline.process-animate .process-line .process-dot:nth-child(1) {
  animation: dotActivate 2s 0.3s forwards;
}
.timeline.process-animate .process-line .process-dot:nth-child(2) {
  animation: dotActivate 2s 0.6s forwards;
}
.timeline.process-animate .process-line .process-dot:nth-child(3) {
  animation: dotActivate 2s 0.9s forwards;
}
.timeline.process-animate .process-line .process-dot:nth-child(4) {
  animation: dotActivate 2s 1.2s forwards;
}
.timeline.process-animate .process-line .process-dot:nth-child(5) {
  animation: dotActivate 2s 1.5s forwards;
}
.timeline.process-animate .process-line .process-dot:nth-child(6) {
  animation: dotActivate 2s 1.8s forwards;
}
.timeline__step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px 8px 0;
}
.timeline__step.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-height: 0;
}
.timeline__step::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 107, 61, 0.55);
  background: #fff;
}
.timeline__step img,
.process-step img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin: 12px auto 12px;
}
.process-icon {
  opacity: 0;
  transform: translateY(10px);
}
.timeline.process-animate .timeline__step:nth-of-type(1) .process-icon {
  animation: iconFade 0.5s ease 0.5s forwards;
}
.timeline.process-animate .timeline__step:nth-of-type(2) .process-icon {
  animation: iconFade 0.5s ease 0.8s forwards;
}
.timeline.process-animate .timeline__step:nth-of-type(3) .process-icon {
  animation: iconFade 0.5s ease 1.1s forwards;
}
.timeline.process-animate .timeline__step:nth-of-type(4) .process-icon {
  animation: iconFade 0.5s ease 1.4s forwards;
}
.timeline.process-animate .timeline__step:nth-of-type(5) .process-icon {
  animation: iconFade 0.5s ease 1.7s forwards;
}
.timeline.process-animate .timeline__step:nth-of-type(6) .process-icon {
  animation: iconFade 0.5s ease 2s forwards;
}
.timeline__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  background: #fff;
  border: 2px solid #ffd7cb;
  box-shadow: 0 8px 20px rgba(255,107,61,.18);
}
.process-step h3 {
  box-sizing: border-box;
  width: 100%;
  max-width: 140px;
  margin: 0 auto 12px;
  padding: 0 2px;
  text-align: center;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
  min-height: calc(18px * 1.25 * 2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step p {
  width: 100%;
  max-width: 100%;
  margin: 0;
  margin-top: auto;
  padding-top: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  text-align: center;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  text-wrap: pretty;
}

.brands-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.brands-row span {
  text-align: center;
  border-radius: 14px;
  border: 1px solid #dbe5eb;
  background: #fff;
  padding: 16px;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 600;
  color: var(--text);
  box-shadow: 0 10px 24px rgba(22, 36, 48, .08);
  min-height: 88px;
  display: grid;
  place-items: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.brands-row span:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 28px rgba(22, 36, 48, .14);
}
.brands-row img {
  width: 140px;
  height: 44px;
  object-fit: contain;
}

.official {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  align-items: stretch;
}
.official h2 {
  margin: 0 0 14px;
}
.official__subtitle {
  margin: 0 0 16px;
  color: var(--muted);
  max-width: 560px;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.official ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.official li {
  position: relative;
  padding-left: 28px;
  color: var(--text);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}
.official li::before {
  content: "\f270";
  font-family: "bootstrap-icons";
  color: var(--brand-orange);
  position: absolute;
  left: 0;
  top: 0;
  filter: drop-shadow(0 0 6px rgba(255, 107, 61, 0.35));
}
.official li + li { margin-top: 10px; }
.official__doc {
  position: relative;
  height: 100%;
  min-height: 220px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(16, 43, 58, 0.1);
  border-radius: 24px;
  display: block;
  text-align: left;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}
.official__doc-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.official__doc-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(11, 42, 58, 0.88) 0%,
    rgba(11, 42, 58, 0.45) 38%,
    rgba(11, 42, 58, 0.12) 62%,
    transparent 100%
  );
}
.official__doc-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  margin: 0;
  padding: 22px 24px 24px;
  max-width: min(22rem, calc(100% - 16px));
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.1vw + 0.85rem, 1.2rem);
  line-height: 1.35;
  font-weight: 500;
  color: #ffffff;
  text-align: left;
}

.boiler-picker {
  background:
    radial-gradient(circle at 14% 18%, rgba(217, 122, 60, 0.2), transparent 38%),
    radial-gradient(circle at 88% 8%, rgba(217, 122, 60, 0.12), transparent 36%),
    linear-gradient(135deg, var(--brand-dark), var(--brand-deep));
  color: #f5f8fb;
}

.boiler-picker .container {
  position: relative;
}

.boiler-picker__card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 30px;
  padding: clamp(24px, 2.8vw, 32px);
  background: linear-gradient(145deg, rgba(10, 34, 51, 0.9), rgba(7, 24, 33, 0.9));
  border: 1px solid rgba(217, 122, 60, 0.24);
  box-shadow:
    0 22px 58px rgba(7, 24, 33, 0.36),
    0 0 42px rgba(217, 122, 60, 0.12);
  overflow: hidden;
}

.boiler-picker__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 90% 14%, rgba(217, 122, 60, 0.16), transparent 32%),
    repeating-linear-gradient(
      110deg,
      transparent 0,
      transparent 54px,
      rgba(217, 122, 60, 0.06) 54px,
      rgba(217, 122, 60, 0.06) 56px
    );
  opacity: 0.55;
}

.boiler-picker .section__head {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 42rem;
  margin: 0 auto clamp(22px, 2.6vw, 28px);
  text-align: center;
}

.boiler-picker .section__head h2 {
  margin-bottom: 0;
  color: #f5f8fb;
}

.boiler-picker__intro {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.boiler-picker .section__head .boiler-picker__subtitle {
  margin: 0;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  color: rgba(239, 245, 249, 0.94);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 500;
  text-wrap: pretty;
}

.boiler-picker .section__head .boiler-picker__note {
  margin: 0;
  max-width: 36rem;
  margin-inline: auto;
  color: rgba(230, 238, 244, 0.6);
  font-size: var(--fs-caption);
  line-height: 1.4;
  font-weight: 400;
  text-wrap: pretty;
}

.boiler-picker__options {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.boiler-picker__option {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-text);
  border-radius: 16px;
  min-height: 58px;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 0.25vw + 0.9rem, 1.02rem);
  font-weight: 600;
  cursor: pointer;
  transition:
    transform var(--duration-base) var(--ease-premium),
    border-color var(--duration-base) ease,
    box-shadow var(--duration-base) ease,
    background var(--duration-base) ease;
}

.boiler-picker__option.is-active {
  border-color: rgba(217, 122, 60, 0.9);
  background: linear-gradient(135deg, #fff4eb, #ffe4d2);
  color: #8c451f;
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(217, 122, 60, 0.45),
    0 0 24px rgba(217, 122, 60, 0.2),
    0 14px 30px rgba(217, 122, 60, 0.24);
}

.boiler-picker__advice {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(217, 122, 60, 0.32);
  background:
    linear-gradient(145deg, rgba(8, 28, 40, 0.72), rgba(7, 24, 33, 0.76));
  box-shadow:
    0 10px 22px rgba(7, 24, 33, 0.22),
    0 0 22px rgba(217, 122, 60, 0.1);
  opacity: 0;
  transform: translateY(10px);
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    opacity var(--duration-base) var(--ease-premium),
    transform var(--duration-base) var(--ease-premium),
    max-height var(--duration-base) var(--ease-premium),
    margin-top var(--duration-base) var(--ease-premium),
    padding var(--duration-base) var(--ease-premium);
}

.boiler-picker__advice.is-visible {
  opacity: 1;
  transform: translateY(0);
  max-height: 220px;
  pointer-events: auto;
}

.boiler-picker__advice-title {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(248, 235, 224, 0.98);
  font-size: var(--fs-body);
  line-height: 1.45;
  font-weight: 600;
}

.boiler-picker__advice-title::before {
  content: "\f270";
  font-family: "bootstrap-icons";
  font-style: normal;
  font-weight: normal;
  color: var(--brand-orange);
  font-size: 1.125rem;
  line-height: 1.45;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(255, 107, 61, 0.35));
}

.boiler-picker__advice-note {
  margin: 8px 0 0;
  color: rgba(230, 238, 244, 0.7);
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
}

.boiler-picker__cta {
  display: block;
  position: relative;
  z-index: 1;
  margin: 20px auto 0;
  min-height: 50px;
  padding-inline: clamp(24px, 2.2vw, 36px);
  box-shadow:
    0 14px 34px rgba(217, 122, 60, 0.34),
    0 0 26px rgba(217, 122, 60, 0.2);
}

@media (hover: hover) {
  .boiler-picker__cta:hover {
    box-shadow:
      0 18px 44px rgba(217, 122, 60, 0.42),
      0 0 34px rgba(217, 122, 60, 0.25);
  }
}

.boiler-picker__options .boiler-picker__option.reveal:nth-child(1) { transition-delay: 40ms; }
.boiler-picker__options .boiler-picker__option.reveal:nth-child(2) { transition-delay: 110ms; }
.boiler-picker__options .boiler-picker__option.reveal:nth-child(3) { transition-delay: 180ms; }
.boiler-picker__options .boiler-picker__option.reveal:nth-child(4) { transition-delay: 250ms; }
.boiler-picker__cta.reveal { transition-delay: 320ms; }

@media (hover: hover) {
  .boiler-picker__option:hover {
    transform: translateY(-2px);
    border-color: rgba(217, 122, 60, 0.5);
    box-shadow: 0 10px 24px rgba(217, 122, 60, 0.2);
  }
}

@media (max-width: 992px) {
  .boiler-picker__options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .boiler-picker__card {
    border-radius: 24px;
    padding: 20px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  }

  .boiler-picker .section__head {
    margin-bottom: 20px;
  }

  .boiler-picker__intro {
    margin-top: 10px;
    gap: 5px;
  }

  .boiler-picker__options {
    grid-template-columns: 1fr;
  }

  .boiler-picker__option {
    min-height: 54px;
  }

  .boiler-picker__advice {
    margin-top: 12px;
    padding: 12px 14px;
  }

  .boiler-picker__cta {
    width: 100%;
    margin-top: 18px;
    margin-bottom: 4px;
  }
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.gallery__item {
  border: 0;
  padding: 0;
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
  text-align: left;
}
.gallery__item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery__item span {
  display: block;
  padding: 10px 12px;
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--text);
  line-height: var(--lh-caption);
}
@media (hover: hover) {
  .gallery__item:hover img {
    transform: scale(1.04);
  }
}

/* Промо-блок мини-игры «Трубный маршрут» */
.game-promo {
  background:
    radial-gradient(circle at 14% 18%, rgba(217, 122, 60, 0.2), transparent 38%),
    radial-gradient(circle at 88% 8%, rgba(217, 122, 60, 0.12), transparent 36%),
    linear-gradient(135deg, var(--brand-dark), var(--brand-deep));
  color: #f5f8fb;
  overflow-x: hidden;
}

.game-promo .container {
  position: relative;
}

.game-promo__card {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  grid-template-rows: auto auto;
  grid-template-areas:
    "head visual"
    "foot visual";
  align-items: center;
  column-gap: clamp(24px, 3.5vw, 40px);
  row-gap: clamp(22px, 2.6vw, 28px);
  padding: clamp(24px, 2.8vw, 32px);
  border-radius: 30px;
  border: 1px solid rgba(217, 122, 60, 0.24);
  background: linear-gradient(145deg, rgba(10, 34, 51, 0.9), rgba(7, 24, 33, 0.9));
  box-shadow:
    0 22px 58px rgba(7, 24, 33, 0.36),
    0 0 42px rgba(217, 122, 60, 0.12);
  overflow: hidden;
}

.game-promo__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 90% 14%, rgba(217, 122, 60, 0.16), transparent 32%),
    repeating-linear-gradient(
      110deg,
      transparent 0,
      transparent 54px,
      rgba(217, 122, 60, 0.06) 54px,
      rgba(217, 122, 60, 0.06) 56px
    );
  opacity: 0.55;
}

.game-promo__head,
.game-promo__foot,
.game-promo__visual {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.game-promo__head {
  grid-area: head;
  width: 100%;
  max-width: 42rem;
  margin: 0;
  text-align: left;
}

.game-promo__foot {
  grid-area: foot;
  width: 100%;
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.game-promo__visual {
  grid-area: visual;
  grid-row: 1 / -1;
  display: flex;
  justify-content: center;
  align-self: center;
}

.game-promo__head h2 {
  margin-bottom: 0;
  color: #f5f8fb;
}

.game-promo__intro {
  display: grid;
  gap: 6px;
  margin-top: 0;
}

.game-promo .section__head > .game-promo__subtitle,
#game-promo .game-promo__subtitle {
  display: block;
  width: 100%;
  margin: clamp(24px, 2.5vw, 30px) auto clamp(18px, 2vw, 20px);
  max-width: none;
  color: #ff6b3d;
  font-family: var(--font-body);
  font-size: clamp(1.375rem, 0.4vw + 1.28rem, 1.5rem);
  line-height: 1.25;
  font-weight: 600;
  text-align: center;
  text-wrap: pretty;
  text-shadow: 0 0 22px rgba(255, 107, 61, 0.32);
}

.game-promo__subtitle::before {
  content: none;
  display: none;
}

.game-promo .section__head .game-promo__lead {
  margin: 0;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  color: rgba(239, 245, 249, 0.94);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: 500;
  text-wrap: pretty;
}

.game-promo .section__head .game-promo__note {
  margin: 0;
  max-width: 36rem;
  margin-left: 0;
  margin-right: 0;
  color: rgba(230, 238, 244, 0.6);
  font-size: var(--fs-caption);
  line-height: 1.4;
  font-weight: 400;
  text-wrap: pretty;
}

.game-promo__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.game-promo__chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(217, 122, 60, 0.44);
  background: rgba(217, 122, 60, 0.12);
  color: rgba(247, 231, 218, 0.98);
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  line-height: 1.2;
}

.game-promo__cta {
  display: block;
  width: fit-content;
  margin-top: 20px;
  min-height: 50px;
  padding-inline: clamp(24px, 2.2vw, 36px);
  box-shadow:
    0 14px 34px rgba(217, 122, 60, 0.34),
    0 0 26px rgba(217, 122, 60, 0.2);
}

@media (hover: hover) {
  .game-promo__cta:hover {
    box-shadow:
      0 18px 44px rgba(217, 122, 60, 0.42),
      0 0 34px rgba(217, 122, 60, 0.25);
  }
}

.game-promo__screen {
  position: relative;
  width: min(100%, 280px);
  aspect-ratio: 9 / 16;
  max-height: min(480px, 58vh);
  border-radius: 26px;
  padding: 8px;
  border: 2px solid rgba(7, 24, 33, 0.9);
  background: linear-gradient(160deg, rgba(7, 24, 33, 0.96), rgba(11, 34, 51, 0.92));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 16px 40px rgba(7, 24, 33, 0.45),
    0 0 36px rgba(217, 122, 60, 0.2);
  overflow: hidden;
  transition:
    transform var(--duration-base) var(--ease-premium),
    box-shadow var(--duration-base) ease;
}

.game-promo__video-badge {
  position: absolute;
  top: 16px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-copper), var(--brand-orange));
  color: #ffffff;
  font-family: var(--font-body);
  font-size: clamp(0.64rem, 0.17vw + 0.6rem, 0.74rem);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  pointer-events: none;
  box-shadow:
    0 0 14px rgba(217, 122, 60, 0.42),
    0 4px 12px rgba(217, 122, 60, 0.28);
  animation: game-promo-badge-glow 2.8s ease-in-out infinite;
}

@keyframes game-promo-badge-glow {
  0%,
  100% {
    box-shadow:
      0 0 12px rgba(217, 122, 60, 0.38),
      0 3px 10px rgba(217, 122, 60, 0.24);
  }

  50% {
    box-shadow:
      0 0 20px rgba(217, 122, 60, 0.55),
      0 5px 14px rgba(217, 122, 60, 0.38);
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-promo__video-badge {
    animation: none;
  }
}

.game-promo__screen.reveal--from-right {
  transform: translate3d(24px, 0, 0) scale(0.98);
}

.game-promo__screen.reveal--from-right.active {
  transform: translate3d(0, 0, 0) scale(1);
}

@media (hover: hover) {
  .game-promo__screen.reveal--from-right.active:hover {
    transform: translate3d(0, 0, 0) scale(1.02);
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.08),
      0 20px 48px rgba(7, 24, 33, 0.5),
      0 0 48px rgba(217, 122, 60, 0.32);
  }
}

.game-promo__screen video {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  object-fit: contain;
  background: #071821;
}

.game-promo__subtitle.reveal { transition-delay: 70ms; }
.game-promo__lead.reveal { transition-delay: 140ms; }
.game-promo__note.reveal { transition-delay: 210ms; }
.game-promo__chips .game-promo__chip.reveal:nth-child(1) { transition-delay: 280ms; }
.game-promo__chips .game-promo__chip.reveal:nth-child(2) { transition-delay: 350ms; }
.game-promo__chips .game-promo__chip.reveal:nth-child(3) { transition-delay: 420ms; }
.game-promo__cta.reveal { transition-delay: 500ms; }
.game-promo__screen.reveal { transition-delay: 120ms; }

@media (max-width: 900px) {
  .game-promo__card {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-template-areas:
      "head"
      "visual"
      "foot";
    row-gap: 20px;
  }

  .game-promo__visual {
    grid-row: auto;
  }

  .game-promo__head,
  .game-promo__foot {
    max-width: none;
    text-align: center;
  }

  .game-promo__foot {
    align-items: center;
  }

  .game-promo .section__head > .game-promo__subtitle,
  #game-promo .game-promo__subtitle {
    margin: clamp(20px, 4vw, 24px) auto clamp(16px, 3vw, 18px);
    font-size: clamp(1.2rem, 3.5vw + 0.75rem, 1.375rem);
  }

  .game-promo .section__head .game-promo__note {
    margin-inline: auto;
  }

  .game-promo__screen {
    margin-inline: auto;
  }
}

@media (max-width: 640px) {
  .game-promo__card {
    border-radius: 24px;
    padding: 20px 16px calc(18px + env(safe-area-inset-bottom, 0px));
    row-gap: 18px;
  }

  .game-promo__intro {
    margin-top: 0;
    gap: 5px;
  }

  .game-promo .section__head > .game-promo__subtitle,
  #game-promo .game-promo__subtitle {
    margin: clamp(20px, 4vw, 24px) auto clamp(16px, 3vw, 18px);
    font-size: clamp(1.2rem, 3.5vw + 0.75rem, 1.375rem);
  }

  .game-promo__chips {
    justify-content: center;
    gap: 8px;
  }

  .game-promo__chip {
    min-height: 32px;
    padding: 6px 10px;
  }

  .game-promo__cta {
    display: flex;
    width: 100%;
    margin-top: 18px;
    margin-bottom: 4px;
  }

  .game-promo__screen {
    width: min(100%, 260px);
    border-radius: 24px;
    max-height: min(440px, 52vh);
  }

  .game-promo__screen video {
    border-radius: 16px;
  }

  .game-promo__video-badge {
    top: 14px;
    right: 10px;
    padding: 6px 9px;
    font-size: clamp(0.58rem, 1.8vw + 0.5rem, 0.68rem);
  }
}

/* Слайдер «Наши работы» */
.section--works {
  background:
    radial-gradient(circle at 12% 18%, rgba(217, 122, 60, 0.08), transparent 32%),
    linear-gradient(180deg, #f7f4f1 0%, #ffffff 100%);
  overflow-x: hidden;
}

.works-slider-wrapper {
  box-sizing: border-box;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(320px, 420px);
  justify-content: center;
  align-items: center;
  gap: 56px;
  min-width: 0;
}

.works-slider__col--visual {
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.works-slider__stack {
  position: relative;
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 36px 32px 0;
  box-sizing: border-box;
}

.works-slider__ghost {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: #dce4ea;
  pointer-events: none;
}
.works-slider__ghost--1 {
  z-index: 1;
  transform: translate(14px, 12px);
  opacity: 0.18;
}
.works-slider__ghost--2 {
  z-index: 0;
  transform: translate(28px, 24px);
  opacity: 0.1;
}

.works-slider__frame {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 20px;
  border: none;
  background: #f7f4f1;
  border-radius: 28px;
  line-height: 0;
  cursor: zoom-in;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow:
    0 24px 60px rgba(7, 24, 33, 0.1),
    0 0 40px rgba(217, 122, 60, 0.08);
  transition: box-shadow 0.2s ease;
}
.works-slider__frame:hover {
  box-shadow:
    0 24px 60px rgba(7, 24, 33, 0.12),
    0 0 48px rgba(217, 122, 60, 0.14),
    0 3px 10px rgba(7, 24, 33, 0.05);
}
.works-slider__frame:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.works-slider__frame img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  object-position: center;
  border-radius: 22px;
  vertical-align: top;
  opacity: 1;
  transition: opacity var(--duration-base) var(--ease-premium);
}

.works-slider-wrapper.is-changing .works-slider__frame img {
  opacity: 0;
}

.works-slider__col--text .works-slider__title,
.works-slider__col--text .works-slider__meta,
.works-slider__col--text .works-slider__desc {
  transition:
    opacity var(--duration-base) var(--ease-premium),
    transform var(--duration-base) var(--ease-premium);
}

.works-slider__col--text.is-changing .works-slider__title,
.works-slider__col--text.is-changing .works-slider__meta,
.works-slider__col--text.is-changing .works-slider__desc {
  opacity: 0;
  transform: translateY(8px);
}

@media (prefers-reduced-motion: reduce) {
  .works-slider__frame img,
  .works-slider__col--text .works-slider__title,
  .works-slider__col--text .works-slider__meta,
  .works-slider__col--text .works-slider__desc {
    transition: none;
  }

  .works-slider-wrapper.is-changing .works-slider__frame img,
  .works-slider__col--text.is-changing .works-slider__title,
  .works-slider__col--text.is-changing .works-slider__meta,
  .works-slider__col--text.is-changing .works-slider__desc {
    opacity: 1;
    transform: none;
  }
}

.works-slider__thumbs {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 2px 6px;
  max-width: 520px;
  width: 100%;
  margin: 22px auto 0;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 107, 61, 0.4) transparent;
  -webkit-overflow-scrolling: touch;
}
.works-slider__thumbs::-webkit-scrollbar {
  height: 5px;
}
.works-slider__thumbs::-webkit-scrollbar-thumb {
  background: rgba(255, 107, 61, 0.45);
  border-radius: 8px;
}

.works-slider__thumb {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0;
  padding: 4px;
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: #f5f7fa;
  box-sizing: border-box;
  transition:
    border-color var(--duration-base) ease,
    box-shadow var(--duration-base) ease,
    transform var(--duration-base) var(--ease-premium),
    opacity var(--duration-base) ease;
}

.works-slider__thumb:not(.is-active) {
  opacity: 0.82;
}

.works-slider__thumb.is-active {
  opacity: 1;
  border-color: var(--brand-copper);
  box-shadow:
    0 0 0 1px rgba(217, 122, 60, 0.35),
    0 4px 14px rgba(217, 122, 60, 0.28);
}
@media (hover: hover) {
  .works-slider__thumb:hover {
    transform: scale(1.03);
  }
}
.works-slider__thumb:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.works-slider__thumb img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
}

.works-slider__col--text {
  align-self: center;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  min-width: 0;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  background: #ffffff;
  border: 1px solid rgba(217, 122, 60, 0.15);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
  height: fit-content;
}

.works-slider__kicker {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.works-slider__title {
  margin: 0 0 8px;
  color: var(--text);
}

.works-slider__meta {
  margin: 0 0 14px;
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--accent);
}

.works-slider__desc {
  margin: 0 0 22px;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--muted);
}

.works-slider__col--text .btn {
  margin-top: 0;
}

/* Desktop: компактная высота — planning, advantages, works */
@media (min-width: 992px) {
  #planning.planning-section,
  #advantages.section--why,
  #works.section.section--works {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  #planning .planning-section__head,
  #advantages .section__head,
  #works .section__head {
    margin-bottom: 28px;
  }

  #planning .planning-section__head .section-label,
  #advantages .section__head .section-label,
  #works .section__head .section-label {
    margin-bottom: 8px;
  }

  #planning .planning-section__head h2,
  #advantages .section__head h2,
  #works .section__head h2 {
    margin: 0;
  }

  #planning .planning-section__head p,
  #advantages .section__head p:not(.section-label),
  #works .section__head p {
    margin-top: 10px;
    line-height: 1.5;
  }

  .planning-grid-wrap {
    margin-top: 24px;
  }

  .planning-grid {
    gap: 22px;
  }

  .planning-card {
    min-height: 0;
    padding: 24px 26px;
  }

  .planning-card i {
    width: 48px;
    height: 48px;
    font-size: 22px;
    margin-bottom: 14px;
  }

  .planning-card h3 {
    margin-bottom: 8px;
  }

  .planning-card p {
    line-height: 1.5;
  }

  #advantages .why-grid {
    gap: 22px;
  }

  #advantages .adv-card:not(.adv-card--lead) {
    padding: 22px 20px 24px 28px;
  }

  #advantages .adv-card--lead {
    padding: 24px 22px 26px;
  }

  #advantages .adv-card i {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
    margin-bottom: 14px;
  }

  #advantages .adv-card:not(.adv-card--lead) h3 {
    margin-bottom: 8px;
  }

  #advantages .adv-card p {
    line-height: 1.5;
  }

  .works-slider-wrapper {
    gap: 40px;
    grid-template-columns: minmax(420px, 520px) minmax(340px, 420px);
    align-items: center;
  }

  .works-slider__col--visual {
    max-width: 540px;
  }

  .works-slider__stack {
    width: 100%;
    max-width: 540px;
    padding: 0 28px 18px 0;
  }

  .works-slider__frame {
    width: 100%;
    max-width: 520px;
    min-height: clamp(480px, 52vh, 580px);
    padding: clamp(16px, 1.4vw, 22px);
    border-radius: 28px;
  }

  .works-slider__frame img {
    width: auto;
    max-width: min(100%, 480px);
    height: auto;
    max-height: clamp(460px, 50vh, 580px);
    object-fit: contain;
    object-position: center;
    border-radius: 22px;
  }

  .works-slider__thumbs {
    max-width: 520px;
    margin-top: 16px;
    gap: 12px;
  }

  .works-slider__thumb {
    width: clamp(56px, 5vw, 72px);
    height: clamp(56px, 5vw, 72px);
  }

  .works-slider__col--text {
    align-self: center;
    max-width: 400px;
    padding: 26px 28px;
    border-radius: 22px;
  }

  .works-slider__kicker {
    margin-bottom: 6px;
  }

  .works-slider__title {
    margin-bottom: 6px;
  }

  .works-slider__meta {
    margin-bottom: 10px;
  }

  .works-slider__desc {
    margin-bottom: 16px;
    font-size: 0.9375rem;
    line-height: 1.5;
  }
}

@media (min-width: 992px) and (max-height: 860px) {
  #planning.planning-section,
  #advantages.section--why,
  #works.section.section--works,
  #objects-video.section.video-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  #planning .planning-section__head,
  #advantages .section__head,
  #works .section__head,
  #objects-video .section__head {
    margin-bottom: 22px;
  }

  .planning-grid {
    gap: 20px;
  }

  .planning-card {
    padding: 20px 22px;
  }

  #advantages .why-grid {
    gap: 20px;
  }

  #advantages .adv-card {
    padding: 24px 22px 26px;
  }

  .works-slider-wrapper {
    gap: 32px;
  }

  .works-slider__frame {
    min-height: clamp(400px, 46vh, 500px);
  }

  .works-slider__frame img {
    max-height: clamp(380px, 44vh, 500px);
  }

  #objects-video .video-real-card video {
    max-height: min(500px, 52vh);
  }
}

@media (min-width: 992px) and (max-height: 780px) {
  #planning.planning-section,
  #advantages.section--why,
  #works.section.section--works,
  #objects-video.section.video-section {
    padding-top: 44px;
    padding-bottom: 44px;
  }

  #planning .planning-section__head,
  #advantages .section__head,
  #works .section__head {
    margin-bottom: 18px;
  }

  .planning-grid {
    gap: 18px;
  }

  .planning-card {
    padding: 18px 20px;
  }

  .planning-card i {
    margin-bottom: 10px;
  }

  #advantages .why-grid {
    gap: 18px;
  }

  #advantages .adv-card:not(.adv-card--lead) {
    padding: 22px 20px 24px 28px;
  }

  #advantages .adv-card--lead {
    padding: 22px 20px 24px;
  }

  #advantages .adv-card i {
    margin-bottom: 12px;
  }

  .works-slider__frame {
    min-height: clamp(360px, 42vh, 440px);
  }

  .works-slider__frame img {
    max-height: clamp(340px, 40vh, 440px);
  }

  .works-slider__col--text {
    padding: 22px 24px;
  }

  #objects-video .section__head {
    margin-bottom: 16px;
  }

  #objects-video .video-real-card video {
    max-height: min(440px, 42vh);
  }

  #objects-video .objects-video__content {
    margin-top: 12px;
    flex-wrap: wrap;
  }
}

@media (max-width: 900px) {
  .works-slider-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
    justify-content: stretch;
  }
  .works-slider__col--visual {
    max-width: 100%;
    width: 100%;
  }
  .works-slider__stack {
    width: 100%;
    max-width: calc(100vw - 32px);
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px 20px 0;
  }
  .works-slider__frame {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: calc(100vw - 32px);
    min-height: auto;
    padding: 16px;
    border-radius: 24px;
  }

  .works-slider__frame img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(75vw, 520px);
    object-fit: contain;
    border-radius: 22px;
  }
  .works-slider__thumbs {
    max-width: calc(100vw - 32px);
    margin-top: 14px;
  }
  .works-slider__thumb {
    width: 64px;
    height: 64px;
  }
  .works-slider__col--text {
    align-self: stretch;
    max-width: calc(100vw - 32px);
    margin-left: auto;
    margin-right: auto;
    padding: 24px;
  }
}

.section.video-section {
  padding: calc(var(--space-section-y) - 16px) 0;
}

.objects-video {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  min-width: 0;
}

.video-real-card {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  padding: clamp(24px, 2.8vw, 32px);
  border-radius: 30px;
  border: 1px solid rgba(217, 122, 60, 0.22);
  background:
    linear-gradient(
      145deg,
      rgba(11, 42, 58, 0.98) 0%,
      rgba(7, 24, 33, 0.96) 100%
    );
  box-shadow:
    0 22px 58px rgba(7, 24, 33, 0.28),
    0 0 42px rgba(217, 122, 60, 0.12);
  overflow: hidden;
}

.video-real-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 88% 12%, rgba(217, 122, 60, 0.14), transparent 38%),
    radial-gradient(circle at 12% 88%, rgba(217, 122, 60, 0.08), transparent 34%);
  opacity: 0.9;
}

.video-real-card__frame,
.objects-video__content {
  position: relative;
  z-index: 1;
}

.video-real-card__frame {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(7, 24, 33, 0.85);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.video-real-card video {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 620px;
  aspect-ratio: 9 / 16;
  display: block;
  object-fit: contain;
  background: #071821;
  border-radius: 16px;
}

.objects-video__content {
  margin-top: clamp(18px, 2.4vw, 24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-sizing: border-box;
}

.objects-video__content p {
  margin: 0;
  color: #64748b;
  font-weight: 500;
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  text-wrap: pretty;
  text-align: center;
}

.objects-video__content .btn {
  min-height: 50px;
  box-shadow:
    0 14px 34px rgba(217, 122, 60, 0.34),
    0 0 26px rgba(217, 122, 60, 0.2);
}

@media (min-width: 992px) {
  #objects-video.section.video-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  #objects-video .section__head {
    margin-bottom: 24px;
  }

  #objects-video .section__head p {
    margin-top: 8px;
    line-height: 1.45;
  }

  .objects-video {
    max-width: min(620px, 100%);
  }

  .video-real-card {
    max-width: 620px;
  }

  .video-real-card video {
    max-height: min(620px, 68vh);
  }

  .objects-video__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .objects-video__content p {
    text-align: center;
  }

  .objects-video__content .btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (min-width: 992px) and (max-height: 900px) {
  #objects-video.section.video-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  #objects-video .section__head {
    margin-bottom: 20px;
  }

  #objects-video .video-real-card video {
    max-height: min(560px, 58vh);
  }
}


/* Отзывы: карусель кейсов */
.section--case-reviews {
  background:
    radial-gradient(circle at 90% 10%, rgba(217, 122, 60, 0.1), transparent 35%),
    linear-gradient(180deg, #f7f4f1 0%, #f4f7fa 100%);
  overflow-x: hidden;
}

.section--case-reviews .section__head {
  margin-bottom: var(--space-head-bottom);
}

.case-reviews-carousel {
  --case-slide-w: min(400px, calc(100vw - 140px));
  --case-slide-gap: 16px;
  position: relative;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 0 10px;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 4px 0 8px;
  box-sizing: border-box;
}

.case-reviews-carousel__viewport {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.case-reviews-carousel__track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--case-slide-gap);
  width: max-content;
  will-change: transform;
  transition: transform 0.55s var(--ease-premium);
}

.case-reviews-carousel__track.is-no-transition {
  transition: none;
}

.case-reviews-carousel__slide {
  flex: 0 0 var(--case-slide-w);
  width: var(--case-slide-w);
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.case-reviews-carousel__slide-scaler {
  width: 100%;
  max-width: 100%;
  transform-origin: center center;
  transition:
    transform 0.55s var(--ease-premium),
    opacity 0.45s ease;
}

.case-reviews-carousel__slide.is-tier-0 .case-reviews-carousel__slide-scaler {
  transform: scale(1);
  opacity: 1;
}
.case-reviews-carousel__slide.is-tier-1 .case-reviews-carousel__slide-scaler {
  transform: scale(0.93);
  opacity: 0.72;
}
.case-reviews-carousel__slide.is-tier-2 .case-reviews-carousel__slide-scaler {
  transform: scale(0.9);
  opacity: 0.58;
}

.case-review-card {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #fff;
  border-radius: var(--radius-card-lg);
  border: 1px solid rgba(217, 122, 60, 0.15);
  overflow: hidden;
  box-shadow:
    inset 3px 0 0 0 var(--brand-copper),
    var(--shadow-card);
  transition:
    transform var(--duration-base) var(--ease-premium),
    box-shadow var(--duration-base) ease;
}

@media (hover: hover) {
  .case-reviews-carousel__slide.is-tier-0 .case-review-card:hover {
    transform: translateY(var(--lift-hover));
    box-shadow:
      inset 3px 0 0 0 var(--brand-copper),
      var(--shadow-card-hover);
  }

  .case-reviews-carousel__slide.is-tier-0 .case-review-card:hover .case-review-card__media img {
    transform: scale(1.02);
  }

  .case-reviews-carousel__slide.is-tier-1 .case-review-card:hover {
    transform: translateY(var(--lift-hover));
    box-shadow:
      inset 3px 0 0 0 var(--brand-copper),
      var(--shadow-card-hover);
  }

  .case-reviews-carousel__slide.is-tier-1 .case-review-card:hover .case-review-card__media img {
    transform: scale(1.015);
  }
}

.case-review-card__media {
  position: relative;
  overflow: hidden;
  background: #e8eef3;
}

.case-review-card__media img {
  width: 100%;
  height: auto;
  max-height: 210px;
  min-height: 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--duration-base) var(--ease-premium);
}

.case-review-card__body {
  padding: 14px 16px 16px 18px;
}

.case-review-card__badge {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.case-review-card__title {
  margin: 0 0 4px;
  color: var(--text);
}

.case-review-card__meta {
  margin: 0 0 4px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}

.case-review-card__date {
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted);
  opacity: 0.92;
}

.case-review-card__stars {
  margin: 0 0 8px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--accent);
}

.case-review-card__quote {
  margin: 0 0 10px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--muted);
}

.case-review-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
  padding: 7px 14px 7px 12px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  border: 1px solid rgba(15, 38, 50, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.case-review-card__cta:hover {
  border-color: rgba(255, 107, 61, 0.45);
  background: rgba(255, 107, 61, 0.06);
  color: var(--text);
}

.case-review-card__cta-arrow {
  font-weight: 700;
  transition: transform 0.2s ease;
}

.case-review-card__cta:hover .case-review-card__cta-arrow {
  transform: translateX(3px);
}

.case-reviews-carousel__arrow {
  grid-row: 1;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--text);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  box-shadow:
    0 6px 16px rgba(15, 38, 50, 0.1),
    0 2px 6px rgba(15, 38, 50, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.case-reviews-carousel__arrow--prev {
  grid-column: 1;
}

.case-reviews-carousel__arrow--next {
  grid-column: 3;
}

.case-reviews-carousel__arrow:hover {
  transform: scale(1.07);
  color: var(--brand-copper);
  box-shadow:
    0 10px 24px rgba(217, 122, 60, 0.18),
    0 3px 8px rgba(7, 24, 33, 0.08);
}

.case-reviews-carousel__arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.case-reviews-carousel__dots {
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  padding: 0 8px;
}

.case-reviews-carousel__dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #b5c4d1;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    background 0.25s ease;
}

.case-reviews-carousel__dot.is-active {
  background: var(--accent);
  transform: scale(1.28);
}

.case-reviews-carousel__dot:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (min-width: 641px) {
  .case-reviews-carousel {
    --case-slide-w: min(400px, calc((100% - 120px) / 2.15));
  }
}

@media (min-width: 993px) {
  .case-reviews-carousel {
    --case-slide-w: min(400px, 392px);
    grid-template-columns: 52px minmax(0, 1fr) 52px;
    gap: 0 12px;
  }
}

@media (max-width: 640px) {
  .case-reviews-carousel__arrow {
    width: 44px;
    height: 44px;
    font-size: 1.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .case-reviews-carousel__track,
  .case-reviews-carousel__slide-scaler {
    transition-duration: 0.01ms;
  }
}

.seo-text .container {
  text-align: center;
}
.seo-text p {
  margin: 6px 0;
  color: var(--muted);
  font-weight: 500;
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  transition:
    border-color var(--duration-base) ease,
    box-shadow var(--duration-base) ease,
    transform var(--duration-base) var(--ease-premium);
}

.faq-item:hover {
  border-color: rgba(217, 122, 60, 0.28);
}

.faq-item.is-open {
  border-color: rgba(255, 107, 61, 0.58);
  box-shadow:
    0 14px 30px rgba(15, 23, 42, 0.1),
    0 0 22px rgba(217, 122, 60, 0.18);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.2vw + 0.96rem, 1.08rem);
  line-height: 1.4;
  font-weight: 600;
}

.faq-item__icon {
  flex: 0 0 auto;
  font-size: 1.25rem;
  color: #94a3b8;
  transform: rotate(0deg);
  transition:
    transform var(--duration-base) var(--ease-premium),
    color var(--duration-base) ease;
}

.faq-item.is-open .faq-item__icon {
  color: var(--accent);
  transform: rotate(90deg);
}

.faq-item__answer {
  height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    height var(--duration-base) var(--ease-premium),
    opacity var(--duration-base) var(--ease-premium);
}

.faq-item__answer-inner {
  padding: 0 22px 20px;
  color: #64748b;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
}

.faq-list .faq-item.reveal:nth-child(1) { transition-delay: 30ms; }
.faq-list .faq-item.reveal:nth-child(2) { transition-delay: 70ms; }
.faq-list .faq-item.reveal:nth-child(3) { transition-delay: 110ms; }
.faq-list .faq-item.reveal:nth-child(4) { transition-delay: 150ms; }
.faq-list .faq-item.reveal:nth-child(5) { transition-delay: 190ms; }
.faq-list .faq-item.reveal:nth-child(6) { transition-delay: 230ms; }
.faq-list .faq-item.reveal:nth-child(7) { transition-delay: 270ms; }
.faq-list .faq-item.reveal:nth-child(8) { transition-delay: 310ms; }
.faq-list .faq-item.reveal:nth-child(9) { transition-delay: 350ms; }
.faq-list .faq-item.reveal:nth-child(10) { transition-delay: 390ms; }

@media (max-width: 768px) {
  #faq.section {
    padding-bottom: calc(var(--space-section-y-mobile) + 12px);
  }

  .faq-list {
    gap: 10px;
  }

  .faq-item {
    border-radius: 20px;
  }

  .faq-item__question {
    padding: 16px 16px;
    gap: 12px;
    font-size: 1rem;
  }

  .faq-item__icon {
    font-size: 1.12rem;
  }

  .faq-item__answer-inner {
    padding: 0 16px 16px;
    font-size: var(--fs-caption);
    line-height: 1.6;
  }
}

.request-block {
  background:
    radial-gradient(circle at 14% 18%, rgba(217, 122, 60, 0.2), transparent 38%),
    radial-gradient(circle at 88% 8%, rgba(217, 122, 60, 0.12), transparent 36%),
    linear-gradient(135deg, var(--brand-dark), var(--brand-deep));
  color: #f5f8fb;
}

@media (min-width: 769px) {
  #request.request-block.section {
    padding: clamp(32px, 4.2vh, 52px) 0;
  }
}

.request-block__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(16px, 2vw, 22px);
  align-items: stretch;
}

.request-block__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  border-radius: 30px;
  padding: clamp(20px, 2.2vw, 28px);
  background: linear-gradient(145deg, rgba(10, 34, 51, 0.9), rgba(7, 24, 33, 0.9));
  border: 1px solid rgba(217, 122, 60, 0.24);
  box-shadow:
    0 22px 58px rgba(7, 24, 33, 0.36),
    0 0 42px rgba(217, 122, 60, 0.12);
  overflow: hidden;
}

.request-block__card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 90% 14%, rgba(217, 122, 60, 0.16), transparent 32%),
    repeating-linear-gradient(
      110deg,
      transparent 0,
      transparent 54px,
      rgba(217, 122, 60, 0.06) 54px,
      rgba(217, 122, 60, 0.06) 56px
    );
  opacity: 0.55;
}

.request-block__head {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-bottom: clamp(14px, 1.8vw, 18px);
}

.request-block__head h2 {
  margin-bottom: 0;
  color: #f5f8fb;
  font-size: clamp(1.5rem, 1.2vw + 1.1rem, 2.25rem);
  line-height: 1.18;
}

.request-block__intro {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.request-block__subtitle {
  margin: 0;
  max-width: 36rem;
  margin-left: 0;
  margin-right: 0;
  color: rgba(230, 238, 244, 0.6);
  font-size: var(--fs-caption);
  line-height: 1.4;
  font-weight: 400;
  text-wrap: pretty;
}

.request-form {
  background: #fff;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 10px 30px rgba(15,23,42,0.06);
  display: grid;
  gap: 12px;
  color: var(--text);
  max-width: 100%;
  min-width: 0;
  align-self: stretch;
}

.request-form__tasks {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.request-form__tasks-title {
  margin: 0 0 12px;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: 500;
  color: rgba(239, 245, 249, 0.94);
  letter-spacing: 0;
  line-height: 1.45;
}

.request-form__task-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.request-form__task-tab {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 0;
  cursor: pointer;
}

.request-form__task-tab input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.request-form__task-tab span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  width: 100%;
  height: 72px;
  min-height: 72px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-text);
  font-family: var(--font-body);
  font-size: clamp(0.8125rem, 0.12vw + 0.78rem, 0.9375rem);
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  box-sizing: border-box;
  transition:
    transform var(--duration-base) var(--ease-premium),
    border-color var(--duration-base) ease,
    box-shadow var(--duration-base) ease,
    background var(--duration-base) ease,
    color var(--duration-base) ease;
}

@media (hover: hover) {
  .request-form__task-tab:hover span {
    transform: translateY(-2px);
    border-color: rgba(217, 122, 60, 0.5);
    box-shadow: 0 10px 24px rgba(217, 122, 60, 0.2);
  }
}

.request-form__task-tab input:checked + span {
  border-color: rgba(217, 122, 60, 0.9);
  background: linear-gradient(135deg, #fff4eb, #ffe4d2);
  color: #8c451f;
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(217, 122, 60, 0.45),
    0 0 24px rgba(217, 122, 60, 0.2),
    0 14px 30px rgba(217, 122, 60, 0.24);
}

.request-form__task-tab input:focus-visible + span {
  outline: 2px solid rgba(255, 107, 61, 0.45);
  outline-offset: 2px;
}

.request-form__task-hint {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(217, 122, 60, 0.32);
  background: linear-gradient(145deg, rgba(8, 28, 40, 0.72), rgba(7, 24, 33, 0.76));
  box-shadow:
    0 10px 22px rgba(7, 24, 33, 0.22),
    0 0 22px rgba(217, 122, 60, 0.1);
  opacity: 0;
  transform: translateY(10px);
  max-height: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    opacity var(--duration-base) var(--ease-premium),
    transform var(--duration-base) var(--ease-premium),
    max-height var(--duration-base) var(--ease-premium),
    margin-top var(--duration-base) var(--ease-premium),
    padding var(--duration-base) var(--ease-premium);
}

.request-form__task-hint.is-visible {
  opacity: 1;
  transform: translateY(0);
  max-height: 180px;
  pointer-events: auto;
}

.request-form__task-hint-title {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: rgba(248, 235, 224, 0.98);
  font-size: clamp(0.875rem, 0.12vw + 0.84rem, 0.975rem);
  line-height: 1.45;
  font-weight: 600;
}

.request-form__task-hint-title::before {
  content: "\f270";
  font-family: "bootstrap-icons";
  font-style: normal;
  font-weight: normal;
  color: var(--brand-orange);
  font-size: 1.125rem;
  line-height: 1.45;
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(255, 107, 61, 0.35));
}

.request-form button[type="submit"]:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

.request-form__honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.request-form label:not(.consent-label) {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: var(--fs-caption);
}

.request-form input:not([type="checkbox"]),
.request-form textarea {
  width: 100%;
  border: 1px solid #d7e0e6;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
}

.request-form input:not([type="checkbox"]):focus,
.request-form textarea:focus {
  outline: 2px solid rgba(255,107,61,.25);
  border-color: var(--accent);
}

.request-form label.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  justify-content: flex-start;
  width: 100%;
  margin: 14px 0 18px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 400;
  color: #1f3340;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  padding: 0;
  flex-shrink: 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.consent-label a {
  color: var(--brand-orange);
  text-decoration: underline;
}

.consent-label a:hover {
  color: var(--accent);
}

.consent-label span {
  flex: 1;
  min-width: 0;
}

.request-form__privacy {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
}
.form-message { margin: 4px 0 0; color: var(--color-check); font-weight: 700; min-height: 22px; }
.form-message--error { color: #c0392b; }

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}

.footer__legal a {
  color: rgba(221, 230, 236, 0.68);
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer__legal a:hover {
  color: rgba(221, 230, 236, 0.88);
}

.legal-doc {
  padding: 40px 0 72px;
}

.legal-doc__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 24px;
  font-weight: 600;
  color: var(--accent);
}

.legal-doc__back:hover {
  color: var(--text);
}

.legal-doc__content {
  max-width: 720px;
  background: #fff;
  border: var(--border-card);
  border-radius: var(--radius-card-lg);
  padding: clamp(24px, 4vw, 40px);
  box-shadow: var(--shadow-card);
}

.legal-doc__content h1 {
  margin: 0 0 20px;
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
}

.legal-doc__content p {
  margin: 0 0 14px;
  color: var(--text);
}

.legal-doc__content ul {
  margin: 0 0 14px;
  padding-left: 1.25rem;
}

.legal-doc__content li {
  margin-bottom: 6px;
}

.legal-doc__content h2 {
  margin: 28px 0 12px;
  font-size: clamp(1.125rem, 1vw + 0.95rem, 1.375rem);
}

.legal-doc__content h2:first-of-type {
  margin-top: 8px;
}

.page-legal {
  padding-top: 0;
}

.legal-page-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e3eaee;
}

.legal-page-header .header__inner {
  min-height: 72px;
}

.contacts {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 20px;
}
.contacts__info {
  background: #fff;
  border: var(--border-card);
  border-radius: var(--radius-card-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
}
.contacts__info h2 {
  margin: 0 0 10px;
}

.contacts__phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 0 0 12px;
  line-height: 1.35;
}

.contacts__phones strong {
  display: block;
  margin-bottom: 2px;
  color: var(--text);
}

.contacts__phone {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
}

.contacts__phone--primary {
  color: var(--text);
  font-size: var(--fs-body);
}

.contacts__phone--secondary {
  color: var(--text);
  font-size: var(--fs-body);
}

.social-sticky {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 880;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.social-sticky__btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 10px 26px rgba(15, 42, 58, 0.22);
  transition:
    transform var(--duration-base) var(--ease-premium),
    box-shadow var(--duration-base) var(--ease-premium);
  position: relative;
  flex-shrink: 0;
}

.social-sticky__icon {
  display: block;
  width: 36px;
  height: 36px;
  max-width: 38px;
  max-height: 38px;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.social-sticky__label {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(15, 42, 58, 0.88);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) translateX(8px);
  transition:
    opacity 0.28s var(--ease-premium),
    transform 0.28s var(--ease-premium);
}

@media (hover: hover) {
  .social-sticky__btn:hover .social-sticky__label {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
  }

  .social-sticky__btn--vk:hover {
    transform: scale(1.06);
    box-shadow:
      0 14px 32px rgba(39, 135, 245, 0.42),
      0 0 22px rgba(39, 135, 245, 0.28);
  }

  .social-sticky__btn--max:hover {
    transform: scale(1.06);
    box-shadow:
      0 14px 32px rgba(26, 133, 255, 0.38),
      0 0 22px rgba(181, 54, 255, 0.3);
  }
}

.social-sticky__btn--vk {
  background: #2787f5;
}

.social-sticky__btn--max {
  display: none;
}

@media (min-width: 769px) {
  .social-sticky__btn--max {
    display: grid;
    background: linear-gradient(135deg, #1a85ff 0%, #8f47ff 52%, #b536ff 100%);
  }
}
.contacts__map {
  background: var(--brand-dark);
  padding: 6px;
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(7, 24, 33, 0.12);
  display: flex;
  flex-direction: column;
}

.contacts__map iframe {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(217, 122, 60, 0.12);
}

.contacts__route {
  margin: 10px auto 4px;
  width: fit-content;
  min-height: 44px;
  padding-inline: 20px;
}
.contacts__office-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
}

.footer {
  font-family: var(--font-body);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand-deep));
  color: var(--color-white);
  padding: 26px 0 30px;
}
.footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}
.footer__inner img {
  width: 130px;
  height: 80px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 6px;
  box-shadow: 0 0 24px rgba(217, 122, 60, 0.15);
}
.footer__inner h3 { margin: 0 0 6px; color: var(--color-white); }

.footer__phones {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0 0 6px;
}

.footer__phone {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
  color: var(--color-text-on-dark-muted);
}

.footer__phone--primary {
  opacity: 1;
}

.footer__phone--secondary {
  opacity: 1;
}

.footer__inner p:not(.footer__author) {
  margin: 2px 0;
  font-family: var(--font-body);
  color: var(--color-text-on-dark-muted);
  font-size: var(--fs-caption);
  line-height: var(--lh-caption);
}

.footer__info .footer__copyright {
  margin: 14px 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(221, 230, 236, 0.52);
}

.footer__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
  gap: 0;
}

.footer__author {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 280px;
  margin: 24px 0 0;
  padding: 0;
  text-align: center;
}

.footer__author-label {
  display: block;
  margin: 0 0 6px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  color: rgba(221, 230, 236, 0.68);
}

.footer__cta .footer__author-link {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: var(--brand-orange);
  text-decoration: none;
  text-shadow:
    0 0 14px rgba(255, 107, 61, 0.38),
    0 0 28px rgba(217, 122, 60, 0.18);
  transition:
    color 0.3s ease,
    text-shadow 0.3s ease;
}

@media (hover: hover) {
  .footer__cta .footer__author-link:hover {
    color: #ff8f5a;
    text-shadow:
      0 0 18px rgba(255, 107, 61, 0.48),
      0 0 32px rgba(217, 122, 60, 0.24);
  }
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  background: rgba(19, 33, 45, 0.96);
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.mobile-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  border-radius: var(--radius-btn);
  padding: 12px;
  font-family: var(--font-body);
  font-size: var(--fs-btn);
  font-weight: var(--fw-btn);
  text-decoration: none;
}
.mobile-bar__btn--call {
  background: var(--accent);
  color: #fff;
}
.mobile-bar__btn--max {
  background: #fff;
  color: var(--text);
}
.mobile-bar__icon {
  display: block;
  width: 30px;
  height: 30px;
  max-width: 32px;
  max-height: 32px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  background: rgba(0, 0, 0, .88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: min(980px, 92vw); max-height: 88vh; border-radius: 14px; object-fit: contain; }
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  font-size: 1.85rem;
  font-family: inherit;
  line-height: 1;
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--blue);
  display: block;
  margin: 5px 0;
  border-radius: 2px;
  transition:
    transform var(--duration-base) var(--ease-premium),
    opacity var(--duration-fast) ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 992px) {
  .header__inner {
    min-height: 56px;
    padding-block: 6px;
    gap: 10px;
    grid-template-columns: auto 1fr auto;
  }

  .header--scrolled .header__inner {
    min-height: 52px;
    padding-block: 5px;
  }

  .logo img {
    width: 78px;
    height: 46px;
    padding: 2px;
  }

  .header--scrolled .logo img {
    width: 74px;
    height: 44px;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    justify-self: end;
    z-index: 1102;
  }

  .nav-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1095;
    background: rgba(14, 42, 56, 0.42);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--duration-base) var(--ease-premium);
  }

  .header.is-menu-open .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1101;
    width: min(320px, 86vw);
    height: 100vh;
    height: 100dvh;
    max-width: 100%;
    padding: calc(var(--header-offset) + 20px) 22px 28px;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    overflow-x: hidden;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.98);
    border-left: 1px solid rgba(227, 234, 238, 0.9);
    box-shadow: -12px 0 40px rgba(15, 42, 58, 0.12);
    transform: translateX(100%);
    transition: transform 0.32s var(--ease-premium);
    -webkit-overflow-scrolling: touch;
  }

  .header.is-menu-open .nav {
    transform: translateX(0);
  }

  .nav a {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 1.0625rem;
  }

  .nav a.is-active::after {
    display: none;
  }

  .nav a.is-active {
    background: rgba(255, 107, 61, 0.1);
    box-shadow: inset 3px 0 0 #ff6b3d;
  }

  .header__contacts .btn {
    display: none;
  }
}

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

  .header,
  .header__inner,
  .logo img,
  .nav,
  .nav-backdrop,
  .menu-toggle span {
    transition: none;
  }
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity var(--duration-reveal) var(--ease-premium),
    transform var(--duration-reveal) var(--ease-premium);
}
.reveal.active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Варианты направления (опционально: class="reveal reveal--from-left") */
.reveal--from-left {
  transform: translate3d(-24px, 0, 0);
}
.reveal--from-right {
  transform: translate3d(24px, 0, 0);
}
.reveal--from-up {
  transform: translate3d(0, 24px, 0);
}
.reveal--from-left.active,
.reveal--from-right.active,
.reveal--from-up.active {
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal--from-left,
  .reveal--from-right,
  .reveal--from-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .services-ribbon__viewport {
    scroll-behavior: auto;
  }
  .services-ribbon.services-ribbon--carousel .services-ribbon__track,
  .case-reviews-carousel__track,
  .case-reviews-carousel__slide-scaler {
    transition-duration: 0.01ms;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 14px 34px rgba(217, 122, 60, 0.28);
  }
  50% {
    box-shadow: 0 18px 44px rgba(217, 122, 60, 0.38);
  }
}
@keyframes glow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 157, 120, .1)); }
  50% { filter: drop-shadow(0 0 15px rgba(255, 157, 120, .45)); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes floatGlow {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes heroFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes lineDraw {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@keyframes dotActivate {
  to {
    background: #ff6b3d;
    border-color: #ff6b3d;
    box-shadow: 0 0 8px rgba(255,107,61,0.4);
  }
}
@keyframes iconFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@media (max-width: 1100px) {
  .hero__grid.hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .request-block__inner {
    grid-template-columns: 1fr;
  }

  #request.request-block {
    padding-bottom: calc(var(--space-section-y-mobile) + 12px);
  }

  .request-block__card {
    border-radius: 24px;
    padding: 20px 16px;
  }

  .request-block__head {
    margin-bottom: 16px;
  }

  .request-block__intro {
    margin-top: 8px;
  }

  .request-form__task-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .request-form__task-tab span {
    height: 68px;
    min-height: 68px;
    padding: 10px 10px;
    border-radius: 16px;
    font-size: 0.875rem;
  }

  .request-form__task-hint {
    margin-top: 10px;
    padding: 10px 12px;
  }

  .hero {
    min-height: auto;
    padding: 72px 0 40px;
  }
  .hero-video {
    max-width: 360px;
    margin: 0;
  }
  .planning-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--2, .achievements { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .timeline__line { left: 12%; right: 12%; }
  .brands-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .official, .contacts, .call-master__inner { grid-template-columns: 1fr; display: grid; }
}

@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section--why .adv-card--lead {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .section { padding: var(--space-section-y-mobile) 0; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .hero__grid.hero-content {
    padding: 0;
    gap: 32px;
  }
  .hero {
    padding: 40px 0 48px;
  }
  .hero__subtitle {
    font-size: clamp(1rem, 0.5vw + 0.92rem, 1.125rem);
  }
  .hero__description {
    font-size: 17px;
  }
  .hero__actions {
    flex-direction: column;
    width: 100%;
  }
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-video {
    border-radius: 22px;
  }
  .planning-section {
    padding: 56px 0;
  }
  .planning-section__head {
    text-align: left;
  }
  .planning-section__head p {
    margin-left: 0;
    font-size: 16px;
  }
  .planning-grid-wrap {
    margin-top: 32px;
    overflow: hidden;
  }

  .planning-routes {
    display: block;
    left: 0;
    right: auto;
    width: 100%;
    max-width: 100%;
  }

  .planning-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 0;
    padding-left: 30px;
  }

  .planning-card {
    min-height: auto;
    padding: 22px;
    border-radius: 24px;
  }
  .grid--3, .call-master ul, .brands-row, .gallery { grid-template-columns: 1fr; }
  .timeline {
    grid-template-columns: 1fr;
    padding-left: 26px;
    gap: 14px;
  }
  .timeline__line {
    left: 18px;
    top: 0;
    bottom: 0;
    right: auto;
    width: 3px;
    height: auto;
  }
  .timeline__line span {
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--accent), #ff9f7f);
  }
  .process-line::after {
    width: 2px;
    height: 0;
  }
  .timeline.process-animate .process-line::after {
    animation: lineDrawVertical 2s ease forwards;
  }
  .process-line .process-dot {
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .process-line .process-dot:nth-child(1) { top: 0%; }
  .process-line .process-dot:nth-child(2) { top: 20%; }
  .process-line .process-dot:nth-child(3) { top: 40%; }
  .process-line .process-dot:nth-child(4) { top: 60%; }
  .process-line .process-dot:nth-child(5) { top: 80%; }
  .process-line .process-dot:nth-child(6) { top: 100%; }
  .timeline__step { text-align: left; }
  .timeline__step.process-step {
    align-items: flex-start;
  }
  .process-step h3 {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: min(100%, 11.5rem);
    justify-content: flex-start;
  }
  .process-step p {
    text-align: left;
    margin-top: 8px;
  }
  .timeline__step::before {
    left: -8px;
    transform: none;
    top: 18px;
  }
  .timeline__step img,
  .process-step img { margin: 14px 0 8px; }
  .timeline__number { margin: 0 0 8px; }
  .mobile-bar { display: grid; }
}

@media (max-width: 900px) {
  .hero__grid.hero-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .hero__right {
    justify-content: center;
  }
  .hero-video {
    max-width: 300px;
  }
}

@media (max-width: 640px) {
  .section--why {
    padding: 56px 0;
  }

  .section--why .section__head {
    margin-bottom: 32px;
    text-align: left;
  }

  .section--why .section__head p:not(.section-label) {
    margin-left: 0;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .section--why .adv-card--lead {
    grid-column: auto;
  }

  .section--why .adv-card:not(.adv-card--lead) {
    padding: 22px 20px 24px 28px;
  }

  .section--why .adv-card:not(.adv-card--lead)::before {
    top: 18px;
    bottom: 18px;
    left: 11px;
  }

  .section--why .adv-card--lead {
    padding: 24px 22px 26px;
  }
}


.process-step img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
@keyframes lineDrawVertical {
  from {
    height: 0;
  }
  to {
    height: 100%;
  }
}

@media (max-width: 768px) {
  .site-ticker__track {
    --ticker-duration: 38s;
  }

  html,
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  .container {
    width: min(1180px, calc(100% - 32px));
    max-width: 100%;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .btn {
    min-height: 52px;
  }

  .header__contacts {
    justify-self: end;
  }

  .header__contacts .btn {
    display: none;
  }

  .header__phones {
    align-items: flex-end;
    gap: 0;
    line-height: 1.12;
  }

  .header__phone--primary {
    font-size: 0.75rem;
  }

  .header__phone--secondary {
    font-size: 0.75rem;
  }

  .hero {
    min-height: auto;
    padding: 36px 0 32px;
  }

  .hero__grid.hero-content,
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    text-align: center;
  }

  .hero__left {
    width: 100%;
  }

  .hero-title,
  .hero h1 {
    margin-bottom: 10px;
  }

  .hero__subtitle {
    font-size: clamp(1rem, 0.5vw + 0.92rem, 1.125rem);
    line-height: 1.45;
    margin-bottom: 12px;
  }

  .hero__subtitle-services {
    display: grid;
    gap: 2px;
  }

  .hero__subtitle-services-row {
    display: block;
  }

  .hero__subtitle-services-row + .hero__subtitle-services-row::before {
    content: none;
  }

  .hero__subtitle br {
    display: none;
  }

  .hero__subtitle-region {
    display: block;
    margin-top: 6px;
  }

  .hero__description {
    font-size: var(--fs-caption);
    line-height: 1.55;
    margin-bottom: 12px;
  }

  .hero__slogan {
    font-size: clamp(1.03rem, 2.2vw + 0.68rem, 1.18rem);
    line-height: 1.45;
    font-weight: 700;
    text-shadow: 0 0 16px rgba(255, 107, 61, 0.38);
    margin-bottom: 12px;
  }

  .hero-buttons,
  .hero__actions {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .hero-buttons .btn,
  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-list {
    margin-bottom: 12px;
  }

  .trust-list li {
    font-size: var(--fs-caption);
    line-height: var(--lh-caption);
    margin-bottom: 6px;
  }

  .hero__right {
    width: 100%;
    justify-content: center;
  }

  .hero-image,
  .hero-video,
  .hero-poster {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .hero-video video,
  .hero-poster img {
    width: 100%;
    height: auto;
  }

  .card,
  .achievement,
  .adv-card,
  .planning-card,
  .service-card,
  .case-review-card,
  .gallery__item {
    width: 100%;
    max-width: 100%;
  }

  .timeline {
    grid-template-columns: 1fr;
    padding-left: 26px;
    gap: 14px;
    overflow: hidden;
  }

  .timeline__line {
    left: 18px;
    top: 0;
    bottom: 0;
    right: auto;
    width: 3px;
    height: auto;
  }

  .timeline__step {
    text-align: left;
  }
  .timeline__step.process-step {
    align-items: flex-start;
  }
  .process-step h3 {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    max-width: min(100%, 11.5rem);
    justify-content: flex-start;
  }
  .process-step p {
    text-align: left;
    margin-top: 8px;
  }

  .timeline__step::before {
    left: -8px;
    transform: none;
    top: 18px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .footer__cta {
    width: 100%;
    max-width: 320px;
  }

  .footer__info .footer__copyright {
    margin-top: 16px;
  }

  .section {
    padding: var(--space-section-y-mobile) 0;
  }

  .section.video-section,
  .planning-section,
  .section--why {
    padding-top: var(--space-section-y-mobile);
    padding-bottom: var(--space-section-y-mobile);
  }

  /* Услуги: карусель на mobile */
  .section--services {
    overflow-x: hidden;
  }

  .section--services .container {
    overflow-x: hidden;
  }

  .services-ribbon.services-ribbon--carousel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 0;
    width: 100%;
    max-width: 100%;
    padding: 0 0 8px;
    overflow: hidden;
    box-sizing: border-box;
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__viewport {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(360px, calc(100vw - 32px));
    max-width: min(360px, calc(100vw - 32px));
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
    scroll-snap-type: none;
    -webkit-overflow-scrolling: auto;
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__track {
    gap: 12px;
    padding: 0;
    will-change: transform;
    transition: transform 0.55s var(--ease-premium);
    align-items: stretch;
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__slide {
    flex: 0 0 min(360px, calc(100vw - 32px));
    width: min(360px, calc(100vw - 32px));
    max-width: min(360px, calc(100vw - 32px));
    min-width: 0;
    box-sizing: border-box;
    transition: opacity 0.35s ease;
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__slide.is-tier-1,
  .services-ribbon.services-ribbon--carousel .services-ribbon__slide.is-tier-2 {
    opacity: 0;
    pointer-events: none;
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__slide.is-tier-0 {
    opacity: 1;
    pointer-events: auto;
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: min(360px, calc(100vw - 32px));
    height: auto;
    min-height: 0;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    transform: none;
    opacity: 1;
    box-sizing: border-box;
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__media {
    display: block;
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: #e8eef3;
    border-radius: var(--radius-card-lg) var(--radius-card-lg) 0 0;
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__media img {
    display: block;
    width: 100%;
    height: clamp(190px, 52vw, 220px);
    max-height: 220px;
    min-height: 0;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__body {
    display: flex;
    flex-direction: column;
    flex: 0 0 auto;
    width: 100%;
    padding: 22px 24px 24px;
    box-sizing: border-box;
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__title,
  .services-ribbon.services-ribbon--carousel .services-ribbon__text {
    opacity: 1;
    visibility: visible;
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__arrow {
    position: static;
    width: 46px;
    height: 46px;
    z-index: 2;
    align-self: center;
    margin-top: 14px;
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__arrow--prev {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    margin-right: 16px;
    margin-left: 0;
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__arrow--next {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-left: 16px;
    margin-right: 0;
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__dots {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex;
    justify-content: center;
    margin-top: 12px;
    padding: 0 8px 4px;
  }

  /* Отзывы: карточка и управление под слайдером */
  .section--case-reviews {
    overflow-x: hidden;
  }

  .section--case-reviews .container {
    overflow-x: hidden;
  }

  .case-reviews-carousel {
    --case-slide-w: min(360px, calc(100vw - 32px));
    --case-slide-gap: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 0;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
  }

  .case-reviews-carousel__viewport {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(360px, calc(100vw - 32px));
    max-width: min(360px, calc(100vw - 32px));
    margin: 0 auto;
    overflow: hidden;
    padding: 0;
  }

  .case-reviews-carousel__track {
    align-items: stretch;
  }

  .case-reviews-carousel__slide {
    flex: 0 0 var(--case-slide-w);
    width: var(--case-slide-w);
    max-width: var(--case-slide-w);
    min-width: 0;
    box-sizing: border-box;
  }

  .case-reviews-carousel__slide-scaler {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    transform: none;
    opacity: 1;
  }

  .case-reviews-carousel__slide.is-tier-1 .case-reviews-carousel__slide-scaler,
  .case-reviews-carousel__slide.is-tier-2 .case-reviews-carousel__slide-scaler {
    opacity: 0;
    pointer-events: none;
    transform: none;
  }

  .case-reviews-carousel__slide.is-tier-0 .case-reviews-carousel__slide-scaler {
    opacity: 1;
    pointer-events: auto;
  }

  .case-review-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: min(360px, calc(100vw - 32px));
    height: auto;
    min-height: 0;
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
  }

  .case-review-card__media {
    flex: 0 0 auto;
    width: 100%;
    overflow: hidden;
  }

  .case-review-card__media img {
    display: block;
    width: 100%;
    height: clamp(210px, 56vw, 240px);
    max-height: 240px;
    min-height: 0;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
  }

  .case-review-card__body {
    flex: 0 0 auto;
    width: 100%;
    padding: 22px 24px 24px;
    box-sizing: border-box;
  }

  .case-review-card__meta,
  .case-review-card__date {
    font-size: 0.8125rem;
  }

  .case-review-card__quote {
    font-size: 0.9375rem;
    line-height: 1.45;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .case-review-card__cta {
    max-width: 100%;
    box-sizing: border-box;
    font-size: 0.8125rem;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  .case-reviews-carousel__arrow {
    position: static;
    width: 46px;
    height: 46px;
    z-index: 2;
    align-self: center;
    margin-top: 14px;
  }

  .case-reviews-carousel__arrow--prev {
    grid-column: 1;
    grid-row: 2;
    justify-self: end;
    margin-right: 16px;
    margin-left: 0;
  }

  .case-reviews-carousel__arrow--next {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-left: 16px;
    margin-right: 0;
  }

  .case-reviews-carousel__dots {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex;
    justify-content: center;
    margin-top: 12px;
    padding: 0 8px 4px;
  }

  /* Видео с объектов — компактнее на mobile */
  #objects-video.section.video-section {
    overflow-x: hidden;
    padding-bottom: calc(var(--space-section-y-mobile) + 12px);
  }

  #objects-video .container {
    overflow-x: hidden;
  }

  .objects-video {
    width: 100%;
    max-width: calc(100vw - 32px);
  }

  .video-real-card {
    width: 100%;
    max-width: 100%;
    padding: 20px 16px 22px;
    border-radius: 24px;
  }

  .video-real-card__frame {
    border-radius: 18px;
  }

  .video-real-card video {
    width: auto;
    max-width: 100%;
    max-height: min(72vh, calc((100vw - 64px) * 16 / 9));
    aspect-ratio: 9 / 16;
    object-fit: contain;
    border-radius: 14px;
  }

  .objects-video__content {
    margin-top: 16px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 12px;
  }

  .objects-video__content p {
    text-align: center;
  }

  .objects-video__content .btn {
    width: 100%;
    white-space: normal;
  }

  /* Sticky соцсети и отступ под нижнюю панель */
  body {
    padding-bottom: 90px;
  }

  .mobile-bar {
    display: grid;
  }

  .social-sticky {
    right: 14px;
    bottom: calc(92px + env(safe-area-inset-bottom, 0px));
    z-index: 850;
    flex-direction: column;
    gap: 10px;
  }

  .social-sticky__label {
    display: none;
  }

  .social-sticky__btn {
    width: 56px;
    height: 56px;
    box-shadow: 0 8px 20px rgba(15, 42, 58, 0.18);
  }

  .social-sticky__icon {
    width: 34px;
    height: 34px;
    max-width: 36px;
    max-height: 36px;
  }

  .social-sticky__btn--vk:active {
    transform: scale(0.97);
  }

  .mobile-bar__icon {
    width: 30px;
    height: 30px;
  }
}

/* Узкие экраны: 320–430px — без горизонтального скролла */
@media (max-width: 430px) {
  .container {
    width: calc(100% - 24px);
  }

  .header__inner {
    min-height: 52px;
    padding-block: 5px;
    gap: 8px;
  }

  .logo img {
    width: 72px;
    height: 42px;
  }

  .header__phone--primary {
    font-size: 0.72rem;
  }

  .header__phone--secondary {
    font-size: 0.72rem;
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__viewport,
  .case-reviews-carousel__viewport {
    width: min(360px, calc(100vw - 24px));
    max-width: min(360px, calc(100vw - 24px));
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__slide,
  .services-ribbon.services-ribbon--carousel .services-ribbon__card,
  .case-reviews-carousel {
    --case-slide-w: min(360px, calc(100vw - 24px));
  }

  .case-reviews-carousel__slide,
  .case-review-card {
    max-width: min(360px, calc(100vw - 24px));
  }

  .objects-video {
    max-width: calc(100vw - 24px);
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__arrow--prev,
  .case-reviews-carousel__arrow--prev {
    margin-right: 10px;
  }

  .services-ribbon.services-ribbon--carousel .services-ribbon__arrow--next,
  .case-reviews-carousel__arrow--next {
    margin-left: 10px;
  }

  .works-slider__stack,
  .works-slider__frame,
  .works-slider__thumbs,
  .works-slider__col--text {
    max-width: 100%;
  }

  .works-slider-wrapper {
    gap: 28px;
  }
}

/* Фирменная декоративная линия-труба (desktop) */
@media (min-width: 993px) {
  #achievements.section--gray,
  #services.section--services,
  #works.section--works,
  #reviews.section--case-reviews,
  #faq.section {
    position: relative;
  }

  #achievements.section--gray::after,
  #services.section--services::after,
  #works.section--works::after,
  #reviews.section--case-reviews::after,
  #faq.section::after {
    content: "";
    position: absolute;
    left: max(16px, calc(50% - 588px));
    top: 16%;
    bottom: 16%;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(217, 122, 60, 0.14) 14%,
      rgba(217, 122, 60, 0.2) 50%,
      rgba(217, 122, 60, 0.14) 86%,
      transparent 100%
    );
    pointer-events: none;
    z-index: 0;
  }

  #achievements .container,
  #services .container,
  #works .container,
  #reviews .container,
  #faq .container {
    position: relative;
    z-index: 1;
  }
}

.contacts__info h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-copper), transparent);
  opacity: 0.75;
  margin: 14px 0 0;
}

.page-error {
  min-height: 100vh;
  background: linear-gradient(180deg, #f7f4f1 0%, #ffffff 42%);
}

.page-error__main {
  display: grid;
  place-items: center;
  min-height: calc(100vh - 72px);
  padding: 48px 0 64px;
}

.page-error__card {
  max-width: 640px;
  text-align: center;
  background: #fff;
  border: var(--border-card);
  border-radius: var(--radius-card-lg);
  box-shadow: var(--shadow-card);
  padding: 48px 32px;
}

.page-error__code {
  margin: 0 0 8px;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 1;
  font-weight: 700;
  color: rgba(255, 107, 61, 0.18);
}

.page-error__card h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.page-error__text {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.page-error__card .btn {
  min-width: 220px;
}
