/* StepsMiles Elementor Theme — header & footer
   Brand Color Scheme v1.0
   ------------------------------------------------------------------ */

:root {
	--stm-blue: #0A5BFF;
	--stm-blue-2: #2D7BFF;
	--stm-teal: #09C78A;
	--stm-navy: #081A3A;
	--stm-bg: #F8FAFD;
	--stm-white: #FFFFFF;
	--stm-soft-blue: #EEF5FF;
	--stm-soft-green: #EFFCF8;
	--stm-border: #E2E8F2;
	--stm-heading: #102A43;
	--stm-body: #4A5C78;
	--stm-muted: #7A8CA8;
	--stm-footer-text: #C8D3E6;
	--stm-footer-muted: #8EA0BC;
	--stm-gradient: linear-gradient(135deg, #0A5BFF 0%, #2D7BFF 45%, #09C78A 100%);
	--stm-radius-card: 18px;
	--stm-radius-btn: 12px;
	--stm-shadow-card: 0 12px 35px rgba(15, 23, 42, .07);
	--stm-shadow-header: 0 8px 30px rgba(15, 23, 42, .08);
	--stm-header-h: 80px;
	--stm-header-h-sticky: 64px;
	--stm-font-head: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--stm-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* Base
   ------------------------------------------------------------------ */

html {
	scroll-behavior: auto;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

body {
	margin: 0;
	background: var(--stm-bg);
	color: var(--stm-body);
	font-family: var(--stm-font-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

body [id] {
	scroll-margin-top: calc(var(--stm-header-h-sticky) + 20px);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--stm-font-head);
	color: var(--stm-heading);
	line-height: 1.25;
	margin: 0 0 .6em;
}

a {
	color: var(--stm-blue);
}

img {
	max-width: 100%;
	height: auto;
}

.stm-container {
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 32px;
	width: 100%;
	box-sizing: border-box;
}

.stm-content {
	padding: 48px 32px 72px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

.stm-skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 1000;
	width: auto;
	height: auto;
	clip: auto;
	padding: 12px 18px;
	background: var(--stm-white);
	border-radius: var(--stm-radius-btn);
	box-shadow: var(--stm-shadow-card);
	color: var(--stm-heading);
	font-weight: 700;
}

:focus-visible {
	outline: 2px solid var(--stm-blue);
	outline-offset: 3px;
}

/* Buttons
   ------------------------------------------------------------------ */

.stm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 20px;
	border: 0;
	border-radius: var(--stm-radius-btn);
	font-family: var(--stm-font-body);
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.stm-btn--gradient {
	background: var(--stm-gradient);
	color: var(--stm-white);
	box-shadow: 0 10px 24px rgba(10, 91, 255, .18);
}

.stm-btn--gradient:hover,
.stm-btn--gradient:focus-visible {
	color: var(--stm-white);
	box-shadow: 0 14px 30px rgba(10, 91, 255, .24);
}

.stm-btn svg {
	width: 18px;
	height: 18px;
	flex: none;
}

@media (prefers-reduced-motion: no-preference) {
	.stm-btn--gradient:hover {
		transform: translateY(-2px);
	}
}

/* Header
   ------------------------------------------------------------------ */

.stm-header {
	background: var(--stm-white);
	border-bottom: 1px solid var(--stm-border);
	position: relative;
	z-index: 100;
}

.stm-header--sticky {
	position: sticky;
	top: 0;
	border-bottom-color: transparent;
	transition: box-shadow .25s ease, background-color .25s ease;
}

.stm-header--sticky.is-stuck {
	box-shadow: var(--stm-shadow-header);
}

.stm-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: var(--stm-header-h);
	transition: height .25s ease;
}

.stm-header--sticky.is-stuck .stm-header__inner {
	height: var(--stm-header-h-sticky);
}

.stm-header__brand {
	display: flex;
	align-items: center;
	flex: none;
}

.stm-logo--header,
.stm-logo--header a,
.stm-header__brand .custom-logo-link {
	display: block;
	line-height: 0;
}

.stm-logo--header img,
.stm-header__brand .custom-logo {
	width: auto;
	height: auto;
	max-width: 190px;
	max-height: 52px;
	transition: max-width .25s ease;
}

.stm-header--sticky.is-stuck .stm-logo--header img,
.stm-header--sticky.is-stuck .stm-header__brand .custom-logo {
	max-height: 42px;
}

/* Desktop navigation */

.stm-header__nav {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
}

.stm-nav {
	display: flex;
	align-items: flex-end;
	gap: 30px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.stm-nav .stm-menu-link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 4px 2px 10px;
	position: relative;
	color: var(--stm-heading);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: color .2s ease;
}

.stm-nav .stm-menu-link svg {
	width: 20px;
	height: 20px;
	color: var(--stm-heading);
	transition: color .2s ease;
}

.stm-nav .stm-menu-link::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 0;
	height: 3px;
	border-radius: 3px;
	background: var(--stm-blue);
	transform: translateX(-50%);
	transition: width .2s ease;
}

.stm-nav .stm-menu-link:hover,
.stm-nav .stm-menu-link:focus-visible,
.stm-nav .stm-menu-link.is-active,
.stm-nav .is-current > .stm-menu-link {
	color: var(--stm-blue);
}

.stm-nav .stm-menu-link:hover svg,
.stm-nav .stm-menu-link.is-active svg,
.stm-nav .is-current > .stm-menu-link svg {
	color: var(--stm-blue);
}

.stm-nav .stm-menu-link:hover::after,
.stm-nav .stm-menu-link.is-active::after,
.stm-nav .is-current > .stm-menu-link::after {
	width: 26px;
}

.stm-header__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: none;
}

/* Burger */

.stm-burger {
	display: none;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid var(--stm-border);
	border-radius: var(--stm-radius-btn);
	background: var(--stm-white);
	color: var(--stm-heading);
	cursor: pointer;
}

.stm-burger svg {
	width: 24px;
	height: 24px;
}

.stm-burger__close {
	display: none;
}

.stm-burger[aria-expanded="true"] .stm-burger__open {
	display: none;
}

.stm-burger[aria-expanded="true"] .stm-burger__close {
	display: inline-flex;
}

/* Drawer
   ------------------------------------------------------------------ */

.stm-drawer__overlay {
	position: fixed;
	inset: 0;
	z-index: 110;
	background: rgba(8, 26, 58, .45);
	opacity: 0;
	transition: opacity .25s ease;
}

.stm-drawer__overlay.is-open {
	opacity: 1;
}

.stm-drawer {
	position: fixed;
	top: 0;
	right: 0;
	z-index: 120;
	width: min(360px, 88vw);
	height: 100%;
	overflow-y: auto;
	box-sizing: border-box;
	padding: 20px 22px 32px;
	background: var(--stm-white);
	border-radius: 20px 0 0 20px;
	box-shadow: -20px 0 50px rgba(15, 23, 42, .18);
	transform: translateX(100%);
	transition: transform .28s ease;
}

.stm-drawer.is-open {
	transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
	.stm-drawer,
	.stm-drawer__overlay {
		transition: none;
	}
}

.stm-drawer__handle {
	width: 46px;
	height: 4px;
	margin: 0 auto 18px;
	border-radius: 4px;
	background: var(--stm-border);
}

.stm-drawer__list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
	border-bottom: 1px solid var(--stm-border);
	padding-bottom: 16px;
}

