/* ===== Reset ===== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--color-cream);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 1.111vw;
  line-height: 1.5;
  overflow-x: clip;
}

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

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

ul, ol {
  list-style: none;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* без этого кнопки без своего цвета (вопросы FAQ, «Все квизы») на телефонах получают системный синий/чёрный */
button {
  color: inherit;
}

a, button {
  -webkit-tap-highlight-color: transparent;
}

/* ===== Variables ===== */

:root {
  --color-cream: #fffcf7;
  --color-cream-soft: #fff9f0;
  --color-navy: #1e3a8a;
  --color-dark: #252525;
  --color-dark-2: #2d2d2d;
  --color-gray: #eeeeee;
  --color-ink: #252525;
  --color-white: #ffffff;
  --font-heading: 'Unbounded', sans-serif;
  --font-body: 'Inter', sans-serif;
  --header-h: 4.444vw;
  --radius-sm: 0.694vw;
  --radius-md: 1.389vw;
  --radius-lg: 3.472vw;
}

/* ===== Layout ===== */

.container {
  width: 100%;
  max-width: 100vw;
  padding-left: 2.778vw;
  padding-right: 2.778vw;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Buttons ===== */

.btn[hidden] {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.694vw;
  height: 3.819vw;
  padding-left: 1.667vw;
  padding-right: 1.667vw;
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.111vw;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  opacity: 0.85;
  box-shadow: 0 0.4vw 1vw rgba(0, 0, 0, 0.15);
}

.btn:active {
  opacity: 0.7;
}

.btn--navy {
  background-color: var(--color-navy);
  color: var(--color-cream-soft);
}

.btn--cream {
  background-color: var(--color-cream);
  color: var(--color-navy);
}

.btn--full {
  width: 100%;
}

.btn__arrow {
  width: 1.667vw;
  height: 1.667vw;
  transition: transform 0.25s ease;
}

.btn:hover .btn__arrow {
  transform: translate(0.2vw, -0.2vw);
}

/* ===== Header ===== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background-color: var(--color-cream);
  box-shadow: 0 0.3vw 1vw rgba(0, 0, 0, 0.06);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 2.778vw;
  padding-right: 2.778vw;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 1.25vw;
}

.header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.417vw;
  width: 2.778vw;
  height: 2.778vw;
  cursor: pointer;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 0.14vw;
  border-radius: 0.14vw;
  background-color: var(--color-ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header--menu-open .header__burger span:nth-child(1) {
  transform: translateY(0.56vw) rotate(45deg);
}

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

.header--menu-open .header__burger span:nth-child(3) {
  transform: translateY(-0.56vw) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.header__logo-img {
  height: 2.5vw;
  width: auto;
}

.header .btn {
  height: 3.056vw;
  padding-left: 1.25vw;
  padding-right: 1.25vw;
  font-size: 0.833vw;
}

.header .btn__arrow {
  width: 1.25vw;
  height: 1.25vw;
}

.nav {
  height: 100%;
}

.nav__list {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2.222vw;
}

.nav__item {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.nav__link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.917vw;
  text-transform: uppercase;
  letter-spacing: 0.03vw;
  padding-bottom: 0.35vw;
  border-bottom: 0.14vw solid transparent;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.nav__link:hover {
  opacity: 0.6;
}

.nav__item--current .nav__link {
  border-bottom-color: var(--color-navy);
}

/* ===== Dropdown ===== */

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 19vw;
  background-color: var(--color-cream);
  border-radius: var(--radius-md);
  box-shadow: 0 1.2vw 2.5vw rgba(0, 0, 0, 0.14);
  padding: 0.833vw;
  padding-top: 1.111vw;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.nav__item--dropdown:hover .dropdown,
.nav__item--dropdown:focus-within .dropdown,
.nav__item--dropdown.nav__item--open .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown__item + .dropdown__item {
  margin-top: 0.278vw;
}

.dropdown__link {
  display: block;
  padding: 0.694vw 0.972vw;
  border-radius: var(--radius-sm);
  font-size: 0.972vw;
  transition: background-color 0.2s ease;
}

.dropdown__link:hover {
  background-color: var(--color-gray);
}

/* ===== Hero ===== */

.hero {
  position: relative;
  /* первый экран = ровно высота окна минус шапка */
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3vw;
  padding: 0 2.778vw;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: #101e52;
}

.hero__ambient {
  position: absolute;
  inset: -8%;
}

.hero__ambient-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3.5vw) saturate(1.15);
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__ambient-img--active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 30, 82, 0.94) 0%, rgba(16, 30, 82, 0.82) 55%, rgba(16, 30, 82, 0.62) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0) 35%);
}

.hero-reel {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 44vw;
  opacity: 0;
  animation: heroFadeIn 1s ease 0.3s forwards;
}

.hero-reel__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  cursor: pointer;
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.04) 6%, rgba(0, 0, 0, 0.14) 14%, rgba(0, 0, 0, 0.32) 24%, rgba(0, 0, 0, 0.56) 36%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.95) 64%, #000 78%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.04) 6%, rgba(0, 0, 0, 0.14) 14%, rgba(0, 0, 0, 0.32) 24%, rgba(0, 0, 0, 0.56) 36%, rgba(0, 0, 0, 0.8) 50%, rgba(0, 0, 0, 0.95) 64%, #000 78%);
  background-color: #101e52;
}

.hero-reel__frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 18%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 28%);
}

.hero-reel__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.hero-reel__video--active {
  opacity: 1;
}

