:root {
    --classic-blue: #000066; /* Azul marino clásico */
    --bg-white: #FFFFFF;     /* Fondo blanco puro */
    --menu-gray: #EAEAEA;    /* Gris claro */
    --text-color: #333333;   /* Texto general */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-white);
    color: var(--text-color);
    line-height: 1.6;
}

/* Contenedor principal para centrar y dar márgenes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* =========================================
   HEADER Y NAVEGACIÓN
   ========================================= */
header {
    background-color: var(--classic-blue);
    color: var(--bg-white);
    padding: 1rem 0;
    border-bottom: 5px solid #cccccc;
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    color: var(--bg-white);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: bold;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

nav a {
    color: var(--bg-white);
    text-decoration: none;
    font-weight: 500;
}

/* =========================================
   BOTONES
   ========================================= */
.btn-primary {
    background-color: var(--menu-gray);
    color: var(--classic-blue);
    padding: 10px 20px;
    border: 1px solid var(--classic-blue);
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
    text-align: center;
    display: inline-block;
    border-radius: 4px;
}

.btn-primary:hover {
    background-color: #d4d4d4; /* Gris ligeramente más oscuro */
}

/* =========================================
   SECCIÓN PRINCIPAL (HERO) Y FORMULARIO
   ========================================= */
.hero {
    background-color: var(--bg-white);
    color: var(--classic-blue);
    padding: 2rem 0;
}

.hero h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.contact-section {
    padding: 2rem 0;
}

.form-container {
    background: var(--menu-gray);
    padding: 2rem;
    border-radius: 8px;
    max-width: 600px;
    border: 1px solid #ccc;
    margin-top: 20px;
}

/* Corrección del formulario: forzar a que bajen línea por línea */
form input, form select, form textarea {
    display: block; 
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

form textarea {
    resize: vertical;
    min-height: 120px;
}

/* =========================================
   MEDIA QUERIES (MÓVILES)
   ========================================= */
@media (max-width: 768px) {
    .nav-bar {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    nav {
        width: 100%;
        flex-direction: column;
        gap: 10px;
    }

    .btn-primary {
        width: 100%;
    }

    .hero h2 {
        font-size: 1.5rem;
    }
}
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}