/* ============================================================
   RESPONSIVE DESIGN - IMPROVED & ORGANIZED
   ============================================================ */

/* Global Section Adjustments */
@media (max-width: 992px) {
    section {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Force AOS visibility if it fails to trigger */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
    }

    .container {
        max-width: 100%;
        padding: 0 2rem;
    }

    .top-bar {
        display: none !important;
    }

    .navbar {
        top: 0 !important;
    }
}

/* TABLET LANDSCAPE (992px) */
@media (max-width: 992px) {
    section {
        padding: 5rem 0;
    }

    .section-header {
        margin-bottom: 3rem;
    }

    .section-header h2 {
        font-size: 2.75rem;
    }

    /* Hero */
    .hero {
        padding: 8rem 0 5rem;
        text-align: left;
        /* Changed from center to allow left alignment of content */
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-content p {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Quick Links */
    .quick-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* About Enhanced */
    .about-main-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .about-visual-side {
        order: -1;
    }

    .about-intro {
        margin-left: auto;
        margin-right: auto;
    }

    .about-stats-bar {
        flex-wrap: wrap;
        justify-content: space-around;
        padding: 2rem;
    }

    .stat-divider {
        display: none;
    }

    .stat-box {
        flex: 0 0 45%;
        margin-bottom: 1.5rem;
    }

    .about-values-grid {
        text-align: left;
    }
}

/* TABLET PORTRAIT (768px) */
@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2.25rem;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .logo {
        font-size: 1.5rem;
    }

    /* Hero Avatars - Simplify */
    .pet-avatars-container {
        display: none;
        /* Hide flying avatars on mobile for cleaner look */
    }

    /* Quick Links */
    .quick-link-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    /* How It Works */
    .steps-reference-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contact-map-column {
        order: -1;
    }

    .map-wrapper-premium iframe {
        min-height: 350px;
    }

    /* Final CTA */
    .final-cta h2 {
        font-size: 2.25rem;
    }
}

/* MOBILE (576px) */
@media (max-width: 576px) {
    section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* Hero */
    .hero {
        padding-top: 7rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .btn-hero {
        display: flex !important;
        width: fit-content !important;
        min-width: unset !important;
        padding: 0.75rem 1.5rem !important;
        font-size: 1.2rem !important;
        white-space: nowrap;
        margin-left: 0 !important;
        margin-right: auto !important;
        margin-top: 2rem !important;
    }

    /* Quick Links */
    .quick-links-grid {
        grid-template-columns: 1fr;
    }

    /* About Enhanced */
    .about-enhanced {
        padding: 4rem 0;
    }

    .about-stats-bar {
        gap: 1rem;
        padding: 1.5rem 1rem;
    }

    .stat-box {
        flex: 0 0 100%;
        margin-bottom: 2rem;
    }

    .stat-box:last-child {
        margin-bottom: 0;
    }

    .stat-num {
        font-size: 2.5rem;
    }

    .about-section-title {
        font-size: 2.5rem;
        margin-bottom: 0.5rem;
    }

    .about-main-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }

    .floating-badge,
    .floating-mini-review {
        display: none;
    }

    /* Values Card */
    .value-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 2rem 1.5rem;
    }

    .value-icon {
        margin-bottom: 1rem;
    }

    /* Promotion Banner */
    .promo-premium-banner {
        padding: 3rem 1.5rem;
        border-radius: 20px;
    }

    .promo-premium-banner h2 {
        font-size: 1.75rem;
    }

    .btn-promo-yellow {
        width: 100%;
    }

    /* Testimonials */
    .testimonial-card-modern {
        padding: 2rem 1.5rem;
        min-height: auto;
    }

    /* Final CTA */
    .final-cta {
        padding: 4rem 0;
    }

    .cta-glass-card {
        padding: 3rem 1.25rem;
        /* Slightly reduced padding to give content more room */
        text-align: left;
    }

    .final-cta h2 {
        font-size: 1.6rem;
        text-align: left;
        line-height: 1.3;
    }

    .btn-cta-whatsapp {
        display: inline-flex !important;
        width: fit-content !important;
        max-width: 100% !important;
        padding: 1rem 2rem !important;
        font-size: 1.2rem !important;
        white-space: normal !important;
        text-align: center;
        margin: 2rem auto 0 !important;
        line-height: 1.2;
        border-radius: 50px !important;
        justify-content: center;
    }

    .btn-text-desktop {
        display: none !important;
    }

    .btn-text-mobile {
        display: inline !important;
    }

    .btn-cta-whatsapp i {
        font-size: 1.25rem;
        flex-shrink: 0;
    }

    /* Hide Floats on Mobile */
    .whatsapp-float-desktop,
    .floating-whatsapp,
    .whatsapp-float {
        display: none !important;
    }

    /* Offers Fix */
    .offers {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        padding: 4rem 0;
    }

    .offers-subtitle {
        margin: 1rem auto 3rem !important;
        /* Reset negative margin on mobile */
        padding: 0 1rem;
        font-size: 0.85rem;
        line-height: 1.5;
    }

    #offers-carousel .item {
        padding: 1rem;
    }

    .product-card {
        margin: 0 auto;
        max-width: 100%;
    }
}

/* Extra Small (375px) */
@media (max-width: 375px) {
    .section-header h2 {
        font-size: 1.75rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .stat-num {
        font-size: 2.25rem;
    }
}