﻿/* ======================================================
   HEALEY PACKAGING ANNOUNCEMENT BAR
====================================================== */

.hp-announcement,
.hp-announcement * {
    box-sizing: border-box;
}

.hp-announcement {
    position: relative;
    z-index: 1000;
    width: 100%;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(90deg, #071d32 0%, #0b3048 50%, #071d32 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hp-announcement__container {
    display: grid;
    grid-template-columns: minmax(145px, auto) minmax(0, 1fr) minmax(390px, auto);
    align-items: center;
    gap: 22px;
    width: 100%;
    max-width: 1240px;
    min-height: 38px;
    margin: 0 auto;
    padding: 0;
}

/* LEFT SERVICE ITEM */

.hp-announcement__side {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    color: rgba(255, 255, 255, 0.74);
    font-family: "Inter", Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
}

/* RIGHT CONTACT DETAILS */

.hp-announcement__contacts {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 11px;
    min-width: 0;
    white-space: nowrap;
}

.hp-announcement__contact {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.80);
    font-family: "Inter", Arial, sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hp-announcement__contact:hover {
    color: #ffffff;
}

.hp-announcement__contact-separator {
    width: 1px;
    height: 16px;
    flex: 0 0 1px;
    background: rgba(255, 255, 255, 0.18);
}

/* ICONS */

.hp-announcement__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    color: #76baff;
}

.hp-announcement__icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* CENTRE MESSAGE AREA */

.hp-announcement__messages {
    position: relative;
    width: 100%;
    height: 38px;
    min-width: 0;
    overflow: hidden;
}

/* INDIVIDUAL MESSAGES */

.hp-announcement__message {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 0;
    opacity: 0;
    transform: translateY(10px);
    animation: hpAnnouncementCycle 12s infinite;
    color: rgba(255, 255, 255, 0.67);
    font-family: "Inter", Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.3;
    white-space: nowrap;
}

.hp-announcement__message--one {
    animation-delay: 0s;
}

.hp-announcement__message--two {
    animation-delay: 4s;
}

.hp-announcement__message--three {
    animation-delay: 8s;
}

.hp-announcement__message strong {
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
}

.hp-announcement__message a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #8ec7ff;
    font-size: 10.5px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hp-announcement__message a:hover {
    color: #ffffff;
}

.hp-announcement__message a svg {
    width: 11px;
    height: 11px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ANNOUNCEMENT ANIMATION */

@keyframes hpAnnouncementCycle {
    0% {
        opacity: 0;
        transform: translateY(9px);
    }

    6% {
        opacity: 1;
        transform: translateY(0);
    }

    27% {
        opacity: 1;
        transform: translateY(0);
    }

    33% {
        opacity: 0;
        transform: translateY(-9px);
    }

    100% {
        opacity: 0;
        transform: translateY(-9px);
    }
}

/* REDUCED MOTION ACCESSIBILITY */

@media (prefers-reduced-motion: reduce) {
    .hp-announcement__message {
        animation: none;
        opacity: 0;
        transform: none;
    }

    .hp-announcement__message--one {
        opacity: 1;
    }
}

/* SMALL DESKTOP */

@media (max-width: 1280px) {
    .hp-announcement__container {
        padding-right: 24px;
        padding-left: 24px;
    }
}

@media (max-width: 1120px) {
    .hp-announcement__container {
        grid-template-columns: auto minmax(0, 1fr) minmax(315px, auto);
        gap: 16px;
    }

    .hp-announcement__message span {
        display: none;
    }

    .hp-announcement__contact {
        font-size: 9.5px;
    }
}

/* TABLET */

@media (max-width: 900px) {
    .hp-announcement__container {
        grid-template-columns: auto minmax(0, 1fr) auto;
        min-height: 36px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .hp-announcement__messages {
        height: 36px;
    }

    .hp-announcement__contact:first-child {
        display: none;
    }

    .hp-announcement__contact-separator {
        display: none;
    }
}

/* MOBILE */

@media (max-width: 650px) {
    .hp-announcement__container {
        display: flex;
        justify-content: center;
        width: 100%;
        min-height: 34px;
        padding: 0 16px;
    }

    .hp-announcement__side,
    .hp-announcement__contacts {
        display: none;
    }

    .hp-announcement__messages {
        width: 100%;
        height: 34px;
    }

    .hp-announcement__message {
        justify-content: center;
        width: 100%;
        padding: 0;
        font-size: 10px;
        white-space: nowrap;
    }

    .hp-announcement__message span {
        display: none;
    }

    .hp-announcement__message strong {
        font-size: 9px;
    }

    .hp-announcement__message a {
        font-size: 8.5px;
    }
}

/* VERY SMALL MOBILE */

@media (max-width: 390px) {
    .hp-announcement__container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .hp-announcement__message {
        gap: 5px;
    }

    .hp-announcement__message--three strong {
        display: none;
    }
}

/* Existing page overrides retained */

section.hp-fw.hp-cta {
    display: none !important;
}

#primary {
    margin-top: 0;
    margin-bottom: 0;
}
/* ======================================================
   HEALEY PACKAGING HEADER
====================================================== */

.hp-site-header,
.hp-site-header * {
    box-sizing: border-box;
}

.hp-site-header {
    position: relative;
    z-index: 999;
    width: 100%;
    color: #071d32;
    background: #ffffff;
}

.hp-site-header__main {
    width: 100%;
    border-bottom: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 3px 14px rgba(7, 29, 50, 0.045);
}

.hp-site-header__container {
    display: grid;
    grid-template-columns:
        minmax(165px, 205px)
        minmax(0, 1fr)
        auto;
    align-items: center;
    gap: 20px;

    width: 100%;
    max-width: 1240px;
    min-height: 78px;
    margin: 0 auto;
}


/* ======================================================
   OPTIONAL STICKY HEADER
====================================================== */

/*
Enable this rule when you want the main header to remain
visible as the visitor scrolls.
*/

.hp-site-header__main {
    position: sticky;
    top: 0;
    z-index: 999;
}


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

.hp-site-header__logo {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    max-width: 210px;
    text-decoration: none;
}

.hp-site-header__logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 54px;
    object-fit: contain;
}