.hero-reel__bars {
  position: absolute;
  top: 1.4vw;
  left: 15vw;
  right: 2.778vw;
  z-index: 3;
  display: flex;
  gap: 0.4vw;
}

.hero-reel__bar {
  position: relative;
  flex: 1;
  height: 1.1vw;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.hero-reel__bar::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 0.28vw;
  transform: translateY(-50%);
  border-radius: 0.2vw;
  background: rgba(255, 252, 247, 0.38);
}

.hero-reel__bar-fill {
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 1;
  width: 0;
  height: 0.28vw;
  transform: translateY(-50%);
  border-radius: 0.2vw;
  background: var(--color-cream);
}

.hero__sound {
  position: absolute;
  right: 2.778vw;
  bottom: 1.8vw;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.472vw;
  height: 3.472vw;
  border: 0.07vw solid rgba(255, 252, 247, 0.6);
  border-radius: 50%;
  background-color: rgba(16, 30, 82, 0.55);
  backdrop-filter: blur(0.4vw);
  -webkit-backdrop-filter: blur(0.4vw);
  color: var(--color-cream);
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero__sound:hover {
  background-color: rgba(16, 30, 82, 0.8);
  transform: scale(1.06);
}

.hero__sound-icon {
  width: 1.667vw;
  height: 1.667vw;
}

.hero__sound-icon--on {
  display: none;
}

.hero__sound--on .hero__sound-icon--on {
  display: block;
}

.hero__sound--on .hero__sound-icon--off {
  display: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  max-width: 52vw;
  padding: 1.5vw 0;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 2.639vw;
  line-height: 1.55;
  text-transform: uppercase;
  color: var(--color-cream);
  max-width: 54vw;
  margin-bottom: 1.667vw;
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.15s forwards;
}

.hero__plate {
  display: inline-block;
  background-color: var(--color-cream);
  border-radius: var(--radius-md);
  padding: 1.25vw 2.083vw;
  margin-bottom: 2.222vw;
}

.hero__logo {
  display: block;
  width: 20vw;
  height: auto;
}

.hero__tagline {
  display: block;
}

.hero__mark {
  background: none;
  display: inline-block;
  white-space: nowrap;
  margin-top: 0.4vw;
  color: inherit;
}

.stati-title-accent {
  color: var(--color-navy);
}

.hero__text {
  font-size: 1.25vw;
  font-weight: 400;
  line-height: 1.6;
  color: rgba(255, 252, 247, 0.72);
  margin-bottom: 2.5vw;
  max-width: 36vw;
  padding-left: 1.25vw;
  border-left: 0.14vw solid rgba(185, 200, 255, 0.55);
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.4s forwards;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 2.222vw;
  opacity: 0;
  animation: heroFadeUp 0.8s ease 0.65s forwards;
}

@keyframes heroFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(1.2vw);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Sections shared ===== */

.section {
  position: relative;
  background-color: var(--color-cream);
  padding-top: 5.556vw;
  padding-bottom: 5.556vw;
}

.section--pinned {
  position: sticky;
  top: var(--header-h);
  z-index: 1;
}

.section--cover {
  position: relative;
  z-index: 2;
}

.section__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 3.125vw;
  line-height: 1.25;
  color: var(--color-ink);
  text-transform: uppercase;
  margin-bottom: 3.333vw;
  scroll-margin-top: var(--header-h);
}

.section__title--light {
  color: var(--color-cream);
}

/* ===== 01 Why us ===== */

.section--why {
  background-color: var(--color-cream);
}

.why {
  display: grid;
  grid-template-columns: 34.1vw 1fr;
  gap: 6.5vw;
  align-items: stretch;
}

.why__col {
  display: flex;
  flex-direction: column;
}

.why__media {
  position: relative;
  flex: 1 1 auto;
  min-height: 25.208vw;
}

.why__col .section__title {
  margin-bottom: 2.6vw;
}

.why__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.667vw;
  width: 42.848vw;
  margin-left: auto;
}

/* кружок с цифрой стоит по центру своей карточки, а линия идёт только между центрами кружков */
.timeline__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.667vw;
}

.timeline__item:not(:first-child)::before,
.timeline__item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(1.84vw - 0.0555vw);
  width: 0.111vw;
  background-color: rgba(30, 58, 138, 0.35);
  z-index: 0;
}

.timeline__item:not(:first-child)::before {
  top: 0;
  height: 50%;
}

.timeline__item:not(:last-child)::after {
  top: 50%;
  height: calc(50% + 1.667vw);
}

.timeline__num {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.681vw;
  height: 3.681vw;
  border-radius: 50%;
  background-color: var(--color-navy);
  color: var(--color-cream-soft);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.736vw;
  line-height: 1;
  z-index: 1;
}

.timeline__body {
  width: 37.5vw;
  background-color: var(--color-gray);
  border-radius: var(--radius-md);
  padding: 1.528vw 1.944vw;
}

.timeline__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.736vw;
  color: var(--color-navy);
  margin-bottom: 0.556vw;
}

.timeline__text {
  font-size: 1.111vw;
  line-height: 1.5;
}

/* ===== 02 Offer ===== */

.section--offer {
  background-color: var(--color-dark);
}

.section--offer .section__title {
  margin-bottom: 1.389vw;
}

.offer {
  display: flex;
  flex-direction: column;
  gap: 2.153vw;
}

.offer__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.153vw;
  align-items: stretch;
}

.service {
  display: flex;
  flex-direction: column;
  background-color: var(--color-navy);
  border-radius: var(--radius-md);
  padding: 1.528vw 2.222vw;
}

