/* ============================================================
   NGW WORKFORCE — Header & Footer Design System v2.1
   Modern Minimal SaaS · Lead-Gen Optimised · Accessible
   ============================================================ */


/* ─────────────────────────────────────────────────────────────
   00. CSS CUSTOM PROPERTIES
   ───────────────────────────────────────────────────────────── */

:root {
    /* Brand */
    --ngw-brand:           #CC3366;
    --ngw-brand-hover:     #b02d58;
    --ngw-brand-light:     rgba(204, 51, 102, 0.08);
    --ngw-brand-glow:      0 6px 24px rgba(204, 51, 102, 0.32);

    /* Surface palette — Slate scale */
    --ngw-dark:            #0F172A;
    --ngw-dark-2:          #1E293B;
    --ngw-dark-3:          #334155;
    --ngw-surface:         #ffffff;
    --ngw-surface-2:       #F8FAFC;
    --ngw-surface-3:       #F1F5F9;
    --ngw-border:          #E2E8F0;
    --ngw-border-subtle:   #F1F5F9;
    --ngw-border-dark:     rgba(255, 255, 255, 0.07);

    /* Text */
    --ngw-text-primary:    #0F172A;
    --ngw-text-secondary:  #475569;
    --ngw-text-muted:      #94A3B8;
    --ngw-text-inverse:    #F8FAFC;

    /* Typography */
    --ngw-font:            'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ngw-font-xs:         0.6875rem;   /* 11px */
    --ngw-font-sm:         0.8125rem;   /* 13px */
    --ngw-font-base:       0.9375rem;   /* 15px */
    --ngw-font-md:         1rem;        /* 16px */

    /* Layout */
    --ngw-container:       1280px;
    --ngw-header-h:        72px;
    --ngw-announce-h:      40px;
    --ngw-radius:          7px;
    --ngw-radius-lg:       12px;
    --ngw-radius-xl:       16px;
    --ngw-radius-full:     9999px;

    /* Shadows */
    --ngw-shadow-xs:       0 1px 2px rgba(0,0,0,.04);
    --ngw-shadow-sm:       0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --ngw-shadow-md:       0 4px 16px rgba(0,0,0,.08);
    --ngw-shadow-lg:       0 16px 40px rgba(0,0,0,.12), 0 4px 16px rgba(0,0,0,.06);
    --ngw-shadow-header:   0 1px 0 var(--ngw-border);

    /* Transitions */
    --ngw-ease:            cubic-bezier(0.4, 0, 0.2, 1);
    --ngw-transition:      160ms var(--ngw-ease);
    --ngw-transition-slow: 300ms var(--ngw-ease);
}


/* ─────────────────────────────────────────────────────────────
   01. BASE RESETS
   ───────────────────────────────────────────────────────────── */

*,
*::before,
*::after { box-sizing: border-box; }

.ngw-header *, .ngw-mobile-nav *, .ngw-footer *, .ngw-announce * {
    font-family: var(--ngw-font);
    -webkit-font-smoothing: antialiased;
}

.ngw-container {
    width: 100%;
    max-width: var(--ngw-container);
    margin-inline: auto;
    padding-inline: 24px;
}

/* Body top offset */
body {
    padding-top: calc(var(--ngw-announce-h) + var(--ngw-header-h)) !important;
}

body.ngw-no-announce {
    padding-top: var(--ngw-header-h) !important;
}


/* ─────────────────────────────────────────────────────────────
   02. SKIP LINK
   ───────────────────────────────────────────────────────────── */

.ngw-skip-link {
    position: absolute;
    top: -100%;
    left: 20px;
    padding: 8px 16px;
    background: var(--ngw-brand);
    color: #fff;
    font-size: var(--ngw-font-sm);
    font-weight: 600;
    border-radius: 0 0 var(--ngw-radius) var(--ngw-radius);
    text-decoration: none;
    z-index: 9999;
    transition: top var(--ngw-transition);
}
.ngw-skip-link:focus { top: 0; }