/* ======================================================
   DESKTOP NAVIGATION
====================================================== */

.hp-site-header__desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-width: 0;
}

.hp-site-header__nav-link,
.hp-site-header__dropdown > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;

    min-height: 42px;
    padding: 0 10px;
    border: 0;
    border-radius: 8px;

    color: #263646;
    background: transparent;

    font-family: "Inter", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;

    cursor: pointer;
    list-style: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.hp-site-header__nav-link:hover,
.hp-site-header__dropdown > summary:hover,
.hp-site-header__dropdown[open] > summary {
    color: #0b5ed7;
    background: #f1f7fd;
}

.hp-site-header__dropdown > summary::-webkit-details-marker {
    display: none;
}

.hp-site-header__dropdown > summary::marker {
    content: "";
}

.hp-site-header__dropdown > summary svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.hp-site-header__dropdown[open] > summary svg {
    transform: rotate(180deg);
}


/* ======================================================
   DROPDOWN POSITIONING
====================================================== */

.hp-site-header__dropdown {
    position: relative;
}

.hp-site-header__dropdown--mega {
    position: static;
}

.hp-site-header__mega,
.hp-site-header__dropdown-panel {
    position: absolute;
    z-index: 1000;
    top: calc(100% + 12px);
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition:
        visibility 0.2s ease,
        opacity 0.2s ease,
        transform 0.2s ease;
}

.hp-site-header__dropdown[open] > .hp-site-header__mega,
.hp-site-header__dropdown[open] > .hp-site-header__dropdown-panel {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}


/* ======================================================
   PACKAGING MEGA-MENU
====================================================== */

.hp-site-header__mega {
    right: 0;
    left: 0;

    width: min(1180px, calc(100vw - 48px));
    margin: 0 auto;

    overflow: hidden;
    border: 1px solid #dce6ef;
    border-radius: 16px;
    background: #ffffff;

    box-shadow:
        0 24px 60px rgba(7, 29, 50, 0.16),
        0 5px 16px rgba(7, 29, 50, 0.07);
}

.hp-site-header__mega-inner {
    display: grid;
    grid-template-columns:
        minmax(240px, 0.95fr)
        minmax(210px, 1fr)
        minmax(175px, 0.75fr)
        minmax(175px, 0.75fr);
    align-items: stretch;
    gap: 0;
}


/* ======================================================
   MEGA FEATURE PANEL
====================================================== */

.hp-site-header__mega-feature {
    min-width: 0;
    padding: 27px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 90% 8%,
            rgba(22, 119, 255, 0.36),
            transparent 36%
        ),
        linear-gradient(
            145deg,
            #071d32 0%,
            #0b3048 100%
        );
}

.hp-site-header__mega-label {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 9px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;

    color: #cce5ff;
    background: rgba(255, 255, 255, 0.08);

    font-family: "Inter", Arial, sans-serif;
    font-size: 8px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hp-site-header__mega-title {
    display: block;
    margin: 17px 0 0;
    color: #ffffff !important;
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.03em;
}

.hp-site-header__mega-feature p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-family: "Inter", Arial, sans-serif;
    font-size: 9.5px;
    line-height: 1.6;
}

.hp-site-header__mega-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-height: 39px;
    margin-top: 19px;
    padding: 0 13px;
    border-radius: 8px;

    color: #ffffff;
    background: #1677ff;

    font-family: "Inter", Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;

    box-shadow: 0 7px 16px rgba(22, 119, 255, 0.24);

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.hp-site-header__mega-button:hover {
    color: #ffffff;
    background: #0b5ed7;
    transform: translateY(-1px);
}

.hp-site-header__mega-button svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ======================================================
   MEGA-MENU COLUMNS
====================================================== */

.hp-site-header__mega-column {
    min-width: 0;
    padding: 25px 21px;
    border-right: 1px solid #e7edf3;
}

.hp-site-header__mega-column:last-child {
    border-right: 0;
}

