
Gfd header final · HTML
Copy

<!-- ============================================================ -->
<!--  GRIP & FLOW DIGITAL — GLOBAL HEADER                        -->
<!--  Version: March 2026                                         -->
<!--  HOW TO USE:                                                 -->
<!--  1. CSS → paste into your Global Header CSS field            -->
<!--  2. HTML → paste into your Global Header HTML field          -->
<!--  Cookie consent is built in — no separate snippet needed     -->
<!-- ============================================================ -->


<!-- ============================================================ -->
<!-- SECTION 1 OF 2: CSS                                          -->
<!-- Paste everything between the CSS comment markers below       -->
<!-- into your HubSpot Global Header CSS field                    -->
<!-- ============================================================ -->

/*
 * ============================================
 * GFD GLOBAL HEADER CSS
 * ============================================
 */

/* ── HEADER WRAPPER ── */
.gfd-header {
    background: #ffffff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.gfd-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 170px;
    gap: 16px;
}

/* ── LOGO ── */
.gfd-header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.gfd-header-logo img {
    height: 150px;
    width: auto;
    display: block;
}

/* ── DESKTOP NAV WRAPPER ── */
.gfd-header-nav-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

/* ── NAV LIST ── */
.gfd-header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gfd-header-nav-item {
    position: relative;
}

.gfd-header-nav-link {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 14px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-family: inherit;
}

.gfd-header-nav-link:hover {
    color: #8B3A8B;
    background: rgba(139, 58, 139, 0.06);
    text-decoration: none;
}

.gfd-nav-arrow {
    font-size: 10px;
    transition: transform 0.2s ease;
    display: inline-block;
    margin-left: 2px;
}

.gfd-header-nav-item:hover .gfd-nav-arrow {
    transform: rotate(180deg);
}

/* ── SERVICES DROPDOWN ── */
.gfd-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(139, 58, 139, 0.12);
    min-width: 270px;
    padding: 8px;
    z-index: 200;
}

.gfd-header-nav-item:hover .gfd-dropdown {
    display: block;
}

/* Dropdown caret */
.gfd-dropdown::before {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 13px;
    height: 13px;
    background: #ffffff;
    border-left: 1px solid rgba(139, 58, 139, 0.12);
    border-top: 1px solid rgba(139, 58, 139, 0.12);
}

.gfd-dropdown-link {
    display: block;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.gfd-dropdown-link:hover {
    background: rgba(139, 58, 139, 0.06);
    color: #8B3A8B;
    padding-left: 18px;
    text-decoration: none;
}

.gfd-dropdown-divider {
    height: 1px;
    background: rgba(139, 58, 139, 0.1);
    margin: 6px 8px;
}

.gfd-dropdown-link.gfd-dropdown-highlight {
    color: #8B3A8B;
    font-weight: 700;
}

.gfd-dropdown-link.gfd-dropdown-highlight:hover {
    background: rgba(139, 58, 139, 0.08);
}

/* ── DESKTOP CTA BUTTON ── */
.gfd-header-cta {
    display: inline-block;
    background: linear-gradient(135deg, #FF8C00 0%, #FFB547 100%);
    color: #1a1a1a  !important;
    font-size: 14px;
    font-weight: 700  !important;
    padding: 12px 22px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
    font-family: inherit;
}

.gfd-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
    background: linear-gradient(135deg, #FFB547 0%, #FF8C00 100%);
    color: #1a1a1a;
    text-decoration: none;
}

/* ── HAMBURGER BUTTON ── */
.gfd-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
    flex-shrink: 0;
}

.gfd-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.gfd-hamburger.gfd-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.gfd-hamburger.gfd-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.gfd-hamburger.gfd-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE MENU OVERLAY ── */
.gfd-mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 999;
    overflow-y: auto;
    padding: 20px 20px 60px;
    flex-direction: column;
    gap: 2px;
    -webkit-overflow-scrolling: touch;
}

.gfd-mobile-menu.gfd-open {
    display: flex;
}

.gfd-mobile-nav-link {
    display: block;
    padding: 13px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.gfd-mobile-nav-link:hover {
    background: rgba(139, 58, 139, 0.06);
    color: #8B3A8B;
    text-decoration: none;
}

.gfd-mobile-section-label {
    padding: 16px 16px 6px;
    font-size: 11px;
    font-weight: 700;
    color: #8B3A8B;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.gfd-mobile-sub-link {
    display: block;
    padding: 10px 16px 10px 30px;
    font-size: 14px;
    font-weight: 500;
    color: #444444;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.gfd-mobile-sub-link:hover {
    background: rgba(139, 58, 139, 0.06);
    color: #8B3A8B;
    text-decoration: none;
}

.gfd-mobile-divider {
    height: 1px;
    background: #f0f0f0;
    margin: 10px 0;
}

.gfd-mobile-cta-btn {
    display: block;
    background: linear-gradient(135deg, #FF8C00 0%, #FFB547 100%);
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 700;
    padding: 16px 22px;
    border-radius: 50px;
    text-decoration: none;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 4px 16px rgba(255, 140, 0, 0.3);
    transition: all 0.3s ease;
    font-family: inherit;
}

.gfd-mobile-cta-btn:hover {
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.5);
    text-decoration: none;
    color: #1a1a1a;
}

/* ── RESPONSIVE BREAKPOINTS ── */
@media (max-width: 968px) {
    .gfd-header-nav-wrapper {
        display: none;
    }
    .gfd-header-cta {
        display: none;
    }
    .gfd-hamburger {
        display: flex;
    }
}

@media (max-width: 576px) {
    .gfd-header-container {
        height: 100px;
        padding: 0 16px;
    }
    .gfd-header-logo img {
        height: 90px;
    }
    .gfd-mobile-menu {
        top: 100px;
    }
}