/* ─────────────────────────────────────────────────────────────
   03. ANNOUNCEMENT BAR
   ───────────────────────────────────────────────────────────── */

.ngw-announce {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1001;
    height: var(--ngw-announce-h);
    background: var(--ngw-dark);
    border-bottom: 1px solid rgba(255,255,255,.06);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-inline: 48px;
    transition: transform var(--ngw-transition-slow), opacity var(--ngw-transition-slow);
}

.ngw-announce.ngw-announce--hidden {
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
}

.ngw-announce__inner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
    font-size: var(--ngw-font-sm);
    color: rgba(255,255,255,.65);
    line-height: 1.4;
}

.ngw-announce__badge {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: var(--ngw-radius-full);
    background: var(--ngw-brand);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.ngw-announce__text {
    color: rgba(255,255,255,.70);
}

.ngw-announce__link {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    margin-left: 4px;
    white-space: nowrap;
    border-bottom: 1px solid rgba(255,255,255,.3);
    transition: border-color var(--ngw-transition);
}
.ngw-announce__link:hover {
    border-color: rgba(255,255,255,.8);
    color: #fff;
}

.ngw-announce__close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,.45);
    border-radius: var(--ngw-radius);
    padding: 0;
    transition: background var(--ngw-transition), color var(--ngw-transition);
}
.ngw-announce__close:hover {
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.9);
}


/* ─────────────────────────────────────────────────────────────
   04. SITE HEADER
   ───────────────────────────────────────────────────────────── */

.ngw-header {
    position: fixed;
    top: var(--ngw-announce-h);
    left: 0; right: 0;
    z-index: 1000;
    height: var(--ngw-header-h);
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    border-bottom: 1px solid var(--ngw-border);
    transition: top var(--ngw-transition-slow), background var(--ngw-transition-slow), box-shadow var(--ngw-transition-slow);
    will-change: top, background;
}

.ngw-announce--hidden ~ #site-header,
.ngw-header.ngw-announce-gone {
    top: 0;
}

.ngw-header.ngw-header--scrolled {
    background: rgba(255,255,255,.99);
    box-shadow: 0 1px 12px rgba(0,0,0,.07);
    border-bottom-color: var(--ngw-border);
}

.ngw-header__inner {
    display: flex;
    align-items: center;
    height: var(--ngw-header-h);
    gap: 8px;
}


/* ─────────────────────────────────────────────────────────────
   05. LOGO — fixes WordPress inline width/height attrs
   ───────────────────────────────────────────────────────────── */

.ngw-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none !important;
    margin-right: auto;
    line-height: 1;
    overflow: hidden;
    max-height: var(--ngw-header-h);
}

/* Override WordPress inline width/height attributes */
.ngw-logo img,
.ngw-logo .custom-logo,
.ngw-logo .custom-logo-link img,
a.custom-logo-link img,
.site-header .custom-logo {
    height: 42px !important;
    width: auto !important;
    max-height: 42px !important;
    max-width: 200px !important;
    min-height: unset !important;
    min-width: unset !important;
    display: block !important;
    object-fit: contain !important;
}

.ngw-logo a,
.ngw-logo .custom-logo-link {
    display: flex !important;
    align-items: center !important;
    line-height: 1 !important;
    text-decoration: none !important;
}

.ngw-logo__text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ngw-text-primary);
    letter-spacing: -.02em;
    white-space: nowrap;
}


/* ─────────────────────────────────────────────────────────────
   06. DESKTOP NAVIGATION
   ───────────────────────────────────────────────────────────── */

.ngw-nav {
    display: flex;
    align-items: center;
    margin-inline: auto;
}

.ngw-nav__list {
    display: flex;
    align-items: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ngw-nav__item { position: relative; }

.ngw-nav__trigger,
.ngw-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 13px;
    border-radius: var(--ngw-radius);
    font-size: var(--ngw-font-base);
    font-weight: 500;
    color: var(--ngw-text-secondary);
    text-decoration: none !important;
    cursor: pointer;
    background: transparent;
    border: none;
    white-space: nowrap;
    line-height: 1;
    font-family: var(--ngw-font);
    transition: color var(--ngw-transition), background var(--ngw-transition);
    letter-spacing: -.01em;
}

