/* FwdMbl child theme. Everything is scoped under .fm-site (header, footer, homepage). */

:root {
	--fm-accent: #1479A8;
	--fm-accent-dark: #0F5F86;
	--fm-accent-light: #6EC1E4;
	--fm-accent-tint: #E6F4FA;
	--fm-ink: #0E1A2B;
	--fm-ink-2: #33415C;
	--fm-muted: #46526A;
	--fm-muted-2: #5B6577;
	--fm-line: #E6E9EF;
	--fm-line-2: #CBD2DD;
	--fm-bg-soft: #F5F7FA;
	--fm-navy-2: #152539;
	--fm-navy-line: #22344D;
	--fm-on-dark: #D5DCE7;
	--fm-on-dark-muted: #B9C3D3;
	--fm-ok: #1F6B3A;
	--fm-ok-bg: #E3F4E8;
	--fm-radius: 20px;
}

body.fm-home-body {
	margin: 0;
	background: #ffffff;
}

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

.fm-site {
	font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	font-size: 17px;
	line-height: 1.6;
	color: var(--fm-ink);
	background: #ffffff;
	-webkit-font-smoothing: antialiased;
}

.fm-site h1,
.fm-site h2,
.fm-site h3,
.fm-site p,
.fm-site ul {
	margin: 0;
	padding: 0;
}

.fm-site h1,
.fm-site h2,
.fm-site h3 {
	font-family: inherit;
	color: inherit;
	font-weight: 800;
}

.fm-site a {
	color: var(--fm-accent);
	transition: color .15s, background-color .15s, border-color .15s;
}

.fm-site a:hover {
	color: var(--fm-accent-dark);
}

.fm-site a:focus-visible,
.fm-site button:focus-visible {
	outline: 3px solid var(--fm-accent-light);
	outline-offset: 2px;
}

.fm-icon {
	width: 18px;
	height: 18px;
	flex: none;
}

.fm-wrap {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.fm-skip {
	position: absolute;
	left: -9999px;
	top: 8px;
	z-index: 1000;
	background: #ffffff;
	padding: 10px 16px;
	border-radius: 8px;
}

.fm-skip:focus {
	left: 8px;
}

/* Buttons */

.fm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 12px 20px;
	border-radius: 10px;
	border: 1px solid transparent;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	text-decoration: none;
}

.fm-btn--lg {
	padding: 15px 26px;
	border-radius: 12px;
	font-size: 17px;
}

.fm-site .fm-btn--primary {
	background: var(--fm-accent);
	color: #ffffff;
}

.fm-site .fm-btn--primary:hover {
	background: var(--fm-accent-dark);
	color: #ffffff;
}

.fm-site .fm-btn--ghost {
	background: #ffffff;
	color: var(--fm-ink);
	border-color: var(--fm-line-2);
}

.fm-site .fm-btn--ghost:hover {
	border-color: var(--fm-accent);
	color: var(--fm-accent);
}

.fm-site .fm-btn--white {
	background: #ffffff;
	color: var(--fm-ink);
}

.fm-site .fm-btn--white:hover {
	background: var(--fm-accent-tint);
	color: var(--fm-ink);
}

.fm-site .fm-btn--outline-white {
	color: #ffffff;
	border-color: rgba(255, 255, 255, .6);
}

.fm-site .fm-btn--outline-white:hover {
	color: #ffffff;
	border-color: #ffffff;
	background: rgba(255, 255, 255, .1);
}

.fm-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

/* Header */

.fm-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #ffffff;
	border-bottom: 1px solid var(--fm-line);
}

.admin-bar .fm-header {
	top: 32px;
}

.fm-header__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 76px;
}

.fm-site .fm-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--fm-ink);
	text-decoration: none;
}

.fm-brand__logo {
	display: block;
	max-height: 44px;
	width: auto;
}

.fm-brand__mark {
	width: 36px;
	height: 36px;
	border-radius: 10px;
	background: var(--fm-accent);
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
}

.fm-brand__mark .fm-icon {
	width: 20px;
	height: 20px;
	stroke-width: 2.4;
}

.fm-brand__name {
	font-weight: 800;
	font-size: 20px;
	letter-spacing: -.02em;
}

.fm-brand__name span {
	font-weight: 500;
	color: var(--fm-muted-2);
}

.fm-nav {
	display: flex;
	align-items: center;
	gap: 28px;
}

.fm-menu {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 4px;
}

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

.fm-site .fm-menu > li > a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 12px;
	color: var(--fm-ink-2);
	font-weight: 500;
	font-size: 15px;
	text-decoration: none;
}

.fm-site .fm-menu > li > a:hover,
.fm-site .fm-menu > li.current-menu-item > a {
	color: var(--fm-accent);
}

