/* Mobile Styles */
@media screen and (max-width: 1024px) {
    .service-grid, 
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial {
        min-width: calc(50% - 15px);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    /* Navigation */
    .nav-toggle-label {
        display: block;
        position: absolute;
        top: 0;
        right: 15px;
        height: 80px;
        display: flex;
        align-items: center;
        cursor: pointer;
    }
    
    .nav-toggle-label span,
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        display: block;
        background: var(--primary-color);
        height: 2px;
        width: 25px;
        position: relative;
        transition: var(--transition);
    }
    
    .nav-toggle-label span::before,
    .nav-toggle-label span::after {
        content: '';
        position: absolute;
    }
    
    .nav-toggle-label span::before {
        bottom: 8px;
    }
    
    .nav-toggle-label span::after {
        top: 8px;
    }
    
    nav {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    }
    
    nav ul {
        flex-direction: column;
        padding: 0 15px;
    }
    
    nav li {
        margin: 0;
        text-align: center;
        padding: 15px 0;
        border-bottom: 1px solid var(--medium-gray);
    }
    
    nav li:last-child {
        border-bottom: none;
    }
    
    .nav-toggle:checked ~ nav {
        height: auto;
        padding: 15px 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span {
        background: transparent;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::before {
        transform: rotate(45deg);
        bottom: 0;
    }
    
    .nav-toggle:checked ~ .nav-toggle-label span::after {
        transform: rotate(-45deg);
        top: 0;
    }
    
    /* Typography */
    h2 {
        font-size: 28px !important;
    }
    
    .hero h2 {
        font-size: 32px !important;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    /* Layout */
    section {
        padding: 40px 0;
    }
    
    .service-card img {
        width: 60px;
        height: 60px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    /* Contact Form */
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .contact-form textarea {
        grid-column: span 1;
    }
    
    .contact-form button {
        grid-column: span 1;
    }
    
    /* Footer */
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom p:first-child {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 480px) {
    /* General */
    body {
        font-size: 15px;
    }
    
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    /* Sections */
    .service-grid, 
    .advantages-grid,
    .blog-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        min-width: 100%;
    }
    
    /* Hero */
    .hero {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 28px !important;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    /* Cards */
    .service-card,
    .advantage-card,
    .blog-card,
    .testimonial {
        margin-bottom: 20px;
    }
    
    /* Images */
    .blog-img img {
        height: 180px;
    }
    
    /* Social links */
    .social-links {
        justify-content: center;
    }
}

/* Print Styles */
@media print {
    header, 
    footer, 
    .contact-cta, 
    .hero {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    a {
        color: #000;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    p, h2, h3 {
        orphans: 3;
        widows: 3;
    }
    
    h2, h3 {
        page-break-after: avoid;
    }
}
