/* Geologica — self-hosted (mirrors Google Fonts CSS2 variable subsets) */
/* cyrillic-ext */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geologica/geologica-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geologica/geologica-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* greek */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geologica/geologica-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
/* vietnamese */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geologica/geologica-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geologica/geologica-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/geologica/geologica-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-bg-page: #f4f6f8;
  --color-bg-nav: #ffffff;
  --color-text: #18202a;
  --color-text-muted: #6d7785;
  --color-text-sub: #7e8793;
  --color-border: rgba(12, 31, 52, 0.08);
  --color-border-input: #ccd4dd;
  --color-step-num: #a6b2c3;
  --color-footer: #111821;
  --color-tag-bg: #edf1f5;
  --color-tag-text: #0f2742;
  --gradient-cta: linear-gradient(90deg, #E4531B 0%, #B23C10 100%);
  --gradient-cta-v: linear-gradient(180deg, #E4531B 0%, #B23C10 100%);
  --color-accent: #E4531B;
  --shadow-card: 0 5px 32px rgba(12, 31, 52, 0.06);
  --shadow-card-strong: 5px 5px 32px rgba(12, 31, 52, 0.06);
  --shadow-license: 0 4px 4px rgba(12, 31, 52, 0.15);
  --radius-sm: 10px;
  --radius-md: 20px;
  --radius-pill: 980px;
  --font: "Geologica", system-ui, -apple-system, sans-serif;
  --ease-apple: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 0.22s;
  --duration-med: 0.4s;
  --container-pad: clamp(16px, 4vw, 80px);
  --container-max: 1440px;
  --content-max: 1310px;

  --color-navy: #0f2742;
  --color-graphite: #18202a;
  --color-steel: #edf1f5;
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  color: var(--color-text);
  background: var(--color-bg-page);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.section {
  padding-top: 50px;
  padding-bottom: 50px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg-nav);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: clamp(16px, 2.2vw, 32px);
  min-height: 156px;
}

.logo {
  display: flex;
  align-items: center;
  width: 308px;
  height: 152px;
  margin-left: 0;
  flex-shrink: 0;
  transition: opacity var(--duration-fast) var(--ease-apple);
}

.logo:hover {
  opacity: 0.85;
}

.logo__img {
  display: block;
  width: 308px;
  height: 152px;
  max-width: none;
  object-fit: contain;
  object-position: left center;
}

.logo-fig {
  position: relative;
  display: block;
  width: 127px;
  height: 45px;
}

.logo-fig img {
  position: absolute;
  display: block;
}

.logo-fig__base {
  left: 0;
  top: 0;
  width: 40px;
  height: 45px;
}

.logo-fig__dot--1 {
  left: 11px;
  top: 7px;
  width: 3px;
  height: 3px;
}

.logo-fig__dot--2 {
  left: 15px;
  top: 4px;
  width: 4px;
  height: 4px;
}

.logo-fig__dot--3 {
  left: 18px;
  top: 0;
  width: 5px;
  height: 5px;
}

.logo-fig__line--1 {
  left: 4px;
  top: 41px;
  width: 9px;
  height: 4px;
}

.logo-fig__line--2 {
  left: 16px;
  top: 41px;
  width: 9px;
  height: 4px;
}

.logo-fig__line--3 {
  left: 29px;
  top: 41px;
  width: 9px;
  height: 4px;
}

.logo-fig__word {
  position: absolute;
  left: 45px;
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-transform: uppercase;
}

.logo-fig__word--top {
  top: 11px;
  letter-spacing: -0.0125em;
}

.logo-fig__word--bottom {
  top: 27px;
  letter-spacing: 0.147em;
}

.site-header__spacer {
  flex: 1 1 auto;
  min-width: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--color-text);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.site-header__nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  flex-shrink: 1;
  min-width: 0;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(16px, 2vw, 28px);
  font-size: clamp(17px, 1.15vw, 20px);
  color: var(--color-text-muted);
  letter-spacing: 0.0125em;
  white-space: nowrap;
}

.nav-links a {
  position: relative;
  transition: color var(--duration-fast) var(--ease-apple);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--color-text);
  transition: width var(--duration-med) var(--ease-apple);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: clamp(17px, 1.15vw, 20px);
  font-weight: 500;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.nav-contact-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-contact-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.nav-contact-icon img {
  position: absolute;
  inset: 0;
  width: 20px;
  height: 20px;
  object-fit: cover;
}

.nav-contact-row > img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: var(--gradient-cta);
  border-radius: var(--radius-pill);
  transition:
    transform var(--duration-fast) var(--ease-out),
    filter var(--duration-fast) var(--ease-apple),
    box-shadow var(--duration-fast) var(--ease-apple);
}

.btn:hover {
  filter: brightness(1.06);
  box-shadow: 0 8px 24px rgba(228, 83, 27, 0.25);
}

.btn:active {
  transform: scale(0.98);
}

