:root{
    --blanco: #ffffff;
    --verde: #238c55;
    --dorado: #c7b446;
    --negro: #000000;
    --gris: #d6dbdf;
}

html body{
    margin: 0;
    padding: 0;
}

html{
    font-size: 62.5%;
}

body{
    font-size: 16px;
    font-family: "Krub", sans-serif;
}

/* Estilos generales para la sección de identidad */
.container_identidad {
    display: flex;
    max-width: 1200px;
    margin: 50px auto;
    padding: 30px;
    gap: 50px;
    align-items: stretch; /* Cambiado a stretch para igualar alturas */
    background-color: var(--blanco);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    font-family: 'Roboto', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.7;
    color: #444;
    min-height: 500px; /* Altura mínima para el contenedor */
}

/* Contenedor de la imagen - ahora con altura completa */
.container_identidad > div:first-child {
    flex: 0 0 45%;
    position: relative;
    display: flex; /* Nuevo: para manejar la altura */
}

.container_identidad > div:first-child img {
    width: 100%;
    height: 100%; /* Altura completa */
    border-radius: 8px;
    object-fit: cover; /* Asegura que la imagen cubra todo el espacio manteniendo proporciones */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Contenedor del texto - ajustado para alineación vertical */
.text_identidad {
    flex: 1;
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centra el contenido verticalmente */
}

/* Resto del CSS se mantiene igual */
.text_identidad h1 {
    color: var(--dorado);
    font-size: 2.4rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
    font-weight: 600;
}

.text_identidad h1:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #c7b446, #238c55);
    border-radius: 2px;
}

.text_identidad p {
    margin-bottom: 25px;
    text-align: justify;
    font-size: 14px;
}

.text_identidad ul {
    margin-top: 30px;
    padding-left: 0;
}

.text_identidad li {
    margin-bottom: 15px;
    position: relative;
    list-style-type: none;
    padding-left: 30px;
    font-size: 14px;
    line-height: 1.6;
}

.text_identidad li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 12px;
    background-color: var(--verde);
    border-radius: 50%;
    transform: translateY(-50%);
}

.barra_01_identidad, .barra_02_identidad {
    background-color: var(--dorado);
    padding: 10px;
}

/* Diseño responsivo */
@media (max-width: 992px) {
    .container_identidad {
        flex-direction: column;
        gap: 30px;
        margin: 30px auto;
        padding: 25px;
        min-height: auto; /* Elimina altura fija en móviles */
    }
    
    .container_identidad > div:first-child {
        flex: 1;
        width: 100%;
        height: 400px; /* Altura fija para móviles */
    }
    
    .container_identidad > div:first-child img {
        height: 100%;
    }
    
    .text_identidad {
        padding: 0;
    }
    
    .text_identidad h1 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .container_identidad {
        padding: 20px;
        margin: 20px auto;
    }
    
    .container_identidad > div:first-child {
        height: 300px; /* Altura menor para móviles pequeños */
    }
    
    .text_identidad h1 {
        font-size: 1.8rem;
    }
    
    .text_identidad p {
        font-size: 1rem;
    }
}