/*
 * JC Marketing Homepage – design layer for the Elementor layouts.
 * Elementor settings (colors, type, spacing) stay editable in the panel and win over
 * these rules; this file adds what Elementor free cannot express (grid lines, marquee,
 * badge, forms, header behaviour, hover/motion).
 */

:root {
	--jcm-blue: #195081;
	--jcm-blue-dark: #0f3a61;
	--jcm-navy: #00182c;
	--jcm-ink: #0b0c0d;
	--jcm-off: #f1f1f1;
	--jcm-orange: #fa4f0a;
	--jcm-light: #f7f7fa;
	--jcm-line: #174167;
	--jcm-ease: cubic-bezier(.22, .61, .36, 1);
	--jcm-header-h: 104px;
}

html:has(body.jcm) {
	scroll-behavior: smooth;
	scroll-padding-top: 88px;
}

body.jcm {
	margin: 0;
	background: #fff;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

.jcm .jcm-main {
	display: block;
}

/* Hidden container that loads these styles and scripts on the self-contained Home page. */
.jcm .e-con.jcm-assets {
	display: none !important;
}

.jcm .elementor-heading-title {
	margin: 0;
}

.jcm .elementor-widget-text-editor p {
	margin: 0 0 1em;
}

.jcm .elementor-widget-text-editor p:last-child {
	margin-bottom: 0;
}

.jcm .elementor-widget-image img {
	display: inline-block;
	vertical-align: middle;
}

.jcm .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;
}

.jcm .skip-link:focus {
	clip: auto;
	width: auto;
	height: auto;
	margin: 0;
	top: 8px;
	left: 8px;
	z-index: 100000;
	padding: 10px 16px;
	background: #fff;
	color: var(--jcm-ink);
	border-radius: 8px;
}

/* ------------------------------------------------------------------ */
/* Global header                                                       */
/* ------------------------------------------------------------------ */

.jcm-site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	background: var(--jcm-navy);
	transition: background-color .35s var(--jcm-ease), box-shadow .35s var(--jcm-ease), backdrop-filter .35s;
}

body.jcm-transparent-header .jcm-site-header {
	position: fixed;
	left: 0;
	right: 0;
	background: transparent;
}

body.admin-bar .jcm-site-header {
	top: 32px;
}

.jcm-site-header.is-scrolled,
body.jcm-transparent-header .jcm-site-header.is-scrolled {
	background: rgba(0, 24, 44, .86);
	-webkit-backdrop-filter: saturate(140%) blur(14px);
	backdrop-filter: saturate(140%) blur(14px);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
}

.jcm .jcm-header {
	transition: padding .35s var(--jcm-ease);
}

.jcm .jcm-site-header.is-scrolled .jcm-header {
	--padding-top: 14px !important;
	--padding-bottom: 14px !important;
}

.jcm .jcm-header-logo,
.jcm .jcm-header-cta {
	flex: 1 1 0 !important;
}

.jcm .jcm-header-nav {
	flex: 0 0 auto !important;
}

.jcm .jcm-header-logo {
	text-align: left;
}

.jcm .jcm-header-logo img {
	transition: transform .35s var(--jcm-ease);
	transform-origin: left center;
}

.jcm .jcm-site-header.is-scrolled .jcm-header-logo img {
	transform: scale(.86);
}

.jcm .jcm-header-cta {
	display: flex;
	justify-content: flex-end;
	text-align: right;
}

/* Themes (e.g. Hello Elementor) style every <button>; reset ours. */
.jcm .jcm-nav__toggle,
.jcm .jcm-subscribe__btn,
.jcm .jcm-form__submit {
	border: 0;
	box-shadow: none;
	text-decoration: none;
	line-height: 1;
}

/* Navigation */
.jcm-nav {
	display: flex;
	align-items: center;
}

.jcm-nav__list {
	display: flex;
	align-items: center;
	gap: 33px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.jcm-nav__list li {
	margin: 0;
	padding: 0;
}

.jcm-nav__list a {
	position: relative;
	display: inline-block;
	padding: 18px 0;
	font: 500 16px/1.2 "Inter", sans-serif;
	color: var(--jcm-off);
	text-decoration: none;
	transition: color .25s ease;
}

.jcm-nav__list a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	height: 2px;
	border-radius: 2px;
	background: var(--jcm-orange);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform .35s var(--jcm-ease);
}

