
/* ------------------
   Colores y Base
   Oscuro: #202d4f
   Claro: #a6abb9
   ------------------ */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0; 
    color: #202d4f;
}
.slider-content h1 { 
    font-family: 'Aptos', Arial, Helvetica, sans-serif; 
}
/* Estilo para el enlace en el header del faq.html */
header {
    background-color: #202d4f;
    padding: 15px 20px;
}
.nav-link {
    color: #a6abb9;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
}


/* ------------------
   SECCIÓN 1: SLIDER CON EFECTOS MEJORADOS
   ------------------ */
.hero-slider {
    position: relative;
    height: 500px; 
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; 
    background-color: #202d4f; 
}

.slider-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../imag/fondo_nva_imagen.png'); 
    background-size: 110%; 
    background-position: center;
    filter: brightness(0.65); 
    z-index: 1;
    position: relative; 
    transition: background-size 10s ease-in-out; 
    animation: backgroundPan 30s infinite alternate; 
}

/* CAMBIO CLAVE: MEDIA QUERY PARA DISPOSITIVOS MÓVILES */
@media (max-width: 600px) {
    .slider-background {
        background-image: none;
        filter: none;
        background-color: #202d4f;
        animation: none;
    }

    .slider-background::before {
        content: none;
    }

    /* Ajuste del logo para móviles si es necesario */
    .logo-container {
        margin-bottom: 10px; /* Menos espacio si es necesario */
    }
    .logo-image {
        width: 80px; /* Un poco más pequeño si se desea */
        height: 80px;
    }
}
/* FIN DEL CAMBIO CLAVE */


@keyframes backgroundPan {
    0% { background-position: 0% 0%; background-size: 110%; }
    50% { background-position: 100% 50%; background-size: 120%; }
    100% { background-position: 0% 100%; background-size: 110%; }
}

/* Efecto de destellos (más sutil) */
.slider-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.2) 5%, transparent 30%), 
                radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.2) 5%, transparent 30%);
    animation: sparkle 20s infinite linear;
    opacity: 0.8; 
    z-index: 2; 
}

@keyframes sparkle {
    0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.6; }
    100% { transform: scale(1) rotate(360deg); opacity: 0.8; }
}


.slider-content {
    position: relative;
    z-index: 10; 
    color: white; 
    text-align: center;
    padding: 30px 40px;
    border-radius: 10px;
    backdrop-filter: blur(4px); 
    background-color: rgba(32, 45, 79, 0.3); 
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.slider-content h1 { 
    font-size: 4em; 
    font-weight: 700; 
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8); 
    margin-bottom: 5px;
}

.slider-content p { 
    font-size: 1.6em; 
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); 
    margin-top: 5px;
}

.cta-button {
    display: inline-block;
    background-color: #a6abb9;
    color: #202d4f;
    padding: 12px 30px;
    margin-top: 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: white;
    box-shadow: 0 0 15px #a6abb9;
}

/* ------------------
   NUEVO: ESTILOS Y EFECTO DE BRILLO PARA EL LOGO CIRCULAR
   ------------------ */
.logo-container {
    margin-bottom: 20px; 
}

.logo-image {
    width: 120px; 
    height: 120px;
    border-radius: 50%; 
    object-fit: cover; 
    border: 4px solid #a6abb9; /* Borde inicial */
    /* Sombra inicial y animación para el brillo */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5), /* Sombra principal del logo */
                0 0 0 0 #a6abb9; /* Sombra para el brillo inicial */
    transition: transform 0.5s ease-in-out; 
    animation: glowingHalo 3s infinite alternate ease-in-out; /* Nueva animación de brillo */
}

/* Definición de la animación para el efecto de brillo */
@keyframes glowingHalo {
    0% { 
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5), /* Sombra base */
                    0 0 0 0px #a6abb9; /* Brillo oculto */
    }
    50% { 
        box-shadow: 0 0 15px rgba(0, 0, 0, 0.7), /* Sombra un poco más fuerte */
                    0 0 20px 8px rgba(166, 171, 185, 0.7); /* Halo gris claro visible */
    }
    100% { 
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5), /* Vuelve a la sombra base */
                    0 0 0 0px #a6abb9; /* Brillo oculto */
    }
}


/* ------------------
   SECCIÓN 2: COLUMNAS DE SERVICIOS
   ------------------ */
.services-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 40px auto;
}

.section-title {
    text-align: center;
    color: #202d4f;
    font-size: 2.8em;
    margin-bottom: 40px;
    border-bottom: 2px solid #a6abb9;
    display: inline-block;
    padding-bottom: 10px;
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 30px;
}

.service-card {
    background-color: #f7f7f7;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 5px solid #202d4f; 
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(32, 45, 79, 0.2);
}

.icon-lg {
    font-size: 3.5em;
    color: #202d4f;
    margin-bottom: 15px;
}

.service-card h3 {
    color: #202d4f;
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 10px;
}

.service-card p {
    color: #555;
    margin-bottom: 20px;
}

.service-link {
    display: inline-block;
    color: #a6abb9;
    background-color: #202d4f;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.service-link:hover {
    background-color: #3f4a6e;
    color: white;
}

/* ------------------
   NUEVA SECCIÓN: ENLACE AL FAQ (COLOR GRIS ACTUALIZADO)
   ------------------ */
.faq-promo-section {
    background-color: #a6abb9; /* GRIS CLARO */
    color: #202d4f; /* Color oscuro para el texto principal */
    padding: 40px 20px;
    text-align: center;
    margin-top: 40px;
}

.faq-promo-section h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #202d4f; /* Oscuro para buen contraste */
}

.faq-promo-section p {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #333; /* Un gris oscuro para el texto secundario */
}

.faq-promo-section .cta-button {
    background-color: #202d4f; /* Botón oscuro para que destaque sobre el fondo gris */
    color: #a6abb9; /* Letras grises/claras en el botón */
}

.faq-promo-section .cta-button:hover {
    background-color: #3f4a6e; /* Un tono oscuro intermedio en hover */
    color: white;
}
