* {
  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, #83afffbd 0%, #8d9bc3 50%, #fff7bc91 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: auto;
}




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, #0101047a 0%, #1d1e278c 50%, #08080e7a 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: 20px 0;
}

.logo {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.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;
}

.hero-decoration span:nth-child(2) {
  animation-delay: 0.3s;
}

.hero-decoration span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.2;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.2);
  }
}

.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, filter 0.4s ease;
  display: block;
  filter: blur(2px) brightness(0.85);
}

.service-card:hover .service-image img {
  transform: scale(1.05);
  filter: blur(0) brightness(1);
}

.service-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  z-index: 3;
  pointer-events: none;
  transition: left 0.6s ease;
}

.service-card:hover .service-image::before {
  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-info,
.service-desc {
  display: none;
}

.why-choose {
  padding: 100px 0;
  position: relative;
}

.why-choose-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-choose-image {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 25px 50px #0000005e;
}

.why-choose-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.why-choose-image:hover img {
  transform: scale(1.02);
}

.why-choose-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.why-choose-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(201, 168, 124, 0.2);
  transition: all 0.3s ease;
}

.why-choose-item:hover {
  transform: translateX(8px);
  border-bottom-color: rgba(201, 168, 124, 0.5);
}

.why-choose-number {
  font-size: 45px;
  font-weight: 700;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-family: 'Inter', monospace;
  min-width: 60px;
  line-height: 1;
}

.why-choose-text h3 {
  font-size: 22px;
  margin-bottom: 20px;
  background: var(--gold-gradient);
  background-clip: text;
  color: transparent;
}

.why-choose-text p {
  color: #c9c9c9;
  line-height: 1.5;
  font-size: 15px;
  margin: 0;
}

.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;
}

.steps-timeline {
  position: relative;
  margin: 80px auto;
  max-width: 1200px;
  padding-top: 60px;
}

.timeline-line {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  color: transparent;
  z-index: 1;
}

.steps-grid {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}

.step-card {
  width: 22%;
  position: relative;
  margin-right: -2%;
  z-index: 2;
}

.step-card:last-child {
  margin-right: 0;
}

.step-marker {
  position: absolute;
  top: -90px;
  left: 20px;
  font-size: 24px;
  font-weight: bold;
  z-index: 3;
  background: var(--gold-gradient);
  background-clip: text;
  color: transparent;
}

.step-marker::after {
  content: '';
  position: absolute;
  top: 35px;
  left: 50%;
  width: 2px;
  height: 15px;
  background: var(--gold-gradient);
  color: transparent;
}

.step-content {
  padding: 40px 25px;
  border-radius: 20px;
  min-height: 200px;
  text-align: left;
  box-shadow: 0px 0px 20px #00000080;
}

.step-offset .step-content {
  margin-top: 60px;
}

.color-1 .step-content { background-color: #fff6b2; z-index: 5; }
.color-2 .step-content { background-color: #f1ffb8; z-index: 6; }
.color-3 .step-content { background-color: #ffc4d4; z-index: 7; }
.color-4 .step-content { background-color: #e2c8ff; z-index: 8; }
.color-5 .step-content { background-color: #b9c4ef; z-index: 9; }

.step-card h3 {
  font-size: 26px;
  margin-bottom: 15px;
}

.step-card p {
  font-size: 16px;
  line-height: 1.4;
}

.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, #0101047a 0%, #1d1e278c 50%, #08080e7a 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;
  }
  .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; }

  .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;
    border-radius: 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;
  }
}