/* GlobeLine Law – shared site chrome (header dropdown, mobile sidebar, WhatsApp button).
   Loaded on every page after main.css / homepage-restored.css. */

/* ---------- Desktop Services dropdown ---------- */
@media (min-width: 992px) {
	.theme-main-menu .main-menu .sub-menu.gl-svc-menu { min-width: 330px; }
	.theme-main-menu .main-menu .sub-menu.gl-svc-menu li a { white-space: normal; line-height: 1.4; }
}

/* ---------- Header contact numbers ---------- */
.theme-main-menu .call-btn .contact-numbers { display: flex; flex-direction: column; gap: 2px; line-height: 1.25; }
.theme-main-menu .call-btn .contact-numbers a { white-space: nowrap; }
.theme-main-menu .call-btn .whatsapp-number a { display: inline-flex; align-items: center; gap: 6px; }
.theme-main-menu .call-btn .whatsapp-number .bi-whatsapp { color: #1DA851; font-size: .95em; }

/* ---------- Hamburger (keyboard focus) ---------- */
.theme-main-menu .hamburger-menu:focus-visible { outline: 3px solid #C09433; outline-offset: 3px; }

/* Stop the page behind the open mobile menu from scrolling */
html.gl-menu-open, html.gl-menu-open body { overflow: hidden !important; }

/* Anchored sections clear the sticky header */
.services-page [id], #services, #destinations, #about, #how-we-work, #assessment, #home-intro { scroll-margin-top: 96px; }

/* ---------- Mobile sidebar ---------- */
.ht-menu-wrapper { background-color: rgba(2, 20, 40, .58); transition: opacity .35s ease, visibility .35s ease; }
.ht-menu-wrapper .ht-menu-area {
	width: min(88vw, 360px); max-width: none; padding: 22px 22px 34px;
	background: linear-gradient(180deg, #04305F 0%, #021E3D 100%);
	border-right: 3px solid #C09433 !important; box-shadow: 18px 0 50px rgba(0, 0, 0, .35);
	display: flex; flex-direction: column;
	transition: left .45s cubic-bezier(.22, .61, .36, 1), opacity .35s ease, visibility .35s ease;
}
.ht-menu-wrapper.ht-body-visible .ht-menu-area { overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.ht-menu-wrapper .ht-menu-area::-webkit-scrollbar { width: 4px; }
.ht-menu-wrapper .ht-menu-area::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .25); border-radius: 4px; }

/* Logo + close button row */
.ht-menu-wrapper .gl-sb-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 0 0 20px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.ht-menu-wrapper .gl-sb-logo { display: inline-flex; flex: 0 0 auto; padding: 10px 14px; border-radius: 14px; background: #ffffff; line-height: 0; box-shadow: 0 10px 26px rgba(0, 0, 0, .3); }
.ht-menu-wrapper .gl-sb-logo img { display: block; width: 112px; height: auto; max-width: none; image-rendering: auto; }
.ht-menu-wrapper .ht-menu-toggle {
	position: static; flex: 0 0 44px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	background-color: #C09433 !important; color: #ffffff; font-size: 17px; line-height: 1; cursor: pointer;
	transition: background-color .25s ease, transform .25s ease;
}
.ht-menu-wrapper .ht-menu-toggle:hover, .ht-menu-wrapper .ht-menu-toggle:focus-visible { background-color: #ffffff !important; color: #04305F; transform: rotate(90deg); outline: none; }

/* Navigation list (built by meanmenu) */
.ht-menu-wrapper .mobile-menu-wrapper { display: block !important; width: 100%; overflow: visible; max-height: none; margin-top: 8px; padding-bottom: 0; }
.ht-menu-wrapper .mean-container .mean-bar { float: none; padding: 0; min-height: 0; background: none; }
.ht-menu-wrapper .mean-container .mean-bar, .ht-menu-wrapper .mean-container .mean-bar * { box-sizing: border-box !important; }
.ht-menu-wrapper .mean-container .mean-nav { float: none; width: 100%; }
.ht-menu-wrapper .mean-container .mean-nav ul li { float: none; width: 100%; }
.ht-menu-wrapper .mean-container .mean-nav ul li a {
	float: none; width: 100%; padding: 14px 48px 14px 0; margin: 0;
	font-family: "Poppins", sans-serif; font-size: 16px; font-weight: 500; line-height: 1.35; letter-spacing: .01em;
	text-transform: none; color: #ffffff; border-top: 0; border-bottom: 1px solid rgba(255, 255, 255, .12);
	transition: color .2s ease, padding-left .2s ease;
}
.ht-menu-wrapper .mean-container .mean-nav ul li a:hover, .ht-menu-wrapper .mean-container .mean-nav ul li a:focus-visible { background: none; color: #E2C27A; padding-left: 4px; outline: none; }
.ht-menu-wrapper .mean-container .mean-nav ul li li a {
	width: 100%; padding: 11px 8px 11px 16px; font-family: "Lato", sans-serif; font-size: 15px; font-weight: 400;
	opacity: 1; color: rgba(255, 255, 255, .86); border-top: 0; border-bottom: 1px solid rgba(255, 255, 255, .07);
	border-left: 2px solid rgba(192, 148, 51, .55); text-transform: none;
}
.ht-menu-wrapper .mean-container .mean-nav ul li li:last-child a { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ht-menu-wrapper .mean-container .mean-nav ul li a.mean-expand {
	top: 7px; right: 0; width: 36px; height: 36px; padding: 0 !important; margin: 0;
	display: inline-flex; align-items: center; justify-content: center;
	border: 0 !important; border-radius: 10px; background: rgba(255, 255, 255, .1);
	font-family: "Poppins", sans-serif; font-size: 20px; font-weight: 500; line-height: 1; color: #ffffff;
}
.ht-menu-wrapper .mean-container .mean-nav ul li a.mean-expand:hover { background: #C09433; color: #ffffff; padding-left: 0; }

/* About + contact */
.ht-menu-wrapper .gl-sb-block { margin-top: 30px; }
.ht-menu-wrapper .gl-sb-block .offset-title { margin: 0 0 12px; font-family: "Poppins", sans-serif; font-size: 17px; font-weight: 600; letter-spacing: .01em; color: #ffffff; }
.ht-menu-wrapper .gl-sb-block .offset-title::after { content: ""; display: block; width: 34px; height: 2px; margin-top: 9px; background: #C09433; border-radius: 2px; }
.ht-menu-wrapper .gl-sb-about p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, .82); }
.ht-menu-wrapper .gl-sb-more { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 600; color: #E2C27A; text-decoration: none; }
.ht-menu-wrapper .gl-sb-more:hover { color: #ffffff; }
.ht-menu-wrapper .gl-sb-contact ul { margin: 0; padding: 0; list-style: none; }
.ht-menu-wrapper .gl-sb-contact li { display: flex; align-items: flex-start; gap: 11px; margin: 0 0 13px; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.ht-menu-wrapper .gl-sb-contact li i { flex: 0 0 18px; margin-top: 2px; font-size: 15px; color: #E2C27A; }
.ht-menu-wrapper .gl-sb-contact li .k { display: block; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.ht-menu-wrapper .gl-sb-contact a { color: #ffffff; text-decoration: none; word-break: break-word; }
.ht-menu-wrapper .gl-sb-contact a:hover { color: #E2C27A; }
.ht-menu-wrapper .gl-sb-cta { margin-top: 26px; padding-top: 4px; }
.ht-menu-wrapper .gl-sb-cta .ht-btn { display: block; width: 100%; padding: 16px 20px; border-radius: 50px; background-color: #C09433; color: #ffffff; font-size: 16px; text-align: center; }
.ht-menu-wrapper .gl-sb-cta .ht-btn::before { background: #ffffff; }
.ht-menu-wrapper .gl-sb-cta .ht-btn:hover { color: #04305F; }

/* ---------- Floating WhatsApp button ---------- */
.gl-wa-float {
	position: fixed; left: 20px; bottom: 22px; z-index: 9990;
	display: inline-flex; align-items: center; gap: 0; height: 58px; min-width: 58px; padding: 0 17px;
	border-radius: 999px; background: #25D366; color: #ffffff; text-decoration: none;
	box-shadow: 0 10px 28px rgba(18, 140, 76, .38), 0 2px 6px rgba(0, 0, 0, .14);
	transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, gap .3s ease, padding .3s ease;
}
.gl-wa-float .bi-whatsapp { font-size: 26px; line-height: 1; }
.gl-wa-float .gl-wa-label { max-width: 0; overflow: hidden; white-space: nowrap; font-family: "Poppins", sans-serif; font-size: 15px; font-weight: 600; opacity: 0; transition: max-width .3s ease, opacity .25s ease; }
.gl-wa-float::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); animation: gl-wa-pulse 2.8s ease-out infinite; pointer-events: none; }
.gl-wa-float:hover, .gl-wa-float:focus-visible { color: #ffffff; background: #1EBE5A; transform: translateY(-3px); box-shadow: 0 14px 34px rgba(18, 140, 76, .45), 0 3px 8px rgba(0, 0, 0, .16); gap: 10px; padding: 0 22px 0 18px; outline: none; }
.gl-wa-float:hover .gl-wa-label, .gl-wa-float:focus-visible .gl-wa-label { max-width: 190px; opacity: 1; }
.gl-wa-float:focus-visible { box-shadow: 0 0 0 4px #ffffff, 0 0 0 7px #04305F; }
@keyframes gl-wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); } 70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
html.gl-menu-open .gl-wa-float, html.gl-menu-open chat-widget { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
@media (max-width: 767px) {
	.gl-wa-float { left: 14px; bottom: 16px; height: 54px; min-width: 54px; padding: 0 15px; }
	.gl-wa-float .bi-whatsapp { font-size: 25px; }
}
@media (hover: none) { .gl-wa-float:hover { gap: 0; padding: 0 15px; transform: none; } .gl-wa-float:hover .gl-wa-label { max-width: 0; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .gl-wa-float, .gl-wa-float .gl-wa-label { transition: none; } .gl-wa-float::after { animation: none; } }
@media print { .gl-wa-float { display: none; } }
