/* ============================================================
   RESPONSIVE — Tablet (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
    /* Rings layout is handled in rings.css */
}

/* ============================================================
   RESPONSIVE — Mobile (max 768px)
   ============================================================ */
@media (max-width: 768px) {
    /* Navbar — layout is handled in navbar.css */

    /* Hero — استایل‌های موبایل هیرو در hero.css مدیریت می‌شود */
    .btn-line { width: 100%; text-align: center; min-width: unset; }

    /* Grids */
    .grid-cross-2,
    .grid-cross-3 { grid-template-columns: 1fr; }
    .grid-cross-4,
    .grid-cross-5 { grid-template-columns: 1fr 1fr; }

    .grid-cross > * {
        border-right: none !important;
        padding: 12px 16px;
    }

    .grid-cross > *::after { display: block !important; }
    .grid-cross > *:last-child::after { display: none !important; }

    .grid-cross > * .cell-line-h,
    .grid-cross > * .cell-line-v,
    .grid-cross > * .cell-dot-inner { display: none; }

    .section-line .inner { padding: 0 12px; }

    /* Full-width lines on mobile */
    .btn-line::before,
    .btn-line::after,
    .section-line::before,
    .section-line::after,
    .cta-box::before,
    .cta-box::after,
    .faq-box::before,
    .faq-box::after,
    .hero-badge::before,
    .hero-badge::after { left: -1200px; right: -1200px; }

    .hero-badge .b-line-h,
    .hero-badge .b-line-v,
    .hero-badge .bdot-inner,
    .faq-box .faq-line-h,
    .faq-box .faq-line-v,
    .faq-box .faq-dot-inner,
    .cta-box .cta-line-h,
    .cta-box .cta-line-v,
    .cta-box .cta-dot-inner { display: none; }

    /* Trust + footer */
    .footer-links { gap: 12px; }
    .footer-bottom { flex-direction: column; gap: 12px; }

    /* FAQ */
    .faq-box::before,
    .faq-box:last-child::after,
    #faq .section-header::before { left: -1200px !important; right: -1200px !important; }

    .faq-q {
        height: 54px !important;
        min-height: 54px !important;
        padding: 14px 18px !important;
        font-size: .88rem !important;
    }

    .faq-a {
        padding: 0 18px 20px !important;
        font-size: .8rem !important;
    }

    #faq .section-header {
        margin-bottom: 28px !important;
        padding: 18px 16px !important;
    }

    #faq .section-header h2 { font-size: 1.45rem !important; }

    /* CTA */
    .cta-box { padding: 28px 16px; }
    .cta-box h2 { font-size: 1.4rem; }
    .cta-box .actions { flex-direction: column; align-items: center; }

    /* Footer */
    .footer .container::before { left: 12px; }
    .footer .container::after { right: 12px; }

    /* Rings mobile — handled in rings.css */
}

/* ============================================================
   RESPONSIVE — Small mobile (max 480px)
   ============================================================ */
@media (max-width: 480px) {
    .section-header h2 { font-size: 1.2rem; }
    .grid-cross-4,
    .grid-cross-5 { grid-template-columns: 1fr; }
    .container { padding: 0 12px; }

    .faq-q {
        height: 52px !important;
        min-height: 52px !important;
        padding: 13px 14px !important;
    }

    .faq-a { padding: 0 14px 18px !important; }
    #faq .section-header h2 { font-size: 1.2rem !important; }

    /* Rings small mobile — handled in rings.css */
}