
body{
font-family: Arial, sans-serif;
margin:0;
line-height:1.6;
}

.hero{
  width:100%;
}

/*.hero {
  width: 100%;

  background-image: url("../assets/header.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  height: 300px;
}*/

.hero {
  width: 100%;
  height: 150px;
  background-image: url("../assets/header-xs-480x150.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

/* Tablet pequeña */
@media (min-width: 480px) {
  .hero {
    background-image: url("../assets/header-sm-768x240.png");
    height: 240px;
  }
}

/* Tablet */
@media (min-width: 768px) {
  .hero {
    background-image: url("../assets/header-md-1024x320.png");
    height: 320px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .hero {
    background-image: url("../assets/header-lg-1440x450.png");
    height: 450px;
  }
}

/* Pantallas grandes */
@media (min-width: 1440px) {
  .hero {
    background-image: url("../assets/header-xl-1920x600.png");
    height: 600px;
  }
}



nav{
background:#222;
color:white;
display:flex;
justify-content:space-between;
align-items:center;
padding:10px 20px;
}

nav ul{
list-style:none;
display:flex;
gap:20px;
margin:0;
padding:0;
}

nav a{
color:white;
text-decoration:none;
font-weight:bold;
}

section{
padding:40px 20px;
max-width:1000px;
margin:auto;
}

#servicesList{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
gap:20px;
margin-top:20px;
}

.service{
border:1px solid #ddd;
padding:20px;
border-radius:8px;
}
