/* ================= GLOBAL ================= */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding-top: 90px; /* Deja espacio para navbar fijo */
    color: #333;
    line-height: 1.8;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}


/* ================= CONTACTO / FORMULARIO ================= */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-card, .form-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

.contact-card:hover, .form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.contact-card h3, .form-card h3 {
    color: #043b71;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-card p, .form-card p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
}

/* ================= MAPA ================= */
#map {
    width: 100%;
    height: 500px; /* Mapa grande */
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.15);
    margin-top: 15px;
}

/* Pulsing marker */
.pulse {
    background: rgba(0,123,255,0.4);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: block;
    position: relative;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 1; }
    70% { transform: scale(2); opacity: 0; }
    100% { transform: scale(2); opacity: 0; }
}


.alert-blue {
                background-color: #cfe8ff;
                color: #0b4f8a;
                border: 1px solid #79b7ff;
                padding: 12px 16px;
                border-radius: 6px;
                margin: 12px 0;
                box-shadow: 0 1px 3px rgba(11, 79, 138, 0.1);
                font-weight: 600;
                max-width: 720px;
            }

            #message-container {
                position: fixed;
                top: 16px;
                right: 16px;
                z-index: 9999;
            }

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    body { padding-top: 70px; }
    .navbar-brand { font-size: 1.2rem; }
    .navbar .nav-link { padding: 6px 12px; }

    .contact-section { padding: 50px 15px; }
    .contact-card, .form-card { padding: 20px; }
    #map { height: 300px; }
}


.hero {
    background: linear-gradient(135deg, #0b4f8a, #1e88e5);
    color: white;
    padding: 80px 0;
    border-radius: 12px;
}
.hero-content {
    position: relative;
}
#map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
}

.form-card,
.contact-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

section {
    margin-top: 40px;
}