.fm-menu > li.menu-item-has-children > a::after {
	content: "";
	width: 6px;
	height: 6px;
	margin-left: 8px;
	border: solid currentColor;
	border-width: 0 1.5px 1.5px 0;
	transform: translateY(-2px) rotate(45deg);
}

.fm-menu .sub-menu {
	list-style: none;
	position: absolute;
	top: 100%;
	left: 0;
	display: none;
	grid-template-columns: repeat(2, minmax(220px, 1fr));
	gap: 2px 8px;
	padding: 12px;
	background: #ffffff;
	border: 1px solid var(--fm-line);
	border-radius: 14px;
	box-shadow: 0 20px 40px rgba(14, 26, 43, .12);
}

.fm-menu > li:hover > .sub-menu,
.fm-menu > li:focus-within > .sub-menu {
	display: grid;
}

.fm-site .fm-menu .sub-menu a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	color: var(--fm-ink-2);
	font-size: 15px;
	line-height: 1.35;
	text-decoration: none;
}

.fm-site .fm-menu .sub-menu a:hover {
	background: var(--fm-accent-tint);
	color: var(--fm-accent-dark);
}

.fm-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.fm-site .fm-header__phone {
	color: var(--fm-ink-2);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	white-space: nowrap;
}

.fm-menu-toggle {
	display: none;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--fm-line-2);
	border-radius: 10px;
	background: #ffffff;
	color: var(--fm-ink);
	font: inherit;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	letter-spacing: 0;
	text-transform: none;
	cursor: pointer;
}

.fm-site .fm-menu-toggle:hover {
	background: var(--fm-accent-tint);
	color: var(--fm-ink);
}

/* Sections */

.fm-section {
	padding: 104px 0;
}

.fm-tint {
	background: var(--fm-bg-soft);
	border-top: 1px solid var(--fm-line);
	border-bottom: 1px solid var(--fm-line);
}

.fm-dark {
	background: var(--fm-ink);
	color: #ffffff;
}

.fm-intro {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 720px;
	margin-bottom: 48px;
}

.fm-eyebrow {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--fm-accent);
}

.fm-dark .fm-eyebrow {
	color: var(--fm-accent-light);
}

.fm-site h2 {
	font-size: 42px;
	line-height: 1.15;
	letter-spacing: -.02em;
}

.fm-intro p {
	color: var(--fm-muted);
	font-size: 18px;
}

.fm-dark .fm-intro p {
	color: var(--fm-on-dark-muted);
}

/* Hero */

.fm-hero {
	background: var(--fm-bg-soft);
	border-bottom: 1px solid var(--fm-line);
}

.fm-hero__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
	gap: 56px;
	align-items: center;
	padding-top: 88px;
	padding-bottom: 96px;
}

.fm-hero__copy {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.fm-pill {
	align-self: flex-start;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--fm-accent);
	background: var(--fm-accent-tint);
	padding: 6px 12px;
	border-radius: 999px;
}

.fm-site h1 {
	font-size: 56px;
	line-height: 1.08;
	letter-spacing: -.03em;
}

.fm-lead {
	font-size: 19px;
	color: var(--fm-muted);
	max-width: 540px;
}

.fm-hero .fm-actions {
	margin-top: 8px;
}

.fm-badges {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	margin-top: 12px;
	font-size: 14px;
	font-weight: 600;
	color: var(--fm-muted);
}

.fm-badges li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.fm-badges .fm-icon {
	color: var(--fm-ink);
}

/* Hero device illustration */

.fm-devices {
	position: relative;
	width: 100%;
	max-width: 560px;
	height: 560px;
	margin: 0 auto;
}

.fm-tablet {
	position: absolute;
	left: 0;
	top: 40px;
	width: 430px;
	height: 320px;
	padding: 14px;
	background: var(--fm-ink);
	border-radius: 26px;
	box-shadow: 0 30px 60px rgba(14, 26, 43, .18);
}

.fm-screen {
	height: 100%;
	padding: 18px;
	background: #ffffff;
	border-radius: 14px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fm-screen__head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 15px;
}

