@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
    font-family: 'Rajdhani', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #1c1c1c;
    transition: background-color 0.3s ease, color 0.3s ease;
    
}

/*Boton arriba*/

#myBtn {
    display: none; /* oculto por defecto */
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    padding: 10px 15px;
    background-color: #005393;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#myBtn:hover {
    background-color: #003d6b;
}


/*HEADER*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Asegura que esté por encima de la imagen */
    background-color: transparent; /* Empieza transparente */
    transition: background-color 0.3s ease;
}
header .header {
    width: 100%;
    height: 95px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px;
}
    
.header-nav{
    margin: 6px;
}
.header-nav a{
    text-decoration: none;
    color: #faf9f6;
    margin: 9px;
    /* font-size: 10px !important; */
}
.header-nav a:hover{
    font-weight: 700;
    border-bottom: solid 1px #faf9f6;
}
.header-actions a{
    text-decoration: none;
    margin: 9px;
    color: #005393;
    font-size: 14px;
}
.header-actions a:hover{
    text-decoration: none;
    color: #e40681;
}

/*contenido*/

.contenedorE\&P {
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: space-between;
    align-items: stretch; 
    max-width: 1100px;
    margin: 50px auto;
    padding: 20px;
    background-color: #ffffff;
}

/* Títulos con más peso y estilo moderno */
.contenedorE\&P h2 {
    font-size: 1.4rem;
    color: #1a202c;
    margin-bottom: 20px;
    font-weight: 700;
    border-bottom: 3px solid #00c2cb; /* Línea de acento color cian */
    display: inline-block;
    padding-bottom: 5px;
}

/* Secciones individuales */
.estados, .politica {
    flex: 1;
    padding: 20px;
    /* Opcional: un fondo muy sutil para diferenciar */
    background-color: #fcfcfc;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.estados:hover, .politica:hover {
    transform: translateY(-2px);
}

/* Enlaces de descarga */
.estadosDescargar a, .politicaDescargar a {
    display: block;
    margin-bottom: 12px;
    text-decoration: none;
    color: #2d3748; /* Color texto oscuro */
    font-weight: 500;
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 40px; /* Espacio para icono (simulado o real) */
}

/* Icono simulado con ::before (puedes usar FontAwesome si lo tienes) */
.estadosDescargar a::before, .politicaDescargar a::before {
    content: "🡓"; /* Icono de documento */
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    opacity: 0.7;
}

.estadosDescargar a:hover, .politicaDescargar a:hover {
    background-color: #edf2f7;
    border-color: #cbd5e0;
    color: #2b6cb0; /* Azul más vivo al hover */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Separador vertical */
.separador {
    width: 2px;
    background-color: #e2e8f0;
    margin: 0 30px;
    align-self: stretch; /* Ocupa todo el alto */
    border-radius: 2px;
}

/* Responsividad: en móviles, columna única */
@media (max-width: 768px) {
    .contenedorE\&P {
        flex-direction: column;
    }

    .separador {
        width: 100%;
        height: 2px;
        margin: 30px 0;
    }
}

/*FLYER*/ 
.flyer-contacto{
    width: 100%;
    height: auto;
    background: linear-gradient(135deg,#003b6f,#005393,#7a2a7a,#e40681);
    background-size: 400% 400%;
    animation: gradientBG 8s ease infinite;
    grid-template-columns: 1fr auto 1fr;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12rem;
}

.text-contacto{
    justify-content: center;
    align-items: center;
}
.text-contacto a{
    text-decoration: none;
    color: #faf9f6;
    font-weight: 700;
    display: inline-block;
    /* Animación al cargar */
    animation: slideUp 1s ease forwards;
    text-align: center;
}

/*animacion de fondo gradiante*/
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