.ngw-nav__trigger:hover,
.ngw-nav__link:hover,
.ngw-nav__item.ngw-is-open > .ngw-nav__trigger {
    color: var(--ngw-text-primary);
    background: var(--ngw-surface-3);
}

/* Pricing stands out */
.ngw-nav__link--pricing {
    color: var(--ngw-text-primary);
    font-weight: 600;
}
.ngw-nav__link--pricing:hover {
    color: var(--ngw-brand);
    background: var(--ngw-brand-light);
}

.ngw-nav__link--active { color: var(--ngw-brand) !important; }

/* Chevron */
.ngw-chevron {
    transition: transform var(--ngw-transition);
    flex-shrink: 0;
    opacity: 0.5;
}
.ngw-nav__item.ngw-is-open .ngw-chevron {
    transform: rotate(180deg);
    opacity: 0.8;
}


/* ─────────────────────────────────────────────────────────────
   07. MEGA MENU
   ───────────────────────────────────────────────────────────── */

.ngw-mega {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    width: 700px;
    background: var(--ngw-surface);
    border: 1px solid var(--ngw-border);
    border-radius: var(--ngw-radius-xl);
    box-shadow: var(--ngw-shadow-lg);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--ngw-transition), transform var(--ngw-transition), visibility var(--ngw-transition);
    overflow: hidden;
}

.ngw-nav__item.ngw-is-open .ngw-mega {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.ngw-mega__inner { padding: 20px; }

.ngw-mega__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-bottom: 14px;
}

.ngw-mega__item {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 11px;
    border-radius: var(--ngw-radius-lg);
    text-decoration: none !important;
    color: inherit;
    transition: background var(--ngw-transition);
}
.ngw-mega__item:hover { background: var(--ngw-surface-2); }
.ngw-mega__item:hover .ngw-mega__icon {
    background: var(--ngw-brand-light);
    color: var(--ngw-brand);
}

.ngw-mega__icon {
    width: 34px; height: 34px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--ngw-surface-2);
    border-radius: var(--ngw-radius);
    color: var(--ngw-text-secondary);
    transition: background var(--ngw-transition), color var(--ngw-transition);
}

.ngw-mega__content {
    display: flex; flex-direction: column; gap: 2px; min-width: 0;
}

.ngw-mega__title {
    font-size: var(--ngw-font-base);
    font-weight: 600;
    color: var(--ngw-text-primary);
    display: block;
    line-height: 1.3;
}

.ngw-mega__desc {
    font-size: var(--ngw-font-xs);
    color: var(--ngw-text-muted);
    display: block;
    line-height: 1.5;
}

.ngw-mega__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 11px 2px;
    border-top: 1px solid var(--ngw-border-subtle);
    gap: 12px;
}

.ngw-mega__cta {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 16px;
    background: var(--ngw-brand);
    color: #fff !important;
    font-size: var(--ngw-font-sm);
    font-weight: 600;
    border-radius: var(--ngw-radius-full);
    text-decoration: none !important;
    transition: background var(--ngw-transition), box-shadow var(--ngw-transition);
}
.ngw-mega__cta:hover {
    background: var(--ngw-brand-hover);
    box-shadow: var(--ngw-brand-glow);
}

.ngw-mega__secondary {
    font-size: var(--ngw-font-sm);
    color: var(--ngw-text-secondary);
    text-decoration: none !important;
    font-weight: 500;
    transition: color var(--ngw-transition);
}
.ngw-mega__secondary:hover { color: var(--ngw-brand); }


/* ─────────────────────────────────────────────────────────────
   08. DROPDOWN MENUS
   ───────────────────────────────────────────────────────────── */

.ngw-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 210px;
    background: var(--ngw-surface);
    border: 1px solid var(--ngw-border);
    border-radius: var(--ngw-radius-lg);
    box-shadow: var(--ngw-shadow-md);
    padding: 5px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity var(--ngw-transition), transform var(--ngw-transition), visibility var(--ngw-transition);
}

