    /* Общие стили */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Arial', sans-serif;
    }
    
    body {
      color: #333;
      line-height: 1.6;
    }
    
    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }
    
    /* Шапка */
    header {
      background: #fff;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
      padding: 20px 0;
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
    }
    
    .header-content {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    
    .logo {
      font-size: 24px;
      font-weight: bold;
      color: #2c3e50;
    }
    
    .logo span {
      color: #3498db;
    }
    
    .contact-btn {
      background: #3498db;
      color: white;
      padding: 10px 20px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      transition: background 0.3s;
    }
    
    .contact-btn:hover {
      background: #2980b9;
    }
    
    /* Главный экран */
    .hero {
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('dP0eB55b9Y4.jpg');
      background-size: cover;
      background-position: center;
      color: white;
      text-align: center;
      padding: 180px 20px 100px;
    }
    
    .hero h1 {
      font-size: 2.5rem;
      margin-bottom: 20px;
    }
    
    .hero p {
      font-size: 1.2rem;
      margin-bottom: 30px;
      max-width: 700px;
      margin-left: auto;
      margin-right: auto;
    }
    
    .cta-btn {
      background: #e74c3c;
      color: white;
      padding: 15px 30px;
      border-radius: 5px;
      text-decoration: none;
      font-weight: bold;
      font-size: 1.1rem;
      transition: background 0.3s;
    }
    
    .cta-btn:hover {
      background: #c0392b;
    }
    
    /* Преимущества (переворачивающиеся карточки) */
    .features {
      padding: 80px 0;
      background: #f9f9f9;
    }
    
    .section-title {
      text-align: center;
      margin-bottom: 50px;
      font-size: 2rem;
      color: #2c3e50;
    }
    
    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 30px;
    }
    
    .feature {
      perspective: 1000px;
      height: 250px;
    }
    
    .feature-inner {
      position: relative;
      width: 100%;
      height: 100%;
      transition: transform 0.6s;
      transform-style: preserve-3d;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      border-radius: 5px;
    }
    
    .feature:hover .feature-inner {
      transform: rotateY(180deg);
    }
    
    .feature-front, .feature-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      background: white;
      padding: 30px;
      border-radius: 5px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    
    .feature-back {
      transform: rotateY(180deg);
      background: #3498db;
      color: white;
    }
    
    .feature-icon {
      font-size: 2.5rem;
      color: #3498db;
      margin-bottom: 20px;
    }
    
    .feature-back .feature-icon {
      color: white;
    }
    
    .feature h3 {
      margin-bottom: 15px;
      color: #2c3e50;
    }
    
    .feature-back h3 {
      color: white;
    }
    
    /* Как это работает (переворачивающиеся шаги) */
    .process {
      padding: 80px 0;
    }
    
    .steps {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
      margin-top: 40px;
    }
    
    .step {
      perspective: 1000px;
      flex: 1;
      min-width: 200px;
      height: 200px;
    }
    
    .step-inner {
      position: relative;
      width: 100%;
      height: 100%;
      transition: transform 0.6s;
      transform-style: preserve-3d;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      border-radius: 5px;
    }
    
    .step:hover .step-inner {
      transform: rotateY(180deg);
    }
    
    .step-front, .step-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      background: #f9f9f9;
      padding: 20px;
      border-radius: 5px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
    }
    
    .step-back {
      transform: rotateY(180deg);
      background: #2c3e50;
      color: white;
    }
    
    .step-number {
      background: #3498db;
      color: white;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 15px;
      font-weight: bold;
    }
    
    .step-back .step-number {
      background: #e74c3c;
    }
    
    /* Галерея подобранных авто */
    .gallery {
      padding: 80px 0;
      background: #f0f0f0;
    }
    
    .carousel {
      position: relative;
      max-width: 800px;
      margin: 0 auto;
      overflow: hidden;
      border-radius: 10px;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }
    
    .carousel-inner {
      display: flex;
      transition: transform 0.5s ease;
    }
    
    .carousel-item {
      min-width: 100%;
      position: relative;
    }
    
    .carousel-item img {
      width: 100%;
      display: block;
    }
    
    .carousel-caption {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: rgba(0, 0, 0, 0.7);
      color: white;
      padding: 15px;
      text-align: center;
    }
    
    .carousel-controls {
      position: absolute;
      top: 50%;
      width: 100%;
      display: flex;
      justify-content: space-between;
      transform: translateY(-50%);
    }
    
    .carousel-control {
      background: rgba(255, 255, 255, 0.5);
      color: #333;
      border: none;
      padding: 10px;
      cursor: pointer;
      font-size: 1.5rem;
      transition: background 0.3s;
    }
    
    .carousel-control:hover {
      background: rgba(255, 255, 255, 0.8);
    }
    
    /* Форма заявки */
    .contact {
      padding: 80px 0;
      background: #3498db;
      color: white;
    }
    
    .contact-form {
      max-width: 600px;
      margin: 0 auto;
      background: white;
      padding: 30px;
      border-radius: 5px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .contact-form input, 
    .contact-form textarea {
      width: 100%;
      padding: 12px;
      margin-bottom: 20px;
      border: 1px solid #ddd;
      border-radius: 5px;
    }
    
    .contact-form button {
      background: #e74c3c;
      color: white;
      border: none;
      padding: 15px 30px;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
      transition: background 0.3s;
    }
    
    .contact-form button:hover {
      background: #c0392b;
    }
    
    /* Подвал */
    footer {
      background: #2c3e50;
      color: white;
      text-align: center;
      padding: 30px 0;
    }
    
    .footer-links {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin-bottom: 20px;
    }
    
    .footer-links a {
      color: white;
      text-decoration: none;
    }
    
    /* Адаптивность */
    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2rem;
      }
      
      .steps {
        flex-direction: column;
      }
      
      .feature, .step {
        height: auto;
        min-height: 250px;
      }
      
      .feature-inner, .step-inner {
        transform-style: flat;
      }
      
      .feature:hover .feature-inner, 
      .step:hover .step-inner {
        transform: none;
      }

    
      .feature-back, .step-back {
        display: none;
      }

      #phone-input {
        padding: 12px;
        width: 100%;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 16px;
      }

      #phone-input:focus {
        border-color: #3498db;
        outline: none;
      }
      
      #phone-error {
        display: none;
        margin-top: -15px;
        margin-bottom: 15px;
      }


#captcha-image {
  transition: opacity 0.3s;
}
#captcha-image.loading {
  opacity: 0.5;
}

/* Капча */
.captcha-container {
  margin: 20px 0;
}

.captcha-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

#captcha-image {
  border: 1px solid #ddd;
  border-radius: 4px;
  height: 40px;
}

#refresh-captcha {
  background: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px;
  cursor: pointer;
  transition: background 0.3s;
}

#refresh-captcha:hover {
  background: #2980b9;
}

/* Стили для формы */
.contact-form input,
.contact-form textarea,
.contact-form button {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}

/* Капча */
.captcha-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
}

#captcha-image {
  border: 1px solid #ddd;
  border-radius: 4px;
  cursor: pointer;
}

#refresh-captcha {
  background: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
}

/* Сообщения */
.form-message {
  padding: 15px;
  margin: 15px 0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-message.error {
  background: #ffebee;
  color: #c62828;
}

.form-message i {
  font-size: 20px;
}

/* Индикатор загрузки */
.loading-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

button[disabled] .btn-text {
  visibility: hidden;
}

button[disabled] .loading-spinner {
  display: inline-block;
}

    }