:root {
    --primary-color: #1e8b4d;
    --secondary-color: #4CAF50;
    --accent-color: #8BC34A;
    --light-color: #e8f5e9;
    --dark-color: #1b5e20;
                --gray-color: #f5f5f5;

    --white-color: #fff;
    --gradient-primary: linear-gradient(135deg, #1e8b4d 0%, #4CAF50 50%, #8BC34A 100%);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
                --gradient: linear-gradient(135deg, var(--primary-color), var(--accent-color));
 
}

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            color: var(--text-color);
            background-color: #fafafa;
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            height: auto;
            display: block;
        }

        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* Header Styles */
header {
    background: var(--gradient-primary);
    color: var(--white-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 0px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
}

.logo img {
    max-height: 60px;
    width: auto;
    transition: var(--transition);
}

.logo img:hover {
    transform: rotate(5deg) scale(1.05);
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 0.85rem;
    display: block;
    font-weight: 300;
    opacity: 0.9;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: var(--transition);
    z-index: 1001;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.main-nav {
    display: flex;
    align-items: center;
}

.main-nav ul {
    display: flex;
    gap: 0;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    padding: 15px 25px;
    transition: var(--transition);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    margin: 0 2px;
    text-decoration: none;
    color: inherit;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav-link.has-dropdown::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
    transition: var(--transition);
}

.nav-item:hover .nav-link.has-dropdown::after {
    transform: rotate(180deg);
}

/* Dropdown Styles */
.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white-color);
    min-width: 220px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: #333;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.dropdown-item:first-child {
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.dropdown-item:last-child {
    border-bottom: none;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.dropdown-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
    padding-left: 25px;
}

.dropdown-item i {
    font-size: 1rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.dropdown-item:hover i {
    color: var(--primary-color);
    transform: scale(1.1);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    text-decoration: none;
}

.contact-btn:hover {
    background: var(--white-color);
    color: var(--primary-color);
    border-color: var(--white-color);
    transform: translateY(-2px);
}

/* Active states para indicar página actual */
.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

.nav-link.active::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: var(--white-color);
    border-radius: 3px;
}

/* Efecto de carga del header */
.header-loading {
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* Animaciones adicionales */
.dropdown-item {
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, rgba(30, 139, 77, 0.95), rgba(139, 195, 74, 0.95)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f0f0f0" width="1200" height="600"/><g fill-opacity="0.1"><circle fill="%231e8b4d" cx="200" cy="150" r="80"/><circle fill="%23accent-color" cx="800" cy="200" r="60"/><circle fill="%231e8b4d" cx="1000" cy="400" r="100"/></g></svg>');
            background-size: cover;
            background-position: center;
            color: var(--white-color);
            padding: 100px 0;
            text-align: center;
        }

        .hero-content {
            max-width: 800px;
            margin: 0 auto;
        }

        .hero-title {
            font-size: 3.2rem;
            font-weight: 700;
            margin-bottom: 20px;
            line-height: 1.2;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        }

        .hero-subtitle {
            font-size: 1.3rem;
            font-weight: 300;
            margin-bottom: 40px;
            opacity: 0.95;
        }

        .hero-buttons {
            display: flex;
            gap: 20px;
            justify-content: center;
            flex-wrap: wrap;
            margin-bottom: 60px;
        }

        .btn {
            padding: 15px 30px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            border: none;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .btn-primary {
            background-color: var(--white-color);
            color: var(--primary-color);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .btn-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
        }

        .btn-outline {
            background-color: transparent;
            color: var(--white-color);
            border: 2px solid var(--white-color);
        }

        .btn-outline:hover {
            background-color: var(--white-color);
            color: var(--primary-color);
        }

        .hero-stats {
            display: flex;
            justify-content: center;
            gap: 60px;
            flex-wrap: wrap;
        }

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

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 5px;
            display: block;
        }

        .stat-text {
            font-size: 1rem;
            opacity: 0.9;
        }

        /* Categories Section */
        .categories {
            padding: 100px 15px;
            background-color: var(--white-color);
        }

        .section-title {
            text-align: center;
            margin-bottom: 60px;
        }

        .section-title h2 {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 15px;
            position: relative;
            display: inline-block;
        }

        .section-title h2:after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: var(--gradient);
            border-radius: 2px;
        }

        .section-subtitle {
            font-size: 1.2rem;
            color: #666;
            max-width: 600px;
            margin: 0 auto;
        }

        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 40px;
            margin-top: 60px;
        }

        .category-card {
            background: linear-gradient(135deg, var(--white-color), var(--light-color));
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
            position: relative;
            cursor: pointer;
        }

        .category-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .category-image {
            height: 250px;
            background-size: cover;
            background-position: center;
            position: relative;
            overflow: hidden;
        }

        .category-image::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(30, 139, 77, 0.8), rgba(139, 195, 74, 0.8));
            opacity: 0;
            transition: var(--transition);
        }

        .category-card:hover .category-image::before {
            opacity: 1;
        }

        .category-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: var(--transition);
        }

        .category-card:hover .category-overlay {
            opacity: 1;
        }

        .category-info {
            padding: 30px;
            text-align: center;
        }

        .category-title {
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--primary-color);
            margin-bottom: 15px;
        }

        .category-description {
            color: #666;
            margin-bottom: 20px;
            line-height: 1.6;
        }

        .category-features {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-bottom: 25px;
            flex-wrap: wrap;
        }

        .feature-badge {
            background-color: var(--light-color);
            color: var(--primary-color);
            padding: 5px 12px;
            border-radius: 15px;
            font-size: 0.85rem;
            font-weight: 500;
        }

        .download-btn {
            background: var(--gradient);
            color: var(--white-color);
            padding: 12px 25px;
            border-radius: 25px;
            font-weight: 600;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            width: 100%;
            justify-content: center;
        }

        .download-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(30, 139, 77, 0.3);
        }

        /* About Section */
        .about {
            padding: 100px 15px;
            background: var(--light-color);
        }

        .about-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: center;
        }

        .about-content h2 {
            font-size: 2.2rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 25px;
        }

        .about-text {
            font-size: 1.1rem;
            color: #555;
            margin-bottom: 20px;
            line-height: 1.7;
        }

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

        .feature-item {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .feature-item i {
            color: var(--primary-color);
            font-size: 1.2rem;
        }

        .about-image {
            position: relative;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        }

        .about-image img {
            width: 100%;
            height: 400px;
            object-fit: cover;
        }

        /* Testimonials */
        .testimonials {
            padding: 100px 15px;
            background-color: var(--white-color);
        }

        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 60px;
        }

        .testimonial-card {
            background-color: var(--white-color);
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
            text-align: center;
            position: relative;
        }

        .testimonial-card::before {
            content: '"';
            position: absolute;
            top: 15px;
            left: 20px;
            font-size: 4rem;
            color: var(--light-color);
            font-family: serif;
        }

        .testimonial-content {
            font-style: italic;
            margin-bottom: 20px;
            color: #555;
            position: relative;
            z-index: 1;
        }

        .testimonial-author {
            font-weight: 600;
            color: var(--primary-color);
        }

        .testimonial-rating {
            color: #ffc107;
            margin-top: 10px;
        }

        /* CTA Section */
        .cta {
            padding: 80px 0;
            background: var(--gradient);
            color: var(--white-color);
            text-align: center;
        }

        .cta-content {
            max-width: 600px;
            margin: 0 auto;
        }

        .cta h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .cta p {
            font-size: 1.2rem;
            margin-bottom: 30px;
            opacity: 0.95;
        }

        .whatsapp-btn {
            background-color: #25D366;
            color: var(--white-color);
            padding: 15px 30px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 1.1rem;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 10px;
        }

        .whatsapp-btn:hover {
            background-color: #128C7E;
            transform: translateY(-3px);
        }

        /* Footer */
        footer {
            background-color: #2c2c2c;
            color: #ccc;
            padding: 60px 15px 20px;
        }

        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-section h3 {
            color: var(--white-color);
            font-size: 1.3rem;
            font-weight: 600;
            margin-bottom: 20px;
            position: relative;
        }

        .footer-section h3:after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 40px;
            height: 3px;
            background: var(--gradient);
        }

        .footer-links li {
            margin-bottom: 12px;
        }

        .footer-links a {
            color: #ccc;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: var(--accent-color);
        }

        .social-links {
            display: flex;
            gap: 15px;
            margin-top: 20px;
        }

        .social-link {
            width: 45px;
            height: 45px;
            background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
            color: var(--white-color);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: var(--transition);
        }

        .social-link:hover {
            transform: translateY(-3px);
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid #444;
            color: #999;
        }

        /* Floating WhatsApp */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 30px;
            z-index: 1000;
        }

        .whatsapp-float-btn {
            width: 60px;
            height: 60px;
            background-color: #25D366;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.8rem;
            box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
            transition: var(--transition);
            animation: pulse 2s infinite;
        }

        .whatsapp-float-btn:hover {
            transform: scale(1.1);
        }

        @keyframes pulse {
            0% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
            50% { box-shadow: 0 4px 25px rgba(37, 211, 102, 0.6); }
            100% { box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); }
        }

        /* Mobile Responsive */