.jcm-nav__list a:hover,
.jcm-nav__list a:focus-visible,
.jcm-nav__list .is-active > a {
	color: #fff;
}

.jcm-nav__list a:hover::after,
.jcm-nav__list a:focus-visible::after,
.jcm-nav__list .is-active > a::after {
	transform: scaleX(1);
	transform-origin: left;
}

.jcm-nav__list .sub-menu {
	display: none;
}

.jcm .jcm-nav__toggle,
.jcm-nav__cta {
	display: none;
}

.jcm .jcm-nav__toggle {
	position: relative;
	z-index: 2;
	width: 44px;
	height: 44px;
	padding: 0;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, .18) !important;
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	cursor: pointer;
}

.jcm .jcm-nav__toggle:hover,
.jcm .jcm-nav__toggle:focus,
.jcm .jcm-nav__toggle:active {
	color: #fff;
	background: rgba(255, 255, 255, .16);
}

.jcm .jcm-nav__toggle:focus-visible {
	outline: 2px solid var(--jcm-orange);
	outline-offset: 2px;
}

.jcm-nav__bars {
	position: relative;
	width: 18px;
	height: 12px;
}

.jcm-nav__bars span {
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .35s var(--jcm-ease), opacity .2s ease, top .35s var(--jcm-ease);
}

.jcm-nav__bars span:nth-child(1) { top: 0; }
.jcm-nav__bars span:nth-child(2) { top: 5px; }
.jcm-nav__bars span:nth-child(3) { top: 10px; }

.jcm-nav.is-open .jcm-nav__bars span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.jcm-nav.is-open .jcm-nav__bars span:nth-child(2) { opacity: 0; }
.jcm-nav.is-open .jcm-nav__bars span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

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

.jcm .jcm-btn .elementor-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	white-space: nowrap;
	transition: transform .3s var(--jcm-ease), box-shadow .3s var(--jcm-ease), background-color .3s ease, color .3s ease, border-color .3s ease;
}

.jcm .jcm-btn .elementor-button-icon {
	font-size: 18px;
	display: inline-flex;
}

.jcm .jcm-btn .elementor-button-icon svg {
	width: 18px;
	height: 18px;
}

.jcm .jcm-btn:not(.jcm-btn--link) .elementor-button:hover,
.jcm .jcm-btn:not(.jcm-btn--link) .elementor-button:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(250, 79, 10, .3);
}

.jcm .jcm-btn--glass .elementor-button {
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}

.jcm .jcm-btn--link .elementor-button-icon {
	font-size: 16px;
	transition: transform .3s var(--jcm-ease);
}

.jcm .jcm-btn--link .elementor-button:hover .elementor-button-icon {
	transform: translateX(5px);
}

/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */

.jcm .jcm-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}


/* Smoke video backgrounds (hero + footer). Elementor puts the video inside the
   boxed .e-con-inner (1264px); position it against the full-width section instead. */
.jcm .jcm-hero,
.jcm .jcm-footer {
	position: relative;
	overflow: hidden;
}

.jcm .jcm-hero > .e-con-inner,
.jcm .jcm-footer > .e-con-inner {
	position: static;
}

.jcm .jcm-hero > .e-con-inner > .elementor-element,
.jcm .jcm-footer > .e-con-inner > .elementor-element {
	position: relative;
	z-index: 1;
}

