
/* ============================================================
   HIPPO LABS ? MODERN PUBLIC HEADER & FOOTER
   Scope: shared frontend layout only
   No inline styles, no admin changes
   ============================================================ */

/* TOP BAR */
body .topbar {
    background: #102a49;
    color: #dceaf3;
    padding: 9px 0;
    font-size: 12px;
    border: 0;
}

body .topbar .container {
    min-height: 24px;
}

body .topbar a {
    color: #e6f4fa;
    text-decoration: none;
    transition: color .2s ease;
}

body .topbar a:hover {
    color: #67dce4;
}

body .topbar .top-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

body .topbar .top-social span {
    color: #b7ccdc;
    font-weight: 500;
}

body .topbar .top-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    min-height: 24px;
}

/* MAIN HEADER */
body .main-header {
    background: #fff;
    padding: 22px 0;
    border-bottom: 1px solid #e8eef3;
    box-shadow: none;
}

body .main-header .container {
    max-width: 1320px;
}

body .main-header a {
    text-decoration: none;
}

body .main-header .header-logo {
    display: block;
    max-width: 205px;
    max-height: 78px;
    width: auto;
    height: auto;
    object-fit: contain;
}

body .main-header h3 {
    color: #102a49 !important;
    font-family: "Roboto", sans-serif;
    font-size: 28px;
    font-weight: 800 !important;
    letter-spacing: -.045em;
    margin: 0;
}

body .main-header .header-contact {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

body .main-header .header-info {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 11px 16px;
    background: #f6fafc;
    border: 1px solid #e7eef3;
    border-radius: 12px;
    color: #61768a;
    font-size: 12px;
    line-height: 1.6;
    box-shadow: none;
}

body .main-header .header-info > i {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    background: #dff6f7;
    color: #008e9b;
    border-radius: 11px;
    font-size: 16px;
}

body .main-header .header-info > div {
    display: flex;
    flex-direction: column;
}

body .main-header .header-info strong {
    display: block;
    color: #153451;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.5;
}

/* NAVIGATION */
body .main-nav {
    background: #fff;
    border-bottom: 1px solid #e5edf2;
    box-shadow: 0 6px 18px rgba(17, 44, 70, .035);
    padding: 0;
    min-height: 62px;
}

body .main-nav .container {
    max-width: 1320px;
}

body .main-nav .navbar-nav {
    align-items: center;
    gap: 6px;
}

body .main-nav .nav-item {
    margin: 0;
}

body .main-nav .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 62px;
    padding: 17px 19px;
    background: transparent;
    border: 0;
    color: #263e55;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .015em;
    text-transform: none;
    transition: color .2s ease;
}

body .main-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 19px;
    right: 19px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: transparent;
}

body .main-nav .nav-link:hover,
body .main-nav .nav-link.active {
    color: #008e9b;
    background: transparent;
}

body .main-nav .nav-link.active::after {
    background: #00a5b1;
}

body .main-nav .collapse > a.text-white {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    border-radius: 50%;
    background: #e0f6f7;
    color: #008e9b !important;
    text-decoration: none;
    transition: background .2s ease;
}

body .main-nav .collapse > a.text-white:hover {
    background: #c5eef1;
}

body .main-nav .navbar-toggler {
    border: 1px solid #d9e8ee;
    padding: 8px 11px;
    margin: 10px 0;
    box-shadow: none;
}

/* FOOTER */
body .site-footer {
    background: #102a49;
    color: #d6e4ef;
    padding-top: 72px;
    border: 0;
}

body .site-footer > .container {
    max-width: 1320px;
    padding-bottom: 58px;
}

body .site-footer .row {
    --bs-gutter-x: 52px;
    --bs-gutter-y: 35px;
}

body .site-footer .footer-brand-text {
    display: inline-block;
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -.035em;
    line-height: 1.2;
}

body .site-footer p {
    max-width: 350px;
    color: #b8cbdc;
    font-size: 14px;
    line-height: 1.85;
}

body .site-footer h5 {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .045em;
    text-transform: uppercase;
    margin: 4px 0 23px;
}

body .site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body .site-footer ul li {
    margin-bottom: 13px;
    color: #b8cbdc;
    font-size: 14px;
    line-height: 1.75;
}

body .site-footer a {
    color: #c7d8e5;
    text-decoration: none;
    transition: color .2s ease;
}

body .site-footer a:hover {
    color: #6fe1e7;
}

body .site-footer .footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 23px;
}

body .site-footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 10px;
    background: #1b3a59;
    color: #e9f4fa;
    font-size: 13px;
}

body .site-footer .footer-social a:hover {
    background: #008e9b;
    color: #fff;
}

body .site-footer .footer-bottom {
    background: #0b213a;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 21px 15px;
    color: #a9c0d3;
    text-align: center;
    font-size: 12px;
    line-height: 1.7;
}

/* RESPONSIVE SAFEGUARDS */
@media (max-width: 991.98px) {
    body .main-header {
        padding: 18px 0;
    }

    body .main-header .header-contact {
        gap: 10px;
    }

    body .main-header .header-info {
        padding: 9px 11px;
    }

    body .main-nav .navbar-nav {
        align-items: stretch;
        gap: 0;
        padding: 12px 0;
    }

    body .main-nav .nav-link {
        justify-content: flex-start;
        min-height: 45px;
        padding: 12px 16px;
    }

    body .main-nav .nav-link::after {
        left: 0;
        right: auto;
        top: 9px;
        bottom: 9px;
        height: auto;
        width: 3px;
    }

    body .main-nav .collapse > a.text-white {
        display: none !important;
    }

    body .site-footer {
        padding-top: 55px;
    }
}

@media (max-width: 767.98px) {
    body .topbar {
        font-size: 11px;
    }

    body .topbar .top-social {
        gap: 9px;
    }

    body .main-header .header-contact {
        justify-content: center;
        margin-top: 16px;
    }

    body .main-header .header-info {
        flex: 1 1 210px;
    }

    body .main-header h3 {
        font-size: 25px;
    }

    body .site-footer .row > div {
        text-align: left !important;
    }

    body .site-footer .footer-social {
        justify-content: flex-start;
    }
}

@media (prefers-reduced-motion: reduce) {
    body .topbar a,
    body .main-nav .nav-link,
    body .site-footer a {
        transition: none;
    }
}


/* Hippo Labs - Readable Footer Brand */
.site-footer .hippo-footer-brand {
    display: inline-block;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: clamp(20px, 2vw, 25px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: 0.3px;
    text-decoration: none;
}

.site-footer .hippo-footer-brand:hover,
.site-footer .hippo-footer-brand:focus-visible {
    color: #ffffff;
    text-decoration: none;
}

.site-footer .hippo-footer-brand:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 5px;
}
