/* ==========================================================================
   IdealGeotech 2026 — SHELL (nav + footer)
   --------------------------------------------------------------------------
   Loaded on every page once the new shell is switched on site-wide, so this
   file MUST NOT contain any global/unscoped rules. Everything is scoped to
   .ig-shell-nav / .ig-mobile-menu / .ig-shell-footer / .ig-notice-bar.

   Fonts (per brief):
     --ig-font-display : Barlow Condensed  -> headings, numbers, buttons, logo
     --ig-font-body    : Barlow            -> body copy
   ========================================================================== */

.ig-shell-nav,
.ig-mobile-menu,
.ig-shell-footer,
.ig-notice-bar {
	--ig-orange: #FF6600;
	--ig-orange-dark: #cc5200;
	--ig-black: #242424;
	--ig-gray: #939598;
	--ig-radius: 4px;
	--ig-transition: 0.22s ease;
	--ig-font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
	--ig-font-body: 'Barlow', 'Helvetica Neue', Arial, sans-serif;
	font-family: var(--ig-font-body);
	box-sizing: border-box;
}

.ig-shell-nav *,
.ig-shell-nav *::before,
.ig-shell-nav *::after,
.ig-mobile-menu *,
.ig-shell-footer *,
.ig-shell-footer *::before,
.ig-shell-footer *::after {
	box-sizing: border-box;
}

/* --------------------------------------------------------------- NOTICE BAR */
.ig-notice-bar {
	background: #000;
	color: var(--ig-orange);
	text-align: center;
	font-size: 1.09rem;
	width: 100%;
	height: 40px;
	display: flex;
	align-items: center;
	position: relative;
	overflow: hidden;
}

.ig-notice-bar p {
	margin: 0;
}

/* ---------------------------------------------------------------------- NAV */
.ig-shell-nav {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--ig-black);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 5%;
	height: 80px;
	gap: 20px;
	transition: box-shadow var(--ig-transition);
}

.ig-shell-nav.is-scrolled {
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.ig-shell-nav a {
	text-decoration: none;
}

.ig-nav-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-shrink: 0;
}

.ig-shell-nav .ig-nav-logo img {
	height: 44px;
	width: auto;
	max-width: none;
	display: block;
	margin: 0;
}

.ig-nav-links {
	display: flex;
	align-items: center;
	gap: 26px;
	flex-wrap: nowrap;
}

@media (min-width: 1441px) {
	.ig-nav-links {
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}
}

.ig-nav-links > a,
.ig-nav-dropdown-toggle {
	color: rgba(255, 255, 255, 0.92);
	font-family: var(--ig-font-body);
	font-size: 1.3rem;
	font-weight: 600;
	letter-spacing: 0.3px;
	text-transform: uppercase;
	transition: color var(--ig-transition);
	white-space: nowrap;
}

.ig-nav-links > a:hover,
.ig-nav-dropdown-toggle:hover,
.ig-nav-dropdown:hover .ig-nav-dropdown-toggle {
	color: var(--ig-orange);
}

.ig-nav-dropdown {
	position: relative;
	display: flex;
	align-items: center;
	height: 80px;
}

.ig-nav-dropdown-toggle {
	display: flex;
	align-items: center;
	gap: 5px;
}

.ig-nav-dropdown-toggle .caret {
	font-size: 0.7em;
	transition: transform var(--ig-transition);
}

.ig-nav-dropdown:hover .ig-nav-dropdown-toggle .caret,
.ig-nav-dropdown:focus-within .ig-nav-dropdown-toggle .caret {
	transform: rotate(180deg);
}

.ig-nav-dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: var(--ig-black);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-top: 2px solid var(--ig-orange);
	min-width: 230px;
	padding: 8px 0;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
	z-index: 110;
}

.ig-nav-dropdown:hover .ig-nav-dropdown-menu,
.ig-nav-dropdown:focus-within .ig-nav-dropdown-menu {
	display: block;
}

