/* Variables */
:root {
    --primary: #2c5f2d;
    --secondary: #3a7d3f;
    --accent: #a5d6a7;
    --dark-green: #1b4c1f;
    --light-green: #e8f5e9;
    --text-dark: #1a2e35;
    --text-light: #f8f9fa;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estilos Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--light-green);
    padding-top: 100px;
}

h1, h2, h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

/* Navegación */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
}

.nav-logo {
    width: 160px;
    transition: var(--transition);
}

.nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 1.5rem;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary) !important;
}

/* Sección Hero */
.hero-section {
    padding: 8rem 0 4rem;
}

.bg-green-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.hero-img {
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

/* Sección Quiénes Somos */
.about-section {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.95);
}

.about-img {
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    height: auto;
}

.highlight-box {
    background: var(--light-green);
    padding: 2.5rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary);
    margin-top: 2rem;
}

.highlight-box h3 {
    color: var(--dark-green);
    margin-bottom: 1.5rem;
}

.value-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.value-list li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.value-list i {
    color: var(--primary);
    font-size: 1.4rem;
}

/* Sección Productos */
.product-section {
    padding: 6rem 0;
}

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 2px solid var(--accent);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(44, 95, 45, 0.1);
}

.product-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 280px;
    background-color: var(--light-green);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 2rem;
}

.product-info h3 {
    color: var(--primary);
    border-left: 4px solid var(--accent);
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.product-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.product-features li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.product-features li:before {
    content: "✓";
    color: var(--secondary);
    position: absolute;
    left: 0;
}

/* Botones */
.cta-button, .product-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    background-color: var(--primary);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid var(--primary);
    text-align: center;
}

.cta-button:hover, .product-button:hover {
    background-color: var(--secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(44, 95, 45, 0.3);
}

.product-button {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.product-button:hover {
    background-color: var(--primary);
    color: var(--text-light);
}

/* Testimonios */
.testimonial-section {
    padding: 6rem 0;
    background: linear-gradient(45deg, #f8fff8 0%, #f0f5f0 100%);
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.testimonial-content {
    text-align: center;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    padding-top: 1rem;
}

.testimonial-content p::before {
    content: open-quote;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.client-info h4 {
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.client-info span {
    color: #666;
    font-size: 0.9rem;
}

/* Footer Mejorado */
.modern-footer {
    background: var(--dark-green);
    color: white;
    padding: 4rem 0 1rem;
    margin-top: 6rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.contact-item i {
    color: var(--accent);
    min-width: 24px;
    font-size: 1.2rem;
    margin-top: 3px;
}

.phone-numbers, .free-calls {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.department {
    display: block;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: var(--accent);
}

.map-link {
    font-weight: 500;
    transition: var(--transition);
}

.contact-detail a {
    word-break: break-all;
    color: var(--accent);
    text-decoration: none;
}

.contact-detail a:hover {
    color: white;
    text-decoration: underline;
}

.map-container {
    background: var(--primary);
    padding: 8px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legal-links {
    margin-top: 1rem;
}

.legal-links a {
    color: var(--accent);
    text-decoration: none;
    margin: 0 0.5rem;
}

.separator {
    margin: 0 0.5rem;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .nav-logo {
        width: 130px;
    }
    
    .product-card {
        margin-bottom: 2rem;
    }
    
    .product-image {
        height: 250px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card {
        padding: 1rem;
    }
}

@media (max-width: 992px) {
    .map-container {
        margin-top: 2rem;
    }
    
    .footer-col {
        margin-bottom: 2rem;
    }
}