.hp-site-header__column-title {
    display: block;
    margin: 0 0 14px;
    color: #071d32;
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.hp-site-header__mega-column ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hp-site-header__mega-column li {
    margin: 0;
}

.hp-site-header__mega-column li > a {
    color: #3f4e5e;
    text-decoration: none;
}


/* Rich menu links */

.hp-site-header__mega-column > ul:not(.hp-site-header__simple-links) > li > a {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    align-items: center;
    gap: 10px;

    padding: 8px;
    border-radius: 9px;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.hp-site-header__mega-column > ul:not(.hp-site-header__simple-links) > li > a:hover {
    background: #f2f8fd;
    transform: translateX(2px);
}

.hp-site-header__menu-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;
    border-radius: 9px;

    color: #1677ff;
    background: #edf6ff;
}

.hp-site-header__menu-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hp-site-header__mega-column strong {
    display: block;
    color: #1f3041;
    font-family: "Inter", Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.35;
}

.hp-site-header__mega-column small {
    display: block;
    margin-top: 2px;
    color: #82909d;
    font-family: "Inter", Arial, sans-serif;
    font-size: 7.5px;
    font-weight: 400;
    line-height: 1.35;
}


/* Simple links */

.hp-site-header__simple-links {
    gap: 3px !important;
}

.hp-site-header__simple-links a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 31px;
    padding: 0 9px 0 16px;
    border-radius: 7px;
    color: #4f5e6d !important;
    font-family: "Inter", Arial, sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    line-height: 1.3;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.hp-site-header__simple-links a::before {
    content: "";
    position: absolute;
    left: 3px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #b8cce0;
}

.hp-site-header__simple-links a:hover {
    color: #0b5ed7 !important;
    background: #f2f8fd;
}

.hp-site-header__simple-links a:hover::before {
    background: #1677ff;
}


/* ======================================================
   MEGA-MENU FOOTER
====================================================== */

.hp-site-header__mega-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 14px 20px;
    border-top: 1px solid #e4ebf2;
    background: #f7fafd;
}

.hp-site-header__mega-footer strong {
    display: block;
    color: #071d32;
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.35;
}

.hp-site-header__mega-footer span {
    display: block;
    margin-top: 2px;
    color: #71808e;
    font-family: "Inter", Arial, sans-serif;
    font-size: 8px;
    line-height: 1.4;
}

.hp-site-header__mega-footer > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;

    color: #0b5ed7;
    font-family: "Inter", Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
}

.hp-site-header__mega-footer > a:hover {
    color: #071d32;
}

.hp-site-header__mega-footer svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ======================================================
   STANDARD DROPDOWN PANELS
====================================================== */

.hp-site-header__dropdown-panel {
    left: 50%;
    width: 235px;
    padding: 13px;
    border: 1px solid #dce6ef;
    border-radius: 13px;
    background: #ffffff;
    box-shadow:
        0 19px 45px rgba(7, 29, 50, 0.14),
        0 4px 12px rgba(7, 29, 50, 0.06);
    transform: translate(-50%, 8px);
}

.hp-site-header__dropdown[open] > .hp-site-header__dropdown-panel {
    transform: translate(-50%, 0);
}

.hp-site-header__dropdown-panel--wide {
    width: 540px;
    padding: 18px;
}

.hp-site-header__dropdown-panel--resources {
    width: 520px;
    padding: 17px;
}

.hp-site-header__dropdown-heading span {
    display: block;
    color: #1677ff;
    font-family: "Inter", Arial, sans-serif;
    font-size: 7.5px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.hp-site-header__dropdown-heading strong {
    display: block;
    margin-top: 4px;
    color: #071d32;
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}


/* Industries */

.hp-site-header__industry-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 14px;
}

.hp-site-header__industry-grid a {
    display: block;
    padding: 10px;
    border: 1px solid #e5ecf2;
    border-radius: 9px;
    color: #263646;
    background: #ffffff;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.hp-site-header__industry-grid a:hover {
    border-color: #bfd8f5;
    background: #f4f9ff;
    transform: translateY(-1px);
}

.hp-site-header__industry-grid span {
    display: block;
    font-family: "Inter", Arial, sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.35;
}

.hp-site-header__industry-grid small {
    display: block;
    margin-top: 2px;
    color: #81909e;
    font-family: "Inter", Arial, sans-serif;
    font-size: 10px;
    line-height: 1.35;
}

.hp-site-header__dropdown-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 13px;

    color: #0b5ed7;
    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

.hp-site-header__dropdown-footer-link svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}


/* Resources */

.hp-site-header__resource-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.hp-site-header__resource-links > a {
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr);
    align-items: center;
    gap: 9px;

    padding: 9px;
    border-radius: 9px;

    color: #263646;
    text-decoration: none;

    transition: background-color 0.2s ease;
}

.hp-site-header__resource-links > a:hover {
    background: #f2f8fd;
}

.hp-site-header__resource-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;
    border-radius: 9px;

    color: #1677ff;
    background: #edf6ff;
}

.hp-site-header__resource-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hp-site-header__resource-links strong {
    display: block;
    font-family: "Inter", Arial, sans-serif;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.35;
}

.hp-site-header__resource-links small {
    display: block;
    margin-top: 2px;
    color: #82909d;
    font-family: "Inter", Arial, sans-serif;
    font-size: 9px;
    line-height: 1.35;
}


