/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Large Tablet */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 160px 1fr;
        gap: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .showcase-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .showcase-description {
        text-align: left;
    }

    .card {
        min-height: 300px;
        padding: 40px;
    }
}

/* Tablet */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-label {
        position: static;
    }

    .showcase-title {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .hero-title {
        font-size: clamp(2rem, 7vw, 3.5rem);
    }

    .hero-actions {
        flex-direction: column;
        gap: 20px;
    }

    .service-item {
        grid-template-columns: 40px 1fr 30px;
        padding: 20px 0;
    }

    .service-item.active .service-detail {
        padding: 12px 0 8px 40px;
    }

    .card {
        min-height: 260px;
        padding: 36px;
    }

    .clients-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-brand {
        grid-column: auto;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .hero-scroll-indicator {
        bottom: 24px;
    }

    /* Case Studies - Tablet */
    .case-studies-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }

    .case-study-card {
        padding: 28px;
    }

    .case-study-header {
        gap: 16px;
    }

    .case-study-title {
        font-size: 1.15rem;
    }
}

/* Mobile */
@media (max-width: 640px) {
    :root {
        --section-padding: clamp(60px, 10vh, 100px);
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 65px;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 40px);
        flex-direction: column;
        background: rgba(26, 26, 26, 0.85);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        padding: 12px;
        gap: 8px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        font-size: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .hero-section {
        padding: 100px 6vw 60px;
    }

    .hero-title {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        margin-bottom: 28px;
    }

    .showcase-title {
        font-size: clamp(2rem, 12vw, 3.5rem);
    }

    .service-name {
        font-size: clamp(1rem, 4vw, 1.3rem);
    }

    .service-detail p {
        font-size: 0.85rem;
    }

    .card {
        min-height: 220px;
        padding: 28px 24px;
    }

    .card h2 {
        font-size: 1.3rem;
    }

    .card p {
        font-size: 0.9rem;
    }

    .cta-quote {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
    }

    .cta-subtext {
        font-size: 0.9rem;
    }

    .marquee-item {
        padding: 12px 28px;
    }

    .marquee-item img {
        height: 28px;
    }

    .title-card {
        min-height: 200px;
    }

    .title-card img {
        max-width: 50%;
    }

    /* Case Studies - Mobile */
    .case-studies-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .case-studies-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .case-study-card {
        padding: 24px;
    }

    .case-study-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
    }

    .case-study-header-content {
        flex: 1;
    }

    .case-study-title {
        font-size: 1.1rem;
    }

    .case-study-metric {
        align-self: flex-start;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .case-study-content p {
        font-size: 0.85rem;
    }

    .case-study-toggle {
        width: 20px;
        height: 20px;
        min-width: 20px;
    }

    .case-study-toggle svg {
        width: 18px;
        height: 18px;
    }
}