* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --gold: #C9A87C;
  --navy: #0A192F;
  --navy-light: #112240;
  --graphite: #2A2A2E;
  --silver: #B0B4B8;
  --white: #FFFFFF;
  --gray-light: #F8F9FA;
  --gold-gradient: linear-gradient(135deg, #C9A87C 0%, #E8D5A3 40%, #D4B87A 70%, #F5E6B8 100%);
  --gold-gradient-hover: linear-gradient(135deg, #D4B87A 0%, #F5E6B8 50%, #C9A87C 100%);
}

/* body {
  background: linear-gradient(135deg, #000318 0%, #3e4455 50%, #000616 100%);
  font-family: 'Inter', sans-serif;
  color: #2A2A2E;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('./images/fon.jpg');
  background-attachment: fixed;
  background-size: cover;
  pointer-events: none;
  opacity: 0.7;
} */



body {
  background: linear-gradient(135deg, #0c1423bd 0%, #535b75 50%, #6b643391 100%);
  background-attachment: fixed; /* ГРАДИЕНТ ЗАМИРАЕТ НА ЭКРАНЕ */
  background-size: cover;
  
  font-family: 'Inter', sans-serif;
  color: #2A2A2E;
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position-y: var(--bg-y);
  background-image: url('./images/fon3.png');
  background-repeat: repeat; /* Повтор и по вертикали, и по горизонтали */
  background-attachment: scroll; /* Картинка движется вместе со страницей */
  background-size: cover;
}




section,
.container,
.hero,
.services,
.why-choose,
.about-section,
.gallery,
.faq,
.form-section,
.footer {
  background: transparent !important;
  background-color: transparent !important;
}

section {
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 64px;
  line-height: 1.2;
  margin-bottom: 24px;
  font-weight: 500;
}

h2 {
  font-size: 48px;
  margin-bottom: 48px;
  font-weight: 500;
  text-align: center;
  color: var(--white);
}

h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #030303 0%, #1d1e278f 50%, #08080e 100%);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 5px 50px #0000007a;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 90px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.logo-img:hover {
  opacity: 0.85;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 32px;
  color: #fff;
}

.burger-menu {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.burger-icon {
  width: 24px;
  height: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger-icon span {
  width: 100%;
  height: 2px;
  background: #fff;
  transition: 0.3s;
}

.phone-link {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 18px;
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: linear-gradient(135deg, #03040a 0%, #2e323f 50%, #020306 100%);
  backdrop-filter: blur(20px);
  z-index: 1001;
  padding: 100px 40px 40px;
  transition: right 0.4s ease;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  display: block;
  padding: 16px 0;
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  border-bottom: 1px solid #e8d5a3;
}

.close-menu {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 32px;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
}

.overlay.active {
  display: block;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 77px;
  background: linear-gradient(135deg, #1e2b41 0%, #b8bdd7 50%, #fdfeff 100%);
  /* overflow: hidden; */
  background-image: url(./images/pena.png);
  background-size: cover;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(201, 168, 124, 0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 600px;
}

.hero-subtitle {
  font-size: 20px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 20px;
  font-weight: 600;
  position: relative;
  display: inline-block;
}

.hero-subtitle::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold-gradient);
  border-radius: 2px;
}

.hero-content h1 {
  font-size: 65px;
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #d6bb7e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-text {
  font-size: 22px;
  color: #dbdbdb;
  margin-bottom: 40px;
  line-height: 1.6;
  border-left: 3px solid #C9A87C;
  padding-left: 20px;
}

.hero-image {
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.master-photo {
  width: 100%;
  max-width: 500px;
  position: relative;
}

.master-photo img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.15));
}

.hero-decoration {
  position: absolute;
  bottom: 50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.hero-decoration span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C9A87C;
  opacity: 0.4;
  animation: pulse 2s ease-in-out infinite;
}



.services {
  padding: 100px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-card {
  text-decoration: none;
  color: inherit;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  display: block;
  background: transparent;
  border-radius: 40px;
  overflow: hidden;
  position: relative;
}

.service-image {
  width: 100%;
  height: 400px;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
}

/* Изначально — яркие, без размытия */
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
  filter: brightness(1);
}

/* При наведении — только масштаб и эффект блика */
.service-card:hover .service-image img {
  transform: scale(1.05);
}

/* Эффект "скребка" — белая полоса пробегает при наведении */
/* Эффект "скребка" — диагональный блик (более плавный) */
.service-image::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 150%;
  height: 150%;
  background: linear-gradient(125deg, 
    transparent 0%, 
    transparent 35%, 
    rgba(255, 255, 255, 0.4), 
    rgba(255, 255, 255, 0.6), 
    rgba(255, 255, 255, 0.4), 
    transparent 65%, 
    transparent 100%
  );
  z-index: 3;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.service-card:hover .service-image::before {
  top: 100%;
  left: 100%;
}

/* Затемнение снизу для читаемости текста (оставляем) */
.service-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20%;
  background: linear-gradient(to top, #000000b8, #0000008c, #ffffff5c);
  pointer-events: none;
  backdrop-filter: blur(10px);
  z-index: 2;
}

/* Подпись на изображении */
.service-title {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  font-size: 20px;
  font-weight: 200;
  color: #FFFFFF;
  margin: 0;
  padding: 0;
  background: transparent;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 4;
  letter-spacing: -0.02em;
}

.service-card:hover {
  transform: translateY(-3px);
}

.service-info,
.service-desc {
  display: none;
}

/* Секция с большим количеством свободного пространства */
.why-choose {
  padding: 150px 0;
  background-color: #0b0c10; /* Глубокий темный фон */
  overflow: hidden;
}


/* Сетка 12 колонок — как в профессиональной верстке */
.why-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(100px, auto);
  gap: 40px;
  position: relative;
}

/* Общий стиль карточек */
.why-card {
  position: relative;
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 1px solid rgba(212, 175, 106, 0.3); /* Тонкий золотой акцент слева */
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.why-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-10px);
  border-left-color: #d4af6a;
}