.btn--sm {
  padding: 12px 24px;
  font-size: 14px;
}

.btn--nav {
  padding: 14px 32px;
  font-size: 18px;
  flex-shrink: 0;
}

.btn--service {
  padding: 10px 18px;
  font-size: 13px;
}

.hero {
  position: relative;
  min-height: 420px;
  padding: 140px 0 50px;
  overflow: hidden;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  isolation: isolate;
}

.hero__bg::before,
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero__bg::before {
  z-index: 1;
  background:
    radial-gradient(58% 82% at 20% 30%, rgba(9, 18, 30, 0.14) 0%, rgba(9, 18, 30, 0.2) 62%, rgba(9, 18, 30, 0.3) 100%),
    linear-gradient(102deg, rgba(8, 14, 24, 0.3) 0%, rgba(8, 14, 24, 0.1) 47%, rgba(8, 14, 24, 0.34) 100%);
}

.hero__bg::after {
  z-index: 2;
  backdrop-filter: blur(2.5px);
  background: rgba(0, 0, 0, 0.02);
}

.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  object-position: center center;
  filter: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--container-max);
}

.hero__title {
  margin: 0 0 20px;
  font-size: clamp(28px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.07;
  color: #fff;
  max-width: 904px;
  padding: 4px 0;
}

.hero__meta {
  margin-left: 0;
  max-width: 880px;
}

.hero__lead {
  margin: 0 0 20px;
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.38;
  color: #fff;
  max-width: 971px;
  padding-top: 30px;
}

@media (min-width: 1200px) {
  .bento-section .container,
  .services-section .container,
  .steps-section .container,
  .cases-section .container,
  .thanks-section .container,
  .licenses-section .container {
    padding-right: 50px;
  }
}

@media (max-width: 900px) {
  .hero__meta {
    margin-left: 0;
    max-width: 100%;
  }
}

.stats {
  background: #ffffff;
  padding: 32px 0;
  overflow: hidden;
}

.stats__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  min-height: 0;
}

.stats__big {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  line-height: 1;
}

.stats__num {
  margin: 0;
  font-size: clamp(80px, 14vw, 160px);
  font-weight: 500;
  color: var(--color-navy);
  line-height: 0.92;
  letter-spacing: 0;
}

.stats__years {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 500;
  letter-spacing: clamp(0.02em, 0.55vw, 0.09em);
  line-height: 1;
  color: var(--color-text-muted);
}

.stats__grid {
  display: flex;
  gap: 24px;
  align-items: stretch;
  margin-top: 20px;
  flex-wrap: wrap;
}

.stats__item {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  height: auto;
  padding-left: 10px;
  flex: 1 1 140px;
  min-width: 0;
  max-width: 280px;
}

.stats__item--regions {
  flex-basis: 220px;
}

.stats__item--count {
  flex-basis: 160px;
}

.stats__item--top {
  flex-basis: 160px;
}

@media (min-width: 900px) and (max-width: 1199px) {
  .stats__grid {
    justify-content: flex-start;
    gap: 28px;
  }
}

@media (min-width: 1200px) {
  .stats {
    padding: 40px 0;
  }

  .stats__inner {
    position: static;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 48px;
    max-width: var(--content-max);
    width: 100%;
    margin-left: 0;
    margin-right: auto;
    min-height: 0;
    flex-wrap: wrap;
  }

  .stats__big {
    position: static;
    align-items: flex-end;
    flex-wrap: nowrap;
    flex-shrink: 0;
    gap: 12px;
  }

  .stats__num {
    font-size: clamp(80px, 10vw, 140px);
    line-height: 1;
  }

  .stats__years {
    font-size: clamp(28px, 3vw, 44px);
    letter-spacing: 0.04em;
    white-space: nowrap;
    position: static;
    display: flex;
    align-items: flex-end;
    background: transparent;
    height: auto;
    padding-bottom: 8px;
    z-index: auto;
  }

  .stats__grid {
    position: static;
    left: auto;
    width: auto;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 0;
    gap: 36px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    flex: 1 1 400px;
    box-sizing: border-box;
    align-items: flex-start;
  }

  .stats__item {
    flex: 1 1 0;
    max-width: 280px;
    min-width: 120px;
  }

  .stats__item--regions {
    flex-basis: 0;
    min-width: 140px;
  }

  .stats__item--count {
    flex-basis: 0;
    min-width: 150px;
  }

  .stats__item--top {
    flex-basis: 0;
    min-width: 160px;
  }

  .stat-item__value {
    font-size: clamp(22px, 2.2vw, 34px);
  }
}

.stat-item__bar {
  width: 38px;
  height: 4px;
  border-radius: 2px;
  background: var(--gradient-cta);
  margin-bottom: 8px;
  flex-shrink: 0;
}

