/* =========================================================
   Golden Gates Solutions — Header
   Concept: "automatic gate" — a slim sensor rail with a light
   that glides along a track (nav indicator), a CTA whose two
   halves slide apart like door panels on hover, a burger that
   opens into an X like two doors parting. Solid surface, no
   glassmorphism — crisp and mechanical rather than soft/luxury.
   ========================================================= */

body{margin:0;padding-top:150px;} /* 112px original header + ~38px topbar */

.ggs-header{
	/* No overflow:hidden — the sensor-rail node sits slightly outside
	   this box (bottom:-2px) and would get clipped; the page-level
	   overflow-x:hidden (style.css) already guards against any
	   horizontal bleed from the glow blob below. */
	position:fixed;top:0;inset-inline:0;z-index:100;
	background:var(--surface);
	border-bottom:1px solid var(--border);
	transform:translateY(0);
	transition:transform .55s cubic-bezier(.65,0,.35,1),box-shadow .4s var(--ease);
}
.ggs-header.is-scrolled{box-shadow:0 14px 34px -20px rgba(5,23,84,.32);}

/* A whisper of the footer's glow-orb language up here too, at light-
   surface strength — the thread that ties the two ends of the page
   together instead of the header reading as a separate design system. */
.ggs-header::before{
	content:"";position:absolute;top:-140px;inset-inline-end:-80px;z-index:0;
	width:340px;height:340px;border-radius:50%;pointer-events:none;
	background:radial-gradient(circle,rgba(var(--gold-rgb),.09),transparent 70%);
}
.ggs-header-inner{position:relative;z-index:1;}
/* Always sticky: the whole header (topbar + nav) stays fixed and fully
   visible for the entire scroll, never sliding away — header.js no
   longer adds an is-hidden class, but this rule is kept harmless/inert
   in case anything else still references it. */
.ggs-header.is-hidden{transform:translateY(0);}

/* WP admin toolbar accommodation: the toolbar is itself position:fixed
   at the true viewport top (like our header), and WordPress core only
   shifts the in-flow document (html{margin-top}) to make room for it —
   a position:fixed element ignores that margin entirely and stays
   pinned at real y:0, so without this our header would sit partly
   hidden behind the toolbar's higher z-index, while body's own
   padding-top (sized for the header alone) left a toolbar-height gap
   between the header's visible bottom edge and the hero section below.
   Shifting the header down by exactly the toolbar's height (WordPress's
   own 782px breakpoint for the 32px->46px height change) closes that
   gap without touching body's padding-top at all. */
@media (min-width:783px){
	body.admin-bar .ggs-header{top:32px;}
}
@media (max-width:782px){
	body.admin-bar .ggs-header{top:46px;}
}

/* ---- Topbar: phone/email + social, above the main nav ---- */
.ggs-topbar{background:var(--navy-dark);color:rgba(255,255,255,.82);}
.ggs-topbar-inner{
	max-width:1280px;margin-inline:auto;padding:9px 28px;
	display:flex;align-items:center;justify-content:space-between;gap:20px;
	font-size:13px;
}
.ggs-topbar-contacts{display:flex;align-items:center;gap:24px;}
.ggs-topbar-item{
	display:inline-flex;align-items:center;gap:7px;
	color:rgba(255,255,255,.82);text-decoration:none;font-weight:700;
	transition:color .3s var(--ease);
}
.ggs-topbar-item:hover{color:var(--gold-light);}
.ggs-topbar-icon{display:inline-flex;flex-shrink:0;width:14px;height:14px;}
.ggs-topbar-icon svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
.ggs-topbar-social{display:flex;align-items:center;gap:16px;list-style:none;margin:0;padding:0;}
.ggs-topbar-social a{
	display:flex;align-items:center;justify-content:center;width:14px;height:14px;
	color:rgba(255,255,255,.72);transition:color .3s var(--ease),transform .3s var(--ease);
}
.ggs-topbar-social a:hover{color:var(--gold-light);transform:translateY(-2px);}
.ggs-topbar-social svg{width:100%;height:100%;}

/* Sensor rail: a slim track along the header's bottom edge with a
   small glowing node drifting along it — ambient, always-on motion
   that reads as "smart / sensor-driven" rather than decorative. */
