:root {
    --color-principal: #ed125e;
    --color-secundario: #322f8b;
    --color-tits: #808080;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

p,
ul {
    font-family: 'Manrope', sans-serif;
}

header {
    background-color: #fff;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

section {
    padding: 70px 0;
}

.color_ppal {
    color: var(--color-principal);
}

.btnMapim {
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    background-color: var(--color-principal);
    transition: cubic-bezier(0.075, 0.82, 0.165, 1);
}

.btnMapim:hover {
    background-color: var(--color-secundario);
}

.navbar-brand.logo img {
    max-width:300px;
    width:100%;
}

.navbar-expand-lg .navbar-collapse {
    justify-content: flex-end;
}

header .navbar-nav .nav-link {
    text-transform: uppercase;
}

.ppal {
    background: #fff url(../img/bg-ppal.jpg) no-repeat center right;
    background-size: contain;
    height: 90vh;
}

.ppal .container-fluid {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.tit {
    background-color: var(--color-principal);
    color: #fff;
    font-size: 50px;
    font-weight: 700;
    text-transform: uppercase;
    display: table;
    text-align: right;
    padding-left: 10%;
    margin-bottom: 10px;
    padding-right: 20px;
}

.titulo_sec {
    padding: 20px 0;
}

.titulo_sec h2 {
    color: var(--color-tits);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
    text-align: center;
    font-size: 40px;
}

.mapim {
    background: #fff url(../img/bg-mapim.png) no-repeat center center/cover;
    min-height: 90vh;
    display: flex;
    align-items: stretch;
}

.mapim .container .row {
    height: 100%;
}

.mapim .content_info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.box_mapim_center {
    margin-bottom:20%;
}

.box_mapim_center h2 {
    font-weight: 800;
    color: var(--color-secundario);
    margin-bottom: 30px;
}

.menu_mapim_secc {
    display: flex;
    align-items: center;
    list-style: none;
    text-transform: uppercase;
}

.menu_mapim_secc li::before {
    content: "|";
    color: var(--color-principal);
    margin: 0 10px;
}

.menu_mapim_secc li:first-of-type::before {
    content: none;
}

.que_hacemos {
    padding: 0;
}

.que_hacemos .container {
    max-width: 1200px;
}

.que_hacemos .row .col-sm {
    position: relative;
}

.info_content_qh {
    position: absolute;
    padding: 20px;
    width: 45%;
    z-index: 1;
}

.info_content_qh h3 {
    font-weight: 800;
    margin-bottom: 15px;
    font-size: 35px;
    color: var(--color-principal);
}

.info_content_qh p {
    line-height: 1.5;
    color: #0c0c0c;
}

.que_hacemos img {
    max-height: 550px;
    width: 100%;
    object-fit: cover;
}

.que_hacemos .estrategia img {
    object-position: bottom;
}

.que_hacemos .estrategia .info_content_qh {
    bottom: 20px;
    right: 20px;
}

.que_hacemos .gestion_territorial .info_content_qh {
    top: 20px;
    left: 20px;
    width: 40%;
}

.que_hacemos .gestion_territorial .info_content_qh h3 {
    color: var(--color-secundario);
}

.que_hacemos .mapeo .info_content_qh {
    top: 20px;
    right: 20px;
    width: 35%;
}

.que_hacemos .formacion .info_content_qh {
    top: 70px;
    left: 20px;
    width: 40%;
}

.que_hacemos .formacion .info_content_qh h3 {
    color: var(--color-secundario);
}

.nosotros {
    background: #c4dbfd;
}

.nosotros .container {
    max-width: 1200px;
}

.nosotros .row {
    align-items: center;
}

.list_nosotros {
    list-style: none;
    padding: 0;
    color: var(--color-secundario);
    font-weight: 600;
}

footer {
    padding: 50px 0;
    background: #fff url(../img/bg-footer.png) no-repeat center right/contain;
    font-family: 'Manrope', sans-serif;
    color: var(--color-secundario);
}

.logo_footer {
    max-width: 200px;
    margin-bottom: 20px;
}

footer h3 {
    text-transform: uppercase;
    margin-bottom: 30px;
    color: var(--color-principal);
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
}

.links_footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.links_footer a i {
    margin-right: 10px;
    color: var(--color-principal);
}

.rrss {
    display: flex;
    gap: 20px;
    margin: 10px 0;
}

.rrss a {
    font-size: 20px;
    color: #fff;
    background-color: var(--color-secundario);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
}

.link_copy {
    gap: 10px;
}

@media (max-width: 768px) {
    
    .navbar-nav {
        padding-top:30px;
    }
    
    .navbar-brand {
        width: 70%;
    }

    .navbar-toggler {
        width:20%;
    }

    .ppal {
        height: 80vh;
        background-size: cover;
        background-position: center top;
    }

    .ppal .container-fluid {
        justify-content: flex-end;
    }

    .tit {
        font-size: 40px;
    }

    .titulo_sec h2 {
        font-size: 30px;
    }

    .que_hacemos img {
        height: 350px;
    }

    .info_content_qh {
        position: unset;
        width: 100% !important;
    }

    .que_hacemos .estrategia .info_content_qh,
    .que_hacemos .mapeo .info_content_qh {
        background-color: #e6e6ff;
    }

    .que_hacemos .gestion_territorial .info_content_qh,
    .que_hacemos .formacion .info_content_qh {
        background-color: #f7a7c4;
    }

    .nosotros .row {
        display: flex;
        flex-direction: column-reverse;
    }
}