.ngw-nav__item.ngw-is-open .ngw-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.ngw-dropdown li { margin: 0; }

.ngw-dropdown a {
    display: block;
    padding: 8px 12px;
    font-size: var(--ngw-font-sm);
    font-weight: 500;
    color: var(--ngw-text-secondary) !important;
    text-decoration: none !important;
    border-radius: var(--ngw-radius);
    transition: background var(--ngw-transition), color var(--ngw-transition);
    line-height: 1.4;
}
.ngw-dropdown a:hover {
    background: var(--ngw-surface-2);
    color: var(--ngw-text-primary) !important;
}

.ngw-dropdown__divider {
    height: 1px;
    background: var(--ngw-border);
    margin: 4px 10px;
    pointer-events: none;
}


/* ─────────────────────────────────────────────────────────────
   09. CTA BUTTONS
   ───────────────────────────────────────────────────────────── */

.ngw-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 18px;
    border-radius: var(--ngw-radius-full);
    font-size: var(--ngw-font-sm);
    font-weight: 600;
    font-family: var(--ngw-font);
    cursor: pointer;
    text-decoration: none !important;
    white-space: nowrap;
    border: 1.5px solid transparent;
    line-height: 1;
    letter-spacing: -.01em;
    transition: background var(--ngw-transition), color var(--ngw-transition), border-color var(--ngw-transition), box-shadow var(--ngw-transition), transform 100ms;
}
.ngw-btn:active { transform: scale(0.97); }

/* Ghost */
.ngw-btn--ghost {
    background: transparent;
    color: var(--ngw-text-secondary) !important;
    border-color: transparent;
}
.ngw-btn--ghost:hover {
    background: var(--ngw-surface-3);
    color: var(--ngw-text-primary) !important;
}

/* Primary — gradient for depth */
.ngw-btn--primary {
    background: var(--ngw-brand);
    color: #fff !important;
    border-color: var(--ngw-brand);
}
.ngw-btn--primary:hover {
    background: var(--ngw-brand-hover);
    border-color: var(--ngw-brand-hover);
    box-shadow: var(--ngw-brand-glow);
    color: #fff !important;
}

/* Outline white — dark backgrounds */
.ngw-btn--outline-white {
    background: transparent;
    color: rgba(255,255,255,.80) !important;
    border-color: rgba(255,255,255,.22);
}
.ngw-btn--outline-white:hover {
    background: rgba(255,255,255,.07);
    color: #fff !important;
    border-color: rgba(255,255,255,.45);
}

/* Full width */
.ngw-btn--full { justify-content: center; width: 100%; }

.ngw-header__actions {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}


/* ─────────────────────────────────────────────────────────────
   10. HAMBURGER
   ───────────────────────────────────────────────────────────── */

.ngw-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 38px; height: 38px;
    padding: 0;
    background: transparent;
    border: 1.5px solid var(--ngw-border);
    border-radius: var(--ngw-radius);
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--ngw-transition), border-color var(--ngw-transition);
}
.ngw-hamburger:hover { background: var(--ngw-surface-2); border-color: #CBD5E1; }

.ngw-hamburger__line {
    display: block;
    width: 16px; height: 1.5px;
    background: var(--ngw-text-primary);
    border-radius: 2px;
    transition: transform var(--ngw-transition), opacity var(--ngw-transition);
}

.ngw-hamburger[aria-expanded="true"] .ngw-hamburger__line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ngw-hamburger[aria-expanded="true"] .ngw-hamburger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.ngw-hamburger[aria-expanded="true"] .ngw-hamburger__line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ─────────────────────────────────────────────────────────────
   11. MOBILE DRAWER
   ───────────────────────────────────────────────────────────── */

.ngw-mobile-nav {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    z-index: 999999;
    pointer-events: none;
    visibility: hidden;
}
.ngw-mobile-nav[aria-hidden="false"] {
    pointer-events: auto;
    visibility: visible;
}

.ngw-mobile-nav__panel {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(360px, 88vw);
    height: 100vh; height: 100dvh;
    background: var(--ngw-surface);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--ngw-transition-slow);
    box-shadow: -4px 0 40px rgba(0,0,0,.12);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    z-index: 999999;
}
.ngw-mobile-nav[aria-hidden="false"] .ngw-mobile-nav__panel { transform: translateX(0); }

