/* ============================================
   Responsive Styles - Mobile First
   ============================================ */

/* Tablet (768px and below) */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: var(--spacing-lg) 0;
        border-top: 1px solid var(--border-color);
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .hero-image {
        order: -1;
    }

    .hero {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }

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

    .hero-buttons .btn {
        width: 100%;
    }

    /* About & Grids */
    .about-preview-grid,
    .about-intro {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-intro-image {
        order: -1;
    }

    .specialties-grid,
    .blog-grid,
    .benefits-grid,
    .approach-grid,
    .education-grid {
        grid-template-columns: 1fr;
    }

    /* Blog Featured Card */
    .blog-card-featured {
        grid-template-columns: 1fr;
    }

    .blog-card-featured .blog-card-image {
        height: 250px;
    }

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

    /* Pricing */
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    /* Maps */
    .maps-grid {
        grid-template-columns: 1fr;
    }

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

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

    .newsletter-form input,
    .newsletter-form button {
        width: 100%;
    }

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

    /* Specialty Detail Card */
    .specialty-detail-card {
        flex-direction: column;
        text-align: center;
    }

    .specialty-detail-icon {
        margin: 0 auto var(--spacing-md);
    }

    /* Locations */
    .locations-grid {
        grid-template-columns: 1fr;
    }

    /* Article Share */
    .article-share {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Section Spacing */
    .section {
        padding: var(--spacing-xl) 0;
    }

    .page-header {
        padding: var(--spacing-xl) 0;
    }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
    /* Typography */
    html {
        font-size: 14px;
    }

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

    /* Spacing */
    :root {
        --spacing-xl: 2rem;
        --spacing-2xl: 2.5rem;
    }

    /* Header */
    .nav {
        padding: var(--spacing-sm);
    }

    .nav-brand .logo {
        height: 40px;
    }

    /* Buttons */
    .btn-large {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    /* Hero */
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.25rem;
    }

    /* Cards */
    .specialty-card,
    .blog-card,
    .benefit-card,
    .approach-card,
    .education-card {
        padding: var(--spacing-md);
    }

    /* Blog Card Image */
    .blog-card-image {
        height: 180px;
    }

    /* Pricing */
    .price {
        font-size: 2rem;
    }

    .price-large {
        font-size: 2.5rem;
    }

    /* Timeline */
    .timeline {
        padding-left: var(--spacing-lg);
    }

    .timeline-marker {
        left: -26px;
        width: 16px;
        height: 16px;
    }

    /* Footer */
    .footer {
        padding: var(--spacing-xl) 0 var(--spacing-md);
    }

    .footer-logo {
        height: 40px;
    }

    /* Article */
    .article-title {
        font-size: 1.75rem;
    }

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

    /* Info Box */
    .info-box {
        flex-direction: column;
        text-align: center;
    }

    .info-box svg {
        margin: 0 auto;
    }

    /* Contact Info Card */
    .contact-info-card {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin: 0 auto var(--spacing-sm);
    }

    /* Location Card */
    .location-info {
        flex-direction: column;
        text-align: center;
    }

    .location-info svg {
        margin: 0 auto;
    }

    /* Process Number */
    .process-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    /* Blog Meta */
    .blog-meta {
        flex-direction: column;
        gap: var(--spacing-xs);
    }

    .article-meta {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
}

/* Large Desktop (1440px and above) */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }

    .section {
        padding: 5rem 0;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .nav-toggle,
    .theme-toggle,
    .hero-buttons,
    .btn,
    .cta-section,
    .newsletter-section,
    .article-share,
    .social-links {
        display: none !important;
    }

    body {
        background-color: white;
        color: black;
    }

    .article-content {
        max-width: 100%;
    }
}