.stat-item__value {
  margin: 0;
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.stat-item__hint {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.35;
  color: var(--color-text-sub);
  max-width: 100%;
  width: auto;
}

.stats__item--regions .stat-item__hint {
  width: auto;
  max-width: 240px;
}

.stats__item--count .stat-item__hint {
  width: auto;
  max-width: 200px;
}

.stats__item--top .stat-item__hint {
  width: auto;
  max-width: 200px;
}

@media (max-width: 899px) {
  .stats {
    padding: 36px 0;
  }

  .stats__inner {
    min-height: 0;
    max-width: 100%;
    display: block;
  }

  .stats__big {
    align-items: flex-end;
    gap: 10px;
    line-height: 1;
    flex-wrap: wrap;
  }

  .stats__num {
    font-size: clamp(60px, 20vw, 110px);
    line-height: 0.92;
  }

  .stats__years {
    font-size: clamp(24px, 9vw, 48px);
    letter-spacing: 0.06em;
    padding-bottom: 0;
    position: static;
    background: transparent;
  }

  .stats__grid {
    position: static;
    transform: none;
    margin-top: 24px;
    gap: 18px;
    flex-direction: column;
  }

  .stats__item,
  .stats__item--regions,
  .stats__item--count,
  .stats__item--top {
    width: 100%;
    max-width: 320px;
    height: auto;
    padding-left: 0;
    flex-basis: auto;
  }

  .stat-item__value {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 1.15;
    white-space: nowrap;
  }

  .stat-item__hint {
    font-size: 14px;
    line-height: 1.35;
    max-width: 100%;
    width: auto !important;
  }
}

/* Блок фактов о компании */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 32px;
}

.fact-card {
  background: #fafafa;
  padding: 24px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition:
    transform var(--duration-fast) var(--ease-apple),
    box-shadow var(--duration-fast) var(--ease-apple);
}

.fact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.fact-card__dot {
  width: 8px;
  height: 8px;
  background: var(--color-navy);
  border-radius: 50%;
}

.fact-card__title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-navy);
}

.fact-card__text {
  margin: 0;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.section-title {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.0125em;
  line-height: 1.1;
}

.section-title--bold {
  font-weight: 700;
}

.section-lead {
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.4;
  color: var(--color-text-muted);
  max-width: 800px;
}

.bento-section {
  background: #fff;
}

.bento-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bento-row {
  display: grid;
  gap: 16px;
}

.bento-row--3 {
  grid-template-columns: repeat(3, 1fr);
}

.bento-row--2 {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 1024px) {
  .bento-row--3,
  .bento-row--2 {
    grid-template-columns: 1fr;
  }
}

.bento-card {
  position: relative;
  min-height: 284px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-card-strong);
  transition:
    transform var(--duration-med) var(--ease-apple),
    box-shadow var(--duration-med) var(--ease-apple);
}

.bento-card:hover {
  transform: scale(1.01) translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.bento-card__media {
  position: absolute;
  inset: 0;
}

.bento-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-card--crop-left .bento-card__media img {
  width: 100%;
  height: 100%;
  left: 0;
  position: absolute;
  object-fit: cover;
  object-position: center 18%;
}

.bento-card--crop-tall .bento-card__media img {
  width: 100%;
  height: 190%;
  max-width: none;
  top: -31%;
  position: absolute;
  object-fit: cover;
}

.bento-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 10px;
  z-index: 1;
}

.bento-card__overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.12) 0%,
    rgba(0, 0, 0, 0.24) 56%,
    rgba(0, 0, 0, 0.42) 100%
  );
  pointer-events: none;
}

.bento-card__overlay::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.28) 48%,
    rgba(0, 0, 0, 0.44) 100%
  );
  opacity: 0;
  transition: opacity var(--duration-med) var(--ease-apple);
  pointer-events: none;
  z-index: 1;
}

.bento-card__blur {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 63px;
  background: rgba(0, 0, 0, 0.5);
  filter: blur(25px);
  transform: translateY(20%);
  z-index: 1;
  pointer-events: none;
}