.ngw-mobile-nav__backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    background: rgba(15,23,42,.55);
    opacity: 0;
    transition: opacity var(--ngw-transition-slow);
    cursor: pointer;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 999998;
}
.ngw-mobile-nav[aria-hidden="false"] .ngw-mobile-nav__backdrop { opacity: 1; }

.ngw-mobile-nav__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--ngw-border);
    flex-shrink: 0;
}

/* Fix logo size inside mobile nav */
.ngw-mobile-nav__top .ngw-logo img,
.ngw-mobile-nav__top .custom-logo {
    height: 34px !important;
    width: auto !important;
    max-height: 34px !important;
}

.ngw-mobile-nav__close {
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    background: var(--ngw-surface-2);
    border: none; border-radius: var(--ngw-radius);
    cursor: pointer;
    color: var(--ngw-text-secondary);
    transition: background var(--ngw-transition);
}
.ngw-mobile-nav__close:hover { background: var(--ngw-surface-3); }

.ngw-mobile-nav__list {
    list-style: none;
    margin: 8px 0;
    padding: 0;
    flex: 1;
}

.ngw-mobile-nav__list > li { border-bottom: 1px solid var(--ngw-border-subtle); }
.ngw-mobile-nav__list > li:last-child { border-bottom: none; }

.ngw-mobile-accordion__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 18px;
    background: transparent;
    border: none;
    font-size: var(--ngw-font-base);
    font-weight: 500;
    color: var(--ngw-text-primary);
    font-family: var(--ngw-font);
    cursor: pointer;
    text-align: left;
    transition: background var(--ngw-transition);
    letter-spacing: -.01em;
}
.ngw-mobile-accordion__toggle:hover { background: var(--ngw-surface-2); }
.ngw-mobile-accordion__toggle svg { transition: transform var(--ngw-transition); color: var(--ngw-text-muted); }
.ngw-mobile-accordion__toggle[aria-expanded="true"] {
    color: var(--ngw-brand) !important;
    background: var(--ngw-brand-light);
}
.ngw-mobile-accordion__toggle[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--ngw-brand); }

.ngw-mobile-accordion__body {
    list-style: none;
    margin: 0;
    padding: 0 0 6px;
    display: none;
    background: var(--ngw-surface-2);
}
.ngw-mobile-accordion__body.ngw-is-open { display: block; }

.ngw-mobile-accordion__body a {
    display: block;
    padding: 9px 18px 9px 30px;
    font-size: var(--ngw-font-sm);
    color: var(--ngw-text-secondary);
    font-weight: 500;
    text-decoration: none !important;
    transition: color var(--ngw-transition), background var(--ngw-transition);
}
.ngw-mobile-accordion__body a:hover {
    color: var(--ngw-brand);
    background: var(--ngw-brand-light);
}

.ngw-mobile-nav__link {
    display: block;
    padding: 13px 18px;
    font-size: var(--ngw-font-base);
    font-weight: 500;
    color: var(--ngw-text-primary);
    text-decoration: none !important;
    transition: background var(--ngw-transition);
}
.ngw-mobile-nav__link:hover { background: var(--ngw-surface-2); }
.ngw-mobile-nav__link--highlight {
    color: var(--ngw-brand);
    font-weight: 600;
}

.ngw-mobile-nav__footer {
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--ngw-border);
    flex-shrink: 0;
}


/* ─────────────────────────────────────────────────────────────
   12. FOOTER BASE
   ───────────────────────────────────────────────────────────── */