.stm-drawer__list .stm-menu-link {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 52px;
	padding: 0 14px;
	border: 1px solid transparent;
	border-radius: var(--stm-radius-btn);
	color: var(--stm-heading);
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}

.stm-drawer__list .stm-menu-link svg {
	width: 22px;
	height: 22px;
	color: var(--stm-muted);
	flex: none;
}

.stm-drawer__list .stm-menu-link.is-active,
.stm-drawer__list .is-current > .stm-menu-link {
	background: var(--stm-soft-blue);
	border-color: rgba(10, 91, 255, .35);
	color: var(--stm-blue);
}

.stm-drawer__list .stm-menu-link.is-active svg,
.stm-drawer__list .is-current > .stm-menu-link svg,
.stm-drawer__list .stm-menu-link:hover svg {
	color: var(--stm-blue);
}

.stm-drawer__cta {
	display: flex;
	width: 100%;
	height: 52px;
	box-sizing: border-box;
	font-size: 15px;
}

.stm-drawer__note {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: 16px;
	padding: 14px 16px;
	border-radius: var(--stm-radius-card);
	background: var(--stm-soft-blue);
}

.stm-drawer__note-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	flex: none;
	border-radius: 50%;
	background: var(--stm-white);
	color: var(--stm-teal);
}

.stm-drawer__note-body {
	display: flex;
	flex-direction: column;
	line-height: 1.35;
}