.bento-card__title {
  position: relative;
  margin: 0;
  font-size: clamp(22px, 3vw, 29px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  z-index: 2;
}

.bento-card__title::before {
  content: "";
  position: absolute;
  left: -10px;
  right: -10px;
  top: -8px;
  bottom: -10px;
  background: rgba(0, 0, 0, 0.34);
  filter: blur(14px);
  z-index: -1;
  pointer-events: none;
}

.bento-card__expand {
  position: relative;
  width: 100%;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  z-index: 2;
  transition:
    max-height var(--duration-med) var(--ease-apple),
    opacity var(--duration-med) var(--ease-apple),
    margin-top var(--duration-med) var(--ease-apple);
}

.bento-card:hover .bento-card__expand,
.bento-card:focus-within .bento-card__expand,
.bento-card.is-expanded .bento-card__expand {
  max-height: 160px;
  opacity: 1;
  margin-top: 10px;
}

.bento-card:hover .bento-card__overlay::after,
.bento-card:focus-within .bento-card__overlay::after,
.bento-card.is-expanded .bento-card__overlay::after {
  opacity: 1;
}

.bento-card__detail {
  margin: 0;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  position: relative;
  z-index: 1;
}

.services-section {
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 1279px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  .service-card__top {
    height: auto;
    min-height: 230px;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition:
    transform var(--duration-med) var(--ease-apple),
    box-shadow var(--duration-med) var(--ease-apple);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.service-card__top {
  padding: 10px;
  flex: 0 0 auto;
  height: 320px;
  overflow: hidden;
}

.service-card__title {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
}

.service-card__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.43;
  color: var(--color-text-muted);
}

.service-card__pic {
  flex: 0 0 auto;
  height: 200px;
  background: #e5e8eb;
  overflow: hidden;
}

.service-card__pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* Первая карточка: поднять картинку вверх, чтобы каски не обрезались */
.service-card:first-child .service-card__pic img {
  object-position: center 10%;
}

.service-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 20px 24px 24px;
  margin-top: auto;
}

.service-card__price-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 60%;
}

.service-card__price {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.service-card__price-hint {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
  color: var(--color-text-muted);
}

.steps-section {
  background: #fff;
}

.steps-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.steps-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.step-card {
  display: grid;
  grid-template-columns: 320px 330px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  min-height: 300px;
  transition:
    transform var(--duration-med) var(--ease-apple),
    box-shadow var(--duration-med) var(--ease-apple);
}

.step-card:hover {
  transform: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

@media (max-width: 700px) {
  .step-card {
    grid-template-columns: 1fr;
  }
}

.step-card__body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-card__num {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  color: var(--color-step-num);
  line-height: 1;
}

.step-card__title {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  max-width: 296px;
}

.step-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  color: var(--color-text-muted);
  max-width: 298px;
}

/* Визуальная панель step-card — оптимизирована для PNG-вырезок на прозрачном фоне */
.step-card__visual {
  position: relative;
  min-height: 300px;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  padding: 12px 8px 0;
}

.step-card__visual img {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 340px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

/* Карточка 02 — широкий вариант без изменений ширины колонок */
.step-card--02 {
  grid-template-columns: 330px 320px;
}

.step-card--02 .step-card__title,
.step-card--02 .step-card__text {
  max-width: 320px;
}

@media (max-width: 1199px) and (min-width: 701px) {
  .step-card {
    grid-template-columns: minmax(300px, 1fr) minmax(240px, 302px);
  }

  .step-card--02 {
    grid-template-columns: minmax(320px, 1fr) minmax(220px, 280px);
  }
}

.cases-section {
  background: #fff;
}

.cases-section .section-lead {
  max-width: 100%;
}

.cases-slider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cases-slider__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #f5f5f7;
  padding: 20px 10px 24px;
}

.cases-slider__track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  transition: transform var(--duration-med) var(--ease-apple);
  will-change: transform;
}

.case-card {
  flex: 0 0 710px;
  opacity: 0.45;
  transform: scale(0.94);
  filter: saturate(0.85);
  transition:
    opacity var(--duration-med) var(--ease-apple),
    transform var(--duration-med) var(--ease-apple),
    filter var(--duration-med) var(--ease-apple);
}

.case-card.is-near {
  opacity: 0.72;
  transform: scale(0.975);
  filter: saturate(0.95);
}

.case-card.is-active {
  opacity: 1;
  transform: scale(1);
  filter: saturate(1);
}

.cases-slider.is-resetting .case-card {
  transition: none !important;
}

.case-card:focus-visible {
  outline: 2px solid #E4531B;
  outline-offset: 2px;
  border-radius: var(--radius-md);
}

.case-card__inner {
  max-width: none;
  height: 100%;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0 10px 10px;
  min-height: 547px;
  transition:
    transform var(--duration-med) var(--ease-apple),
    box-shadow var(--duration-med) var(--ease-apple);
}

.case-card__inner:hover {
  transform: scale(1.015);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.case-card__head {
  padding: 20px 10px 10px;
  border-bottom: 1px solid #e3e3e3;
}

.case-card__tag {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.case-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
}

.case-card__block {
  padding: 20px 10px 0;
}

.case-card__label {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.case-card__p {
  margin: 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.28;
}

.case-card__divider {
  padding-bottom: 15px;
  border-bottom: 1px solid #e3e3e3;
}

.case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 10px 10px 0;
}

.case-pill {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 46px;
  background: var(--color-tag-bg);
  font-size: 14px;
  font-weight: 500;
  color: var(--color-tag-text);
}

.cases-slider__btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-text);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-apple);
}

.cases-slider__btn:hover {
  transform: scale(1.06);
}

.cases-slider__btn:active {
  transform: scale(0.96);
}

@media (max-width: 1100px) {
  .case-card {
    flex-basis: min(710px, calc(100% - 24px));
  }
}