.ngw-footer {
    background: var(--ngw-dark);
    color: var(--ngw-text-inverse);
    border-top: 3px solid var(--ngw-brand);
}


/* ─────────────────────────────────────────────────────────────
   13. FOOTER CTA STRIP
   ───────────────────────────────────────────────────────────── */

.ngw-footer__cta-strip {
    background: linear-gradient(135deg, #1a0a14 0%, #1e1035 50%, #0a1628 100%);
    border-bottom: 1px solid rgba(255,255,255,.05);
    padding: 52px 0;
}

.ngw-footer__cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.ngw-footer__cta-heading {
    font-size: clamp(1.2rem, 2.4vw, 1.65rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.ngw-footer__cta-text p {
    font-size: var(--ngw-font-base);
    color: rgba(255,255,255,.52);
    margin: 0;
    line-height: 1.5;
}

.ngw-footer__cta-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}


/* ─────────────────────────────────────────────────────────────
   14. FOOTER MAIN GRID
   ───────────────────────────────────────────────────────────── */

.ngw-footer__body {
    padding: 56px 0 36px;
    border-bottom: 1px solid var(--ngw-border-dark);
}

.ngw-footer__grid {
    display: grid;
    grid-template-columns: 1.9fr 1.1fr 1.1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.ngw-footer__col--brand { padding-right: 20px; }

/* Footer logo — show at natural color, no invert */
.ngw-footer__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    margin-bottom: 14px;
}

.ngw-footer__logo img,
.ngw-footer__logo .custom-logo,
.ngw-footer__logo .custom-logo-link img {
    height: 36px !important;
    width: auto !important;
    max-height: 36px !important;
    max-width: 180px !important;
    display: block !important;
    object-fit: contain !important;
    /* Slightly brighten on dark background */
    filter: brightness(1.08) !important;
}

.ngw-footer__tagline {
    font-size: var(--ngw-font-sm);
    color: rgba(255,255,255,.45);
    line-height: 1.65;
    margin: 0 0 22px;
    max-width: 270px;
}

/* Footer headings */
.ngw-footer__heading {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: rgba(255,255,255,.28);
    margin: 0 0 14px;
}
.ngw-footer__heading--gap { margin-top: 28px; }

/* Footer links */
.ngw-footer__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ngw-footer__links a {
    display: inline-block;
    font-size: var(--ngw-font-sm);
    color: rgba(255,255,255,.50) !important;
    text-decoration: none !important;
    padding: 4px 0;
    transition: color var(--ngw-transition);
    font-weight: 450;
    line-height: 1.5;
}
.ngw-footer__links a:hover { color: rgba(255,255,255,.88) !important; }


/* ─────────────────────────────────────────────────────────────
   15. FOOTER — SOCIAL, APPS, CONTACT
   ───────────────────────────────────────────────────────────── */

/* Social icons */
.ngw-footer__social {
    display: flex;
    gap: 7px;
    margin-bottom: 18px;
}

.ngw-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px; height: 34px;
    border-radius: var(--ngw-radius-full);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.06);
    color: rgba(255,255,255,.50);
    text-decoration: none !important;
    transition: background var(--ngw-transition), color var(--ngw-transition), border-color var(--ngw-transition), transform 100ms;
}
.ngw-social-link:hover {
    background: var(--ngw-brand);
    border-color: var(--ngw-brand);
    color: #fff !important;
    transform: translateY(-2px);
}

/* App badges */
.ngw-footer__apps {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.ngw-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--ngw-radius);
    text-decoration: none !important;
    transition: background var(--ngw-transition), border-color var(--ngw-transition), transform 100ms;
    cursor: pointer;
}
.ngw-app-badge:hover {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.22);
    transform: translateY(-1px);
}

.ngw-app-badge__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    flex-shrink: 0;
    color: rgba(255,255,255,.75);
}

.ngw-app-badge__text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.ngw-app-badge__sub {
    font-size: 9px;
    color: rgba(255,255,255,.45);
    font-weight: 500;
    letter-spacing: .02em;
    text-transform: uppercase;
    line-height: 1;
}

