/* Добавьте это в самый верх вашего style.css */
html {
  box-sizing: border-box;
}
body, h1, h2, h3, h4, h5, h6, p, ul, ol, li, figure, figcaption, blockquote {
  margin: 0;
  padding: 0;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}

/* Дальше ваши стили */
body {
  font-family: Arial, sans-serif;
  background-color: black;
  overflow-x: hidden;
}

/* ==========================================================================
   Анимация логотипа: цветок крутится, зрачок бегает по орбите,
   "MAXTON STUDIO" выезжает справа из-за цветка
   ========================================================================== */
.logo-svg {
  display: block;
  width: 160px;
  height: auto;
  overflow: visible; /* чтобы вращающийся цветок не обрезался по viewBox */
}

@media (max-width: 768px) {
  .logo-svg {
    width: 110px;
  }
}

/* Цветок-клевер: вращение вокруг центра логотипа (16, 16 в SVG-координатах) */
.logo-petal {
  transform-origin: 16px 16px;
  animation: logo-petal-spin 6s linear infinite;
  transform-box: fill-box;
}

/* Зрачок (белый кружок) ходит вокруг центра глаза, активно по сторонам */
.logo-pupil {
  transform-origin: 16.0145px 16.3528px;
  animation: logo-pupil-orbit 2.6s ease-in-out infinite;
  transform-box: view-box;
}

/* Текст MAXTON и STUDIO выезжают справа из-за цветка
   Цветок-клевер нарисован поверх текста, поэтому при выезде текст
   натурально маскируется его контуром */
.logo-text {
  animation: logo-text-slide 1.3s cubic-bezier(.7, 0, .15, 1) 0.4s both;
  transform-box: view-box;
}

.logo-text-studio {
  animation-delay: 0.65s;
}

@keyframes logo-petal-spin {
  to { transform: rotate(360deg); }
}

@keyframes logo-pupil-orbit {
  0%   { transform: translate(-1.6px, 0); }
  20%  { transform: translate(1.6px, -0.6px); }
  40%  { transform: translate(1.6px, 0.6px); }
  60%  { transform: translate(-1.6px, 0.6px); }
  80%  { transform: translate(-0.4px, -0.8px); }
  100% { transform: translate(-1.6px, 0); }
}

@keyframes logo-text-slide {
  0%   { transform: translateX(-130px); }
  100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-petal,
  .logo-pupil,
  .logo-text {
    animation: none;
  }
  .logo-text {
    clip-path: none;
  }
}

/* ==========================================================================
   Лоадер
   ========================================================================== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  gap: 24px;
  transition: transform 1.1s cubic-bezier(.7, 0, .15, 1), opacity 0.4s ease 0.7s;
  will-change: transform;
}

.loader-counter {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: #fff;
  font-family: 'Neutral Face', Arial, sans-serif;
  font-size: clamp(64px, 14vw, 160px);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.loader-bar {
  width: min(360px, 60vw);
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.loader-bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: #fff;
  transition: width 0.2s linear;
}

.loader-brand {
  color: rgba(255, 255, 255, 0.5);
  font-family: 'SF Pro Display', Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}

body.loaded .loader {
  transform: translateY(-101%);
  opacity: 0;
}

/* ==========================================================================
   Курсор
   ========================================================================== */
.cursor,
.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9000;
  border-radius: 50%;
  mix-blend-mode: difference;
  will-change: transform;
}

.cursor {
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  border: 1px solid #fff;
  transition: width 0.3s cubic-bezier(.2,.8,.2,1),
              height 0.3s cubic-bezier(.2,.8,.2,1),
              margin 0.3s cubic-bezier(.2,.8,.2,1),
              background 0.3s ease;
}

.cursor.-active {
  width: 70px;
  height: 70px;
  margin: -35px 0 0 -35px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
}

.cursor.-text {
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: #fff;
}

.cursor-dot {
  width: 4px;
  height: 4px;
  margin: -2px 0 0 -2px;
  background: #fff;
}

@media (hover: none), (max-width: 768px) {
  .cursor,
  .cursor-dot {
    display: none;
  }
}

body.has-cursor {
  cursor: none;
}

body.has-cursor a,
body.has-cursor button,
body.has-cursor .button {
  cursor: none;
}

/* ==========================================================================
   Hero spotlight за курсором
   ========================================================================== */
