/* ========== АДАПТИВНОСТЬ ========== */
@media (max-width: 1200px) {
  .hero__title {
    font-size: 4rem;
  }
  
  .section__title {
    font-size: 3.2rem;
  }
  
  .hero__prev {
    left: var(--space-lg);
  }
  
  .hero__next {
    right: var(--space-lg);
  }
}

@media (max-width: 992px) {
  .header__burger {
    display: block;
  }

  .header__actions {
    display: none;
  }
  
  .contacts__grid {
    grid-template-columns: 1fr;
  }
  
  .contacts__details {
    grid-template-columns: 1fr;
  }
  
  .how-it-works__timeline::before {
    left: 3rem;
  }
  
  .timeline-step {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 3rem;
  }
  
  .timeline-step__number {
    left: 3rem;
    transform: translateX(0);
  }
  
  .timeline-step__content {
    width: 100%;
    margin-left: 6rem !important;
    text-align: left !important;
  }
  
  .timeline-step__icon {
    left: 3rem;
    transform: translateX(0);
    top: 2.5rem;
  }
  
  .service-card-horizontal {
    flex-direction: column;
    text-align: center;
  }
  
  .service-card-horizontal__text {
    flex-direction: column;
  }
  
  .service-card-horizontal__price {
    text-align: center;
    margin-top: var(--space-md);
  }
  
  .service-card-horizontal::before {
    width: 100%;
    height: 5px;
    top: 0;
    left: 0;
  }
  
  .contacts__social .social-link {
    width: 50px;
    height: 50px;
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: var(--space-xl) 0;
  }
  
  .section__title {
    font-size: 2.8rem;
  }
  
  .hero {
    min-height: 500px;
  }
  
  .hero__title {
    font-size: 3.2rem;
  }
  
  .hero__subtitle {
    font-size: 1.6rem;
  }
  
  .hero__prev,
  .hero__next {
    width: 40px;
    height: 40px;
    font-size: 1.6rem;
  }
  
  .hero__prev {
    left: var(--space-md);
  }
  
  .hero__next {
    right: var(--space-md);
  }
  
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .service-card-horizontal {
    padding: var(--space-lg);
  }
  
  .services__payment-methods {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 56.25%; /* 1rem = 9px */
  }
  
  .header {
    padding: 0 var(--space-sm);
  }
  
  .hero__title {
    font-size: 2.8rem;
  }
  
  .hero__btn {
    width: 100%;
  }
  
  .contacts__form {
    padding: var(--space-lg) var(--space-md);
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
  }
  
  .footer__col {
    margin-bottom: var(--space-xl);
  }
  
  .footer__col:last-child {
    margin-bottom: 0;
  }
  
  .footer__links {
    flex-direction: column;
    gap: var(--space-xs);
  }
  
  .footer__download {
    flex-direction: column;
    align-items: center;
  }
  
  .contacts__social {
    flex-wrap: wrap;
  }
  
  .contacts__social .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
  }
}

/* Улучшение для очень широких экранов */
@media (min-width: 1600px) {
  .container {
    max-width: 1400px;
  }
}