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

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #e1e1e1; /* Color de base por si fallan las imágenes */
}

/* Contenedor centrado a 1400px */
.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    padding: 0 20px;
}

/* HEADER */
.main-header {
    padding: 0px 0px 0px 20px;
    height: 150px;
    display: flex;
    align-items: center;
    /* Imagen de fondo fija a la derecha */
    background-image: url('contenido_general/header_perfil.png');
    background-color: #040e1a;
    background-attachment: fixed;
    background-position: right top;
    background-repeat: no-repeat;
    background-size: auto 350px;
    /* background-size: auto 150px; */
    border-bottom: 2px solid #333;
}

.main-header h1 {
    font-weight: 600;
    font-size: 2.0rem;
    color: #f3b09f;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    text-transform: uppercase;
}

/* ÁREA DE CONTENIDO */
.content-area {
    min-height: 100vh;
    padding: 40px 0;
    /* Imagen de fondo fija a la izquierda */
    background-image: url('contenido_general/fondo_perfil.png');
    background-attachment: fixed;
    background-position: left top;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Módulos (Divs) */
.modulo {
    display: flex;
    background: transparent; /* Fondo transparente */
    margin-bottom: 30px;
    padding: 20px;
    align-items: flex-start;
}

.col-img {
    flex: 0 0 200px; /* Ancho fijo para la imagen */
    margin-right: 30px;
}

.col-img img {
    width: 100%;
    height: auto;
    display: block;
}

.col-text {
    flex: 1;
    color: #040e1a;
}

.col-text h3 {
    font-weight: 700;
    margin-bottom: 15px;
}

.col-text p {
    font-weight: 400;
    line-height: 1.6;
}

/* Módulo de descarga final */
.modulo-descarga {
    justify-content: center;
    text-align: center;
    margin-top: 50px;
}

.modulo-descarga a {
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}

.modulo-descarga a:hover {
    transform: scale(1.1);
}

.btn-download {
    width: 300px;
    height: auto;
    margin-bottom: 10px;
}

/* RESPONSIVO (Móvil) */
@media (max-width: 768px) {
    /* Mantenemos el header pero ajustamos el h1 */
    .main-header h1 {
        font-size: 1.8rem;
    }

    /* Convertimos flex a columna para que el texto baje */
    .modulo {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    /* OCULTAR las 3 primeras imágenes según requisito */
    .modulo:nth-child(1) .col-img,
    .modulo:nth-child(2) .col-img,
    .modulo:nth-child(3) .col-img {
        display: none;
    }

    .col-img {
        margin-right: 0;
        margin-bottom: 20px;
    }

    /* El último módulo (descarga) mantiene su PNG visible */
    .modulo-descarga .btn-download {
        display: block !important;
    }
}