/* ESTRUCTURA AGRICULTURA AVANZADA - PEREGRINA BARTOLOMÉ PEREZ */
:root {
    --agro-green: #1F3C28;     /* Verde bosque profundo */
    --agro-earth: #8B5A2B;     /* Marrón tierra arada */
    --agro-wheat: #D4A373;     /* Dorado trigo */
    --agro-light: #FDFBF7;     /* Blanco roto orgánico */
    --white: #FFFFFF;
    --text-dark: #2C3E2D;
    --transition: all 0.5s ease-in-out;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Open Sans', system-ui, sans-serif; background-color: var(--agro-light); color: var(--text-dark); line-height: 1.8; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Merriweather', serif; color: var(--agro-green); }

/* CABECERA ORGÁNICA FLOTANTE */
header { background: rgba(253, 251, 247, 0.96); padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; position: fixed; width: 100%; top: 0; z-index: 1000; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border-bottom: 3px solid var(--agro-wheat); }
.brand h1 { font-size: 2.2rem; font-weight: 900; letter-spacing: -1px; }
.brand h1 span { color: var(--agro-wheat); }
.brand p { font-size: 0.95rem; color: var(--agro-earth); font-weight: 700; text-transform: uppercase; letter-spacing: 2px; }
nav { display: flex; gap: 40px; align-items: center; }
.nav-links { display: flex; gap: 25px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--agro-green); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; transition: var(--transition); }
.nav-links a:hover { color: var(--agro-wheat); }
.lang-selector { padding: 8px 16px; background: var(--agro-green); border: none; color: var(--white); font-weight: bold; border-radius: 4px; cursor: pointer; transition: var(--transition); }
.lang-selector:hover { background: var(--agro-earth); }

/* HERO CON VÍDEO DE FONDO (LOCAL) */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: flex-start; padding: 0 5%; overflow: hidden; }
.hero-video { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; filter: brightness(50%) sepia(20%); }
.hero-content { position: relative; z-index: 2; max-width: 900px; margin-top: 80px; background: rgba(31, 60, 40, 0.85); padding: 60px; border-left: 8px solid var(--agro-wheat); border-radius: 0 20px 20px 0; backdrop-filter: blur(5px); }
.hero-content h2 { font-size: 4rem; color: var(--white); line-height: 1.1; margin-bottom: 25px; }
.hero-content p { font-size: 1.3rem; color: var(--agro-light); font-weight: 300; }

/* BLOQUES DE CONTENIDO DENSOS */
.content-block { padding: 120px 5%; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.content-block.full { grid-template-columns: 1fr; max-width: 1100px; text-align: center; }
.content-block h2 { font-size: 3rem; margin-bottom: 30px; position: relative; padding-bottom: 20px; }
.content-block h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 80px; height: 4px; background: var(--agro-wheat); }
.content-block.full h2::after { left: 50%; transform: translateX(-50%); }
.content-block p { font-size: 1.15rem; margin-bottom: 25px; text-align: justify; color: #444; }

/* REGLA ESTRICTA: TARJETAS DE SERVICIO SOLO TÍTULO */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 40px; margin-top: 60px; width: 100%; }
.service-card { position: relative; height: 450px; border-radius: 12px; overflow: hidden; display: flex; align-items: flex-end; justify-content: center; background: var(--agro-green); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; transition: transform 0.8s ease; filter: brightness(65%); }
.service-card:hover img { transform: scale(1.08); filter: brightness(45%); }
.service-card .overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(31,60,40,0.95) 0%, rgba(31,60,40,0) 60%); z-index: 2; pointer-events: none; }
.service-card h3 { position: relative; z-index: 3; color: var(--white); font-size: 1.7rem; font-weight: 700; text-align: center; padding: 40px 30px; width: 100%; text-transform: uppercase; letter-spacing: 1px; }

/* TESTIMONIOS (REGLA: 100% ANÓNIMOS) */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 40px; margin-top: 50px; }
.testimonial-card { background: var(--white); padding: 50px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); border-bottom: 5px solid var(--agro-earth); position: relative; }
.testimonial-card p { font-size: 1.15rem; font-style: italic; color: #555; position: relative; z-index: 1; }
.testimonial-card::before { content: '”'; position: absolute; top: 10px; right: 30px; font-family: 'Merriweather', serif; font-size: 8rem; color: rgba(212, 163, 115, 0.2); line-height: 1; }

/* FOOTER UNIFICADO GLOBAL */
footer { background: var(--agro-green); padding: 100px 5% 40px; margin-top: 100px; color: var(--white); }
.footer-columns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px; max-width: 1400px; margin: 0 auto 80px; }
.footer-columns h4 { color: var(--agro-wheat); font-size: 1.4rem; margin-bottom: 30px; letter-spacing: 1px; text-transform: uppercase; }
.footer-columns p { color: #d1d5db; font-size: 1.05rem; margin-bottom: 12px; font-family: 'Open Sans', sans-serif; }
.footer-menu-links { list-style: none; }
.footer-menu-links li { margin-bottom: 15px; }
.footer-menu-links a { color: #d1d5db; text-decoration: none; font-size: 1.05rem; transition: var(--transition); display: block; }
.footer-menu-links a:hover { color: var(--white); transform: translateX(8px); }

/* LOGO KIT DIGITAL - REGLA INQUEBRANTABLE */
.logo-kit-centered { height: 125px !important; background-color: transparent !important; display: block; margin: 0 auto 50px; }
.footer-legal-text { text-align: center; color: #8ba390; font-size: 0.95rem; border-top: 1px solid #2f543a; padding-top: 30px; }