.ngw-app-badge__name {
    font-size: var(--ngw-font-sm);
    color: rgba(255,255,255,.82);
    font-weight: 600;
    line-height: 1;
}

/* Contact links */
.ngw-footer__contact-link {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: var(--ngw-font-sm);
    color: rgba(255,255,255,.50) !important;
    text-decoration: none !important;
    padding: 3px 0;
    transition: color var(--ngw-transition);
    line-height: 1.4;
}
.ngw-footer__contact-link svg { flex-shrink: 0; opacity: .55; }
.ngw-footer__contact-link:hover { color: rgba(255,255,255,.85) !important; }


/* ─────────────────────────────────────────────────────────────
   16. FOOTER BOTTOM BAR
   ───────────────────────────────────────────────────────────── */

.ngw-footer__bar { padding: 18px 0; }

.ngw-footer__bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.ngw-footer__copyright {
    font-size: var(--ngw-font-xs);
    color: rgba(255,255,255,.28);
    margin: 0;
}
.ngw-footer__copyright a {
    color: rgba(255,255,255,.38) !important;
    text-decoration: none !important;
    transition: color var(--ngw-transition);
}
.ngw-footer__copyright a:hover { color: rgba(255,255,255,.65) !important; }

.ngw-footer__legal {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.ngw-footer__legal a {
    font-size: var(--ngw-font-xs);
    color: rgba(255,255,255,.28) !important;
    text-decoration: none !important;
    transition: color var(--ngw-transition);
}
.ngw-footer__legal a:hover { color: rgba(255,255,255,.65) !important; }
.ngw-footer__legal span { color: rgba(255,255,255,.12); }

.ngw-footer__trust {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.ngw-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,.25);
    white-space: nowrap;
}
.ngw-trust-badge svg { opacity: .4; flex-shrink: 0; }


/* ─────────────────────────────────────────────────────────────
   17. RESPONSIVE
   ───────────────────────────────────────────────────────────── */

/* Tablet — ≤ 1024px */
@media (max-width: 1024px) {
    .ngw-nav,
    .ngw-header__actions { display: none; }
    .ngw-hamburger { display: flex; }
    .ngw-logo { margin-right: 0; flex: 1; }
    .ngw-header__inner { gap: 12px; }
}

/* Tablet — ≤ 900px */
@media (max-width: 900px) {
    .ngw-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .ngw-footer__col--brand {
        grid-column: 1 / -1;
        padding-right: 0;
    }
    .ngw-footer__tagline { max-width: 100%; }
}

/* Mobile — ≤ 768px */
@media (max-width: 768px) {
    :root {
        --ngw-header-h:    60px;
        --ngw-announce-h:  44px;
    }

    .ngw-announce__inner { font-size: 11.5px; gap: 7px; }

    /* Footer CTA strip */
    .ngw-footer__cta-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .ngw-footer__cta-actions {
        flex-direction: column;
        width: 100%;
    }
    .ngw-footer__cta-actions .ngw-btn {
        width: 100%;
        justify-content: center;
    }

    /* Footer bar */
    .ngw-footer__bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .ngw-footer__trust { gap: 10px; }
}

/* Small mobile — ≤ 480px */
@media (max-width: 480px) {
    :root { --ngw-announce-h: 48px; }
    .ngw-container { padding-inline: 16px; }

    .ngw-announce__badge { display: none; }
    .ngw-announce { padding-inline: 36px; }

    .ngw-footer__grid { grid-template-columns: 1fr; gap: 24px; }
    .ngw-footer__cta-strip { padding: 36px 0; }
    .ngw-footer__body { padding: 36px 0 24px; }

    /* Logo on mobile */
    .ngw-logo img,
    .ngw-logo .custom-logo,
    .ngw-logo .custom-logo-link img {
        height: 34px !important;
        max-width: 160px !important;
    }
}


/* ─────────────────────────────────────────────────────────────
   18. ELEMENTOR OVERRIDES
   ───────────────────────────────────────────────────────────── */