.stm-drawer__note-body strong {
	color: var(--stm-blue);
	font-family: var(--stm-font-head);
	font-size: 16px;
}

.stm-drawer__note-body span {
	color: var(--stm-body);
	font-size: 14px;
}

body.stm-drawer-open {
	overflow: hidden;
}

/* Footer
   ------------------------------------------------------------------ */

.stm-footer {
	background: var(--stm-navy);
	color: var(--stm-footer-text);
	font-size: 15px;
}

.stm-footer__inner {
	padding: 56px 32px 30px;
}

.stm-footer__cta {
	display: flex;
	align-items: center;
	gap: 24px;
	padding: 28px 32px;
	margin-bottom: 48px;
	border: 1px solid rgba(255, 255, 255, .10);
	border-radius: var(--stm-radius-card);
	background: linear-gradient(135deg, rgba(10, 91, 255, .18), rgba(9, 199, 138, .14));
}

.stm-footer__cta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 74px;
	height: 74px;
	flex: none;
	border-radius: 50%;
	background: var(--stm-gradient);
	color: var(--stm-white);
	box-shadow: 0 12px 28px rgba(10, 91, 255, .28);
}

.stm-footer__cta-body {
	flex: 1 1 auto;
}

.stm-footer__cta-heading {
	margin: 0 0 6px;
	color: var(--stm-white);
	font-size: 26px;
	font-weight: 800;
}

.stm-footer__cta-text {
	margin: 0;
	color: var(--stm-footer-text);
	font-size: 15px;
}

.stm-footer__cta-btn {
	flex: none;
	box-sizing: border-box;
	height: 52px;
	padding: 0 28px;
	font-size: 15px;
}

.stm-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 36px;
}

.stm-footer__col {
	position: relative;
}

.stm-footer__col::before {
	content: "";
	position: absolute;
	left: -24px;
	top: 4px;
	bottom: 4px;
	width: 1px;
	background: rgba(255, 255, 255, .08);
}

.stm-logo--footer {
	display: inline-block;
	line-height: 0;
	margin-bottom: 16px;
}

.stm-logo--footer img {
	width: auto;
	max-width: 230px;
	max-height: 115px;
}

.stm-footer__description {
	margin: 0;
	max-width: 320px;
	color: var(--stm-footer-text);
	font-size: 15px;
	line-height: 1.7;
}

.stm-footer__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 18px 0 0;
	padding: 9px 16px;
	border: 1px solid rgba(9, 199, 138, .32);
	border-radius: 999px;
	background: rgba(9, 199, 138, .10);
	color: var(--stm-teal);
	font-size: 13px;
	font-weight: 600;
}

.stm-footer__badge svg {
	width: 16px;
	height: 16px;
}

.stm-footer__details {
	width: 100%;
}

.stm-footer__details > summary {
	list-style: none;
}

.stm-footer__details > summary::-webkit-details-marker {
	display: none;
}

.stm-footer__col-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	color: var(--stm-white);
	font-family: var(--stm-font-head);
	font-size: 17px;
	font-weight: 700;
	cursor: default;
}

.stm-footer__col-icon,
.stm-footer__chevron {
	display: none;
}

.stm-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.stm-footer__list .stm-menu-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--stm-footer-text);
	font-size: 14px;
	text-decoration: none;
	transition: color .2s ease, transform .2s ease;
}

.stm-footer__list .stm-menu-link::before {
	content: "";
	width: 6px;
	height: 6px;
	flex: none;
	border-radius: 50%;
	background: var(--stm-teal);
	opacity: .85;
}

.stm-footer__list .stm-menu-link:hover,
.stm-footer__list .stm-menu-link:focus-visible {
	color: var(--stm-teal);
}

@media (prefers-reduced-motion: no-preference) {
	.stm-footer__list .stm-menu-link:hover {
		transform: translateX(3px);
	}
}

.stm-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, .08);
	flex-wrap: wrap;
}

.stm-footer__copy,
.stm-footer__tagline {
	margin: 0;
	color: var(--stm-footer-muted);
	font-size: 14px;
}

