/**
 * Sateri Digital — Site-wide shell (header, footer, typography, buttons)
 * Loaded on every page.
 */

.sateri-redesign {
	--sateri-header-height: 5.5rem;
	scroll-padding-top: var(--sateri-header-height);
}

.sateri-redesign [id] {
	scroll-margin-top: calc(var(--sateri-header-height) + 1rem);
}

.sateri-header-wrap {
	position: relative;
	z-index: 1000;
}

.sateri-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	padding: 1rem 0;
	transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease, backdrop-filter 0.35s ease;
}

.sateri-header.is-scrolled {
	padding: 0.65rem 0;
}

.sateri-header__shell {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	position: relative;
	z-index: 2;
}

@media (min-width: 961px) {
	.sateri-header__shell {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
	}

	.sateri-header__brand {
		grid-column: 1;
		justify-self: start;
	}

	.sateri-header__actions {
		grid-column: 3;
		justify-self: end;
	}

	.sateri-nav {
		position: fixed;
		top: 0;
		left: 50%;
		transform: translateX(-50%);
		height: var(--sateri-header-height, 5.5rem);
		display: flex;
		align-items: center;
		width: auto;
		max-width: none;
		min-height: 0;
		padding: 0;
		background: transparent;
		box-shadow: none;
		visibility: visible;
		pointer-events: auto;
		opacity: 1;
		overflow: visible;
		z-index: 1001;
	}

	.sateri-nav.is-open {
		transform: translateX(-50%);
	}
}

.sateri-header__brand img,
.sateri-header__logo {
	height: 50px;
	width: auto;
	max-width: min(220px, 42vw);
	filter: brightness(0) invert(1);
}