@media (max-width: 700px) {
  .case-card {
    flex-basis: 100%;
    opacity: 0.38;
    transform: scale(0.96);
  }

  .cases-slider {
    gap: 8px;
  }

  .cases-slider__btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

.licenses-section {
  background: #fff;
}

.partners-section {
  background: #fff;
  padding-top: 50px;
  padding-bottom: 20px;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 30px 0;
}

.partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 0 1 auto;
  max-width: min(100%, 373px);
  box-sizing: border-box;
  padding: 0 10px;
}

.partner-card--has-caption {
  max-width: 150px;
  padding: 0;
}

.partner-card--last-row {
  flex-basis: 100%;
  max-width: 100%;
}

.partner-card__logo {
  width: 100%;
  max-width: 320px;
  max-height: 150px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-card__logo--ntek {
  max-width: 150px;
  max-height: 77px;
}

.partner-card__logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 150px;
  height: auto;
  object-fit: contain;
  filter: saturate(0);
}

.partner-card__logo--ntek img {
  max-height: 77px;
}

.partner-card__name {
  margin: 0;
  font-size: 32px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #585858;
}

.thanks-section {
  background: #fff;
  padding-top: 20px;
  padding-bottom: 20px;
}

.thanks-slider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.thanks-slider__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #f5f5f7;
  padding: 20px 10px 24px;
}

.thanks-slider__track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  transition: transform var(--duration-med) var(--ease-apple);
  will-change: transform;
}

.thanks-thumb {
  display: block;
  padding: 0;
  border: none;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-license);
  flex: 0 0 270px;
  width: min(259px, 42vw);
  cursor: pointer;
  opacity: 0.45;
  transform: scale(0.94);
  filter: saturate(0.85);
  transition:
    opacity var(--duration-med) var(--ease-apple),
    filter var(--duration-med) var(--ease-apple),
    transform var(--duration-med) var(--ease-apple),
    box-shadow var(--duration-med) var(--ease-apple);
}

.thanks-thumb.is-near {
  opacity: 0.72;
  transform: scale(0.975);
  filter: saturate(0.95);
}

.thanks-thumb.is-active {
  opacity: 1;
  transform: scale(1);
  filter: saturate(1);
}

.thanks-thumb:hover {
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.thanks-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 259 / 366;
}

.thanks-slider__btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-text);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-apple);
}

.thanks-slider__btn:hover {
  transform: scale(1.06);
}

.thanks-slider__btn:active {
  transform: scale(0.96);
}

@media (max-width: 1100px) {
  .thanks-thumb {
    flex-basis: min(270px, calc(100% - 24px));
  }
}

@media (max-width: 700px) {
  .thanks-thumb {
    flex-basis: min(70vw, 280px);
    width: min(70vw, 280px);
  }

  .thanks-slider {
    gap: 8px;
  }

  .thanks-slider__btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

.licenses-slider {
  display: flex;
  align-items: center;
  gap: 12px;
}

.licenses-slider__viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: #f5f5f7;
  padding: 20px 10px 24px;
}

.licenses-slider__track {
  display: flex;
  align-items: stretch;
  gap: 16px;
  transition: transform var(--duration-med) var(--ease-apple);
  will-change: transform;
}

.license-thumb {
  display: block;
  padding: 0;
  border: none;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-license);
  flex: 0 0 220px;
  width: min(209px, 42vw);
  cursor: pointer;
  opacity: 0.45;
  transform: scale(0.94);
  filter: saturate(0.85);
  transition:
    opacity var(--duration-med) var(--ease-apple),
    filter var(--duration-med) var(--ease-apple),
    transform var(--duration-med) var(--ease-apple),
    box-shadow var(--duration-med) var(--ease-apple);
}

.license-thumb.is-near {
  opacity: 0.72;
  transform: scale(0.975);
  filter: saturate(0.95);
}

.license-thumb.is-active {
  opacity: 1;
  transform: scale(1);
  filter: saturate(1);
}

.license-thumb:hover {
  transform: scale(1.03) translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.license-thumb img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 209 / 302;
}

.license-thumb--w219 {
  width: min(219px, 44vw);
}
.license-thumb--w219 img {
  aspect-ratio: 219 / 302;
}

.license-thumb--w214 {
  width: min(214px, 43vw);
}
.license-thumb--w214 img {
  aspect-ratio: 214 / 302;
}

.license-thumb--w220 {
  width: min(220px, 45vw);
}
.license-thumb--w220 img {
  aspect-ratio: 220 / 303;
}

.licenses-slider__btn {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-text);
  border: none;
  padding: 0;
  cursor: pointer;
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-apple);
}

.licenses-slider__btn:hover {
  transform: scale(1.06);
}

.licenses-slider__btn:active {
  transform: scale(0.96);
}

@media (max-width: 1100px) {
  .license-thumb {
    flex-basis: min(220px, calc(100% - 24px));
  }
}

