/* ====================================
   BOTICA LABS - RESPONSIVE STYLES
   ==================================== */

/* ---- Tablet (≤ 900px) ---- */
@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: var(--spacing-sm);
    }

    .nav {
        gap: var(--spacing-sm);
        flex-wrap: wrap;
        justify-content: center;
        order: 3;
        width: 100%;
    }

    .language-selector {
        margin-left: 0;
    }

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

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

/* ---- Mobile (≤ 600px) ---- */
@media (max-width: 600px) {
    :root {
        --spacing-xxl: 3rem;
        --spacing-xl:  2rem;
    }

    /* Hamburger visible */
    .hamburger-label { display: block; }

    .header-inner {
        flex-wrap: wrap;
        align-items: center;
        gap: var(--spacing-sm);
        position: relative;
    }

    .header-logo {
        font-size: 1.3rem;
        flex: 1;
    }

    .language-selector {
        order: 2;
        margin-left: 0;
        margin-right: var(--spacing-xs);
    }

    .hamburger-label {
        order: 3;
    }

    .nav {
        order: 4;
        width: 100%;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
    }

    .hamburger-toggle:checked ~ .nav {
        max-height: 500px;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: var(--spacing-sm) 0;
        border-bottom: 1px solid rgba(46, 44, 41,0.08);
        width: 100%;
        display: block;
    }

    .hero {
        min-height: 45vh;
        padding: var(--spacing-xl) var(--spacing-sm);
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .placeholder-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

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

    section {
        padding: var(--spacing-xl) 0;
    }

    .trust-badges {
        gap: var(--spacing-lg);
    }
}

/* ====================================
   POLISH PASS (v2) — mobile type ladder
   + hero rhythm. body-prefixed to win
   over the base rules above.
   ==================================== */

/* ---- Tablet (≤ 900px) ---- */
@media (max-width: 900px) {
    body .hero-title { font-size: 2.6rem; }
    body .section-title { font-size: 1.85rem; }
}

/* Split heroes stack + center below 700px: re-center the quote rule */
@media (max-width: 700px) {
    body .hero-split .hero-quote {
        margin-left: auto;
        margin-right: auto;
    }
    body .hero-split .hero-quote-author::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* ---- Mobile (≤ 600px) ---- */
@media (max-width: 600px) {
    body section,
    body .cta-section {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }
    body .hero {
        min-height: 0;
        padding: 3rem 1.25rem 3.75rem;
    }
    body .hero-logo-img { height: 177px; }
    body .hero-title { font-size: 2.05rem; }
    body .hero-quote {
        font-size: 1.15rem;
        margin-top: 2rem;
    }
    body .hero-buttons {
        margin-top: 2.25rem;
        width: 100%;
    }
    body .hero-buttons .btn {
        width: min(100%, 300px);
        text-align: center;
    }
    body .section-title { font-size: 1.55rem; }
    body .cards-grid .card-img-wrap {
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    body .features,
    body .newsletter-section {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }
    body .footer { padding-top: var(--spacing-xl); }
}
