/* ================================================================
   KOOSHA PIANO — CONTACT + FOOTER MOBILE OVERRIDES
   Only max-width queries — zero impact on desktop.
   Note: contact-footer.css already handles:
     - .contact-body → 1-col at 900px
     - .form-row → 1-col at 640px
     - .footer → 1-col at 640px
   This file fixes remaining mobile issues.
   ================================================================ */

@media (max-width: 768px) {
  /* CRITICAL: contact-title has white-space: nowrap — will overflow on mobile */
  .contact-title {
    font-size: clamp(1.8rem, 7vw, 2.8rem);
    white-space: normal;
    line-height: 1.1;
  }

  .contact-subtitle {
    font-size: clamp(1rem, 4vw, 1.6rem);
  }

  .contact-section {
    padding-block: 3.5rem 3rem;
  }

  /* Social icons: already go horizontal at 900px via contact-footer.css */
  /* Just tighten spacing */
  .contact-section .social-icons-wrap {
    gap: 0 !important;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
  }

  /* Datepicker popup: fixed 300px width overflows on narrow screens */
  .datepicker-plot-area {
    min-width: unset !important;
    width: calc(100vw - 2rem) !important;
    max-width: 320px !important;
  }

  /* Footer copyright bar */
  .footer-copyright {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: clamp(1.5rem, 8vw, 2.2rem);
  }

  .contact-section {
    padding-inline: 1.25rem;
  }

  .contact-wrapper {
    padding: 0;
  }

  .footer-copyright {
    font-size: 0.72rem;
    justify-content: center;
    text-align: center;
  }

  .footer-bar-inner {
    gap: 0.5rem;
  }

  /* Social icon buttons: bigger touch targets */
  .social-icon-btn .sib-icon-wrap {
    width: 48px;
    height: 48px;
  }
}