@media (max-width: 700px) {
  .license-thumb {
    flex-basis: min(70vw, 260px);
    width: min(70vw, 260px);
  }

  .licenses-slider {
    gap: 8px;
  }

  .licenses-slider__btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .license-thumb,
  .license-thumb--w219,
  .license-thumb--w214,
  .license-thumb--w220 {
    width: min(70vw, 260px);
  }
}

.fab {
  position: fixed;
  right: calc(15px + env(safe-area-inset-right, 0px));
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  z-index: 90;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  transition:
    transform var(--duration-fast) var(--ease-out),
    box-shadow var(--duration-fast) var(--ease-apple);
  padding: 0;
  border: none;
  cursor: pointer;
  background: transparent;
}

.fab:hover {
  transform: scale(1.06);
  box-shadow: 0 12px 40px rgba(228, 83, 27, 0.35);
}

.fab:active {
  transform: scale(0.96);
}

.fab img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-footer {
  background: var(--color-footer);
  color: #fff;
  padding: 50px var(--container-pad);
}

.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 88px;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
}

.site-footer__title {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.0125em;
  line-height: 1.1;
  max-width: 402px;
}

.footer-form-wrap {
  flex: 1;
  min-width: 280px;
  max-width: 440px;
}

.footer-form {
  border: 1px solid var(--color-text-muted);
  border-radius: var(--radius-md);
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-form__title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.25;
  color: #fff;
}

.footer-form__hint {
  margin: 0;
  font-size: 14px;
  line-height: 1.43;
  color: var(--color-text-muted);
}

.footer-form .input {
  width: 100%;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--color-border-input);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
}

.footer-form .input::placeholder {
  color: var(--color-text-muted);
}

.footer-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  color: var(--color-text-muted);
}

.footer-check input {
  margin-top: 2px;
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  accent-color: #E4531B;
}

.privacy-policy-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  font: inherit;
  color: var(--color-accent, #E4531B);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  vertical-align: baseline;
}

.privacy-policy-link:hover {
  text-decoration-thickness: 2px;
}

.consent-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.consent-copy__main {
  display: block;
  line-height: 1.35;
}

.consent-links {
  display: block;
  font-size: 11px;
  line-height: 1.35;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 25px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text-muted);
}

.footer-contacts__label {
  margin: 0 0 5px;
}

.footer-contacts__row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-contacts__icon {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-contacts__icon--mail {
  height: 17px;
}

.footer-contacts__icon img {
  position: absolute;
  inset: 0;
  width: 16px;
  height: 16px;
}

.footer-contacts__icon img:last-child {
  object-fit: contain;
  flex-shrink: 0;
}

/* Figma exported phone/mail glyphs are light; darken over white circle */
.footer-contacts__icon--phone img:last-child,
.footer-contacts__icon--mail img:last-child {
  filter: brightness(0) saturate(100%);
}

.modal-dlg {
  padding: 0;
  border: none;
  border-radius: var(--radius-md);
  max-width: calc(100vw - 32px);
  background: transparent;
}

.modal-dlg::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.modal-dlg__panel {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px 32px 32px;
  width: min(440px, 100vw - 32px);
}

.modal-dlg--wide .modal-dlg__panel {
  width: min(520px, 100vw - 32px);
}

.modal-dlg--privacy .modal-dlg__panel {
  width: min(640px, 100vw - 32px);
  max-height: min(90vh, 720px);
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}

.modal-dlg--privacy .modal-dlg__head {
  flex-shrink: 0;
}

.modal-dlg__privacy-body {
  flex: 1;
  min-height: 0;
  max-height: min(65vh, 520px);
  overflow-y: auto;
  padding-right: 8px;
  margin-right: -4px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--color-text);
}

.modal-dlg__privacy-body p {
  margin: 0 0 12px;
}

.modal-dlg__privacy-body p:last-child {
  margin-bottom: 0;
}

.privacy-doc h3 {
  margin: 20px 0 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
}

.privacy-doc h3:first-of-type {
  margin-top: 0;
}

.privacy-doc p {
  margin: 0 0 12px;
}

.privacy-doc p.privacy-doc__sub {
  margin-top: 8px;
  margin-bottom: 6px;
  font-weight: 600;
}

.privacy-doc ul {
  margin: 0 0 12px;
  padding-left: 1.15em;
  list-style: disc;
}

.privacy-doc li {
  margin-bottom: 6px;
}

.privacy-doc li:last-child {
  margin-bottom: 0;
}

.privacy-doc__table-wrap {
  overflow-x: auto;
  margin: 0 0 16px;
  -webkit-overflow-scrolling: touch;
}

.privacy-doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.privacy-doc th,
.privacy-doc td {
  border: 1px solid var(--color-border-input);
  padding: 8px 10px;
  vertical-align: top;
  text-align: left;
}

.privacy-doc th {
  background: #f5f5f7;
  font-weight: 600;
}

