/*==================================================
TABLET
==================================================*/

@media (max-width: 992px) {
  .navbar {
    padding: 16px 24px;
  }

  .menu {
    position: fixed;

    top: 82px;

    left: -100%;

    width: 100%;

    height: calc(100vh - 82px);

    background: #143a5a;

    flex-direction: column;

    justify-content: flex-start;

    align-items: flex-start;

    padding: 40px;

    gap: 24px;

    transition: 0.35s;

    overflow-y: auto;

    z-index: 999;

    display: flex;
  }

  .menu.active {
    left: 0;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/*==================================================
TABLET
==================================================*/

@media (max-width: 992px) {
  .hero,
  .trial-hero,
  .contact-hero {
    padding: 120px 0 80px;
  }

  .hero-content,
  .trial-content,
  .contact-content {
    text-align: center;
  }

  .hero-buttons,
  .trial-buttons {
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
  }

  .hero-buttons .button {
    width: 100%;
    max-width: 320px;
  }
  .hero-grid,
  .trial-grid,
  .contact-grid {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .hero-image,
  .trial-image,
  .contact-image {
    order: -1;

    max-width: 700px;

    margin: auto;
  }

  .hero-content h1,
  .trial-content h1,
  .contact-content h1 {
    font-size: 3.2rem;
  }
}

/*==================================================
SMARTPHONE
==================================================*/

@media (max-width: 768px) {
  .hero,
  .trial-hero,
  .contact-hero {
    padding: 100px 0 70px;
  }

  .logo img {
    height: 48px;
  }

  .hero-content h1,
  .trial-content h1,
  .contact-content h1 {
    font-size: 2.4rem;

    line-height: 1.15;
  }

  .hero-content p,
  .trial-content p,
  .contact-content p {
    font-size: 1rem;
  }

  .hero-badges {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }
  .hero-buttons .button,
  .trial-buttons .button {
    width: 100%;

    max-width: 320px;

    justify-content: center;
  }
}

/*==================================================
PHONE SMALL
==================================================*/

@media (max-width: 576px) {
  .container {
    padding: 0 20px;
  }

  .hero-content h1,
  .trial-content h1,
  .contact-content h1 {
    font-size: 2rem;
  }
}

@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;

    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-logo {
    width: 150px;
  }

  .footer-bottom {
    text-align: center;
  }
}
