/* ============================================
ИМПОРТ ШРИФТОВ
============================================ */
@font-face {
  font-family: 'Proxima Nova';
  src: url('fonts/ProximaNova/ProximaNovaRegular/ProximaNovaRegular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('fonts/ProximaNova/ProximaNovaRegular/ProximaNovaRegular.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('fonts/ProximaNova/ProximaNovaBold/ProximaNovaBold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('fonts/ProximaNova/ProximaNovaBlack/ProximaNovaBlack.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* ============================================
CSS ПЕРЕМЕННЫЕ
============================================ */
:root {
  /* Цвета */
  --color-black: #000000;
  --color-white: #FFFFFF;
  --color-gray-light: #F6F8F9;
  --color-gray-medium: #C7C7C7;
  --color-gray-dark: #C4C4C4;
  --color-gray-border: #3C3C3C;
  --color-beige: #FEE4C2;
  --color-red: #960018;
  --color-scrollbar: #BBBBBB;

  /* Градиенты */
  /* --gradient-text: linear-gradient(90deg, rgba(220, 0, 0, 1) 0%, rgba(143, 133, 126, 1) 57%, rgba(255, 209, 151, 1) 100%); */
  --yellow-gradient: linear-gradient(89.89deg, #DC0000 0.07%, #8F857E 57.33%, #FFD197 105.77%);

  /* Шрифты */
  --font-family: 'Proxima Nova', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* ============================================
БАЗОВЫЕ СТИЛИ
============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-white);
  background-color: var(--color-black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: inherit;
}

.text-gradient {
  background-image: url('images/gradient-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.text-red {
  color: #DC0000;
}

/* ============================================
ХЛЕБНЫЕ КРОШКИ
============================================ */
.breadcrumbs {
  position: absolute;
  top: 200px;
  left: 65px;
  z-index: 5;
  font-family: var(--font-family);
  font-size: 14px;
  color: var(--color-gray-medium);
}

.breadcrumbs a {
  color: var(--color-gray-medium);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--color-white);
}

.breadcrumbs__separator {
  margin: 0 6px;
  opacity: 0.5;
}

@media (max-width: 768px) {
  .breadcrumbs {
    top: 100px;
    left: 20px;
    font-size: 12px;
  }
}


/* ============================================
КНОПКА
 ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 24px;
  color: var(--color-white);
  background-color: transparent;
  border: 1px solid var(--color-white);
  cursor: pointer;
  padding: 10px 20px;
  transition: opacity 0.3s ease;
}

.btn-primary:hover {
  opacity: 0.8;
}

.btn-primary__icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-red {
  padding: 1.125rem 2rem;
  background-color: #E07A5F;
  color: var(--color-white);
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-red:hover {
  background-color: #D06A4F;
}

/* ============================================
HEADER
============================================ */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: clamp(1.5rem, 3vw, 2.8125rem);
  background-color: transparent;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header::before {
  display: none;
}

.header__line-middle {
  display: none;
}

.header__logo-container {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 1.5vw, 0.9375rem);
  text-decoration: none;
  cursor: pointer;
}

.header__logo-text {
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.header__burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 15px 12px;
  margin: -15px -12px;
  z-index: 11;
  position: relative;
}

.header__burger-line {
  width: 24px;
  height: 1px;
  background-color: var(--color-gray-dark);
  transition: transform 0.3s ease, opacity 0.3s ease;
  flex-shrink: 0;
}

.header__burger.header__burger--active .header__burger-line:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
  background-color: var(--color-black);
}

.header__burger.header__burger--active .header__burger-line:nth-child(2) {
  opacity: 0;
}

.header__burger.header__burger--active .header__burger-line:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
  background-color: var(--color-black);
}

/* ============================================
MENU OVERLAY
============================================ */
.menu-overlay {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-gray-light);
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.menu-overlay.menu-overlay--active {
  transform: translateX(0);
}

.menu-overlay__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
}

.menu-overlay__nav {
  width: fit-content;
  min-width: min(100%, 20rem);
  padding: clamp(1.5rem, 3vw, 2.8125rem);
  padding-top: 0;
  display: flex;
  flex-direction: column;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: flex-start;
  justify-content: center;
  align-self: stretch;
  height: auto;
}

.menu-overlay__nav-item {
  font-size: clamp(2rem, 5vw, 4rem);
  color: var(--color-black);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.menu-overlay__nav-item:hover {
  opacity: 0.7;
}

.menu-overlay__nav-item--active {
  color: var(--color-black);
}

.menu-overlay__close {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.8125rem);
  right: clamp(1.5rem, 3vw, 2.8125rem);
  z-index: 6;
}

.menu-overlay__close-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  position: relative;
}

.menu-overlay__close-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--color-black);
  transition: transform 0.3s ease;
}

.menu-overlay__close-line:nth-child(1) {
  transform: rotate(45deg);
}

.menu-overlay__close-line:nth-child(2) {
  transform: rotate(-45deg);
}

.menu-overlay__features {
  flex: 1;
  min-width: min(100%, 30rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  position: relative;
  height: auto;
  min-height: 50vh;
}

.menu-overlay__features-item {
  width: 100%;
  height: 100%;
  border-top: 1px solid var(--color-gray-border);
  border-left: 1px solid var(--color-gray-border);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 8% 8% 8%;
  position: relative;
  z-index: 2;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s ease;
}

.menu-overlay__features-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.menu-overlay__features-item-icon {
  width: clamp(1rem, 1.5vw, 1.25rem);
  height: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

.menu-overlay__features-item-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  color: var(--color-black);
}

/* ============================================
HERO
============================================ */
.hero {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--color-gray-border);
  height: 100vh;
  max-height: 100vh;
  box-sizing: border-box;
  overflow: hidden;
}

