body {
    margin: 0;
    padding: 0;
    background-image: url('img/fondo-pagina.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Esto hace que la imagen quede fija al hacer scroll */
    background-position: center;
    font-family: Arial, sans-serif;
  }
  
  header {
    background-color: #5c4b4f;
    padding: 1rem 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .logo {
    font-size: 1.5rem;
    color: #fff;
    font-weight: bold;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
  }
  
  .nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: background 0.3s;
    border-radius: 5px;
  }
  
  .nav-links a:hover {
    background-color: #3e4c5e;
  }
  
  h1 {
    text-align: center;
    margin: 2rem 0;
    font-size: 2.5rem;
    color: #617e7a;
  }

  .servicios-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .servicios {
    background-size: cover;
    background-position: center;
    padding: 2rem;
    color: white;
    height: 350px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .servicios:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
  }
  
  .servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .servicio-card, .servicios {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(230, 240, 255, 0.8));
    backdrop-filter: blur(5px); /* efecto suave tipo nube */
    padding: 2rem;
    color: #333;
    height: 350px;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-shadow: none;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  
  .servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .servicio-card h2 {
    font-size: 1.6rem;
    color: #a5a49a;
    margin-bottom: 0.5rem;
  }
  
  .servicio-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
  }
  
  footer {
    text-align: center;
    padding: 1rem;
    background-color: #5c4b4f;
    color: white;
    margin-top: 2rem;
  }