.privacy-doc__note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.privacy-doc__note a {
  color: #E4531B;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-doc__note a:hover {
  text-decoration-thickness: 2px;
}

.modal-dlg__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.modal-dlg__title {
  flex: 1;
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.modal-dlg__close {
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: #f5f5f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--color-text-muted);
  line-height: 1;
  transition: background var(--duration-fast) var(--ease-apple);
}

.modal-dlg__close:hover {
  background: #e8e8ed;
}

.modal-dlg__text {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.42;
  color: var(--color-text-muted);
}

.modal-dlg form[data-form="lead"] {
  display: flex;
  flex-direction: column;
}

.modal-dlg .input {
  width: 100%;
  margin-bottom: 14px;
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--color-border-input);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  line-height: normal;
}

.modal-dlg .input::placeholder {
  color: var(--color-text-muted);
}

.modal-dlg__drop {
  border: 1px dashed var(--color-border-input);
  background: #fbfbfd;
  border-radius: var(--radius-sm);
  min-height: 104px;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  margin-bottom: 14px;
  cursor: pointer;
}

.modal-dlg__file {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
}

.modal-dlg__drop strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

.modal-dlg__drop-text {
  font-size: 12px;
  line-height: normal;
  color: var(--color-text-muted);
}

.modal-dlg__drop-file {
  display: none;
  font-size: 12px;
  line-height: normal;
  color: var(--color-text);
}

.modal-dlg__drop.has-file .modal-dlg__drop-text {
  display: none;
}

.modal-dlg__drop.has-file .modal-dlg__drop-file {
  display: block;
}

.modal-dlg__check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 16px;
  margin-bottom: 16px;
  font-size: 12px;
  line-height: normal;
  color: var(--color-text-muted);
}

.modal-dlg__check input {
  margin: 2px 0 0;
  width: 13px;
  height: 13px;
  border: 1px solid var(--color-text-muted);
  border-radius: 0;
  accent-color: #E4531B;
  flex-shrink: 0;
}

.modal-dlg .btn {
  width: 100%;
  margin-top: 0;
}

.lightbox-dlg {
  position: fixed;
  inset: 0;
  padding: 0;
  border: none;
  max-width: none;
  width: 100vw;
  max-height: none;
  height: 100vh;
  margin: 0;
  background: transparent;
}

.lightbox-dlg::backdrop {
  background: rgba(0, 0, 0, 0.85);
}

.lightbox-dlg__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 48px 16px 16px;
}

.lightbox-dlg__img {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
}

.lightbox-dlg__close {
  position: fixed;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
}

.lightbox-dlg__close:hover {
  background: rgba(255, 255, 255, 0.28);
}

@media (max-width: 1279px) {
  .nav-toggle {
    display: flex;
  }

  .site-header__nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: 20px var(--container-pad) 24px;
    background: var(--color-bg-nav);
    border-bottom: 1px solid var(--color-border);
    gap: 20px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  }

  .site-header__nav.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 16px;
    white-space: normal;
  }

  .site-header__spacer {
    display: none;
  }

  .site-header__inner {
    flex-wrap: wrap;
    row-gap: 12px;
  }

  .btn--nav {
    order: 1;
    margin-left: auto;
  }

  .nav-toggle {
    order: 2;
  }

  .logo {
    order: 0;
    flex: 0 0 auto;
    max-width: min(223px, calc(100% - 200px));
    min-width: 0;
  }

  .logo__img {
    width: 100%;
    height: auto;
    max-height: 110px;
    object-fit: contain;
  }
}

@media (max-width: 768px) {
  .site-header__inner {
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    min-height: 68px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .logo {
    width: auto;
    height: auto;
    max-width: min(140px, calc(100% - 180px));
    flex: 0 1 auto;
    min-width: 0;
  }

  .logo__img {
    width: auto;
    max-width: 100%;
    max-height: 44px;
    height: auto;
  }

  .btn--nav {
    flex-shrink: 0;
    padding: 10px 14px;
    font-size: 13px;
    white-space: nowrap;
  }

  .nav-toggle {
    flex-shrink: 0;
  }

  .site-header.site-header--compact .site-header__inner {
    min-height: 56px;
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .site-header.site-header--compact .logo__img {
    max-height: 38px;
  }

  .site-header.site-header--compact .btn--nav {
    padding: 8px 12px;
    font-size: 12px;
  }
}

/* ---------- Scroll reveal (мягкое появление «из тумана», Apple-like) ---------- */
html:not(.js) .reveal-on-scroll {
  opacity: 1;
  transform: none;
  filter: none;
}

html.js .reveal-on-scroll {
  /* длинный хвост в конце — без резкого «щелчка» */
  --reveal-ease: cubic-bezier(0.22, 1, 0.36, 1);
  transition:
    opacity 1.15s var(--reveal-ease),
    transform 1.15s var(--reveal-ease),
    filter 1.25s var(--reveal-ease);
  transform-origin: 50% 38%;
}

html.js .reveal-on-scroll:not(.is-visible) {
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(0.987);
  filter: blur(18px);
}

html.js .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.bento-row--3 .reveal-on-scroll:nth-child(1) {
  transition-delay: 0ms;
}
.bento-row--3 .reveal-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}
.bento-row--3 .reveal-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}
.bento-row--2 .reveal-on-scroll:nth-child(1) {
  transition-delay: 0ms;
}
.bento-row--2 .reveal-on-scroll:nth-child(2) {
  transition-delay: 0.12s;
}

