/* ======== VARIABLES & FUENTES (CONSISTENCIA TOTAL) ======== */
:root {
    --palm-dark: #F77A3D;
    --palm-primary: #006837;
    --palm-accent: #b88317; /* Dorado / Salmón */
    --palm-light: #e8f5e9;
    --bg-soft: #f8fcf9;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-muted: #666;
    
    --shadow-card: 0 10px 30px rgba(0,0,0,0.06);
    --shadow-hover: 0 20px 40px rgba(0, 104, 55, 0.15);

    /* FUENTES */
    --font-heading: 'Roboto Slab', serif;
    --font-body: 'Inter', sans-serif;
    --font-ui: 'Poppins', sans-serif;
}

body { font-family: var(--font-body); color: var(--text-dark); background-color: var(--white); overflow-x: hidden; line-height: 1.7; }
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; color: var(--palm-dark); }

.text-gold { color: var(--palm-accent) !important; }
.text-palm-primary { color: var(--palm-primary) !important; }

/* ======== HERO (Estilo Amigable y Premium) ======== */
.hero-service {
    position: relative;
    /* Usa una imagen de campo/agrónomo */
    background: url('../../assets/images/servicios-banner.jpg') center/cover no-repeat fixed;
    height: 60vh; min-height: 450px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 0 0 50px 50px; margin-bottom: 60px;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 50, 20, 0.8), rgba(0, 50, 20, 0.6)); border-radius: 0 0 50px 50px; }

.badge-pill {
    background: rgba(255,255,255,0.2); backdrop-filter: blur(5px); padding: 8px 25px; border-radius: 50px;
    color: var(--white); font-family: var(--font-ui); font-weight: 600; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1.5px; margin-bottom: 20px; display: inline-block; border: 1px solid rgba(255,255,255,0.4);
}

.hero-service h1 {
    font-size: 3.5rem; color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,0.3); margin-bottom: 15px;
}
.lead-hero {
    font-size: 1.2rem; color: rgba(255,255,255,0.95); max-width: 800px; margin: 0 auto 30px; font-weight: 300;
}
.btn-scroll-down {
    color: #fff; font-size: 2rem; animation: float 2s infinite; opacity: 0.8; transition: 0.3s;
}
.btn-scroll-down:hover { color: var(--palm-accent); }
@keyframes float { 0%, 100% {transform: translateY(0);} 50% {transform: translateY(10px);} }

/* ======== INTRODUCCIÓN ======== */
.intro-section { padding: 40px 0 60px; }
.section-subtitle { display: block; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; color: var(--palm-accent); font-family: var(--font-ui); font-weight: 700; margin-bottom: 10px; }
.section-title { font-size: 2.5rem; margin-bottom: 15px; }
.section-desc { font-size: 1.1rem; color: var(--text-muted); max-width: 800px; margin: 0 auto; }

/* ======== GRID DE SERVICIOS (TARJETAS) ======== */
.services-grid-section { padding-bottom: 100px; background-color: var(--bg-soft); padding-top: 60px; margin-top: 40px; border-radius: 50px 50px 0 0; }

.service-card {
    background: #fff; padding: 35px 30px; border-radius: 20px;
    box-shadow: var(--shadow-card); border: 1px solid transparent;
    transition: all 0.3s ease; height: 100%; display: flex; flex-direction: column;
    position: relative; overflow: hidden;
}

/* Efecto Hover: Sube y cambia borde */
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--palm-light);
}
/* Línea decorativa superior al hover */
.service-card::before {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
    background: var(--palm-accent); transform: scaleX(0); transition: 0.3s; transform-origin: left;
}
.service-card:hover::before { transform: scaleX(1); }

.icon-wrapper {
    width: 60px; height: 60px; background: var(--bg-soft); color: var(--palm-primary);
    border-radius: 15px; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; margin-bottom: 25px; transition: 0.3s;
}
.service-card:hover .icon-wrapper { background: var(--palm-primary); color: #fff; }

.service-body h4 { font-size: 1.3rem; margin-bottom: 10px; }
.service-body p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* Tarjeta Destacada (CTA) */
.highlight-card {
    background: linear-gradient(135deg, var(--palm-dark), var(--palm-primary));
    border: none; box-shadow: 0 15px 40px rgba(0, 77, 43, 0.3);
}
.highlight-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0, 77, 43, 0.4); }

/* ======== SECCIÓN EQUIPO (FONDO VERDE) ======== */
.team-section {
    background: var(--palm-primary); padding: 100px 0; color: #fff; position: relative; overflow: hidden;
}
/* Patrón de fondo sutil */
.team-section::after {
    content: ''; position: absolute; inset: 0; opacity: 0.05;
    background-image: radial-gradient(circle at center, #fff 1px, transparent 1px);
    background-size: 30px 30px;
}

.team-list { list-style: none; padding: 0; margin-top: 30px; position: relative; z-index: 2; }
.team-list li {
    font-family: var(--font-ui); font-size: 1.1rem; margin-bottom: 15px; display: flex; align-items: center; gap: 15px;
}
.team-list li i { font-size: 1.2rem; }

.stats-container { position: relative; z-index: 2; }
.stat-item {
    background: rgba(255,255,255,0.1); backdrop-filter: blur(5px);
    padding: 30px; border-radius: 20px; text-align: center; border: 1px solid rgba(255,255,255,0.15);
    transition: 0.3s; height: 100%;
}
.stat-item:hover { background: rgba(255,255,255,0.2); transform: scale(1.02); }

.stat-item h3 {
    font-family: var(--font-heading); font-size: 2.5rem; color: var(--palm-accent); margin-bottom: 5px;
}
.stat-item span {
    font-family: var(--font-ui); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 600; color: rgba(255,255,255,0.9);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-service h1 { font-size: 2.5rem; }
    .services-grid-section { padding-top: 40px; margin-top: 0; border-radius: 30px 30px 0 0; }
}