.fm-kpis {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.fm-kpis div {
	background: var(--fm-bg-soft);
	border-radius: 10px;
	padding: 10px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.fm-kpis span {
	font-size: 10px;
	font-weight: 600;
	color: var(--fm-muted-2);
}

.fm-kpis i {
	display: block;
	height: 12px;
	width: 70%;
	border-radius: 4px;
	background: var(--fm-line-2);
}

.fm-bars {
	flex: 1;
	display: flex;
	align-items: flex-end;
	gap: 10px;
	padding: 8px 4px 0;
	border-top: 1px solid var(--fm-line);
}

.fm-bars i {
	flex: 1;
	background: #D7DCE5;
	border-radius: 6px 6px 0 0;
}

.fm-bars i.is-accent {
	background: var(--fm-accent);
}

.fm-phone {
	position: absolute;
	right: 0;
	top: 0;
	width: 250px;
	height: 520px;
	padding: 12px;
	background: var(--fm-ink);
	border-radius: 38px;
	box-shadow: 0 30px 60px rgba(14, 26, 43, .25);
}

.fm-phone__screen {
	height: 100%;
	background: #ffffff;
	border-radius: 28px;
	overflow: hidden;
}

.fm-phone__head {
	background: var(--fm-accent);
	color: #ffffff;
	padding: 22px 18px 16px;
	display: flex;
	flex-direction: column;
}

.fm-phone__head small {
	font-size: 11px;
	font-weight: 600;
	opacity: .9;
}

.fm-phone__head strong {
	font-size: 18px;
}

.fm-stops {
	list-style: none;
	padding: 12px !important;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.fm-stops li {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 12px;
	border: 1px solid var(--fm-line);
	border-radius: 12px;
	line-height: 1.35;
}

.fm-stops li.is-next {
	border: 2px solid var(--fm-accent);
	padding: 9px 11px;
}

.fm-stops b {
	display: block;
	font-size: 12px;
}

.fm-stops small {
	display: block;
	font-size: 10px;
	color: var(--fm-muted-2);
}

.fm-tag {
	font-size: 10px;
	font-weight: 700;
	line-height: 1.4;
	padding: 3px 7px;
	border-radius: 999px;
	color: var(--fm-muted);
	background: #EEF1F5;
}

.fm-tag--ok {
	color: var(--fm-ok);
	background: var(--fm-ok-bg);
}

.fm-tag--next {
	color: var(--fm-accent-dark);
	background: var(--fm-accent-tint);
}

/* Cards */

.fm-cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
	gap: 24px;
}

.fm-card {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 32px;
	background: #ffffff;
	border: 1px solid var(--fm-line);
	border-radius: var(--fm-radius);
	box-shadow: 0 1px 2px rgba(14, 26, 43, .04);
}

.fm-dark .fm-card {
	background: var(--fm-navy-2);
	border-color: var(--fm-navy-line);
	box-shadow: none;
}

.fm-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	background: var(--fm-accent-tint);
	color: var(--fm-accent);
	display: flex;
	align-items: center;
	justify-content: center;
}

.fm-card__icon .fm-icon {
	width: 26px;
	height: 26px;
}

.fm-site h3 {
	font-size: 23px;
	line-height: 1.3;
	letter-spacing: -.01em;
}

.fm-check {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 16px;
	color: var(--fm-ink-2);
}

.fm-dark .fm-check {
	color: var(--fm-on-dark);
}

.fm-check li {
	position: relative;
	padding-left: 26px;
	line-height: 1.45;
}

.fm-check li::before {
	content: "";
	position: absolute;
	left: 5px;
	top: 3px;
	width: 5px;
	height: 10px;
	border: solid var(--fm-accent);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}

.fm-dark .fm-check li::before {
	border-color: var(--fm-accent-light);
}

.fm-site .fm-more {
	margin-top: auto;
	font-weight: 700;
	text-decoration: none;
}

.fm-site .fm-dark .fm-more {
	color: var(--fm-accent-light);
}

.fm-site .fm-dark .fm-more:hover {
	color: #ffffff;
}

.fm-card__foot {
	margin-top: auto;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding-top: 18px;
	border-top: 1px solid var(--fm-navy-line);
	font-size: 14px;
	color: var(--fm-on-dark-muted);
}

/* Enterprise facts */

.fm-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
	gap: 1px;
	background: var(--fm-line);
	border: 1px solid var(--fm-line);
	border-radius: var(--fm-radius);
	overflow: hidden;
}

.fm-facts div {
	background: #ffffff;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.fm-facts strong {
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -.02em;
	line-height: 1.2;
	color: var(--fm-accent);
}

.fm-facts span {
	font-size: 15px;
	color: var(--fm-muted);
}

/* Integrations */

.fm-split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
	gap: 56px;
	align-items: start;
}

.fm-split .fm-intro {
	margin-bottom: 0;
}

.fm-methods {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: 8px;
}

.fm-site .fm-methods a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 16px 20px;
	background: #ffffff;
	border: 1px solid var(--fm-line);
	border-radius: 14px;
	color: var(--fm-muted-2);
	text-decoration: none;
}

.fm-methods strong {
	color: var(--fm-ink);
}

.fm-methods a > span:last-child {
	color: var(--fm-accent);
	font-weight: 700;
}

.fm-site .fm-methods a:hover {
	border-color: var(--fm-accent);
}

.fm-logos {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr));
	gap: 14px;
}

