/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

/* FONDO */
body{
    background:#81416e;
    color:#333;
}

/* HEADER */
header{
    background:#ce05c4;
    color:white;
    padding:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}

header h1{
    font-size:32px;
}

nav a{
    color:rgb(240, 203, 198);
    text-decoration:none;
    margin:0 15px;
    font-weight:bold;
    transition:.3s;
}

nav a:hover{
    color:#fff0b3;
}

/* HERO */
.hero{
    text-align:center;
    padding:80px 20px;
    background:linear-gradient(to right,#fceabb,#f8d57e);
}

.hero h2{
    font-size:45px;
    margin-bottom:20px;
}

.hero p{
    font-size:20px;
    margin-bottom:30px;
}

.btn{
    background:#d4af37;
    color:white;
    padding:15px 30px;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    background:#b81d8a;
}

/* SECCIONES */
section{
    padding:60px 10%;
}

section h2{
    text-align:center;
    margin-bottom:30px;
    color:#c0b33be5;
}

/* PRODUCTOS */
.contenedor-productos{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}

.producto{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,.15);
    transition:.3s;
    text-align:center;
    padding-bottom:20px;
}

.producto:hover{
    transform:translateY(-8px);
}

.producto img{
    width:100%;
    height:280px;
    object-fit:cover;
}

.producto h3{
    margin:15px 0;
}

.producto p{
    padding:0 15px;
}

.producto h4{
    margin:15px;
    color:#d4af37;
    font-size:24px;
}

button{
    background:#d4af37;
    color:white;
    border:none;
    padding:12px 25px;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
    transition:.3s;
}

button:hover{
    background:#b8901d;
}

/* NOSOTROS */
.nosotros,
.mision,
.vision,
.valores,
.contacto{
    background:white;
    margin:30px auto;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
    max-width:1000px;
}

.nosotros p,
.mision p,
.vision p,
.contacto p{
    text-align:center;
    line-height:1.8;
    font-size:18px;
    padding:0 20px;
}

.valores ul{
    list-style:none;
    text-align:center;
}

.valores li{
    margin:12px 0;
    font-size:18px;
}

/* CONTACTO */
.datos-contacto{
    text-align:center;
    margin-top:30px;
}

.datos-contacto h3{
    color:#d4af37;
    margin-top:20px;
}

/* FOOTER */
footer{
    background:#222;
    color:white;
    text-align:center;
    padding:25px;
    margin-top:40px;
}

/* RESPONSIVE */
@media(max-width:768px){

header{
    flex-direction:column;
}

nav{
    margin-top:15px;
}

nav a{
    display:block;
    margin:10px 0;
}

.hero h2{
    font-size:32px;
}

.hero p{
    font-size:18px;
}

}