* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
    width: 100%;
    overflow-x: hidden; /* Принудительно отключает горизонтальный скролл */
}

@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700&display=swap');

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  color: #e8e6e3;
  line-height: 1.5;
  margin: 0;
  background: #231914;
}

/* ФОН — универсальное решение для всех устройств */
.fixed-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  /* Используем 100vh, но для мобилок это будет "заморожено" */
  height: 100%; 
  /* Важно: ставим высоту чуть больше, чтобы перекрыть скачки (например 110%) 
     или используем JS ниже для фиксации */
  height: 110vh; 
  
/*   background-image: linear-gradient(#0c0907a8), url(./images/main-fon.jpg); */
  background-image: linear-gradient(#0c0907bd), url(./images/main-fon.jpg);
  
  background-size: cover;
  background-position: center;
  z-index: -1; /* Уводим на задний план */
  pointer-events: none; /* Чтобы блок не мешал кликам */
  
  /* Отключаем стандартный fixed, так как position: fixed уже делает это */
  background-attachment: scroll; 
}

/* Общие */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  position: relative;
}

section {
  padding: 100px 0;
  position: relative;
}

.section-light {
  background: #ff9c6205;
  backdrop-filter: blur(5px);
}

/* Типографика */
h1, h2 {
  background: linear-gradient(135deg, #fff 0%, #ffb778 30%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

h1 {
  font-size: 92px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

h2 {
  font-size: 56px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 48px;
}

.subtitle {
  font-size: 18px;
  color: #ffb778;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.subtitle::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #ffb778, transparent);
}
/* Показываем перенос только на десктопе */
.desktop-break {
  display: inline;
}


/* Навигация */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  background: #231914cc;
  backdrop-filter: blur(4px);
  box-shadow: 0 12px 30px -10px #000;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.logo h3 {
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #fff 0%, #ffb778 30%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-right-group {
  display: flex;
  align-items: center;
  gap: 48px;
}

.nav-links {
  display: flex;
  gap: 48px;
}

.nav-links a {
  color: #937a64;
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #ffb778;
}

.premium-button {
    display: inline-block;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    cursor: pointer;
    border: none;
    position: relative;
    outline: none;
        background: linear-gradient(180deg, #ffb77887 0%, #4c3323 70%);
    color: #ffba7d;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* 1. Настраиваем ПЕРВОНАЧАЛЬНОЕ состояние слоя */
.premium-button::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0;
  background: linear-gradient(180deg, #4c3323 40%, #ffb77887 100%);
  opacity: 0; /* Изначально невидим */
  
  /* ВАЖНО: transition должен быть ТУТ, чтобы работать всегда */
  transition: opacity 0.5s ease; 
  
  z-index: -1;
}

/* 2. Настраиваем состояние при ХОВЕРЕ */
.premium-button:hover::before {
  opacity: 1; /* Просто делаем видимым */
}

/* Размеры для разных кнопок */
.btn-premium {
  padding: 18px 44px;
  font-size: 18px;
}

.nav-button {
  padding: 12px 28px;
  font-size: 15px;
}

.mobile-nav-button {
  padding: 14px 28px;
  font-size: 18px;
}

/* Специально для кнопки в форме, если нужно сделать ее шире */
button.btn-premium {
  width: 100%;
  font-size: 18px;
}


/* Герой */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.hero p {
  font-size:22px;
  margin:24px 0 40px;
  color:#ffdec1;
  line-height:1.5;
}

/* Фото без стилей - чистый прозрачный фон */
.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  display: block;
  mask-image: linear-gradient(
    to bottom,
    black 70%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    black 70%,
    transparent 100%
  );
}



/* Анимация для текста на главном экране */
.hero h1 {
  animation: fadeInUp 1s ease;
}

.hero .subtitle {
  animation: fadeInUp 0.5s ease;
}

.hero p {
  animation: fadeInUp 1.5s ease;
}

.hero-image, .hero-button {
  animation: fadeInUp 2s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Декоративная линия под заголовком */
.hero h1 {
  position: relative;
  display: inline-block;
}

.hero h1::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #ffb778, transparent);
  border-radius: 2px;
}
/* Скрываем мобильную кнопку на десктопе */
.mobile-overlay-btn {
  display: none;
}
/* Скрываем мобильную кнопку на десктопе */
.hero-btn-bottom {
  display: none;
}

/* Карточки преимуществ и цен */
.features-grid, .price-grid {
  display: grid;
  gap: 2px;
  background: linear-gradient(135deg, rgba(255, 183, 120, 0.25), rgba(232, 230, 227, 0.08));
  border-radius: 15px;
  overflow: hidden;
}

.features-grid {
  grid-template-columns: repeat(4, 1fr);
}

.price-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card, .price-card {
  background: #231914cc;
  backdrop-filter: blur(4px);
  transition: all 0.3s;
}

.feature-card {
  padding: 48px 32px;
}

.price-card {
  padding: 48px 40px;
}

.feature-card:hover, .price-card:hover {
  background: #432d1dd9;
}

.feature-card h3 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
  color: #ffdec1;
}

.feature-card p {
  color: #937a64;
  font-size: 20px;
}

.price-category {
  font-size: 20px;
  color: #937a64;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.price-amount {
  font-size: 42px;
  font-weight: 500;
  color: #ffb778;
  margin-bottom: 12px;
}

.price-card .subtitle {
  color: #937a64;
  font-size: 14px;
  margin-bottom: 0;
}

.price-card .subtitle::after {
  display: none;
}

/* Шаги (десктоп) */
/* STEPS - премиальный дизайн */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.step-item {
  padding: 24px;
  position: relative;
  display: flex;
  gap: 20px;
  backdrop-filter: blur(5px);
  border-radius: 10px;
}

.step-circle {
  width: 60px;
  height: 60px;
  border: 2px solid transparent;
  background: linear-gradient(#231914, #231914) padding-box, linear-gradient(135deg, #fff, #ffb778) border-box;
  border-radius: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 24px;
  color: #ffb778;
  transition: all 0.3s;
}

.step-item:hover .step-circle {
  transform: scale(1.05);
}

.step-line {
  position: absolute;
  top: 30px;
  left: 80px;
  right: -48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 183, 120, 0.4), rgba(255, 183, 120, 0.05));
}

.step-item:last-child .step-line {
  display: none;
}

.feature-title {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #ffdec1;
}

.step-item .subtitle {
  text-transform: none;
  font-size: 15px;
  color: #937a64;
}

.step-item .subtitle::after {
  display: none;
}

.step-number-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(255, 183, 120, 0.15), rgba(255, 183, 120, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #ffb778;
  font-family: monospace;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.step-item:hover .step-number {
  transform: scale(1.1);
  background: linear-gradient(135deg, rgba(255, 183, 120, 0.25), rgba(255, 183, 120, 0.1));
  border-color: #ffb778;
  box-shadow: 0 0 15px rgba(255, 183, 120, 0.3);
}

.step-line-vertical {
  width: 2px;
  height: calc(100% - 56px);
  background: linear-gradient(180deg, rgba(255, 183, 120, 0.5), transparent);
  margin-top: 12px;
}

/* У всех шагов есть полоска */
.step-item .step-line-vertical {
  display: block;
}

.step-content {
  flex: 1;
  padding-bottom: 20px;
}

.step-title {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 12px;
  background: linear-gradient(135deg, #fff 0%, #ffb778 30%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step-desc {
  font-size: 20px;
  color: #937a64;
  line-height: 1.5;
}

/* Состояния поломок */
/* .conditions-wrapper {
  background: #231914cc;
  backdrop-filter: blur(4px);
  border-radius: 15px;
  box-shadow: 0 15px 35px -12px rgba(0, 0, 0, 0.4);
  padding: 64px;
} */

.condition-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.condition-item {
  padding: 16px 0 16px 20px;
  font-size: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 3px solid #ffb778;
  color: #937a64;
}

.condition-item::before {
  display: none;
}

/* Бренды */
/* Бренды - десктоп */
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  text-align: center;
  align-items: center;
  margin: 0 auto;
}

.brand {
  flex: 0 0 auto;
  width: calc(100% / 7 - 20px);
  min-width: 100px;
}
/* Новые стили для логотипов (ДОБАВИТЬ) */
.brand-logo {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 150px;
  width: auto;
  transition: all 0.3s ease;
  border-radius: 10px;
  box-shadow: 0px 0px 10px #150903;
}

/* Форма */
.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

input, select, textarea {
  width: 100%;
  padding: 18px 24px;
  background: #231914cc;
  border: 1px solid rgba(232, 230, 227, 0.15);
  border-radius: 15px;
  color: #e8e6e3;
  font-size: 18px;
  transition: all 0.3s;
  font-family: inherit;
  backdrop-filter: blur(5px);
}

input::placeholder, select::placeholder, textarea::placeholder {
  color: #937a64;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #ffb778;
  background: rgba(45, 35, 28, 0.9);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.file-input {
  position: relative;
  padding: 16px 24px;
  background: #231914cc;
  border: 1px solid rgba(232, 230, 227, 0.15);
  border-radius: 15px;
  cursor: pointer;
  font-size: 16px;
  color: #937a64;
}

.file-input input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  cursor: pointer;
}

.form-guarantees {
  display: flex;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
  flex-wrap: wrap;
  font-size: 15px;
  color: #937a64;
}

/* Стили для выпадающего списка (работает в Chrome, Edge, Safari) */
select::-webkit-listbox {
  background: #231914cc !important;
}

select::-webkit-listbox option {
  background: #231914cc;
  color: #e8e6e3;
  padding: 12px;
}

select::-webkit-listbox option:hover {
  background: #937a64 !important;
  color: #1a1a1a !important;
}

select option {
  background: #231914cc;
  color: #e8e6e3;
  padding: 12px;
}

/* Для Chrome, Edge, Safari - универсальное решение через focus-within и appearance */
select:focus {
  outline: none;
  border-color: #ffb778;
}

select option:hover,
select option:focus,
select option:checked {
  background: #937a64 !important;
  color: #1a1a1a !important;
}

/* Футер */
footer {
  background: #08030094;
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 183, 120, 0.15);
  padding: 64px 0 32px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo h3 {
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 24px;
  background: linear-gradient(135deg, #fff 0%, #ffb778 30%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-logo p {
  color: #937a64;
  font-size: 17px;
  line-height: 1.6;
}

.footer-col h4 {
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 17px;
  letter-spacing: 1px;
  background: linear-gradient(135deg, #fff 0%, #ffb778 30%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-col a {
  display: block;
  color: #937a64;
  text-decoration: none;
  font-size: 17px;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #ffb778;
}

.footer-phone {
  font-size: 28px;
  color: #ffb778;
  text-decoration: none;
  font-weight: 500;
}

.footer-bottom {
  text-align: center;
  padding-top: 32px;
  border-top: 1px solid rgba(232, 230, 227, 0.05);
  font-size: 14px;
  color: #937a64;
}

/* Мобильное меню */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: #ffb778;
  border-radius: 2px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: #231914f2;
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 100px 32px 40px;
  transition: right 0.3s;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  color: #ffba7d;
  text-decoration: none;
  font-size: 22px;
  font-weight: 500;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 183, 120, 0.2);
}

.mobile-menu a:hover {
  color: #ffb778;
}

.mobile-menu .mobile-nav-button {
  margin-top: 20px;
  text-align: center;
  padding: 14px 28px;
  font-size: 18px;
  border-bottom: none;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}












/* ========== АДАПТИВ ========== */
@media (max-width: 1024px) {


  h1,h2 {
    background: linear-gradient(135deg, #fff 0%, #ffb778 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
  .container, .nav-container {
    padding: 0 24px;
  }
  .nav-left .work-hours {
    display: none;
  }
  .nav-right-group .nav-links {
    display: none;
  }
  .nav-right-group .nav-button {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .features-grid, .price-grid {
    background: none;
    gap: 12px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .price-grid {
    grid-template-columns: 1fr;
  }
  .feature-card, .price-card {
    border-radius: 20px;
    border: 1px solid rgba(255, 183, 120, 0.2);
  }
  .steps-grid {
    flex-direction: column;
    display: flex;
    gap: 20px;
  }
  /* .step-item {
    background: #231914cc;
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
  } */
  .step-circle {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .step-item .feature-title {
    font-size: 20px;
  }
  .step-item .subtitle {
    font-size: 14px;
    margin-bottom: 0;
  }
  .step-line {
    display: none;
  }
  .step-item > div:last-child {
    flex: 1;
  }
  .brands-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
  }
  .condition-list {
    grid-template-columns: 1fr;
  }
  .conditions-wrapper {
    padding: 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
}


/* ========== ПЛАНШЕТЫ (769px - 1024px) ========== */
@media (min-width: 769px) and (max-width: 1024px) {
  .container, .nav-container {
    padding: 0 30px;
  }
  
  /* Навигация */
  .nav-left .work-hours {
    display: none;
  }
  .nav-right-group .nav-links {
    display: none;
  }
  .nav-right-group .nav-button {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  
  /* Hero - как на десктопе: слева текст, справа фото */
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    text-align: left;
  }
  .hero .subtitle {
    margin-left: 0;
    margin-right: auto;
  }
  .hero .subtitle::after {
    left: 0;
    transform: none;
  }
  .hero h1 {
    text-align: left;
  }
  .hero h1::after {
    left: 0;
    transform: none;
  }
  .hero p {
    text-align: left;
    padding: 0;
  }
  .hero-image {
    max-width: 100%;
    margin: 0;
  }
  
  /* Features - 2 колонки */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background: none;
  }
  .feature-card {
    border-radius: 20px;
    border: 1px solid rgba(255, 183, 120, 0.2);
    padding: 32px 24px;
  }
  
  /* Steps - 2 колонки */
  .steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  /* .step-item {
    background: #231914cc;
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  } */
  .step-number-wrapper {
    flex-direction: row;
    align-items: center;
    gap: 16px;
  }
  .step-number {
    margin-bottom: 0;
  }
  .step-line-vertical {
    display: none;
  }
  .step-content {
    padding-bottom: 0;
  }
  .step-title {
    font-size: 18px;
  }
  .step-desc {
    font-size: 14px;
  }
  
  /* Price - 2 колонки, третья по центру */
  .price-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    background: none;
  }
  .price-card {
    border-radius: 20px;
    border: 1px solid rgba(255, 183, 120, 0.2);
    padding: 32px 24px;
    text-align: center;
    background: #ffffff00;
    backdrop-filter: blur(10px);
  }
  .price-card:last-child {
    grid-column: span 2;
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
  .price-amount {
    font-size: 37px;
  }

  
  /* Condition list - 2 колонки */
  .condition-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .conditions-wrapper {
    padding: 40px;
  }
  
  /* Бренды */
  .brands-grid {
    gap: 24px;
  }
  
  /* Футер - 2 колонки */
  .footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
    gap: 40px;
  }
  
  /* Заголовки */
  h1 {
    font-size: 56px;
  }
  h2 {
    font-size: 38px;
  }
  
  /* Центрируем заголовки секций */
  section .subtitle {
    display: table;
    margin-left: auto;
    margin-right: auto;
  }
  section .subtitle::after {
    left: 50%;
    transform: translateX(-50%);
  }
  section h2 {
    text-align: center;
  }
}



@media (max-width: 768px) {

  /* .bg-image {
    background-attachment: scroll;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }
  
  .bg-wrapper {
    position: fixed;
    height: 100%;
  } */
  section {
    padding: 60px 0;
  }
  .container {
    padding: 0 20px;
  }
  .desktop-break {
    display: none;
  }
  
  /* ГЛАВНЫЙ ЭКРАН */
  .hero {
    min-height: 100vh;
    padding-top: 80px;
  }
  .hero-grid > div:first-child {
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .hero .subtitle {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
  }
  .hero .subtitle::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
  }
  .hero h1 {
    font-size: 44px;
    text-align: center;
  }
  .hero h1::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    bottom: -10px;
  }
  .hero p {
    font-size: 16px !important;
    text-align: center;
    padding: 0 10px;
  }
  .hero .btn-primary {
    align-self: center;
  }
  .hero-image {
    margin-top: 40px;
    max-width: 280px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  

/* Скрываем десктопную кнопку */
.desktop-btn {
  display: none;
}

/* Убираем старую кнопку поверх фото */
.mobile-overlay-btn {
  display: none;
}

/* Создаем новую кнопку под фото */
.hero-btn-bottom {
  display: inline-flex;
  padding: 16px 32px;
  border-radius: 10px;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  margin-top: 20px;
  align-self: center;
}

.hero-image {
  position: relative;
  margin-top: 30px;
  margin-bottom: 0;
  width: 100%;
}

.hero-image {
  position: relative;
  margin-top: 30px;
  margin-bottom: 40px;
  width: 100%;
}

.hero-image img {
  width: 100%;
  display: block;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}
  
  /* Стили для текста */
  .hero-grid > div:first-child {
    text-align: center;
  }
  
  .hero .subtitle {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero .subtitle::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .hero h1 {
    text-align: center;
  }
  
  .hero h1::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .hero p {
    text-align: center;
    font-size: 18px !important;
    margin: 0;
  }
  
  /* FEATURES - полоска всегда видна, при ховере меняется фон */
  .feature-card {
    background: #231914cc;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
  }
  .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ffb778, transparent);
    transform: translateX(0);
  }
  .feature-card:hover {
    background: #432d1dd9;
  }
  .feature-card h3 {
    font-size: 22px;
  }
  
  /* PRICE-GRID - карточки с эффектом подъема */
  .price-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  .price-card {
    background: #00000000;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
  }
  .price-card:hover {
    border-color: rgba(255, 183, 120, 0.6);
  }
  .price-category {
    font-size: 14px;
    margin-bottom: 12px;
  }
  .price-amount {
    font-size: 36px;
    margin-bottom: 8px;
  }
  .price-card .subtitle {
    font-size: 13px;
    margin-bottom: 0;
  }
  
  /* STEPS - мобильная версия */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .step-item {
    flex-direction: row;
    gap: 20px;
    padding: 28px 20px;
    margin: 10px 0;
    border-bottom: 3px solid rgba(255, 183, 120, 0.15);
    background: transparent;
    border-radius: 15px 15px 0 0;
    transition: all 0.3s ease; /* Добавляем плавность */
  }
  .step-item:hover {
    transform: translateX(8px);
  }
  .step-number-wrapper {
    flex-direction: column;
    align-items: center;
    min-width: 60px;
  }
  .step-number {
    width: 48px;
    height: 48px;
    font-size: 20px;
    margin-bottom: 8px;
  }
  .step-line-vertical {
    width: 2px;
    height: 40px;
    background: linear-gradient(180deg, rgba(255, 183, 120, 0.4), transparent);
    margin-top: 4px;
    display: block;
  }
  .step-content {
    padding-bottom: 0;
  }
  .step-title {
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, #ffb778 70%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  /* Бренды */
  .brand-logo {
    max-height: 70px;
  }
  
  /* ФОРМА - инпуты вертикально */
  .form-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }
  input, select, textarea {
    padding: 16px 20px;
    font-size: 16px;
  }
  .form-guarantees {
    gap: 16px;
    font-size: 12px;
  }
  
  /* ФУТЕР - текст слева */
  .footer-grid {
    text-align: center;
    gap: 32px;
  }
  .footer-bottom {
    text-align: center;
    font-size: 12px;
    padding-top: 24px;
  }
  .footer-phone {
    font-size: 22px;
  }
  .footer-logo h3 {
    font-size: 22px;
  }
  
  /* Центрируем заголовки секций */
  section .subtitle {
    display: table;
    margin-left: auto;
    margin-right: auto;
  }
  section .subtitle::after {
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
  }
  section h2 {
    text-align: center;
  }
  
  /* Общие */
  h1 {
    font-size: 48px;
  }
  h2 {
    font-size: 32px;
    margin-bottom: 32px;
  }
  .btn-primary {
    padding: 14px 32px;
    font-size: 16px;
  }
  .condition-item {
    padding: 12px 0 12px 16px;
  }
  
  /* Декоративные элементы */
  .bean-2,
  .bean-5,
  .bean-8 {
    display: none;
  }
}

@media (max-width: 480px) {
  .logo h3 {
    font-size: 20px;
  }
  .mobile-overlay-btn {
    padding: 14px 24px;
    font-size: 14px;
    white-space: nowrap;
  }
  h1 {
    font-size: 40px;
  }
  h2 {
    font-size: 28px;
  }
  .subtitle::after {
    width: 30px;
  }
  .feature-card {
    padding: 24px 20px;
  }
  .feature-card h3 {
    font-size: 20px;
  }
  .price-card {
    padding: 24px 20px;
  }
  .price-amount {
    font-size: 32px;
  }
  .step-item {
    gap: 16px;
    padding: 24px 20px;
  }
  .step-number-wrapper {
    min-width: 52px;
  }
  .step-number {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  .step-line-vertical {
    height: 32px;
  }
  .form-guarantees {
    gap: 12px;
    font-size: 11px;
  }
  .footer-grid {
    gap: 24px;
  }
  .hero h1::after {
    width: 40px;
  }
}
@media (min-width: 1024px) and (max-width: 1400px) {
  .price-amount {
    font-size: 29px;
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
