/* Mobile First Responsive Design */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .company-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .achievement-item {
        justify-content: center;
        text-align: center;
    }
}

/* Tablets */
@media (max-width: 768px) {
    /* Navigation */
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: white;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 1.2rem;
        padding: 1rem 0;
        border-bottom: 1px solid #e9ecef;
        display: block;
    }
    
    .burger {
        display: flex;
    }
    
    /* Typography */
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    /* Hero Section */
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Sections */
    section {
        padding: 3rem 0 !important;
    }
    
    /* Grid Layouts */
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .achievement-item {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
    
    /* Tabs Navigation */
    .tabs-nav {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Cookie Banner */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
    
    /* Stats */
    .company-stats {
        flex-direction: row;
        justify-content: space-around;
    }
    
    .stat {
        padding: 1rem;
        flex: 1;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    /* Header */
    .header-content {
        padding: 0.8rem 0;
    }
    
    .logo img {
        height: 40px;
    }
    
    /* Typography */
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Buttons */
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Spacing */
    .section-header {
        margin-bottom: 2rem;
    }
    
    /* Cards and Items */
    .advantage-item,
    .pricing-card,
    .review-item {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    /* Pricing */
    .price {
        font-size: 2rem;
    }
    
    /* Stats */
    .company-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stat {
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    /* Cookie Banner */
    .cookie-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .cookie-buttons .btn {
        width: 100%;
    }
    
    /* Modal */
    .modal-content {
        padding: 1.5rem;
        width: 95%;
    }
    
    .modal-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-buttons .btn {
        width: 100%;
    }
    
    /* Thanks Page */
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .thanks-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Legal Pages */
    .legal-content {
        padding: 0 10px;
    }
    
    /* Service Content */
    .service-icon img {
        width: 60px;
        height: 60px;
    }
    
    /* Achievement Icons */
    .achievement-icon img {
        width: 40px;
        height: 40px;
    }
    
    .advantage-icon img {
        width: 50px;
        height: 50px;
    }
}

/* Very Small Screens */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .advantage-item,
    .pricing-card,
    .review-item {
        padding: 1rem;
    }
    
    .contact-form {
        padding: 1rem;
    }
    
    .modal-content {
        padding: 1rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 8rem 0 3rem;
    }
    
    .nav {
        height: auto;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        margin-bottom: 1rem;
    }
    
    .hero-actions {
        margin-top: 1rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-bg-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print Responsive */
@media print {
    .container {
        max-width: none;
        padding: 0;
    }
    
    .hero,
    .advantages,
    .services,
    .pricing,
    .reviews {
        break-inside: avoid;
        page-break-inside: avoid;
    }
    
    .advantage-item,
    .pricing-card,
    .review-item {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    .hero-title {
        font-size: 24pt;
    }
    
    h2 {
        font-size: 18pt;
    }
    
    h3 {
        font-size: 16pt;
    }
    
    body {
        font-size: 11pt;
    }
}

/* Interactive States for Touch Devices */
@media (hover: none) {
    .btn:hover {
        transform: none;
    }
    
    .advantage-item:hover,
    .pricing-card:hover {
        transform: none;
    }
    
    /* Add touch-friendly active states */
    .btn:active {
        transform: scale(0.98);
    }
    
    .advantage-item:active,
    .pricing-card:active {
        transform: scale(0.98);
    }
}

/* Large Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