.first-screen {
  position: relative;
  overflow: hidden;
}

.hero-spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    320px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02) 35%,
    transparent 65%
  );
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 0;
}

body.has-cursor .first-screen.is-spotlit .hero-spotlight {
  opacity: 1;
}

@media (hover: none), (max-width: 768px) {
  .hero-spotlight {
    display: none;
  }
}

/* ==========================================================================
   Прогресс скролла
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 1001;
  pointer-events: none;
  will-change: transform;
}

/* ==========================================================================
   Reveal на скролле — активируется только когда JS отметил body
   ========================================================================== */
body.js-on [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 1s cubic-bezier(.2,.8,.2,1);
  will-change: opacity, transform;
}

body.js-on [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

/* Split-text (большой заголовок) */
.split-line {
  display: block;
  overflow: hidden;
  line-height: inherit;
  padding-bottom: 0.05em;
}

.split-word {
  display: inline-block;
  white-space: nowrap;
}

body.js-on .split-char {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 1.1s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

body.js-on .is-revealed .split-char,
body.js-on .split-line.is-revealed .split-char {
  transform: translateY(0);
}

/* ==========================================================================
   Маркиза
   ========================================================================== */
.marquee-screen {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 32px 0;
  overflow: hidden;
}

.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
  will-change: transform;
}

.marquee-item {
  font-family: 'Neutral Face', Arial, sans-serif;
  font-size: clamp(48px, 8vw, 120px);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
}

.marquee-dot {
  color: rgba(255, 255, 255, 0.4);
  font-size: clamp(24px, 4vw, 60px);
  line-height: 1;
}

@keyframes marquee-scroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
  .split-char {
    transform: none;
  }
}

/* ==========================================================================
   Magnetic-кнопки и hover-effects
   ========================================================================== */
.button {
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), background 0.3s ease, color 0.3s ease;
  will-change: transform;
}

.button-inner {
  display: inline-flex;
  align-items: center;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1);
}

.header-discuss-button:hover {
  background: #000;
  color: #fff;
  border-color: #fff;
}

/* Чёрный плюс на ховере остаётся виден на тёмном фоне */
.header-discuss-button:hover .menu-icon {
  filter: invert(100%);
}

.header-menu-button:hover {
  background: #fff;
  color: #000;
}

.header-menu-button:hover .menu-icon--invert {
  filter: none;
}

.second-column-two-row-column-team {
  transition: transform 0.4s cubic-bezier(.2,.8,.2,1), background 0.3s ease, color 0.3s ease;
}

.second-column-two-row-column-team:hover {
  background: #fff;
  color: #000;
}

.second-column-two-row-column-team:hover .arrow-image {
  filter: invert(100%);
}

.arrow-image {
  height: 16px;
  width: 16px;
  transition: filter 0.3s ease;
}

/* Hover на шагах работы */
.four-screen-container {
  transition: background 0.5s ease;
}

.four-screen-container:hover {
  background: rgba(255, 255, 255, 0.02);
}

.four-screen-container-row-column-title {
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  display: inline-block;
}

.four-screen-container:hover .four-screen-container-row-column-title {
  transform: translateX(12px);
}

/* Slot-roll: буквы прокручиваются как в слот-машине, синхронно.
   height/line-height 1.3 — чтобы descender-ы (ножки Д, хвост У и т.д.)
   полностью помещались в ячейку и не вылезали в соседнюю при роллинге. */
.slot {
  display: inline-flex;
  flex-direction: column;
  overflow: hidden;
  height: 1.3em;
  line-height: 1.3;
  vertical-align: top;
  /* компенсируем добавленный отступ, чтобы линия осталась на той же базовой */
  margin-bottom: -0.3em;
}

.slot-inner {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.55s cubic-bezier(.7, 0, .25, 1);
  will-change: transform;
  flex-shrink: 0;
}

.slot-cell {
  display: block;
  height: 1.3em;
  line-height: 1.3;
  flex-shrink: 0;
}

[data-roll-trigger]:hover .slot .slot-inner {
  transform: translateY(-50%);
}

/* Иконка-плюс/минус в кнопках при роллинге не дёргается */
[data-roll-trigger]:hover .menu-icon {
  transform: rotate(90deg);
  transition: transform 0.5s cubic-bezier(.7, 0, .25, 1);
}

.menu-icon {
  transition: transform 0.5s cubic-bezier(.7, 0, .25, 1);
}

