/* ============================================
   RESPONSIVE DESIGN - TABLET & MOBILE
   ============================================ */

/* ============================================
   TABLET (768px - 1024px)
   ============================================ */

@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .container {
        padding: 0 15px;
    }

    .nav-menu {
        gap: 20px;
    }

    .hero {
        padding: 150px 0 100px;
        margin-top: 70px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

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

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

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

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

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

    .pricing-card.featured {
        transform: scale(1);
    }

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

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

    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        bottom: 25px;
        right: 25px;
    }
}

/* ============================================
   MOBILE (480px - 767px)
   ============================================ */

@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p {
        font-size: 0.95rem;
    }

    .container {
        padding: 0 15px;
    }

    .section {
        padding: 50px 0;
    }

    /* Header & Navigation */
    header {
        padding: 10px 0;
    }

    .header-top {
        display: none;
    }

    .navbar {
        padding: 10px 0;
    }

    .logo {
        font-size: 1.3rem;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--primary-dark);
        padding: 20px;
        gap: 15px;
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu a::after {
        display: none;
    }

    .cta-button {
        padding: 8px 20px;
        font-size: 0.9rem;
    }

    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        background: none;
        border: none;
        color: var(--text-light);
    }

    .hamburger span {
        width: 25px;
        height: 3px;
        background: var(--text-light);
        transition: all 0.3s ease;
    }

    /* Hero Section */
    .hero {
        padding: 120px 0 80px;
        margin-top: 60px;
        background-attachment: scroll;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 12px 30px;
        font-size: 1rem;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 20px;
    }

    /* Features Grid */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .feature-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 20px;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 30px 20px;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .price {
        font-size: 2rem;
    }

    /* Contact */
    .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-form {
        padding: 20px;
    }

    .form-group input,
    .form-group textarea {
        padding: 10px;
        font-size: 16px;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        font-size: 0.9rem;
    }

    /* Floating WhatsApp */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }
}

/* ============================================
   SMALL MOBILE (< 480px)
   ============================================ */

@media (max-width: 479px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    h3 {
        font-size: 1rem;
    }

    p {
        font-size: 0.9rem;
    }

    .container {
        padding: 0 12px;
    }

    .section {
        padding: 40px 0;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .hero {
        padding: 100px 0 60px;
        margin-top: 55px;
    }

    .hero h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .service-card {
        padding: 15px;
    }

    .service-card h3 {
        font-size: 1rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .testimonial-card {
        padding: 15px;
    }

    .testimonial-avatar {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .pricing-card {
        padding: 20px 15px;
    }

    .price {
        font-size: 1.8rem;
    }

    .contact-item {
        padding: 20px;
    }

    .contact-item-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .contact-form {
        padding: 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 8px;
        font-size: 16px;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        bottom: 15px;
        right: 15px;
    }

    .social-links {
        gap: 10px;
    }

    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

/* ============================================
   LANDSCAPE MODE
   ============================================ */

@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 60px;
        margin-top: 60px;
    }

    .hero h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
}

/* ============================================
   HIGH DPI DISPLAYS (Retina)
   ============================================ */

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}