.ggs-header::after{
	content:"";position:absolute;left:0;right:0;bottom:-1px;height:2px;
	background:linear-gradient(90deg,transparent,rgba(var(--gold-rgb),.18) 20%,rgba(var(--gold-rgb),.18) 80%,transparent);
}
.ggs-rail-node{
	position:absolute;bottom:-2px;width:46px;height:4px;border-radius:4px;
	background:linear-gradient(90deg,transparent,var(--gold),var(--gold-light),var(--gold),transparent);
	filter:blur(.3px);
	animation:ggsRailDrift 7s linear infinite;
	pointer-events:none;
}
@keyframes ggsRailDrift{
	0%{left:-10%;opacity:0;}
	8%{opacity:1;}
	92%{opacity:1;}
	100%{left:104%;opacity:0;}
}

.ggs-header-inner{
	position:relative;
	max-width:1280px;margin-inline:auto;padding:20px 28px;
	display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;
}

/* ---- Logo: mark with a slow sensor-pulse ring ---- */
.ggs-logo{
	position:relative;display:inline-flex;align-items:center;flex-shrink:0;
	opacity:0;animation:ggsFadeDown .6s var(--ease) forwards;
}
.ggs-logo::before{
	content:"";position:absolute;inset:-14px;border-radius:50%;
	border:1px solid rgba(var(--gold-rgb),.3);
	opacity:0;animation:ggsPulseRing 3.4s ease-out infinite;
}
.ggs-logo img{position:relative;display:block;height:68px;width:auto;max-width:none;flex-shrink:0;}
.ggs-logo-text{position:relative;font-family:var(--font-head);font-weight:800;font-size:26px;color:var(--navy);}
@keyframes ggsPulseRing{
	0%{transform:scale(.85);opacity:0;}
	35%{opacity:.7;}
	100%{transform:scale(1.35);opacity:0;}
}

/* ---- Nav: track + gliding light node under links ---- */
.ggs-nav{justify-self:center;position:relative;}
.ggs-nav-list{
	display:flex;align-items:center;gap:4px;
	list-style:none;margin:0;padding:0 0 6px;
}
.ggs-nav-list li{
	opacity:0;animation:ggsFadeDown .55s var(--ease) forwards;
	animation-delay:calc(.06s + var(--ggs-i) * .05s);
}
.ggs-nav-link{
	position:relative;display:inline-block;white-space:nowrap;
	padding:8px 17px;
	font-family:var(--font-body);font-weight:700;font-size:14.5px;letter-spacing:.2px;
	color:var(--text-muted);text-decoration:none;
	transition:color .35s var(--ease),letter-spacing .35s var(--ease),text-shadow .35s var(--ease);
}
/* No transform/scale on hover — the link's geometry must stay put so
   the gradient underline (measured via getBoundingClientRect) always
   locks on exactly, instead of chasing a moving target. */
.ggs-nav-link:hover{
	color:var(--gold-deep);
	letter-spacing:.5px;
	text-shadow:0 8px 18px rgba(var(--gold-rgb),.35);
}

/* Active link: brand-gradient text fill instead of a flat color —
   a small, premium touch that only the current page gets. */
.ggs-nav-link.is-active{
	font-weight:800;letter-spacing:.3px;
	background:linear-gradient(90deg,var(--navy),var(--gold));
	-webkit-background-clip:text;background-clip:text;color:transparent;
	text-shadow:none;
}
.ggs-nav-link.is-active:hover{letter-spacing:.3px;}

/* A soft glow that fades in behind the hovered/active link's text. */
.ggs-nav-link::before{
	content:"";position:absolute;inset:-2px -6px;z-index:-1;border-radius:8px;
	background:rgba(var(--gold-rgb),.08);
	opacity:0;transform:scale(.85);
	transition:opacity .3s var(--ease),transform .3s var(--ease);
}
.ggs-nav-link:hover::before,.ggs-nav-link.is-active::before{opacity:1;transform:scale(1);}
.ggs-nav-link.is-active::before{background:rgba(5,38,153,.06);}

/* Morphing gradient underline: resizes + glides to whichever link is
   hovered/active, rather than a fixed-size marker — reads as a single
   light tracking the reader's attention across the menu. */
.ggs-nav-track-dot{
	position:absolute;bottom:0;left:0;height:3.5px;border-radius:3px;
	width:0;
	background:linear-gradient(90deg,var(--navy),var(--gold),var(--gold-light));
	box-shadow:0 0 16px 1px rgba(var(--gold-rgb),.8);
	opacity:0;
	transition:transform .45s cubic-bezier(.65,0,.35,1),width .45s cubic-bezier(.65,0,.35,1),opacity .25s var(--ease);
}
.ggs-nav-track-dot.is-visible{opacity:1;animation:ggsBarGlow 2.6s ease-in-out infinite;}
@keyframes ggsBarGlow{
	0%,100%{box-shadow:0 0 16px 1px rgba(var(--gold-rgb),.8);}
	50%{box-shadow:0 0 22px 2px rgba(var(--gold-rgb),1);}
}

