/* =====================================================
   NV TAX & ACCOUNTING SERVICES LLC
   Responsive / Media Queries (Mobile-First)
   ===================================================== */

/* ---- TABLET  (max 1024px) ---- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 48px 20px;
    --section-padding-sm: 32px 20px;
  }

  /* Navigation */
  .nav-menu,
  .nav-phone {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-cta .btn {
    display: none;
  }

  /* Grids */
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail {
    grid-template-columns: 1fr;
  }
}


/* ---- MOBILE LARGE (max 768px) ---- */
@media (max-width: 768px) {
  :root {
    --section-padding: 40px 16px;
    --section-padding-sm: 28px 16px;
  }

  /* Typography */
  .hero-title,
  .page-hero-title,
  .article-title {
    font-size: 2rem;
  }

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

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

  /* Hero */
  .hero {
    min-height: 420px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Why Choose Us */
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid::before {
    display: none;
  }

  /* Model comparison */
  .models-grid {
    grid-template-columns: 1fr;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* CTA actions */
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }

  /* Contact */
  .contact-form-card {
    padding: var(--space-lg);
  }

  /* Mission */
  .mission-grid {
    grid-template-columns: 1fr;
  }

  /* Team */
  .team-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Credentials */
  .credentials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Newsletter form */
  .newsletter-form {
    flex-direction: column;
  }

  /* Map */
  .map-embed {
    height: 300px;
  }

  /* Tabs */
  .tab-btn {
    padding: 12px 16px;
    font-size: var(--text-xs);
  }

  /* Blog filters */
  .filter-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-search {
    margin-left: 0;
    width: 100%;
  }

  .blog-search-input {
    width: 100%;
  }

  /* Service detail */
  .service-detail-title {
    font-size: 1.375rem;
  }

  /* Comparison table - scroll horizontal */
  .comparison-table-wrap {
    overflow-x: auto;
  }
}


/* ---- MOBILE SMALL (max 480px) ---- */
@media (max-width: 480px) {
  :root {
    --section-padding: 32px 16px;
  }

  /* Typography */
  .hero-title,
  .page-hero-title {
    font-size: 1.75rem;
  }

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

  /* Why */
  .why-grid {
    grid-template-columns: 1fr;
  }

  /* Stats */
  .stats-grid {
    grid-template-columns: 1fr;
  }

  /* Steps */
  .steps-grid {
    grid-template-columns: 1fr;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Team */
  .team-grid {
    grid-template-columns: 1fr !important;
  }

  /* Credentials */
  .credentials-grid {
    grid-template-columns: 1fr;
  }

  /* Nav logo text */
  .nav-logo-sub {
    display: none;
  }

  /* Footer */
  .footer-legal-links {
    flex-wrap: wrap;
    gap: var(--space-sm);
  }

  /* Radio group */
  .radio-group {
    flex-direction: column;
    gap: var(--space-sm);
  }

  /* Pagination */
  .pagination {
    gap: 4px;
  }

  .page-btn {
    width: 36px;
    height: 36px;
    font-size: var(--text-xs);
  }
}


/* ---- LARGE DESKTOP (min 1400px) ---- */
@media (min-width: 1400px) {
  :root {
    --container-max: 1320px;
  }
}
