/* ================================================================
   FireGuard Header Widget v2.0 — RAMZ Solutions Style
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ----------------------------------------------------------------
   CSS VARIABLES
---------------------------------------------------------------- */
.fg-header-wrapper {
    --fg-gold:        #C9A84C;
    --fg-gold-light:  #E2C47A;
    --fg-navy:        #1a2332;
    --fg-navy-dark:   #141b27;
    --fg-white:       #ffffff;
    --fg-bg:          #ffffff;
    --fg-text:        #2d3748;
    --fg-text-muted:  #718096;
    --fg-border:      #e2e8f0;
    --fg-ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

/* ----------------------------------------------------------------
   STICKY WRAPPER
---------------------------------------------------------------- */
.fg-header-wrapper {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
}

.elementor-section:has(.fg-header-wrapper),
.elementor-container:has(.fg-header-wrapper),
.elementor-column:has(.fg-header-wrapper),
.elementor-widget-wrap:has(.fg-header-wrapper),
.e-con:has(.fg-header-wrapper),
.e-con-inner:has(.fg-header-wrapper) {
    overflow: visible !important;
}

body:not(.elementor-editor-active) {
    padding-top: 80px;
}

/* ----------------------------------------------------------------
   ALERT BAR
---------------------------------------------------------------- */
.fg-alert-bar {
    background-color: var(--fg-navy);
    padding: 8px 20px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #a0aec0;
    max-height: 36px;
    overflow: hidden;
    opacity: 1;
    transition: max-height 0.4s var(--fg-ease),
                padding    0.4s var(--fg-ease),
                opacity    0.3s ease;
}

.fg-header-wrapper.fg-scrolled .fg-alert-bar {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
}

/* ----------------------------------------------------------------
   NAVBAR — White background
---------------------------------------------------------------- */
.fg-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 72px;
    background-color: var(--fg-white);
    border-bottom: 1px solid var(--fg-border);
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
    transition: height 0.4s var(--fg-ease),
                background 0.4s ease,
                box-shadow 0.4s ease;
}

.fg-header-wrapper.fg-scrolled .fg-nav {
    height: 62px;
    background-color: rgba(255,255,255,0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.1);
}

/* ----------------------------------------------------------------
   LOGO
---------------------------------------------------------------- */
.fg-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.fg-logo-icon { width: 28px; height: 28px; flex-shrink: 0; }
.fg-logo-icon svg { width: 100%; height: 100%; }
.fg-logo-image { height: 40px; width: auto; object-fit: contain; }

.fg-logo-title {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--fg-text);
    display: block;
    line-height: 1;
    letter-spacing: -0.3px;
    transition: font-size 0.4s var(--fg-ease);
}
.fg-header-wrapper.fg-scrolled .fg-logo-title { font-size: 16px; }

.fg-logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--fg-gold);
    font-weight: 600;
    display: block;
    margin-top: 3px;
}

/* ----------------------------------------------------------------
   DESKTOP NAV LINKS
---------------------------------------------------------------- */
.fg-nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}
.fg-nav-links a {
    text-decoration: none;
    color: var(--fg-text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    transition: color 0.2s ease;
    position: relative;
    padding-bottom: 2px;
}
.fg-nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--fg-gold);
    transition: width 0.3s var(--fg-ease);
}
.fg-nav-links a:hover,
.fg-nav-links a.fg-active { color: var(--fg-gold); }
.fg-nav-links a:hover::after,
.fg-nav-links a.fg-active::after { width: 100%; }

/* ----------------------------------------------------------------
   TWO-BUTTON CTA GROUP
---------------------------------------------------------------- */
.fg-cta-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* Outlined button — Download Profile */
.fg-cta-outline {
    display: inline-block;
    background-color: transparent;
    color: var(--fg-text);
    text-decoration: none;
    padding: 9px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    flex-shrink: 0;
    border: 1.5px solid #cbd5e0;
    border-radius: 4px;
    transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
    white-space: nowrap;
}
.fg-cta-outline:hover {
    border-color: var(--fg-text);
    color: var(--fg-text);
    background-color: rgba(0,0,0,0.03);
}

