/* =============================
   RESPONSIVE STYLES
   ============================= */
@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .hero:before {
    width: 60%;
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 15% 0);
  }

  .services-layout {
    grid-template-columns: 1fr;
  }

  .services-highlight {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .highlight-card {
    flex: 1;
    min-width: 200px;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 999px) {
  .hero__img {
    display: none;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 20px;
    border-top: 1px solid var(--border);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  nav ul.show {
    display: flex !important;
  }

  .contact-header {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 80px 0 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero:before {
    width: 80%;
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 10% 0);
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .page-header {
    padding: 80px 0 40px;
  }

  .page-header h1 {
    font-size: 2.2rem;
  }

  .contacts-grid,
  .promotions-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-card,
  .promotion-card {
    padding: 30px;
  }

  .order-form {
    padding: 30px 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .modal {
    width: 95%;
    max-height: 95vh;
  }

  .modal-header,
  .modal-body {
    padding: 25px;
  }

  .specialists-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-form {
    padding: 30px;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .services-detailed {
    grid-template-columns: 1fr;
  }

  .services-highlight {
    flex-direction: column;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .tariffs-table {
    display: block;
    overflow-x: auto;
  }

  .tariffs-table th,
  .tariffs-table td {
    white-space: nowrap;
  }

  .guarantee-grid {
    grid-template-columns: 1fr;
  }

  .tariffs-table {
    display: none;
  }

  .mobile-price-card {
    display: block;
  }

  .price-service {
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 5px;
    font-size: 1rem;
  }

  .price-cost {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.2rem;
  }

  nav ul {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background-color: white !important;
    flex-direction: column !important;
    padding: 20px !important;
    border-top: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
  }

  nav ul.show {
    display: flex !important;
  }

  .contact-header {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .btn {
    padding: 14px 24px;
    font-size: 0.9rem;
  }

  .service-card,
  .testimonial-card,
  .contact-card,
  .promotion-card {
    padding: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .specialists-grid {
    grid-template-columns: 1fr;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .contact-form {
    padding: 24px;
  }
}

@media (max-width: 380px) {
  .btn {
    padding: 10px 15px;
  }
}