/* Company links */

.hp-site-header__company-links {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hp-site-header__company-links a {
    display: flex;
    align-items: center;
    min-height: 33px;
    padding: 0 10px;
    border-radius: 7px;

    color: #455463;
    font-family: "Inter", Arial, sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;

    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}

.hp-site-header__company-links a:hover {
    color: #0b5ed7;
    background: #f2f8fd;
}


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

.hp-site-header__search {
    position: relative;
    flex: 0 1 178px;
    width: 178px;
    height: 42px;
    min-width: 135px;
    margin: 0;
}

.hp-site-header__search-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.hp-site-header__search-wrap {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 34px;
    align-items: center;
    width: 100%;
    height: 42px;
    overflow: hidden;
    border: 1px solid #dce6ef;
    border-radius: 9px;
    background: #f8fafc;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}

.hp-site-header__search-wrap:focus-within {
    border-color: #1677ff;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.10);
}

.hp-site-header__search-wrap > svg {
    position: absolute;
    top: 50%;
    left: 11px;
    width: 15px;
    height: 15px;
    transform: translateY(-50%);
    fill: none;
    stroke: #71808e;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.hp-site-header__search input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 40px;
    margin: 0;
    padding: 0 8px 0 34px;
    border: 0;
    outline: 0;
    color: #263646;
    background: transparent;
    font-family: "Inter", Arial, sans-serif;
    font-size: 8.8px;
    font-weight: 500;
    line-height: 1;
    -webkit-appearance: none;
    appearance: none;
}

.hp-site-header__search input::placeholder {
    color: #8a97a3;
    opacity: 1;
}

.hp-site-header__search input::-webkit-search-cancel-button {
    cursor: pointer;
}

.hp-site-header__search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0 4px 0 0;
    padding: 0;
    border: 0;
    border-radius: 7px;
    cursor: pointer;
    color: #ffffff;
    background: #1677ff;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.hp-site-header__search button:hover {
    background: #0b5ed7;
    transform: translateX(1px);
}

.hp-site-header__search button svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


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

.hp-site-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-width: 0;
}

.hp-site-header__email {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: #425160;
    text-decoration: none;
}

.hp-site-header__email > svg {
    width: 31px;
    height: 31px;
    padding: 7px;
    border-radius: 8px;

    fill: none;
    stroke: #1677ff;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;

    background: #edf6ff;
}

.hp-site-header__email small {
    display: block;
    color: #87939e;
    font-family: "Inter", Arial, sans-serif;
    font-size: 7px;
    font-weight: 500;
    line-height: 1.2;
}

.hp-site-header__email strong {
    display: block;
    margin-top: 2px;
    color: #263646;
    font-family: "Inter", Arial, sans-serif;
    font-size: 8.5px;
    font-weight: 700;
    line-height: 1.2;
}

.hp-site-header__email:hover strong {
    color: #0b5ed7;
}

.hp-site-header__quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;

    height: 42px;
    min-height: 42px;
    padding: 0 15px;
    border-radius: 8px;

    color: #ffffff;
    background: #1677ff;

    font-family: "Inter", Arial, sans-serif;
    font-size: 9.5px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;

    box-shadow: 0 7px 16px rgba(22, 119, 255, 0.20);

    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.hp-site-header__quote:hover {
    color: #ffffff;
    background: #0b5ed7;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(22, 119, 255, 0.25);
}

.hp-site-header__quote svg {
    width: 13px;
    height: 13px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ======================================================
   MOBILE MENU CONTROL
====================================================== */

.hp-mobile-menu {
    display: none;
}

.hp-mobile-menu > summary {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;

    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid #dce6ef;
    border-radius: 9px;

    background: #ffffff;
    cursor: pointer;
    list-style: none;
}

.hp-mobile-menu > summary::-webkit-details-marker {
    display: none;
}

.hp-mobile-menu > summary::marker {
    content: "";
}

.hp-mobile-menu > summary > span {
    width: 17px;
    height: 2px;
    border-radius: 999px;
    background: #071d32;

    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.hp-mobile-menu[open] > summary > span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.hp-mobile-menu[open] > summary > span:nth-child(2) {
    opacity: 0;
}

.hp-mobile-menu[open] > summary > span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* ======================================================
   MOBILE PANEL
====================================================== */

.hp-mobile-menu__panel {
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 0;

    display: flex;
    flex-direction: column;

    width: min(390px, 92vw);
    height: 100dvh;
    padding: 19px;

    overflow-y: auto;
    overscroll-behavior: contain;

    border-left: 1px solid #dce6ef;
    background: #ffffff;

    box-shadow: -20px 0 50px rgba(7, 29, 50, 0.20);
}

.hp-mobile-menu__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;

    padding-bottom: 17px;
    border-bottom: 1px solid #e4ebf2;
}

.hp-mobile-menu__logo {
    display: inline-flex;
    max-width: 175px;
}

.hp-mobile-menu__logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 48px;
    object-fit: contain;
}

