/**
 * Atif Leather — Responsive Breakpoint Styles
 * Mobile (<768px), Tablet (768px - 1024px), Desktop (>1024px)
 */

/* ==========================================================================
   Tablet & Medium Screens (<1024px)
   ========================================================================== */
@media (max-width: 1024px) {
  .atif-main-nav,
  .atif-nav {
    display: none !important;
  }

  .atif-mobile-toggle {
    display: flex !important;
  }

  .atif-mobile-wa-icon {
    display: inline-flex !important;
  }

  .atif-header-wa-btn,
  .atif-header-rfq-btn,
  .atif-header-quote-btn {
    display: none !important;
  }

  .atif-top-strip-inner {
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    text-align: center;
  }

  .atif-top-left,
  .atif-top-right {
    justify-content: center;
  }

  .atif-header-inner {
    padding: 10px 0;
  }

  .atif-header-actions {
    gap: 10px;
  }

  .atif-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  
  .atif-hero-title {
    font-size: 2.6rem;
  }
}

/* ==========================================================================
   Mobile Phones (<768px)
   ========================================================================== */
@media (max-width: 768px) {
  .atif-top-left {
    display: none !important;
  }

  .atif-top-strip {
    padding: 6px 0;
    font-size: 0.775rem;
  }

  .atif-top-strip-inner {
    justify-content: center !important;
  }

  .atif-top-right {
    gap: 10px;
    font-size: 0.775rem;
    justify-content: center;
  }

  /* Hide email and RFQ link in top strip on mobile to keep a clean, single-line bar */
  .atif-top-right a[href^="mailto"],
  .atif-top-rfq,
  .atif-top-divider:first-of-type,
  .atif-top-divider:last-of-type {
    display: none !important;
  }

  .atif-header-inner {
    padding: 10px 0;
    gap: 12px;
  }

  .atif-brand-link {
    gap: 10px;
  }

  .atif-brand-crest svg {
    width: 38px;
    height: 38px;
  }

  .atif-brand-title {
    font-size: 1.25rem;
    letter-spacing: 1.2px;
  }

  .atif-brand-sub {
    font-size: 0.58rem;
    letter-spacing: 1.2px;
  }

  .atif-hero {
    padding: 55px 0 65px;
  }

  .atif-hero-title {
    font-size: 2.1rem;
  }

  .atif-hero-desc {
    font-size: 1.05rem;
  }

  .atif-category-grid {
    grid-template-columns: 1fr;
  }

  .atif-services-grid {
    grid-template-columns: 1fr;
  }

  .atif-footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .atif-quote-banner {
    padding: 40px 20px;
  }

  .atif-quote-banner h2 {
    font-size: 1.75rem;
  }
}

/* ==========================================================================
   Small Smartphones (<480px)
   ========================================================================== */
@media (max-width: 480px) {
  .atif-top-strip {
    padding: 5px 0;
    font-size: 0.725rem;
  }

  .atif-top-right {
    gap: 8px;
  }

  .atif-header-inner {
    padding: 8px 0;
  }

  .atif-brand-link {
    gap: 8px;
  }

  .atif-brand-crest svg {
    width: 34px;
    height: 34px;
  }

  .atif-brand-title {
    font-size: 1.125rem;
    letter-spacing: 0.8px;
  }

  .atif-brand-sub {
    font-size: 0.52rem;
    letter-spacing: 0.8px;
  }

  .atif-mobile-wa-icon {
    width: 36px;
    height: 36px;
  }

  .atif-mobile-toggle {
    width: 36px;
    height: 36px;
    padding: 6px;
  }

  .atif-hero-title {
    font-size: 1.85rem;
  }

  .btn {
    width: 100%;
  }

  .section-title {
    font-size: 1.75rem;
  }
}
