@media (max-width: 1366px) {
  .hero-content h1 {
    font-size: clamp(28px, 3.2vw, 46px);
  }
}

@media (max-width: 1200px) {

  .nav-list {
    display: none;
  }

  .toggle-burger-menu {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .nav-right .phone {
    display: none;
  }
  .contact {
    padding: 80px 0;
  }

  .contact-container {
    gap: 40px;
  }

  .contact-container .info h1 {
    font-size: 32px;
  }

  .hero {
    min-height: 90vh;
  }

  .hero-content {
    max-width: 520px;
  }

  /*===== FOOTER ====*/

  .footer {
    padding: 50px 0;
  }

  .footer-container .top {
    gap: 30px;
    margin-bottom: 50px;
  }
}

@media (max-width: 980px) {
  .company .right {
    max-width: 700px;
    margin: auto;
  }

  .company .left-img {
    max-width: 700px;
  }

  .company .right button {
    margin: auto;
  }

  .company-container {
    gap: 100px;
  }

  .company .right ul {
    width: 100%;
    margin-bottom: 12px;
  }
}

@media (max-width: 768px) {
  .nav {
    padding: 16px 0;
  }

  .nav-list {
    display: none;
  }

  .phone {
    display: none;
  }

  /* ==== HERO ===== */
  .hero {
    padding: 120px 0;
    min-height: auto;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content .buttons {
    flex-direction: column;
  }

  .hero-content .buttons button {
    width: 260px;
    justify-content: center;
  }

  .hero-content .bottom {
    flex-wrap: wrap;
  }

  .hero-content .bottom .card {
    flex: 1 1 140px;
  }

  /* ===== COMPANY ===== */
  .company-container {
    flex-direction: column;
    text-align: center;
  }

  .company .right {
    align-items: center;
  }

  .company .right .section-subtitle {
    max-width: 100%;
  }

  .company .left-img .card {
    right: 50%;
    transform: translateX(50%);
  }

  /*======  CONTACT ====== */
  .contact-container {
    flex-direction: column;
    align-items: stretch;
    gap: 30px;
  }

  .contact-container .info {
    max-width: 100%;
  }

  .contact-container form {
    max-width: 100%;
  }

  .contact-container .info h1 {
    font-size: 28px;
  }

  .contact-container .info p {
    font-size: 15px;
  }

  /* ==== FOOTER ===== */
  .footer-container .top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
  }

  .footer .socials {
    justify-content: center;
  }

  .footer-container .bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-container .bottom .right {
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .hero-content .buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content .buttons button {
    width: 100%;
    justify-content: center;
  }
}
@media (max-width: 500px) {
  .burger-menu {
    max-width: 100%;
  }
  .nav-right .toggle-modal {
    display: none;
  }
  .hero {
    min-height: 60vh;
    padding: 50px 0;
  }
}
@media (max-width: 480px) {

  .contact {
    padding: 60px 0;
  }

  .contact-container form {
    padding: 24px;
  }

  .contact-container .info h1 {
    font-size: 24px;
    line-height: 130%;
  }

  .contact-container form h1 {
    font-size: 20px;
  }

  .contact-container .info h4 {
    font-size: 15px;
  }

  .contact-container form .row input,
  .contact-container form .row textarea {
    padding: 14px 16px;
    font-size: 16px;
  }

  .company .right,
  .company .left {
    flex: 0;
  }

  .company .left {
    min-height: 400px;
  }

  .company .left .card {
    bottom: -60px;
    width: 200px;
  }

  .company .left-img .card h2 {
    font-size: 38px;
  }

  .company .left-img .card p {
    font-size: 14px;
  }

  .about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }
}