/* Иконки — делаем их очень маленькими и стильными */
.why-icon {
  font-size: 20px;
  margin-bottom: 25px;
  opacity: 0.5;
}

.why-card h3 {
  font-size: 22px;
  color: #fff;
  font-weight: 400;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.why-card p {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  font-size: 15px;
  font-weight: 300;
}

/* --- РАССТАНОВКА ПО СЕТКЕ (АСИММЕТРИЯ) --- */

/* 1. Личное исполнение — широкая карточка сверху слева */
.card-1 {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
}

/* 2. Бережный сервис — высокая карточка справа */
.card-2 {
  grid-column: 8 / 12;
  grid-row: 1 / 5; /* Очень высокая */
  background: rgba(212, 175, 106, 0.03); /* Легкий оттенок золота */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 3. Защита — маленькая карточка в центре */
.card-3 {
  grid-column: 3 / 7;
  grid-row: 3 / 5;
  margin-top: 40px;
}

/* 4. Гарантия — широкая карточка снизу слева */
.card-4 {
  grid-column: 1 / 8;
  grid-row: 5 / 7;
}

/* 5. Пунктуальность — смещенная карточка внизу справа */
.card-5 {
  grid-column: 9 / 13;
  grid-row: 5 / 8;
  border-left: none;
  border-right: 1px solid rgba(212, 175, 106, 0.3); /* Инверсия линии */
  text-align: right;
}

/* Адаптив для мобильных устройств */
@media (max-width: 1024px) {
  .why-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  .why-card {
    grid-column: auto !important;
    grid-row: auto !important;
    margin-top: 0 !important;
    text-align: left !important;
    border-right: none !important;
    border-left: 1px solid rgba(212, 175, 106, 0.3) !important;
  }
}





/* Блок цен — асимметричная сетка */
.prices {
  padding: 100px 0;
  position: relative;
}

.prices h2 {
  text-align: center;
  margin-bottom: 20px;
}

.prices-subtitle {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 60px;
  font-size: 18px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(6, 100px);
  gap: 12px; /* уменьшил отступы */
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* Базовый стиль карточки */
.item {
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 8px; /* маленький радиус */
  cursor: pointer;
}

.img-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease, filter 0.5s ease;
  filter: brightness(1) grayscale(0); /* убрал затемнение */
}

.item:hover img {
  transform: scale(1.08);
}

/* Наложение текста */
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 20px;
  color: #fff;
  opacity: 1;
  transition: all 0.4s ease;
}

.item:hover .overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.15) 100%);
}

