/* --------------------------
   CONFIGURACIÓN GENERAL
---------------------------*/


*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}


body{

    font-family:'Montserrat',sans-serif;

    background:#0b0f0d;

    color:white;

    overflow-x:hidden;

}



a{

    text-decoration:none;

    color:white;

}



.contenido{

    animation:
    aparecer 1s ease;

}



@keyframes aparecer{

    from{

        opacity:0;
        transform:translateY(30px);

    }


    to{

        opacity:1;
        transform:translateY(0);

    }

}





/* --------------------------
        HEADER
---------------------------*/


.header{


    height:100px;

    display:flex;

    justify-content:space-between;

    align-items:center;


    padding:20px 8%;


    background:

    linear-gradient(
    rgba(0,0,0,.85),
    rgba(0,0,0,.85)
    ),

    url("../img/campo1.jpg");


    background-size:cover;

    background-position:center;


    border-bottom:

    1px solid rgba(255,255,255,.15);


}




.logo h1{


    font-size:28px;

    letter-spacing:2px;

}


.logo span{

    color:#8bc34a;

}



.logo p{

    font-size:13px;

    color:#ccc;

}




/* --------------------------
          MENU
---------------------------*/


.menu{

    display:flex;

    gap:30px;

    align-items:center;

}


.menu a{


    font-weight:600;

    transition:.3s;


}



.menu a:hover{


    color:#8bc34a;

}





.dropdown{

    position:relative;

    padding-bottom:10px;

}



.dropdown-content{

    position:absolute;

    top:100%;

    left:0;

    background:#151b18;

    width:230px;

    display:none;

    flex-direction:column;

    padding:10px;

    border-radius:12px;

    box-shadow:0 15px 35px rgba(0,0,0,.7);

    z-index:1000;

    animation: desplegar .3s ease;

}


/* Mantiene abierto el menú al pasar al submenú */

.dropdown:hover .dropdown-content,
.dropdown-content:hover{

    display:flex;

}



.dropdown-content a{


    padding:12px;

    border-radius:5px;


}


.dropdown-content a:hover{


    background:#8bc34a;

    color:black;

}




.dropdown:hover .dropdown-content{

    display:flex;

}



@keyframes desplegar{


from{

opacity:0;

transform:translateY(-15px);

}


to{

opacity:1;

transform:translateY(0);

}


}




/* --------------------------
       SECCIONES
---------------------------*/


.seccion{


padding:80px 10%;


}



.titulo{


font-size:40px;

margin-bottom:25px;


color:#8bc34a;


}




.card{


background:

rgba(255,255,255,.08);


backdrop-filter:blur(10px);


padding:30px;


border-radius:20px;


margin:20px 0;


border:

1px solid rgba(255,255,255,.15);


transition:.4s;


}



.card:hover{


transform:translateY(-10px);


background:

rgba(139,195,74,.15);


}



/* --------------------------
       BOTONES
---------------------------*/


.btn{


display:inline-block;


background:#8bc34a;


color:black;


padding:14px 30px;


border-radius:30px;


font-weight:bold;


margin-top:20px;


transition:.3s;


}



.btn:hover{


transform:scale(1.1);


}



/* --------------------------
       FONDOS
---------------------------*/


.hero{


min-height:600px;


display:flex;


align-items:center;


padding:10%;


background:


linear-gradient(
rgba(0,0,0,.65),
rgba(0,0,0,.85)
),


url("../img/cosecha.jpg");


background-size:cover;


background-position:center;


}



.hero h2{


font-size:55px;


max-width:700px;


}



/* --------------------------
       FOOTER
---------------------------*/


.footer{


background:#050706;


padding:40px 10%;


display:flex;


justify-content:space-between;


gap:30px;


border-top:

1px solid #333;


}


.footer h3{

color:#8bc34a;

}





@media(max-width:900px){


.header{

flex-direction:column;

height:auto;

}



.menu{

flex-direction:column;

margin-top:20px;

}


.footer{

flex-direction:column;

}



.hero h2{

font-size:35px;

}


}



/* --------------------------
     ACORDEONES
---------------------------*/


details{


background:

rgba(0,0,0,.35);


margin:15px 0;


padding:20px;


border-radius:15px;


cursor:pointer;


border:

1px solid rgba(255,255,255,.15);


transition:.4s;


}



details:hover{


border-color:#8bc34a;


}





summary{


font-size:18px;


font-weight:600;


color:#8bc34a;


list-style:none;


}



summary::after{


content:"+";


float:right;


font-size:25px;


}



details[open] summary::after{


content:"−";


}




details p{


margin-top:20px;


line-height:1.8;


color:#ddd;


animation:

aparecer .5s ease;


}


/* --------------------------
       SERVICIOS
---------------------------*/


.servicios-hero{


background:


linear-gradient(
rgba(0,0,0,.65),
rgba(0,0,0,.9)
),


url("../img/frutas.jpg");


background-size:cover;


background-position:center;


}



.grid-servicios{


display:grid;


grid-template-columns:

repeat(auto-fit,minmax(280px,1fr));


gap:25px;


}



.servicio{


min-height:260px;


transition:.5s;


}



.servicio:hover{


transform:

translateY(-15px)
scale(1.02);


box-shadow:

0 20px 40px rgba(0,0,0,.5);


}



.servicio h3{


color:#8bc34a;


margin-bottom:20px;


}



.servicio ul{


margin-left:20px;


line-height:2;


}



.compromiso{


background:


linear-gradient(

135deg,

rgba(139,195,74,.15),

rgba(0,0,0,.5)

);


}

/* --------------------------
       EQUIPO
---------------------------*/


.equipo-hero{


background:


linear-gradient(

rgba(0,0,0,.65),

rgba(0,0,0,.9)

),


url("../img/trabajadores.jpg");



background-size:cover;


background-position:center;


}




.director{


display:grid;


grid-template-columns:

250px 1fr;


gap:40px;


align-items:center;


}




.foto-director img{


width:100%;


height:250px;


object-fit:cover;


border-radius:20px;


border:

3px solid #8bc34a;


}





.director p{


line-height:1.8;


color:#ddd;


}





@media(max-width:800px){


.director{


grid-template-columns:1fr;


}



.foto-director img{


height:300px;


}



}