/* ==========================================================================
   Global IT Partners — design tokens (slightly dark theme)
   ========================================================================== */
:root {
	--ink: #0D0F12;       /* deepest panels: footer, dark sections, top strip, split-panel, CTA button */
	--bg: #1B1E22;        /* page background — the overall "slightly dark" base */
	--surface: #24282D;   /* elevated surfaces: header, cards, partner grid, why-panel, mobile nav */
	--white: #FFFFFF;     /* pure white — used for text/accents on dark backgrounds */
	--text: #ECEDEF;      /* primary body text on --bg / --surface */
	--orange: #E8621F;
	--orange-dark: #FF7A3D;
	--steel: #9BA3AD;
	--steel-light: #6B7480;
	--panel: #24282D;
	--line: rgba(255, 255, 255, 0.08);
	--font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
	--font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
	--wrap: 1200px;
	--gap: clamp(1.5rem, 3vw, 3rem);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
	font-family: var(--font-display);
	line-height: 1.15;
	margin: 0 0 0.5em;
	font-weight: 700;
	color: var(--text);
}

p { margin: 0 0 1.1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

ul { padding: 0; margin: 0; list-style: none; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

a:focus-visible, button:focus-visible {
	outline: 3px solid var(--orange-dark);
	outline-offset: 2px;
}

.wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.85em 1.6em;
	border: 2px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary {
	background: var(--orange);
	color: var(--white);
}
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost {
	background: transparent;
	border-color: var(--text);
	color: var(--text);
}
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.btn--nav {
	background: var(--orange);
	color: var(--white);
	font-size: 0.85rem;
	padding: 0.65em 1.3em;
}
.btn--nav:hover { background: var(--orange-dark); }

/* ==========================================================================
   Top strip + Header
   ========================================================================== */
.top-strip {
	background: var(--ink);
	color: var(--white);
	font-size: 0.8rem;
}
.top-strip__inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}
.top-strip__badge {
	font-family: var(--font-display);
	letter-spacing: 0.02em;
	color: var(--orange);
	font-weight: 600;
}
.top-strip__contact a {
	text-decoration: none;
	margin-left: 1.25rem;
}
.top-strip__contact a:first-child { margin-left: 0; }
.top-strip__contact a:hover { color: var(--orange); }

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--surface);
	border-bottom: 1px solid var(--line);
}
.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 1rem;
	padding-bottom: 1rem;
}
.site-branding__text {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
}
.site-branding__mark {
	width: 14px;
	height: 14px;
	background: var(--orange);
}
.site-branding {
	display: flex;
	align-items: center;
}
.custom-logo-link {
	display: flex;
	align-items: center;
}
.site-branding img,
.custom-logo-link img {
	max-height: 40px;
	width: auto;
	height: auto;
	display: block;
}
@media (max-width: 480px) {
	.site-branding img,
	.custom-logo-link img {
		max-height: 32px;
	}
}
.site-branding__name {
	font-family: var(--font-display);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--text);
}
.site-branding__name--footer { color: var(--white); font-size: 1.4rem; display: block; margin-bottom: 0.4rem; }

.site-nav {
	display: flex;
	align-items: center;
	gap: 2rem;
}
#primary-menu, .nav-menu {
	display: flex;
	gap: 1.75rem;
}
#primary-menu a, .nav-menu a {
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--text);
	position: relative;
}
#primary-menu a:hover, .nav-menu a:hover { color: var(--orange); }

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	width: 32px;
	height: 32px;
	padding: 0;
	cursor: pointer;
}
.menu-toggle span {
	display: block;
	height: 2px;
	width: 100%;
	background: var(--text);
}

@media (max-width: 860px) {
	.menu-toggle { display: flex; }
	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--surface);
		border-bottom: 1px solid var(--line);
		flex-direction: column;
		align-items: flex-start;
		padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem);
		gap: 1.25rem;
		display: none;
	}
	.site-nav.is-open { display: flex; }
	#primary-menu, .nav-menu { flex-direction: column; gap: 1rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; overflow: hidden; background: var(--bg); }