.overlay h3 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1px;
  margin-bottom: 6px;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.item:hover .overlay h3 {
  transform: translateY(-3px);
}

.overlay .price {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all 0.3s ease;
}

/* Декоративная линия под ценой */
.overlay .price::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  margin-top: 6px;
  transition: width 0.4s ease;
}

.item:hover .overlay .price::after {
  width: 35px;
}

/* --- РАССТАНОВКА ПО ГРИДУ (Асимметрия) --- */
/* Карточка 1: вертикальная слева (оставляем) */
.item-1 {
  grid-column: 1 / 3;
  grid-row: 4 / 8;
}

/* Карточка 2: горизонтальная сверху (оставляем) */
.item-2 {
  grid-column: 1 / 5;
  grid-row: 1 / 3;
}

/* Карточка 3: квадратная справа-центр */
.item-3 {
  grid-column: 6 / 8;
  grid-row: 1 / 7;
}

/* Карточка 4: по центру, между 1 и 3, ниже 2 */
.item-4 {
  grid-column: 3 / 6;  /* между 1 (до 3) и 3 (с 6) */
  grid-row: 3 / 7;     /* ниже 2-й карточки (которая до 3 ряда) */
}

/* Дополнительный эффект — рамка при наведении */
.item::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  bottom: 8px;
  border: 1px solid rgba(212, 175, 106, 0.3);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.item:hover::after {
  opacity: 1;
}

/* Адаптив (на мобилках всё в ряд) */
@media (max-width: 900px) {
  .grid-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 0 20px;
  }
  .item {
    height: 280px !important;
    width: 100% !important;
    border-radius: 8px;
  }
  .overlay {
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .overlay h3 {
    font-size: 26px;
  }
  .overlay .price::after {
    margin: 6px auto 0;
  }
  .item:hover .overlay .price::after {
    width: 50px;
  }
}




.about-section {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 24px;
  color: #fff;
}

.video-container {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0px 0px 40px #00000087;
  cursor: pointer;
}

.video-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  display: block;
  align-items: center;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(201, 168, 124, 0.5);
}

.play-button::after {
  content: '▶';
  font-size: 28px;
  color: var(--navy);
  margin-left: 4px;
}

.video-container:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 40px rgba(201, 168, 124, 0.7);
}

.how-we-work {
  padding: 100px 5%;
  text-align: center;
}

/* Секция этапов */
.how-we-work {
  padding: 100px 0;
  background-color: #1a1c1e;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* Базовый стиль стикера — строгий квадрат */
.step-content {
  padding: 10px;
  min-height: 200px;
  position: relative;
  text-align: left;
  transition: all 0.4s ease;
  border-radius: 0; /* Никаких овалов, строгие углы */
  box-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

/* Тексты (Caveat) */
.step-content h3 {
  font-family: 'Caveat', cursive;
  font-size: 35px;
  margin-bottom: 12px;
  color: #1a1a1a;
}

.step-content p {
  font-family: 'Caveat', cursive;
  font-size: 28px;
  line-height: 0.9;
  color: #333;
}

/* ЭФФЕКТ ПОДОГНУТОГО УГОЛКА ДЛЯ ВСЕХ */

/* Темная треугольная тень ПОД уголком */
.step-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, transparent 50%, rgba(0,0,0,0.5) 50%);
  filter: blur(2px);
  z-index: 1;
}

/* Сам загнутый уголок (цветной треугольник сверху) */
.step-content::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 0 40px 40px;
  z-index: 2;
  transition: 0.3s;
}

