* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #e0e0e0;
    background-color: #121a29;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


header {
    background-color: #0a1228;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7);
}

.titulo-empresa {
    font-size: 4rem;
    font-weight: 900;
    color: #a0c4ff;
    margin-bottom: 15px;
    text-shadow: 0 0 8px #5a82ff;
}

.imagen-encabezado {
    max-width: 50%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 0 15px #2b3a67;
    margin-bottom: 20px;
}

.descripcion-empresa {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #cfd8f7;
    line-height: 1.6;
}

nav {
    margin-top: 10px;
}

nav a {
    color: #88aaff;
    text-decoration: none;
    margin: 0 18px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #d0e0ff;
}

#servicios {
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
    text-align: center;
}

#servicios h2 {
    margin-bottom: 15px;
    font-weight: 700;
    color: #a0c4ff;
    text-shadow: 0 0 6px #5a82ff;
}

#servicios p {
    margin-bottom: 40px;
    font-size: 1.15rem;
    color: #cfd8f7;
}

.contenedor-servicios {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.servicio {
    flex: 1 1 230px;
    max-width: 250px;
    border: 1px solid #2b3a67;
    border-radius: 12px;
    padding: 15px;
    background-color: #0a1228;
    text-align: center;
    box-shadow: 0 0 8px #2b3a67;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
}

.servicio:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 20px #5a82ff;
}

.servicio h3 {
    margin-bottom: 12px;
    color: #88aaff;
}

.servicio img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 12px;
}

.servicio p {
    font-weight: 600;
    color: #b0c4ff;
}


#contacto {
    max-width: 700px;
    margin: 60px auto 40px;
    padding: 0 20px;
    text-align: center;
}

#contacto h2 {
    margin-bottom: 25px;
    font-weight: 700;
    color: #a0c4ff;
    text-shadow: 0 0 6px #5a82ff;
}

#contacto a {
    display: inline-block;
    margin: 10px 15px;
    color: #88aaff;
    font-weight: 600;
    font-size: 1.15rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

#contacto a:hover {
    color: #d0e0ff;
}


footer {
    background-color: #0a1228;
    text-align: center;
    padding: 15px 0;
    box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.05);
    font-weight: 600;
    color: #647dff;
    font-size: 0.9rem;
    margin-top: auto;
}


@media (max-width: 768px) {
    .titulo-empresa {
        font-size: 2.8rem;
    }

    .imagen-encabezado {
        max-width: 90%;
        margin-bottom: 20px;
    }

    .descripcion-empresa {
        font-size: 1rem;
        max-width: 90%;
        margin-bottom: 25px;
    }

    nav a {
        display: block;
        margin: 10px 0;
        font-size: 1.2rem;
    }

    .contenedor-servicios {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .servicio {
        max-width: 90%;
        flex-basis: auto;
    }

    #servicios {
        margin: 30px 10px;
        padding: 0 10px;
    }

    #contacto {
        margin: 40px 10px 30px;
        padding: 0 10px;
    }
}
