/* ============================================================
   COPROBI
   LAYOUT PÚBLICO
   ============================================================ */

:root {

    --coprobi-blue: #162D55;
    --coprobi-blue-dark: #10213F;

    --coprobi-teal: #047F83;
    --coprobi-teal-dark: #03686C;

    --coprobi-gold: #E8A900;

    --coprobi-background: #F5F7FA;
    --coprobi-white: #FFFFFF;

    --coprobi-text: #162D55;
    --coprobi-muted: #748095;

    --coprobi-border: #E0E6ED;
}


/* ============================================================
   BODY
   ============================================================ */

html,
body {
    margin: 0;
    padding: 0;
}

body.coprobi-public-body {

    min-height: 100vh;

    background: var(--coprobi-background);

    color: var(--coprobi-text);

    font-family:
        "Helvetica Neue",
        Helvetica,
        Arial,
        sans-serif;
}


/* ============================================================
   HEADER
   ============================================================ */

.coprobi-public-header {

    position: relative;
    z-index: 1000;

    width: 100%;
    height: 82px;

    background: #FFFFFF;

    border-bottom:
        1px solid var(--coprobi-border);

    box-shadow:
        0 2px 12px rgba(22, 45, 85, 0.04);
}


.coprobi-public-header-container {

    width: calc(100% - 60px);
    max-width: 1450px;
    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;

    justify-content: space-between;
}


/* ============================================================
   LOGO
   ============================================================ */

.coprobi-public-logo {

    display: flex;
    align-items: center;

    height: 100%;

    text-decoration: none !important;
}


.coprobi-public-logo img {

    display: block;

    width: auto;
    height: auto;

    max-width: 185px;
    max-height: 62px;

    object-fit: contain;
}


/* ============================================================
   NAVEGACIÓN
   ============================================================ */

.coprobi-public-nav {

    display: flex;
    align-items: center;

    height: 100%;

    gap: 37px;
}


.coprobi-public-nav a {

    position: relative;

    display: flex;
    align-items: center;

    height: 100%;

    padding: 0 2px;

    color: var(--coprobi-blue) !important;

    font-size: 13px;
    font-weight: 600;

    text-decoration: none !important;

    transition:
        color .2s ease;
}


.coprobi-public-nav a:hover,
.coprobi-public-nav a.active {

    color: var(--coprobi-teal) !important;
}


.coprobi-public-nav a:after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: 18px;

    width: 0;
    height: 3px;

    background: var(--coprobi-gold);

    border-radius: 10px;

    transform: translateX(-50%);

    transition:
        width .2s ease;
}


.coprobi-public-nav a:hover:after,
.coprobi-public-nav a.active:after {

    width: 22px;
}


/* ============================================================
   BOTÓN MÓVIL
   ============================================================ */

.coprobi-public-menu-button {

    display: none;

    width: 42px;
    height: 42px;

    padding: 0;

    color: var(--coprobi-blue);

    background: transparent;

    border: 0;

    font-size: 21px;

    cursor: pointer;
}


/* ============================================================
   CONTENIDO
   ============================================================ */

.coprobi-public-main {

    width: 100%;

    min-height:
        calc(100vh - 82px - 110px);

    padding: 38px 30px 55px;

    background: var(--coprobi-background);
}


/* ============================================================
   FOOTER
   ============================================================ */

.coprobi-public-footer {

    width: 100%;

    background: #FFFFFF;

    border-top:
        1px solid var(--coprobi-border);
}


.coprobi-public-footer-container {

    width: calc(100% - 60px);
    max-width: 1450px;

    min-height: 110px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    gap: 20px;
}


.coprobi-public-footer-brand {

    flex: 0 0 auto;
}


.coprobi-public-footer-brand img {

    display: block;

    max-width: 110px;
    max-height: 60px;

    width: auto;
    height: auto;
}


.coprobi-public-footer-text {

    flex: 1;

    display: flex;
    flex-direction: column;

    gap: 4px;
}


.coprobi-public-footer-text strong {

    color: var(--coprobi-blue);

    font-size: 12px;
}


.coprobi-public-footer-text span {

    color: var(--coprobi-muted);

    font-size: 10px;
}


.coprobi-public-footer-ceiba {

    color: var(--coprobi-muted);

    font-size: 10px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 800px) {

    .coprobi-public-header {

        height: 70px;
    }


    .coprobi-public-header-container {

        width: calc(100% - 30px);
    }


    .coprobi-public-logo img {

        max-width: 150px;
        max-height: 52px;
    }


    .coprobi-public-menu-button {

        display: block;
    }


    .coprobi-public-nav {

        position: absolute;

        top: 70px;
        left: 0;
        right: 0;

        display: none;

        height: auto;

        padding: 10px 20px 18px;

        background: #FFFFFF;

        border-top:
            1px solid var(--coprobi-border);

        box-shadow:
            0 12px 25px rgba(22, 45, 85, .10);
    }


    .coprobi-public-nav.open {

        display: block;
    }


    .coprobi-public-nav a {

        height: auto;

        padding: 14px 5px;

        border-bottom:
            1px solid #EEF1F4;
    }


    .coprobi-public-nav a:last-child {

        border-bottom: 0;
    }


    .coprobi-public-nav a:after {

        display: none;
    }


    .coprobi-public-main {

        min-height:
            calc(100vh - 70px);

        padding:
            25px 15px 40px;
    }


    .coprobi-public-footer-container {

        width: calc(100% - 30px);

        padding: 25px 0;

        flex-direction: column;

        text-align: center;
    }

}