/* Mobile Optimization for Nomino Website */

/* Footer Logo - Make responsive on mobile */
@media (max-width: 479px) {
  /* Footer brand logo - reduce size on mobile */
  footer .text-link_inherit svg {
    width: 60px !important;
    height: 60px !important;
  }

  footer .text-link_inherit span {
    font-size: 1.75rem !important; /* 28px instead of 40px */
  }

  /* Ensure footer links wrap properly */
  .footer_link {
    font-size: 0.9rem;
  }

  /* Footer grid - stack on mobile */
  .footer .grid_6-col {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Navigation logo - slightly smaller on mobile */
  .nav_logo-icon svg {
    max-width: 28px;
    max-height: 28px;
  }

  .nav_logo .paragraph_large {
    font-size: 1.1rem !important;
  }
}

/* Tablet optimization */
@media (min-width: 480px) and (max-width: 767px) {
  footer .text-link_inherit svg {
    width: 70px !important;
    height: 70px !important;
  }

  footer .text-link_inherit span {
    font-size: 2rem !important;
  }
}

/* Ensure all buttons are touch-friendly (minimum 44x44px) */
.button,
.nav_link,
.footer_link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Prevent horizontal scroll */
body {
  overflow-x: hidden;
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Make sure pricing cards stack nicely on mobile */
@media (max-width: 767px) {
  .flex_horizontal.mobile-l-vertical {
    flex-direction: column !important;
  }

  .card {
    max-width: 100% !important;
  }
}

/* Fix email input in footer on mobile */
@media (max-width: 479px) {
  .flex_horizontal.flex_vertical_mobile-l {
    flex-direction: column !important;
  }

  .input.width_100percent {
    width: 100% !important;
  }

  .button.on-inverse {
    width: 100% !important;
    margin-top: 0.5rem;
  }
}