.sateri-nav__list {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sateri-nav__list li { margin: 0; }

.sateri-nav__list .menu-item a,
.sateri-nav__link {
	display: block;
	padding: 0.5rem 1rem;
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 500;
	border-radius: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	transition: color 0.25s ease;
}

.sateri-nav__link:hover,
.sateri-nav__list .menu-item a:hover {
	color: #ffffff;
	background: transparent;
}

.sateri-nav__link.is-active,
.sateri-nav__list .current-menu-item > a,
.sateri-nav__list .current_page_item > a,
.sateri-nav__list .current-menu-ancestor > a {
	color: var(--sateri-cyan-hover);
	font-weight: 600;
	background: transparent;
	border: none;
	box-shadow: none;
}

.sateri-header__actions {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.sateri-header__cta {
	padding: 0.65rem 1.35rem;
	font-size: 0.88rem;
}

.sateri-header__toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.5rem;
	position: relative;
	z-index: 2;
}

.sateri-header__toggle span {
	display: block;
	width: 24px;
	height: 2px;
	background: #ffffff;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.sateri-nav-backdrop {
	display: none;
}

.sateri-nav__close {
	display: none;
}

@media (max-width: 960px) {
	.sateri-header-wrap.is-nav-open {
		z-index: 10050;
	}

	.sateri-header {
		backdrop-filter: none !important;
		-webkit-backdrop-filter: none !important;
		overflow: visible;
	}

	.sateri-header.is-nav-open {
		z-index: 10050;
	}

	.sateri-header__shell {
		overflow: visible;
	}

	.sateri-redesign {
		--sateri-header-height: 4.75rem;
	}

	.sateri-header__toggle {
		display: flex;
		min-width: 44px;
		min-height: 44px;
	}

	.sateri-header-wrap.is-nav-open .sateri-header__toggle,
	.sateri-header.is-nav-open .sateri-header__toggle {
		visibility: hidden;
		pointer-events: none;
	}

	.sateri-header__cta { display: none; }

	.sateri-nav-backdrop {
		display: block;
		position: fixed;
		inset: 0;
		z-index: 10051;
		background: rgba(15, 11, 69, 0.4);
		opacity: 0;
		pointer-events: none;
		transition: opacity 0.35s ease;
	}

	.sateri-nav-backdrop:not([hidden]) {
		opacity: 1;
		pointer-events: auto;
	}

	.sateri-nav {
		position: fixed;
		inset: 0;
		width: 100%;
		max-width: 100%;
		height: 100%;
		min-height: 100dvh;
		z-index: 10052;
		display: flex;
		flex-direction: column;
		padding: 1.25rem 1.5rem 2.5rem;
		background: #ffffff;
		box-shadow: none;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		visibility: hidden;
		pointer-events: none;
		opacity: 0;
		transform: translateX(100%);
		transition:
			transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
			visibility 0s linear 0.4s,
			opacity 0.35s ease;
	}

	.sateri-nav.is-open {
		visibility: visible;
		pointer-events: auto;
		opacity: 1;
		transform: translateX(0);
		transition:
			transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
			visibility 0s linear 0s,
			opacity 0.35s ease;
	}

	.sateri-nav__close {
		display: flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		width: 3rem;
		height: 3rem;
		margin: 0 0 1.5rem auto;
		padding: 0;
		border: 1.5px solid rgba(15, 11, 69, 0.12);
		border-radius: 50%;
		background: #f4f5fa;
		color: #0F0B45;
		cursor: pointer;
		transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
	}

	.sateri-nav__close:hover,
	.sateri-nav__close:focus-visible {
		background: #ebedf5;
		border-color: rgba(15, 11, 69, 0.22);
		color: #0F0B45;
		outline: none;
	}

	.sateri-nav__close:active {
		transform: scale(0.96);
	}

	.sateri-nav__list {
		flex: 1 1 auto;
		flex-direction: column;
		align-items: stretch;
		gap: 0.25rem;
		width: 100%;
	}

	.sateri-nav__list .menu-item a,
	.sateri-nav__link {
		padding: 1rem 1.1rem;
		font-family: var(--sateri-font-display);
		font-size: clamp(1.15rem, 4.5vw, 1.45rem);
		font-weight: 600;
		letter-spacing: -0.01em;
		color: #0F0B45 !important;
		border-radius: var(--sateri-radius-md, 0.5rem);
		border-bottom: 1px solid var(--sateri-line);
		transition: color 0.25s ease, background 0.25s ease;
	}

	.sateri-nav__list li:last-child .menu-item a,
	.sateri-nav__list li:last-child .sateri-nav__link {
		border-bottom: none;
	}

	.sateri-nav__list .menu-item a:hover,
	.sateri-nav__link:hover {
		color: #0F0B45 !important;
		background: #f4f5fa;
	}

	.sateri-nav__link.is-active,
	.sateri-nav__list .current-menu-item > a,
	.sateri-nav__list .current_page_item > a,
	.sateri-nav__list .current-menu-ancestor > a {
		color: var(--sateri-cyan) !important;
		background: rgba(41, 164, 213, 0.08);
	}

	body.sateri-nav-open {
		overflow: hidden;
		touch-action: none;
	}
}

.sateri-btn--primary,
a.sateri-btn--primary,
.sateri-header .sateri-btn--primary {
	color: #ffffff !important;
}

.sateri-btn--primary:hover,
a.sateri-btn--primary:hover {
	color: #ffffff !important;
}

.sateri-btn--outline,
a.sateri-btn--outline {
	color: #ffffff !important;
}

.sateri-btn--outline:hover,
a.sateri-btn--outline:hover {
	color: #ffffff !important;
}

.sateri-hero,
.sateri-section--dark,
.sateri-footer {
	color: rgba(255, 255, 255, 0.9);
}

.sateri-hero h1,
.sateri-hero h2,
.sateri-hero h3,
.sateri-section--dark h1,
.sateri-section--dark h2,
.sateri-section--dark h3,
.sateri-section--dark h4 {
	color: #ffffff !important;
}

.sateri-redesign .sateri-hero p,
.sateri-redesign .sateri-hero__desc,
.sateri-redesign .sateri-section--dark p,
.sateri-redesign .sateri-footer p {
	color: rgba(255, 255, 255, 0.9) !important;
}

.sateri-hero h1.sateri-hero__title {
	color: #ffffff !important;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.sateri-hero__title span {
	display: inline;
	background: linear-gradient(135deg, #2fbde2 0%, #29a4d5 40%, #596ae9 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	color: transparent;
}

.sateri-hero__desc {
	font-size: 1.1rem;
	color: rgba(255, 255, 255, 0.92) !important;
	line-height: 1.75;
	font-weight: 400;
}

.sateri-hero__badge {
	color: rgba(255, 255, 255, 0.95);
}

.sateri-hero__stat span {
	color: rgba(255, 255, 255, 0.78) !important;
}

.sateri-footer {
	background: var(--sateri-navy-deep);
	color: rgba(255, 255, 255, 0.78);
	padding: 4rem 0 2rem;
	position: relative;
	overflow: hidden;
}

.sateri-footer__glow {
	position: absolute;
	top: -50%;
	left: 50%;
	transform: translateX(-50%);
	width: 600px;
	height: 300px;
	background: radial-gradient(ellipse, rgba(41, 164, 213, 0.15), transparent 70%);
	pointer-events: none;
}

.sateri-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 2.5rem;
	margin-bottom: 3rem;
	position: relative;
}

.sateri-footer__tagline {
	font-size: 0.9rem;
	line-height: 1.6;
	margin: 1rem 0;
	max-width: 32ch;
	color: rgba(255, 255, 255, 0.75);
}

.sateri-footer__social {
	display: flex;
	gap: 0.75rem;
}

.sateri-footer__social a {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	transition: background 0.25s, transform 0.25s;
}

.sateri-footer__social a:hover {
	background: var(--sateri-cyan);
}

.sateri-footer__col h4 {
	color: white;
	font-size: 0.95rem;
	margin-bottom: 1.25rem;
}

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

.sateri-footer__col li { margin-bottom: 0.65rem; }

.sateri-footer__col a {
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	font-size: 0.88rem;
	transition: color 0.25s;
}

.sateri-footer__col a:hover { color: var(--sateri-cyan-hover); }

.sateri-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 1rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.85rem;
}