.elementor-location-header {
    position: sticky !important;
    top: 0;
    z-index: 1000;
}

body.ngw-announce-visible .elementor-location-header {
    top: var(--ngw-announce-h) !important;
}

.elementor-location-header .elementor-nav-menu {
    font-family: var(--ngw-font) !important;
}

.elementor-location-header .elementor-nav-menu > li > a {
    font-size: var(--ngw-font-base) !important;
    font-weight: 500 !important;
    color: var(--ngw-text-secondary) !important;
}

.elementor-location-header .elementor-nav-menu > li > a:hover,
.elementor-location-header .elementor-nav-menu > li.current-menu-item > a {
    color: var(--ngw-brand) !important;
}

.elementor-location-footer {
    background: var(--ngw-dark) !important;
}


/* ─────────────────────────────────────────────────────────────
   19. DARK MODE
   ───────────────────────────────────────────────────────────── */

@media (prefers-color-scheme: dark) {

    .ngw-header {
        background: rgba(15,23,42,.96);
        border-bottom-color: rgba(255,255,255,.07);
    }
    .ngw-header.ngw-header--scrolled {
        background: rgba(15,23,42,.99);
        box-shadow: 0 1px 16px rgba(0,0,0,.3);
    }

    .ngw-nav__trigger,
    .ngw-nav__link { color: rgba(255,255,255,.58); }
    .ngw-nav__trigger:hover,
    .ngw-nav__link:hover,
    .ngw-nav__item.ngw-is-open > .ngw-nav__trigger {
        color: rgba(255,255,255,.90);
        background: rgba(255,255,255,.06);
    }
    .ngw-nav__link--pricing { color: rgba(255,255,255,.88); }

    .ngw-mega, .ngw-dropdown {
        background: #1E293B;
        border-color: rgba(255,255,255,.08);
    }
    .ngw-mega__item:hover { background: rgba(255,255,255,.04); }
    .ngw-mega__icon { background: rgba(255,255,255,.06); color: rgba(255,255,255,.55); }
    .ngw-mega__item:hover .ngw-mega__icon { background: var(--ngw-brand-light); color: var(--ngw-brand); }
    .ngw-mega__title { color: rgba(255,255,255,.88); }
    .ngw-mega__desc { color: rgba(255,255,255,.38); }
    .ngw-mega__footer { border-top-color: rgba(255,255,255,.07); }
    .ngw-mega__secondary { color: rgba(255,255,255,.50); }
    .ngw-dropdown a { color: rgba(255,255,255,.58) !important; }
    .ngw-dropdown a:hover { background: rgba(255,255,255,.06); color: rgba(255,255,255,.88) !important; }
    .ngw-dropdown__divider { background: rgba(255,255,255,.07); }

    .ngw-btn--ghost { color: rgba(255,255,255,.60) !important; }
    .ngw-btn--ghost:hover { background: rgba(255,255,255,.07); color: rgba(255,255,255,.88) !important; }

    .ngw-hamburger { border-color: rgba(255,255,255,.12); }
    .ngw-hamburger:hover { background: rgba(255,255,255,.06); }
    .ngw-hamburger__line { background: rgba(255,255,255,.80); }

    .ngw-mobile-nav__panel { background: #0F172A; }
    .ngw-mobile-accordion__body { background: rgba(255,255,255,.03); }
    .ngw-mobile-accordion__toggle { color: rgba(255,255,255,.82); }
    .ngw-mobile-accordion__toggle:hover { background: rgba(255,255,255,.04); }
    .ngw-mobile-accordion__body a { color: rgba(255,255,255,.52); }
    .ngw-mobile-nav__link { color: rgba(255,255,255,.82); }
    .ngw-mobile-nav__top,
    .ngw-mobile-nav__list > li,
    .ngw-mobile-nav__footer { border-color: rgba(255,255,255,.07); }
    .ngw-mobile-nav__close { background: rgba(255,255,255,.07); color: rgba(255,255,255,.60); }
    .ngw-logo__text { color: rgba(255,255,255,.90); }
}
