/* Maid In Town - Compact & Impactful Design */

/* CSS Variables - Official Brand Colors */
:root {
    --primary-green: #54BD12;
    --dark-green: #155525;
    --light-green: #D5E3AE;
    --background-cream: #F5F8EA;
    --olive-green: #6B7C32;
    --accent-green: #4CAF50;
    --bright-green: #66BB6A;
    --yellow-star: #FFD700;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--background-cream);
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Previene el desbordamiento horizontal */
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-green);
}

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Permite que los elementos se ajusten */
}

.logo-link {
    display: block;
    transition: transform 0.3s ease;
}

.logo-link:hover {
    transform: scale(1.05);
}

.logo {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

/* Header Right Section */
.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Call Button */
.btn-call {
    background: var(--primary-green) !important;
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 15px rgba(84, 189, 18, 0.3) !important;
    transition: all 0.3s ease !important;
    border: none !important;
}

.btn-call:hover {
    background: var(--dark-green) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(84, 189, 18, 0.4) !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #F8F9FA 0%, #E8F5E8 100%);
    padding: 60px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

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

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: 25px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px var(--shadow);
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 15px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--medium-gray);
    font-size: 14px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(124, 179, 66, 0.3);
}

.btn-primary:hover {
    background: var(--dark-green);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--medium-gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.service-card-compact {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px var(--shadow);
    transition: all 0.3s ease;
}

.service-card-compact:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px var(--shadow-hover);
}

.service-icon-compact {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon-compact i {
    color: var(--white);
    width: 28px;
    height: 28px;
}

.service-title-compact {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.service-description-compact {
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.service-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

/* Why Choose Us Section */
.benefits-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.benefit-item-compact {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 25px;
    background: var(--white);
    border-radius: 15px;
}

.benefit-icon-compact {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background-color: var(--primary-green);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.benefit-icon-compact i {
    color: var(--white);
    width: 24px;
    height: 24px;
}

.benefit-content-compact h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.benefit-content-compact p {
    color: var(--medium-gray);
}

/* Coupon and Guarantee Wrapper */
.coupon-guarantee-wrapper {
    margin-top: 60px;
}

/* Final CTA */
.final-cta {
    background: var(--background-cream);
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 750px;
    margin: 0 auto;
    padding: 50px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--light-green);
}

.cta-content h2 {
    font-size: 2.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin: 20px 0 30px;
    color: var(--medium-gray);
}

/* Footer */
.footer {
    background: var(--dark-green);
    color: var(--white);
    padding: 60px 0 40px;
    text-align: center;
}

.footer .contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer .contact-item {
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
}

.footer .contact-item:hover {
    color: var(--primary-green);
}

.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    margin-top: 30px;
    font-size: 14px;
    color: var(--light-gray);
}

/* Social Proof Popup */
.social-proof-popup {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: var(--white);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 8px 25px var(--shadow);
    z-index: 1000;
    max-width: 320px;
    display: none; /* Controlado por JS */
}

/* --- Responsive Design --- */

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

    .hero-image {
        order: -1; /* Mueve la imagen arriba en móvil */
        margin-bottom: 30px;
    }
    
    .hero-image img {
        max-height: 300px;
    }

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

    .benefits-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .coupon-guarantee-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }
    
    .section {
        padding: 50px 0;
    }

    .header-content {
        justify-content: center;
        gap: 20px;
    }
    
    .logo {
        height: 40px;
    }
    
    .header-right {
        justify-content: center;
        width: 100%;
    }

    .hero h1, .section-title, .cta-content h2 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle, .section-subtitle, .cta-content p {
        font-size: 1rem;
    }

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

    .btn {
        width: 100%;
        max-width: 300px;
        padding: 15px 20px;
    }

    .services-grid-compact {
        grid-template-columns: 1fr;
    }
    
    .coupon-guarantee-wrapper > a, .coupon-guarantee-wrapper > div {
        width: 100%;
        max-width: 400px;
    }

    .footer .contact-info {
        flex-direction: column;
        gap: 20px;
    }

    .social-proof-popup {
        left: 15px;
        right: 15px;
        bottom: 15px;
        width: auto;
        max-width: 100%;
    }
}