/* ---- Mega dropdown: a small visual showcase (photo + label cards)
   under the Products/Services nav items instead of a plain text list —
   shown on hover/focus (desktop) or tap (the toggle-button pattern
   below re-adds an .is-open class via header.js for touch/keyboard).
   Anchored to the centre of the whole nav (the <li> is deliberately
   static) so both panels sit in the same spot and never spill past the
   viewport edge the way an item-centred panel did on narrower screens.
   No dark scrim on the photos: labels sit on white beneath each image. ---- */
.ggs-nav-item-mega{position:static;}
.ggs-nav-link-mega{display:inline-flex !important;align-items:center;gap:5px;}
.ggs-nav-chevron{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;transition:transform .35s var(--ease);}
.ggs-nav-item-mega:hover .ggs-nav-chevron,
.ggs-nav-item-mega.is-open .ggs-nav-chevron{transform:rotate(180deg);}

.ggs-mega{
	position:absolute;top:calc(100% - 6px);left:50%;transform:translateX(-50%) translateY(10px);
	padding-top:24px;z-index:50;
	opacity:0;visibility:hidden;pointer-events:none;
	transition:opacity .3s var(--ease),transform .3s var(--ease),visibility 0s linear .3s;
}
.ggs-nav-item-mega:hover .ggs-mega,
.ggs-nav-item-mega:focus-within .ggs-mega,
.ggs-nav-item-mega.is-open .ggs-mega{
	opacity:1;visibility:visible;pointer-events:auto;
	transform:translateX(-50%) translateY(0);
	transition:opacity .3s var(--ease),transform .3s var(--ease),visibility 0s linear 0s;
}

.ggs-mega-inner{
	width:max-content;max-width:min(94vw,760px);
	background:var(--surface);border:1px solid var(--border);border-radius:24px;
	padding:20px;
	box-shadow:0 40px 80px -30px rgba(5,23,84,.35),0 4px 16px -4px rgba(5,23,84,.1);
}
.ggs-mega-grid{display:grid;gap:12px;grid-template-columns:repeat(4,148px);}
.ggs-mega-grid-1{grid-template-columns:repeat(1,200px);}
.ggs-mega-grid-2{grid-template-columns:repeat(2,190px);}
.ggs-mega-grid-3{grid-template-columns:repeat(3,190px);}

.ggs-mega-card{
	position:relative;display:flex;flex-direction:column;gap:10px;
	padding:6px 6px 12px;border-radius:16px;text-decoration:none;
	border:1px solid transparent;
	opacity:0;transform:translateY(8px);
	transition:background-color .3s var(--ease),border-color .3s var(--ease),box-shadow .3s var(--ease);
}
.ggs-nav-item-mega:hover .ggs-mega-card,
.ggs-nav-item-mega:focus-within .ggs-mega-card,
.ggs-nav-item-mega.is-open .ggs-mega-card{
	animation:ggsMegaCardIn .4s var(--ease) forwards;
	animation-delay:calc(.03s * var(--ggs-di));
}
@keyframes ggsMegaCardIn{to{opacity:1;transform:translateY(0);}}
.ggs-mega-card:hover{
	background:var(--bg);border-color:rgba(var(--gold-rgb),.3);
	box-shadow:0 18px 32px -22px rgba(var(--gold-rgb),.5);
}
.ggs-mega-card-media{
	position:relative;display:block;aspect-ratio:4/3;overflow:hidden;border-radius:12px;
	background:var(--bg-alt);
}
.ggs-mega-card-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s var(--ease);}
.ggs-mega-card:hover .ggs-mega-card-media img{transform:scale(1.08);}
.ggs-mega-card-label{
	display:block;padding-inline:4px;text-align:center;
	font-family:var(--font-body);font-weight:800;font-size:13px;line-height:1.4;color:var(--navy-dark);
	transition:color .3s var(--ease);
}
.ggs-mega-card:hover .ggs-mega-card-label{color:var(--gold-deep);}