.hp-mobile-menu__close-text {
    color: #84919d;
    font-family: "Inter", Arial, sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.hp-mobile-menu__close {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    margin: 0;
    padding: 0;
    border: 1px solid #d8e6f4;
    border-radius: 12px;
    background: #f8fbff;
    color: #071d32;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(4, 33, 66, 0.08);
}

.hp-mobile-menu__close span {
    position: absolute;
    width: 17px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
}

.hp-mobile-menu__close span:first-child {
    transform: rotate(45deg);
}

.hp-mobile-menu__close span:last-child {
    transform: rotate(-45deg);
}

.hp-mobile-menu__close:hover,
.hp-mobile-menu__close:focus-visible {
    border-color: #1677ff;
    color: #0b5ed7;
    background: #ffffff;
}


/* ======================================================
   MOBILE SEARCH
====================================================== */

.hp-mobile-menu__search {
    margin: 16px 0 2px;
}

.hp-mobile-menu__search > label {
    display: block;
    margin: 0 0 7px;
    color: #647180;
    font-family: "Inter", Arial, sans-serif;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hp-mobile-menu__search > div {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 40px;
    align-items: center;
    height: 44px;
    overflow: hidden;
    border: 1px solid #dce6ef;
    border-radius: 10px;
    background: #f8fafc;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.hp-mobile-menu__search > div:focus-within {
    border-color: #1677ff;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.10);
}

.hp-mobile-menu__search > div > svg {
    position: absolute;
    top: 50%;
    left: 13px;
    width: 17px;
    height: 17px;
    transform: translateY(-50%);
    fill: none;
    stroke: #71808e;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.hp-mobile-menu__search input {
    display: block;
    width: 100%;
    min-width: 0;
    height: 42px;
    margin: 0;
    padding: 0 10px 0 40px;
    border: 0;
    outline: 0;
    color: #263646;
    background: transparent;
    font-family: "Inter", Arial, sans-serif;
    font-size: 10px;
    line-height: 1;
}

.hp-mobile-menu__search input::placeholder {
    color: #8a97a3;
    opacity: 1;
}

.hp-mobile-menu__search button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-right: 5px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    color: #ffffff;
    background: #1677ff;
}

.hp-mobile-menu__search button:hover {
    background: #0b5ed7;
}

.hp-mobile-menu__search button svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* ======================================================
   MOBILE NAVIGATION
====================================================== */

.hp-mobile-menu__nav {
    display: grid;
    gap: 0;
    margin-top: 9px;
}

.hp-mobile-menu__dropdown {
    border-bottom: 1px solid #e8eef4;
}

.hp-mobile-menu__direct-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-height: 54px;
    padding: 0 4px;
    border-bottom: 1px solid #e8eef4;
    color: #071d32;
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.hp-mobile-menu__direct-link:hover {
    color: #0b5ed7;
}

.hp-mobile-menu__direct-link svg {
    width: 16px;
    height: 16px;
    margin-right: 7px;
    fill: none;
    stroke: #1677ff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.hp-mobile-menu__direct-link:hover svg {
    transform: translateX(3px);
}

.hp-mobile-menu__dropdown > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    min-height: 54px;
    padding: 0 4px;

    color: #071d32;
    font-family: "Manrope", "Inter", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;

    cursor: pointer;
    list-style: none;
}

.hp-mobile-menu__dropdown > summary::-webkit-details-marker {
    display: none;
}

.hp-mobile-menu__dropdown > summary::marker {
    content: "";
}

.hp-mobile-menu__plus {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border: 1px solid #dce6ef;
    border-radius: 8px;
    background: #f8fafc;
}

.hp-mobile-menu__plus::before,
.hp-mobile-menu__plus::after {
    content: "";
    position: absolute;
    width: 11px;
    height: 2px;
    border-radius: 999px;
    background: #1677ff;

    transition: transform 0.2s ease;
}

.hp-mobile-menu__plus::after {
    transform: rotate(90deg);
}

.hp-mobile-menu__dropdown[open] .hp-mobile-menu__plus::after {
    transform: rotate(0);
}

.hp-mobile-menu__submenu {
    display: grid;
    gap: 4px;
    padding: 0 0 13px;
}

.hp-mobile-menu__submenu--columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
}

.hp-mobile-menu__submenu a {
    display: flex;
    align-items: center;
    min-height: 39px;
    padding: 0 11px;
    border-radius: 8px;

    color: #50606f;
    background: #f8fafc;

    font-family: "Inter", Arial, sans-serif;
    font-size: 9.5px;
    font-weight: 600;
    line-height: 1.35;
    text-decoration: none;
}

.hp-mobile-menu__submenu a:hover {
    color: #0b5ed7;
    background: #edf6ff;
}


/* ======================================================
   MOBILE MENU ACTIONS
====================================================== */

.hp-mobile-menu__actions {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 22px;
}

.hp-mobile-menu__quote {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: 100%;
    min-height: 46px;
    padding: 0 15px;
    border-radius: 8px;

    color: #ffffff;
    background: #1677ff;

    font-family: "Inter", Arial, sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 8px 18px rgba(22, 119, 255, 0.20);
}

.hp-mobile-menu__quote:hover {
    color: #ffffff;
    background: #0b5ed7;
}