.service__head {
  display: flex;
  align-items: center;
  gap: 0.972vw;
  margin-bottom: 1.25vw;
}

.service__num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.639vw;
  height: 2.639vw;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.25vw;
  line-height: 1;
  flex-shrink: 0;
}

.service__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.319vw;
  color: var(--color-white);
}

.service__desc {
  font-size: 1.111vw;
  line-height: 1.5;
  color: var(--color-ink);
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 1.389vw 1.667vw;
  margin-bottom: 1.389vw;
}

.service__list {
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 1.111vw 1.667vw;
  margin-bottom: 1.389vw;
}

.service__list-item {
  display: flex;
  align-items: center;
  gap: 1.111vw;
  font-size: 1.111vw;
  color: var(--color-ink);
  padding: 0.694vw 0.833vw;
  transition: background-color 0.2s ease;
}

.service__list-item--active {
  background-color: var(--color-gray);
}

.service__list-item span {
  flex: 1;
}

.service__list-arrow {
  flex-shrink: 0;
  width: 2.778vw;
  height: 1.111vw;
  opacity: 1;
  animation: service-arrow-nudge 1.4s ease-in-out infinite;
}

@keyframes service-arrow-nudge {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(0.417vw);
  }
}

.service__list li + li {
  border-top: 0.07vw solid rgba(0, 0, 0, 0.08);
}

.service__icon {
  flex-shrink: 0;
  width: 2.6vw;
  height: 2.6vw;
  margin: -0.3vw 0.3vw -0.3vw -0.9vw;
  object-fit: contain;
}

.service__link {
  display: inline-flex;
  align-items: center;
  gap: 0.694vw;
  margin-top: auto;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.111vw;
  color: var(--color-gray);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.service__link:hover {
  opacity: 0.7;
  transform: translateX(0.2vw);
}

.service__link-icon {
  width: 2.639vw;
  height: 2.639vw;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.694vw;
  margin-bottom: 1.389vw;
}

.tags__item {
  display: inline-flex;
  align-items: center;
  border: 0.07vw solid var(--color-white);
  border-radius: var(--radius-lg);
  background-color: rgba(238, 238, 238, 0.12);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.903vw;
  text-transform: uppercase;
  padding: 0.694vw 1.25vw;
  cursor: pointer;
}

.tags__item:hover {
  background-color: rgba(238, 238, 238, 0.3);
}

.offer-card {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background-color: var(--color-cream);
  border: 0.07vw solid var(--color-navy);
  border-radius: var(--radius-md);
  padding: 1.528vw 2.222vw;
}

.offer-card .btn,
.service .btn {
  margin-top: auto;
}

.offer-card__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.736vw;
  color: var(--color-ink);
  margin-bottom: 0.833vw;
}

.offer-card__desc {
  font-size: 1.111vw;
  line-height: 1.5;
  margin-bottom: 1.389vw;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.833vw;
  margin-bottom: 1.667vw;
}

.check-list__item {
  display: flex;
  align-items: center;
  gap: 0.833vw;
  font-size: 1.111vw;
}

.check-list__icon {
  flex-shrink: 0;
  width: 1.667vw;
  height: 1.667vw;
}

/* ===== 03 Need ===== */

.section--need {
  background-color: var(--color-cream);
  padding-bottom: 2vw;
}

.need {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2.778vw;
}

.need .section__title {
  margin-bottom: 0;
  flex-shrink: 0;
}

.need-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 5vw;
  max-width: 42vw;
  width: 100%;
}

.need-list::before {
  content: '';
  position: absolute;
  left: 1.84vw;
  top: 1.84vw;
  bottom: 1.84vw;
  width: 0.111vw;
  background-color: rgba(37, 37, 37, 0.25);
  z-index: 0;
}

.need-list__item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.667vw;
}

.need-list__icon {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.681vw;
  height: 3.681vw;
  border-radius: 50%;
  background-color: var(--color-dark);
  z-index: 1;
}

.need-list__icon-img {
  display: block;
  width: 2.7vw;
  height: auto;
}

.need-list__text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.667vw;
  line-height: 1.4;
}

/* лента фото: сама плавно едет, фото по центру крупнее, при наведении лента останавливается */
.gallery {
  margin-top: 2.778vw;
  padding: 1.667vw 0;
  overflow: hidden;
  touch-action: pan-y;
}

.gallery__track {
  display: flex;
  gap: 1.111vw;
  width: max-content;
  will-change: transform;
}

.gallery__item {
  flex-shrink: 0;
  width: 20vw;
  height: 24.306vw;
  overflow: hidden;
  border-radius: var(--radius-md);
  transform: scale(0.88);
  opacity: 0.75;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.gallery__item--active {
  transform: scale(1);
  opacity: 1;
}

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

/* ===== 04 Steps ===== */

.section--steps {
  background-color: var(--color-cream);
  padding-top: 2vw;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 2.5vw;
}

.steps__intro .section__title {
  margin-bottom: 1.667vw;
}

.steps__intro-text {
  font-size: 1.111vw;
  line-height: 1.5;
  max-width: 28.68vw;
}

.steps__stepper {
  position: relative;
  display: flex;
  justify-content: space-between;
}

.steps__stepper::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 1.84vw;
  height: 0.07vw;
  background-color: var(--color-navy);
  opacity: 0.35;
  z-index: 0;
}

.steps__step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.694vw;
}

.steps__step-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.681vw;
  height: 3.681vw;
  border-radius: 50%;
  border: 0.07vw solid var(--color-navy);
  background-color: var(--color-gray);
  color: var(--color-navy);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.736vw;
}

