/* تبلت و لپ‌تاپ کوچک */

@media (max-width: 1000px) {

    .main-nav {
        gap: 13px;
    }

    .main-nav a {
        font-size: 12px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .header-container {
        gap: 15px;
    }

}

/* موبایل و تبلت */

@media (max-width: 768px) {

    section {
        padding-block: 50px;
    }

    .container {
        width: 92%;
    }

    .header-container {
        min-height: 70px;
    }

    .site-logo {
        font-size: 19px;
    }

    .logo-icon {
        font-size: 27px;
    }

    .menu-toggle {
        display: inline-flex;
        margin-right: auto;
        order: 2;
    }

    .theme-toggle {
        order: 3;
        width: 40px;
        height: 40px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 70px;
        right: 0;
        left: 0;
        background: var(--surface);
        border-bottom: 1px solid var(--border);
        padding: 15px 5%;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: var(--shadow);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 11px 5px;
        border-bottom: 1px solid var(--border);
        font-size: 14px;
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .main-nav a::after {
        display: none;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px 18px;
    }

    .maps-grid {
        grid-template-columns: 1fr;
    }

    .map-box iframe {
        height: 230px;
    }

    .welcome-message {
        bottom: 15px;
        left: 15px;
        max-width: calc(100% - 95px);
        font-size: 12px;
        padding: 10px 14px;
    }

    .support-button {
        right: 15px;
        bottom: 15px;
        width: 52px;
        height: 52px;
    }

    .support-panel {
        right: 15px;
        bottom: 78px;
    }

    .intro-video {
        border-radius: 16px;
    }

}

/* موبایل کوچک */

@media (max-width: 480px) {

    body {
        font-size: 13px;
    }

    section {
        padding-block: 40px;
    }

    .section-heading {
        margin-bottom: 25px;
    }

    .section-heading h2 {
        font-size: 23px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-column {
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(255,255,255,.1);
    }

    .footer-column:last-child {
        border-bottom: 0;
    }

    .map-box iframe {
        height: 200px;
    }

    .site-footer {
        padding-top: 40px;
    }

    .branch-maps > h2 {
        font-size: 21px;
    }

    .about-section > p {
        font-size: 13px;
    }

}