/* Responsive Styles */

/* XL Screen */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 46px;
    }

    .section-title {
        font-size: 36px;
    }
}

/* LG Screen */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-visual {
        margin-top: 40px;
    }

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

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

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

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

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        margin-top: 40px;
    }
}

/* MD Screen */
@media (max-width: 768px) {
    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        gap: 8px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        transform: translateY(-150%);
        transition: var(--transition);
        z-index: 999;
    }

    .nav-list.active {
        transform: translateY(0);
    }

    .nav-link {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        border-radius: 10px;
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .top-bar {
        display: none;
    }

    .header {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 38px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

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

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

    .hero-visual {
        height: auto;
    }

    section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 32px;
    }

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

    .step-item:not(:last-child)::after {
        display: none;
    }

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

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

    .stat-number {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .cta-guarantees {
        flex-direction: column;
        gap: 16px;
    }

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

    .testimonial-item {
        padding: 30px 24px;
    }

    .testimonial-controls {
        gap: 12px;
    }
}

/* SM Screen */
@media (max-width: 576px) {
    .container {
        padding: 0 20px;
    }

    .logo-img {
        height: 40px;
    }

    .footer-logo {
        height: 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .steps-container {
        grid-template-columns: 1fr;
    }

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

    .stat-item {
        flex-direction: column;
        gap: 12px;
    }

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

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .testimonial-item {
        padding: 28px 20px;
    }

    .testimonial-text {
        font-size: 15px;
    }

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

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

    .footer-brand {
        padding-right: 0;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-content > p {
        font-size: 15px;
    }

    .whatsapp-float {
        width: 56px;
        height: 56px;
        right: 20px;
        bottom: 20px;
    }

    .whatsapp-icon {
        font-size: 28px;
    }

    .hero-badge {
        font-size: 12px;
    }
}

/* XS Screen */
@media (max-width: 400px) {
    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .stat-number {
        font-size: 24px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

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

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
    }

    .hero-visual {
        display: none;
    }

    section {
        padding: 60px 0;
    }
}

/* Animation for mobile menu items */
@media (max-width: 768px) {
    .nav-list {
        animation: slideDown 0.3s ease;
    }

    .nav-list:not(.active) {
        animation: slideUp 0.3s ease;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}
