/* Basic styles for ACF-powered blocks */

/* Remove any focus borders/rings on buttons (requested: no border at all) */
button,
input[type="button"],
input[type="submit"] {
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
}
button:focus,
button:focus-visible,
button:active,
input[type="button"]:focus,
input[type="button"]:focus-visible,
input[type="button"]:active,
input[type="submit"]:focus,
input[type="submit"]:focus-visible,
input[type="submit"]:active {
	border: 0 !important;
	outline: none !important;
	box-shadow: none !important;
}

/* Portfolio + Archive block */
.tm-portfolio-archive {
	max-width: 1280px;
	margin: 80px auto;
	padding: 0 24px;
}
.tm-portfolio-archive__section + .tm-portfolio-archive__section {
	margin-top: 64px;
}
.tm-portfolio-archive__title {
	margin: 0 0 24px;
	font-size: clamp(28px, 3.8vw, 40px);
	font-weight: 500;
	color: #0b1526;
}
.tm-portfolio-archive__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}
.tm-portfolio-archive__card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(2, 18, 40, 0.08);
}
.tm-portfolio-archive__thumb img {
	display: block;
	width: 100%;
	height: auto;
}
.tm-portfolio-archive__card-title {
	margin: 0;
	padding: 16px;
	font-size: 16px;
	font-weight: 500;
}
.tm-portfolio-archive__card-title a {
	color: #0b1526;
	text-decoration: none;
}
.tm-portfolio-archive__card-title a:hover {
	color: #024A92;
}
@media (max-width: 980px) {
	.tm-portfolio-archive {
		margin: 48px auto;
		padding: 0 16px;
	}
	.tm-portfolio-archive__grid {
		grid-template-columns: 1fr;
	}
}

.tm-hero {
	position: relative;
	width: 100%;
	max-width: 1280px;
	height: 70vh;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: end;
	border-radius: 20px;
	margin: 0 auto;
	margin-top: 124px;
}

.tm-hero--s { min-height: 240px; }
.tm-hero--m { min-height: 420px; }
.tm-hero--l { min-height: 560px; }

.tm-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	/* background: rgba(0,0,0,.35); */
}

.tm-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0,0,0,.35);
	border-radius: 20px;
}

.tm-hero--dark::before { background: rgba(255,255,255,.2); }

.tm-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1280px !important;
	margin: 0 auto;
	padding: 48px 24px;
	width: 100%;
}