.steps__row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.153vw;
  align-items: stretch;
}

.steps__row-item {
  display: contents;
}

.steps__row-num {
  display: none;
}

/* карточки в конце главной выше обычного — внутри переворота помещается форма с полем для контакта */
.steps__row .flip-card {
  min-height: 29vw;
}

.cta-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  background-color: var(--color-navy);
  border: 0.104vw solid #586170;
  border-radius: var(--radius-md);
  padding: 1.56vw 2.014vw 1.944vw;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, border-color 0.25s ease;
}

.cta-card:hover {
  transform: translateY(-0.28vw) scale(1.015);
  box-shadow: 0 1vw 2vw rgba(0, 0, 0, 0.2);
  border-color: var(--color-cream);
}

.cta-card:active {
  transform: translateY(0) scale(0.98);
}

.cta-card__icon {
  flex-shrink: 0;
  width: 3.611vw;
  height: 3.611vw;
}

.cta-card__text {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.667vw;
  color: var(--color-cream-soft);
  line-height: 1.3;
  max-width: 16.667vw;
}

.flip-card {
  position: relative;
  min-height: 21.5vw;
  perspective: 150vw;
}

.flip-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  will-change: transform;
}

.flip-card--flipped .flip-card__inner {
  transform: rotateY(180deg);
}

.flip-card__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.flip-card__face--front {
  cursor: pointer;
}

.flip-card__face--back {
  transform: rotateY(180deg);
  cursor: pointer;
  pointer-events: none;
}

.flip-card--flipped .flip-card__face--front {
  pointer-events: none;
}

.flip-card--flipped .flip-card__face--back {
  pointer-events: auto;
}

.flip-card__face--front.cta-card:hover {
  transform: none;
}

#guaranteesFlipCard .flip-card__face--back {
  overflow-y: auto;
}

.form-card {
  background-color: var(--color-navy);
  border: 0.1vw solid #586170;
  border-radius: var(--radius-md);
  padding: 1.528vw 1.597vw 1.944vw;
  display: flex;
  flex-direction: column;
  gap: 0.486vw;
}

.form-card__intro {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.736vw;
  line-height: 1.3;
  color: var(--color-cream-soft);
  margin-bottom: 0.833vw;
}

.form-card__input {
  width: 100%;
  height: 2.917vw;
  background-color: rgba(238, 238, 238, 0.35);
  border-radius: var(--radius-md);
  padding: 0 1.111vw;
  color: var(--color-cream-soft);
  font-size: 1.111vw;
  transition: background-color 0.2s ease;
}

.form-card__input:focus {
  background-color: rgba(238, 238, 238, 0.5);
}

.form-card__input::placeholder {
  color: #e8e8e8;
}

.form-card__select {
  appearance: none;
  cursor: pointer;
}

.form-card__select:invalid {
  color: #e8e8e8;
}

.form-card__select option {
  color: var(--color-ink);
  background-color: var(--color-cream);
}

.form-card__checkbox {
  display: flex;
  align-items: center;
  gap: 0.694vw;
  font-size: 0.972vw;
  color: var(--color-cream-soft);
  cursor: pointer;
  margin-top: 0.625vw;
  margin-bottom: 1.1vw;
}

.form-card__checkbox input {
  width: 0.972vw;
  height: 0.972vw;
  flex-shrink: 0;
  accent-color: var(--color-cream);
}

.form-card__field[hidden] {
  display: none;
}

.form-card .btn {
  margin-top: auto;
}

.form-card__hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-status {
  font-size: 0.972vw;
  line-height: 1.4;
  margin-top: 0.833vw;
}

.form-status--success {
  color: #8fe3a8;
}

.form-status--error {
  color: #ff9e9e;
}

/* в карточках-перевёртышах сообщение выводится под плашкой, а не внутри формы — кнопка не сжимается */
.flip-card .form-status {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.9vw;
  text-align: center;
}

#kpFlipCard .form-status--success {
  color: #1f7a3a;
}

#kpFlipCard .form-status--error {
  color: #b3261e;
}

.form-card .btn {
  flex-shrink: 0;
}

/* ===== 05 Articles ===== */

.stati-intro {
  padding-top: 2.5vw;
  padding-bottom: 1.5vw;
}

.stati-intro__desc {
  font-size: 1.111vw;
  line-height: 1.5;
  max-width: 34vw;
  color: var(--color-ink);
  margin-top: 1.25vw;
}

.section--articles {
  padding-top: 2vw;
}

.article-list {
  display: flex;
  flex-direction: column;
  gap: 1.667vw;
}

.article-preview {
  display: flex;
  align-items: stretch;
  height: 18vw;
  background-color: var(--color-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}

.article-preview:hover {
  transform: translateY(-0.2vw);
  box-shadow: 0 0.8vw 1.6vw rgba(0, 0, 0, 0.12);
}

.article-preview--soon {
  opacity: 0.55;
  pointer-events: none;
}

.article-preview__media {
  flex: 0 0 14vw;
}

.article-preview__media--placeholder {
  background-color: var(--color-gray);
}

.article-preview__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-preview__body {
  flex: 1;
  min-width: 0;
  padding: 2.222vw 1.944vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-preview__tag {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.389vw;
  color: var(--color-navy);
  margin-bottom: 0.417vw;
}

.article-preview__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.944vw;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--color-ink);
  margin-bottom: 0.833vw;
}