/* Цвета уголков (чуть темнее основного фона для реализма) */
.color-1 .step-content::before { border-color: transparent transparent #e09696 transparent; }
.color-2 .step-content::before { border-color: transparent transparent #e6c195 transparent; }
.color-3 .step-content::before { border-color: transparent transparent #e6e6a4 transparent; }
.color-4 .step-content::before { border-color: transparent transparent #b5e6ad transparent; }
.color-5 .step-content::before { border-color: transparent transparent #8bdce6 transparent; }

/* --- ШАХМАТНЫЙ ПОРЯДОК НАКЛОНОВ --- */

/* 1, 3, 5 — Наклон ВЛЕВО */
.step-card:nth-child(odd) .step-content {
  transform: rotate(-3deg);
}

/* 2, 4 — Наклон ВПРАВО + чуть ниже */
.step-card:nth-child(even) .step-content {
  transform: rotate(3deg);
  margin-top: 40px;
}

/* Цвета самих стикеров */
.color-1 .step-content { background-color: #ffadad; }
.color-2 .step-content { background-color: #ffd6a5; }
.color-3 .step-content { background-color: #fdffb6; }
.color-4 .step-content { background-color: #caffbf; }
.color-5 .step-content { background-color: #9bf6ff; }

/* Ховер: прижимаем стикер */
.step-card:hover .step-content {
  transform: translateY(-10px) rotate(0deg) scale(1.05);
  box-shadow: 10px 20px 30px rgba(0,0,0,0.3);
  z-index: 10;
}

.step-card:hover .step-content::before,
.step-card:hover .step-content::after {
  opacity: 0; /* Уголок "приклеивается" при наведении */
}

/* Убираем цифры */
.step-marker { display: none; }




.gallery {
  padding: 100px 0;
}

.gallery-slider {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
}

.slider-container {
  overflow: hidden;
  border-radius: 20px;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  flex-shrink: 0;
  width: 50%;
  position: relative;
  padding: 0 10px;
  box-sizing: border-box;
}

.slide img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

.slide-overlay {
  position: absolute;
  bottom: 26px;
  left: 20px;
  right: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  border-radius: 12px;
  color: white;
}

.slide-overlay p {
  font-size: 14px;
  font-weight: 500;
}

.slider-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  color: var(--navy);
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px #0000001a;
}

.slider-btn:hover {
  background: var(--gold-gradient);
  color: white;
}

.slider-prev {
  left: 10px;
}

.slider-next {
  right: 10px;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 30px 0;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  padding: 0;
}

.dot.active {
  width: 30px;
  border-radius: 5px;
  background: var(--gold-gradient);
}

.form-section {
  padding: 100px 0;
}

.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border-radius: 40px;
  padding: 50px;
  box-shadow: 0px 0px 40px #00000087;
}

.form-image {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
}

.form-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.form-image:hover img {
  transform: scale(1.02);
}

.form-right {
  display: flex;
  flex-direction: column;
  margin: auto;
  text-align: center;
}

.form-right h2 {
  margin-bottom: 16px;
}

.form-right p {
  margin-bottom: 32px;
  color: #ffffffb5;
}

.form-group {
  margin-bottom: 24px;
  width: 100%;
}

.form-group input {
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
  border-radius: 16px;
  background: #FFFFFF;
  box-sizing: border-box;
}

.form-group input:focus {
  outline: none;
  border-color: #C9A87C;
  box-shadow: 0 0 0 3px rgba(201, 168, 124, 0.1);
}

.form-right .btn {
  width: 100%;
  margin-top: 0;
}

.form-mobile-header {
  display: none;
}

.faq {
  padding: 100px 0;
  position: relative;
}

.faq h2 {
  color: var(--white);
  text-align: center;
}

.faq-grid {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faq-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 0;
  cursor: pointer;
  transition: all 0.3s;
}

.faq-item:hover {
  padding-left: 8px;
}

.faq-question {
  font-size: 20px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--white);
}

.faq-question span:first-child {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding-top 0.3s ease, padding-bottom 0.3s ease;
  color: #fff;
  line-height: 1.7;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.faq-icon {
  font-size: 28px;
  transition: transform 0.3s;
  font-weight: 300;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  border: none;
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 20px;
  position: relative;
  background: transparent;
  transition: transform 0.3s ease;
  border-radius: 15px;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gold-gradient);
  border-radius: inherit;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gold-gradient-hover);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn:hover::after {
  opacity: 1;
}

.btn:hover::before {
  opacity: 0;
}

.btn:hover {
  transform: translateY(-2px);
}

.footer {
  background: linear-gradient(135deg, #030303 0%, #1d1e278f 50%, #08080e 100%) !important;
  color: var(--white);
  padding: 60px 0 40px;
  z-index: 101;
  position: relative;
  box-shadow: 0px 0px 50px #0000005c;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col h4 {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 600;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 12px;
  transition: all 0.3s;
}

.footer-col a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.5;
  font-size: 14px;
}

.footer-privacy {
  text-align: center;
  margin-bottom: 30px;
}

.footer-privacy a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s;
}

.footer-privacy a:hover {
  color: var(--gold);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

















/* ============================================ */
/* ВСЕ АДАПТИВНЫЕ СТИЛИ (собраны в одном месте) */
/* ============================================ */

/* Планшеты и средние экраны */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 44px;
  }
  .hero-wrapper {
    gap: 40px;
  }
  .prices-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto 50px;
  }
  .price-card.featured {
    transform: scale(1);
  }
  .form-wrapper {
    gap: 40px;
    padding: 40px;
  }
}

/* Мобильные устройства (основной блок) */
@media (max-width: 768px) {
  h1 { font-size: 40px; }
  h2 { font-size: 32px; margin-bottom: 32px; }
  h3 { font-size: 24px; }
  .container { padding: 0 20px; }
  .logo-img {
    height: 35px;
  }
  .hero-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  .hero-subtitle::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .hero-text {
    border-left: none;
    padding-left: 0;
    text-align: center;
  }
  .hero-image {
    justify-content: center;
  }
  .master-photo {
    max-width: 350px;
  }

  .services-grid {
    gap: 24px;
  }
  .service-image {
    height: 250px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .slide {
    width: 100%;
    padding: 0 10px;
  }
  .slide img {
    height: 350px;
  }
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .header-right .phone-link {
    display: none;
  }

  .form-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
  }
  .form-mobile-header {
    display: block;
    text-align: center;
    order: 1;
  }
  .form-mobile-header h2 {
    margin-bottom: 12px;
  }
  .form-mobile-header p {
    margin-bottom: 0;
    color: #ffffffb5;
  }
  .form-right h2,
  .form-right > p {
    display: none;
  }
  .form-image {
    order: 2;
    max-width: 280px;
    margin: 0 auto;
  }
  .form-right {
    order: 3;
    width: 100%;
  }
  form {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .form-group {
    width: 100%;
    margin-bottom: 20px;
  }
  .form-group input {
    width: 100%;
    padding: 16px;
    box-sizing: border-box;
  }
  .form-right .btn {
    width: 100%;
    box-sizing: border-box;
  }

  /* Адаптация блока "Этапы работы" для мобильных */
  .steps-timeline {
    margin: 20px 0;
    padding-top: 0;
    padding-left: 0;
  }
  .timeline-line {
    top: 0;
    left: 45px;
    width: 3px;
    height: 100%;
    background: var(--gold-gradient);
    position: absolute;
    z-index: 1;
  }
  .steps-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .step-card {
    width: 100%;
    margin-right: 0 !important;
    margin-bottom: -15px;
    position: relative;
    display: flex;
  }
  .step-card:nth-child(odd) {
    padding-right: 20%;
  }
  .step-card:nth-child(odd) .step-content {
    margin-left: 65px;
    width: 100%;
  }
  .step-card:nth-child(even) {
    padding-right: 5%;
  }
  .step-card:nth-child(even) .step-content {
    margin-left: 85px;
    width: 100%;
  }
  .step-marker {
    position: absolute;
    top: 30px;
    left: 0px;
    width: 35px;
    font-size: 18px;
    font-weight: bold;
    text-align: right;
    z-index: 5;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    color: transparent;
  }
  .step-marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 38px;
    width: 7px;
    height: 2px;
    background: var(--gold-gradient);
    transform: translateY(-50%);
  }
  .step-content {
    min-height: auto !important;
    padding: 20px 15px !important;
    text-align: left;
    box-shadow: 0px 10px 25px rgba(0,0,0,0.4);
  }
  .step-offset .step-content {
    margin-top: 0 !important;
  }
  .color-1 { z-index: 10; }
  .color-2 { z-index: 11; }
  .color-3 { z-index: 12; }
  .color-4 { z-index: 13; }
  .color-5 { z-index: 14; }
  .step-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }
  .step-card p {
    font-size: 14px;
  }

  footer {
    text-align: center;
  }
}

/* Очень маленькие мобильные (до 480px) */
@media (max-width: 480px) {
  .form-wrapper {
    padding: 20px 16px;
  }
  .form-group input {
    padding: 14px;
  }
}

/* Широкие экраны (1500px+) */
@media (max-width: 1500px) {
  section:not(:last-child)::after {
    height: 40px;
  }
}