body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background: #f4f6f9;
}


.header {
    background: linear-gradient(90deg, #0a1f44, #001b3a);
    padding: 15px 0;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
}


.logo {
    background: #ffffff;
    padding: 6px 12px;
    border-radius: 8px;
    display: inline-block;
}

.logo img {
    height: 80px;   /* Ajusta aquí el tamaño */
    width: auto;
    display: block;
}






nav a {
    color: white;
    margin-left: 20px;
    text-decoration: none;
    font-weight: 500;
}

.hero {
    background: linear-gradient(rgba(0,0,0,.7), rgba(0,0,0,.7)),
    url('imagenes/proyecto1.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 120px 20px;
}

.hero h1 {
    font-size: 40px;
}

section {
    padding: 70px 40px;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,.1);
    transition: .3s;
}

.card:hover {
    transform: translateY(-5px);
}

.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.galeria img {
    width: 100%;
    border-radius: 10px;
}

.formulario {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.formulario input,
.formulario textarea {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.formulario button {
    background: #0d1b2a;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    font-size: 28px;
    padding: 15px;
    border-radius: 50%;
    text-decoration: none;
}

footer {
    background: #0d1b2a;
    color: white;
    padding: 20px;
}




.servicios {
    padding: 60px 5%;
    background: #f4f6f9;
    text-align: center;
}

.servicios h2 {
    margin-bottom: 40px;
    font-size: 32px;
    color: #0a1f44;
}

.grid-servicios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card img {
    width: 70px;
    margin-bottom: 15px;
}

.card h3 {
    margin-bottom: 10px;
    color: #0a1f44;
}

.card p {
    font-size: 14px;
    color: #555;
}