.ig-nav-dropdown-menu a {
	display: block;
	padding: 11px 20px;
	font-size: 1.05rem;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.8);
	text-transform: none;
	letter-spacing: 0.2px;
	transition: background var(--ig-transition), color var(--ig-transition);
}

.ig-nav-dropdown-menu a:hover {
	background: rgba(255, 102, 0, 0.12);
	color: var(--ig-orange);
}

.ig-nav-phones {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin-right: 8px;
	margin-left: auto;
}

.ig-nav-phones a {
	color: var(--ig-orange);
	font-size: 1.05rem;
	font-weight: 700;
	white-space: nowrap;
	line-height: 1.3;
}

/* Shared button look (also used by the homepage template) */
.ig-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 24px;
	border-radius: var(--ig-radius);
	font-family: var(--ig-font-display);
	font-weight: 700;
	font-size: 1rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	cursor: pointer;
	border: none;
	text-decoration: none;
	line-height: 1.2;
	transition: background var(--ig-transition), color var(--ig-transition), transform var(--ig-transition);
}

.ig-btn-primary {
	background: var(--ig-orange);
	color: #fff;
}

.ig-btn-primary:hover {
	background: var(--ig-orange-dark);
	color: #fff;
	transform: translateY(-1px);
}

.ig-shell-nav .ig-nav-cta {
	flex-shrink: 0;
}

/* Hamburger */
.ig-hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	padding: 4px;
	background: none;
	border: none;
}

.ig-hamburger span {
	display: block;
	width: 24px;
	height: 2px;
	background: #fff;
	transition: transform var(--ig-transition), opacity var(--ig-transition);
}