.hero__title-content {
  max-width: 40%;
  flex: 1;
  min-width: min(100%, 25rem);
  margin: clamp(8rem, 20vw, 12rem) 3vw clamp(2rem, 5vh, 4rem) 3vw;
}

.hero__title {
  font-family: 'Proxima Nova', sans-serif;
  font-size: clamp(40px, 5vw, 70px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.hero__btn {
  margin-top: clamp(2rem, 5vh, 4rem);
}

.hero__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  flex: 1;
  min-width: min(100%, 25rem);
  height: 100%;
  position: relative;
  z-index: 5;
}

.hero__features-item {
  width: 100%;
  min-height: 0;
  border: 1px solid var(--color-gray-border);
  border-bottom: none;
  border-right: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 8% 8% 8%;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s ease;
}

.hero__features-item:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.hero__features-item-icon-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero__features-item-title {
  font-family: 'Proxima Nova', sans-serif;
  font-size: 35px;
  font-weight: 400;
  line-height: 36.5px;
  letter-spacing: -0.05em;
  color: #FFFFFF;
}

/* ============================================
STAGES
============================================ */
.stages {
  margin: clamp(3rem, 8vh, 5rem) clamp(1.5rem, 3vw, 2.8125rem) 0 clamp(1.5rem, 3vw, 2.8125rem);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5rem, 10vw, 10rem);
}

.stages__bg {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  flex: 1;
  pointer-events: none;
}

.stages__description {
  flex: none;
  font-size: 40px;
  max-width: 650px;
  text-align: left;
}

.stages__btn {
  margin-top: clamp(2rem, 4vh, 3.125rem);
  font-size: clamp(1.12rem, 2vw, 1.2rem);
  color: var(--color-white);
  text-decoration: none;
}

/* ============================================
CLIENTS
============================================ */
.clients {
  margin-top: clamp(3rem, 8vh, 5rem);
}

.clients__title-container {
  padding: clamp(1.5rem, 3vw, 2.8125rem);
  border-top: 1px solid var(--color-gray-border);
  border-bottom: 1px solid var(--color-gray-border);
}

.clients__title {
  font-size: 80px;
}

.clients__carousel {
  overflow: hidden;
  border-bottom: 1px solid var(--color-gray-border);
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.clients__track {
  display: flex;
  align-items: center;
  gap: clamp(4rem, 8vw, 8rem);
  animation: scroll-left 30s linear infinite; /* Увеличиваем время для плавности */
  width: max-content;
  will-change: transform; /* Оптимизация производительности */
}

.clients__carousel:hover .clients__track {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Двигаем ровно на половину ширины (все дубликаты) */
  }
}

.clients__logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.clients__logo-link:hover {
  opacity: 0.7;
}

.clients__logo-link img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

/* ============================================
WORKS
============================================ */
.works__title-container {
  padding: clamp(1.5rem, 3vw, 2.8125rem);
  border-top: 1px solid var(--color-gray-border);
  border-bottom: 1px solid var(--color-gray-border);
}

.works__title {
  font-size: 80px;
}

.works__container {
  display: flex;
  border-bottom: 1px solid var(--color-gray-border);
  overflow-x: auto;
}

.works__container::-webkit-scrollbar {
  height: 1px;
}

.works__container::-webkit-scrollbar-thumb {
  background-color: var(--color-white);
}

.works__item {
  position: relative;
  width: clamp(20rem, 26vw, 26.25rem);
  height: clamp(26rem, 34vw, 34.375rem);
  background-color: var(--color-black);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  padding: clamp(1.5rem, 3vw, 2.8125rem);
  border-right: 1px solid var(--color-gray-border);
  transition: background-image 0.3s ease;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.works__item:last-child {
  border-right: none;
}

.works__item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/active-work-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.works__item:hover::before {
  opacity: 0.3;
}

.works__item-title {
  font-family: var(--font-family);
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--color-white);
  position: relative;
  z-index: 2;
}

.works__item-btn {
  position: relative;
  z-index: 2;
  align-self: flex-start;
}

/* ============================================
CONTACTS
============================================ */
.contacts {
  margin-top: clamp(3rem, 8vh, 5rem);
  position: relative;
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--color-gray-border);
  background-color: var(--color-gray-light);
}

.contacts__title-content {
  max-width: 40%;
  flex: 1;
  min-width: min(100%, 25rem);
  margin: 15vw 3vw 3vw 3vw;
}

.contacts__title {
  font-size: 65px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: -0.05em;
  color: var(--color-black);
}

.contacts__title__text-gradient {
  background: var(--yellow-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.contacts__btn {
  margin-top: clamp(2rem, 5vh, 4rem);
}

.contacts__features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  flex: 1;
  min-width: min(100%, 28rem);
}

.contacts__features-item {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--color-gray-border);
  border-bottom: none;
  border-right: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 8% 8% 8%;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s ease;
}

.contacts__features-item:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.contacts__features-item-icon {
  width: clamp(1rem, 1.5vw, 1.25rem);
  height: clamp(1rem, 1.5vw, 1.25rem);
  margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
}

.contacts__features-item-icon-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.contacts__features-item-title {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--color-black);
}

/* ============================================
FEEDBACK MODAL
============================================ */
.feedback-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.feedback-modal--active {
  opacity: 1;
  visibility: visible;
}