.ggs-mega-viewall{
	display:flex !important;align-items:center;justify-content:center;gap:8px;
	margin-top:14px;padding:13px;border-radius:12px;
	background:var(--bg-alt) !important;border:1px solid var(--border) !important;
	color:var(--navy-dark) !important;text-decoration:none !important;
	font-family:var(--font-body);font-weight:800;font-size:13.5px;
	transition:background .3s var(--ease),color .3s var(--ease),gap .3s var(--ease);
}
.ggs-mega-viewall svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}
html[dir="rtl"] .ggs-mega-viewall svg{transform:scaleX(-1);}
.ggs-mega-viewall:hover{
	background:linear-gradient(135deg,var(--navy),var(--gold)) !important;
	color:#fff !important;gap:12px;
}

/* Mid-width laptops / small windows: tighten the bar so seven labels +
   logo + language + CTA still fit on one line instead of wrapping and
   squashing the logo... */
@media (max-width:1240px){
	.ggs-header-inner{gap:18px;padding-inline:22px;}
	.ggs-nav-link{padding:8px 11px;font-size:14px;}
	.ggs-cta{min-width:148px;}
	.ggs-mega-grid{grid-template-columns:repeat(4,132px);}
	.ggs-mega-grid-1{grid-template-columns:repeat(1,190px);}
	.ggs-mega-grid-2{grid-template-columns:repeat(2,170px);}
	.ggs-mega-grid-3{grid-template-columns:repeat(3,170px);}
}

/* ---- Language switcher: globe icon + the OTHER language's label as
   one plain link (real navigation to ggs_get_alt_lang_url(), no JS
   required) — simpler and more legible than a two-way AR/EN toggle,
   and it reads instantly as "switch to ___" rather than "which of
   these two am I on". ---- */
.ggs-lang-switch{
	position:relative;display:inline-flex !important;align-items:center;gap:7px;
	height:38px;padding-inline:14px;border-radius:100px;
	background:var(--bg-alt) !important;border:1px solid var(--border) !important;
	color:var(--navy-dark) !important;text-decoration:none !important;
	font-family:var(--font-body);font-weight:800;font-size:13px;letter-spacing:.2px;
	opacity:0;animation:ggsFadeDown .55s var(--ease) forwards;animation-delay:.3s;
	transition:background .35s var(--ease),border-color .35s var(--ease),color .35s var(--ease),transform .3s var(--ease),box-shadow .35s var(--ease);
}
.ggs-lang-switch:hover{
	background:linear-gradient(135deg,var(--navy),var(--gold)) !important;
	border-color:transparent !important;color:#fff !important;
	transform:translateY(-2px);
	box-shadow:0 16px 30px -14px rgba(var(--gold-rgb),.6);
}
.ggs-lang-globe{width:17px;height:17px;flex-shrink:0;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;transition:transform .6s var(--ease);}
.ggs-lang-switch:hover .ggs-lang-globe{transform:rotate(160deg);}
.ggs-lang-switch-label{line-height:1;}

/* ---- CTA: two panels that slide apart like a door on hover ---- */
.ggs-header-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;}

.ggs-cta{
	position:relative;overflow:hidden;isolation:isolate;
	display:inline-flex;align-items:center;justify-content:center;
	height:46px;padding-inline:2px;min-width:168px;border-radius:10px;
	background:var(--navy);
	text-decoration:none;
	opacity:0;animation:ggsFadeDown .55s var(--ease) forwards;animation-delay:.4s;
	transition:box-shadow .3s var(--ease);
	box-shadow:0 10px 24px -12px rgba(5,38,153,.5);
}
.ggs-cta:hover{box-shadow:0 16px 32px -12px rgba(5,38,153,.65);}

.ggs-cta-label{
	position:relative;z-index:2;display:flex;width:100%;height:100%;align-items:center;justify-content:center;
}
.ggs-cta-panel{
	display:flex;align-items:center;justify-content:center;
	font-family:var(--font-body);font-weight:800;font-size:14px;color:#fff;
	white-space:nowrap;
	transition:transform .45s cubic-bezier(.65,0,.35,1);
}
.ggs-cta-panel-l{transform:translateX(0);}
.ggs-cta-panel-r{transform:translateX(0);}
html[dir="rtl"] .ggs-cta:hover .ggs-cta-panel-l{transform:translateX(6px);}
html[dir="rtl"] .ggs-cta:hover .ggs-cta-panel-r{transform:translateX(-6px);}
html[dir="ltr"] .ggs-cta:hover .ggs-cta-panel-l{transform:translateX(-6px);}
html[dir="ltr"] .ggs-cta:hover .ggs-cta-panel-r{transform:translateX(6px);}

.ggs-cta-arrow{
	position:absolute;inset:0;z-index:1;
	display:flex;align-items:center;justify-content:center;
	opacity:0;transition:opacity .3s var(--ease) .1s;
}
.ggs-cta:hover .ggs-cta-arrow{opacity:1;}
.ggs-cta-arrow svg{width:18px;height:18px;stroke:var(--gold-light);fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;}

