/* ==========================================================================
   EdisonX — Base
   ========================================================================== */

:root {
	--bg: #05070f;
	--bg-alt: #080b16;
	--surface: #0d1226;
	--surface-2: #101a33;
	--border: rgba(255, 255, 255, 0.08);
	--border-strong: rgba(255, 255, 255, 0.16);
	--text: #e9ecf7;
	--text-muted: #97a0c3;
	--text-faint: #6c7599;
	--accent: #4f6bff;
	--accent-2: #8b5cf6;
	--accent-soft: rgba(79, 107, 255, 0.12);
	--success: #34d399;
	--radius: 16px;
	--radius-sm: 10px;
	--container: 1280px;
	--header-h: 76px;
	--font-body: 'Inter', system-ui, -apple-system, sans-serif;
	--font-head: 'Sora', var(--font-body);
}

* , *::before, *::after { box-sizing: border-box; }

html {
	scroll-behavior: smooth;
	overflow-x: hidden;
	width: 100%;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	width: 100%;
}

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

a { color: inherit; text-decoration: none; }

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

h1, h2, h3, h4 {
	font-family: var(--font-head);
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 .5em;
	letter-spacing: -0.01em;
}

p { margin: 0 0 1em; color: var(--text-muted); }

.container {
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 20px;
}

.text-gradient {
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.accent { color: var(--accent); }

/* Buttons
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: 999px;
	font-weight: 600;
	font-size: 15px;
	border: 1px solid transparent;
	cursor: pointer;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
	white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
	color: #fff;
	box-shadow: 0 10px 30px -10px rgba(79, 107, 255, .6);
}

.btn-primary:hover { box-shadow: 0 14px 34px -8px rgba(79, 107, 255, .75); }

.btn-outline {
	background: transparent;
	color: var(--text);
	border-color: var(--border-strong);
}

.btn-outline:hover { border-color: var(--accent); background: var(--accent-soft); }

.btn-light {
	background: #fff;
	color: #0a0e1a;
}

.btn-light:hover { box-shadow: 0 10px 26px -8px rgba(255,255,255,.35); }

.btn-sm { padding: 10px 20px; font-size: 14px; }

/* Header
   ========================================================================== */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(5, 7, 15, 0.75);
	backdrop-filter: blur(14px);
	border-bottom: 1px solid var(--border);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: var(--header-h);
	gap: 24px;
}

.site-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-head);
	font-weight: 800;
	font-size: 22px;
	flex-shrink: 0;
}

.logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	font-size: 20px;
	color: #fff;
}

.primary-nav { flex: 1; display: flex; justify-content: center; }

.nav-menu {
	display: flex;
	align-items: center;
	gap: 30px;
}

.nav-menu > li { position: relative; }

.nav-menu > li > a {
	font-size: 15px;
	font-weight: 500;
	color: var(--text-muted);
	padding: 10px 0;
	transition: color .2s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a { color: #fff; }

.nav-menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 8px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all .2s ease;
	box-shadow: 0 20px 40px -12px rgba(0,0,0,.5);
}

.nav-menu li.has-children:hover .sub-menu,
.nav-menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav-menu .sub-menu a {
	display: block;
	padding: 10px 12px;
	border-radius: 8px;
	font-size: 14px;
	color: var(--text-muted);
}

.nav-menu .sub-menu a:hover { background: var(--accent-soft); color: #fff; }

.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

.nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px;
	height: 40px;
	background: transparent;
	border: 1px solid var(--border-strong);
	border-radius: 8px;
	cursor: pointer;
	padding: 0;
}

.nav-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	margin: 0 auto;
	background: var(--text);
	transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Section basics
   ========================================================================== */

.section { padding: 80px 0; }

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }

.eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--accent);
	margin-bottom: 12px;
}

.eyebrow-light { color: #cdd6ff; }

.section-head h2 { font-size: clamp(28px, 4vw, 38px); }
.section-head p { font-size: 16px; }

.grid { display: grid; gap: 24px; }
.grid > * { min-width: 0; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

.card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 28px;
	transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.card:hover {
	transform: translateY(-4px);
	border-color: var(--border-strong);
	background: var(--surface-2);
}

.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14.5px; margin-bottom: 16px; }

.card-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--accent-soft);
	color: var(--accent);
	font-size: 24px;
	margin-bottom: 18px;
}

.card-icon-sm { width: 44px; height: 44px; font-size: 20px; border-radius: 12px; }

.card-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--accent);
}

.card-link i { transition: transform .2s ease; }
.card-link:hover i { transform: translateX(3px); }

/* Hero
   ========================================================================== */

.hero { padding: 64px 0 40px; position: relative; }

.hero-inner {
	display: grid;
	grid-template-columns: 1.15fr .85fr;
	align-items: center;
	gap: 48px;
}

.badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--accent-soft);
	border: 1px solid rgba(79,107,255,.35);
	color: #c9d3ff;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 20px;
}

.badge i { color: #ffcf5c; }

.hero h1 {
	font-size: clamp(34px, 5vw, 54px);
	margin-bottom: 20px;
}

.hero-lead {
	font-size: 17px;
	max-width: 540px;
	margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 44px; }

.hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 40px;
}

.hero-stats li { display: flex; flex-direction: column; gap: 2px; }
.hero-stats strong { font-family: var(--font-head); font-size: 24px; }
.hero-stats span { font-size: 13px; color: var(--text-faint); }

.hero-visual {
	position: relative;
	height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-orb {
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(79,107,255,.55), rgba(139,92,246,.25) 60%, transparent 75%);
	border: 1px solid rgba(79,107,255,.35);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 64px;
	color: #cdd6ff;
	box-shadow: 0 0 90px rgba(79,107,255,.35);
	animation: edisonx-float 5s ease-in-out infinite;
}

.hero-pill {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	background: var(--surface);
	border: 1px solid var(--border-strong);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	box-shadow: 0 14px 30px -10px rgba(0,0,0,.6);
	animation: edisonx-float 6s ease-in-out infinite;
}

.hero-pill i { color: var(--accent); font-size: 16px; }
.hero-pill-1 { top: 6%; left: -4%; animation-delay: .2s; }
.hero-pill-2 { top: 18%; right: -6%; animation-delay: 1s; }
.hero-pill-3 { bottom: 20%; left: -8%; animation-delay: 1.8s; }
.hero-pill-4 { bottom: 4%; right: -2%; animation-delay: 2.4s; }

@keyframes edisonx-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-12px); }
}

.trusted-by {
	margin-top: 56px;
	padding-top: 32px;
	border-top: 1px solid var(--border);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 36px;
}

.trusted-label { font-size: 13px; color: var(--text-faint); flex-shrink: 0; }

.trusted-logos {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	opacity: .75;
}

.trusted-logos span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	font-size: 14px;
	color: var(--text-muted);
}

.trusted-logos i { font-size: 18px; }

/* Services
   ========================================================================== */

.services-cta { text-align: center; margin-top: 40px; }

/* Why choose
   ========================================================================== */

.why-choose { background: var(--bg-alt); }

.reason-card { text-align: left; }

/* Case studies + CTA banner
   ========================================================================== */

.case-card {
	display: block;
	padding: 0;
	overflow: hidden;
}

.case-card-media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--bg);
}

.case-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s ease;
}

.case-card:hover .case-card-media img { transform: scale(1.06); }

.case-card-body { padding: 22px 24px 26px; }

.case-tag {
	position: absolute;
	top: 14px;
	left: 14px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: #fff;
	background: rgba(5, 7, 15, .65);
	backdrop-filter: blur(6px);
	padding: 5px 12px;
	border-radius: 999px;
}

.cta-banner {
	padding: 0;
}

.cta-banner-inner {
	background: linear-gradient(120deg, #3548c9, #6d3fd6);
	border-radius: var(--radius);
	padding: 40px 44px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.cta-banner-inner h3 { color: #fff; font-size: 24px; margin: 6px 0 0; }
.cta-banner-inner .btn-light { flex-shrink: 0; }

/* Industries
   ========================================================================== */

.industries { background: var(--bg-alt); }

.industry-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 20px 14px;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	transition: transform .2s ease, border-color .2s ease;
}

.industry-card:hover { transform: translateY(-3px); border-color: var(--border-strong); }
.industry-card span { font-size: 13.5px; font-weight: 600; }

/* Process
   ========================================================================== */

.process-track {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
}

.process-step {
	flex: 1;
	min-width: 0;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 24px 18px;
	text-align: center;
}

.process-num {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--accent-soft);
	color: var(--accent);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	font-family: var(--font-head);
	margin: 0 auto 14px;
}

.process-step h3 { font-size: 16px; margin-bottom: 6px; }
.process-step p { font-size: 13.5px; margin-bottom: 0; }

.process-arrow {
	color: var(--text-faint);
	font-size: 22px;
	padding-top: 34px;
	flex-shrink: 0;
}

/* Technologies
   ========================================================================== */

.technologies { background: var(--bg-alt); }

.tech-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
}

.tech-icon {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	height: 84px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	color: var(--text-muted);
	transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.tech-icon:hover { color: var(--accent); border-color: var(--border-strong); transform: translateY(-3px); }

/* Global presence
   ========================================================================== */

.global-presence-inner {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 40px;
	align-items: center;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 44px;
}

.global-presence-inner h2 { font-size: 28px; }

.presence-stats { gap: 20px; }

.stat-box {
	background: var(--bg);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	padding: 20px;
	text-align: center;
}

.stat-box strong { display: block; font-family: var(--font-head); font-size: 26px; color: var(--accent); margin-bottom: 4px; }
.stat-box span { font-size: 12.5px; color: var(--text-faint); }

/* Testimonials
   ========================================================================== */

.testimonials { background: var(--bg-alt); }

.quote-icon { font-size: 28px; color: var(--accent); margin-bottom: 12px; display: block; }

.testimonial-card p { font-size: 15px; color: var(--text); margin-bottom: 20px; }

.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--accent), var(--accent-2));
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	flex-shrink: 0;
}

