/* PALETA DE COLORES ABBONDANZA
   Azul Profundo: #1B2A4E
   Azul Medio: #3B5D8F
   Azul Claro: #5D8CC2
   Gris Fondo: #F4F7F9
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    color: #1B2A4E;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER Y NAVEGACIÓN */
header {
    background: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #1B2A4E;
    font-weight: 600;
    margin-left: 25px;
    transition: 0.3s;
    font-size: 0.9rem;
}

nav a:hover {
    color: #5D8CC2;
}

.btn-portal {
    background: #1B2A4E;
    color: white !important;
    padding: 8px 18px;
    border-radius: 4px;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, rgba(27, 42, 78, 0.9) 0%, rgba(59, 93, 143, 0.8) 100%), 
                url('../img/hero-bg.jpg') center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* BOTONES */
.btn-primary {
    background: #3B5D8F;
    color: white;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #1B2A4E;
    transform: translateY(-2px);
}

/* SECCIONES */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #F4F7F9;
}

.text-center { text-align: center; }

/* SERVICIOS */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-top: 5px solid #5D8CC2;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card i {
    font-size: 2.5rem;
    color: #3B5D8F;
    margin-bottom: 20px;
}

/* FORMULARIO */
.contact-form {
    max-width: 600px;
    margin: 40px auto;
    display: grid;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
}

/* WHATSAPP */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    text-decoration: none;
}

/* FOOTER */
footer {
    background: #1B2A4E;
    color: white;
    padding: 40px 0;
    text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    nav { display: none; } /* Aquí podrías agregar un menú hamburguesa luego */
}