.ig-hamburger[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.ig-hamburger[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
}

.ig-hamburger[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.ig-mobile-menu {
	display: none;
	position: fixed;
	top: 80px;
	left: 0;
	right: 0;
	max-height: calc(100vh - 80px);
	overflow-y: auto;
	background: var(--ig-black);
	z-index: 99;
	padding: 20px 5% 28px;
	flex-direction: column;
	gap: 14px;
}

.ig-mobile-menu.is-open {
	display: flex;
}

.ig-mobile-menu a {
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.09rem;
	font-weight: 500;
	padding: 6px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	text-decoration: none;
}

.ig-mobile-menu a:hover {
	color: var(--ig-orange);
}

.ig-mobile-menu .ig-mobile-sub {
	padding-left: 20px;
	font-size: 0.98rem;
	color: rgba(255, 255, 255, 0.6);
}

.ig-mobile-menu .ig-mobile-cta {
	color: var(--ig-orange);
	font-family: var(--ig-font-display);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	border-bottom: none;
}

/* ------------------------------------------------------------------- FOOTER */
.ig-shell-footer {
	background: #111;
	padding: 50px 5% 28px;
	color: #fff;
	font-size: 0.93rem;
}

.ig-shell-footer a {
	text-decoration: none;
}

.ig-footer-top {
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	margin-bottom: 28px;
}

.ig-shell-footer .ig-footer-brand-logo {
	height: 40px;
	width: auto;
	max-width: none;
	display: block;
	margin: 0 0 10px;
}

.ig-footer-brand p {
	color: rgba(255, 255, 255, 0.45);
	font-size: 0.93rem;
	line-height: 1.7;
	margin: 14px 0 0;
	max-width: 280px;
}

.ig-footer-col h4 {
	font-family: var(--ig-font-display);
	font-weight: 700;
	font-size: 0.85rem;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: var(--ig-orange);
	margin: 0 0 16px;
}

.ig-footer-col ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ig-footer-col ul li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ig-footer-col ul li a {
	color: rgba(255, 255, 255, 0.5);
	font-size: 0.93rem;
	transition: color var(--ig-transition);
	word-break: break-word;
}

.ig-footer-col ul li a:hover {
	color: #fff;
}

.ig-footer-capability-btn {
	background: var(--ig-orange);
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 22px;
	border-radius: var(--ig-radius);
	font-family: var(--ig-font-display);
	font-weight: 700;
	font-size: 0.95rem;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-top: 16px;
	transition: background var(--ig-transition);
}

.ig-footer-capability-btn:hover {
	background: var(--ig-orange-dark);
	color: #fff;
}

.ig-footer-social {
	display: flex;
	gap: 10px;
	margin-top: 20px;
	flex-wrap: wrap;
}

.ig-footer-social a {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	color: rgba(255, 255, 255, 0.7);
	transition: background var(--ig-transition), color var(--ig-transition);
}

.ig-footer-social a:hover {
	background: var(--ig-orange);
	color: #fff;
}

.ig-footer-social svg {
	width: 15px;
	height: 15px;
	fill: currentColor;
	display: block;
}

.ig-footer-accreds-wrap {
	text-align: center;
	padding: 32px 5%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ig-footer-accreds-title {
	font-family: var(--ig-font-display);
	font-weight: 700;
	font-size: 0.78rem;
	color: var(--ig-orange);
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 20px;
}

.ig-footer-accreds {
	display: flex;
	gap: 28px;
	justify-content: center;
	flex-wrap: wrap;
	align-items: center;
}

.ig-accred-badge {
	background: #fff;
	border-radius: 8px;
	padding: 16px 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 110px;
}

.ig-shell-footer .ig-accred-badge img {
	height: 100%;
	max-height: 78px;
	width: auto;
	max-width: none;
	display: block;
	margin: 0;
}

.ig-footer-promise {
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	padding: 28px 5%;
	text-align: center;
}

.ig-footer-promise-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	max-width: 700px;
	margin: 0 auto;
}

.ig-footer-promise-title {
	font-family: var(--ig-font-display);
	font-weight: 700;
	font-size: 0.78rem;
	color: var(--ig-orange);
	text-transform: uppercase;
	letter-spacing: 1.5px;
}

.ig-footer-promise-text {
	font-size: 0.93rem;
	color: rgba(255, 255, 255, 0.45);
	line-height: 1.7;
	font-style: italic;
}

.ig-footer-bottom {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	text-align: center;
	padding-top: 24px;
}

.ig-footer-bottom p {
	color: rgba(255, 255, 255, 0.3);
	font-size: 0.85rem;
	margin: 0;
}

.ig-footer-bottom a {
	color: rgba(255, 255, 255, 0.3);
	font-size: 0.85rem;
	text-decoration: underline;
	transition: color var(--ig-transition);
}

.ig-footer-bottom a:hover {
	color: var(--ig-orange);
}

.ig-footer-bottom-sep {
	color: rgba(255, 255, 255, 0.2);
	font-size: 0.85rem;
}

/* -------------------------------------------------------------- RESPONSIVE */
@media (max-width: 1440px) {
	/* Larger nav text needs a tighter gap to still fit before the
	   hamburger breakpoint below. */
	.ig-nav-links {
		gap: 16px;
	}
}

@media (max-width: 1240px) {
	.ig-nav-links,
	.ig-nav-phones {
		display: none;
	}

	.ig-hamburger {
		display: flex;
	}
}

@media (max-width: 900px) {
	.ig-footer-top {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.ig-footer-top {
		grid-template-columns: 1fr;
	}

	.ig-accred-badge {
		height: 80px;
		padding: 10px 16px;
	}

	.ig-shell-footer .ig-accred-badge img {
		max-height: 56px;
	}

	.ig-shell-nav {
		gap: 10px;
		padding: 0 4%;
		height: 68px;
	}

	.ig-shell-nav .ig-nav-logo img {
		height: 32px;
	}

	.ig-shell-nav .ig-nav-cta {
		padding: 9px 14px;
		font-size: 0.87rem;
	}

	.ig-mobile-menu {
		top: 68px;
		max-height: calc(100vh - 68px);
	}

	.ig-hamburger {
		gap: 4px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ig-shell-nav *,
	.ig-shell-footer * {
		transition: none !important;
	}
}
