 /* --- ESTILOS GENERALES --- */
 :root {
    --primary-green: #2E7D32; /* Verde agrónomo */
    --accent-berry: #C2185B; /* Rojo frambuesa/fresa */
    --dark-berry: #4A148C; /* Morado zarzamora */
    --text-dark: #333;
    --light-bg: #f9f9f9;
    --top-bar-bg: #1a1a1a;
}

body {
    font-family: 'Myriad Pro', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    line-height: 1.6;
}

h1, h2, h3 { margin: 0; font-weight: 700; }
img { max-width: 100%; height: auto; display: block; }

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    background-color: var(--primary-green);
    color: white;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn:hover { background-color: var(--dark-berry); }

/* --- BILINGÜE --- */
html.lang-es .en { display: none !important; }
html.lang-en .es { display: none !important; }

/* --- TOP BAR --- */
.top-bar {
    background-color: var(--top-bar-bg);
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center;}
.top-bar a { color: white; text-decoration: none; transition: color 0.3s;}
.top-bar a:hover { color: var(--primary-green); }
.lang-switch { cursor: pointer; user-select: none; }
.lang-switch span.active { font-weight: bold; color: var(--primary-green); }

/* --- NAVEGACIÓN --- */
header {
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--text-dark);
    display: flex;
    align-items: left;
    text-decoration: none;
}

.logo span { color: var(--accent-berry); }

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0; padding: 0;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    transition: color 0.3s;
    font-size: 1rem;
}

.nav-links a:hover { color: var(--primary-green); }

/* --- HERO SECTION --- */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/sources-pg-chz/video-corto-r.gif');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

/* --- SECCIONES GENÉRICAS --- */
section { padding: 4rem 0; }
.section-title {
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}
.bg-light { background-color: var(--light-bg); }

/* --- NOSOTROS & VALORES --- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.mv-box { margin-bottom: 20px; padding: 20px; border-left: 5px solid var(--accent-berry); background: var(--light-bg); }
.mv-box h3 { color: var(--dark-berry); margin-bottom: 10px; }
.about-img img { border-radius: 10px; box-shadow: 0 10px 20px rgba(0,0,0,0.2); }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.value-card { background: white; padding: 30px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); transition: transform 0.3s; text-align: center; }
.value-card:hover { transform: translateY(-5px); border-bottom: 4px solid var(--primary-green); }
.value-card h3 { color: var(--accent-berry); margin-bottom: 15px; }

/* --- PROCESO --- */
.process-intro { text-align: center; max-width: 800px; margin: 0 auto 3rem auto; }
.timeline { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.step { text-align: center; flex: 1; min-width: 150px;}
.step:hover { transform: translateY(-5px); border-bottom: 4px solid var(--accent-berry); }
.step-icon { font-size: 2rem; background: var(--primary-green); color: white; width: 60px; height: 60px; line-height: 60px; border-radius: 50%; margin: 0 auto 15px auto; }
.step-icon:hover {transform: translateY(-5px);}

/* --- PRODUCTOS --- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.product-card { background: white; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.product-card:hover { transform: translateY(-5px); border-bottom: 4px solid var(--primary-green); }
.product-card img { width: 100%; height: 250px; object-fit: cover; }
.product-info { padding: 20px; text-align: center; }
.product-info h3 { color: var(--primary-green); }

/* --- MAPA REAL (Leaflet) --- */
#map {
    height: 500px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 1;
}

/* --- FOOTER --- */
footer { background-color: #222; color: white; padding: 4rem 0 2rem; text-align: center; }
.footer-logo { font-size: 1.8rem; font-weight: bold; margin-bottom: 1rem; }
.social-links { margin: 2rem 0; }
.social-links a { color: white; font-size: 1.5rem; margin: 0 15px; transition: color 0.3s; }
.social-links a:hover { color: var(--accent-berry); }
.footer-bottom { margin-top: 2rem; font-size: 0.9rem; color: #888; }

/* --- CONTACTO (NUEVO) --- */
.contact-card {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.contact-address {
    margin-bottom: 30px;
}

.contact-address p {
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}
/* Colores específicos para los iconos */
.icon-green { color: var(--primary-green); }
.icon-pink { color: var(--accent-berry); font-size: 1.5rem; }
.icon-purple { color: var(--dark-berry); font-size: 1.5rem; }

.contact-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 30px 0;
}

.contact-info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
}

.contact-col {
    flex: 1;
    min-width: 250px;
}

.contact-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.contact-link.email {
    color: var(--primary-green); 
    font-weight: bold;
}

.contact-link:hover {
    color: var(--accent-berry);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links { display: none; } 
    .about-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 2.5rem; }
    .top-bar .container { flex-direction: column; text-align: center; gap: 10px; }
    #map { height: 350px; }
}