/* ── MOBILE.CSS — Resolve Legal Services ── */

/* Always hide the close button — only shown inside open overlay via media query below */
.nav-close-btn { display: none !important; }

/* ── NAV DROPDOWN ── */
.nav-hamburger { display: none; }
.nav-links { display: flex; align-items: center; gap: 40px; flex: 1; }

@media (max-width: 1024px) {
  nav { padding: 0 24px !important; justify-content: space-between !important; }

  .nav-hamburger {
    display: block !important;
    cursor: pointer;
    padding: 10px 18px;
    background: none;
    border: 1px solid #d0ccc6;
    border-radius: 3px;
    font-family: 'Georgia', serif;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-left: auto;
    white-space: nowrap;
    font-size: 0.78rem;
    position: relative;
    z-index: 100000;
    -webkit-appearance: none;
    appearance: none;
  }
  .nav-hamburger span { display: none; }
  .nav-hamburger::before { content: none; }

  /* ✕ close button lives INSIDE the overlay */
  .nav-close-btn {
    display: none !important;
    position: absolute;
    top: 24px;
    right: 28px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 10px;
    z-index: 100001;
  }
  .nav-links.open .nav-close-btn { display: block !important; }

  .nav-links {
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(10,45,18,0.97) !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    z-index: 99999 !important;
    padding: 40px 0 !important;
  }
  .nav-links.open { display: flex !important; }
  .nav-links a {
    padding: 18px 40px !important;
    font-size: 1rem !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: rgba(255,255,255,0.85) !important;
    text-decoration: none !important;
    width: 100% !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    transition: color 0.2s, background 0.2s !important;
    font-family: 'Georgia', serif !important;
  }
  .nav-links a:hover { color: #c9a84c !important; background: rgba(255,255,255,0.04) !important; }
  .nav-links a.active { color: #c9a84c !important; }
  .nav-links a:last-child { border-bottom: none !important; }
  .nav-cta {
    background: #c9a84c !important;
    color: #fff !important;
    margin-top: 16px !important;
    width: auto !important;
    padding: 16px 40px !important;
    border-bottom: none !important;
  }
  .nav-cta:hover { background: #b8943e !important; }

  /* Close button inside overlay */
  .nav-close {
    position: absolute !important;
    top: 20px !important;
    right: 24px !important;
    background: none !important;
    border: none !important;
    color: rgba(255,255,255,0.6) !important;
    font-size: 1.8rem !important;
    cursor: pointer !important;
    line-height: 1 !important;
    padding: 8px !important;
  }
  .nav-close:hover { color: #fff !important; }
}

/* ── TABLET (≤900px) ── */
@media (max-width: 900px) {
  .site-header { padding: 10px 20px; }
  .header-contact .contact-divider { display: none; }
  .header-contact a:last-child { display: none; }

  .intro-grid,
  .approach-grid,
  .who-grid,
  .strategic .container,
  .nationwide .container,
  .who .container { grid-template-columns: 1fr !important; gap: 32px !important; }

  .pillars-grid { grid-template-columns: 1fr 1fr !important; }
  .cards-grid { grid-template-columns: 1fr 1fr !important; gap: 12px !important; }
  .services-grid { grid-template-columns: 1fr 1fr !important; }
  .strip-inner { grid-template-columns: 1fr !important; gap: 20px !important; }
  .contact-info-inner { grid-template-columns: 1fr !important; gap: 32px !important; }
  .footer-inner { grid-template-columns: 1fr !important; gap: 28px !important; }
}

/* ── MOBILE (≤768px) ── */
@media (max-width: 768px) {
  .site-header { padding: 8px 16px !important; }
  .header-firm-name { font-size: 1rem !important; }
  .header-firm-tag { font-size: 0.6rem !important; }
  .header-logo .logo-badge { width: 52px !important; height: 52px !important; }
  .header-contact { display: none !important; }

  .hero { padding: 0 6% 60px !important; min-height: 70vh !important; }
  .hero-divider { width: 160px !important; }
  .page-hero { min-height: 50vh !important; padding: 40px 6% !important; }
  .page-hero .logo-badge { width: 100px !important; height: 100px !important; }

  section { padding: 56px 16px !important; }

  .cards-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
  .pillars-grid { grid-template-columns: 1fr !important; }
  .services-grid { grid-template-columns: 1fr !important; }
  .hearings-grid { grid-template-columns: 1fr !important; }
  .hearing-item:nth-child(odd) { border-right: none !important; }
  .hearing-item:last-child { border-bottom: none !important; }

  .form-grid { grid-template-columns: 1fr !important; }
  .form-card-header, .form-card-body { padding-left: 20px !important; padding-right: 20px !important; }
  .form-footer-row { flex-direction: column !important; align-items: flex-start !important; }

  .contact-info-inner { grid-template-columns: 1fr !important; }
  .footer-inner { grid-template-columns: 1fr !important; gap: 28px !important; }
  .footer-bottom { flex-direction: column !important; text-align: center !important; }

  .hero-lower { padding: 40px 16px !important; }
  .btn-group { flex-direction: column !important; align-items: stretch !important; }
  .btn { text-align: center !important; }
}

/* ── SMALL PHONES (≤480px) ── */
@media (max-width: 480px) {
  .page-hero { min-height: 40vh !important; }
  .page-hero .logo-badge { width: 80px !important; height: 80px !important; }
  .hero { min-height: 60vh !important; }
  .strip-inner { grid-template-columns: 1fr !important; }
  .cards-grid { grid-template-columns: 1fr !important; }
}