/* Solid dark button — Request a Quote */
.fg-cta {
    display: inline-block;
    background-color: var(--fg-navy);
    color: #fff;
    text-decoration: none;
    padding: 9px 20px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    flex-shrink: 0;
    border: 1.5px solid var(--fg-navy);
    border-radius: 4px;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.fg-cta:hover {
    background-color: #0f1826;
    border-color: #0f1826;
    color: #fff;
}

/* ----------------------------------------------------------------
   HAMBURGER
---------------------------------------------------------------- */
.fg-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: 1.5px solid var(--fg-border);
    border-radius: 4px;
    cursor: pointer;
    padding: 10px;
    flex-shrink: 0;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.fg-hamburger:hover {
    border-color: var(--fg-text-muted);
    background-color: #f7fafc;
}
.fg-hamburger span {
    display: block;
    width: 20px;
    height: 1.5px;
    background-color: var(--fg-text);
    border-radius: 2px;
    transform-origin: center;
    transition: transform 0.4s var(--fg-ease),
                opacity  0.3s ease,
                width    0.3s ease;
}
.fg-hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.fg-hamburger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.fg-hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ----------------------------------------------------------------
   OVERLAY
---------------------------------------------------------------- */
.fg-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 99998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.fg-overlay.is-open { opacity: 1; pointer-events: all; }

/* ----------------------------------------------------------------
   OFFCANVAS PANEL
---------------------------------------------------------------- */
.fg-offcanvas {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 88vw);
    height: 100dvh;
    height: 100vh;
    background-color: var(--fg-navy);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transform: translateX(110%);
    transition: transform 0.45s var(--fg-ease);
    overflow: hidden;
}
.fg-offcanvas.is-open { transform: translateX(0); }

.fg-oc-header,
.fg-oc-alert,
.fg-oc-nav,
.fg-oc-footer { position: relative; z-index: 1; }