.jcm .jcm-hero .elementor-background-video-container,
.jcm .jcm-footer .elementor-background-video-container {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.jcm .jcm-hero .elementor-background-video-hosted,
.jcm .jcm-footer .elementor-background-video-hosted {
	position: absolute;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	transform: none !important;
}

/* Figma lays the 900px-tall video layer from the hero top, and 204px above the footer top. */
.jcm .jcm-hero .elementor-background-video-hosted {
	height: max(110.3%, 900px) !important;
}

.jcm .jcm-footer .elementor-background-video-hosted {
	top: -43.47% !important;
	height: max(191.9%, 900px) !important;
}

/* Badge (stationary) */
.jcm .jcm-hero-badge {
	margin: -13.5px -13.5px 0 -13.5px;
}

.jcm-badge {
	position: relative;
	display: grid;
	place-items: center;
	width: 168px;
	height: 168px;
}

.jcm-badge__ring {
	position: relative;
	z-index: 1;
	width: 141px;
	height: 141px;
}

.jcm-badge__arc {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
	transform: rotate(-1.4deg); /* centre the arc text on the badge, as in Figma */
}

.jcm-badge__arc text {
	font: 600 11.5px "Inter", sans-serif;
	letter-spacing: 3.35px;
	fill: var(--jcm-orange);
}

/* ------------------------------------------------------------------ */
/* Testimonials marquee                                                */
/* ------------------------------------------------------------------ */

.jcm .jcm-testimonials {
	position: relative;
	background: linear-gradient(180deg, transparent 0, transparent 120px, var(--jcm-light) 120px);
}

.jcm-marquee-track {
	display: flex;
	flex-wrap: nowrap;
	gap: 16px;
	width: max-content;
	padding-bottom: 12px;
	animation: jcm-marquee var(--jcm-marquee-duration, 60s) linear infinite;
	will-change: transform;
}

.jcm .jcm-testimonials:hover .jcm-marquee-track,
.jcm .jcm-testimonials:focus-within .jcm-marquee-track {
	animation-play-state: paused;
}

.elementor-editor-active .jcm .jcm-testimonials,
.elementor-editor-preview .jcm .jcm-testimonials {
	overflow-x: auto !important;
}

.jcm .jcm-tcard {
	flex-shrink: 0;
	position: relative;
	box-shadow: 0 0 0 1px rgba(0, 23, 53, .06);
	transition: transform .4s var(--jcm-ease);
}

.jcm .jcm-tcard:hover {
	transform: translateY(-6px);
}

.jcm .jcm-tcard-author {
	margin-block-start: auto !important;
}

/* Never let a long name squeeze the photo into an oval. */
.jcm .jcm-tcard-avatar {
	flex-shrink: 0;
}

.jcm .jcm-tcard-avatar img {
	width: 55px;
	height: 55px;
	max-width: none;
	aspect-ratio: 1;
	border-radius: 100% !important;
	object-fit: cover;
}

/* ------------------------------------------------------------------ */
/* About                                                               */
/* ------------------------------------------------------------------ */

.jcm .jcm-about {
	overflow: clip;
}

.jcm .jcm-pill-list .elementor-icon-list-items {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 9px;
}

.jcm .jcm-pill-list .elementor-icon-list-item {
	display: inline-flex !important;
	align-items: center;
	width: auto;
	margin: 0 !important;
	padding: 7px 16px 7px 9px !important;
	border-radius: 40px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
	transition: transform .3s var(--jcm-ease), box-shadow .3s var(--jcm-ease);
}

.jcm .jcm-pill-list .elementor-icon-list-item:hover {
	transform: translateX(6px);
	box-shadow: 0 8px 20px rgba(25, 80, 129, .12);
}

.jcm .jcm-about-media {
	position: relative;
	align-self: flex-end;
}

.jcm .jcm-about-photo img {
	display: block;
	height: auto;
}

.jcm .jcm-about-media > .jcm-stat-card {
	position: absolute !important;
	left: -72px;
	top: 434px;
	z-index: 2;
	width: 274px !important;
	box-shadow: 0 24px 60px rgba(0, 24, 44, .14);
	transition: transform .4s var(--jcm-ease), box-shadow .4s var(--jcm-ease);
}

.jcm .jcm-about-media > .jcm-stat-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 32px 70px rgba(0, 24, 44, .18);
}

/* ------------------------------------------------------------------ */
/* Core services                                                       */
/* ------------------------------------------------------------------ */

.jcm .jcm-services-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px !important;
	padding: 0;
	overflow: hidden;
	border: 1px solid var(--jcm-line);
	border-radius: 12px;
	background: transparent;
}

.jcm .jcm-services-grid > .e-con {
	width: auto !important;
	min-width: 0;
	max-width: none;
	margin: 0;
}