.ggs-cta::before{
	content:"";position:absolute;inset:0;z-index:0;
	background:linear-gradient(135deg,var(--gold),var(--gold-light));
	opacity:0;transition:opacity .35s var(--ease);
}
.ggs-cta:hover::before{opacity:1;}

/* ---- Burger: two bars that part like doors when open ---- */
.ggs-burger{
	display:none !important;position:relative !important;
	width:44px !important;height:44px !important;border-radius:10px !important;
	background:var(--bg-alt) !important;border:1px solid var(--border) !important;
	cursor:pointer !important;padding:0 !important;margin:0 !important;
	appearance:none;-webkit-appearance:none;
}
.ggs-burger span{
	position:absolute !important;top:50% !important;width:16px !important;height:2px !important;
	border-radius:2px !important;background:var(--navy) !important;margin:0 !important;
	transition:transform .4s cubic-bezier(.65,0,.35,1),opacity .3s var(--ease),width .3s var(--ease);
}
.ggs-burger span:nth-child(1){inset-inline-start:12px;transform:translateY(-4px);}
.ggs-burger span:nth-child(2){inset-inline-start:12px;transform:translateY(4px);}
.ggs-burger span:nth-child(3){display:none;}
.ggs-burger[aria-expanded="true"] span:nth-child(1){transform:translateY(0) rotate(45deg);width:18px;}
.ggs-burger[aria-expanded="true"] span:nth-child(2){transform:translateY(0) rotate(-45deg);width:18px;}

@keyframes ggsFadeDown{from{opacity:0;transform:translateY(-10px);}to{opacity:1;transform:translateY(0);}}

/* ---- Mobile drawer: solid panel, doors-parting reveal ---- */
.ggs-drawer-overlay{
	position:fixed;inset:0;z-index:110;
	background:rgba(5,15,40,.5);
	opacity:0;pointer-events:none;transition:opacity .4s var(--ease);
}
.ggs-drawer-overlay.is-open{opacity:1;pointer-events:auto;}

.ggs-drawer{
	position:fixed;top:0;bottom:0;inset-inline-end:0;z-index:120;
	width:min(320px,84vw);
	background:var(--surface);
	box-shadow:-24px 0 50px -20px rgba(5,23,84,.4);
	display:flex;flex-direction:column;
	padding:20px 22px 26px;
	transform:translateX(100%);
	transition:transform .5s cubic-bezier(.65,0,.35,1);
}
html[dir="rtl"] .ggs-drawer{transform:translateX(-100%);}
.ggs-drawer.is-open{transform:translateX(0);}
/* `html[dir="rtl"] .ggs-drawer` above is MORE specific (0,2,1) than
   `.ggs-drawer.is-open` (0,2,0) — the tag selector in the RTL rule
   breaks the tie — so on this RTL-default site it always won and kept
   the drawer pinned off-screen even with .is-open added by JS. This
   matches it in specificity (0,3,1) so the open state actually wins. */
html[dir="rtl"] .ggs-drawer.is-open{transform:translateX(0);}

.ggs-drawer-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:26px;}
.ggs-logo-drawer img{height:44px;}
.ggs-drawer-close{
	width:38px !important;height:38px !important;border-radius:10px !important;
	display:flex !important;align-items:center !important;justify-content:center !important;
	background:var(--bg-alt) !important;border:1px solid var(--border) !important;
	padding:0 !important;margin:0 !important;cursor:pointer !important;
	appearance:none;-webkit-appearance:none;
}
.ggs-drawer-close svg{width:17px;height:17px;stroke:var(--navy);fill:none;stroke-width:2;stroke-linecap:round;}

.ggs-drawer-nav ul{list-style:none;margin:0;padding:0;}
.ggs-drawer-nav li{
	opacity:0;transform:translateX(16px);
	transition:opacity .4s var(--ease),transform .4s var(--ease);
	transition-delay:calc(var(--ggs-i) * .05s);
}
.ggs-drawer.is-open .ggs-drawer-nav li{opacity:1;transform:translateX(0);}
.ggs-drawer-nav a{
	display:flex;align-items:center;gap:10px;
	padding:14px 4px;
	font-family:var(--font-body);font-weight:700;font-size:16px;color:var(--text);
	text-decoration:none;border-bottom:1px solid var(--border);
}
.ggs-drawer-nav a::before{
	content:"";width:5px;height:5px;border-radius:50%;background:var(--border);flex-shrink:0;
	transition:background-color .25s var(--ease),transform .25s var(--ease);
}
.ggs-drawer-nav a:hover,.ggs-drawer-nav a.is-active{color:var(--navy);}
.ggs-drawer-nav a:hover::before,.ggs-drawer-nav a.is-active::before{background:var(--gold);transform:scale(1.6);}