.article-preview__desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.111vw;
  line-height: 1.45;
  color: var(--color-ink);
  margin-bottom: 0.833vw;
}

.article-preview__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5vw;
  font-family: var(--font-heading);
  font-size: 0.917vw;
  text-transform: uppercase;
  color: var(--color-navy);
  margin-top: auto;
}

.article-preview__link img {
  width: 1vw;
  height: 1vw;
}

/* ===== Footer ===== */

.footer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  background-color: var(--color-dark-2);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding-top: 4.444vw;
}

.footer > .container {
  padding-bottom: 3.333vw;
}

.footer__columns {
  display: flex;
  justify-content: center;
  gap: 4.444vw;
  margin-bottom: 5.556vw;
}

.footer__col {
  width: 12vw;
}

.footer__heading {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1.667vw;
  text-transform: uppercase;
  color: var(--color-white);
  margin-bottom: 1.389vw;
}

.footer__link {
  display: block;
  font-size: 1.111vw;
  color: var(--color-white);
  opacity: 0.85;
  padding: 0.417vw 0;
  transition: opacity 0.2s ease;
}

.footer__link:hover {
  opacity: 1;
  text-decoration: underline;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.778vw;
  max-width: 77.776vw;
  margin: 0 auto;
}

.footer__logo {
  height: 3.611vw;
  width: auto;
}

.footer__legal {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.556vw;
}

.footer__legal-text {
  font-size: 0.903vw;
  line-height: 1.4;
  color: var(--color-white);
  opacity: 0.7;
  text-align: right;
}

