
/* HIPPO LABS ? STEP 15
   Unified public header + desktop refinement.
   Loaded after all previous public stylesheets.
*/

/* UNIFIED HEADER */
body .hippo-unified-header {
    position: relative;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e4edf2;
    box-shadow: 0 5px 22px rgba(15, 40, 70, .045);
}

body .hippo-unified-nav {
    min-height: 86px;
    padding: 0;
    background: #fff;
}

body .hippo-unified-nav > .container {
    max-width: 1320px;
    display: flex;
    align-items: center;
    gap: 30px;
}

body .hippo-brand {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
}

body .hippo-brand-logo {
    display: block;
    max-width: 180px;
    max-height: 66px;
    width: auto;
    height: auto;
    object-fit: contain;
}

body .hippo-brand-name {
    font-family: "Roboto", sans-serif;
    color: #112e4e;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -.055em;
    line-height: 1;
}

body .hippo-brand-name span {
    color: #009ba8;
    margin-left: 5px;
}

body .hippo-unified-nav .navbar-collapse {
    align-items: center;
    justify-content: space-between;
    min-width: 0;
}

body .hippo-unified-nav .hippo-nav-links {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
    margin: 0 auto;
    padding: 0;
}

body .hippo-unified-nav .hippo-nav-links .nav-link {
    display: inline-flex;
    align-items: center;
    min-height: 86px;
    position: relative;
    padding: 15px 13px;
    color: #263e55 !important;
    background: transparent !important;
    font-family: "Roboto", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    text-decoration: none;
    white-space: nowrap;
    border: 0;
}

body .hippo-unified-nav .hippo-nav-links .nav-link:hover,
body .hippo-unified-nav .hippo-nav-links .nav-link.active {
    color: #008d9a !important;
}

body .hippo-unified-nav .hippo-nav-links .nav-link::after {
    content: "";
    position: absolute;
    left: 13px;
    right: 13px;
    bottom: 17px;
    height: 3px;
    border-radius: 4px;
    background: transparent;
}

body .hippo-unified-nav .hippo-nav-links .nav-link.active::after {
    background: #009da9;
}

body .hippo-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 0 0 auto;
}

body .hippo-header-phone {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #163b55;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}

body .hippo-header-phone i {
    color: #009da9;
    font-size: 15px;
}

body .hippo-header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 43px;
    padding: 11px 19px;
    border-radius: 9px;
    background: #0099a7;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s ease;
}

body .hippo-header-cta:hover {
    background: #007f8b;
}

body .hippo-menu-toggle {
    border: 1px solid #dce8ef;
    padding: 8px 10px;
    box-shadow: none !important;
}

/* HOMEPAGE TYPOGRAPHY */
body .hippo-modern-home .hm-hero p,
body .hippo-modern-home .hm-intro-copy p,
body .hippo-modern-home .hm-section-heading p,
body .hippo-modern-home .hm-service-card p,
body .hippo-modern-home .hm-products p,
body .hippo-modern-home .hm-value-content p,
body .hippo-modern-home .hm-value-content li {
    font-size: 16px;
    line-height: 1.85;
}

body .hippo-modern-home .hm-hero h1 {
    font-size: clamp(40px, 4vw, 58px);
    line-height: 1.12;
}

body .hippo-modern-home .hm-hero h2 {
    font-size: clamp(20px, 2vw, 25px);
}

body .hippo-modern-home .hm-section-heading h2 {
    font-size: clamp(32px, 3.1vw, 43px);
}

body .hippo-modern-home .hm-service-card h3 {
    font-size: 23px;
}

body .hippo-modern-home .hm-intro {
    padding-top: 72px;
    padding-bottom: 28px;
}

body .hippo-modern-home .hm-services {
    padding-top: 40px;
    padding-bottom: 78px;
}

body .hippo-modern-home .hm-section-heading {
    margin-bottom: 29px;
}

body .hippo-modern-home .hm-intro-copy {
    max-width: 900px;
}

body .hippo-modern-home .hm-intro-copy p {
    margin-bottom: 13px;
}

body .hippo-modern-home .hm-services-grid {
    gap: 22px;
}

body .hippo-modern-home .hm-service-card {
    padding: 32px;
}

/* PRODUCT PRESENTATION */
body .hippo-modern-home .hm-products {
    padding: 80px 0;
}