img,
video {
  max-width: 100%;
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1100;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  text-decoration: none;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

@font-face {
  font-family: 'Neutral Face'; 
  src: url('/fonts/NeutralFace.otf') format('opentype');
  font-weight: normal; 
  font-style: normal;
  font-display: swap; 
}

@font-face {
  font-family: 'SF Pro Display'; 
  src: url('/fonts/SF-Pro-Display-Thin.otf') format('opentype');
  font-weight: normal; 
  font-style: normal;
  font-display: swap; 
}

.first-screen {
}
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Слегка увеличиваем чтобы кодек-артефакт по краю ушёл за overflow */
  transform: scale(1.02);
  transform-origin: center;
  z-index: -1;
}

.container {
    margin: 0 auto;
    max-width: 1820px;
    width: 100%;

}
.blur-container {
  background: url('/assets/blur.png') center/cover no-repeat;
  z-index: 1;
  max-width: 1820px;
  padding: 0;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: black;
  padding: 40px 0 0;
  background-color: transparent;
}

.header-container {
  display: flex;
  min-height: 50px;
  margin-top: 0;
}

body {
  /*padding-top: 90px;  40px + 50px */
}



.header-column {
    flex: 1;
    position: relative;
    padding-left: 25px;
    display: flex;
    align-items: center;
}

.menu-icon {
    height: 16px;
    width: 16px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 15px;
}

.menu-icon--invert {
    filter: invert(100%);
}

.button {
    padding: 15px 30px 15px 30px;
    border: 1px solid #e0e0e0;
    border-radius: 100vh;
}

.header-menu-button {
    text-decoration: none;
    color: white;
}

.header-discuss-button {
    text-decoration: none;
    color: black;
    background-color: white;
}


.container-four-columns {
    display: flex;
    min-height: 150px;
  
    border-left: 1px solid rgba(255, 255, 255, 0.15); 
}

