/* ============================================================
   BobCAD-CAM Support Site — Responsive Media Queries
   Created: 06/04/2026
   ============================================================ */

/* --- Tablet (768px and below) --- */
@media (max-width: 768px) {
    /* Typography adjustments */
    h1 { font-size: 28px; }
    h2 { font-size: 24px; }
    h3 { font-size: 20px; }
    h4 { font-size: 16px; }

    p {
        font-size: 15px;
    }

    /* Spacing adjustments */
    :root {
        --spacing-lg: 32px;
        --spacing-xl: 40px;
    }

    .container,
    .container-narrow {
        padding: 0 var(--spacing-sm);
    }

    .section {
        padding: var(--spacing-lg) 0;
    }
}

/* --- Mobile (480px and below) --- */
@media (max-width: 480px) {
    /* Typography adjustments */
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
    h4 { font-size: 16px; }

    p {
        font-size: 14px;
    }

    /* Spacing adjustments */
    :root {
        --spacing-md: 16px;
        --spacing-lg: 24px;
        --spacing-xl: 32px;
    }

    .section {
        padding: var(--spacing-md) 0;
    }

    /* Card grid single column on mobile */
    .card-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    /* Stack form steps vertically */
    .form-steps {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .form-step-button {
        width: 100%;
    }
}

/* --- Print Styles --- */
@media print {
    .site-header,
    .mobile-menu-toggle,
    .header-search,
    .card-button,
    .form-submit {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    .section {
        page-break-inside: avoid;
    }
}