.hp-mobile-menu__quote svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hp-mobile-menu__contact {
    display: flex;
    justify-content: center;
    color: #0b5ed7;
    font-family: "Inter", Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    text-decoration: none;
}


/* ======================================================
   LARGE LAPTOP
====================================================== */

@media (max-width: 1280px) {

    .hp-site-header__container {
        padding-right: 24px;
        padding-left: 24px;
    }

}


/* ======================================================
   SMALL DESKTOP / LAPTOP
====================================================== */

@media (max-width: 1120px) {

    .hp-site-header__container {
        grid-template-columns:
            minmax(160px, 190px)
            minmax(0, 1fr)
            auto;
        gap: 18px;
    }

    .hp-site-header__desktop-nav {
        gap: 0;
    }

    .hp-site-header__nav-link,
    .hp-site-header__dropdown > summary {
        padding-right: 7px;
        padding-left: 7px;
        font-size: 9px;
    }

    .hp-site-header__email {
        display: none;
    }

    .hp-site-header__search {
        flex-basis: 150px;
        width: 150px;
        min-width: 125px;
    }

    .hp-site-header__mega {
        width: calc(100vw - 48px);
    }

}


/* ======================================================
   TABLET AND MOBILE HEADER
====================================================== */

@media (max-width: 1020px) {

    .hp-site-header__container {
        grid-template-columns:
            minmax(150px, 1fr)
            auto;
        min-height: 68px;
        gap: 18px;
        padding-right: 20px;
        padding-left: 20px;
    }

    .hp-site-header__desktop-nav {
        display: none;
    }

    .hp-site-header__search {
        display: none;
    }

    .hp-site-header__logo {
        max-width: 190px;
    }

    .hp-site-header__logo img {
        max-height: 48px;
    }

    .hp-site-header__actions {
        grid-column: 2;
    }

    .hp-site-header__quote {
        min-height: 40px;
    }

    .hp-mobile-menu {
        display: block;
    }

}


/* ======================================================
   MOBILE
====================================================== */