/* Products/Services items expand into their sub-links in place — the
   drawer's own, screen-width-appropriate version of the desktop mega
   dropdown above, same accordion pattern as the footer's mobile columns. */
.ggs-drawer-item-dd{border-bottom:1px solid var(--border);}
.ggs-drawer-item-dd .ggs-drawer-row{
	display:flex;align-items:stretch;justify-content:space-between;gap:6px;
}
.ggs-drawer-item-dd .ggs-drawer-row a{flex:1;border-bottom:none;}
.ggs-drawer-dd-toggle{
	flex-shrink:0 !important;width:40px !important;height:auto !important;
	display:flex !important;align-items:center !important;justify-content:center !important;
	background:none !important;border:0 !important;padding:0 !important;margin:0 !important;
	cursor:pointer !important;color:var(--text-muted) !important;
	appearance:none;-webkit-appearance:none;
}
.ggs-drawer-dd-toggle svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round;transition:transform .35s var(--ease);}
.ggs-drawer-dd-toggle[aria-expanded="true"] svg{transform:rotate(180deg);}

.ggs-drawer-sublist{
	list-style:none;margin:0;padding:0;overflow:hidden;
	max-height:0;transition:max-height .4s var(--ease);
}
.ggs-drawer-sublist li{opacity:1 !important;transform:none !important;}
.ggs-drawer-sublist a{
	display:block;padding:11px 4px 11px 20px;
	font-family:var(--font-body);font-weight:600;font-size:14.5px;color:var(--text-muted);
	text-decoration:none;border-bottom:0 !important;
}
html[dir="rtl"] .ggs-drawer-sublist a{padding:11px 20px 11px 4px;}
.ggs-drawer-sublist a:hover{color:var(--navy);}

.ggs-drawer-cta{
	display:block;text-align:center;margin-top:22px;
	padding:15px;border-radius:10px;
	background:var(--navy);
	color:#fff;font-family:var(--font-body);font-weight:800;font-size:15px;
	text-decoration:none;
}

/* ...and below that there simply isn't room for a full desktop bar, so
   hand over to the burger + drawer (same one phones use). */
@media (max-width:1080px){
	.ggs-header-inner{grid-template-columns:auto auto;justify-content:space-between;}
	.ggs-nav{display:none;}
	.ggs-cta{display:none;}
	.ggs-burger{display:flex !important;}
}

@media (max-width:960px){
	/* Hidden on mobile — the fixed bottom nav already gives quick
	   access to a call/WhatsApp CTA there, and there isn't room for a
	   third row above an already-tight mobile header. */
	.ggs-topbar{display:none;}
	.ggs-header-inner{grid-template-columns:auto auto;justify-content:space-between;}
	.ggs-nav{display:none;}
	.ggs-cta{display:none;}
	.ggs-burger{display:flex !important;}
	body{padding-top:104px;}
}

/* =========================================================
   FIXED BOTTOM MOBILE NAV — quick-access bar, separate from
   the off-canvas drawer above (whose burger the last item
   opens). A frosted glass rail with a raised, always-on
   "Request a Quote" badge at its center, mirroring the
   header's own solid-surface + electric-accent language.
   ========================================================= */
.ggs-bottom-nav{display:none;}