.fm-site .fm-logos a {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 80px;
	padding: 18px;
	background: #ffffff;
	border: 1px solid var(--fm-line);
	border-radius: 14px;
	color: var(--fm-ink);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.fm-site .fm-logos a.is-dashed {
	border: 1px dashed var(--fm-line-2);
}

.fm-site .fm-logos a:hover {
	border-color: var(--fm-accent);
	color: var(--fm-accent);
}

/* Call to action */

.fm-cta {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
	padding: 64px 48px;
	border-radius: 28px;
	background: var(--fm-accent);
	color: #ffffff;
}

.fm-cta > div:first-child {
	flex: 1 1 420px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.fm-site .fm-cta h2 {
	font-size: 40px;
}

.fm-cta p {
	font-size: 18px;
	color: #E3F2F9;
}

/* Footer */

.fm-footer {
	background: var(--fm-ink);
	color: var(--fm-on-dark-muted);
	padding: 64px 0 40px;
	font-size: 15px;
}

.fm-site.fm-footer {
	background: var(--fm-ink);
}

.fm-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 32px;
	margin-bottom: 40px;
}

.fm-footer__grid > div {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.fm-footer__grid strong {
	color: #ffffff;
	font-weight: 700;
}

.fm-footer .fm-footer__name {
	font-size: 20px;
	font-weight: 800;
}

.fm-site.fm-footer a {
	color: var(--fm-on-dark-muted);
	text-decoration: none;
}

.fm-site.fm-footer a:hover {
	color: #ffffff;
}

.fm-site.fm-footer .fm-footer__phone {
	color: #ffffff;
	font-weight: 600;
}

.fm-footer__legal {
	border-top: 1px solid var(--fm-navy-line);
	padding-top: 24px;
	font-size: 14px;
}

/* Tablet & phone */

@media (max-width: 1100px) {
	.fm-menu-toggle {
		display: inline-flex;
	}

	.fm-header__row {
		flex-wrap: wrap;
		column-gap: 12px;
		row-gap: 0;
	}

	.fm-nav {
		display: none;
		flex-basis: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 8px 0 20px;
	}

	.fm-nav.is-open {
		display: flex;
	}

	.fm-menu {
		flex-direction: column;
		align-items: stretch;
	}

	.fm-site .fm-menu > li > a {
		width: 100%;
		padding: 0 4px;
		border-bottom: 1px solid var(--fm-line);
	}

	.fm-menu > li.menu-item-has-children > a::after,
	.fm-menu .sub-menu,
	.fm-menu > li:hover > .sub-menu,
	.fm-menu > li:focus-within > .sub-menu {
		display: none;
	}

	.fm-header__actions {
		flex-wrap: wrap;
	}
}

@media (max-width: 782px) {
	.admin-bar .fm-header {
		top: 46px;
	}
}

@media (max-width: 760px) {
	.fm-site h1 {
		font-size: 40px;
	}

	.fm-site h2,
	.fm-site .fm-cta h2 {
		font-size: 30px;
	}

	.fm-section {
		padding: 72px 0;
	}

	.fm-hero__grid {
		padding-top: 56px;
		padding-bottom: 64px;
	}

	.fm-devices {
		max-width: 250px;
		height: 520px;
	}

	.fm-tablet {
		display: none;
	}

	.fm-cta {
		padding: 40px 24px;
	}
}

/* ------------------------------------------------------------------
   Every other page: OceanWP header/footer are replaced by .fm-header /
   .fm-footer, and existing Elementor content picks up the new type and
   button style. Leftover magenta is recolored by fwdmbl.js.
   ------------------------------------------------------------------ */

#top-bar-wrap,
#site-header-sticky-wrapper,
#site-header,
#footer,
#scroll-top,
#mobile-dropdown,
#sidr {
	display: none !important;
}

body,
.entry-content,
.entry-title,
.page-header-title,
.elementor-heading-title,
.elementor-widget-text-editor,
.elementor-widget-text-editor p,
.elementor-widget-text-editor li,
.elementor-icon-list-text,
.elementor-tab-title,
.elementor-button,
.elementor-widget-container > p {
	font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif !important;
}

h1.elementor-heading-title,
h2.elementor-heading-title,
.entry-title,
.page-header-title {
	font-weight: 800 !important;
	letter-spacing: -.02em;
}

h3.elementor-heading-title,
h4.elementor-heading-title {
	font-weight: 700 !important;
}

.elementor-button {
	background-color: var(--fm-accent) !important;
	border-color: var(--fm-accent) !important;
	color: #ffffff !important;
	border-radius: 10px !important;
	font-weight: 700 !important;
	min-height: 44px;
}

.elementor-button:hover,
.elementor-button:focus {
	background-color: var(--fm-accent-dark) !important;
	border-color: var(--fm-accent-dark) !important;
	color: #ffffff !important;
}

.elementor-button:hover svg,
.elementor-button:focus svg {
	fill: #ffffff !important;
}

.rum_sst_contents {
	background-color: var(--fm-accent-dark) !important;
}
