

* { 
    box-sizing: border-box;
     margin: 0;
      padding: 0; 
      font-family: Arial, sans-serif;
     }
     iframe#mapa {
    margin-left: 200px;
}
     nav {
    display: grid;
    grid-template-columns: 50% 25% 25%;
}
body {
     line-height: 1.6; 
     color: #333; 
     background: #f5f5f5;
     }

/* Cabecera */
header { 
    background-color: #2c3e50;
     color: #fff;
      padding: 20px 0; 
    }
header .container {
    display: grid;
    grid-template-columns: 70% 30%;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    }
header h1 { 
    font-size: 1.8rem;
 }
header nav a { 
    color: #fff; 
    margin-left: 20px; 
    text-decoration: none;
     font-weight: bold;
     }
header nav a:hover {
     text-decoration: underline;
     }

/* Hero */
.hero { 
    background: url('https://media.giphy.com/media/3o7aD2saalBwwftBIY/giphy.gif') center/cover no-repeat;
     height: 400px; display: flex;
      align-items: center;
       justify-content: center;
        color: #fff; text-align: center;
     }
.hero h2 { 
    font-size: 2rem; background-color: rgba(0,0,0,0.5);
     padding: 20px; border-radius: 10px;
     }

/* Sección servicios */
.services { 
    max-width: 1200px; margin: 50px auto; 
    padding: 0 20px; 
}
.services h2 { text-align: center;
     margin-bottom: 40px;
      font-size: 2rem; 
    }
.services .grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 20px;
 }
.services .card { 
    background: #fff; padding: 20px;
     border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
       transition: transform 0.2s; 
    }
.services .card:hover { 
    transform: translateY(-5px);
 }
.services .card h3 {
     margin-bottom: 15px;
      color: #2c3e50;
     }
.services .card p { 
    font-size: 0.95rem; 
}

/* Contacto */
.contact {
     background: #ecf0f1; 
     padding: 50px 20px;
      text-align: center;
        margin-left: 200px;
     }
.contact p {
     text-align: center;
      margin-bottom: 40px; 
      font-size: 2rem; 
    }
.contact form { max-width: 600px;
     margin: auto; 
     display: flex;
      flex-direction: column;
       gap: 15px; 
    }
.contact form input, .contact form textarea {
     padding: 10px;
      border-radius: 5px;
       border: 1px solid #ccc;
        width: 100%; 
    }
.contact form button { 
    background: #2c3e50;
     color: #fff;
      border: none; 
      padding: 10px;
       border-radius: 5px;
        cursor: pointer;
         font-weight: bold;
         }
.contact form button:hover {
     background: #34495e; 
    }
    #mapa {
        text-align: center;
        margin-left: 200px;
    }

/* Footer */
footer {
     background: #2c3e50;
      color: #fff;
       padding: 20px 0;
        text-align: center;
     }
footer a {
     color: #1abc9c;
      text-decoration: none;
     }
footer a:hover { 
    text-decoration: underline;
 }
footer p { 
    font-size: 0.9rem; 
    margin-top: 10px;
 }