.stm-footer__tagline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.stm-footer__tagline svg {
	width: 17px;
	height: 17px;
	color: var(--stm-teal);
}

.stm-footer__legal-list {
	display: flex;
	align-items: center;
	gap: 14px;
	list-style: none;
	margin: 0;
	padding: 0;
	flex-wrap: wrap;
}

.stm-footer__legal-list .stm-menu-item + .stm-menu-item {
	border-left: 1px solid rgba(255, 255, 255, .16);
	padding-left: 14px;
}

.stm-footer__legal-list .stm-menu-link {
	color: var(--stm-footer-muted);
	font-size: 14px;
	text-decoration: none;
	transition: color .2s ease;
}

.stm-footer__legal-list .stm-menu-link:hover {
	color: var(--stm-teal);
}

/* Content fallback
   ------------------------------------------------------------------ */

.stm-entry-title {
	max-width: 800px;
	margin: 34px auto 6px;
	padding: 0 10px;
	font-size: 34px;
	font-weight: 800;
	color: var(--stm-heading);
	line-height: 1.25;
}

.stm-entry-content {
	max-width: 100%;
}

@media (max-width: 600px) {
	.stm-entry-title {
		margin-top: 22px;
		font-size: 27px;
	}
}

.stm-404 {
	text-align: center;
	padding-top: 80px;
}

.stm-404__code {
	margin: 0;
	font-family: var(--stm-font-head);
	font-size: 72px;
	font-weight: 800;
	color: var(--stm-blue);
	line-height: 1;
}

/* Responsive
   ------------------------------------------------------------------ */

@media (max-width: 1080px) {
	.stm-nav {
		gap: 22px;
	}

	.stm-logo--header img,
	.stm-header__brand .custom-logo {
		max-width: 155px;
	}
}

@media (max-width: 900px) {
	:root {
		--stm-header-h: 68px;
		--stm-header-h-sticky: 60px;
	}

	.stm-header__nav,
	.stm-header__cta {
		display: none;
	}

	.stm-burger {
		display: inline-flex;
	}

	.stm-logo--header img,
	.stm-header__brand .custom-logo {
		max-width: 140px;
		max-height: 44px;
	}

	.stm-container {
		padding-left: 24px;
		padding-right: 24px;
	}

	.stm-footer__inner {
		padding: 40px 24px 26px;
	}

	.stm-footer__cta {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 18px;
		padding: 24px;
		margin-bottom: 32px;
	}

	.stm-footer__cta-icon {
		width: 60px;
		height: 60px;
	}

	.stm-footer__cta-heading {
		font-size: 21px;
	}

	.stm-footer__cta-btn {
		width: 100%;
	}

	.stm-footer__grid {
		grid-template-columns: 1fr;
		gap: 0;
		padding-bottom: 24px;
	}

	.stm-footer__brand {
		margin-bottom: 28px;
	}

	.stm-footer__col::before {
		display: none;
	}

	.stm-footer__details {
		border-bottom: 1px solid rgba(255, 255, 255, .10);
	}

	.stm-footer__col-title {
		margin: 0;
		min-height: 52px;
		padding: 6px 0;
		cursor: pointer;
	}

	.stm-footer__col-icon {
		display: inline-flex;
		color: var(--stm-footer-text);
	}

	.stm-footer__chevron {
		display: inline-flex;
		margin-left: auto;
		color: var(--stm-footer-muted);
		transition: transform .2s ease;
	}

	.stm-footer__details[open] .stm-footer__chevron {
		transform: rotate(180deg);
	}

	.stm-footer__links {
		padding: 4px 0 18px 28px;
	}

	.stm-footer__list {
		gap: 14px;
	}

	.stm-footer__list .stm-menu-link {
		min-height: 32px;
	}

	.stm-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
		text-align: left;
	}
}

@media (max-width: 480px) {
	.stm-footer__legal-list {
		gap: 10px;
	}

	.stm-footer__legal-list .stm-menu-item + .stm-menu-item {
		padding-left: 10px;
	}
}

/* Safety: never let a layout rule beat the hidden attribute */
.stm-drawer[hidden],
.stm-drawer__overlay[hidden],
.stm-header [hidden],
.stm-footer [hidden] {
	display: none !important;
}