.sateri-footer__badges {
	display: flex;
	gap: 1.5rem;
}

.sateri-footer__badges span {
	padding: 0.35rem 0.85rem;
	border-radius: 999px;
	font-size: 0.78rem;
}

@media (max-width: 1024px) {
	.sateri-footer__grid { grid-template-columns: 1fr 1fr; }
	.sateri-redesign { --sateri-header-height: 4.75rem; }
}

@media (max-width: 767px) {
	.sateri-footer__grid { grid-template-columns: 1fr; }
	.sateri-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}
	.sateri-footer__badges {
		flex-wrap: wrap;
		gap: 0.75rem;
	}
	.sateri-footer__social a {
		width: 44px;
		height: 44px;
	}
	.sateri-header__brand img,
	.sateri-header__logo {
		height: 42px;
		max-width: min(180px, 48vw);
	}
	.sateri-header__toggle {
		min-width: 44px;
		min-height: 44px;
	}
}

.sateri-redesign-inner #content,
.sateri-redesign-inner .site-main,
.sateri-redesign-inner .elementor {
	padding-top: 5rem;
}

.elementor-location-header,
.elementor-location-footer {
	display: none !important;
}

.sateri-homepage #content {
	padding: 0;
	max-width: none;
}

.sateri-homepage .page-header {
	display: none;
}

.sateri-about-page #content {
	padding: 0;
	max-width: none;
}

.sateri-about-page .page-header {
	display: none;
}

.sateri-team-page #content {
	padding: 0;
	max-width: none;
}

.sateri-team-page .page-header {
	display: none;
}