.testimonial-author strong { display: block; font-size: 14.5px; }
.testimonial-author span { font-size: 12.5px; color: var(--text-faint); }

/* Final CTA
   ========================================================================== */

.final-cta-inner {
	text-align: center;
	background: linear-gradient(120deg, #3548c9, #6d3fd6);
	border-radius: var(--radius);
	padding: 56px 24px;
}

.final-cta-inner h2 { color: #fff; }
.final-cta-inner p { color: rgba(255,255,255,.85); margin-bottom: 28px; }

/* Footer
   ========================================================================== */

.site-footer {
	background: var(--bg-alt);
	border-top: 1px solid var(--border);
	padding-top: 64px;
}

.footer-top {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
	gap: 32px;
	padding-bottom: 48px;
}

.footer-col { min-width: 0; }
.footer-col h4 { font-size: 15px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { font-size: 14px; color: var(--text-muted); transition: color .2s ease; }
.footer-col ul a:hover { color: #fff; }

.footer-about p { font-size: 14px; margin: 16px 0 20px; }

.social-links { display: flex; gap: 10px; }

.social-links a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--border-strong);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	transition: background .2s ease, border-color .2s ease;
}

.social-links a:hover { background: var(--accent); border-color: var(--accent); }

.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: var(--text-muted);
	margin-bottom: 14px;
}

.contact-list i { color: var(--accent); font-size: 17px; flex-shrink: 0; margin-top: 2px; }

.contact-list li span { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.contact-list li span a { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-weight: 600; }
.contact-list li span a:hover { color: #fff; }

.newsletter-form { display: flex; gap: 8px; margin-top: 16px; }

.newsletter-form input {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	border-radius: 999px;
	border: 1px solid var(--border-strong);
	background: var(--surface);
	color: var(--text);
	font-size: 13.5px;
}

.newsletter-form input:focus { outline: none; border-color: var(--accent); }

.footer-bottom {
	border-top: 1px solid var(--border);
	padding: 22px 20px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 13px;
	color: var(--text-faint);
}

.footer-legal { display: flex; gap: 20px; }
.footer-legal a:hover { color: #fff; }

.generic-content { padding: 80px 0; min-height: 40vh; }

/* About page
   ========================================================================== */

.about-hero { padding-bottom: 0; text-align: center; }

.about-intro {
	max-width: 760px;
	margin: 0 auto 56px;
	text-align: center;
}

.about-intro p { font-size: 17px; line-height: 1.75; }

.about-values .card { text-align: center; }
.about-values .card-icon { margin-left: auto; margin-right: auto; }

/* Contact page
   ========================================================================== */

.contact-hero { padding-bottom: 0; }

.contact-offices { padding-top: 0; }

.office-phone { margin-bottom: 4px; }
.office-phone a { font-weight: 600; }
.office-address { font-size: 13px; color: var(--text-faint); margin-bottom: 0; }

.contact-form-standalone { max-width: 640px; margin: 0 auto; }

.contact-grid {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: 28px;
	align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 20px; }

.contact-info-card { text-align: left; }
.contact-info-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-info-card p { margin: 0; font-size: 14.5px; }
.contact-info-card a { color: var(--text-muted); transition: color .2s ease; }
.contact-info-card a:hover { color: var(--accent); }

.contact-form-card { padding: 36px; }

.hp-field {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	opacity: 0;
	pointer-events: none;
}

.form-row { margin-bottom: 20px; }

.form-row-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}

.form-row label {
	display: block;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.form-row input,
.form-row textarea {
	width: 100%;
	padding: 13px 16px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border-strong);
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 14.5px;
	resize: vertical;
}

.form-row input:focus,
.form-row textarea:focus {
	outline: none;
	border-color: var(--accent);
}

.contact-form .btn { width: 100%; justify-content: center; margin-top: 4px; }

.form-notice {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 14px 16px;
	border-radius: var(--radius-sm);
	font-size: 14px;
	margin-bottom: 24px;
}

.form-notice i { font-size: 20px; flex-shrink: 0; }

.form-notice-success {
	background: rgba(52, 211, 153, .12);
	border: 1px solid rgba(52, 211, 153, .35);
	color: #7ce9c4;
}

.form-notice-error {
	background: rgba(248, 113, 113, .12);
	border: 1px solid rgba(248, 113, 113, .35);
	color: #f8a5a5;
}

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

@media (max-width: 560px) {
	.contact-form-card { padding: 24px; }
	.form-row-split { grid-template-columns: 1fr; gap: 0; }
}

/* Portfolio page
   ========================================================================== */

.portfolio-hero { padding-bottom: 0; }

.portfolio-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 36px;
}

.portfolio-tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	border: 1px solid var(--border-strong);
	background: var(--surface);
	color: var(--text-muted);
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s ease, border-color .2s ease, color .2s ease;
	white-space: nowrap;
}

.portfolio-tab:hover { border-color: var(--accent); color: var(--text); }

.portfolio-tab.is-active {
	background: linear-gradient(90deg, var(--accent), var(--accent-2));
	border-color: transparent;
	color: #fff;
}

.portfolio-panel { display: none; }
.portfolio-panel.is-active { display: block; }

.portfolio-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.portfolio-item {
	display: block;
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--radius-sm);
	overflow: hidden;
	border: 1px solid var(--border);
	background: var(--surface);
}