.feedback-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.feedback-modal__content {
  position: relative;
  width: 90%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: #000000;
  padding: 60px;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.feedback-modal--active .feedback-modal__content {
  transform: translateY(0);
}

.feedback-modal__close {
  position: absolute;
  top: 44px;
  right: 44px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.feedback-modal__close-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #F8F2F0;
}

.feedback-modal__close-line:nth-child(1) {
  transform: rotate(45deg);
}

.feedback-modal__close-line:nth-child(2) {
  transform: rotate(-45deg);
}

.feedback-modal__title {
  font-family: 'Mulish', sans-serif;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  color: #F8F2F0;
  margin-bottom: 22px;
  line-height: 1.25;
}

.feedback-modal__subtitle {
  font-family: 'Mulish', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ADB5BD;
  margin-bottom: 40px;
  line-height: 1.3;
  max-width: 334px;
}

.feedback-modal__form {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 422px;
}

.feedback-modal__field {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.feedback-modal__label {
  font-family: 'Mulish', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #F8F2F0;
  line-height: 15px;
}

.feedback-modal__input {
  padding: 0 12px 12px 12px;
  border: none;
  border-bottom: 0.5px solid #F8F2F0;
  border-radius: 0;
  font-family: 'Mulish', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  background-color: transparent;
  color: #F8F2F0;
  transition: border-color 0.2s ease;
}

.feedback-modal__input::placeholder {
  color: #6C757D;
  text-transform: uppercase;
}

.feedback-modal__input:focus {
  outline: none;
  border-bottom-color: #F8F2F0;
}

.feedback-modal__input--error {
  border-bottom-color: #DC0000;
}

.feedback-modal__error {
  font-family: 'Mulish', sans-serif;
  font-size: 11px;
  color: #DC0000;
  min-height: 14px;
}

.feedback-modal__checkbox-field {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.feedback-modal__checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border: 1px solid #F8F2F0;
  border-radius: 6px;
  background-color: transparent;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
}

.feedback-modal__checkbox:checked {
  background-color: transparent;
}

.feedback-modal__checkbox:checked::after {
  content: '';
  position: absolute;
  width: 15px;
  height: 15px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #F8F2F0;
  border-radius: 3px;
}

.feedback-modal__checkbox-label {
  font-family: 'Mulish', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: #F8F2F0;
  line-height: 15px;
}

.feedback-modal__checkbox-label a {
  color: #F8F2F0;
  text-decoration: underline;
}

.feedback-modal__checkbox-label a:hover {
  text-decoration: none;
}

.feedback-modal__submit {
  margin-top: 24px;
  width: 100%;
  max-width: 422px;
  padding: 12px 54px;
  background: rgba(248, 242, 240, 0.4);
  border: 0.5px solid #F8F2F0;
  backdrop-filter: blur(1.5px);
  border-radius: 12px;
  font-family: 'Mulish', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #F8F2F0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.feedback-modal__submit:hover {
  background: rgba(248, 242, 240, 0.5);
}

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

.feedback-modal__success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}

.feedback-modal__success--visible {
  display: block;
}

.feedback-modal__success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #4CAF50;
  color: white;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feedback-modal__success p {
  font-family: 'Mulish', sans-serif;
  color: #F8F2F0;
  margin-bottom: 0.5rem;
}

.feedback-modal__form--hidden {
  display: none;
}

@media screen and (max-width: 600px) {
  .feedback-modal__content {
    padding: 40px 24px;
  }

  .feedback-modal__close {
    top: 20px;
    right: 20px;
  }
}

@media screen and (max-width: 1020px) {

  .header::before,
  .header__line-middle {
    display: none;
  }
}

/* ============================================
FOOTER
============================================ */
.footer {
  background-color: var(--color-black);
  border-top: 1px solid var(--color-gray-border);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.8125rem);
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

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

.footer__company-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__company-details {
  font-size: 12px;
  color: #6C757D;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
}

.footer__link {
  font-size: 12px;
  color: #ADB5BD;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.footer__link:hover {
  color: var(--color-white);
}

.footer__copyright {
  font-size: 12px;
  color: #6C757D;
}

@media screen and (max-width: 600px) {
  .footer__links {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ============================================
ABOUT PAGE - HERO
============================================ */
.about-hero {
  padding: clamp(8rem, 15vw, 12rem) clamp(1.5rem, 3vw, 4rem) clamp(3rem, 6vw, 5rem);
  background-color: var(--color-black);
}

.about-hero__title {
  font-family: 'Proxima Nova', 'Mulish', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.375rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--color-white);
}

/* ============================================
ABOUT PAGE - IMAGE
============================================ */
.about-image {
  width: 100%;
  background-color: var(--color-black);
  border-top: 1px solid var(--color-gray-border);
  border-bottom: 1px solid var(--color-gray-border);
}

.about-image__img {
  width: 100%;
  height: clamp(300px, 50vw, 724px);
  object-fit: cover;
}

/* ============================================
ABOUT PAGE - PRIORITIES
============================================ */
.priorities {
  background-color: var(--color-black);
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 3vw, 4rem);
  /* Убираем border-bottom, чтобы не было серой линии между блоками */
}

.priorities__row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.priorities__row--cards-only {
  grid-template-columns: 1fr;
  margin-bottom: 0;
}

.priorities__header {
  display: flex;
  align-items: flex-start;
  padding-top: clamp(1rem, 2vw, 1.5rem);
}

.priorities__title {
  font-family: 'Proxima Nova', 'Mulish', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.05em;
  color: var(--color-white);
}

.priorities__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.priorities__row--cards-only .priorities__cards {
  grid-template-columns: repeat(3, 1fr);
}

.priorities__item {
  padding: clamp(1rem, 2vw, 1.5rem) 0;
  border-top: 1px solid var(--color-gray-border);
}

.priorities__item-title {
  font-family: 'Proxima Nova', 'Mulish', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 2.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--color-white);
  margin-bottom: clamp(0.75rem, 1.5vw, 1.25rem);
}