@media (max-width: 600px) {

    .hp-site-header__container {
        min-height: 64px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .hp-site-header__logo {
        max-width: 165px;
    }

    .hp-site-header__logo img {
        max-height: 43px;
    }

    .hp-site-header__quote {
        display: none;
    }

    .hp-mobile-menu > summary {
        width: 40px;
        height: 40px;
    }

    .hp-mobile-menu__panel {
        width: min(360px, 94vw);
        padding: 17px;
    }

}


/* ======================================================
   SMALL MOBILE
====================================================== */

@media (max-width: 390px) {

    .hp-site-header__container {
        padding-right: 14px;
        padding-left: 14px;
    }

    .hp-site-header__logo {
        max-width: 150px;
    }

    .hp-mobile-menu__panel {
        width: 100vw;
        border-left: 0;
    }

    .hp-mobile-menu__submenu--columns {
        grid-template-columns: 1fr;
    }

}


/* ======================================================
   ACCESSIBILITY
====================================================== */

.hp-site-header a:focus-visible,
.hp-site-header summary:focus-visible,
.hp-mobile-menu a:focus-visible,
.hp-mobile-menu summary:focus-visible {
    outline: 3px solid rgba(22, 119, 255, 0.35);
    outline-offset: 3px;
}


/* ======================================================
   REDUCED MOTION
====================================================== */

@media (prefers-reduced-motion: reduce) {

    .hp-site-header *,
    .hp-mobile-menu * {
        scroll-behavior: auto !important;
        transition: none !important;
    }

}

/* ======================================================
   UPDATED PACKAGING MEGA-MENU
   Application | Structure | Material | Accessories
====================================================== */

.hp-site-header__mega {
    width: min(1440px, calc(100vw - 40px));
    max-height: calc(100vh - 112px);
    overflow-x: hidden;
    overflow-y: auto;
}

.hp-site-header__mega-inner {
    grid-template-columns:
        minmax(245px, 0.95fr)
        minmax(235px, 1fr)
        minmax(210px, 0.88fr)
        minmax(195px, 0.80fr)
        minmax(220px, 0.92fr);
}

.hp-site-header__mega-feature {
    padding: 31px 27px;
}

.hp-site-header__mega-label {
    min-height: 28px;
    padding: 0 10px;
    font-size: 9px;
}

.hp-site-header__mega-title {
    margin-top: 18px;
    font-size: 25px;
    line-height: 1.2;
}

.hp-site-header__mega-feature p {
    margin-top: 13px;
    font-size: 12px;
    line-height: 1.62;
}

.hp-site-header__mega-button {
    min-height: 42px;
    padding: 0 15px;
    font-size: 11px;
}

.hp-site-header__mega-column {
    padding: 29px 22px;
}

.hp-site-header__column-kicker {
    display: block;
    margin-bottom: 5px;
    color: #1677ff;
    font-family: "Inter", Arial, sans-serif;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.hp-site-header__column-title {
    margin-bottom: 17px;
    font-size: 14px;
    line-height: 1.35;
}

.hp-site-header__mega-column ul {
    gap: 7px;
}

.hp-site-header__rich-links > li > a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 11px;
    min-height: 58px;
    padding: 8px;
    border-radius: 10px;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.hp-site-header__rich-links > li > a:hover {
    background: #f2f8fd;
    transform: translateX(2px);
}

.hp-site-header__menu-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
}

.hp-site-header__menu-icon svg {
    width: 20px;
    height: 20px;
}

.hp-site-header__mega-column strong {
    font-size: 11.5px;
    line-height: 1.35;
}

.hp-site-header__mega-column small {
    margin-top: 3px;
    font-size: 9px;
    line-height: 1.4;
}

.hp-site-header__simple-links {
    gap: 5px !important;
}

.hp-site-header__simple-links a {
    min-height: 36px;
    padding: 7px 9px 7px 18px;
    font-size: 10.5px;
    line-height: 1.4;
}

.hp-site-header__simple-links a::before {
    left: 4px;
    width: 6px;
    height: 6px;
}

.hp-site-header__simple-links .hp-site-header__column-view-all {
    margin-top: 5px;
    padding-right: 10px;
    color: #0b5ed7 !important;
    background: #edf6ff;
    font-weight: 700;
}

.hp-site-header__simple-links .hp-site-header__column-view-all::before {
    background: #1677ff;
}

.hp-site-header__column-view-all span {
    margin-left: auto;
    color: #1677ff;
    font-size: 14px;
}

.hp-site-header__column-note {
    margin-top: 18px;
    padding: 13px;
    border: 1px solid #dce8f3;
    border-radius: 10px;
    background: #f5faff;
}

.hp-site-header__column-note strong {
    color: #071d32;
    font-size: 11.5px;
}

.hp-site-header__column-note span {
    display: block;
    margin-top: 4px;
    color: #647180;
    font-family: "Inter", Arial, sans-serif;
    font-size: 11px;
    line-height: 1.5;
}

.hp-site-header__mega-footer {
    padding: 16px 22px;
}

.hp-site-header__mega-footer strong {
    font-size: 11.5px;
}

.hp-site-header__mega-footer span {
    margin-top: 3px;
    font-size: 9.5px;
}

.hp-site-header__mega-footer > a {
    font-size: 10.5px;
}


/* Large laptop: keep all four browsing paths, reduce widths slightly */
@media (max-width: 1320px) {

    .hp-site-header__mega {
        width: calc(100vw - 32px);
    }

    .hp-site-header__mega-inner {
        grid-template-columns:
            minmax(220px, 0.9fr)
            minmax(215px, 1fr)
            minmax(190px, 0.84fr)
            minmax(175px, 0.74fr)
            minmax(200px, 0.88fr);
    }

    .hp-site-header__mega-column {
        padding-right: 17px;
        padding-left: 17px;
    }

    .hp-site-header__mega-feature {
        padding-right: 22px;
        padding-left: 22px;
    }

    .hp-site-header__mega-title {
        font-size: 22px;
    }

    .hp-site-header__mega-feature p {
        font-size: 11px;
    }

    .hp-site-header__column-title {
        font-size: 13px;
    }

    .hp-site-header__simple-links a {
        font-size: 10px;
    }

}


/* The desktop mega-menu is replaced by the mobile navigation below this breakpoint */
@media (max-width: 1020px) {

    .hp-site-header__mega {
        display: none;
    }

}

/* ======================================================
   FINAL STICKY HEADER FIX
   Keep the full announcement + header sticky on desktop and mobile.
====================================================== */

.hp-site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 99999 !important;
}

.hp-site-header__main {
    position: relative !important;
    top: auto !important;
    z-index: auto !important;
}

body.admin-bar .hp-site-header {
    top: 0 !important;
}

@media (max-width: 782px) {
    body.admin-bar .hp-site-header {
        top: 0 !important;
    }
}

html,
html[style],
body {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.admin-bar {
    padding-top: 0 !important;
}

#wpadminbar {
    display: none !important;
}

#page,
.site,
.site-content,
#content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.admin-bar .hp-announcement {
    margin-top: 0 !important;
}

body > #wpadminbar + #page,
body > #wpadminbar ~ #page {
    margin-top: 0 !important;
}

@media (max-width: 782px) {
    body.admin-bar .hp-announcement {
        margin-top: 0 !important;
    }

    body > #wpadminbar + #page,
    body > #wpadminbar ~ #page {
        margin-top: 0 !important;
    }
}
/* ============================================================
   HEADER + MEGA MENU CLARITY POLISH
   ============================================================ */
.hp-announcement,
.hp-site-header,
.hp-mobile-menu,
.hp-announcement :where(p, a, span, li, button, input, label, small, strong, h1, h2, h3, h4, h5, h6),
.hp-site-header :where(p, a, span, li, button, input, label, small, strong, h1, h2, h3, h4, h5, h6),
.hp-mobile-menu :where(p, a, span, li, button, input, label, small, strong, h1, h2, h3, h4, h5, h6) {
    font-family: "Poppins", Arial, Helvetica, sans-serif !important;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
    text-rendering: optimizeLegibility;
}

.hp-announcement :where(h1, h2, h3, h4, h5, h6),
.hp-site-header :where(h1, h2, h3, h4, h5, h6),
.hp-mobile-menu :where(h1, h2, h3, h4, h5, h6) {
    letter-spacing: 0 !important;
    font-weight: 700 !important;
}

