/* --- Reseteo Básico y Estilos Globales --- */
:root {
    --primary-color: #003366; /* Azul Oscuro Corporativo */
    --secondary-color: #007bff; /* Azul Brillante para Acentos */
    --dark-grey: #333333;
    --light-grey: #f4f4f4;
    --white-color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--light-grey);
    color: var(--dark-grey);
    line-height: 1.6;
}

/* --- Encabezado y Navegación --- */
header {
    background-color: var(--white-color);
    color: var(--dark-grey);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo img {
    max-height: 50px;
    /* Asegúrate de tener un logo con fondo transparente */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    padding: 0.5rem 1.5rem;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
}

/* --- Contenido Principal y Secciones --- */
main {
    width: 100%;
}

section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Estilos Hero Section --- */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('hero-background.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
    text-align: center;
    padding: 8rem 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem auto;
}

/* --- Estilos Generales para Botones --- */
.button {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

/* --- Sección de Información (Nosotros) --- */
.info-section {
    background-color: var(--white-color);
}

.info-container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.info-text {
    flex: 1;
}

.info-image {
    flex: 1;
    text-align: center;
}

.info-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* --- Sección de Soluciones --- */
.solutions-section {
    text-align: center;
}

.solutions-section h2, .contact-section h2, .info-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* --- Sección de Contacto --- */
.contact-section {
    background-color: var(--white-color);
}

.contact-section form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-section input,
.contact-section textarea {
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* --- Pie de Página (Footer) --- */
footer {
    background-color: var(--dark-grey);
    color: var(--light-grey);
    text-align: center;
    padding: 2rem;
}

footer p {
    margin: 0.5rem 0;
}

/* --- Media Queries para Responsividad --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
    }

    nav ul {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .info-container {
        flex-direction: column;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}