.portfolio-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease;
}

.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-empty-note {
	color: var(--text-muted);
	font-size: 14.5px;
	margin-bottom: 20px;
}

.portfolio-docs { margin-top: 28px; }
.portfolio-docs h3 { font-size: 16px; margin-bottom: 14px; }

.portfolio-doc-list {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.portfolio-doc-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border-radius: var(--radius-sm);
	border: 1px solid var(--border-strong);
	background: var(--surface);
	font-size: 14px;
	font-weight: 600;
	color: var(--text);
	transition: border-color .2s ease, background .2s ease;
}

.portfolio-doc-link:hover { border-color: var(--accent); background: var(--surface-2); }
.portfolio-doc-link i.bxs-file-pdf { color: #f87171; font-size: 18px; }
.portfolio-doc-link i.bx-download { font-size: 16px; color: var(--text-faint); }

@media (max-width: 1024px) {
	.portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
	.portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.portfolio-tab { padding: 9px 14px; font-size: 13px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.hero-inner { grid-template-columns: 1fr; }
	.hero-visual { height: 320px; order: -1; }
	.hero-pill { font-size: 12px; padding: 8px 12px; }
	.grid-4 { grid-template-columns: repeat(3, 1fr); }
	.grid-5 { grid-template-columns: repeat(3, 1fr); }
	.grid-6 { grid-template-columns: repeat(4, 1fr); }
	.tech-grid { grid-template-columns: repeat(4, 1fr); }
	.global-presence-inner { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
	.primary-nav {
		position: fixed;
		top: var(--header-h);
		left: 0;
		right: 0;
		height: calc(100vh - var(--header-h));
		background: var(--bg);
		border-top: 1px solid var(--border);
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		padding: 24px 20px;
		transform: translateX(100%);
		transition: transform .3s ease;
		z-index: 99;
		overflow-y: auto;
	}

	.primary-nav.is-open { transform: translateX(0); }

	.nav-menu { flex-direction: column; align-items: stretch; gap: 4px; width: 100%; }
	.nav-menu > li > a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--border); }
	.nav-menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
		border: none;
		background: transparent;
		padding-left: 12px;
	}
	.nav-menu li.has-children.is-open .sub-menu { display: block; }

	.header-actions .btn-primary { display: none; }
	.nav-toggle { display: flex; }

	.process-track { flex-direction: column; align-items: stretch; }
	.process-arrow { display: none; }
}

@media (max-width: 768px) {
	.section { padding: 56px 0; }
	.grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
	.grid-6 { grid-template-columns: repeat(3, 1fr); }
	.tech-grid { grid-template-columns: repeat(3, 1fr); }
	.footer-top { grid-template-columns: 1fr; }
	.cta-banner-inner { flex-direction: column; align-items: flex-start; }
	.hero-stats { gap: 24px 32px; }
	.hero-pill { display: none; }
	.hero-orb { width: 180px; height: 180px; font-size: 52px; }
	.hero-visual { height: 220px; }
	.case-studies .grid-3 {
		grid-template-columns: 1fr;
		max-width: 480px;
		margin: 0 auto;
	}
}

@media (max-width: 560px) {
	:root { --header-h: 68px; }
	.container { padding: 0 16px; }
	.grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }
	.tech-grid { grid-template-columns: repeat(2, 1fr); }
	.hero-actions { flex-direction: column; align-items: stretch; }
	.hero-actions .btn { justify-content: center; }
	.hero h1 { font-size: 30px; }
	.global-presence-inner { padding: 28px 20px; }
	.presence-stats { grid-template-columns: repeat(2, 1fr) !important; }
	.final-cta-inner { padding: 40px 20px; }
	.footer-bottom { flex-direction: column; text-align: center; }
	.newsletter-form { flex-direction: column; }
}