.priorities__item-text {
  font-family: 'Proxima Nova', 'Mulish', sans-serif;
  font-size: clamp(0.875rem, 1.25vw, 1.125rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.05em;
  color: #ADB5BD;
  text-align: justify;
}

@media screen and (max-width: 1024px) {
  .priorities__row {
    grid-template-columns: 1fr;
  }

  .priorities__row--cards-only .priorities__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 600px) {
  .priorities__cards {
    grid-template-columns: 1fr;
  }

  .priorities__row--cards-only .priorities__cards {
    grid-template-columns: 1fr;
  }
}

/* ============================================
ABOUT PAGE - MISSION
Слои: фон (z-index 1) → логотип (z-index 2) → текст (z-index 3)
По макету: секция 1440x724, текст слева 657px, логотип справа
============================================ */
.mission {
  position: relative;
  background-color: var(--color-black);
  /* По макету: описание на top: 389px (относительно секции) + height: 160px = 549px минимум */
  /* Но также нужно место для логотипа, который может выходить за верхний край */
  min-height: 549px;
  padding-top: 0;
  /* Убираем border-bottom, чтобы не было серой линии между блоками */
  /* Убираем overflow: hidden, чтобы логотип с отрицательным top был виден */
  overflow: visible;
}

/* Текстовый контент - верхний слой (z-index: 3) */
/* Фиксированный margin-left для 1440px, изменяется только в медиа-запросе для 1920px */
.mission__content {
  position: static;
  z-index: 3;
  width: 657px;
  min-width: 657px;
  max-width: 657px;
  margin-left: 96px;
  padding-top: 0;
  padding-bottom: 0;
  display: block;
}

.mission__text {
  position: static;
  display: block;
  width: 657px;
}

/* Блок описания */
.mission__description {
  position: static;
  display: block;
  width: 657px;
}

/* Скрываем divider - не нужен */
.mission__divider {
  display: none;
}

/* Базовые стили текста цели - по макету Figma: 40px, line-height 36px */
.mission__goal {
  font-family: 'Proxima Nova', 'Mulish', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 40px;
  line-height: 36px;
  letter-spacing: -0.05em;
  text-align: justify;
  margin: 0;
  width: 657px;
}

/* Первая строка - градиент (цвета поменяны местами) */
/* Фиксированные позиции для 1440px, изменяются только в медиа-запросе для 1920px */
.mission__goal--white {
  position: absolute;
  left: 96px;
  top: 0;
  width: 657px;
  height: 110px;
  background: var(--yellow-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Вторая строка - белый текст (цвета поменяны местами) */
/* Фиксированные позиции для 1440px, изменяются только в медиа-запросе для 1920px */
.mission__goal--gradient {
  position: absolute;
  left: 97.02px;
  top: 110px;
  width: 655.98px;
  height: 110px;
  color: #FFFFFF;
}

/* Описание: 24px, line-height 25px, белый */
/* Фиксированные позиции для 1440px, изменяются только в медиа-запросе для 1920px */
.mission__description {
  position: absolute;
  left: 96px;
  top: 389px;
  width: 657px;
  height: 160px;
  display: flex;
  flex-direction: column;
  gap: 38px;
}

.mission__description p {
  font-family: 'Proxima Nova', 'Mulish', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 25px;
  letter-spacing: -0.05em;
  text-align: justify;
  color: var(--color-white); /* Используем тот же цвет, что и в блоке "Наша цель" */
  margin: 0;
  width: 657px;
}

/* Контейнер логотипа - средний слой (z-index: 2) */
/* Пропорциональное масштабирование между 1440px и 1920px */
/* Для 1440px: left: 610px, width: 947.98px, height: 947.98px */
/* Для 1920px: left: 960px (еще +50px вправо), width: 1047.98px (947.98px + 100px), height: 1047.98px */
.mission__image {
  position: absolute;
  z-index: 2;
  /* left: от 610px (1440px) до 960px (1920px) = +350px за 480px */
  left: calc(610px + (100vw - 1440px) * 350 / 480);
  /* top: -28px относительно документа, но относительно секции это будет выше */
  /* Используем отрицательное значение, чтобы логотип был выше текста и заметным */
  top: -200px;
  /* width: от 947.98px (1440px) до 1047.98px (1920px) = +100px за 480px */
  width: calc(947.98px + (100vw - 1440px) * 100 / 480);
  /* height: от 947.98px (1440px) до 1047.98px (1920px) = +100px за 480px */
  height: calc(947.98px + (100vw - 1440px) * 100 / 480);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  pointer-events: none;
}

/* Адаптив: для экранов меньше 1440px используем значения для 1440px */
@media screen and (max-width: 1439px) {
  .mission__content {
    margin-left: 96px;
  }

  .mission__goal--white {
    left: 96px;
    top: 0;
  }

  .mission__goal--gradient {
    left: 97.02px;
    top: 110px;
  }

  .mission__description {
    left: 96px;
    top: 389px;
    height: 160px;
  }

  .mission__image {
    left: 610px;
    top: -200px;
    width: 947.98px;
    height: 947.98px;
  }
}

/* Для экранов 1920px и больше - фиксированные значения из макета */
@media screen and (min-width: 1920px) {
  .mission__content {
    margin-left: 58px;
  }

  .mission__goal--white {
    left: 58px;
    top: -5px;
  }

  .mission__goal--gradient {
    left: 58px; /* Выравниваем по тексту "Наша цель" */
    top: 114px;
  }

  .mission__description {
    left: 58px;
    top: 300px; /* Позиция по запросу пользователя */
    height: auto; /* Автоматическая высота для размещения всего текста */
    min-height: 160px; /* Увеличиваем минимальную высоту для размещения всего текста */
    gap: 20px; /* Компактный отступ между параграфами */
  }
  
  /* Увеличиваем min-height секции mission для размещения всего контента */
  .mission {
    min-height: 600px; /* Увеличиваем минимальную высоту секции для размещения поднятого текста */
  }

  .mission__image {
    /* Фиксированное положение для 1920px: left: 960px, размер: 1047.98px */
    left: 960px;
    top: -200px;
    width: 1047.98px;
    height: 1047.98px;
  }
}

/* 3D логотип - по макету Figma: 777.74x777.74px, rotate(-14.18deg) */
/* Логотип масштабируется вместе с контейнером */
.mission__logo {
  width: 100%; /* Занимает 100% ширины контейнера .mission__image */
  height: 100%; /* Занимает 100% высоты контейнера .mission__image */
  object-fit: contain;
  transform: rotate(-14.18deg);
}

/* Адаптив - средние экраны (1200-900px) */
@media screen and (max-width: 1200px) {
  .mission__content {
    width: 50%;
    min-width: 400px;
    max-width: 550px;
    margin-left: 40px;
    padding-top: 50px;
    padding-bottom: 50px;
    gap: 100px;
  }

  .mission__text,
  .mission__description,
  .mission__goal,
  .mission__description p {
    width: 100%;
  }

  .mission__goal {
    font-size: 32px;
    line-height: 30px;
  }

  .mission__description p {
    font-size: 18px;
    line-height: 22px;
  }

  .mission__image {
    width: 45%;
    min-width: 350px;
  }

  .mission__logo {
    width: 500px;
    height: 500px;
  }
}

/* Адаптив - планшет (900-768px) */
@media screen and (max-width: 900px) {
  .mission {
    min-height: auto;
  }

  .mission__content {
    width: 60%;
    min-width: 350px;
    max-width: 450px;
    margin-left: 30px;
    gap: 60px;
  }

  .mission__goal {
    font-size: 28px;
    line-height: 28px;
  }

  .mission__description p {
    font-size: 16px;
    line-height: 20px;
  }

  .mission__image {
    width: 40%;
    min-width: 280px;
  }

  .mission__logo {
    width: 380px;
    height: 380px;
  }
}

/* Адаптив - мобильный (<768px) */
@media screen and (max-width: 768px) {
  .mission {
    min-height: auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem; /* Отступ снизу, чтобы не перекрывать следующий блок */
    overflow: visible;
  }

  .mission__content {
    width: 100% !important;
    min-width: auto;
    max-width: 100% !important;
    margin-left: 0;
    padding: 2rem 1.5rem;
    padding-bottom: 2rem; /* Дополнительный отступ */
    padding-top: 260px !important; /* Уменьшенный отступ сверху, чтобы текст "Наша цель" был ближе к логотипу (было 400px) */
    gap: 2rem;
    position: relative; /* Убираем абсолютное позиционирование */
    box-sizing: border-box !important; /* Учитываем padding в ширине */
    overflow-x: hidden !important; /* Скрываем горизонтальный скролл */
  }

  .mission__text {
    width: 100% !important; /* Полная ширина родителя */
    max-width: 100% !important; /* Не больше ширины родителя */
    min-width: 0 !important; /* Позволяем сжиматься */
    height: auto !important; /* Автоматическая высота вместо фиксированной */
    min-height: 220px !important; /* Минимальная высота уменьшена с 290px до 220px */
    position: relative !important; /* Убираем абсолютное позиционирование */
    box-sizing: border-box !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 1px !important; /* Уменьшаем отступы */
    margin-right: 1px !important; /* Уменьшаем отступы */
    text-align: left !important; /* Выравнивание по левому краю для всего контейнера */
    font-weight: 500 !important; /* Изменяем font-weight с 400 на 500 */
    overflow-wrap: break-word !important; /* Перенос длинных слов */
    word-wrap: break-word !important; /* Перенос длинных слов */
    overflow: hidden !important; /* Скрываем переполнение */
  }

  /* Для экранов шире 500px устанавливаем максимальную ширину 450px */
  @media screen and (min-width: 500px) {
    .mission__text {
      max-width: 450px !important;
      width: 450px !important;
    }
  }

  .mission__description {
    width: 100% !important;
    max-width: 100% !important;
    position: relative !important; /* Убираем абсолютное позиционирование */
    box-sizing: border-box !important;
    padding-left: 1rem !important; /* Отступ слева, чтобы текст не выходил за рамки */
    padding-right: 1rem !important; /* Отступ справа, чтобы текст не выходил за рамки */
    text-align: left !important; /* Выравнивание по левому краю для всего контейнера */
  }

  /* Убеждаемся, что все текстовые элементы имеют одинаковую ширину */
  .mission__description,
  .mission__goal,
  .mission__goal--white,
  .mission__goal--gradient {
    width: calc(100% - 2rem) !important; /* Вычитаем padding слева и справа */
    max-width: calc(100% - 2rem) !important;
    margin-left: 1rem !important; /* Отступ слева */
    margin-right: 1rem !important; /* Отступ справа */
    padding-left: 0 !important; /* Убираем padding, используем margin */
    padding-right: 0 !important;
    text-align: left !important; /* Выравнивание по левому краю для всех элементов */
  }

  /* Для элементов внутри .mission__text используем полную ширину контейнера */
  .mission__text .mission__goal,
  .mission__text .mission__goal--white,
  .mission__text .mission__goal--gradient {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .mission__goal {
    font-size: 1.5rem;
    line-height: 1.3;
    text-align: left !important; /* Выравнивание по левому краю */
    box-sizing: border-box !important;
    position: relative !important; /* Убираем абсолютное позиционирование */
    left: auto !important;
    top: auto !important;
    transform: none !important;
    margin-bottom: 1rem; /* Отступ между строками */
    word-wrap: break-word !important; /* Перенос длинных слов */
    overflow-wrap: break-word !important; /* Перенос длинных слов */
  }

  .mission__goal--white,
  .mission__goal--gradient {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    height: auto !important;
    min-height: auto !important;
    margin-bottom: 0.5rem;
    box-sizing: border-box !important;
    text-align: left !important; /* Выравнивание по левому краю */
    word-wrap: break-word !important; /* Перенос длинных слов */
    overflow-wrap: break-word !important; /* Перенос длинных слов */
  }

  .mission__description {
    gap: 1.5rem;
    position: relative !important; /* Убираем абсолютное позиционирование */
    left: auto !important;
    top: auto !important;
    height: auto !important;
    margin-top: 1.5rem; /* Отступ сверху от текста цели */
    box-sizing: border-box !important;
  }

  .mission__description p {
    font-size: 1rem;
    line-height: 1.4;
    text-align: left;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 1rem; /* Отступ между параграфами */
    word-wrap: break-word !important; /* Перенос длинных слов */
    overflow-wrap: break-word !important; /* Перенос длинных слов */
  }

  .mission__description p:last-child {
    margin-bottom: 0;
  }

  .mission__image {
    position: absolute !important; /* Абсолютное позиционирование, чтобы логотип мог пересекаться с текстом */
    top: 0 !important; /* Позиционируем в начале секции */
    left: 50% !important;
    transform: translateX(-50%) !important; /* Центрируем логотип по горизонтали */
    width: auto !important;
    min-width: auto !important;
    max-width: 80vw !important; /* Ограничиваем максимальной шириной экрана */
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important; /* Убираем все отступы */
    order: 0; /* Не влияет на порядок, так как absolute */
    justify-content: center;
    display: flex !important;
    align-items: center !important;
    z-index: 0 !important; /* Логотип под текстом, чтобы не мешать */
    pointer-events: none !important; /* Чтобы не блокировать клики по тексту */
  }

  .mission__logo {
    width: 120% !important; /* Увеличиваем в 2 раза (было 60%) */
    max-width: 600px !important; /* Увеличиваем в 2 раза (было 300px) */
    height: 228px !important; /* Фиксированная высота 228px (было auto) */
    object-fit: contain !important;
    transform: rotate(-14.18deg) !important;
    display: block !important;
    position: relative !important; /* Относительно контейнера .mission__image */
    margin: 0 !important; /* Убираем все отступы, чтобы не двигать текст */
    padding: 0 !important; /* Убираем padding */
  }
}

/* ============================================
ABOUT PAGE - VALUES
По макету: абсолютное позиционирование элементов
============================================ */
.values {
  position: relative;
  background-color: var(--color-black);
  min-height: 500px; /* Минимальная высота для размещения всех элементов */
  padding: 0;
  border-bottom: 1px solid var(--color-gray-border);
  overflow: visible;
}

.values__title {
  position: absolute;
  width: 625px;
  height: 37px;
  left: 50%;
  transform: translateX(-50%); /* Центрируем заголовок */
  top: 244px; /* Возвращаем к исходной позиции из макета */
  font-family: 'Proxima Nova', 'Mulish', sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 36px;
  text-align: center;
  letter-spacing: -0.05em;
  color: #FFFFFF;
  margin: 0;
}

.values__grid {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible; /* Разрешаем блокам пересекаться */
}

.values__item {
  position: absolute;
  width: 360px; /* Возвращаем к исходному размеру из макета */
  height: 183px; /* Возвращаем к исходному размеру из макета */
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('images/blocks.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  border-radius: 8px;
  padding: 20px; /* Внутренние отступы для текста */
  transition: transform 0.3s ease;
}

/* Позиционирование элементов по макету, центрированных относительно заголовка */
/* Исходный центр заголовка был на 842px (529.5 + 312.5), новый центр на 50% */
/* Смещение всех блоков: исходная позиция + (50% - 842px) */
/* 1. Понятность и прозрачность - Group 30 */
.values__item:nth-child(1) {
  left: calc(50% - 687px);
  top: 68px;
}

/* 2. Ответственность за результат - Group 34 */
.values__item:nth-child(2) {
  left: calc(50% - 136.5px);
  top: 68px;
}

/* 3. Безопасность + конфиденциальность - Group 32 */
.values__item:nth-child(3) {
  left: calc(50% + 411.5px);
  top: 68px;
}

/* 4. Скорость без потери качества - Group 31 */
.values__item:nth-child(4) {
  left: calc(50% - 402.5px);
  top: 331px;
}

/* 5. Гибкость и адаптация под клиента - Group 33 */
.values__item:nth-child(5) {
  left: calc(50% + 151.5px);
  top: 334px;
}

.values__item:hover {
  transform: translateY(-4px);
}

.values__item-text {
  position: relative;
  font-family: 'Proxima Nova', 'Mulish', sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 24px;
  line-height: 25px;
  letter-spacing: -0.05em;
  background: var(--yellow-gradient); /* Градиент как в "Наша цель..." */
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin: 0;
  /* Выравнивание по левому краю */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  width: auto; /* Автоматическая ширина для правильного позиционирования */
  max-width: 100%; /* Ограничиваем максимальной шириной блока */
  white-space: normal; /* Разрешаем перенос строк */
  word-wrap: break-word; /* Перенос длинных слов */
}

/* Сдвигаем левый край текста вправо на 44px для блока "Безопасность + конфиденциальность" */
.values__item:nth-child(3) .values__item-text {
  padding-left: 44px;
}

/* Сдвигаем левый край текста вправо на 5px для блока "Гибкость и адаптация" */
.values__item:nth-child(5) .values__item-text {
  padding-left: 1px;
}

/* Адаптив для мобильных устройств - блок Ценности */
@media screen and (max-width: 768px) {
  .values {
    min-height: auto;
    padding: 2rem 1rem;
    padding-bottom: 3rem; /* Дополнительный отступ снизу, чтобы блоки не обрезались */
    overflow-x: hidden; /* Предотвращаем горизонтальный скролл */
    overflow-y: visible; /* Разрешаем вертикальный скролл */
    position: relative;
  }

  .values__title {
    position: relative !important;
    width: 100% !important;
    height: auto !important;
    left: auto !important;
    transform: none !important;
    top: auto !important;
    font-size: clamp(2rem, 6vw, 3rem);
    line-height: 1.2;
    margin-bottom: 2rem;
    margin-top: 0;
    text-align: center;
  }

  .values__grid {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important; /* Отступы между блоками, чтобы они не наезжали */
    align-items: stretch; /* Растягиваем блоки на всю ширину */
    width: 100% !important;
    height: auto !important;
    overflow: visible;
    margin: 0;
    padding: 0;
  }

  .values__item {
    position: relative !important;
    width: 300px !important; /* Фиксированная ширина 300px (было 100%) */
    max-width: 300px !important; /* Максимальная ширина 300px */
    min-width: 300px !important; /* Минимальная ширина 300px */
    height: auto !important;
    min-height: 150px !important; /* Минимальная высота для блоков (было 200px) */
    left: 0 !important; /* Жестко задаем 0, чтобы блок не смещался */
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin: 0 auto !important; /* Центрирование блока через margin */
    padding: 2rem 1.5rem !important; /* Увеличиваем padding сверху и снизу для полноразмерных блоков, слева и справа для текста */
    box-sizing: border-box !important;
    /* Жестко скрываем любой контент, который может выйти за границы */
    overflow: hidden !important; /* Скрываем любой контент, который может выйти за границы */
    display: flex !important; /* Flex для правильного размещения текста внутри */
    align-items: center !important; /* Вертикальное центрирование */
    justify-content: center !important; /* Горизонтальное центрирование */
  }

  /* Сбрасываем все абсолютные позиции для всех блоков */
  .values__item:nth-child(1),
  .values__item:nth-child(2),
  .values__item:nth-child(3),
  .values__item:nth-child(4),
  .values__item:nth-child(5) {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin-bottom: 1.5rem !important; /* Отступ снизу для каждого блока */
  }

  /* Последний блок без отступа снизу */
  .values__item:last-child {
    margin-bottom: 0 !important;
  }

  .values__item-text {
    font-size: clamp(1.125rem, 4vw, 1.5rem) !important;
    line-height: 1.5 !important; /* Увеличиваем line-height для лучшей читаемости */
    padding: 0 !important;
    margin: 0 !important;
    /* Жестко задаем размеры, чтобы текст строго был внутри блока */
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    white-space: normal !important; /* Разрешаем перенос строк */
    /* Убеждаемся, что текст остается строго внутри блока */
    display: block !important;
    position: static !important; /* Статическое позиционирование, чтобы не было смещений */
    text-align: center !important; /* Выравнивание по центру внутри блока */
    /* Жестко убираем любые смещения */
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important; /* Убираем любые трансформации */
    /* Убираем все десктопные стили, которые могут влиять */
    letter-spacing: normal !important; /* Убираем отрицательный letter-spacing */
    align-items: stretch !important; /* Убираем flex выравнивание */
    justify-content: flex-start !important; /* Убираем flex выравнивание */
  }

  /* Жестко сбрасываем все специальные отступы и позиционирование для мобильных */
  .values__item:nth-child(1) .values__item-text,
  .values__item:nth-child(2) .values__item-text,
  .values__item:nth-child(3) .values__item-text,
  .values__item:nth-child(4) .values__item-text,
  .values__item:nth-child(5) .values__item-text {
    padding-left: 0 !important;
    padding-right: 0 !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    position: static !important; /* Статическое позиционирование */
    box-sizing: border-box !important;
    /* margin-left и margin-right будут установлены индивидуально для центрирования */
  }

  /* Индивидуальная ширина для каждого элемента текста */
  .values__item:nth-child(1) .values__item-text {
    width: 250px !important;
    max-width: 250px !important;
    position: absolute !important; /* Абсолютное позиционирование для первого элемента */
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important; /* Центрирование по горизонтали и вертикали */
    margin-left: 0 !important; /* Убираем margin, так как используем transform */
    margin-right: 0 !important; /* Убираем margin, так как используем transform */
  }

  .values__item:nth-child(2) .values__item-text {
    width: 450px !important;
    max-width: 450px !important;
    margin-left: auto !important; /* Центрирование через margin */
    margin-right: auto !important; /* Центрирование через margin */
  }

  .values__item:nth-child(3) .values__item-text {
    width: 400px !important;
    max-width: 400px !important;
    margin-left: auto !important; /* Центрирование через margin */
    margin-right: auto !important; /* Центрирование через margin */
  }

  .values__item:nth-child(4) .values__item-text {
    width: 350px !important;
    max-width: 350px !important;
    margin-left: auto !important; /* Центрирование через margin */
    margin-right: auto !important; /* Центрирование через margin */
  }

  .values__item:nth-child(5) .values__item-text {
    width: 300px !important;
    max-width: 300px !important;
    margin-left: auto !important; /* Центрирование через margin */
    margin-right: auto !important; /* Центрирование через margin */
  }
}

/* Дополнительная адаптация для очень маленьких экранов */
@media screen and (max-width: 480px) {
  .values {
    padding: 1.5rem 0.75rem;
    padding-bottom: 2.5rem; /* Отступ снизу, чтобы блоки не обрезались */
  }

  .values__item {
    padding: 1.75rem 1.25rem !important; /* Увеличиваем вертикальный padding */
    min-height: 150px !important; /* Увеличиваем минимальную высоту */
    margin-bottom: 1.25rem !important;
  }

  .values__item:last-child {
    margin-bottom: 0 !important;
  }

  .values__item-text {
    font-size: clamp(1rem, 5vw, 1.25rem) !important;
    padding: 0 !important;
    margin: 0 !important;
    /* Жестко задаем размеры для маленьких экранов */
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    position: static !important; /* Статическое позиционирование */
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    letter-spacing: normal !important; /* Убираем отрицательный letter-spacing */
    display: block !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
  }

  .values__grid {
    gap: 1.25rem !important;
  }
}

/* ============================================
ABOUT PAGE - CTA
============================================ */
.about-cta {
  background-color: var(--color-black);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 3vw, 4rem);
  text-align: center;
  border-bottom: 1px solid var(--color-gray-border);
}

.about-cta__title {
  font-family: 'Proxima Nova', 'Mulish', sans-serif;
  font-size: clamp(2rem, 4vw, 3.125rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--color-white);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.about-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 32px;
  background: transparent;
  border: 1px solid var(--color-white);
  border-radius: 24px;
  font-family: 'Proxima Nova', 'Mulish', sans-serif;
  font-size: clamp(0.875rem, 1vw, 1rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--color-white);
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.about-cta__btn:hover {
  background-color: var(--color-white);
  color: var(--color-black);
}

.about-cta__btn-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--color-white);
  transition: background-color 0.3s ease;
}

.about-cta__btn:hover .about-cta__btn-arrow {
  background-color: var(--color-black);
}

.about-cta__btn-arrow img {
  width: 8px;
  height: 8px;
  filter: invert(0);
  transition: filter 0.3s ease;
}

.about-cta__btn:hover .about-cta__btn-arrow img {
  filter: invert(1);
}

/* ============================================
ABOUT PAGE - EXPERTISE
============================================ */
.expertise {
  background: url('images/expertise-bg.png') center/cover no-repeat;
  background-color: var(--color-black);
  padding: clamp(4rem, 8vw, 7rem) clamp(1.5rem, 3vw, 4rem);
  position: relative;
}

.expertise::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.expertise__title {
  position: relative;
  font-family: 'Proxima Nova', 'Mulish', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.375rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--color-white);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.expertise__text {
  position: relative;
  font-family: 'Proxima Nova', 'Mulish', sans-serif;
  font-size: clamp(1rem, 1.5vw, 1.4375rem);
  font-weight: 700;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.05em;
  color: var(--color-white);
  max-width: 600px;
}

/* ============================================
АДАПТИВ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ
============================================ */

/* Мобильные устройства (до 768px) */
@media screen and (max-width: 768px) {
  /* Menu Overlay */
  .menu-overlay__content {
    flex-direction: column;
  }

  .menu-overlay__nav {
    min-width: 100%;
    padding: 2rem 1.5rem;
    padding-top: 4rem;
    justify-content: flex-start;
  }

  .menu-overlay__features {
    min-width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    min-height: auto;
  }

  .menu-overlay__features-item {
    border-right: 1px solid var(--color-gray-border);
    border-bottom: 1px solid var(--color-gray-border);
  }

  /* Hero секция */
  .hero {
    height: auto;
    min-height: 100vh;
    flex-direction: column;
  }

  .hero__title-content {
    max-width: 100%;
    margin: clamp(6rem, 15vw, 10rem) 1.5rem clamp(2rem, 5vh, 3rem);
  }

  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
    line-height: 1.1;
  }

  .hero__features {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
    min-width: 100%;
    height: auto;
    min-height: 400px;
  }

  .hero__features-item {
    border-right: 1px solid var(--color-gray-border);
    border-bottom: 1px solid var(--color-gray-border);
  }

  .hero__features-item:last-child {
    border-bottom: none;
  }

  /* Stages секция */
  .stages {
    flex-direction: column;
    gap: 2rem;
    margin: clamp(2rem, 5vh, 3rem) 1.5rem 0;
  }

  .stages__bg {
    max-width: 100%;
    order: 2;
  }

  .stages__description {
    font-size: clamp(1.5rem, 6vw, 2.5rem);
    max-width: 100%;
    text-align: center;
    order: 1;
  }

  /* Clients секция */
  .clients__title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .clients__logo-link img {
    height: 40px;
  }

  /* Works секция */
  .works__title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

  .works__item {
    width: clamp(18rem, 90vw, 22rem);
    height: clamp(22rem, 80vh, 28rem);
  }

  /* Priorities секция */
  .priorities__title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

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

  /* Contacts секция */
  .contacts__title {
    font-size: clamp(2rem, 8vw, 3.5rem);
  }

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

  .contacts__features-item {
    padding: 1.5rem;
  }
}

/* Маленькие мобильные устройства (до 480px) */
@media screen and (max-width: 480px) {
  /* Header */
  .header {
    padding: 1rem;
  }

  .header__logo-text {
    font-size: 1.25rem;
  }

  .header__burger {
    width: 40px;
    height: 40px;
  }

  /* Menu Overlay */
  .menu-overlay__nav {
    min-width: 100%;
    padding: 1.5rem 1rem;
  }

  .menu-overlay__nav-item {
    font-size: clamp(1.25rem, 6vw, 1.75rem);
  }

  .menu-overlay__features {
    min-width: 100%;
    padding: 1.5rem 1rem;
  }

  .menu-overlay__features-item {
    font-size: clamp(1rem, 5vw, 1.25rem);
    padding: 1rem;
  }

  /* Hero */
  .hero__title-content {
    margin: clamp(5rem, 12vw, 8rem) 1rem clamp(1.5rem, 4vh, 2rem);
  }

  .hero__features-item-title {
    font-size: clamp(1.25rem, 6vw, 1.75rem);
    line-height: 1.3;
  }

  /* Stages */
  .stages {
    margin: clamp(1.5rem, 4vh, 2rem) 1rem 0;
  }

  .stages__description {
    font-size: clamp(1.25rem, 5vw, 2rem);
  }

  /* Works */
  .works__item {
    width: 100%;
    min-width: 280px;
  }

  /* Footer */
  .footer {
    padding: 1.5rem 1rem;
  }

  .footer__links {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Модальное окно */
  .feedback-modal__content {
    padding: 2rem 1.5rem;
    margin: 1rem;
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
  }

  .feedback-modal__title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .feedback-modal__subtitle {
    font-size: clamp(0.875rem, 4vw, 1rem);
  }

  .feedback-modal__input {
    font-size: 1rem;
    padding: 0.75rem 1rem;
  }

  .feedback-modal__submit {
    width: 100%;
    padding: 0.875rem 1.5rem;
  }
}

/* ============================================
ABOUT PAGE - CONTACTS OVERRIDE
============================================ */
.about-page .contacts {
  margin-top: 0;
}