.jcm .jcm-svc-card {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	/* Divider lines travel with each card's entrance animation (fills the 1px grid gap) */
	box-shadow: 0 0 0 1px var(--jcm-line);
	transition: background-color .4s var(--jcm-ease);
}

.jcm .jcm-svc-card::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 3px;
	background: linear-gradient(90deg, var(--jcm-orange), #ff8a3d);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .5s var(--jcm-ease);
	z-index: 1;
}

.jcm .jcm-svc-card:not(.jcm-svc-card--cta):hover {
	background-color: #03223c !important;
}

.jcm .jcm-svc-card:not(.jcm-svc-card--cta):hover::before {
	transform: scaleX(1);
}

.jcm .jcm-svc-icon img {
	box-sizing: border-box;
	width: 66px;
	height: 66px;
	padding: 11px;
	object-fit: contain;
	background: #fff;
	border: 1px solid #3c3d3d;
	border-radius: 10px;
	transition: transform .45s var(--jcm-ease), box-shadow .45s var(--jcm-ease);
}

.jcm .jcm-svc-card:hover .jcm-svc-icon img {
	transform: translateY(-4px) rotate(-5deg);
	box-shadow: 0 14px 30px rgba(0, 0, 0, .35);
}

.jcm .jcm-svc-logos {
	margin-block-start: auto !important;
	padding-top: 28px !important;
}

.jcm .jcm-tool-logo img {
	display: block;
	height: auto;
	transition: transform .3s var(--jcm-ease), filter .3s ease;
}

.jcm .jcm-tool-logo img[src*="instagram"] {
	border-radius: 8px;
}

.jcm .jcm-tool-logo:hover img {
	transform: translateY(-2px) scale(1.06);
	filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35));
}

.jcm .jcm-svc-card--cta {
	overflow: hidden;
}

.jcm .jcm-svc-card--cta > .jcm-cta-chart {
	position: absolute !important;
	left: 26px;
	top: 270px;
	z-index: 0;
	width: 445px !important;
	max-width: none !important;
	margin: 0 !important;
	pointer-events: none;
	transition: transform .7s var(--jcm-ease);
}

.jcm .jcm-svc-card--cta > .jcm-cta-chart img {
	display: block;
	width: 100%;
	height: auto;
}

.jcm .jcm-svc-card--cta:hover > .jcm-cta-chart {
	transform: translateY(-10px);
}

.jcm .jcm-svc-card--cta > .elementor-element:not(.jcm-cta-chart) {
	position: relative;
	z-index: 1;
}

/* ------------------------------------------------------------------ */
/* One strategy                                                        */
/* ------------------------------------------------------------------ */

.jcm .jcm-strategy {
	overflow: hidden;
}

.jcm .jcm-strategy-text {
	max-width: 432px;
}

/* The diagram stays flush with the right edge and shrinks instead of being cropped. */
.jcm .jcm-strategy-visual {
	position: relative;
	min-width: 0;
	max-width: 800px;
	margin-left: auto;
	align-self: stretch;
	justify-content: center;
}

@media (min-width: 1025px) {
	.jcm .e-con.jcm-strategy-copy {
		flex: 1 1 0;
		width: auto !important;
		min-width: 0;
		/* Line up with the 1200px content column on wide screens */
		padding-left: max(120px, calc(50% - 600px)) !important;
	}

	.jcm .e-con.jcm-strategy-visual {
		flex: 0 0 min(800px, calc(100% - 640px));
	}
}

.jcm .jcm-strategy-diagram img {
	display: block;
	width: 100%;
	height: auto;
	-webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%);
	mask-image: linear-gradient(90deg, transparent 0, #000 8%);
}

.jcm .jcm-strategy-visual::after {
	content: "";
	position: absolute;
	left: 16.5%;
	top: 48%;
	width: 26%;
	aspect-ratio: 1;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(250, 79, 10, .28), transparent 65%);
	transform: translate(-50%, -50%);
	animation: jcm-pulse 3.6s ease-in-out infinite;
	pointer-events: none;
	mix-blend-mode: screen;
}