.hp-site-header :where(.hp-site-header__mega-label, .hp-site-header__column-kicker, .hp-site-header__nav-link, .hp-site-header__quote, .hp-site-header__email),
.hp-mobile-menu :where(.hp-mobile-menu__direct-link, .hp-mobile-menu__dropdown summary, .hp-mobile-menu__quote, .hp-mobile-menu__contact) {
    letter-spacing: 0.02em !important;
}

.hp-site-header img,
.hp-mobile-menu img {
    image-rendering: auto;
    backface-visibility: hidden;
}

/* ============================================================
   DESKTOP NAV SINGLE-LINE FIX
   Keeps Box Templates and Case Studies on one line.
   ============================================================ */
@media (min-width: 1021px) {
    .hp-site-header__desktop-nav {
        min-width: 0 !important;
        gap: 4px !important;
        white-space: nowrap !important;
    }

    .hp-site-header__nav-link,
    .hp-site-header__dropdown > summary {
        display: inline-flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        white-space: nowrap !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
        line-height: 1 !important;
    }

    .hp-site-header__actions {
        min-width: 0 !important;
    }
}

@media (min-width: 1021px) and (max-width: 1240px) {
    .hp-site-header__container {
        grid-template-columns: minmax(165px, 185px) minmax(0, 1fr) auto !important;
        gap: 10px !important;
    }

    .hp-site-header__desktop-nav {
        width: 100%;
        justify-content: space-between !important;
        gap: 0 !important;
    }

    .hp-site-header__nav-link,
    .hp-site-header__dropdown > summary {
        padding-right: 6px !important;
        padding-left: 6px !important;
        font-size: 10px !important;
    }

    .hp-site-header__actions {
        gap: 7px !important;
    }

    .hp-site-header__search {
        display: block !important;
        flex: 0 0 clamp(112px, 12vw, 136px);
        width: clamp(112px, 12vw, 136px);
        min-width: 112px;
    }

    .hp-site-header__whatsapp {
        padding-right: 8px;
        padding-left: 8px;
    }

    .hp-site-header__quote {
        padding-right: 11px;
        padding-left: 11px;
    }
}

/* Reset the inherited single-line navigation rule inside dropdown content. */
.hp-site-header .hp-site-header__mega,
.hp-site-header .hp-site-header__dropdown-panel {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
}
.hp-site-header .hp-site-header__mega-inner > *,
.hp-site-header .hp-site-header__mega-column > * {
    min-width: 0;
    max-width: 100%;
}
.hp-site-header .hp-site-header__mega-title,
.hp-site-header .hp-site-header__mega-feature p,
.hp-site-header .hp-site-header__mega-note,
.hp-site-header .hp-site-header__mega-column p {
    white-space: normal;
    overflow-wrap: anywhere;
}
.hp-site-header__whatsapp {
    height: 42px;
    min-height: 42px;
    padding: 0 11px;
    box-sizing: border-box;
    border: 1px solid #b9e0c9;
    border-radius: 10px;
    background: #eefaf3;
}
.hp-site-header__whatsapp > svg {
    color: #128c4b;
    stroke: currentColor;
    background: transparent;
}
.hp-site-header__whatsapp strong {
    color: #126b3c;
    white-space: nowrap;
    margin-top: 0;
}
.hp-site-header__whatsapp:hover {
    background: #dcf4e5;
}
.hp-site-header__whatsapp:focus-visible {
    outline: 2px solid #126b3c;
    outline-offset: 3px;
}

/* ============================================================
   RESPONSIVE DESKTOP HEADER FIT
   Keep every primary item and search visible without crowding.
   ============================================================ */
@media (min-width: 1441px) {
    .hp-site-header__container {
        max-width: 1400px;
    }
}

@media (min-width: 1241px) and (max-width: 1440px) {
    .hp-site-header__container {
        grid-template-columns: minmax(170px, 180px) minmax(0, 1fr) auto;
        gap: 12px;
        max-width: 1280px;
    }

    .hp-site-header__logo {
        max-width: 180px;
    }

    .hp-site-header__desktop-nav {
        width: 100%;
        justify-content: space-between;
        gap: 2px !important;
    }

    .hp-site-header__nav-link,
    .hp-site-header__dropdown > summary {
        padding-right: 8px !important;
        padding-left: 8px !important;
        font-size: 11px !important;
    }

    .hp-site-header__search {
        display: block !important;
        flex: 0 0 142px;
        width: 142px;
        min-width: 142px;
    }

    .hp-site-header__actions {
        gap: 7px;
    }

    .hp-site-header__whatsapp {
        padding-right: 8px;
        padding-left: 8px;
    }

    .hp-site-header__quote {
        padding-right: 11px;
        padding-left: 11px;
    }
}

@media (min-width: 1021px) and (max-width: 1120px) {
    .hp-site-header__whatsapp {
        display: inline-flex !important;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0 !important;
    }

    .hp-site-header__whatsapp > svg {
        width: 19px;
        height: 19px;
        padding: 0;
    }

    .hp-site-header__whatsapp span {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}