.services-grid .reveal-on-scroll:nth-child(1) {
  transition-delay: 0ms;
}
.services-grid .reveal-on-scroll:nth-child(2) {
  transition-delay: 0.1s;
}
.services-grid .reveal-on-scroll:nth-child(3) {
  transition-delay: 0.2s;
}
.services-grid .reveal-on-scroll:nth-child(4) {
  transition-delay: 0.3s;
}

.steps-row .reveal-on-scroll:nth-child(1) {
  transition-delay: 0ms;
}
.steps-row .reveal-on-scroll:nth-child(2) {
  transition-delay: 0.12s;
}

.partners-grid .reveal-on-scroll:nth-child(1) {
  transition-delay: 0ms;
}
.partners-grid .reveal-on-scroll:nth-child(2) {
  transition-delay: 0.07s;
}
.partners-grid .reveal-on-scroll:nth-child(3) {
  transition-delay: 0.14s;
}
.partners-grid .reveal-on-scroll:nth-child(4) {
  transition-delay: 0.21s;
}
.partners-grid .reveal-on-scroll:nth-child(5) {
  transition-delay: 0.28s;
}
.partners-grid .reveal-on-scroll:nth-child(6) {
  transition-delay: 0.35s;
}
.partners-grid .reveal-on-scroll:nth-child(7) {
  transition-delay: 0.42s;
}
.partners-grid .reveal-on-scroll:nth-child(8) {
  transition-delay: 0.49s;
}
.partners-grid .reveal-on-scroll:nth-child(n + 9) {
  transition-delay: 0.55s;
}

@media (prefers-reduced-motion: reduce) {
  html.js .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

input.phone-error {
    border-color: red !important;
    background-color: #fff0f0 !important;
}

.partners-disclaimer {
  margin-top: 16px;
  font-size: 14px;
  color: var(--color-text-muted);
  text-align: right;
  line-height: 1.4;
}

/* ======================================================
   Временное скрытие блоков без реальных материалов
   (партнёры и благодарственные письма Alliance GTS).
   Убрать класс из HTML после получения реальных ассетов.
   ====================================================== */
.is-hidden-until-real-assets {
  display: none !important;
}

/* Cookie / analytics consent banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 120;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px max(16px, env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left));
  background: #111821;
  color: #f4f6f8;
  box-shadow: 0 -8px 32px rgba(12, 31, 52, 0.18);
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner__text {
  margin: 0;
  flex: 1 1 240px;
  max-width: 720px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex: 0 0 auto;
}

.cookie-banner__btn {
  min-width: 120px;
}

.cookie-banner__btn--accept {
  background: var(--gradient-cta-v);
  color: #fff;
}

.cookie-banner__btn--reject {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.cookie-banner__btn--reject:hover,
.cookie-banner__btn--reject:focus-visible {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
}

.cookie-banner__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.cookie-banner__more {
  align-self: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 2px;
  padding: 8px 4px;
}

.cookie-banner__more:hover,
.cookie-banner__more:focus-visible {
  color: #fff;
}

.site-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}

.site-footer__legal-nav a,
.site-footer__cookie-settings {
  color: rgba(255, 255, 255, 0.85);
  font: inherit;
  font-size: 13px;
  background: none;
  border: none;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.site-footer__legal-nav a:hover,
.site-footer__cookie-settings:hover,
.site-footer__legal-nav a:focus-visible,
.site-footer__cookie-settings:focus-visible {
  color: #fff;
}

.site-footer__legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

html.has-analytics-banner .fab {
  bottom: calc(110px + env(safe-area-inset-bottom, 0px));
}

/* Reserve scroll room under fixed cookie banner (measured via Chrome CDP).
   Desktop (>600px): max observed height 132.59px @601px → 142px (+~9px margin).
   Mobile (≤600px column layout): observed 376px → 386px (+10px margin). */
html.has-analytics-banner body {
  padding-bottom: calc(142px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner__actions {
    width: 100%;
  }

  .cookie-banner__btn {
    flex: 1 1 calc(50% - 5px);
  }

  html.has-analytics-banner .fab {
    bottom: calc(160px + env(safe-area-inset-bottom, 0px));
  }

  html.has-analytics-banner body {
    padding-bottom: calc(386px + env(safe-area-inset-bottom, 0px));
  }
}
