/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero__title {
        font-size: 40px;
    }

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

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

    .pricing-grid,
    .team-grid,
    .about-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .trusted-logos__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about-split {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-menu,
    .header-actions {
        display: none;
    }

    .burger {
        display: flex;
    }

    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__title {
        font-size: 32px;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__image {
        display: none;
    }

    .section {
        padding: 60px 0;
    }

    .section__title {
        font-size: 28px;
    }

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

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

    .pricing-grid,
    .team-grid,
    .about-metrics,
    .principles-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
    }

    .testimonial-card {
        flex: 0 0 86%;
        scroll-snap-align: start;
    }

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

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

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer__legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 28px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__stats {
        flex-direction: column;
        gap: 20px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 14px;
    }
}

/* ========================================
   Utilities
   ======================================== */

.text-center {
    text-align: center;
}

.text-primary {
    color: var(--primary);
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 8px;
}

.mb-2 {
    margin-bottom: 16px;
}

.mb-3 {
    margin-bottom: 24px;
}

.mb-4 {
    margin-bottom: 32px;
}

.mb-5 {
    margin-bottom: 48px;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 8px;
}

.mt-2 {
    margin-top: 16px;
}

.mt-3 {
    margin-top: 24px;
}

.mt-4 {
    margin-top: 32px;
}

.mt-5 {
    margin-top: 48px;
}

/* Flash Messages */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
}

.alert-success {
    background-color: rgba(72, 187, 120, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
}

.alert-error {
    background-color: rgba(245, 101, 101, 0.1);
    color: var(--danger);
    border: 1px solid var(--danger);
}

.alert-warning {
    background-color: rgba(236, 201, 75, 0.1);
    color: #975A16;
    border: 1px solid var(--warning);
}


/* Privacy / anti-spam */
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.cookie-notice { position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 10050; max-width: 980px; margin: 0 auto; padding: 16px 18px; background: #fff; border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-lg); display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.cookie-notice[hidden] { display: none; }
.cookie-notice__text { font-size: 14px; line-height: 1.5; color: var(--text); }
.cookie-notice__text a { text-decoration: underline; }
@media (max-width: 640px) { .cookie-notice { left: 10px; right: 10px; bottom: 10px; align-items: stretch; flex-direction: column; } }


.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 12px 0 16px;
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-light);
}
.form-consent input {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    flex: 0 0 auto;
}
.form-consent a {
    color: var(--primary);
    text-decoration: underline;
}

/* Privacy preferences */
.cookie-notice__actions { display: flex; gap: 10px; flex: 0 0 auto; }
.footer-legal-button { border: 0; padding: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.footer-legal-button:hover { color: var(--primary); }
@media (max-width: 640px) { .cookie-notice__actions { flex-direction: column; width: 100%; } .cookie-notice__actions .btn { width: 100%; } }