body .hippo-modern-home .hm-products-grid {
    gap: 50px;
}

body .hippo-modern-home .hm-product-image {
    height: 340px;
    padding: 22px;
    border-radius: 18px;
}

body .hippo-modern-home .hm-products-visual {
    gap: 18px;
}

/* PROMISE & VISION */
body .hippo-modern-home .hm-values {
    padding: 80px 0;
}

body .hippo-modern-home .hm-value-card {
    gap: 30px;
}

body .hippo-modern-home .hm-value-image img {
    height: 340px;
    object-fit: cover;
}

/* FOOTER REFINEMENT */
body .site-footer > .container {
    padding-bottom: 52px;
}

body .site-footer .row > div:nth-child(2),
body .site-footer .row > div:nth-child(3) {
    text-align: left !important;
}

body .site-footer ul li {
    font-size: 14px;
    line-height: 1.8;
}

body .site-footer p {
    font-size: 14px;
}

@media (max-width: 1199.98px) {
    body .hippo-unified-nav > .container {
        gap: 15px;
    }

    body .hippo-unified-nav .hippo-nav-links .nav-link {
        padding-left: 9px;
        padding-right: 9px;
        font-size: 12px;
    }

    body .hippo-header-phone span {
        display: none;
    }
}

@media (max-width: 991.98px) {
    body .hippo-unified-nav {
        min-height: 72px;
    }

    body .hippo-unified-nav .navbar-collapse {
        flex-basis: 100%;
        padding: 15px 0 22px;
    }

    body .hippo-unified-nav .hippo-nav-links {
        align-items: stretch;
        gap: 0;
        margin: 0;
    }

    body .hippo-unified-nav .hippo-nav-links .nav-link {
        min-height: 45px;
        padding: 12px 15px;
        font-size: 14px;
    }

    body .hippo-unified-nav .hippo-nav-links .nav-link::after {
        left: 0;
        right: auto;
        top: 8px;
        bottom: 8px;
        width: 3px;
        height: auto;
    }

    body .hippo-header-actions {
        margin-top: 16px;
        justify-content: flex-start;
    }

    body .hippo-header-phone span {
        display: inline;
    }

    body .hippo-modern-home .hm-product-image {
        height: 290px;
    }
}

@media (max-width: 767.98px) {
    body .hippo-modern-home .hm-intro,
    body .hippo-modern-home .hm-services,
    body .hippo-modern-home .hm-products,
    body .hippo-modern-home .hm-values {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    body .hippo-modern-home .hm-hero p,
    body .hippo-modern-home .hm-intro-copy p,
    body .hippo-modern-home .hm-section-heading p,
    body .hippo-modern-home .hm-service-card p,
    body .hippo-modern-home .hm-products p,
    body .hippo-modern-home .hm-value-content p,
    body .hippo-modern-home .hm-value-content li {
        font-size: 15px;
    }

    body .hippo-modern-home .hm-product-image {
        height: 260px;
    }

    body .hippo-modern-home .hm-value-image img {
        height: 250px;
    }
}


/* HIPPO TOPBAR STEP16 */
body .hippo-modern-topbar {
    background: #102a49;
    color: #dcebf5;
    min-height: 38px;
    font-family: "Roboto", sans-serif;
}

body .hippo-topbar-inner {
    max-width: 1320px;
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

body .hippo-topbar-address {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    line-height: 1.5;
}

body .hippo-topbar-address i {
    color: #6de0e6;
    font-size: 12px;
}

body .hippo-topbar-social {
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
}

body .hippo-topbar-social span {
    font-size: 12px;
    color: #c0d4e3;
}

body .hippo-topbar-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    min-height: 30px;
    color: #eaf5fb;
    font-size: 13px;
    text-decoration: none;
    transition: color .2s ease;
}

body .hippo-topbar-social a:hover {
    color: #69e0e7;
}

body .hippo-topbar-social a:focus-visible {
    outline: 2px solid #69e0e7;
    outline-offset: 3px;
}

@media (max-width: 767.98px) {
    body .hippo-topbar-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px 18px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    body .hippo-topbar-address {
        text-align: center;
        font-size: 11px;
    }

    body .hippo-topbar-social {
        gap: 13px;
    }
}
