/* ============================================
   RESPONSIVE — Mobile-first breakpoints
   ============================================ */

/* Tablet landscape and smaller */
@media (max-width: 1024px) {
    :root {
        --space-3xl: 4.5rem;
        --space-4xl: 6rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }

    .hero-content { max-width: 640px; margin: 0 auto; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-cta { justify-content: center; }
    .hero-trust { justify-content: center; }

    .hero-visual { min-height: 400px; max-width: 480px; margin: 0 auto; }

    .studio-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .contact-wrap {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 620px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg);
    }
}

/* Tablet portrait */
@media (max-width: 768px) {
    :root {
        --space-3xl: 3.5rem;
        --header-height: 64px;
    }

    .section { padding: var(--space-3xl) 0; }

    /* Mobile nav */
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: var(--space-md);
        border-bottom: 1px solid var(--color-gray-200);
        transform: translateY(-110%);
        transition: transform var(--transition-base);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--color-gray-100);
    }

    .nav-menu li:last-child { border-bottom: none; }

    .nav-link {
        display: block;
        padding: 1rem 0;
        width: 100%;
        font-size: 1rem;
    }

    .nav-toggle { display: flex; }

    .btn-nav { display: none; }

    /* Hero adjustments */
    .hero {
        padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-2xl);
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(2.25rem, 10vw, 3.25rem);
    }

    .hero-cta { flex-direction: column; width: 100%; }
    .hero-cta .btn { width: 100%; }

    .hero-trust {
        gap: var(--space-sm);
        font-size: 0.8125rem;
    }

    .hero-visual { min-height: 430px; }

    .hero-card-1 { left: -5%; right: auto; top: 36%; }
    .hero-card-2 { right: -5%; top: 57%; bottom: auto; }

    .hero-card-floating {
        padding: 0.625rem 0.875rem;
        font-size: 0.75rem;
        max-width: min(250px, 82vw);
    }

    .hero-card-floating i {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    /* Problem */
    .problem-title-desktop { display: none; }
    .problem-title-mobile { display: inline; }
    .mobile-line-break { display: block; }

    .problem-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .problem-conclusion {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    .problem-conclusion p { font-size: 1.125rem; }

    /* Solution */
    .solution-grid {
        grid-template-columns: 1fr;
    }

    .solution-card { padding: var(--space-lg); }
    .solution-card h3 { font-size: 1.25rem; }

    /* Method — vertical timeline */
    .method-timeline {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        max-width: 420px;
        margin: 0 auto;
        padding-left: 52px;
        position: relative;
    }

    .method-line {
        display: none;
    }

    .method-line-fill {
        width: 100%;
        height: 0;
        transition: height 0.3s ease-out;
        background: linear-gradient(180deg, var(--color-orange), var(--color-orange-dark));
    }

    .method-step {
        text-align: left;
        padding: 0;
        position: relative;
    }

    .method-step::before {
        content: '';
        position: absolute;
        left: -29px;
        top: 12px;
        bottom: calc(-1 * var(--space-xl) - 12px);
        width: 2px;
        background: linear-gradient(180deg, var(--color-orange), var(--color-orange-dark));
    }

    .method-step:last-child::before {
        display: none;
    }

    .method-dot {
        position: absolute;
        left: -40px;
        top: 0;
        margin: 0;
        transform: none;
        z-index: 2;
    }

    .method-number {
        margin-bottom: 0.25rem;
    }

    .method-step h3 {
        margin-top: 0;
    }

    /* Results */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .stat-card {
        min-height: 152px;
        padding: var(--space-md);
        justify-content: center;
    }

    .stat-value { min-height: auto; }

    .logo-item { font-size: 1.125rem; }

    /* Studio */
    .studio-image { aspect-ratio: 1 / 1; }

    /* Testimonials */
    .testimonial-card { padding: var(--space-lg); }

    /* FAQ */
    .faq-item summary {
        padding: 1rem 1.125rem;
        font-size: 0.9375rem;
    }
    .faq-answer { padding: 0 1.125rem 1rem; }

    /* Contact */
    .contact-form { padding: var(--space-lg); }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-title { font-size: 1.25rem; }

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

    .footer-brand .nav-logo {
        justify-content: center;
    }

    .footer-social { justify-content: center; }

    .footer-col ul li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    /* WhatsApp float */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.625rem;
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-tooltip { display: none; }

    /* Floating mark (background) */
    .floating-mark { width: 260px; height: 260px; right: -80px; }
}

/* Mobile small */
@media (max-width: 480px) {
    :root {
        --space-3xl: 3rem;
    }

    .container { padding: 0 var(--space-sm); }

    .hero-title {
        font-size: clamp(2rem, 9vw, 2.75rem);
    }

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

    .hero-badge { font-size: 0.75rem; padding: 0.375rem 0.75rem; }

    .section-title {
        font-size: clamp(1.625rem, 7vw, 2.25rem);
    }

    .section-lead { font-size: 0.9375rem; }

    .hero-card-main { max-width: 100%; }

    .metric-value { font-size: 2.25rem; }

    .hero-card-1 { left: -5%; right: auto; top: 36%; }
    .hero-card-2 { right: -5%; top: 57%; bottom: auto; }

    .btn { padding: 0.75rem 1.25rem; font-size: 0.875rem; }
    .btn-large { padding: 1rem 1.5rem; font-size: 0.9375rem; }

    .footer-bottom ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Mobile very small */
@media (max-width: 360px) {
    .hero-visual { min-height: 300px; }
    .hero-card-floating { display: none; }
}

/* Large screens */
@media (min-width: 1440px) {
    .hero-title { font-size: 5rem; }
}