.tm-hero--light .tm-hero__title,
.tm-hero--light .tm-hero__content,
.tm-hero--light .tm-hero__eyebrow { color: #fff; }

.tm-hero--dark .tm-hero__title,
.tm-hero--dark .tm-hero__content,
.tm-hero--dark .tm-hero__eyebrow { color: #111; }

.tm-hero__eyebrow {
	text-transform: uppercase;
	letter-spacing: .02em;
	font-weight: 500;
	font-size: 12px;
	margin: 0 0 8px;
}

.tm-hero__title {
	margin: 0 0 32px;
	font-size: 48px;
	line-height: 1.1;
	font-weight: 500;
	letter-spacing: -0.004em;
	max-width: 50%;
}

.tm-hero__content {
	font-size: 17px;
	max-width: 820px;
}

/* Hero mobile */
@media (max-width: 980px) {
	.tm-hero {
		height: auto;
		min-height: 320px;
		border-radius: 16px;
		margin: 30px 16px 0;
		width: auto;
	}
	.tm-hero::after {
		border-radius: 16px;
	}
	.tm-hero__inner {
		padding: 28px 20px;
	}
	.tm-hero__eyebrow {
		font-weight: 500;
		letter-spacing: .04em;
		margin: 0 0 10px;
	}
	.tm-hero__title {
		font-size: clamp(32px, 6.5vw, 40px);
		line-height: 1.12;
		margin: 0 0 14px;
		letter-spacing: -0.004em;
		max-width: 100%;
	}
	.tm-hero__content {
		font-size: 17px;
		max-width: 100%;
	}
}

/* Content + Media */
.tm-content-media {
	margin: 60px auto;
	padding: 0;
	position: relative;
	max-width: 1280px;
	margin: 0 auto;
}
.tm-content-media__inner {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 48px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 24px;
	align-items: center;
	position: relative;
	z-index: 1; /* sit above full-bleed background */
}
.tm-content-media--bg-white,
.tm-content-media--bg-muted { padding: 64px 0; }
.tm-content-media--bg-white::before,
.tm-content-media--bg-muted::before {
	content: "";
	position: absolute;
	inset: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw; /* full-bleed background */
	z-index: 0;
}
.tm-content-media--bg-white::before { background: #fff; }
.tm-content-media--bg-muted::before { background: #F6F7FC; }
.tm-content-media--reverse .tm-content-media__inner {
	grid-template-columns: 1fr 1.1fr;
}
.tm-content-media--reverse .tm-content-media__text { order: 2; }
.tm-content-media--reverse .tm-content-media__media { order: 1; }

/* New explicit layout modifiers */
.tm-content-media--row .tm-content-media__inner {
	grid-template-columns: 1.1fr 1fr;
}
.tm-content-media--row-reverse .tm-content-media__inner {
	grid-template-columns: 1fr 1.1fr;
}
.tm-content-media--row-reverse .tm-content-media__text { order: 2; }
.tm-content-media--row-reverse .tm-content-media__media { order: 1; }

.tm-content-media--column .tm-content-media__inner,
.tm-content-media--column-reverse .tm-content-media__inner {
	grid-template-columns: 1fr;
}
.tm-content-media--column .tm-content-media__text { order: 1; }
.tm-content-media--column .tm-content-media__media { order: 2; }
.tm-content-media--column-reverse .tm-content-media__text { order: 2; }
.tm-content-media--column-reverse .tm-content-media__media { order: 1; }

.tm-content-media__text {
	max-width: 90%;
}

.tm-content-media__eyebrow {
	color: #0b4f8a;
	font-weight: 500;
	margin: 0 0 24px;
	text-transform: uppercase;
	letter-spacing: .02em;
	font-size: 14px;
}
.tm-content-media__title {
	margin: 0 0 16px;
	font-size: var(--tm-cm-title-size, 36px);
	line-height: 1.15;
	font-weight: 500;
}
.tm-content-media__content {
	font-size: var(--tm-cm-content-size, 14px);
	font-weight: 300;
	line-height: 1.6875;
	letter-spacing: 0;
	color: #50575e;
	max-width: 85%;
}
.tm-content-media__content strong {
	color: #1D283A;
	font-weight: 500;
}
.tm-content-media__content ul {
	list-style: none;
	padding: 0;
	margin: 56px 0 0;
	display: grid;
	row-gap: 16px;
}
.tm-content-media__content li {
	position: relative;
	padding-inline-start: 40px;
	/* List body text typography (e.g. 14px / 22px, Light) */
	font-size: var(--tm-cm-content-size, 14px);
	font-weight: 300;
	line-height: calc(var(--tm-cm-content-size, 14px) * 1.5714286);
	letter-spacing: 0;
	color: #50575e;
}
.tm-content-media__content li .tm-features-list__item-title {
	margin: 0 0 27px;
	font-weight: 500;
	letter-spacing: 0;
}

/* If editor wraps list content in <p>, remove default margins to keep spacing consistent */
.tm-content-media__content li p {
	margin: 0;
}

.tm-content-media__content br {
	display: none;
}
.tm-content-media__content li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35em;
	width: 20px;
	height: 20px;
	background: url("data:image/svg+xml,%3Csvg%20width%3D%2720%27%20height%3D%2720%27%20viewBox%3D%270%200%2020%2020%27%20fill%3D%27none%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3Cg%20clip-path%3D%27url(%23clip0_1_3592)%27%3E%3Ccircle%20cx%3D%2710%27%20cy%3D%2710%27%20r%3D%2710%27%20fill%3D%27%23EDA739%27%2F%3E%3Cpath%20d%3D%27M5.5%2010.5L9%2013.5L15.5%206.5%27%20stroke%3D%27white%27%20stroke-width%3D%271.4%27%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%27clip0_1_3592%27%3E%3Crect%20width%3D%2720%27%20height%3D%2720%27%20fill%3D%27white%27%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E") no-repeat center / contain;
}
.tm-content-media__content li::after {
	content: none;
}
.tm-content-media__media {
	border-radius: 12px;
	background: transparent;
	box-shadow: none;
	overflow: hidden;
}
.tm-content-media__img,
.tm-content-media__video,
.tm-content-media__media iframe {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}

/* Remove all styles and hide controls for video */
.tm-content-media__video {
	background: none;
	border: none;
	outline: none;
	box-shadow: none !important;
}

/* Remove box-shadow from media container when it contains video */
.tm-content-media__media:has(.tm-content-media__video) {
	box-shadow: none !important;
}

.tm-content-media__video::-webkit-media-controls {
	display: none !important;
}

.tm-content-media__video::-webkit-media-controls-enclosure {
	display: none !important;
}

.tm-content-media__video::-webkit-media-controls-panel {
	display: none !important;
}

.tm-content-media__video::-webkit-media-controls-play-button {
	display: none !important;
}

.tm-content-media__video::-webkit-media-controls-start-playback-button {
	display: none !important;
}

/* Aspect ratios */
.tm-ratio { position: relative; width: 100%; }
.tm-ratio::before { content: ""; display: block; width: 100%; }
.tm-ratio--16x9::before { padding-top: 56.25%; }
.tm-ratio--4x3::before { padding-top: 75%; }
.tm-ratio--1x1::before { padding-top: 100%; }
.tm-ratio > * { position: absolute; inset: 0; }

@media (max-width: 980px) {
	/* Force single-column layout on mobile (override higher-specificity layout modifiers) */
	.tm-content-media__inner,
	.tm-content-media--reverse .tm-content-media__inner,
	.tm-content-media--row .tm-content-media__inner,
	.tm-content-media--row-reverse .tm-content-media__inner {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	/* Media should always fit the viewport width on mobile */
	.tm-content-media__media {
		width: 100%;
		max-width: 100%;
	}
	.tm-content-media__img,
	.tm-content-media__video {
		width: 100%;
		max-width: 100%;
		height: auto;
	}
	.tm-content-media__media iframe {
		width: 100%;
		max-width: 100%;
	}
	/* On mobile all layouts collapse to one column preserving order from modifiers above */
	.tm-content-media--reverse .tm-content-media__text,
	.tm-content-media--reverse .tm-content-media__media {
		order: initial;
	}
}

/* Sticky Slider (full-viewport) */
.tm-slider {
	position: relative;
	min-height: calc(var(--tm-slides) * 100vh);
}
.tm-slider__rail-trigger {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	pointer-events: none;
	opacity: 0;
}

/* Desktop: once scroll reaches the end, collapse the big scroll container */
.tm-slider-lock.is-finished {
	min-height: 0 !important;
}

/* Desktop: when finished, show only the active (last) slide to prevent stage overflow */
.tm-slider-lock.is-finished .tm-slider__sticky {
	height: auto;
	align-items: start;
}
.tm-slider-lock.is-finished .tm-slider__slide:not(.is-active) {
	display: none !important;
}
.tm-slider-lock.is-finished .tm-slider__aside,
.tm-slider-lock.is-finished .tm-slider__media {
	opacity: 1 !important;
	pointer-events: auto !important;
}
.tm-slider__sticky {
	height: 100vh;
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 28px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 64px 24px;
	align-items: center;
	position: relative;
	z-index: 2;
}
.tm-slider__header {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 740px;
	margin: 100px auto 0; /* push below sticky menu */
}
.tm-slider__eyebrow {
	color: #0b4f8a;
	font-weight: 500;
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: .02em;
	font-size: 14px;
}
.tm-slider__title {
	margin: 0 0 10px;
	font-size: 36px;
	line-height: 1.15;
	font-weight: 500;
}
.tm-slider__subtitle {
	margin: 0;
	color: #4f5965;
	font-size: 20px;
}
.tm-slider__stage {
	position: relative;
	width: 100%;
}
.tm-slider__slide {
	position: relative;
	height: 60vh;
	display: grid;
	grid-template-columns: 1.1fr 1fr; /* text left, media right */
	gap: 48px;
	align-items: center;
	max-width: 1440px;
	margin: 0 auto;
	padding: 0 0 0 0;
}
/* Left side (aside) - always visible, scrolls normally, no fade */
.tm-slider__aside {
	position: relative;
	z-index: 3;
	color: #4f5965;
	opacity: 0;
	pointer-events: none;
}
.tm-slider__slide.is-active .tm-slider__aside {
	opacity: 1;
	pointer-events: auto;
}
/* Right side (media) - fade animation */
.tm-slider__media {
	background: #F7F6FB;
	position: relative;
	z-index: 2;
	opacity: 0;
	transition: opacity 0.6s ease;
	pointer-events: none;
}
.tm-slider__slide.is-active .tm-slider__media {
	opacity: 1;
	pointer-events: auto;
}
/* Right side (media) - fixed position when locked (centered vertically in viewport) */
.tm-slider-lock.is-locked .tm-slider__media {
	position: fixed;
	left: auto;
	/* Align to the same right edge as content containers (max-width 1440px + 24px padding) */
	right: max(24px, calc((100vw - 1440px) / 2 + 24px));
	top: var(--media-top, 50%);
	transform: translateY(var(--media-translate-y, -50%));
	width: min(var(--media-width, 50vw), 50vw);
	max-width: 40vw;
	box-sizing: border-box;
	z-index: 2;
}
.tm-slider__step {
	display: inline-block;
	background: #EEF2F7;
	color: #0b4f8a;
	border-radius: 8px;
	padding: 6px 10px;
	font-weight: 700;
	margin-bottom: 16px;
}
.tm-slider__slide-title {
	margin: 0 0 10px;
	font-size: clamp(20px, 2.4vw, 28px);
	font-weight: 500;
	color: #0b1526;
	margin-bottom: 40px;
}
.tm-slider__slide-text {
	font-size: 16px;
	line-height: 1.6;
	font-weight: 300;
	color: #4f5965;
	margin: 0;
}

/* wpautop() outputs <p> tags – remove default margins to avoid odd spacing */
.tm-slider__slide-text p {
	margin: 0;
}
.tm-slider__slide-text p + p {
	margin-top: 12px;
}

/* Requested typography for slide text */
.tm-slider__text {
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	font-size: 16px;
	line-height: 1.6;
}
/* Scope specifically inside slides (keeps current structure) */
.tm-slider__slide .tm-slider__text {
	font-family: "Open Sans", sans-serif;
	font-weight: 400;
	font-size: 16px;
}
.tm-slider__img,
.tm-slider__video,
.tm-slider__slide iframe {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 12px 40px rgba(2, 38, 80, .08);
}

/* Remove all styles and hide controls for video in slider */
.tm-slider__video {
	background: none;
	border: none;
	outline: none;
	box-shadow: none !important;
}

.tm-slider__video::-webkit-media-controls {
	display: none !important;
}

.tm-slider__video::-webkit-media-controls-enclosure {
	display: none !important;
}

.tm-slider__video::-webkit-media-controls-panel {
	display: none !important;
}

.tm-slider__video::-webkit-media-controls-play-button {
	display: none !important;
}

.tm-slider__video::-webkit-media-controls-start-playback-button {
	display: none !important;
}
/* Media content inside fixed container */
.tm-slider__media iframe,
.tm-slider__media img,
.tm-slider__media video {
	position: relative;
	width: 100%;
	height: auto;
	display: block;
}
.tm-slider__media iframe {
	height: 56.25vw; /* 16:9 aspect ratio */
	max-height: 70vh;
	min-height: 400px;
}

/* Slider right-side rail (animated SVG) */
.tm-slider__rail {
	position: fixed;
	right: 24px;
	top: 24px;
	transform: none;
	width: 307px;
	height: calc(100vh - 24px);
	overflow: hidden;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.25s ease;
	z-index: 0;
}
.tm-slider.is-rail-visible .tm-slider__rail {
	opacity: 1;
}
.tm-slider__rail-svg {
	display: block;
	width: 100%;
	height: auto;
	transform: translateY(0px);
	will-change: transform;
}
.tm-slider__rail-path {
	will-change: stroke-dashoffset;
}
.tm-slider.is-rail-animate .tm-slider__rail-svg {
	transition: transform 0.6s ease;
}
.tm-slider.is-rail-animate .tm-slider__rail-path {
	transition: stroke-dashoffset 0.6s ease;
}
/* remove old caption overlay styles (no longer used) */
.tm-slider__progress {
	position: absolute;
	bottom: 24px;
	left: 24px;
	display: none;
	gap: 8px;
}
.tm-slider__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #cbd5e1;
}
.tm-slider__dot.is-active {
	background: #0b4f8a;
}
@media (max-width: 980px) {
	/* Slider on mobile: normal scrolling, no sticky lock, no fade */
	.tm-slider {
		min-height: 0;
	}
	.tm-slider__rail {
		display: none !important;
	}
	.tm-slider__sticky {
		height: auto;
		display: block;
		padding: 32px 16px;
	}
	.tm-slider__header {
		margin: 0 0 24px;
		padding: 24px 0;
		text-align: center;
	}
	.tm-slider__stage {
		display: block;
	}
	.tm-slider__slide {
		height: auto;
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 24px 0 0;
		margin-bottom: 28px;
	}
	.tm-slider__aside,
	.tm-slider__media {
		opacity: 1 !important;
		pointer-events: auto !important;
		transition: none !important;
	}
	.tm-slider-lock.is-locked .tm-slider__media {
		position: static !important;
		left: auto !important;
		right: auto !important;
		top: auto !important;
		transform: none !important;
		width: auto !important;
	}
	.tm-slider__img,
	.tm-slider__video,
	.tm-slider__slide iframe {
		height: auto;
	}
	.tm-slider__media iframe {
		height: 56.25vw;
		min-height: 0;
	}

	/* Hide all slider navigation/progress on mobile */
	.tm-slider__progress {
		display: none !important;
	}

	/* Keep slide number visible on mobile */
	.tm-slider__step {
		display: inline-block;
		margin-bottom: 10px;
	}
}

/* Hover Slider */
.tm-hover-slider {
	max-width: 1440px;
	margin: 80px auto;
	padding: 0 24px;
}
.tm-hover-slider.alignfull {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
	padding-inline: 24px;
}
.tm-hover-slider__viewport {
	overflow: hidden;
	width: 100%;
}
.tm-hover-slider__track {
	display: flex;
	transition: transform 0.5s ease;
	will-change: transform;
}
.tm-hover-slider__slide {
	min-width: 100%;
	height: 80vh;
}
.tm-hover-slide__media {
	position: relative;
	border-radius: 18px;
	overflow: hidden;
	background: #111;
	height: 100%;
	--tm-chevron-bottom: clamp(20px, 2.6vw, 34px);
	--tm-chevron-height: clamp(18px, 2.2vw, 26px);
	--tm-notch-size: clamp(10px, 1.2vw, 16px);
	--tm-notch-center: calc(100% - var(--tm-chevron-bottom) - (var(--tm-chevron-height) / 2));
}
.tm-hover-slide__media::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: clamp(32px, 3.8vw, 56px);
	background: var(--tm-hover-accent, #ec69a2);
	clip-path: polygon(
		0 0,
		100% 0,
		100% 100%,
		0 100%,
		0 calc(var(--tm-notch-center) + var(--tm-notch-size)),
		40% var(--tm-notch-center),
		0 calc(var(--tm-notch-center) - var(--tm-notch-size))
	);
	border-radius: 0 18px 18px 0;
	z-index: 3;
	pointer-events: none;
}
.tm-hover-slide__media::before {
	content: "";
	position: absolute;
	right: clamp(24px, 2.8vw, 48px);
	bottom: var(--tm-chevron-bottom);
	width: clamp(60px, 7vw, 104px);
	height: var(--tm-chevron-height);
	background: var(--tm-hover-accent, #ec69a2);
	mask-image: url("data:image/svg+xml,%3Csvg width='84' height='24' viewBox='0 0 84 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 12 L12 0 L16 4 L8 12 L16 20 L12 24 Z M22 12 L34 0 L38 4 L30 12 L38 20 L34 24 Z M44 12 L56 0 L60 4 L52 12 L60 20 L56 24 Z M66 12 L78 0 L82 4 L74 12 L82 20 L78 24 Z' fill='black'/%3E%3C/svg%3E");
	mask-repeat: no-repeat;
	mask-size: 100% 100%;
	z-index: 4;
	pointer-events: none;
	opacity: 0.9;
	transform: rotate(180deg);
	transform-origin: center;
}
.tm-hover-slide__img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
}
.tm-hover-slide__title {
	position: absolute;
	margin: 0;
    top: clamp(24px, 13vw, 135px);
	left: clamp(24px, 4vw, 48px);
	right: clamp(24px, 4vw, 48px);
	display: block;
	text-align: center;
	font-size: clamp(40px, 7vw, 86px);
	line-height: 1.05;
	font-weight: 700;
	color: var(--tm-hover-accent, #ec69a2);
	text-transform: none;
	letter-spacing: -0.01em;
	transition: opacity 0.25s ease, transform 0.25s ease;
	z-index: 2;
}
.tm-hover-slide__overlay {
	position: absolute;
	inset: 0;
	background: var(--tm-hover-accent, #ec69a2);
	opacity: 0;
	pointer-events: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 18px;
	padding: 32px;
	transition: opacity 0.3s ease;
	overflow: hidden;
}
.tm-hover-slide__overlay::before {
	content: "";
	position: absolute;
	inset: -20%;
	background: linear-gradient(120deg, rgba(255,255,255,0.18), rgba(255,255,255,0) 45%, rgba(255,255,255,0.12));
	opacity: 0.35;
	transform: translateX(-12%);
	transition: transform 0.6s ease;
}
.tm-hover-slide__hover-title {
	margin: 0;
	color: #fff;
	font-size: clamp(28px, 5vw, 48px);
	line-height: 1.15;
	font-weight: 600;
	transition: transform 0.3s ease;
	position: relative;
	z-index: 1;
}
.tm-hover-slide__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	border: 1px solid #fff;
	border-radius: 6px;
	color: #fff;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 14px;
	font-weight: 500;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
	position: relative;
	z-index: 1;
}
.tm-hover-slide__button:hover {
	transform: translateY(-2px);
	background: #fff;
	color: var(--tm-hover-accent, #ec69a2);
}
.tm-hover-slide__media:hover .tm-hover-slide__overlay,
.tm-hover-slide__media:focus-within .tm-hover-slide__overlay {
	opacity: 0.95;
	pointer-events: auto;
}
.tm-hover-slide__media:hover .tm-hover-slide__overlay::before,
.tm-hover-slide__media:focus-within .tm-hover-slide__overlay::before {
	transform: translateX(12%);
}
.tm-hover-slide__media:hover .tm-hover-slide__title,
.tm-hover-slide__media:focus-within .tm-hover-slide__title {
	opacity: 0;
	transform: translateY(-8px);
}
.tm-hover-slide__media:hover .tm-hover-slide__hover-title,
.tm-hover-slide__media:focus-within .tm-hover-slide__hover-title {
	transform: translateY(10%);
}
.tm-hover-slide__media:hover .tm-hover-slide__img,
.tm-hover-slide__media:focus-within .tm-hover-slide__img {
	transform: scale(1.05);
}
.tm-hover-slide__img {
	transition: transform 0.6s ease;
}
.tm-hover-slider__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-top: 20px;
}
.tm-hover-slider__arrow {
	width: 36px;
	height: 36px;
	border-radius: 999px;
	border: none;
	background: transparent;
	color: #94a3b8;
	font-size: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s ease, transform 0.2s ease;
}
.tm-hover-slider__arrow span {
	display: block;
	line-height: 1;
}
.tm-hover-slider__arrow:hover {
	color: var(--tm-hover-active-accent, #ec69a2);
	transform: translateY(-1px);
}
.tm-hover-slider__dots {
	display: flex;
	gap: 10px;
	align-items: center;
}
.tm-hover-slider__dot {
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: #cbd5e1;
	border: none;
	padding: 0;
	cursor: pointer;
}
.tm-hover-slider__dot.is-active {
	background: var(--tm-hover-active-accent, #ec69a2);
}
@media (max-width: 980px) {
	.tm-hover-slider {
		margin: 48px auto;
		padding: 0 16px;
	}
	.tm-hover-slide__title {
		top: 20px;
		left: 20px;
	}
	.tm-hover-slide__overlay {
		padding: 24px;
	}
	.tm-hover-slider__nav {
		margin-top: 16px;
	}
}

/* Banner */
.tm-banner {
	position: relative;
	background: #101C3F;
	overflow: visible;
	max-width: 1280px;
	margin: 0 auto;
	margin-top: 80px;
	margin-bottom: 80px;
	border-radius: 8px;
}

.tm-banner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--tm-banner-bg) no-repeat center / cover;
	z-index: 0;
	opacity: 1;
	border-radius: 8px;
}

/* Light streaks effect - blue and yellow/orange */
.tm-banner::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	background: 
		radial-gradient(ellipse 70% 40% at 75% 25%, rgba(59, 130, 246, 0.15) 0%, transparent 55%),
		radial-gradient(ellipse 50% 30% at 25% 45%, rgba(251, 191, 36, 0.12) 0%, transparent 45%),
		linear-gradient(135deg, transparent 0%, rgba(59, 130, 246, 0.1) 25%, rgba(251, 191, 36, 0.08) 55%, transparent 100%);
	background-size: 100% 100%, 100% 100%, 100% 100%;
	z-index: 1;
	opacity: 0.35;
	filter: blur(30px);
	pointer-events: none;
}

.tm-banner--overlay::after {
	content: "";
	position: absolute;
	inset: 0;
	left: 0;
	transform: none;
	width: 100%;
	background: linear-gradient(90deg, rgba(4,22,48,.9) 0%, rgba(4,22,48,.6) 40%, rgba(4,22,48,0) 80%);
	z-index: 2;
	pointer-events: none;
}
/* Full-bleed only when user chooses alignfull */
.tm-banner.alignfull {
	margin-inline: calc(50% - 50vw);
	max-width: 100vw;
}
.tm-banner.alignfull::before,
.tm-banner.alignfull.tm-banner--overlay::after {
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
}
.tm-banner__inner {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 60px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px 48px;
	align-items: center;
	width: 100%;
	height: 420px;
}
.tm-banner--light .tm-banner__title,
.tm-banner--light .tm-banner__text,
.tm-banner--light .tm-banner__eyebrow { color: #fff; }
.tm-banner--dark .tm-banner__title,
.tm-banner--dark .tm-banner__text,
.tm-banner--dark .tm-banner__eyebrow { color: #0b1526; }

.tm-banner__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.tm-banner__eyebrow {
	text-transform: uppercase;
	letter-spacing: .08em;
	font-weight: 500;
	margin: 0 0 16px;
	color: #8FB3FF !important;
	font-size: 14px;
}

.tm-banner__title {
	margin: 0 0 24px;
	font-size: clamp(36px, 5.5vw, 31px);
	font-weight: 500;
	color: #fff;
	line-height: 1.2;
}

.tm-banner__text { 
	font-size: 18px; 
	font-weight: 300;
	line-height: 1.7; 
	max-width: 580px; 
	color: rgba(255, 255, 255, 0.95);
	margin-bottom: 40px;
}

.tm-banner__cta {
	display: flex;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
	margin-top: 0;
}

.tm-banner__button {
	display: inline-block;
	background: #FFB54D;
	color: #fff;
	font-weight: 400;
	padding: 16px 32px;
	border-radius: 10px;
	text-decoration: none !important;
	transition: background 0.2s, transform 0.2s;
	font-size: 17px;
	box-shadow: 0 4px 12px rgba(255, 181, 77, 0.3);
}

.tm-banner__button:hover {
	background: #ffa633;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(255, 181, 77, 0.4);
}

.tm-banner__demo-link {
	color: #fff;
	text-decoration: none !important;
	font-weight: 500;
	font-size: 17px;
	transition: color 0.2s, transform 0.2s;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	white-space: nowrap;
}
.tm-banner__demo-link::after {
	content: "→";
	color: #FFB54D;
	font-size: 18px;
	transition: transform 0.2s;
}

.tm-banner__demo-link:hover {
	color: rgba(255, 255, 255, 0.9);
}
.tm-banner__demo-link:hover::after {
	transform: translateX(4px);
}
.tm-banner__media {
	justify-self: end;
	width: 100%;
	max-width: 700px;
	align-self: stretch;
	position: relative;
	z-index: 3;
	display: block;
	margin: 0;
	padding: 0;
	/* Make this a positioning context for the image so it can sit on the bottom edge */
	height: 100%;
	margin-bottom: 0 !important;
	bottom: 0;
}

.tm-banner__media img {
	width: 100%;
	max-width: 600px;
	height: auto;
	/* filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.6)); */
	transform: none;
	transition: none;
	position: absolute;
	right: 0;
	bottom: -40px;
	margin: 0 !important;
	padding: 0 !important;
	vertical-align: bottom;
	/* position: relative;
	bottom: 0; */
	margin-bottom: 0 !important;
}

.tm-banner__media:hover img {
	transform: none;
}
/* Animation helpers */
.tm-animate { opacity: 0; transform: translateY(24px); will-change: opacity, transform; }
.tm-animate.is-in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.tm-animate--fade-in { transform: none; }
.tm-animate--fade-in.is-in { opacity: 1; }
.tm-animate--slide-up { transform: translateY(32px); }
.tm-animate--slide-up.is-in { transform: translateY(0); }
@media (max-width: 980px) {
	/* Banner: mobile card layout like the reference (rounded card, content top-left, media full-width bottom) */
	.tm-banner {
		margin: 24px 16px 64px;
		border-radius: 16px;
		overflow: hidden; /* keep media inside the rounded card */
	}
	.tm-banner::before {
		border-radius: 16px;
	}
	.tm-banner::after {
		border-radius: 16px;
	}
	.tm-banner__eyebrow {
		color: #8FB3FF;
	}
	.tm-banner__title {
		font-size: clamp(28px, 7vw, 34px);
		line-height: 1.12;
		margin: 0 0 12px;
	}
	.tm-banner__text {
		font-size: 15px;
		line-height: 1.6;
		margin-bottom: 22px;
	}
	.tm-banner__inner {
		grid-template-columns: 1fr;
		height: auto;
		min-height: 0;
		padding: 26px 20px 0;
		gap: 24px;
	}
	.tm-banner__cta {
		gap: 18px;
		flex-wrap: nowrap;
	}
	.tm-banner__button {
		padding: 12px 18px;
		border-radius: 10px;
		font-size: 15px;
	}
	.tm-banner__demo-link {
		font-size: 15px;
	}
	.tm-banner__media {
		justify-self: start;
		width: 100%;
		max-width: 100%;
		bottom: 0;
		margin-top: 6px;
		/* full-width media inside banner card */
		margin-inline: -20px;
		width: calc(100% + 40px);
		height: auto;
	}
	.tm-banner__media img {
		width: 100%;
		max-width: none;
		position: relative;
		right: auto;
		bottom: auto;
		transform: none;
		display: block;
		/* visually anchor the phones to the bottom edge like the reference */
		transform: translateY(14px);
	}
}

/* Global typography for ACF blocks */
.tm-hero,
.tm-content-media,
.tm-slider,
.tm-hover-slider,
.tm-banner {
	font-family: "Open Sans", sans-serif;
	font-style: normal;
	font-weight: 400;
}
.tm-newsletter {
	font-family: "Open Sans", sans-serif;
	font-style: normal;
	font-weight: 400;
	margin-top: 127px;
	margin-bottom: 127px;
}
.tm-hero h1, .tm-hero h2, .tm-hero h3, .tm-hero h4, .tm-hero h5, .tm-hero h6,
.tm-content-media h1, .tm-content-media h2, .tm-content-media h3, .tm-content-media h4, .tm-content-media h5, .tm-content-media h6,
.tm-slider h1, .tm-slider h2, .tm-slider h3, .tm-slider h4, .tm-slider h5, .tm-slider h6,
.tm-hover-slider h1, .tm-hover-slider h2, .tm-hover-slider h3, .tm-hover-slider h4, .tm-hover-slider h5, .tm-hover-slider h6,
.tm-banner h1, .tm-banner h2, .tm-banner h3, .tm-banner h4, .tm-banner h5, .tm-banner h6,
.tm-newsletter h1, .tm-newsletter h2, .tm-newsletter h3, .tm-newsletter h4, .tm-newsletter h5, .tm-newsletter h6,
.tm-hero__title,
.tm-hero__eyebrow,
.tm-content-media__title,
.tm-slider__title,
.tm-slider__slide-title,
.tm-banner__title,
.tm-newsletter__title,
.tm-newsletter__eyebrow,
.tm-banner__eyebrow,
.tm-slider__eyebrow,
.tm-slider__step,
.tm-banner__button {
	font-family: "Open Sans", sans-serif;
	font-style: normal;
}

/* Newsletter styles */
.tm-newsletter {
	padding: 56px 0;
}
.tm-newsletter--muted { background: transparent; }
.tm-newsletter--white { background: #fff; }
.tm-newsletter--dark { background: #0b1526; }
.tm-newsletter--dark .tm-newsletter__title,
.tm-newsletter--dark .tm-newsletter__text,
.tm-newsletter--dark .tm-newsletter__eyebrow { color: #fff; }
.tm-newsletter__inner {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 48px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0;
	align-items: center;
}
.tm-newsletter__eyebrow {
	text-transform: uppercase;
	letter-spacing: .03em;
	font-weight: 500;
	color: #0b4f8a;
	margin: 0 0 8px;
	font-size: 14px;
}
.tm-newsletter__title {
	margin: 0 0 24px;
	font-size: 31px;
	line-height: 40px;
	font-weight: 500;
	letter-spacing: -0.004em;
}
.tm-newsletter__text { font-size: 16px; color: #50575e; font-weight: 300; }
.tm-newsletter__input {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 0;
	background: #fff;
	border-radius: 12px;
	padding: 8px;
	min-height: 56px;
	box-shadow: inset 0 0 0 1px rgba(2,38,80,.08);
}
.tm-newsletter--dark .tm-newsletter__input { background: rgba(255,255,255,.08); }
.tm-newsletter__input input[type="email"] {
	border: 0;
	padding: 14px 16px;
	font-size: 16px;
	border-radius: 8px 0 0 8px;
	outline: none;
	width: 100%;
	background: transparent;
	color: inherit;
}
.tm-newsletter__input button {
	background: #FFB54D;
	color: #0b1526;
	font-weight: 700;
	border: 0;
	border-radius: 8px;
	padding: 0 22px;
	align-self: stretch; /* match input height */
	cursor: pointer;
	min-width: 160px;
}
.tm-newsletter__input input::placeholder { color: #9aa7b3; }
.tm-newsletter__consent {
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: 12px;
	color: #4f5965;
	font-size: 14px;
}
.tm-newsletter__message {
	margin-top: 10px;
	font-size: 14px;
	color: #0b4f8a;
}
@media (max-width: 980px) {
	.tm-newsletter {
		margin-top: 64px;
		margin-bottom: 64px;
		padding: 40px 0;
	}
	.tm-newsletter__inner {
		grid-template-columns: 1fr;
		gap: 24px;
		padding: 0 16px;
		align-items: start;
	}
	.tm-newsletter__title {
		font-size: clamp(22px, 5.6vw, 28px);
		line-height: 1.25;
		margin-bottom: 12px;
	}
	.tm-newsletter__text {
		font-size: 15px;
		line-height: 1.65;
	}
	.tm-newsletter__input {
		grid-template-columns: 1fr auto;
		gap: 8px;
		padding: 8px;
		min-height: 52px;
	}
	.tm-newsletter__input input[type="email"] {
		border-radius: 10px;
		padding: 12px 12px;
	}
	.tm-newsletter__input button {
		width: auto;
		min-width: 110px;
		padding: 0 14px;
		border-radius: 10px;
		font-size: 14px;
		font-weight: 600;
	}

	.tm-newsletter__consent {
		font-size: 12px;
		line-height: 1.35;
	}
}

/* Contact Page Styles */
.contact-page {
	max-width: 100%;
	padding: 0;
}

/* Contact Form Section */
.tm-contact-form-section {
	padding: 80px 0;
	background: #fff;
	padding-top: 207px;
}

/* Contact page template: prevent theme.css from constraining layout to 1140px */
body.tm-acf-layout .site-header:not(.dynamic-header),
body.tm-acf-layout .site-footer.tm-footer,
body.tm-acf-layout .site-main {
	max-width: none;
	width: 100%;
	padding-inline: 0;
}

/* Mobile menu (non-Elementor header): override Hello's header-footer.css which forces white dropdown */
@media (max-width: 980px) {
	/* Keep burger/close icon above the fullscreen dropdown */
	body.tm-acf-layout .site-header:not(.dynamic-header) {
		position: relative;
		z-index: 10001;
	}
	body.tm-acf-layout .site-header:not(.dynamic-header) .header-inner {
		position: relative;
		z-index: 10002;
		background: #fff;
	}
	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-toggle-holder,
	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-toggle {
		position: relative;
		z-index: 10003;
	}

	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-toggle {
		background: transparent !important;
		border-radius: 0 !important;
		padding: 10px 12px !important;
	}
	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-toggle .site-navigation-toggle-icon {
		color: #EDA739 !important;
	}

	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-dropdown {
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		bottom: 0 !important;
		z-index: 9999 !important;
		background: #0b4f8a !important;
		margin: 0 !important;
		/* base padding; when open we push it below the white header bar via --tm-mobile-header-h */
		padding: 24px 20px 28px !important;
		overflow: auto !important;
		-webkit-overflow-scrolling: touch;
		box-shadow: none !important;

		/* replace Hello's scaleY animation */
		max-height: none !important;
		transform: translateY(-10px) !important;
		opacity: 0;
		pointer-events: none;
		transition: opacity .25s ease, transform .25s ease;
	}
	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-toggle-holder.elementor-active + .site-navigation-dropdown {
		opacity: 1 !important;
		transform: translateY(0) !important;
		pointer-events: auto !important;
		max-height: none !important;
	}

	/* Match requested positioning: close icon flush to top when menu is open */
	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-toggle-holder.elementor-active {
		top: 0px !important;
	}

	/* Keep the white header bar visible when menu is open; use fixed for better UX */
	html.tm-mobile-menu-open body.tm-acf-layout {
		overflow: hidden;
	}
	html.tm-mobile-menu-open body.tm-acf-layout .site-header:not(.dynamic-header) {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 10002;
		background: #fff;
	}
	html.tm-mobile-menu-open body.tm-acf-layout .site-header:not(.dynamic-header) .header-inner {
		background: #fff;
	}
	html.tm-mobile-menu-open body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-dropdown {
		top: var(--tm-mobile-header-h, 78px) !important;
		height: calc(100vh - var(--tm-mobile-header-h, 78px)) !important;
	}

	/* Kill the white box + absolute positioning from header-footer.css */
	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-dropdown ul.menu {
		background: transparent !important;
		position: static !important;
		width: 100% !important;
	}
	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-dropdown ul.menu li a {
		background: transparent !important;
		box-shadow: none !important;
		color: #fff !important;
		padding: 18px 0 !important;
	}

	/* Separators like in the mock */
	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-dropdown ul.menu > li {
		border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
	}

	/* Disable default ▾ pseudo arrow (we render our own toggle button) */
	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-dropdown ul.menu li.menu-item-has-children:after {
		content: none !important;
	}

	/* Prevent Hello's submenu collapsing (max-height:0 + scaleY) from breaking our submenu */
	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-dropdown ul.menu > li li {
		max-height: none !important;
		transform: none !important;
		transition: none !important;
	}

	/* Submenu indentation on mobile */
	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-dropdown ul.menu ul.sub-menu > li > a {
		padding-left: 15px !important;
	}
	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-dropdown ul.menu ul.sub-menu ul.sub-menu > li > a {
		padding-left: 30px !important;
	}

	/* Highlight open parent like in the mock */
	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-dropdown li.is-open > a {
		color: #EDA739 !important;
	}
	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-dropdown li.is-open > .tm-submenu-toggle {
		color: #EDA739 !important;
	}

	/* Mobile menu footer: pull up by ~100px while still staying at the bottom */
	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-dropdown .tm-mobile-nav {
		min-height: calc(100vh - 110px - 28px);
		display: flex;
		flex-direction: column;
	}
	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-dropdown .tm-mobile-nav__footer {
		margin-top: auto;
		transform: translateY(-100px);
	}
	body.tm-acf-layout .site-header:not(.dynamic-header) .site-navigation-dropdown .tm-mobile-nav__cta {
		margin-top: 14px;
		width: 95%;
		margin-inline: auto;
		padding: 12px 14px;
		border-radius: 10px;
		font-size: 15px;
	}
}

/* Contact page: banner should match tm-banner block but fit a form (no fixed height) */
.tm-contact-banner {
	position: relative;
	background: #fff;
	overflow: visible;
	max-width: 1280px;
	margin: 0 auto;
	margin-top: 80px;
	margin-bottom: 80px;
}
.tm-contact-banner::before {
	content: none;
}
.tm-contact-banner::after {
	content: none;
}

/* Text color rules (equivalent of tm-banner--light/dark) */
.tm-contact-banner--light .tm-banner__title,
.tm-contact-banner--light .tm-banner__text,
.tm-contact-banner--light .tm-banner__eyebrow { color: #0b1526; }
.tm-contact-banner--dark .tm-banner__title,
.tm-contact-banner--dark .tm-banner__text,
.tm-contact-banner--dark .tm-banner__eyebrow { color: #0b1526; }

.tm-contact-banner .tm-banner__inner {
	position: relative;
	z-index: 2;
	height: auto;
	min-height: 380px;
	padding: 56px 48px;
	/* Contact: align media with title (top edge), not vertically centered like generic tm-banner */
	align-items: start;
}
.tm-contact-banner .tm-banner__content {
	/* Generic tm-banner centers content vertically; contact banner should start from the top */
	justify-content: flex-start;
}
.tm-contact-banner .tm-banner__media {
	/* Override generic banner stretch + bottom anchoring */
	align-self: start;
	height: auto;
}
.tm-contact-banner .tm-banner__media img {
	/* Generic banner positions image at the bottom; contact needs top alignment with title */
	position: relative;
	right: auto;
	bottom: auto;
	top: 0;
	display: block;
}
.tm-contact-banner .tm-banner__text {
	margin-bottom: 24px;
	font-size: 16px;
}
.tm-contact-banner .tm-contact-form {
	gap: 16px;
}
.tm-contact-banner .tm-contact-form__field input[type="text"],
.tm-contact-banner .tm-contact-form__field input[type="email"],
.tm-contact-banner .tm-contact-form__field textarea {
	color: #0b1526;
	border-bottom-color: rgba(2, 38, 80, 0.18);
}
.tm-contact-banner .tm-contact-form__field input[type="text"]::placeholder,
.tm-contact-banner .tm-contact-form__field input[type="email"]::placeholder,
.tm-contact-banner .tm-contact-form__field textarea::placeholder {
	color: #9aa7b3;
}
.tm-contact-banner .tm-contact-form__consent {
	color: #4f5965;
}
.tm-contact-banner .tm-contact-form__consent a {
	color: #004A92;
}
.tm-contact-banner .tm-banner__button {
	background: #004A92;
	color: #fff;
	box-shadow: 0 6px 18px rgba(0, 74, 146, 0.25);
}
.tm-contact-banner .tm-banner__button:hover {
	background: #003b75;
}
.tm-contact-banner .tm-contact-form__submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.tm-contact-banner .tm-contact-form__submit svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}
.tm-contact-form__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
	align-items: start;
}
.tm-contact-form__content {
	flex: 1;
}
.tm-contact-form__title {
	margin: 0 0 24px;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 500;
	color: #0b1526;
	line-height: 1.2;
}
.tm-contact-form__text {
	font-size: 18px;
	color: #4f5965;
	line-height: 1.6;
	margin-bottom: 40px;
}
.tm-contact-form__text p {
	margin: 0 0 16px;
}
.tm-contact-form__text p:last-child {
	margin-bottom: 0;
}
.tm-contact-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.tm-contact-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.tm-contact-form__field input[type="text"],
.tm-contact-form__field input[type="email"],
.tm-contact-form__field textarea {
	width: 100%;
	padding: 14px 0;
	font-size: 16px;
	border: none;
	border-bottom: 1px solid #D9E0EF;
	border-radius: 0;
	background: transparent;
	color: #0b1526;
	font-family: inherit;
	transition: border-color 0.2s;
}
.tm-contact-form__field input[type="text"]:focus,
.tm-contact-form__field input[type="email"]:focus,
.tm-contact-form__field textarea:focus {
	outline: none;
	border-bottom-color: #3B82F6;
}
.tm-contact-form__field input[type="text"]::placeholder,
.tm-contact-form__field input[type="email"]::placeholder,
.tm-contact-form__field textarea::placeholder {
	color: #9aa7b3;
}
.tm-contact-form__field textarea {
	resize: vertical;
	min-height: 120px;
}
.tm-contact-form__consent {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 16px;
	color: #4f5965;
	cursor: pointer;
}
.tm-contact-form__consent input[type="checkbox"] {
	margin-top: 2px;
	flex-shrink: 0;
	cursor: pointer;
}
.tm-contact-form__consent a {
	color: #004A92;
	text-decoration: underline;
}
.tm-contact-form__submit {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #004A92;
	color: #fff;
	border: none;
	border-radius: 10px;
	padding: 16px 32px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
	align-self: flex-start;
	margin-top: 8px;
}
.tm-contact-form__submit:hover {
	background: #2563EB;
}
.tm-contact-form__submit svg {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
}
.tm-contact-form__message {
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 16px;
}
.tm-contact-form__message.success {
	background: #D1FAE5;
	color: #065F46;
}
.tm-contact-form__message.error {
	background: #FEE2E2;
	color: #991B1B;
}
.tm-contact-form__image {
	width: 100%;
	display: block;
	position: relative;
}
.tm-contact-form__image img {
	width: 100%;
	height: auto;
	border-radius: 12px;
	object-fit: cover;
	display: block;
	max-width: 100%;
}

/* Map & Contact Info Section */
.tm-contact-map-section {
	padding: 80px 0;
	background: #F8F9FA;
}
.tm-contact-map__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
	align-items: start;
}
.tm-contact-map__map {
	width: 90%;
	height: 360px;
	max-height: 360px;
	border-radius: 12px;
	overflow: hidden;
	background: #E5E7EB;
	margin: 0 auto;
}
.tm-contact-map__map iframe,
.tm-yellowmaps-container,
.tm-map-container,
.tm-contact-map__fallback-image {
	width: 100%;
	height: 100%;
	border: none;
}
.tm-contact-map__fallback-image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}
.tm-contact-info {
	padding: 40px;
	border-radius: 12px;
	padding-top: 0;
}
.tm-contact-info__title {
	margin: 0 0 32px;
	font-size: clamp(28px, 3.5vw, 36px);
	font-weight: 500;
	color: #0b1526;
}
.tm-contact-info__company {
	margin-bottom: 32px;
}
.tm-contact-info__company-name {
	margin: 0 0 8px;
	font-size: 16px;
	font-weight: 700;
	color: #0b1526;
}
.tm-contact-info__legal-name {
	margin: 0;
	font-size: 16px;
	color: #4f5965;
	line-height: 1.5;
}
.tm-contact-info__address {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 32px;
	padding-bottom: 32px;
	border-bottom: 1px solid #E5E7EB;
}
.tm-contact-info__address svg {
	flex-shrink: 0;
	margin-top: 2px;
}
.tm-contact-info__address span {
	font-size: 16px;
	color: #0b1526;
	line-height: 1.6;
}
.tm-contact-info__sections {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
}
.tm-contact-info__section {
	margin-bottom: 0;
}
.tm-contact-info__section-title {
	margin: 0 0 16px;
	font-size: 18px;
	font-weight: 500;
	color: #024A92;
}
.tm-contact-info__item {
	margin: 0 0 12px;
	font-size: 16px;
	color: #0b1526;
	line-height: 1.6;
	display: flex;
}
.tm-contact-info__item:last-child {
	margin-bottom: 0;
}
.tm-contact-info__label {
	font-weight: 600;
	margin-right: 8px;
	min-width: 20px;
	color: #EDA739;
}
.tm-contact-info__item a {
	color: #0F0F0F;
	text-decoration: none;
	transition: color 0.2s;
}
.tm-contact-info__item a:hover {
	color: #0F0F0F;
	text-decoration: underline;
}

@media (max-width: 980px) {
	.tm-contact-form-section {
		padding: 60px 0;
	}
	.tm-contact-form__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.tm-contact-map-section {
		padding: 60px 0;
	}
	.tm-contact-map__inner {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	.tm-contact-map__map {
		height: 220px;
	}
	.tm-contact-info {
		padding: 32px 24px;
	}
	.tm-contact-info__sections {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

/* ACF footer (shared canonical footer markup) */
.tm-acf-footer {
	color: #dfe8f2;
	background: radial-gradient(1200px 500px at 70% 30%, rgba(23,94,155,.4), rgba(8,26,48,1)), #071a2e;
	padding-top: 24px;
}
.tm-acf-footer__inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 32px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 24px 24px 32px;
	padding-top: 80px;
	padding-bottom: 80px;
	align-items: center;
}
.tm-acf-footer__brand img,
.tm-acf-footer__brand .custom-logo-link img {
	max-width: 200px;
	height: auto;
	margin-bottom: 12px;
}
.tm-acf-footer__brand-sub { margin: 12px 0 6px; font-weight: 700; color: #fff; }
.tm-acf-footer__brand-desc { margin: 0; color: #c2d0df; }
.tm-acf-footer__social ul { list-style: none; display: flex; gap: 16px; padding: 0; margin: 0; }
.tm-acf-footer__social a {
	display: inline-grid; place-items: center;
}
.tm-acf-footer__social a img {
	width: 40px;
	height: 40px;
	object-fit: contain;
}
.tm-acf-footer__cta {
	text-align: right;
}
.tm-acf-footer__button {
	display: inline-block;
	background: #FFB54D; 
	color: #fff; 
	font-weight: 700;
	padding: 14px 22px; 
	border-radius: 10px; 
	text-decoration: none;
}
.tm-acf-footer__button:hover {
	color: #fff; 
}
.tm-acf-footer__bar {
	background: rgba(6,20,38,.85);
	border-top: 1px solid rgba(255,255,255,.08);
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 100%;
	padding: 24px 24px;
}
.tm-acf-footer__bar p { 
	margin: 0; 
	font-size: 14px;
	margin-left: 30px;
}
.tm-acf-footer__links { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; font-size: 14px; }
.tm-acf-footer__links a { color: #dfe8f2; text-decoration: none; }
@media (max-width: 980px) {
	.tm-acf-footer__inner { grid-template-columns: 1fr; text-align: left; }
	.tm-acf-footer__social { justify-self: start; }
	.tm-acf-footer__cta { text-align: left; }
	.tm-acf-footer__bar { flex-direction: column; gap: 8px; text-align: center; }
	.tm-acf-footer__bar p { margin-left: 0; }
}

/* Footer */
.tm-footer {
	color: #dfe8f2;
	background: radial-gradient(1200px 500px at 70% 30%, rgba(23,94,155,.4), rgba(8,26,48,1)), #071a2e;
	padding-top: 24px;
}
.tm-footer__contact-bar {
	border-bottom: 1px solid rgba(255,255,255,.1);
}
.tm-footer__contact-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 16px 24px;
}
.tm-footer__logo {
	flex-shrink: 0;
}
.tm-footer__logo img {
	max-width: 200px;
	max-height: 40px;
	width: auto;
	height: auto;
}
.tm-footer__logo-text {
	color: #fff;
	font-weight: 700;
	font-size: 20px;
}
.tm-footer__contact-info {
	display: flex;
	align-items: center;
	gap: 32px;
	flex-wrap: wrap;
	justify-content: end;
	flex: 1;
}

.tm-footer__contact-info svg {
	color: #EDA739;
}

.tm-footer__contact-item {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #dfe8f2;
	text-decoration: none;
	font-size: 14px;
	transition: color 0.2s;
}
.tm-footer__contact-item:hover {
	color: #fff;
}
.tm-footer__contact-item svg {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
}
.tm-footer__inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr;
	gap: 32px;
	max-width: 1440px;
	margin: 0 auto;
	padding: 24px 24px 32px;
	align-items: center;
}
.tm-footer__brand img {
	max-width: 200px;
	max-height: 50px;
	width: auto;
	height: auto;
	margin-bottom: 12px;
}
.tm-footer__brand-name {
	color: #fff;
	font-weight: 700;
	font-size: 24px;
	margin-bottom: 12px;
}
.tm-footer__brand-sub {
	margin: 12px 0 6px;
	font-weight: 700;
	color: #fff;
}
.tm-footer__brand-desc {
	margin: 0;
	color: #c2d0df;
}
.tm-footer__social ul {
	list-style: none;
	display: flex;
	gap: 16px;
	padding: 0;
	margin: 0;
}
.tm-footer__social a {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255,255,255,.1);
	color: #fff;
	text-decoration: none;
	transition: background 0.2s;
}
.tm-footer__social a img {
	width: 24px;
	height: 24px;
	object-fit: contain;
}
.tm-footer__social a:hover {
	background: rgba(255,255,255,.2);
}
.tm-footer__button {
	display: inline-block;
	background: #FFB54D;
	color: #fff;
	font-weight: 700;
	padding: 14px 22px;
	border-radius: 10px;
	text-decoration: none;
	transition: background 0.2s;
}
.tm-footer__button:hover {
	background: #ffa726;
}
.tm-footer__bar {
	background: #004A92;
	border-top: 1px solid rgba(255,255,255,.08);
	display: flex;
	justify-content: space-between;
	align-items: center;
	max-width: 100%;
	padding: 12px 24px;
}
.tm-footer__bar p {
	font-size: 14px;
    margin-left: 30px;
}
.tm-footer__links {
	list-style: none;
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
}
.tm-footer__links a {
	color: #dfe8f2;
	text-decoration: none;
	transition: color 0.2s;
}
.tm-footer__links a:hover {
	color: #fff;
}
@media (max-width: 980px) {
	.tm-footer__contact-inner {
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
		gap: 20px;
	}
	.tm-footer__contact-info {
		flex-direction: column;
		gap: 16px;
		align-items: flex-start;
		justify-content: flex-start;
		width: 100%;
	}
	.tm-footer__contact-item {
		width: 100%;
		justify-content: flex-start;
	}
	.tm-footer__inner {
		grid-template-columns: 1fr;
		text-align: left;
		gap: 28px;
	}
	.tm-footer__social {
		justify-self: start;
	}
	.tm-footer__cta {
		text-align: left;
	}
	.tm-footer__bar {
		flex-direction: column;
		align-items: flex-start;
		justify-content: flex-start;
		gap: 18px;
		text-align: left;
	}
	.tm-footer__bar p {
		margin-left: 0;
	}
	.tm-footer__links {
		width: 100%;
		justify-content: space-between;
		gap: 16px;
	}
}

/* Features Grid */
.tm-features-grid {
	padding: 80px 0;
	background: #F6F7FC;
}
.tm-features-grid__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}
.tm-features-grid__header {
	text-align: left;
	margin-bottom: 60px;
	width: 50%;
	max-width: 50%;
}
.tm-features-grid__eyebrow {
	color: #0b4f8a;
	font-weight: 500;
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: .02em;
	font-size: 14px;
}
.tm-features-grid__title {
	margin: 0;
	font-size: clamp(32px, 4vw, 36px);
	line-height: 1.15;
	font-weight: 500;
	color: #0b1526;
	max-width: 85%;
}
.tm-features-grid__items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}
.tm-features-grid__item {
	padding: 0 0 0 24px;
	border-left: 1px solid #D9E0EF;
}
.tm-features-grid__icon {
	margin-bottom: 16px;
}
.tm-features-grid__icon img {
	width: 32px;
	height: 32px;
	object-fit: contain;
}
.tm-features-grid__item-title {
	margin: 0 0 12px;
	font-size: 22px;
	line-height: 30px;
	font-weight: 500;
	letter-spacing: -0.004em;
	color: #101824;
}
.tm-features-grid__item-description {
	font-size: 16px;
	line-height: 1.6;
	color: #4f5965;
	font-weight: 300;
}
.tm-features-grid__item-description p {
	margin: 0;
}
@media (max-width: 980px) {
	.tm-features-grid {
		padding: 60px 0;
	}
	.tm-features-grid__header {
		margin-bottom: 40px;
		width: 100%;
		max-width: 100%;
	}
	.tm-features-grid__items {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.tm-features-grid__item {
		padding: 0 0 0 20px;
		border-left: 1px solid #D9E0EF;
	}
}

/* Features List */
.tm-features-list {
	padding: 80px 0;
	background: #fff;
}
.tm-features-list__inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 24px;
}
.tm-features-list__header {
	text-align: center;
	margin-bottom: 60px;
}
.tm-features-list__eyebrow {
	color: #0b4f8a;
	font-weight: 500;
	margin: 0 0 8px;
	text-transform: uppercase;
	letter-spacing: .02em;
	font-size: 14px;
}
.tm-features-list__title {
	margin: 0;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.15;
	font-weight: 500;
	color: #0b1526;
}
.tm-features-list__items {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
}
.tm-features-list__item {
	padding: 0;
	display: flex;
	gap: 16px;
	align-items: flex-start;
}
.tm-features-list__icon {
	flex-shrink: 0;
	margin: 0;
}
.tm-features-list__icon img {
	width: 20px;
	height: 20px;
	object-fit: contain;
}
.tm-features-list__item-content {
	flex: 1;
}
.tm-features-list__item-title {
	margin: 0 0 12px;
	font-size: 18px;
	line-height: 1.3;
	font-weight: 500;
	color: #1D283A;
	letter-spacing: 0;
}
.tm-features-list__item-description {
	font-size: 14px;
	line-height: 1.6;
	color: #4f5965;
	font-weight: 300;
}
.tm-features-list__item-description p {
	margin: 0;
}
@media (max-width: 980px) {
	.tm-features-list {
		padding: 60px 0;
	}
	.tm-features-list__header {
		margin-bottom: 40px;
	}
	.tm-features-list__items {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.tm-features-list__item {
		padding: 0;
	}
}

/* Override max-width for site-main to allow full-width blocks until 1980px */
/* Override all breakpoints from theme.css */
body:not([class*=elementor-page-]) .site-main {
	max-width: none !important;
}

@media (min-width: 576px) {
	body:not([class*=elementor-page-]) .site-main {
		max-width: none !important;
	}
}

@media (min-width: 768px) {
	body:not([class*=elementor-page-]) .site-main {
		max-width: none !important;
	}
}

@media (min-width: 992px) {
	body:not([class*=elementor-page-]) .site-main {
		max-width: none !important;
	}
}

@media (min-width: 1200px) {
	body:not([class*=elementor-page-]) .site-main {
		max-width: none !important;
	}
}

@media (min-width: 1980px) {
	body:not([class*=elementor-page-]) .site-main {
		max-width: 1440px !important;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (min-width: 1200px) {
	.page-header .entry-title,
	.site-footer .footer-inner,
	.site-footer:not(.dynamic-footer),
	.site-header .header-inner,
	.site-header:not(.dynamic-header) {
		max-width: 1440px;
	}

	.elementor-section.elementor-section-boxed > .elementor-container {
		max-width: 1440px;
	}
}

/* Override theme link underline */
.comments-area a,
.page-content a {
	text-decoration: none;
}

.lang-switcher .lang-item a {
	text-transform: uppercase;
	color: #4A4A49;
	font-weight: 400;
	font-size: 14px;
	-webkit-transition: all 0.2s ease-in-out !important;
	transition: all 0.2s ease-in-out !important;
}

.lang-item {
	display: inline-flex;
	align-items: center;
}
.lang-item + .lang-item {
	margin-left: 6px;
}
.lang-item + .lang-item .lang-link::before {
	content: '|';
	font-size: 0.9em;
	position: relative;
	margin-right: 6px;
	color: #4A4A49;
}