.footer__legal-link {
  font-size: 0.903vw;
  color: var(--color-white);
  opacity: 0.85;
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.footer__legal-link:hover {
  opacity: 1;
}

.footer__stripe {
  margin-top: auto;
  height: 1.944vw;
  background-color: var(--color-navy);
}

/* ===== Scroll reveal ===== */

.reveal {
  opacity: 0;
  transform: translateY(2.5vw);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Empty page ===== */

.empty-main {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5.556vw 2.778vw;
}

.empty-main__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 2.222vw;
  text-transform: uppercase;
  color: var(--color-ink);
}

/* ===== Responsive ===== */

@media (max-width: 900px) {
  :root {
    --header-h: 16vw;
  }

  body {
    font-size: 2.5vw;
  }

  .nav {
    display: none;
  }

  .header__logo-img {
    height: 5vw;
  }

  .header__right {
    gap: 3vw;
  }

  .header__burger {
    display: flex;
  }

  .header .btn span {
    display: inline;
  }

  .header .btn {
    height: 8.5vw;
    padding: 0 3.5vw;
    font-size: 2.8vw;
    margin-right: 2vw;
  }

  .header .btn__arrow {
    width: 3.5vw;
    height: 3.5vw;
  }

  .header__burger {
    width: 8vw;
    height: 8vw;
    gap: 1.2vw;
  }

  .header__burger span {
    height: 0.4vw;
    border-radius: 0.4vw;
  }

  .header--menu-open .header__burger span:nth-child(1) {
    transform: translateY(1.6vw) rotate(45deg);
  }

  .header--menu-open .header__burger span:nth-child(3) {
    transform: translateY(-1.6vw) rotate(-45deg);
  }

  .mobile-nav {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    background-color: var(--color-cream);
    box-shadow: 0 1vw 2vw rgba(0, 0, 0, 0.12);
    transition: max-height 0.3s ease;
    z-index: 99;
  }

  .header--menu-open .mobile-nav {
    max-height: 100vh;
    overflow-y: auto;
  }

  .mobile-nav__list {
    padding: 4vw 6vw 6vw;
  }

  .mobile-nav__link {
    display: block;
    padding: 3vw 0;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 4vw;
    text-transform: uppercase;
    color: var(--color-ink);
    border-bottom: 0.14vw solid rgba(0, 0, 0, 0.08);
  }

  .mobile-nav__link--current {
    color: var(--color-navy);
  }

  .mobile-nav__sublist {
    padding: 0 0 2vw 4vw;
  }

  .mobile-nav__sublink {
    display: block;
    padding: 2vw 0;
    font-size: 3.4vw;
    color: var(--color-ink);
    opacity: 0.75;
  }

  .nav__list {
    gap: 3vw;
  }

  .hero {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    min-height: 0;
    /* первый экран = ровно высота телефона минус шапка (svh — с учётом панелей браузера) */
    height: calc(100vh - var(--header-h));
    height: calc(100svh - var(--header-h));
    padding: 0 5vw 7vw;
  }

  .hero__sound {
    top: 9vw;
    right: 4vw;
    bottom: auto;
    width: 10vw;
    height: 10vw;
  }

  .hero__sound-icon {
    width: 5vw;
    height: 5vw;
  }

  /* текст лежит поверх видео: сверху логотип и заголовок, снизу абзац и кнопка */
  .hero__content {
    z-index: 2;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    max-width: none;
    padding: 9vw 0 0;
    pointer-events: none;
  }

  .hero__ambient-img {
    filter: blur(8vw) saturate(1.15);
  }

  .hero__overlay {
    background: linear-gradient(180deg, rgba(16, 30, 82, 0.8) 0%, rgba(16, 30, 82, 0.9) 100%);
  }

  .hero-reel {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
  }

  .hero-reel__frame {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .hero-reel__frame::after {
    background:
      linear-gradient(180deg, rgba(16, 30, 82, 0.9) 0%, rgba(16, 30, 82, 0.72) 22%, rgba(16, 30, 82, 0) 44%, rgba(16, 30, 82, 0) 58%, rgba(16, 30, 82, 0.72) 76%, rgba(16, 30, 82, 0.94) 100%),
      linear-gradient(90deg, rgba(16, 30, 82, 0.4) 0%, rgba(16, 30, 82, 0) 72%);
  }

  .hero-reel__bars {
    top: 3vw;
    left: 4vw;
    right: 4vw;
    gap: 1.2vw;
  }

  .hero-reel__bar {
    height: 3.6vw;
  }

  .hero-reel__bar::before,
  .hero-reel__bar-fill {
    height: 0.8vw;
    border-radius: 0.6vw;
  }

  .hero__title {
    font-size: 5.2vw;
    line-height: 1.4;
    max-width: none;
    margin-bottom: 0;
  }

  .hero__plate {
    padding: 2.6vw 4vw;
    margin-bottom: 3.5vw;
    border-radius: 3vw;
  }

  .hero__logo {
    width: 34vw;
  }

  .hero__mark {
    white-space: normal;
    margin-top: 0;
  }

  .hero__text {
    font-size: 3.4vw;
    max-width: none;
    margin: auto 0 4.5vw;
    padding-left: 3.5vw;
    color: rgba(255, 252, 247, 0.92);
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 5vw;
    pointer-events: auto;
  }

  /* ===== 01 Why us (mobile) ===== */

  .why {
    grid-template-columns: 1fr;
    gap: 7vw;
  }

  .section--why {
    position: static;
    padding-bottom: 8vw;
  }

  .why__col .section__title {
    font-size: 7vw;
    margin-top: 6vw;
    margin-bottom: 4vw;
  }

  .why__media {
    flex: none;
    min-height: 0;
  }

  .why__img {
    position: static;
    height: 55vw;
  }

  .timeline {
    width: 100%;
    margin-left: 0;
    gap: 5vw;
  }

  .timeline__item {
    gap: 3.5vw;
  }

  .timeline__item:not(:first-child)::before,
  .timeline__item:not(:last-child)::after {
    left: calc(4.2vw - 0.0555vw);
  }

  .timeline__item:not(:last-child)::after {
    height: calc(50% + 5vw);
  }

  .timeline__num {
    width: 8.4vw;
    height: 8.4vw;
    font-size: 3.6vw;
  }

  .timeline__body {
    width: auto;
    flex: 1;
    padding: 3.5vw 4vw;
  }

  .timeline__title {
    font-size: 4vw;
    margin-bottom: 1.5vw;
  }

  .timeline__text {
    font-size: 3.3vw;
  }

  /* ===== 02 Offer (mobile) ===== */

  .section--offer .section__title {
    font-size: 7vw;
    margin-top: 6vw;
    margin-bottom: 4vw;
  }

  .offer {
    gap: 5vw;
  }

  .offer__row {
    grid-template-columns: 1fr;
    gap: 5vw;
  }

  .service {
    padding: 5vw 5vw;
  }

  .service__head {
    gap: 2.5vw;
    margin-bottom: 3.5vw;
  }

  .service__num {
    width: 7.5vw;
    height: 7.5vw;
    font-size: 3.4vw;
  }

  .service__title {
    font-size: 4vw;
  }

  .service__desc {
    font-size: 3.3vw;
    padding: 3.5vw 4vw;
    margin-bottom: 3.5vw;
  }

  .service__list {
    padding: 2.5vw 4vw;
    margin-bottom: 3.5vw;
  }

  .service__list-item {
    gap: 3vw;
    font-size: 3.3vw;
    padding: 2.5vw 1vw;
  }

  .service__icon {
    width: 7.2vw;
    height: 7.2vw;
    margin: -0.8vw 0.4vw -0.8vw -2vw;
  }

  .service__list-arrow {
    width: 6.5vw;
    height: 2.6vw;
  }

  .service__link {
    gap: 2vw;
    font-size: 3.3vw;
  }

  .service__link-icon {
    width: 6.5vw;
    height: 6.5vw;
  }

  .tags {
    gap: 2.2vw;
    margin-bottom: 3.5vw;
  }

  .tags__item {
    font-size: 3vw;
    padding: 2vw 3.5vw;
  }

  .offer-card {
    padding: 5vw 5vw;
  }

  .offer-card__title {
    font-size: 4.4vw;
    margin-bottom: 2.5vw;
  }

  .offer-card__desc {
    font-size: 3.3vw;
    margin-bottom: 3.5vw;
  }

  .check-list {
    gap: 2.5vw;
    margin-bottom: 4vw;
  }

  .check-list__item {
    gap: 2.5vw;
    font-size: 3.2vw;
  }

  .check-list__icon {
    width: 4.5vw;
    height: 4.5vw;
  }

  /* ===== 03 Need (mobile) ===== */

  .need {
    flex-direction: column;
    align-items: stretch;
    gap: 6vw;
  }

  .need .section__title {
    font-size: 7vw;
    margin-top: 6vw;
    margin-bottom: 0;
  }

  .need-list {
    max-width: none;
    gap: 9vw;
  }

  .need-list::before {
    left: 4.5vw;
    top: 4.5vw;
    bottom: 4.5vw;
  }

  .need-list__item {
    gap: 3.5vw;
  }

  .need-list__icon {
    width: 9vw;
    height: 9vw;
  }

  .need-list__icon-img {
    width: 6.6vw;
  }

  .need-list__text {
    font-size: 3.8vw;
  }

  .gallery {
    margin-top: 5vw;
    padding: 3vw 0;
  }

  .gallery__item {
    width: 55vw;
    height: 66vw;
  }

  /* ===== 04 Steps (mobile) ===== */

  .steps {
    gap: 6vw;
  }

  .steps__intro .section__title {
    font-size: 7vw;
    margin-top: 6vw;
    margin-bottom: 3vw;
  }

  .steps__intro-text {
    font-size: 3.3vw;
    max-width: none;
  }

  .steps__stepper {
    display: none;
  }

  .steps__row {
    position: relative;
    display: flex;
    flex-direction: column;
    grid-template-columns: none;
    gap: 5vw;
  }

  .steps__row::before {
    content: '';
    position: absolute;
    left: 4.2vw;
    top: 4.2vw;
    bottom: 4.2vw;
    width: 0.14vw;
    background-color: var(--color-navy);
    opacity: 0.35;
    z-index: 0;
  }

  .steps__row-item {
    display: flex;
    align-items: flex-start;
    gap: 3vw;
  }

  .steps__row-num {
    position: relative;
    z-index: 1;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 8.4vw;
    height: 8.4vw;
    border-radius: 50%;
    border: 0.07vw solid var(--color-navy);
    background-color: var(--color-gray);
    color: var(--color-navy);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 3.6vw;
  }

  .steps__row-item > a,
  .steps__row-item > .flip-card {
    flex: 1;
    min-width: 0;
  }

  .cta-card {
    padding: 5vw 5vw 6vw;
  }

  .cta-card__icon {
    width: 8vw;
    height: 8vw;
  }

  .cta-card__text {
    font-size: 3.8vw;
    max-width: none;
    margin-bottom: 3vw;
  }

  .flip-card {
    height: 34vw;
    transform: none !important;
    transition: height 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
  }

  .flip-card--flipped {
    height: 98vw;
  }

  .steps__row .flip-card {
    min-height: 0;
  }

  .btn {
    gap: 3vw;
    height: 11vw;
    padding-left: 5vw;
    padding-right: 5vw;
    font-size: 3.4vw;
    border-radius: 999px;
  }

  .btn__arrow {
    width: 4.5vw;
    height: 4.5vw;
  }

  .form-card {
    gap: 3vw;
    padding: 5vw 4.5vw 6vw;
  }

  .form-card__intro {
    font-size: 4.4vw;
    margin-bottom: 2.5vw;
  }

  .form-card__input {
    height: 11vw;
    border-radius: 3vw;
    padding: 0 4vw;
    font-size: 3.4vw;
  }

  .form-card__checkbox {
    gap: 2.5vw;
    font-size: 3vw;
    margin-top: 1vw;
    margin-bottom: 3vw;
  }

  .form-card__checkbox input {
    width: 3.5vw;
    height: 3.5vw;
  }

  .form-status {
    font-size: 3.3vw;
    margin-top: 2.5vw;
  }

  .stati-intro {
    padding-top: 5vw;
  }

  .stati-intro .section__title {
    font-size: 7vw;
    margin-bottom: 4vw;
  }

  .stati-intro__desc {
    max-width: none;
    font-size: 3.4vw;
    margin-top: 3vw;
  }

  .section--articles {
    padding-top: 4vw;
  }

  .article-list {
    gap: 5vw;
  }

  .article-preview {
    flex-direction: column;
    height: auto;
  }

  .article-preview__media {
    flex: 0 0 auto;
    height: 70vw;
  }

  .article-preview__body {
    padding: 7.5vw 6vw;
  }

  .article-preview__tag {
    font-size: 3.1vw;
    margin-bottom: 1.5vw;
  }

  .article-preview__title {
    font-size: 5.5vw;
    margin-bottom: 2.5vw;
  }

  .article-preview__desc {
    -webkit-line-clamp: 3;
    font-size: 3.4vw;
    margin-bottom: 3.5vw;
  }

  .article-preview__link {
    gap: 1.5vw;
    font-size: 3vw;
  }

  .article-preview__link img {
    width: 3vw;
    height: 3vw;
  }

  .footer {
    margin-top: 8vw;
    padding-top: 9vw;
  }

  .footer > .container {
    padding-bottom: 7vw;
  }

  .footer__columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7vw 5vw;
    margin-bottom: 8vw;
    padding-left: 6vw;
  }

  .footer__col {
    width: auto;
  }

  .footer__heading {
    font-size: 4.2vw;
    margin-bottom: 3vw;
  }

  .footer__link {
    font-size: 3.4vw;
    padding: 1.4vw 0;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 5vw;
    max-width: none;
    margin: 0;
    padding-left: 6vw;
  }

  .footer__logo {
    height: 9vw;
  }

  .footer__legal {
    align-items: flex-start;
    gap: 2vw;
  }

  .footer__legal-text {
    font-size: 3.2vw;
    text-align: left;
  }

  .footer__legal-link {
    font-size: 3.2vw;
  }

  .footer__stripe {
    height: 4vw;
  }
}

/* ===== Consent link, footer disclaimer, cookie banner ===== */

.consent-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.footer__disclaimer {
  max-width: 77.776vw;
  margin: 2vw auto 0;
  font-size: 0.764vw;
  line-height: 1.5;
  color: var(--color-white);
  opacity: 0.5;
  text-wrap: pretty;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1.4vw;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 1.6vw;
  width: min(52vw, 1100px);
  padding: 1.1vw 1.4vw 1.1vw 1.7vw;
  border-radius: var(--radius-md);
  background-color: var(--color-navy);
  color: var(--color-cream-soft);
  box-shadow: 0 0.6vw 2.4vw rgba(16, 30, 82, 0.35);
  transform: translate(-50%, 140%);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.35s ease;
}

.cookie-banner--visible {
  transform: translate(-50%, 0);
  opacity: 1;
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.9vw;
  line-height: 1.45;
  text-wrap: pretty;
}

.cookie-banner__text a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-banner__btn {
  flex-shrink: 0;
  padding: 0.75vw 1.6vw;
  border: 0;
  border-radius: 10vw;
  background-color: var(--color-cream);
  color: var(--color-navy);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9vw;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.cookie-banner__btn:hover {
  opacity: 0.88;
}

@media (max-width: 900px) {
  .footer__disclaimer {
    max-width: none;
    margin: 6vw 0 0;
    font-size: 2.8vw;
  }

  .cookie-banner {
    bottom: 3vw;
    width: calc(100vw - 6vw);
    flex-direction: column;
    align-items: stretch;
    gap: 3vw;
    padding: 4vw 4.5vw;
    border-radius: 4vw;
  }

  .cookie-banner__text {
    font-size: 3.3vw;
  }

  .cookie-banner__btn {
    padding: 2.8vw 5vw;
    font-size: 3.4vw;
  }
}

/* iOS Safari приближает страницу при фокусе на поле со шрифтом меньше 16px — не допускаем этого */
@media (max-width: 900px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
  select,
  textarea {
    font-size: 16px !important;
  }
}

/* ===== Нумерованные списки: анимация (Почему мы, Персональные программы) ===== */

/* карточки шагов выезжают по очереди */
.timeline__item:nth-child(1) { transition-delay: 0s; }
.timeline__item:nth-child(2) { transition-delay: 0.14s; }
.timeline__item:nth-child(3) { transition-delay: 0.28s; }
.timeline__item:nth-child(4) { transition-delay: 0.42s; }

/* кружок с цифрой «выпрыгивает» */
.timeline__num {
  transform: scale(0.3);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s, box-shadow 0.3s ease;
}

.timeline__item.in-view .timeline__num {
  transform: scale(1);
}

.timeline__item:nth-child(2) .timeline__num { transition-delay: 0.34s, 0s; }
.timeline__item:nth-child(3) .timeline__num { transition-delay: 0.48s, 0s; }
.timeline__item:nth-child(4) .timeline__num { transition-delay: 0.62s, 0s; }

/* линия между кружками «вытягивается» сверху вниз */
.timeline__item::before,
.timeline__item::after {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.45s ease;
}

.timeline__item.in-view::before,
.timeline__item.in-view::after {
  transform: scaleY(1);
}

.timeline__item::after { transition-delay: 0.55s; }
.timeline__item:nth-child(2)::after { transition-delay: 0.7s; }
.timeline__item:nth-child(3)::after { transition-delay: 0.85s; }
.timeline__item::before { transition-delay: 0.45s; }
.timeline__item:nth-child(3)::before { transition-delay: 0.75s; }
.timeline__item:nth-child(4)::before { transition-delay: 0.9s; }

/* при наведении карточка чуть сдвигается, а кружок увеличивается */
.timeline__body {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline__item:hover .timeline__body {
  transform: translateX(0.5vw);
  box-shadow: 0 0.6vw 1.6vw rgba(30, 58, 138, 0.14);
}

.timeline__item.in-view:hover .timeline__num {
  transform: scale(1.1);
  box-shadow: 0 0 0 0.45vw rgba(30, 58, 138, 0.15);
  transition-delay: 0s;
}


@media (max-width: 900px) {
  .timeline__item:hover .timeline__body {
    transform: none;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timeline__num,
  .timeline__item::before,
  .timeline__item::after,
  .faq-row__num,
  .steps__step-circle {
    transform: none !important;
    transition: none !important;
  }
}

/* ===== Три шага (низ главной): линия вытягивается, кружки «выпрыгивают» ===== */

.steps__stepper::before {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.1s ease 0.2s;
}

.steps__stepper.in-view::before {
  transform: scaleX(1);
}

.steps__step-circle {
  transform: scale(0.3);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.steps__stepper.in-view .steps__step-circle {
  transform: scale(1);
}

.steps__step:nth-child(1) .steps__step-circle { transition-delay: 0.15s; }
.steps__step:nth-child(2) .steps__step-circle { transition-delay: 0.6s; }
.steps__step:nth-child(3) .steps__step-circle { transition-delay: 1.05s; }

.steps__row-item:nth-child(2) .reveal { transition-delay: 0.15s; }
.steps__row-item:nth-child(3) .reveal { transition-delay: 0.3s; }

/* единое расстояние от заголовка страницы до абзаца под ним */
.stati-intro .section__title {
  margin-bottom: 1.25vw;
}

.stati-intro__desc {
  margin-top: 0;
}

@media (max-width: 900px) {
  .stati-intro .section__title {
    margin-bottom: 3vw;
  }

  .stati-intro__desc {
    margin-top: 0;
  }
}

.steps__intro .section__title {
  margin-bottom: 1.25vw;
}

@media (max-width: 900px) {
  .steps__intro .section__title {
    margin-bottom: 3vw;
  }
}

@media (max-width: 900px) {
  .flip-card .form-status {
    margin-top: 2vw;
  }

  .flip-card--has-status {
    margin-bottom: 11vw;
  }
}

/* на телефоне кадр другой формы: --pos-m задаёт, что должно остаться в центре */
@media (max-width: 900px) {
  img[style*="--pos-m"] {
    object-position: var(--pos-m) !important;
  }
}