@media (max-width:960px){
	body{padding-bottom:calc(70px + env(safe-area-inset-bottom));}

	.ggs-bottom-nav{
		display:flex;align-items:center;justify-content:space-around;
		position:fixed;inset-inline:0;bottom:0;z-index:95;
		height:70px;padding-bottom:env(safe-area-inset-bottom);
		background:rgba(255,255,255,.92);
		-webkit-backdrop-filter:blur(20px) saturate(160%);backdrop-filter:blur(20px) saturate(160%);
		border-top:1px solid var(--border);
		box-shadow:0 -14px 34px -22px rgba(5,23,84,.28);
	}

	.ggs-bn-item{
		position:relative !important;display:flex !important;flex-direction:column !important;
		align-items:center !important;justify-content:center !important;gap:4px !important;
		flex:1 1 0 !important;width:auto !important;height:100% !important;
		text-decoration:none !important;
		background:none !important;border:0 !important;margin:0 !important;padding:0 !important;
		cursor:pointer !important;font-family:var(--font-body) !important;
		color:var(--text-muted) !important;
		appearance:none;-webkit-appearance:none;
		transition:color .3s var(--ease);
	}
	.ggs-bn-item svg{width:21px;height:21px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;transition:transform .3s var(--ease);}
	.ggs-bn-item span{font-family:var(--font-body);font-weight:700;font-size:10.5px;letter-spacing:.1px;}
	.ggs-bn-item.is-active{color:var(--gold-deep);}
	.ggs-bn-item.is-active svg{transform:translateY(-1px);}
	.ggs-bn-item.is-active::before{
		content:"";position:absolute;top:6px;width:5px;height:5px;border-radius:50%;
		background:var(--gold);box-shadow:0 0 10px 1px rgba(var(--gold-rgb),.7);
	}
	.ggs-bn-item:active{color:var(--navy-dark);}

	/* Center CTA: a raised circular badge that pierces the top edge of
	   the bar — the one item that isn't a plain icon+label pair. */
	.ggs-bn-item-cta{flex:0 0 auto !important;width:64px !important;}
	.ggs-bn-cta-badge{
		display:flex;align-items:center;justify-content:center;
		width:52px;height:52px;border-radius:50%;
		margin-top:-30px;
		background:linear-gradient(135deg,var(--navy),var(--gold));
		box-shadow:0 14px 28px -10px rgba(var(--gold-rgb),.6),0 0 0 5px rgba(255,255,255,.92);
		transition:transform .3s cubic-bezier(.65,0,.35,1),box-shadow .3s var(--ease);
	}
	.ggs-bn-cta-badge svg{width:24px;height:24px;stroke:#fff;fill:none;stroke-width:2.3;stroke-linecap:round;}
	.ggs-bn-item-cta:active .ggs-bn-cta-badge{transform:scale(.9);}
}

@media (prefers-reduced-motion:reduce){
	.ggs-bn-item,.ggs-bn-item svg,.ggs-bn-cta-badge{transition:none !important;}
}

/* =========================================================
   SITE-WIDE PAGE LOADER — luxury "gate opens from center"
   entrance, plays once on every page load (header.js triggers
   it; see that file for the timing/safety-net logic).
   The site itself is fully painted underneath from frame one —
   this is a frosted-glass gate LAYER on top of it (backdrop-
   filter, not an opaque block), so the page is visibly already
   there while the doors swing open over it, not a loading screen. */
html.ggs-loading{overflow:hidden !important;}

.ggs-page-loader{
	position:fixed;inset:0;z-index:9999;
	display:flex;background:transparent;pointer-events:none;
}
.ggs-page-loader-panel{
	position:absolute;top:0;bottom:0;width:50%;
	background:linear-gradient(160deg,rgba(5,38,153,.5),rgba(3,23,84,.68));
	backdrop-filter:blur(22px) saturate(140%);
	-webkit-backdrop-filter:blur(22px) saturate(140%);
}
.ggs-page-loader-panel-l{left:0;transform-origin:right center;}
.ggs-page-loader-panel-r{right:0;transform-origin:left center;}

/* Thin gradient seam where the two panels meet, echoing the header's
   sensor-rail light — gives the closed state a "machined" edge instead
   of a flat seam. */
.ggs-page-loader-seam{
	position:absolute;top:0;bottom:0;inset-inline-start:50%;z-index:1;
	width:2px;margin-inline-start:-1px;
	background:linear-gradient(180deg,transparent,rgba(var(--gold-rgb),.9),var(--gold-light),rgba(var(--gold-rgb),.9),transparent);
	box-shadow:0 0 24px 2px rgba(var(--gold-rgb),.6);
	opacity:0;animation:ggsLoaderSeamIn .5s .1s var(--ease) forwards;
}

/* Center mark: a frosted-glass badge holding the real logo (not a text
   lockup) — legible over the blurred glass panels regardless of the
   logo's own colors, and unmistakably "the brand" at a glance. */
.ggs-page-loader-mark{
	/* left (physical), not inset-inline-start: this pairs with the
	   physical translateX(-50%) below to center correctly regardless
	   of text direction. inset-inline-start resolves to `right` on
	   this RTL-default site, which combined with a translate that's
	   always physically leftward shifted the badge a full width off
	   center instead of centering it — confirmed the actual bug behind
	   "logo not centered perfectly". */
	position:absolute;top:50%;left:50%;z-index:2;
	display:flex;align-items:center;justify-content:center;
	transform:translate(-50%,-50%) scale(.85);
	padding:16px 26px;border-radius:20px;
	background:rgba(255,255,255,.14);
	border:1px solid rgba(255,255,255,.28);
	box-shadow:0 24px 60px -22px rgba(0,0,0,.55);
	opacity:0;animation:ggsLoaderMarkIn .55s .2s var(--ease) forwards;
}
.ggs-page-loader-logo{display:block;height:36px;width:auto;filter:drop-shadow(0 6px 16px rgba(0,0,0,.4));}

@keyframes ggsLoaderSeamIn{to{opacity:1;}}
@keyframes ggsLoaderMarkIn{0%{opacity:0;transform:translate(-50%,-50%) scale(.7);}100%{opacity:1;transform:translate(-50%,-50%) scale(1);}}

/* Opening sequence: mark/seam dissolve first, then both panels swing
   on their center hinge and slide fully off-viewport — the same
   automatic-door language as the homepage hero, scaled to the whole
   screen. */
.ggs-page-loader.is-open .ggs-page-loader-seam,
.ggs-page-loader.is-open .ggs-page-loader-mark{
	animation:ggsLoaderFadeOut .3s var(--ease) forwards;
}
.ggs-page-loader.is-open .ggs-page-loader-panel-l{animation:ggsPageDoorL .8s .1s cubic-bezier(.65,0,.35,1) forwards;}
.ggs-page-loader.is-open .ggs-page-loader-panel-r{animation:ggsPageDoorR .8s .1s cubic-bezier(.65,0,.35,1) forwards;}

@keyframes ggsLoaderFadeOut{to{opacity:0;}}
@keyframes ggsPageDoorL{
	0%{transform:translateX(0) rotateY(0);}
	40%{transform:translateX(0) rotateY(-6deg);}
	100%{transform:translateX(-100%) rotateY(0);}
}
@keyframes ggsPageDoorR{
	0%{transform:translateX(0) rotateY(0);}
	40%{transform:translateX(0) rotateY(6deg);}
	100%{transform:translateX(100%) rotateY(0);}
}

@media (max-width:960px){
	.ggs-page-loader-mark{padding:13px 20px;border-radius:16px;}
	.ggs-page-loader-logo{height:28px;}
}

@media (prefers-reduced-motion:reduce){
	.ggs-logo,.ggs-nav-list li,.ggs-cta,.ggs-rail-node{animation:none !important;opacity:1;transform:none;}
	.ggs-logo::before{display:none;}
	.ggs-page-loader{display:none !important;}
	html.ggs-loading{overflow:visible !important;}
}

/* PAGE LOADER v2 — the same gate as the (original) 404 door: solid navy
   leaves with gold handles slide apart while a white light beam flashes
   at the seam. No logo badge. */
.ggs-page-loader-panel{
	z-index:2;
	background:linear-gradient(180deg,#0a1f6b,#031754);
	backdrop-filter:none;-webkit-backdrop-filter:none;
	border:1px solid rgba(255,255,255,.14);
	box-shadow:inset 0 0 40px rgba(255,255,255,.05);
}
.ggs-page-loader-panel::after{content:"";position:absolute;top:50%;width:4px;height:70px;transform:translateY(-50%);border-radius:4px;background:linear-gradient(180deg,var(--gold-light),var(--gold));}
.ggs-page-loader-panel-l::after{right:14px;}
.ggs-page-loader-panel-r::after{left:14px;}
.ggs-page-loader-mark{display:none !important;}
.ggs-page-loader-seam{
	z-index:1;inset-inline-start:auto;left:50%;margin-inline-start:0;margin-left:-1px;
	background:linear-gradient(180deg,transparent,rgba(255,255,255,.9),transparent);box-shadow:none;
	opacity:0;animation:none;
}
.ggs-page-loader.is-open .ggs-page-loader-seam{animation:ggsLoaderBeam 1.6s .15s ease-out forwards;}
.ggs-page-loader.is-open .ggs-page-loader-panel-l{animation:ggsGateL 1.6s .15s cubic-bezier(.65,0,.35,1) forwards;}
.ggs-page-loader.is-open .ggs-page-loader-panel-r{animation:ggsGateR 1.6s .15s cubic-bezier(.65,0,.35,1) forwards;}
@keyframes ggsGateL{to{transform:translateX(-102%);}}
@keyframes ggsGateR{to{transform:translateX(102%);}}
@keyframes ggsLoaderBeam{0%{opacity:.9;width:2px;}100%{opacity:0;width:60%;}}
