body {
    width: 100%;
    margin: 0;
}
#header {
    width: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px; /* min-height: 400px */
    padding: 10px;
    /*display: flex; Ajuste para subir el texto*/
    flex-direction: column;
    justify-content: space-between;
}
#menuHeader {
    padding-right: 0.5em;
}
.headerTitle {
    font-size: 2.5em;
    color:white;
    font-family:montserrat-bold;
}
.nosotrosHeaderTitle {
    font-size: 2.5em;
    color:white;
    font-family:montserrat-bold;
    margin-block-start: 0.5em;
    margin-block-end: 0.4em;
}

#headerSubTitle {
    font-size: 1.3em;
    margin-top: 10px;
    color:#E52141;
    font-family:montserrat-medium;
    
}
#logo {
    width: 27%;
}
#infoHeader {
    background-color: beige;
}
#content {
    background-color: #f4f4f4;
}
#unidadesDeNegocioCard {
    width: 90%;
    margin: 0 auto;
    background-color: #f4f4f4 ;
    padding: 15px;
    text-align: center;
    color: #E52141;
}
h1{
    color: #f4f4f4;
    font-family: montserrat-medium;
    font-size: 2em;
    margin-bottom: 20px;
    position: relative;
    
}
.subtitleHeaderContent {
    display: grid;
    place-items: center;
    height: 300px;
}
#quienesSomosContent {
    padding-top: 2em;
    padding-bottom: 2em;
}
#somosHeaderContent {
    justify-content: center; /* Centra horizontalmente */
    align-items: center;
    width: 90%;
    margin: 0 auto;
}
#unidadesHeaderContent {
    justify-content: center; /* Centra horizontalmente */
    align-items: center;
}
#clientesHeaderContent {
    justify-content: center; /* Centra horizontalmente */
    align-items: center;
}
#quienesSomosCard {
    margin: 0 auto;
    width: 90%;
    border-radius: 2em;
    background-color:  #00377a;
    text-align: center;
    margin-top: 2em;
    margin-bottom: 2em;
}
#quienesSomosCard h2 {
    color: #f4f4f4;
    font-family: montserrat-extraBold;
    font-size: 2em;
    margin-bottom: 20px;
    position: relative;

}
#quienesSomosCard h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px; 
    font-size: 18px;
}
#quienesSomosCard p {
    color: #f4f4f4; 
    font-family: montserrat-medium;
    font-size: 1em;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 20px;
}

#quienesSomosCard a.ver-mas {
    display: inline-block;
    margin-top: 20px;
}

#quienesSomosCard .contactoBtn {
    width: 120px;
}
.quienesSomosIcons {
    width: 5em;
}
#misionCard {
    width: 90%;
    margin: 0 auto;
}
#misionTable {
    text-align: center;
    width: 100%;
}
#valoresTable {
    text-align: center;
    width: 100%;
}
#valoresCard {
    width: 90%;
    margin: 0 auto;
}
#clientesContent {
    width: 100%;
    margin: 0 auto;
}
.clientesImages {
    width: 13em;
}
.unidadesImages {
    width: 8em;
}
#clientesCard {
    margin: 0 auto;
    width: 100%;
    /*background-color: white;*/
}
#clientesTable {
    margin: 0 auto;
    width: 100%;
}
#clientesTable td {
    padding: 1.5em;
    text-align: center;
}
#unidadesCard {
    width: 90%;
    margin: 0 auto;
}
#unidadesTable {
    width: 90%;
    margin: 0 auto;
}
#unidadesTable td {
    padding: 1.5em;
}
#unidadesTable li {
    margin-bottom: 5px;
    font-family: montserrat-bold;
    color: #00377a;
}
        
