/* =============================================================
   WORLD GREEN | ARCHITECTURAL CONTACT NAVIGATION v21
   A different approach: two independent light surfaces, not one
   full-width dark bar. Reuses the proven v11 Blade / JS menu.
   This file REPLACES the v19 navbar stylesheet reference;
   it must be loaded after worldgreen-nav-v11 and v18 styles.
   ============================================================= */

body .wgn11-header {
    --wgn-ink: #123349;
    --wgn-deep: #006f5d;
    --wgn-green: #028e73;
    --wgn-mint: #e7f7ef;
    top: 16px;
    margin-bottom: -104px;
}

/* No enclosing rectangular slab: let the hero breathe between the two islands. */
body .wgn11-header .wgn11-shell {
    width: min(1580px, calc(100% - 48px));
    min-height: 88px;
    margin-inline: auto;
    padding: 0;
    gap: clamp(16px, 1.5vw, 24px);
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    justify-content: space-between;
}
body .wgn11-header .wgn11-shell::before,
body .wgn11-header .wgn11-shell::after {
    content: none;
    display: none;
}

/* Porcelain identity tile. Logo receives a clear, deliberate home. */
body .wgn11-header .wgn11-brand {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    min-width: 300px;
    align-self: center;
    gap: 11px;
    min-height: 82px;
    padding: 8px 24px 8px 11px;
    border: 1px solid rgba(255,255,255,.94);
    border-radius: 23px;
    color: #183c50;
    background: rgba(255,255,255,.975);
    box-shadow: 0 12px 34px rgba(8,34,48,.14), 0 2px 5px rgba(8,34,48,.05);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    transition: transform .26s ease, box-shadow .26s ease;
}
body .wgn11-header .wgn11-brand::after {
    content: '';
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 3px;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(90deg,#55c93e,#079d76 56%,#1776b7);
    opacity: .8;
    pointer-events: none;
}
body .wgn11-header .wgn11-brand:hover,
body .wgn11-header .wgn11-brand:focus-visible {
    background: #fff;
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(8,34,48,.18);
}
body .wgn11-header .wgn11-brand__emblem {
    display: grid;
    place-items: center;
    flex: 0 0 61px;
    width: 61px;
    height: 61px;
    padding: 4px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e0f2ec;
    background: linear-gradient(145deg,#f8fffc,#eef8f6);
    box-shadow: inset 0 1px 0 #fff;
}
body .wgn11-header .wgn11-brand__emblem img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}
body .wgn11-header .wgn11-brand__nameplate { gap: 3px; }
body .wgn11-header .wgn11-brand__nameplate strong {
    color: #143c58;
    font-size: clamp(25px,1.8vw,31px);
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: -.055em;
    white-space: nowrap;
}
body .wgn11-header .wgn11-brand__nameplate strong span { color: #079b78; }
body .wgn11-header .wgn11-brand__nameplate small {
    color: #426477;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .055em;
    white-space: nowrap;
}

/* Navigation is a SECOND standalone, softly luminous island. */
body .wgn11-header .wgn11-desktop {
    flex: 1 1 auto;
    justify-content: space-between;
    display: flex;
    align-items: center;
    gap: clamp(2px,.38vw,8px);
    min-width: 0;
    min-height: 74px;
    padding: 7px clamp(8px,.8vw,15px);
    border: 1px solid rgba(255,255,255,.96);
    border-radius: 22px;
    background: rgba(250,253,252,.97);
    box-shadow: 0 12px 38px rgba(8,34,48,.15), 0 2px 5px rgba(8,34,48,.05);
    backdrop-filter: blur(24px) saturate(130%);
    -webkit-backdrop-filter: blur(24px) saturate(130%);
}
body .wgn11-header .wgn11-link {
    position: relative;
    min-height: 46px;
    padding: 10px clamp(10px,.73vw,14px);
    border: 0;
    border-radius: 13px;
    background: transparent;
    color: #254154;
    font-size: clamp(12.5px,.83vw,14px);
    font-weight: 730;
    line-height: 1.25;
    transform: none;
    transition: background-color .24s ease, color .24s ease;
}
body .wgn11-header .wgn11-link:not(.wgn11-link--unavailable)::after {
    content: '';
    position: absolute;
    height: 2px;
    bottom: 3px;
    left: 29%;
    right: 29%;
    background: #049c78;
    border-radius: 10px;
    opacity: 0;
    transform: scaleX(.35);
    transition: opacity .24s ease, transform .24s ease;
}
body .wgn11-header .wgn11-link:not(.wgn11-link--unavailable):hover,
body .wgn11-header .wgn11-link:not(.wgn11-link--unavailable):focus-visible,
body .wgn11-header .wgn11-link.is-active {
    color: #04755d;
    background: #eaf8f1;
    transform: none;
}
body .wgn11-header .wgn11-link:hover::after,
body .wgn11-header .wgn11-link:focus-visible::after,
body .wgn11-header .wgn11-link.is-active::after {
    opacity: 1;
    transform: scaleX(1);
}
body .wgn11-header .wgn11-link--unavailable {
    color: #8da1ac;
    cursor: default;
}
body .wgn11-header .wgn11-chevron { color: #0c8273; }

/* Reserved, confident contact action, no loud gradient. */
body .wgn11-header .wgn11-contact {
    min-height: 49px;
    padding: 11px clamp(15px,1vw,23px);
    border: 1px solid #095b5a;
    border-radius: 13px;
    color: #fff;
    background: #086f65;
    box-shadow: 0 5px 16px rgba(8,111,101,.16);
    font-size: clamp(12px,.81vw,14px);
    font-weight: 800;
    transition: background .23s ease, transform .23s ease, box-shadow .23s ease;
}
body .wgn11-header .wgn11-contact:hover,
body .wgn11-header .wgn11-contact:focus-visible {
    background: #07544e;
    color: #fff;
    transform: translateY(-2px);
    filter: none;
    box-shadow: 0 10px 23px rgba(8,111,101,.23);
}
body .wgn11-header .wgn11-contact svg { width: 15px; height: 15px; }

/* Restrained matte-white popovers + slightly less 'card grid' styling. */
body .wgn11-header .wgn11-popover { top: calc(100% + 9px); }
body .wgn11-header .wgn11-popover__glass {
    border-radius: inherit;
    border: 1px solid #e3eee9;
    background: rgba(255,255,255,.99);
    box-shadow: 0 22px 52px rgba(9,41,58,.18), 0 4px 10px rgba(9,41,58,.05);
}
body .wgn11-header .wgn11-popover__glass::before {
    background: linear-gradient(90deg,transparent,#38ba84,#1a8db0,transparent);
}
body .wgn11-header .wgn11-popover__arrow {
    background: #fff;
    border-color: #e3eee9;
}
body .wgn11-header .wgn11-item {
    min-height: 63px;
    border: 1px solid #edf1ef;
    border-radius: 13px;
    background: #fbfdfc;
    box-shadow: none;
    transform: none;
    transition: color .24s ease, background-color .24s ease, border-color .24s ease;
}
body .wgn11-header .wgn11-item:not(.wgn11-item--unavailable):hover,
body .wgn11-header .wgn11-item:not(.wgn11-item--unavailable):focus-visible {
    transform: none;
    color: #075b50;
    background: #ecf8f2;
    border-color: #a7e5c8;
    box-shadow: none;
}
body .wgn11-header .wgn11-item__icon {
    color: #07876d;
    background: #e5f7ed;
    border-radius: 11px;
}
body .wgn11-header .wgn11-item:not(.wgn11-item--unavailable):hover .wgn11-item__icon { background: #047c68; color: #fff; }
body .wgn11-header .wgn11-item__label { color: #1c4353; }
body .wgn11-header .wgn11-item--unavailable { color: #8294a0; }
body .wgn11-header .wgn11-item--unavailable .wgn11-item__label { color: #8497a1; }
body .wgn11-header .wgn11-item--unavailable .wgn11-item__icon { background: #edf3f3; color: #91a5aa; }

/* Mobile/tablet: ONE crisp porcelain bar with a well-defined menu toggle. */
@media (min-width: 1280px) and (max-width: 1540px) {
    body .wgn11-header .wgn11-shell { width: calc(100% - 34px); gap: 12px; }
    body .wgn11-header .wgn11-brand { min-width: 270px; padding-right: 12px; gap: 8px; min-height: 76px; }
    body .wgn11-header .wgn11-brand__emblem { width: 55px; height: 55px; flex-basis: 55px; }
    body .wgn11-header .wgn11-brand__nameplate strong { font-size: clamp(23px,1.85vw,28px); }
    body .wgn11-header .wgn11-brand__nameplate small { font-size: 8px; }
    body .wgn11-header .wgn11-desktop { min-height: 70px; padding: 6px 7px; gap: 1px; }
    body .wgn11-header .wgn11-link { font-size: clamp(12px,.85vw,13px); padding-inline: clamp(6px,.6vw,9px); }
    body .wgn11-header .wgn11-contact { font-size: 12px; padding-inline: 13px; }
}
@media (max-width: 1279px) {
    body .wgn11-header { top: 11px; margin-bottom: -87px; }
    body .wgn11-header .wgn11-shell {
        width: calc(100% - 26px);
        min-height: 84px;
        padding: 9px 13px;
        gap: 12px;
        border: 1px solid rgba(255,255,255,.95);
        border-radius: 21px;
        background: rgba(255,255,255,.98);
        box-shadow: 0 13px 35px rgba(8,34,48,.17);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    body .wgn11-header .wgn11-brand {
        min-width: 0;
        gap: 11px;
        padding: 0;
        min-height: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        backdrop-filter: none;
    }
    body .wgn11-header .wgn11-brand::after { content: none; }
    body .wgn11-header .wgn11-brand:hover { transform: none; box-shadow: none; }
    body .wgn11-header .wgn11-desktop { display: none !important; }
    body .wgn11-header .wgn11-popover { display: none !important; }
    body .wgn11-header .wgn11-brand__nameplate strong { font-size: clamp(25px,3vw,31px); }
    body .wgn11-header .wgn11-brand__nameplate small { font-size: 9px; }
    body .wgn11-header .wgn11-brand__emblem { width: 57px; height: 57px; flex-basis: 57px; }
    body .wgn11-header .wgn11-mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 52px;
        width: 52px;
        height: 50px;
        border: 1px solid #c6e8dc;
        border-radius: 14px;
        background: #edf8f2;
        color: #076b60;
    }
    body .wgn11-header .wgn11-drawer {
        background: rgba(255,255,255,.995);
        border: 1px solid #dfebe5;
        box-shadow: 0 23px 55px rgba(11,41,55,.2);
    }
}
@media (max-width: 650px) {
    body .wgn11-header { top: 8px; margin-bottom: -79px; }
    body .wgn11-header .wgn11-shell {
        width: calc(100% - 20px);
        min-height: 76px;
        padding: 7px 10px;
        border-radius: 17px;
    }
    body .wgn11-header .wgn11-brand { gap: 8px; }
    body .wgn11-header .wgn11-brand__emblem { width: 51px; height: 51px; flex-basis: 51px; border-radius: 11px; }
    body .wgn11-header .wgn11-brand__nameplate strong { font-size: clamp(21px,6vw,26px); }
    body .wgn11-header .wgn11-brand__nameplate small { font-size: clamp(7px,1.85vw,9px); letter-spacing: .02em; }
    body .wgn11-header .wgn11-mobile-toggle {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
        padding: 10px;
        border-radius: 12px;
    }
    body .wgn11-header .wgn11-drawer { width: 100%; max-height: calc(100dvh - 106px); }
}
@media (max-width: 380px) {
    body .wgn11-header .wgn11-brand__emblem { width: 44px; height: 44px; flex-basis: 44px; }
    body .wgn11-header .wgn11-brand__nameplate strong { font-size: 20px; }
    body .wgn11-header .wgn11-brand__nameplate small { font-size: 7px; }
}
@media (prefers-reduced-motion: reduce) {
    body .wgn11-header *, body .wgn11-header *::before, body .wgn11-header *::after {
        transition: none !important;
    }
}

/* ===========================================================
   WORLD GREEN — ARCHITECTURAL HEADER v21
   The v20 light-panel appearance + a refined slim contact row.
   This file REPLACES v20. It is not an additional stylesheet.
   =========================================================== */

@media (min-width: 1280px) {
    body .wgn11-header { top: 6px; margin-bottom: -130px; }
    body .wgn11-header .wgn11-shell {
        width: min(1900px, calc(100% - 22px));
        min-height: 124px;
        gap: 8px;
        align-items: stretch;
    }
    body .wgn11-header .wgn11-brand {
        min-width: 300px;
        min-height: 120px;
        height: auto;
        padding: 12px 18px 12px 12px;
        gap: 12px;
        border-radius: 22px;
    }
    body .wgn11-header .wgn11-brand__emblem {
        flex-basis: 76px;
        width: 76px;
        height: 76px;
        border-radius: 17px;
    }
    body .wgn11-header .wgn11-brand__nameplate strong { font-size: clamp(27px, 1.8vw, 34px); }
    body .wgn11-header .wgn11-brand__nameplate small { font-size: clamp(8px, .57vw, 10px); }

    /* Single airy capsule for contact details and navigation, not two stacked bars. */
    body .wgn11-header .wgn21-nav-stack {
        display: flex;
        flex: 1 1 auto;
        min-width: 0;
        min-height: 120px;
        flex-direction: column;
        justify-content: center;
        padding: 10px 12px 9px;
        border: 1px solid rgba(255,255,255,.98);
        border-radius: 22px;
        background: rgba(252,254,253,.98);
        box-shadow: 0 12px 34px rgba(8,34,48,.14), 0 2px 5px rgba(8,34,48,.05);
        backdrop-filter: blur(24px) saturate(130%);
        -webkit-backdrop-filter: blur(24px) saturate(130%);
    }
    body .wgn11-header .wgn21-utility {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: clamp(14px, 1.8vw, 30px);
        min-height: 35px;
        padding: 0 15px 9px;
        border-bottom: 1px solid rgba(21,91,102,.10);
    }
    body .wgn11-header .wgn21-utility a {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-width: 0;
        color: #436676;
        font-size: 12px;
        font-weight: 670;
        line-height: 1.25;
        letter-spacing: .005em;
        white-space: nowrap;
        transition: color .2s ease;
    }
    body .wgn11-header .wgn21-utility a:hover,
    body .wgn11-header .wgn21-utility a:focus-visible { color: #007c64; }
    body .wgn11-header .wgn21-utility svg {
        width: 16px;
        height: 16px;
        color: #088e77;
        stroke-width: 2;
    }
    body .wgn11-header .wgn21-nav-stack .wgn11-desktop {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: space-between;
        gap: clamp(2px, .45vw, 12px);
        min-width: 0;
        min-height: 64px;
        padding: 9px 3px 0;
        border: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    body .wgn11-header .wgn11-link { padding-inline: clamp(8px, .78vw, 18px); }
    body .wgn11-header .wgn11-contact { min-height: 46px; }
    body .wgn11-header .wgn11-popover { top: calc(100% + 8px); }
}

@media (min-width: 1280px) and (max-width: 1540px) {
    body .wgn11-header .wgn11-shell { width: calc(100% - 16px); gap: 7px; }
    body .wgn11-header .wgn11-brand {
        min-width: 262px;
        min-height: 114px;
        padding-inline: 9px;
        gap: 8px;
    }
    body .wgn11-header .wgn11-brand__emblem {
        flex-basis: 62px;
        width: 62px;
        height: 62px;
    }
    body .wgn11-header .wgn11-brand__nameplate strong { font-size: 26px; }
    body .wgn11-header .wgn11-brand__nameplate small { font-size: 8px; }
    body .wgn11-header .wgn21-nav-stack {
        min-height: 114px;
        padding: 7px 6px 5px;
    }
    body .wgn11-header .wgn21-utility { padding: 0 10px 5px; }
    body .wgn11-header .wgn21-nav-stack .wgn11-desktop { min-height: 64px; padding: 8px 0 0; gap: 1px; }
    body .wgn11-header .wgn11-link { font-size: 12px; padding-inline: clamp(5px, .5vw, 10px); }
    body .wgn11-header .wgn11-contact { padding-inline: 11px; font-size: 12px; }
}

@media (max-width: 1279px) {
    /* Mobile keeps a single clear bar, not a space-wasting second panel. */
    body .wgn11-header { top: 6px; margin-bottom: -89px; }
    body .wgn11-header .wgn11-shell { width: calc(100% - 16px); min-height: 87px; }
    body .wgn11-header .wgn21-nav-stack { display: none !important; }
    body .wgn11-header .wgn11-brand__emblem { width: 61px; height: 61px; flex-basis: 61px; }
    body .wgn11-header .wgn21-drawer-contact {
        display: grid;
        gap: 10px;
        margin-top: 17px;
        padding: 16px 13px 4px;
        border-top: 1px solid #dceee7;
    }
    body .wgn11-header .wgn21-drawer-contact a {
        display: flex;
        gap: 10px;
        align-items: center;
        color: #176a67;
        font-size: 13px;
        text-decoration: none;
        overflow-wrap: anywhere;
    }
    body .wgn11-header .wgn21-drawer-contact svg { width: 17px; height: 17px; }
}
@media (max-width: 650px) {
    body .wgn11-header { top: 5px; margin-bottom: -81px; }
    body .wgn11-header .wgn11-shell { width: calc(100% - 12px); min-height: 80px; }
    body .wgn11-header .wgn11-brand__emblem { width: 53px; height: 53px; flex-basis: 53px; }
}
@media (prefers-reduced-motion: reduce) {
    body .wgn11-header .wgn21-utility a { transition: none; }
}