/* ------------------------------------------------------------------ */
/* Forms                                                               */
/* ------------------------------------------------------------------ */

.jcm .jcm-form-card {
	box-shadow: 0 30px 80px rgba(0, 24, 44, .07);
}

.jcm-form {
	position: relative;
	margin: 0;
}

.jcm-hp {
	position: absolute !important;
	left: -9999px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.jcm-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 23px 24px;
}

.jcm-field {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
}

.jcm-field--full {
	grid-column: 1 / -1;
}

.jcm-field label {
	margin: 0;
	font: 400 16px/1.5 "Inter", sans-serif;
	color: #09101c;
}

.jcm-optional {
	font-size: 14px;
	color: rgba(9, 16, 28, .5);
}

.jcm .jcm-form input[type="text"],
.jcm .jcm-form input[type="email"],
.jcm .jcm-form input[type="tel"],
.jcm .jcm-form textarea {
	box-sizing: border-box;
	width: 100%;
	height: 52px;
	margin: 0;
	padding: 0 18px;
	font: 400 14px/1.5 "Inter", sans-serif;
	color: #09101c;
	background: #f4f4f6;
	border: 1px solid #dbdde2;
	border-radius: 10px;
	box-shadow: none;
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .25s ease, box-shadow .25s ease, background-color .25s ease;
}

.jcm .jcm-form textarea {
	display: block;
	height: 117px;
	min-height: 117px;
	padding: 14px 18px;
	resize: vertical;
}

.jcm .jcm-form ::placeholder {
	color: rgba(9, 16, 28, .5);
	opacity: 1;
}

.jcm .jcm-form input:focus,
.jcm .jcm-form textarea:focus {
	background: #fff;
	border-color: var(--jcm-blue);
	box-shadow: 0 0 0 4px rgba(25, 80, 129, .12);
}

.jcm .jcm-field.is-invalid input,
.jcm .jcm-field.is-invalid textarea {
	border-color: #d93025;
	box-shadow: 0 0 0 4px rgba(217, 48, 37, .1);
}

.jcm-phone {
	position: relative;
}

.jcm .jcm-phone .iti {
	display: block;
	width: 100%;
	--iti-hover-color: rgba(25, 80, 129, .06);
	--iti-border-color: #dbdde2;
	--iti-icon-color: #6b7280;
}

/* Hello Elementor styles every <button>; reset the country selector */
.jcm .jcm-phone .iti__selected-country,
.jcm .jcm-phone .iti__selected-country:hover,
.jcm .jcm-phone .iti__selected-country:focus {
	display: flex;
	align-items: center;
	height: 100%;
	margin: 0;
	padding: 0 6px 0 16px;
	color: #09101c;
	background: transparent;
	border: 0;
	border-radius: 10px 0 0 10px;
	box-shadow: none;
}

.jcm .jcm-phone .iti__selected-country:focus-visible {
	outline: 2px solid var(--jcm-blue);
	outline-offset: -2px;
}

.jcm .jcm-phone .iti__selected-dial-code {
	font: 400 14px/1.5 "Inter", sans-serif;
	color: #09101c;
}

.jcm .iti__dropdown-content {
	overflow: hidden;
	font: 400 14px/1.4 "Inter", sans-serif;
	color: #09101c;
	border: 1px solid #dbdde2;
	border-radius: 10px;
	box-shadow: 0 16px 40px rgba(0, 24, 44, .14);
}

.jcm .iti__search-input {
	box-sizing: border-box;
	height: 44px;
	padding: 0 14px 0 38px;
	font: 400 14px/1.5 "Inter", sans-serif;
	border: 0;
	border-bottom: 1px solid #dbdde2;
	border-radius: 0;
	box-shadow: none;
	outline: none;
}

.jcm .iti__country.iti__highlight {
	background: rgba(25, 80, 129, .08);
}

.jcm .jcm-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 136px;
	height: 56px;
	margin-top: 31px;
	padding: 0 24px;
	font: 700 16px/1 "Manrope", sans-serif;
	color: #fff;
	text-transform: capitalize;
	background: var(--jcm-blue);
	border: 0;
	border-radius: 52px;
	cursor: pointer;
	transition: transform .3s var(--jcm-ease), box-shadow .3s var(--jcm-ease), background-color .3s ease;
}

