/* Responsive Design */

/* Tablet (768px and up) */
@media (max-width: 1024px) {
    :root {
        --padding-container: 1.5rem;
        --spacing-5xl: 4rem;
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .hero__title {
        font-size: var(--font-size-4xl);
    }
    
    .about__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }
    
    .contact__wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-3xl);
    }
    
    .hero__stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Hero Layout */
    .hero .container {
        gap: var(--spacing-3xl);
    }
    
    .hero__visual {
        min-height: 400px;
    }
    
    .hero__illustration {
        max-width: 350px;
    }
    
    /* Technologies Layout */
    .technologies__wrapper {
        gap: var(--spacing-3xl);
    }
    
    .technologies__image {
        max-width: 320px;
    }
}

/* Mobile (600px and down) */
@media (max-width: 768px) {
    :root {
        --padding-container: 1rem;
        --font-size-5xl: 2rem;
        --font-size-4xl: 1.75rem;
        --font-size-3xl: 1.5rem;
        --spacing-5xl: 2.5rem;
        --spacing-4xl: 2rem;
        --spacing-3xl: 1.5rem;
    }
    
    section {
        padding: var(--spacing-4xl) 0;
    }
    
    .section-header {
        margin-bottom: var(--spacing-3xl);
    }
    
    .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .section-subtitle {
        font-size: var(--font-size-base);
    }
    
    /* Navbar */
    .navbar {
        padding: var(--spacing-lg) 0;
    }
    
    .navbar__content {
        gap: var(--spacing-lg);
    }
    
    .navbar__menu {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--bg-dark);
        border-bottom: 1px solid var(--border-color);
        flex-direction: column;
        gap: 0;
        padding: var(--spacing-xl) var(--padding-container);
        max-height: 0;
        overflow: hidden;
        transition: max-height var(--transition-base);
    }
    
    .navbar__menu.active {
        max-height: 400px;
    }
    
    .navbar__link {
        display: block;
        padding: var(--spacing-lg) 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .navbar__link::after {
        display: none;
    }
    
    .navbar__toggle {
        display: flex;
    }
    
    .navbar__cta {
        display: none;
    }
    
    /* Hero */
    .hero {
        min-height: auto;
        padding-top: var(--spacing-2xl);
        padding-bottom: var(--spacing-3xl);
    }
    
    .hero::before {
        width: 300px;
        height: 300px;
        transform: translate(100px, -50%);
    }
    
    .hero__title {
        font-size: var(--font-size-3xl);
        line-height: 1.2;
    }
    
    .hero__subtitle {
        font-size: var(--font-size-base);
    }
    
    .hero__cta {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .hero__cta a {
        width: 100%;
        justify-content: center;
    }
    
    .hero__stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        margin-top: var(--spacing-3xl);
    }
    
    .stat-card {
        text-align: left;
        flex-direction: row;
        align-items: center;
        gap: var(--spacing-lg);
    }
    
    .stat-number {
        font-size: var(--font-size-3xl);
    }
    
    /* Services */
    .services__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .service-card {
        padding: var(--spacing-lg);
    }
    
    /* Differentials */
    .differentials__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .differential-card {
        padding: var(--spacing-lg);
    }
    
    /* About */
    .about__values {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .value-item {
        padding: var(--spacing-lg);
    }
    
    /* Technologies */
    .tech-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .tech-list {
        gap: var(--spacing-sm);
    }
    
    .tech-badge {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: var(--font-size-xs);
    }
    
    /* CTA Section */
    .cta-section::before {
        width: 300px;
        height: 300px;
        right: -100px;
    }
    
    .cta-content h2 {
        font-size: var(--font-size-3xl);
    }
    
    .cta-content p {
        font-size: var(--font-size-base);
    }
    
    /* Contact */
    .contact__wrapper {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .contact__info {
        gap: var(--spacing-lg);
    }
    
    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: var(--spacing-lg);
    }
    
    .contact-item__content h4 {
        font-size: var(--font-size-base);
    }
    
    /* Footer */
    .footer__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .footer__bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer__links {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
}

/* Small Mobile (360px and down) */
@media (max-width: 480px) {
    :root {
        --padding-container: 0.75rem;
        --font-size-5xl: 1.5rem;
        --font-size-4xl: 1.5rem;
        --font-size-3xl: 1.25rem;
        --font-size-2xl: 1.125rem;
        --spacing-2xl: 1.5rem;
        --spacing-xl: 1rem;
    }
    
    .navbar__content {
        gap: var(--spacing-md);
    }
    
    .logo-text {
        display: none;
    }
    
    .hero__title {
        font-size: var(--font-size-2xl);
    }
    
    .hero__subtitle {
        font-size: var(--font-size-sm);
    }
    
    .hero__cta {
        gap: var(--spacing-sm);
    }
    
    .btn--large {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-sm);
    }
    
    .btn i {
        display: none;
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .section-subtitle {
        font-size: var(--font-size-sm);
    }
    
    .service-card__icon {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-xl);
    }
    
    .contact-item__icon {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-xl);
    }
    
    .stat-number {
        font-size: var(--font-size-2xl);
    }
    
    .differential-card__number {
        font-size: var(--font-size-3xl);
    }
    
    /* Hero Layout */
    .hero .container {
        flex-direction: column;
        gap: var(--spacing-3xl);
    }
    
    .hero__wrapper {
        order: 2;
    }
    
    .hero__visual {
        order: 1;
        min-height: auto;
    }
    
    .hero__illustration {
        max-width: 300px;
    }
    
    /* Technologies Layout */
    .technologies__wrapper {
        flex-direction: column;
    }
    
    .technologies__image {
        max-width: 280px;
    }
}