@media (max-width: 1024px) {
    .nav-link {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
}

        /* Media Queries */
        @media (max-width: 768px) {
    .header-container {
        padding: 15px 20px;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        padding: 20px 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-item:last-child {
        border-bottom: none;
    }

    .nav-link {
        width: 100%;
        padding: 15px 20px;
        justify-content: space-between;
        background: none;
        border-radius: 0;
        margin: 0;
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
    }

    /* Mobile Dropdown */
    .dropdown {
        position: static;
        background: rgba(255, 255, 255, 0.1);
        min-width: 100%;
        border-radius: 0;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .nav-item.mobile-active .dropdown {
        opacity: 1;
        visibility: visible;
        max-height: 300px;
        padding: 10px 0;
    }

    .dropdown-item {
        color: var(--white-color);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 12px 40px;
        font-size: 0.9rem;
    }

    .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white-color);
        padding-left: 45px;
    }

    .dropdown-item i {
        color: var(--accent-color);
    }

    .header-actions {
        display: none; /* Se oculta en móvil para simplificar */
    }

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

            .hero-stats {
                gap: 30px;
            }

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

            .about-container {
                grid-template-columns: 1fr;
                gap: 40px;
            }

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

        @media (max-width: 576px) {
                .logo-text {
        font-size: 1.5rem;
    }

    .logo-tagline {
        display: none;
    }
            .hero-title {
                font-size: 2rem;
            }

            .section-title h2 {
                font-size: 2rem;
            }

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