.jcm .jcm-form__submit:hover,
.jcm .jcm-form__submit:focus-visible {
	background: var(--jcm-orange);
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(250, 79, 10, .3);
}

.jcm .jcm-form [disabled] {
	opacity: .7;
	cursor: progress;
}

.jcm-form__msg {
	display: none;
	margin-top: 16px;
	padding: 12px 16px;
	font: 500 14px/1.5 "Inter", sans-serif;
	border-radius: 10px;
}

.jcm-form__msg.is-visible {
	display: block;
	animation: jcm-fade-in .35s var(--jcm-ease);
}

.jcm-form__msg.is-success {
	color: #135c35;
	background: #e6f4ec;
}

.jcm-form__msg.is-error {
	color: #9b220c;
	background: #fdece8;
}

/* Newsletter */
.jcm-subscribe__field {
	position: relative;
	max-width: 350px;
}

.jcm .jcm-subscribe input[type="email"] {
	height: 50px;
	padding: 0 56px 0 18px;
	font: 500 14px/1 "Manrope", sans-serif;
	color: #fff;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(92, 92, 92, .2);
	border-radius: 36px;
}

.jcm .jcm-subscribe input[type="email"]::placeholder {
	color: rgba(167, 167, 167, .65);
}

.jcm .jcm-subscribe input[type="email"]:focus {
	background: rgba(255, 255, 255, .14);
	border-color: rgba(255, 255, 255, .35);
	box-shadow: 0 0 0 4px rgba(255, 255, 255, .06);
}

.jcm .jcm-subscribe__btn {
	position: absolute;
	top: 4.5px;
	right: 5px;
	display: grid;
	place-items: center;
	width: 41px;
	height: 41px;
	padding: 0;
	color: #fff;
	background: var(--jcm-blue);
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color .3s ease, transform .3s var(--jcm-ease);
}

.jcm .jcm-subscribe__btn svg {
	transform: rotate(-90deg);
	transition: transform .3s var(--jcm-ease);
}

.jcm .jcm-subscribe__btn:hover,
.jcm .jcm-subscribe__btn:focus-visible {
	background: var(--jcm-orange);
}

.jcm .jcm-subscribe__btn:hover svg {
	transform: rotate(-90deg) translateY(3px);
}

.jcm-subscribe .jcm-form__msg {
	max-width: 350px;
}

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

.jcm-site-footer {
	display: block;
	background: #060606;
}

.jcm .jcm-footer-about {
	max-width: 339px !important;
}

.jcm .jcm-footer-brand .elementor-widget-image,
.jcm .jcm-footer-brand .elementor-widget-image a {
	text-align: left;
}

.jcm .jcm-footer-links .elementor-icon-list-item a,
.jcm .jcm-footer-legal .elementor-icon-list-item a {
	transition: transform .3s var(--jcm-ease), color .3s ease;
}

.jcm .jcm-footer-links .elementor-icon-list-item a:hover {
	transform: translateX(5px);
}

/* Figma draws the YouTube mark larger than the other icons (29 × 20px, left-aligned in its slot);
   a transform keeps the row height and spacing. */
.jcm .jcm-footer-social .elementor-social-icon-youtube svg,
.jcm .jcm-footer-social .elementor-social-icon-youtube i {
	transform: translateX(.26em) scale(1.36);
}

/* Layout preview (editing header / footer on their own) */
body.jcm-layout-preview {
	min-height: 100vh;
	background: #0d2238;
}

body.jcm-layout-preview .jcm-layout-stage {
	padding: 24px 0;
}

/* ------------------------------------------------------------------ */
/* Motion                                                              */
/* ------------------------------------------------------------------ */

@keyframes jcm-marquee {
	to { transform: translateX(calc(-50% - 8px)); }
}

@keyframes jcm-pulse {
	0%, 100% { opacity: .55; transform: translate(-50%, -50%) scale(.9); }
	50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

@keyframes jcm-fade-in {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	html:has(body.jcm) {
		scroll-behavior: auto;
	}

	.jcm *,
	.jcm *::before,
	.jcm *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}

	.jcm-marquee-track {
		animation: none !important;
	}

	.jcm .jcm-testimonials {
		overflow-x: auto !important;
	}
}

