:root {
    --primary: #4f7c44;
    --dark: #111827;
    --accent: #2ecc71;
    --bg-light: #f8fafc;
    --text: #334155;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', sans-serif; color: var(--text); line-height: 1.7; scroll-behavior: smooth; }

.container { max-width: 1200px; margin: auto; padding: 0 30px; }

/* Header & Nav */
header { background: rgba(255,255,255,0.98); padding: 10px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
nav { display: flex; justify-content: space-between; align-items: center; }
.main-logo { height: 75px; }
.nav-menu { display: flex; list-style: none; gap: 30px; align-items: center; }
.nav-menu a { text-decoration: none; color: var(--dark); font-weight: 700; font-size: 0.9rem; }
.btn-nav { background: var(--primary); color: white !important; padding: 10px 20px; border-radius: 8px; }

/* Hero Moderno */
.hero { height: 95vh; display: flex; align-items: center; color: white; background-size: cover; background-position: center; position: relative; }
.hero-inner { position: relative; z-index: 2; max-width: 850px; }
.hero h1 { font-family: 'Montserrat', sans-serif; font-size: 4.5rem; font-weight: 900; line-height: 1.1; margin-bottom: 30px; }
.hero p { font-size: 1.5rem; font-weight: 300; margin-bottom: 45px; opacity: 0.95; }
.btn-main { background: var(--primary); color: white; padding: 20px 45px; text-decoration: none; border-radius: 10px; font-weight: bold; display: inline-block; transition: 0.3s; }
.btn-alt { border: 2px solid white; color: white; padding: 18px 45px; text-decoration: none; border-radius: 10px; font-weight: bold; margin-left: 20px; display: inline-block; backdrop-filter: blur(10px); }

/* Hardware Features */
.features { padding: 120px 0; background: var(--bg-light); }
.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 { font-family: 'Montserrat', sans-serif; font-size: 3rem; color: var(--dark); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.feature-card { background: white; padding: 60px 40px; border-radius: 30px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.02); transition: 0.4s; border-bottom: 5px solid var(--primary); }
.feature-card:hover { transform: translateY(-15px); box-shadow: 0 20px 50px rgba(0,0,0,0.08); }
.feature-card i { font-size: 3.5rem; color: var(--primary); margin-bottom: 30px; display: block; }

/* PasturApp Integration */
.pasturapp-section { padding: 120px 0; background: var(--dark); color: white; }
.app-logo-main { height: 100px; margin-bottom: 30px; }
.app-header { text-align: center; margin-bottom: 70px; }
.app-header h2 { font-family: 'Montserrat', sans-serif; font-size: 2.8rem; margin-bottom: 20px; }
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; }
.app-card { background: rgba(255,255,255,0.05); padding: 40px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; }
.app-card:hover { border-color: var(--primary); background: rgba(255,255,255,0.1); }
.app-card i { font-size: 2rem; color: var(--primary); margin-bottom: 20px; display: block; }

/* FAQs */
.faq-section { padding: 120px 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.faq-item { padding: 30px; border-radius: 20px; background: var(--bg-light); border: 1px solid #eef2f6; }
.faq-item h4 { font-family: 'Montserrat', sans-serif; color: var(--primary); margin-bottom: 15px; }

/* ... (resto del CSS anterior igual) ... */

/* Contact Section Refactorizada */
.contact-box { 
    background: white; 
    padding: 60px; 
    border-radius: 40px; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.05); 
    max-width: 900px; 
    margin: auto; 
    text-align: center;
}

.direct-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.contact-btn {
    background: var(--bg-light);
    color: var(--dark);
    text-decoration: none;
    padding: 20px 35px;
    border-radius: 15px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-btn:hover {
    border-color: var(--primary);
    background: white;
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(79, 124, 68, 0.15);
}

.contact-btn i {
    font-size: 1.4rem;
    color: var(--primary);
}

.contact-note {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-top: 20px;
}

/* ... (resto del CSS igual) ... */
.whatsapp-btn { position: fixed; bottom: 40px; right: 40px; width: 75px; height: 75px; background: #25d366; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); z-index: 2000; text-decoration: none; }

footer { padding: 60px; text-align: center; color: #94a3b8; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .nav-menu, .form-row { display: none; }
    .faq-grid { grid-template-columns: 1fr; }
}



/* Selector d'idiomes */
.lang-switcher {
    display: flex;
    gap: 12px;
    margin-right: 20px;
    font-family: 'Montserrat', sans-serif;
}

.lang-switcher a {
    text-decoration: none;
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 900;
    opacity: 0.4;
    transition: 0.3s ease;
    padding: 2px 5px;
    border-radius: 4px;
}

.lang-switcher a:hover {
    opacity: 0.8;
    background: rgba(79, 124, 68, 0.05);
}

.lang-switcher a.active {
    opacity: 1;
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

/* Ajust per a mòbils */
@media (max-width: 768px) {
    .lang-switcher { margin-right: 10px; }
}