/* Fuente global */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #002f62, #034d8c, #0468b2);
    background-size: 200% 200%;
    animation: gradientMotion 12s ease infinite;
    color: white;
}

/* Animación del fondo */
@keyframes gradientMotion {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Loader */
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #00182e;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 999;
    gap: 20px;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.spinner {
    width: 70px;
    height: 70px;
    border: 7px solid #ffffff33;
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.9s linear infinite;
}

.loader-text {
    font-size: 1.1rem;
    opacity: 0.8;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Contenido */
.container {
    padding: 20px;
    opacity: 0;
    transition: opacity 0.9s;
    max-width: 1100px;
    margin: auto;
    text-align: center;
}

/* Encabezado */
.header h1 {
    font-size: 2.4rem;
    font-weight: 800;
}

.subtitle {
    font-size: 1.1rem;
    opacity: 0.85;
}

/* Carousel */
.carousel-section {
    margin-top: 25px;
}

.swiper {
    width: 95%;
    max-width: 900px;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px #0000004d;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    font-size: 1.2rem;
    font-weight: 600;
}

/* Botones */
.actions {
    margin-top: 30px;
}

.btn {
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin: 10px;
    display: inline-block;
    transition: 0.3s;
    font-size: 1rem;
}

.btn-main {
    background: #ffffff;
    color: #003a63;
}

.btn-main:hover {
    background: #e6e6e6;
}

.btn-secondary {
    background: #005a99;
    color: white;
}

.btn-secondary:hover {
    background: #004a7c;
}

/* Footer */
.footer {
    margin-top: 30px;
    opacity: 0.85;
}

.version {
    margin-top: 10px;
    font-size: 0.8rem;
    opacity: 0.6;
}