/* ------------------------------------------------------------------ */
/* Tablet (Elementor default breakpoint ≤ 1024px)                      */
/* ------------------------------------------------------------------ */

@media (max-width: 1024px) {
	.jcm .jcm-header-nav {
		order: 3;
	}

	.jcm .jcm-header-cta {
		flex: 0 0 auto !important;
	}

	.jcm .jcm-nav__toggle {
		display: inline-flex;
	}

	.jcm-nav__panel {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 1;
		display: flex;
		flex-direction: column;
		gap: 28px;
		width: min(380px, 100%);
		height: 100vh;
		height: 100dvh;
		padding: 104px 32px 40px;
		box-sizing: border-box;
		overflow-y: auto;
		background: var(--jcm-navy);
		box-shadow: -24px 0 60px rgba(0, 0, 0, .35);
		visibility: hidden;
		transform: translateX(100%);
		transition: transform .45s var(--jcm-ease), visibility 0s linear .45s;
	}

	.jcm-nav.is-open .jcm-nav__panel {
		visibility: visible;
		transform: none;
		transition: transform .45s var(--jcm-ease), visibility 0s;
	}

	/* backdrop-filter would trap the fixed panel inside the header box */
	body.jcm-nav-open .jcm-site-header {
		-webkit-backdrop-filter: none !important;
		backdrop-filter: none !important;
	}

	body.jcm-nav-open {
		overflow: hidden;
	}

	body.jcm-nav-open::after {
		content: "";
		position: fixed;
		inset: 0;
		z-index: 998;
		background: rgba(0, 8, 16, .5);
		animation: jcm-fade-in .3s ease;
	}

	.jcm-nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 4px;
	}

	.jcm-nav__list a {
		padding: 12px 0;
		font-size: 22px;
	}

	.jcm-nav__list a::after {
		bottom: 6px;
	}

	.jcm .jcm-header-logo {
		flex: 1 1 auto !important;
	}

	.jcm .jcm-hero-badge {
		margin: 0 0 0 4px;
	}

	.jcm .jcm-about-media {
		align-self: center;
	}

	.jcm .jcm-about-media > .jcm-stat-card {
		left: 0;
		top: auto;
		bottom: 48px;
	}

	.jcm .jcm-services-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.jcm .jcm-strategy-visual::after {
		left: 16.5%;
	}
}

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

@media (max-width: 600px) {
	body.admin-bar .jcm-site-header.is-scrolled {
		top: 0;
	}
}

/* ------------------------------------------------------------------ */
/* Mobile (≤ 767px)                                                    */
/* ------------------------------------------------------------------ */

@media (max-width: 767px) {
	.jcm-nav__cta {
		display: inline-flex;
		align-self: flex-start;
		align-items: center;
		height: 48px;
		padding: 0 28px;
		font: 500 16px/1 "Inter", sans-serif;
		color: #fff;
		text-decoration: none;
		background: var(--jcm-blue);
		border-radius: 40px;
	}

	.jcm-nav__cta:hover {
		background: var(--jcm-orange);
		color: #fff;
	}

	.jcm .jcm-hero-badge {
		transform: scale(.78);
		transform-origin: left top;
		margin: 0 0 -37px 3px;
	}

	.jcm .jcm-testimonials {
		background: linear-gradient(180deg, transparent 0, transparent 132px, var(--jcm-light) 132px);
	}

	.jcm .jcm-about-media > .jcm-stat-card {
		left: 12px;
		bottom: 24px;
		width: 220px !important;
	}

	.jcm .jcm-services-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.jcm .jcm-svc-card--cta > .jcm-cta-chart {
		left: auto;
		right: -70px;
		top: auto;
		bottom: -150px;
		width: 340px !important;
	}

	.jcm-form__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.jcm .jcm-form__submit {
		width: 100%;
		margin-top: 24px;
	}

	.jcm-subscribe__field {
		max-width: none;
	}
}