.initPageSubtitles {
    color: #E52141;
    font-family: montserrat-extraBold;
    font-size: 2em;
    margin-bottom: 10px;
    position: center;
}
.quienesSomosSubtitles {
    color: #E52141;
    font-family: montserrat-bold;
    font-size: 2em;
    margin-bottom: 10px;
    position: center;
}
.unidadesNegocioSubtitles {
    color: #E52141;
    font-family: montserrat-bold;
    font-size: 1.7em;
    margin-bottom: 10px;
    position: center;
    text-align: center;
}
#nuestroCompromisoCard {
    margin: 0 auto; 
    width: 90%;
    background-color: white;
    border-radius: 2em;
    text-align: center;
    font-family:  montserrat-medium;
    margin-top: 2em;
    margin-bottom: 2em;
}
#nuestroCompromisoCard th,
#nuestroCompromisoCard td {
    color: #00377a;
}
#nuestrosClientesCard {
    background-color: white;
    text-align: center;
    margin-top: 2em;
}
.parrafoNegro {
    font-family: montserrat-medium;
    font-size: 0.9em;
    color: black;
}
.parrafoBlanco {
    font-family: montserrat-medium;
    font-size: 0.8em;
    color: white;
    text-align: center;
}
#footer {
    background-color: #00377a;
    display: flex;
    justify-content: left;
    align-items: left;
    font-family: montserrat-medium;
    color: #f4f4f4; 
    padding: 20px;
    width: 100%;
}

#footer table {
    color: #f4f4f4;

}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/********* Codigo para poner la flecha en los li *********/
#arrow {
    border-right:2px solid #E52141;
    border-bottom:2px solid #E52141;
    width:10px;
    height:10px;
    transform: rotate(-45deg);
    margin-top:40px;
}
ul li {
  position: relative;
	padding-bottom: 10px;
}
ul {
  list-style: none;
}

ul li:before{
   content: '';
   position: absolute;
   border-right:2px solid #E52141;
   border-bottom:2px solid #E52141;
   width:10px;
   height:10px;
   top: calc(30% - 4px);
   left: -20px;
   transform: translateY(-50%) rotate(-45deg);
}
/***********************************************************/


.menu-table {
    display: table;
    margin-left: auto;
}

.menu-table tr {
    display: table-row;
}

.menu-table td {
    display: table-cell;
    padding: 0 7px;
    vertical-align: middle;
}

.menu-table a {
    color: white !important;
    text-decoration: none;
    font-family: montserrat-medium;
    font-size: 0.8em;
    transition: all 0.3s;
}

.menu-table a:hover {
    opacity: 0.8;
}

.iconos {
    display: flex;
    gap: 15px;
    margin-left: 10px;
}

.icon {
    width: 2em;
}
.iconFooter {
    width: 2em;
}

.contact-info {
    text-align: right;
    padding-right: 30px;
}

.contact-info h4 {
    color: white;
    font-size: 1em;
    margin: 10px 0 5px 0;
    font-family: montserrat-medium;
}

.contact-info p {
    color: white;
    margin: 0 0 15px 0;
    font-size: 0.9em;
    font-family: montserrat-medium;
}
.logo {
    width: 12em;
}

.unidad-icon {
    width: 4em;
    align-content: left;
}
.unidades-container {
    margin: 0 auto;
    width: 90%;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.unidad-card {
    background-color: white;
    border-radius: 2em;
    padding: 20px;
    width: 200px;
}

.unidad-card h4 {
    color: #E52141;
    margin-bottom: 15px;
    font-family:  montserrat-extraBold ;
}

.unidad-card ul {
    text-align: left;
    padding-left: 20px;
    margin-bottom: 15px;
    font-family: montserrat-medium;
}

.unidad-card li {
    margin-bottom: 8px;
    font-family: montserrat-medium;
    color: #00377a;
}

.unidad-card a {
    color: #E52141;
    text-decoration: none;
    font-weight: bold;
    font-family: montserrat-medium;
}

.compromiso-imagenes {
    width: 5em;
}
.clientes-table {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.clientes-table td {
    padding: 20px;
    width: 25%;
    vertical-align: middle;
}

.clientes-table.bottom-table td {
    width: 33.33%;
}

.cliente-imagenes {
    max-width: 150px;
    max-height: 80px;
    width: auto;
    height: auto;
}
.footer-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    color: #f4f4f4;
}

.footer-menu td {
    display: block;
    margin-bottom: 8px;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    font-size: 1em;
    font-family: montserrat-medium;
}

@font-face {
    font-family: montserrat-extraBold;
    src: url("../font/Montserrat-ExtraBold.ttf");
}
@font-face {
    font-family: montserrat-bold;
    src: url("../font/Montserrat-Bold.ttf");
}
@font-face {
    font-family: montserrat-medium;
    src: url("../font/Montserrat-Medium.ttf");
}