.fg-oc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.fg-oc-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.fg-oc-logo-icon { width: 28px; height: 28px; flex-shrink: 0; }
.fg-oc-logo-icon svg { width: 100%; height: 100%; }
.fg-oc-logo-title {
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
    display: block;
    line-height: 1;
}
.fg-oc-logo-sub {
    font-family: 'Inter', sans-serif;
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--fg-gold);
    font-weight: 600;
    display: block;
    margin-top: 3px;
}
.fg-oc-close {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s ease;
}
.fg-oc-close:hover { background: rgba(255,255,255,0.12); }
.fg-oc-close svg { width: 15px; height: 15px; stroke: #ffffff; }

.fg-oc-alert {
    background: var(--fg-gold);
    padding: 8px 24px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    flex-shrink: 0;
}

.fg-oc-nav {
    flex: 1;
    padding: 8px 0;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}
.fg-oc-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: rgba(255,255,255,0.72);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.2px;
    padding: 14px 24px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    opacity: 0;
    transform: translateX(16px);
    transition: color 0.2s ease,
                background 0.2s ease,
                opacity 0.4s ease,
                transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.fg-oc-nav a:nth-child(1) { transition-delay: 0.04s; }
.fg-oc-nav a:nth-child(2) { transition-delay: 0.08s; }
.fg-oc-nav a:nth-child(3) { transition-delay: 0.12s; }
.fg-oc-nav a:nth-child(4) { transition-delay: 0.16s; }
.fg-oc-nav a:nth-child(5) { transition-delay: 0.20s; }
.fg-oc-nav a:nth-child(6) { transition-delay: 0.24s; }
.fg-oc-nav a:nth-child(7) { transition-delay: 0.28s; }
.fg-offcanvas.is-open .fg-oc-nav a { opacity: 1; transform: translateX(0); }
.fg-oc-nav a:hover { color: #ffffff; background: rgba(255,255,255,0.04); }

.fg-oc-arrow { width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; opacity: 0.35; }
.fg-oc-arrow svg { width: 13px; height: 13px; stroke: #ffffff; }

.fg-oc-footer {
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease 0.28s, transform 0.4s var(--fg-ease) 0.28s;
}
.fg-offcanvas.is-open .fg-oc-footer { opacity: 1; transform: translateY(0); }

.fg-oc-cta {
    display: block;
    background: var(--fg-gold);
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 13px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 4px;
    margin-bottom: 16px;
    transition: background 0.2s ease;
}
.fg-oc-cta:hover { background: var(--fg-gold-light); color: #fff; }

.fg-oc-meta { display: flex; align-items: center; gap: 12px; }
.fg-oc-badge {
    width: 36px; height: 36px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.fg-oc-badge svg { width: 15px; height: 15px; }
.fg-oc-meta-text { font-family: 'Inter', sans-serif; font-size: 11px; color: rgba(255,255,255,0.45); line-height: 1.5; }
.fg-oc-meta-text strong { color: #ffffff; font-weight: 600; display: block; font-size: 13px; }

/* ================================================================
   DROPDOWN MENUS — Clean RAMZ style
   ================================================================ */

.fg-nav-item { position: relative; list-style: none; }

.fg-nav-chevron {
    display: inline-flex;
    align-items: center;
    margin-left: 5px;
    transition: transform 0.3s var(--fg-ease);
}
.fg-nav-chevron svg {
    width: 11px; height: 11px;
    stroke: currentColor;
    display: block;
}

.fg-nav-item.fg-dropdown-open > a .fg-nav-chevron,
.fg-has-dropdown:hover > a .fg-nav-chevron {
    transform: rotate(180deg);
}

.fg-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 210px;
    background-color: var(--fg-navy);
    border: 1px solid rgba(255,255,255,0.08);
    border-top: 2px solid var(--fg-gold);
    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
    z-index: 99997;
    pointer-events: none;
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transition:
        opacity   0.28s var(--fg-ease),
        transform 0.28s var(--fg-ease),
        clip-path 0.3s var(--fg-ease);
    overflow: hidden;
    border-radius: 0 0 6px 6px;
}

.fg-dropdown-glow { display: none; }
.fg-dropdown::before { display: none; }

.fg-has-dropdown:hover .fg-dropdown,
.fg-nav-item.fg-dropdown-open .fg-dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
    clip-path: inset(0 0 0% 0);
}

.fg-dropdown-inner { padding: 8px 0; position: relative; z-index: 1; }

/* Hide header row */
.fg-dropdown-header { display: none; }

.fg-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fg-dropdown-item a {
    display: flex;
    align-items: center;
    padding: 13px 20px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    opacity: 0;
    transform: translateY(-4px);
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        background-color 0.18s ease,
        padding-left 0.2s ease;
}
.fg-dropdown-item:last-child a { border-bottom: none; }

.fg-dropdown-item:nth-child(1) a { transition-delay: 0.03s; }
.fg-dropdown-item:nth-child(2) a { transition-delay: 0.06s; }
.fg-dropdown-item:nth-child(3) a { transition-delay: 0.09s; }
.fg-dropdown-item:nth-child(4) a { transition-delay: 0.12s; }
.fg-dropdown-item:nth-child(5) a { transition-delay: 0.15s; }
.fg-dropdown-item:nth-child(6) a { transition-delay: 0.18s; }

.fg-has-dropdown:hover .fg-dropdown-item a,
.fg-nav-item.fg-dropdown-open .fg-dropdown-item a {
    opacity: 1;
    transform: translateY(0);
}

.fg-dropdown-item a:hover {
    background-color: rgba(255,255,255,0.05);
    padding-left: 26px !important;
}

/* Hide decorative elements */
.fg-dropdown-dot { display: none; }
.fg-dropdown-icon { display: none; }
.fg-dropdown-desc { display: none; }
.fg-dropdown-arrow { display: none; }

.fg-dropdown-text { flex: 1; }
.fg-dropdown-label {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.1px;
    color: rgba(255,255,255,0.8);
    line-height: 1.3;
    transition: color 0.18s ease;
}
.fg-dropdown-item a:hover .fg-dropdown-label { color: #ffffff; }

/* ================================================================
   OFFCANVAS ACCORDION SUBMENUS
   ================================================================ */
.fg-oc-item { border-bottom: 1px solid rgba(255,255,255,0.05); }

.fg-oc-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: rgba(255,255,255,0.72);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.2px;
    padding: 14px 24px;
    opacity: 0;
    transform: translateX(16px);
    transition: color 0.2s ease, background 0.2s ease, opacity 0.4s ease, transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.fg-offcanvas.is-open .fg-oc-accordion-btn { opacity: 1; transform: translateX(0); }
.fg-oc-accordion-btn:hover { color: #ffffff; background: rgba(255,255,255,0.04); }
.fg-oc-accordion-btn[aria-expanded="true"] { color: var(--fg-gold); }
.fg-oc-accordion-btn[aria-expanded="true"] .fg-oc-arrow svg { transform: rotate(180deg); }
.fg-oc-accordion-btn .fg-oc-arrow svg { stroke: rgba(255,255,255,0.35); transition: transform 0.3s var(--fg-ease); }

.fg-oc-sub { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--fg-ease); }
.fg-oc-sub.is-open { max-height: 600px; }

.fg-oc-sub-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 11px 24px 11px 36px !important;
    border-bottom: none !important;
    border-left: none !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    color: rgba(255,255,255,0.5) !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    letter-spacing: 0.1px !important;
    background: rgba(0,0,0,0.12) !important;
    transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease !important;
}
.fg-oc-sub-link:hover {
    color: rgba(255,255,255,0.88) !important;
    background: rgba(255,255,255,0.05) !important;
    padding-left: 42px !important;
}
.fg-oc-sub-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.2); flex-shrink: 0; transition: background 0.2s ease; }
.fg-oc-sub-link:hover .fg-oc-sub-dot { background: var(--fg-gold); }
.fg-oc-sub-text { display: flex; flex-direction: column; gap: 1px; }
.fg-oc-sub-text span { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 400; color: inherit; }
.fg-oc-sub-text small { font-family: 'Inter', sans-serif; font-size: 11px; color: rgba(255,255,255,0.3); }

.fg-oc-item:nth-child(1) .fg-oc-accordion-btn { transition-delay: 0.04s; }
.fg-oc-item:nth-child(2) .fg-oc-accordion-btn { transition-delay: 0.08s; }
.fg-oc-item:nth-child(3) .fg-oc-accordion-btn { transition-delay: 0.12s; }
.fg-oc-item:nth-child(4) .fg-oc-accordion-btn { transition-delay: 0.16s; }
.fg-oc-item:nth-child(5) .fg-oc-accordion-btn { transition-delay: 0.20s; }

/* ================================================================
   ICON BUTTONS GROUP
   ================================================================ */
.fg-icon-btns-group { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.fg-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background-color: var(--fg-navy);
    color: #ffffff;
    border: none;
    cursor: pointer;
    text-decoration: none;
    flex-shrink: 0;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.fg-icon-btn:hover { background-color: #0f1826; transform: scale(1.06); color: #ffffff; }
.fg-icon-btn svg { width: 17px; height: 17px; stroke: #ffffff; fill: none; pointer-events: none; flex-shrink: 0; }
.fg-icon-btn-img { width: 55%; height: 55%; object-fit: contain; display: block; pointer-events: none; }
.fg-lang-label { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 0.5px; color: #ffffff; line-height: 1; pointer-events: none; }

/* ================================================================
   RESPONSIVE
   ================================================================ */

/* ── Large Desktop: 1280px + ── */
@media (min-width: 1280px) {
    .fg-nav { padding: 0 56px; }
    .fg-nav-links { gap: 40px; }
}

/* ── Desktop / Small Desktop: 1025px – 1279px ── */
@media (max-width: 1279px) and (min-width: 1025px) {
    .fg-nav { padding: 0 36px; }
    .fg-nav-links { gap: 28px; }
    .fg-nav-links a { font-size: 12.5px; }
    .fg-cta, .fg-cta-outline { padding: 8px 16px; font-size: 12.5px; }
}

/* ── Tablet Landscape / Small Desktop: 769px – 1024px ── */
@media (max-width: 1024px) and (min-width: 769px) {
    .fg-nav { padding: 0 24px; height: 68px; }
    .fg-nav-links { gap: 18px; }
    .fg-nav-links a { font-size: 11.5px; letter-spacing: 0.2px; }
    .fg-cta-group { gap: 8px; }
    .fg-cta, .fg-cta-outline { padding: 7px 12px; font-size: 12px; }
    .fg-icon-btns-group { gap: 6px; }
    .fg-icon-btn { width: 34px; height: 34px; }
    .fg-alert-bar { font-size: 11.5px; }
    body:not(.elementor-editor-active) { padding-top: 76px; }
}

/* ── Tablet Portrait: 600px – 768px ── */
@media (max-width: 768px) {
    .fg-nav { padding: 0 20px; height: 64px; }
    .fg-nav-links,
    .fg-cta,
    .fg-cta-outline,
    .fg-cta-group { display: none !important; }
    .fg-hamburger { display: flex !important; }
    .fg-alert-bar { font-size: 11px; padding: 7px 16px; }
    body:not(.elementor-editor-active) { padding-top: 64px; }
    .fg-icon-btns-group { gap: 6px; }
    .fg-icon-btn { width: 32px; height: 32px; }
    .fg-icon-btn svg { width: 15px; height: 15px; }
}

/* ── Mobile Large: 480px – 599px ── */
@media (max-width: 599px) {
    .fg-nav { padding: 0 16px; height: 60px; }
    .fg-alert-bar { font-size: 10.5px; padding: 6px 12px; letter-spacing: 0.1px; }
    body:not(.elementor-editor-active) { padding-top: 60px; }
    .fg-logo-title { font-size: 16px; }
    .fg-logo-sub { font-size: 8px; letter-spacing: 1.5px; }
    .fg-icon-btns-group { gap: 5px; }
    .fg-icon-btn { width: 30px; height: 30px; }
    .fg-icon-btn svg { width: 14px; height: 14px; }
    .fg-hamburger { width: 36px; height: 36px; }
}

/* ── Mobile Small: 360px – 479px ── */
@media (max-width: 479px) {
    .fg-nav { padding: 0 14px; height: 58px; }
    .fg-alert-bar { font-size: 10px; padding: 5px 10px; }
    body:not(.elementor-editor-active) { padding-top: 58px; }
    .fg-logo-title { font-size: 15px; }
    .fg-logo-sub { display: none; }
    .fg-logo-icon, .fg-oc-logo-icon { width: 24px; height: 24px; }
    .fg-logo-image { height: 34px; }
    .fg-icon-btns-group { gap: 4px; }
    .fg-icon-btn { width: 28px; height: 28px; }
    .fg-icon-btn svg { width: 13px; height: 13px; }
    .fg-hamburger { width: 34px; height: 34px; gap: 4px; }
    .fg-hamburger span { width: 18px; }
}

/* ── Mobile XS: up to 359px ── */
@media (max-width: 359px) {
    .fg-nav { padding: 0 12px; height: 54px; }
    .fg-alert-bar { display: none; }
    body:not(.elementor-editor-active) { padding-top: 54px; }
    .fg-logo-title { font-size: 14px; }
    .fg-icon-btn { width: 26px; height: 26px; }
    .fg-icon-btn svg { width: 12px; height: 12px; }
    .fg-hamburger { width: 32px; height: 32px; }
    .fg-hamburger span { width: 16px; }
}

/* ── Offcanvas: always full-height on all mobile sizes ── */
@media (max-width: 768px) {
    .fg-offcanvas { width: min(320px, 90vw); }
}
@media (max-width: 479px) {
    .fg-offcanvas { width: 88vw; }
    .fg-oc-header { padding: 16px 20px; }
    .fg-oc-nav a,
    .fg-oc-accordion-btn { padding: 12px 20px; font-size: 14px; }
    .fg-oc-sub-link { padding: 10px 20px 10px 32px !important; }
    .fg-oc-footer { padding: 16px 20px; }
    .fg-oc-logo-title { font-size: 15px; }
}
@media (max-width: 359px) {
    .fg-offcanvas { width: 92vw; }
    .fg-oc-header { padding: 14px 16px; }
    .fg-oc-nav a,
    .fg-oc-accordion-btn { padding: 11px 16px; font-size: 13px; }
    .fg-oc-sub-link { padding: 9px 16px 9px 28px !important; }
    .fg-oc-footer { padding: 14px 16px; }
    .fg-oc-cta { padding: 11px; font-size: 12px; }
}

/* ── WordPress Admin Bar offsets ── */
.admin-bar .fg-header-wrapper { top: 32px !important; }
@media screen and (max-width: 782px) {
    .admin-bar .fg-header-wrapper { top: 46px !important; }
}
@media screen and (max-width: 600px) {
    .admin-bar .fg-header-wrapper { top: 0 !important; }
}

/* ================================================================
   SEARCH OVERLAY
   ================================================================ */
.fg-search-overlay {
    position: fixed; inset: 0; z-index: 999999;
    background: rgba(10,18,30,0.88);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.fg-search-overlay.is-open { opacity: 1; pointer-events: all; }
.fg-search-inner { width: min(600px, 92vw); position: relative; }
.fg-search-close {
    position: absolute; top: -46px; right: 0;
    width: 34px; height: 34px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: background 0.2s ease;
}
.fg-search-close:hover { background: rgba(255,255,255,0.15); }
.fg-search-close svg { width: 15px; height: 15px; stroke: #ffffff; }
.fg-search-form {
    display: flex; align-items: center;
    border-bottom: 2px solid rgba(201,168,76,0.6);
    padding-bottom: 8px; gap: 12px;
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.35s ease 0.1s, transform 0.35s var(--fg-ease) 0.1s;
}
.fg-search-overlay.is-open .fg-search-form { opacity: 1; transform: translateY(0); }
.fg-search-input {
    flex: 1; background: transparent; border: none; outline: none;
    font-family: 'Inter', sans-serif; font-size: 26px; font-weight: 300; color: #ffffff; padding: 8px 0;
}
.fg-search-input::placeholder { color: rgba(255,255,255,0.3); }
.fg-search-submit { background: none; border: none; cursor: pointer; padding: 4px; display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease; }
.fg-search-submit:hover { transform: scale(1.1); }
.fg-search-submit svg { width: 22px; height: 22px; stroke: var(--fg-gold); }