.hero__inner {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	align-items: center;
	gap: var(--gap);
	padding-top: clamp(3rem, 8vw, 6rem);
	padding-bottom: clamp(3rem, 8vw, 6rem);
}
.eyebrow-free-label {
	font-family: var(--font-display);
	color: var(--orange-dark);
	font-weight: 600;
	font-size: 0.85rem;
	margin: 0 0 1rem;
}
.hero__title {
	font-size: clamp(2.1rem, 4.2vw, 3.4rem);
	max-width: 14ch;
}
.hero__lede {
	font-size: 1.1rem;
	color: var(--steel);
	max-width: 46ch;
}
.hero__actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
	margin: 1.75rem 0 1.5rem;
}
.hero__credential {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--text);
	border-left: 3px solid var(--orange);
	padding-left: 0.75rem;
	margin: 0;
}
.hero__graphic { position: relative; min-height: 320px; }
.hero__diagonal {
	position: absolute;
	inset: 0;
	background: var(--surface);
	clip-path: polygon(28% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero__diagonal::after {
	content: "";
	position: absolute;
	right: 12%;
	bottom: 14%;
	width: 46px;
	height: 46px;
	background: var(--orange);
	transform: rotate(45deg);
}
.hero__dots {
	position: absolute;
	top: 8%;
	left: 6%;
	width: 90px;
	height: 60px;
	background-image: radial-gradient(var(--orange) 1.6px, transparent 1.6px);
	background-size: 12px 12px;
	opacity: 0.85;
}
@media (max-width: 860px) {
	.hero__inner { grid-template-columns: 1fr; }
	.hero__graphic { min-height: 200px; order: -1; }
}

/* ==========================================================================
   Sections (shared)
   ========================================================================== */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section__title { font-size: clamp(1.6rem, 3vw, 2.2rem); max-width: 20ch; }
.section__title--light { color: var(--white); }
.section__intro { color: var(--steel); max-width: 60ch; margin-bottom: 2.5rem; }

.section--dark { background: var(--ink); color: var(--white); }
.section--dark p { color: #C9CDD3; }

/* Two-column (who-we-are, contact) */
.two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--gap);
	align-items: center;
}
.two-col--reverse .two-col__media { order: 2; }
.two-col--reverse .two-col__text { order: 1; }
.two-col__text p { color: var(--steel); }
.two-col__text .section__title { color: var(--text); }
.media-block {
	aspect-ratio: 4 / 3;
	background: var(--panel);
	position: relative;
	border-left: 6px solid var(--orange);
}
.media-block--dark { background: var(--ink); border-left-color: var(--orange); }
@media (max-width: 780px) {
	.two-col, .two-col--reverse { grid-template-columns: 1fr; }
	.two-col--reverse .two-col__media, .two-col--reverse .two-col__text { order: initial; }
}

/* Vision & mission split panel */
.split-panel {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: #050607;
	margin-top: 2rem;
}
.split-panel__block { background: var(--ink); padding: clamp(1.75rem, 3vw, 2.75rem); }
.split-panel__block--accent { background: var(--orange); }
.split-panel__block h3 { color: var(--white); font-size: 1.2rem; }
.split-panel__block--accent h3 { color: var(--ink); }
.split-panel__block p { color: #C9CDD3; }
.split-panel__block--accent p { color: rgba(13, 15, 18, 0.85); }
@media (max-width: 780px) { .split-panel { grid-template-columns: 1fr; } }

/* Services */
.services-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	margin-top: 2rem;
}
.service-card {
	background: var(--surface);
	padding: clamp(1.5rem, 2.5vw, 2.25rem);
	border-left: 4px solid var(--orange);
}
.service-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; }
.service-card__lede { color: var(--steel); font-size: 0.95rem; }
.service-card ul { margin-top: 0.75rem; }
.service-card li {
	position: relative;
	padding-left: 1.1rem;
	margin-bottom: 0.55rem;
	font-size: 0.95rem;
	color: var(--text);
}
.service-card li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.55em;
	width: 6px;
	height: 6px;
	background: var(--orange);
}
@media (max-width: 780px) { .services-grid { grid-template-columns: 1fr; } }

/* Why us */
.why-panel { background: var(--panel); padding: clamp(1.75rem, 3vw, 2.75rem); margin-top: 2rem; }
.why-list li {
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--line);
	font-size: 1.02rem;
}
.why-list li:last-child { border-bottom: none; }
.why-list strong { color: var(--orange-dark); }

/* Partners */
.partner-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	margin-top: 1.5rem;
}
.partner-grid__item {
	background: var(--surface);
	padding: 1.2rem 0.75rem;
	text-align: center;
	font-family: var(--font-display);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--steel);
}

/* CTA */
.section--cta { background: var(--orange); color: var(--ink); }
.section--cta .section__title,
.section--cta h2,
.section--cta p { color: var(--ink); }
.cta-panel { text-align: left; max-width: 62ch; }
.cta-panel__title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
.section--cta .btn--primary { background: var(--ink); color: var(--white); }
.section--cta .btn--primary:hover { background: #000; }

/* Contact list */
.contact-list { margin-top: 1.75rem; }
.contact-list li {
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1rem;
}
.contact-list li a { text-decoration: none; font-weight: 600; }
.contact-list li a:hover { color: var(--orange); }
.contact-list__label {
	font-family: var(--font-display);
	font-size: 0.8rem;
	color: var(--steel-light);
	min-width: 8rem;
}

/* Generic page/post content */
.page-title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.page-content, .post-list__excerpt { color: var(--steel); max-width: 68ch; }
.post-list__item { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.post-list__title { margin-bottom: 0.25rem; font-size: 1.3rem; }
.post-list__title a { text-decoration: none; }
.post-list__meta { font-size: 0.85rem; color: var(--steel-light); margin-bottom: 0.5rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: #C9CDD3; }
.site-footer__inner {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: var(--gap);
	padding: clamp(2.5rem, 5vw, 4rem) 0 2rem;
}
.site-footer__tagline { max-width: 30ch; }
.footer-badge {
	display: inline-block;
	margin-top: 1rem;
	font-family: var(--font-display);
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--orange);
	border: 1px solid var(--orange);
	padding: 0.35em 0.75em;
}
.footer-widget__title, .site-footer__col h3 {
	color: var(--white);
	font-size: 1rem;
	margin-bottom: 1rem;
}
.footer-contact li, .footer-menu li { margin-bottom: 0.6rem; }
.footer-contact a, .footer-menu a { text-decoration: none; color: #C9CDD3; }
.footer-contact a:hover, .footer-menu a:hover { color: var(--orange); }
.site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 1.25rem 0;
	font-size: 0.85rem;
	color: var(--steel-light);
}
@media (max-width: 860px) {
	.site-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
	.site-footer__inner { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Elementor compatibility
   ========================================================================== */
.gip-elementor-page,
.gip-elementor-content .site-main {
	padding: 0;
}
.gip-elementor-page .elementor,
.gip-elementor-content .elementor {
	max-width: none;
}

.elementor-widget-container p {
	max-width: none;
}
.elementor-widget-container ul,
.elementor-widget-container ol {
	list-style: revert;
	padding-left: 1.2em;
	margin: 0 0 1em;
}
.elementor-widget-container li {
	padding-left: 0;
}
.elementor-widget-container li::before {
	content: none;
}

body.elementor-page .site-header {
	position: relative;
}