.column {
    flex: 1;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.column--spacer {
    height: 240px;
}

.content-block {
    color: white;
    padding-left: 25px;
    font-size: 20px;
    font-family: 'SF Pro Display';
    opacity: 0.8;
}

.big-text-container {
  position: relative;
  height: 60vh;
}

.big-text {
  color: white;
  position: absolute;
  /* Флюидно — подгоняем под ширину контейнера, пока это возможно.
     Кэп 145px чтобы на 4К не разносило. */
  font-size: clamp(60px, 7vw, 145px);
  font-family: 'Neutral Face';
  padding-left: 5px;
}

.container-three-columns {
  display: flex;
  height: 931px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0;
}



.second-column {
  flex: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  background: 
    linear-gradient(to bottom left, transparent 49.9%, rgba(255, 255, 255, 0.15) 50%, transparent 50.1%),
    url('/assets/maxton-1.png') center/cover no-repeat;
  background-size: cover;
    background-position: center; /* Центрирует изображение */
  background-repeat: no-repeat;
  display: flex;
  justify-content: center; /* Центр по горизонтали */
  align-items: center;     /* Центр по вертикали */
  height: 100%;   
}

.second-column-text {
  display: inline-flex;
  flex-direction: column;
  align-items: center; 
  text-align: center; 
}

.second-column-text-title {
  color: white;
  font-family: 'Neutral Face'; 
  font-size: 64px;
  margin-bottom: 30px;
}

.second-column-text-subtitle {
  color: white;
  font-family: 'SF Pro Display';
  opacity: 0.8;
  font-size: 20px;
}

.second-column-text-subtitle--narrow {
  width: 278px;
}

.second-column-text-subtitle--solid {
  opacity: 1;
}



.second-column-two {
  flex: 1;
  display: inline-flex;
  flex-direction: column;
}

.second-column-two-row {
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  flex-direction: row;
}

.second-column-two-row-column {
  flex: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;

  padding: 25px;
}

.second-column-two-row-column-desc {
  color: white;
  font-family: 'SF Pro Display';
  font-size: 20px;
  
}



.second-column-two-row-column-team {
  display: inline-flex;
  flex-direction: row;
  text-decoration: none;
  color: white;
  font-family: 'SF Pro Display';
  font-size: 18px;
  gap: 15px;
  padding: 15px 30px 15px 30px;
  border: 1px solid #e0e0e0;
  border-radius: 100vh;
  white-space: nowrap;
  align-items: center;
  align-self: flex-start;
} 

.krest {
  background: 
    linear-gradient(to bottom left, transparent 49.9%, rgba(255, 255, 255, 0.15) 50%, transparent 50.1%),
    linear-gradient(to bottom right, transparent 49.9%, rgba(255, 255, 255, 0.15) 50%, transparent 50.1%);
}

.three-container {
  position: relative;
  display: flex;
  height: 767px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-left:  1px solid rgba(255, 255, 255, 0.15);
  border-right:  1px solid rgba(255, 255, 255, 0.15);
  border-bottom:  1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
}

.three-container-text {
  color: white;
  font-family: 'Neutral Face';
  font-size: 64px;
  margin-bottom: 50px;
}

.four-screen-container {
  display: flex;
  flex-direction: column;
  border-left:  1px solid rgba(255, 255, 255, 0.15);
  border-right:  1px solid rgba(255, 255, 255, 0.15);
  border-bottom:  1px solid rgba(255, 255, 255, 0.15);
  height: 365px;
}

.four-screen-container-row {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding-left: 25px;
  padding-right: 25px;
}

.four-screen-container-row-column-title {
  color: white;
  font-family: 'Neutral Face';
  font-size: 64px;
  text-transform: uppercase;
}

.four-screen-container-row-column {
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.four-screen-container-row-column-desc {
  font-family: 'SF Pro Display';
  font-size: 24px;
  color: white;
  width: 400px;
}

.four-screen-container-row-column-num {
  font-family: 'SF Pro Display';
  font-size: 24px;
  color: white;
}

/* ==========================================================================
   Адаптив: планшет
   ========================================================================== */
@media (max-width: 1280px) {
  .container {
    padding: 0 20px;
  }

  .second-column-text-title {
    font-size: 56px;
  }

  .three-container-text {
    font-size: 56px;
  }

  .four-screen-container-row-column-title {
    font-size: 56px;
  }

  .container-three-columns {
    height: 800px;
  }

  .three-container {
    height: 600px;
  }
}

/* ==========================================================================
   Адаптив: мобильные
   ========================================================================== */
@media (max-width: 768px) {
  /* === Шапка: липкая, компактная, с блюром === */
  header {
    position: fixed;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.72);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-container {
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    min-height: 64px;
  }

  .header-column {
    flex: 0 0 auto;
    padding-left: 0;
  }

  .header-column--spacer {
    display: none;
  }

  .header-column--logo {
    flex: 1 1 auto;
    margin-right: auto;
  }

  .header-column--logo img,
  .header-column--logo .logo-svg {
    width: 84px;
    height: auto;
  }

  .header-nav {
    display: none; /* На узких экранах меню скрываем — контента в нём нет */
  }

  .button {
    padding: 10px 16px;
    font-size: 13px;
    white-space: nowrap;
    line-height: 1.2;
  }

  .menu-icon {
    height: 12px;
    width: 12px;
    margin-right: 8px;
  }

  /* Сдвигаем main под фикс-хедер */
  main {
    padding-top: 64px;
  }

  /* === Первый экран / Hero === */
  .first-screen {
    position: relative;
    overflow: hidden;
    padding: 56px 0 24px;
  }

  .blur-container {
    background: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .container-four-columns {
    flex-direction: column;
    min-height: auto;
    border: none;
    padding: 0;
  }

  .column {
    flex: none;
    border: none;
    min-height: 0;
  }

  /* Спейсер-контейнер на мобиле не нужен — отступом сверху уже занимается main */
  .first-screen .blur-container > .container-four-columns:first-child {
    display: none;
  }

  /* Big-text идёт первым для импактного открытия */
  .big-text-container {
    order: -1;
    height: auto;
    min-height: 0;
    padding: 24px 0 48px;
  }

  .big-text {
    position: relative;
    font-size: 64px;
    padding: 0 18px;
    line-height: 0.98;
    letter-spacing: -0.01em;
  }

  .content-block {
    padding: 0 18px;
    font-size: 16px;
    line-height: 1.55;
  }

  .content-block:empty {
    display: none;
  }

  .column:has(> .content-block:empty:only-child) {
    display: none;
  }

  /* Текстовые блоки в hero — стек с дыханием между ними */
  .first-screen .blur-container > .container-four-columns:nth-child(2) {
    gap: 32px;
    padding: 0 0 56px;
  }

  /* Полупрозрачный сепаратор перед big-text для ритма */
  .first-screen .blur-container > .container-four-columns:nth-child(2)::after {
    content: "";
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 24px 18px 0;
  }

  /* === Второй экран / Stats === */
  .second-screen {
    padding: 0;
  }

  .container-three-columns {
    flex-direction: column;
    height: auto;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .second-column {
    flex: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    min-height: 320px;
    padding: 56px 24px;
    background:
      linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%),
      url('/assets/maxton-1.png') center/cover no-repeat;
  }

  .second-column-text {
    gap: 12px;
  }

  .second-column-text-title {
    font-size: 56px;
    line-height: 1;
    margin-bottom: 0;
    letter-spacing: -0.01em;
  }

  .second-column-text-subtitle {
    font-size: 15px;
    line-height: 1.45;
  }

  .second-column-text-subtitle--narrow {
    width: auto;
    max-width: 260px;
  }

  /* Описание + кнопка стеком; цифры (50+, С 2021) — двумя в ряд */
  .second-column-two-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .second-column-two-row:first-child {
    flex-direction: column;
  }

  .second-column-two-row:first-child .krest {
    display: none;
  }

  .second-column-two-row:last-child {
    flex-direction: row;
    border-bottom: none;
  }

  .second-column-two-row-column {
    flex: 1;
    border-right: none;
    border-bottom: none;
    padding: 32px 22px;
    min-height: 0;
    justify-content: flex-start;
    gap: 12px;
  }

  .second-column-two-row:last-child .second-column-two-row-column:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .second-column-two-row-column-desc {
    font-size: 15px;
    line-height: 1.5;
  }

  .second-column-two-row-column-team {
    font-size: 13px;
    padding: 11px 20px;
    margin-top: 8px;
    align-self: flex-start;
  }

  .second-column-two-row:last-child .second-column-text-title {
    font-size: 40px;
    margin-bottom: 8px;
  }

  .second-column-two-row:last-child .second-column-text-subtitle {
    font-size: 13px;
    line-height: 1.4;
  }

  /* === Третий экран === */
  .three-container {
    height: 380px;
    padding: 0 24px;
    border-left: none;
    border-right: none;
  }

  .three-container-text {
    font-size: 30px;
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.1;
    letter-spacing: 0.02em;
  }

  .arrows {
    max-width: 72px;
  }

  /* === Четвёртый экран / Шаги === */
  .four-screen-container {
    height: auto;
    border-left: none;
    border-right: none;
  }

  .four-screen-container-row {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px 32px;
    gap: 10px;
  }

  .four-screen-container-row-column {
    width: 100%;
    flex: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
  }

  /* Номер сверху как маленький лейбл, описание ниже */
  .four-screen-container-row > .four-screen-container-row-column:last-child {
    flex-direction: column-reverse;
    gap: 10px;
  }

  .four-screen-container-row-column-num {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.18em;
    text-transform: uppercase;
  }

  .four-screen-container-row-column-title {
    font-size: 44px;
    line-height: 0.98;
    letter-spacing: -0.01em;
  }

  .four-screen-container-row-column-desc {
    font-size: 15px;
    line-height: 1.45;
    width: auto;
    color: rgba(255, 255, 255, 0.78);
  }
}

/* ==========================================================================
   Адаптив: маленькие экраны
   ========================================================================== */
@media (max-width: 480px) {
  .header-container {
    padding: 10px 14px;
    min-height: 60px;
  }

  main {
    padding-top: 60px;
  }

  .button {
    padding: 9px 14px;
    font-size: 12px;
  }

  .big-text {
    font-size: 50px;
  }

  .second-column {
    min-height: 280px;
    padding: 48px 20px;
  }

  .second-column-text-title {
    font-size: 48px;
  }

  .second-column-two-row:last-child .second-column-text-title {
    font-size: 32px;
  }

  .three-container {
    height: 320px;
  }

  .three-container-text {
    font-size: 24px;
  }

  .four-screen-container-row {
    padding: 24px 18px 28px;
  }

  .four-screen-container-row-column-title {
    font-size: 36px;
  }
}

@media (max-width: 360px) {
  .big-text {
    font-size: 42px;
  }

  .second-column-text-title {
    font-size: 42px;
  }

  .four-screen-container-row-column-title {
    font-size: 32px;
  }
}