/*
 * Remote Talent homepage (page-templates/template-home.php).
 *
 * Values mirror the live Elementor homepage (page 7) so the two render the same.
 * Breakpoints match Elementor: tablet <= 1024px, mobile <= 767px.
 */

.rt-home {
	--rt-primary: #004aad;
	--rt-secondary: #ffbd59;
	--rt-text: #1f2938;
	--rt-faint: rgba(0, 0, 0, 0.4);
	--rt-cream: #fff9f4;
	--rt-tint: #f9fbff;
	--rt-border: #dddddd;
	--rt-card-border: rgba(6, 18, 36, 0.1);
	--rt-heading: "Montserrat", sans-serif;
	--rt-body: "Open Sans", sans-serif;
	--rt-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

	width: 100%;
	background: #fff;
	color: var(--rt-text);
	font-family: var(--rt-body);
	font-size: 16px;
	line-height: 1.5;
	overflow-x: clip;
}

.rt-home-page,
.rt-home-page .site {
	background: #fff;
}

.rt-home-page .site-content {
	display: block;
	padding: 0;
}

.rt-home *,
.rt-home *::before,
.rt-home *::after {
	box-sizing: border-box;
}

.rt-home h1,
.rt-home h2,
.rt-home h3 {
	margin: 0;
	color: var(--rt-text);
	font-family: var(--rt-heading);
	font-weight: 700;
	line-height: 1.2;
}

.rt-home p,
.rt-home ul,
.rt-home ol {
	margin: 0;
}

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

/* Layout */

.rt-container {
	width: 100%;
	max-width: 1350px;
	margin: 0 auto;
	padding: 0 15px;
}

.rt-container--1170 {
	max-width: 1200px;
}

.rt-section {
	padding: 80px 0;
}

.rt-section--tint {
	background: var(--rt-tint);
}

.rt-section__head {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 765px;
	margin: 0 auto;
	text-align: center;
}

.rt-section__head h2 {
	font-size: 40px;
}

/*
 * Elementor text widgets give paragraphs a 0.9em bottom margin and most of these
 * widgets a -15px bottom margin, netting -0.6px. Mirror that so heights line up.
 */
.rt-section__head p,
.rt-task p,
.rt-funnel__copy p,
.rt-funnel__pct span,
.rt-framework__lead,
.rt-framework__sub,
.rt-train p,
.rt-ai p,
.rt-contact__intro p {
	margin-bottom: -0.6px;
}

/* Buttons (Elementor button: 16px/500 Open Sans, 15px 23px, 10px radius, float on hover). */

.rt-btn-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

.rt-btn {
	display: inline-block;
	padding: 15px 23px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-family: var(--rt-body);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	transition: all 0.3s;
}

.rt-btn:hover,
.rt-btn:focus-visible {
	transform: translateY(-8px);
}

.rt-home .rt-btn--yellow {
	border-color: var(--rt-secondary);
	background: var(--rt-secondary);
	color: #000;
}

.rt-home .rt-btn--yellow:hover,
.rt-home .rt-btn--yellow:focus-visible {
	border-color: var(--rt-primary);
	background: transparent;
	color: var(--rt-primary);
}

.rt-home .rt-btn--outline {
	border-color: var(--rt-primary);
	background: transparent;
	color: var(--rt-primary);
}

.rt-home .rt-btn--outline:hover,
.rt-home .rt-btn--outline:focus-visible {
	background: var(--rt-primary);
	color: #fff;
}

.rt-home .rt-btn--gradient {
	border-color: var(--rt-card-border);
	background: linear-gradient(160deg, var(--rt-primary) 0%, var(--rt-secondary) 100%);
	color: #fff;
}

.rt-home .rt-btn--gradient:hover,
.rt-home .rt-btn--gradient:focus-visible {
	border-color: var(--rt-primary);
	background: var(--rt-primary);
	color: #fff;
	transform: none;
}

.rt-home .rt-btn--pill {
	padding: 12px 24px;
	border-radius: 25px;
	background: var(--rt-primary);
	color: #fff;
	font-size: 15px;
}

.rt-home .rt-btn--pill:hover,
.rt-home .rt-btn--pill:focus-visible {
	background: var(--rt-secondary);
	color: #000;
	transform: none;
}

/* Hero */

.rt-hero {
	display: flex;
	flex-wrap: wrap;
	padding: 0 100px;
}

.rt-hero__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 20px;
	width: 64%;
	padding: 60px 150px 80px 80px;
	border-radius: 40px 100px 0 100px;
	background: var(--rt-cream);
}

.rt-eyebrow {
	display: flex;
	align-items: center;
	gap: 5px;
	color: var(--rt-primary);
	font-weight: 700;
	text-transform: uppercase;
}

.rt-eyebrow__dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--rt-secondary);
}

.rt-home .rt-hero__title {
	font-size: 60px;
	line-height: 1.2;
}

.rt-hero__text {
	margin-bottom: 0.9em !important;
}

.rt-hero__searches {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.rt-hero__media {
	position: relative;
	width: 35%;
	max-width: 100%;
}

.rt-hero__banner {
	display: block;
	width: 520px;
	padding-top: 30px;
	animation: rt-hero-thumb 2s linear infinite alternate;
}

.rt-hero__float {
	position: absolute;
	z-index: 1;
}

.rt-hero__float--union,
.rt-hero__float--tick,
.rt-hero__float--course {
	animation: rt-hero-sm-2 4s linear infinite alternate;
}

.rt-hero__float--docs,
.rt-hero__float--congrats {
	animation: rt-hero-sm 4s linear infinite alternate;
}

.rt-hero__float--union { top: 50px; left: -80px; }
.rt-hero__float--docs { bottom: 0; left: -70px; }
.rt-hero__float--tick { right: 25px; bottom: 30px; }
.rt-hero__float--course { top: 80px; right: 0; }
.rt-hero__float--congrats { top: 200px; left: -150px; }

@keyframes rt-hero-thumb {
	from { transform: translateY(-20px); }
	to { transform: translateY(0); }
}

@keyframes rt-hero-sm-2 {
	from { transform: translateY(-50px); }
	to { transform: translateY(0); }
}

@keyframes rt-hero-sm {
	from { transform: translateY(-20px) translateX(50px); }
	to { transform: translateY(-20px) translateX(0); }
}

/*
 * Page hero (Industries, Services): copy on the left, photo frame on the right,
 * photo above the copy on phones. --compact is the 1140px variant with a 24px headline.
 */

.rt-page-hero {
	padding: 80px 0;
	background: #fff9f3;
}

.rt-page-hero__inner {
	display: flex;
	align-items: center;
	gap: 20px;
}

.rt-page-hero--compact .rt-page-hero__inner {
	max-width: 1170px;
}

.rt-page-hero__copy,
.rt-page-hero__media {
	flex: 1 1 0;
	min-width: 0;
	padding: 10px;
}

.rt-page-hero__copy {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.rt-home .rt-page-hero h1 {
	max-width: 650px;
	font-size: 40px;
	line-height: 1.2;
}

.rt-home .rt-page-hero--compact h1 {
	font-size: 24px;
}

.rt-page-hero__copy p {
	margin-bottom: 0.9em;
}

.rt-page-hero--compact .rt-page-hero__copy p {
	margin-bottom: 0;
}

.rt-page-hero__media {
	text-align: center;
}

.rt-page-hero__media img {
	display: inline-block;
	width: 383px;
	vertical-align: middle;
}

/* Logo marquee */

.rt-logos {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 20px 0;
}

.rt-marquee {
	overflow: hidden;
	padding: 16px 0 22px;
}

.rt-marquee__track {
	display: flex;
	align-items: center;
	gap: 32px;
	width: max-content;
	animation: rt-marquee 90s linear infinite;
}

.rt-marquee--reverse .rt-marquee__track {
	animation-direction: reverse;
}

.rt-marquee img {
	width: 150px;
	max-height: 50px;
	object-fit: contain;
}

.rt-marquee img[src$="ace-medical-centre.png"] {
	width: 235px;
}

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

/* Roles: flip cards */

.rt-roles {
	padding: 30px 0 80px;
}

.rt-roles .rt-section__head {
	gap: 20px;
	max-width: none;
}

.rt-roles .rt-section__head p {
	max-width: 700px;
	margin: 0 auto;
}

.rt-roles__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 10px;
	margin-top: 20px;
	padding-top: 30px;
}

.rt-flip {
	width: 23%;
	height: 400px;
	perspective: 1000px;
	outline: none;
}

.rt-flip:nth-child(n + 5) {
	margin-top: 50px;
}

.rt-flip__inner {
	position: relative;
	height: 100%;
	transition: transform 0.6s ease-in-out;
	transform-style: preserve-3d;
}

.rt-flip:hover .rt-flip__inner,
.rt-flip:focus-within .rt-flip__inner,
.rt-flip.is-flipped .rt-flip__inner {
	transform: rotateY(180deg);
}

.rt-flip__front,
.rt-flip__back {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: 15px;
	backface-visibility: hidden;
}

.rt-flip__front {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding-top: 40px;
	background: #e4e5e5;
}

.rt-flip:nth-child(3) .rt-flip__front,
.rt-flip:nth-child(6) .rt-flip__front {
	background: #f3f3f3;
}

.rt-flip__front img {
	display: block;
	flex: none;
	width: 100%;
	height: 310px;
	margin-bottom: -6px;
	object-fit: cover;
}

.rt-home .rt-flip__title {
	position: relative;
	z-index: 2;
	padding: 30px 15px;
	border-radius: 0 0 15px 15px;
	background: var(--rt-primary);
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	text-align: center;
}

.rt-flip__back {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 10px;
	background: var(--rt-cream);
	color: var(--rt-text);
	font-size: 14px;
	font-weight: 500;
	line-height: 1.5;
	transform: rotateY(180deg);
}

.rt-home .rt-flip__back h3 {
	margin-bottom: 20px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}

.rt-flip__back p {
	margin-bottom: 1.5em;
}

.rt-flip__back ul {
	padding-left: 15px;
}

.rt-home .rt-flip__back .rt-btn {
	align-self: flex-start;
	margin-top: 20px;
	padding: 10px 20px;
	border: 2px solid var(--rt-primary);
	border-radius: 25px;
	background: var(--rt-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

.rt-home .rt-flip__back .rt-btn:hover {
	border-color: var(--rt-secondary);
	background: var(--rt-secondary);
	color: #000;
	transform: none;
}

/* Roles: mobile carousel (hidden on tablet/desktop) */

.rt-roles__carousel {
	display: none;
}

.rt-role-slide {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding: 20px;
	border-radius: 10px;
	background: #f7f7f7;
	font-size: 14px;
	scroll-snap-align: start;
}

.rt-role-slide img {
	width: 170px;
	border-radius: 50%;
}

.rt-home .rt-role-slide h3 {
	color: var(--rt-primary);
	font-size: 18px;
	font-weight: 600;
	line-height: 1;
	text-align: center;
}

.rt-role-slide p {
	margin-bottom: 4px;
	text-align: center;
}

.rt-home .rt-role-slide .rt-btn {
	align-self: flex-start;
	border: 0;
}

.rt-slider__dots {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 9px;
}

.rt-slider__dots span {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--rt-primary);
	opacity: 0.2;
}

.rt-slider__dots span.is-active {
	opacity: 1;
}

.rt-role-slide ul {
	align-self: stretch;
	padding-left: 15px;
}

/* Tasks */

.rt-tasks__grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 25px;
	margin-top: 20px;
	padding-top: 20px;
}

.rt-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	border: 1px solid var(--rt-card-border);
	border-radius: 12px;
	background: #fff;
	text-align: center;
	transition: all 0.3s;
}

.rt-card:hover {
	border-color: var(--rt-primary);
	box-shadow: 0 9px 26px rgba(31, 31, 51, 0.06);
}

.rt-task {
	width: 23%;
	padding: 45px;
}

.rt-task:hover {
	transform: translateY(-8px);
}

.rt-task img {
	width: 80px;
}

.rt-home .rt-task h3 {
	font-size: 20px;
	font-weight: 500;
}

.rt-task p {
	color: var(--rt-faint);
	font-size: 13px;
}

/* How it works */

.rt-how__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 35px;
	margin-top: 20px;
	padding-top: 20px;
	text-align: center;
}

.rt-how__step {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 15px;
	padding: 10px;
	transition: transform 0.3s;
}

.rt-how__step:hover {
	transform: translateY(-8px);
}

.rt-how__icon {
	padding: 15px;
	border: 5px solid var(--rt-secondary);
	border-radius: 50%;
}

.rt-how__icon img {
	display: block;
	width: 50px;
}

.rt-home .rt-how__step h3 {
	color: var(--rt-primary);
	font-size: 20px;
}

.rt-how__step p {
	margin-bottom: 0.9em;
}

.rt-how .rt-center {
	margin-top: 20px;
	text-align: center;
}

/* CTA band */

.rt-cta {
	padding-top: 20px;
	background: #1146a4;
}

.rt-cta__inner {
	display: flex;
	flex-wrap: wrap;
}

.rt-cta__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 20px;
	width: 40%;
	padding-bottom: 50px;
}

.rt-home .rt-cta__copy h2 {
	color: #fff;
	font-size: 35px;
	font-weight: 600;
}

.rt-cta__copy .rt-btn {
	font-size: 18px;
}

.rt-home .rt-cta__copy .rt-btn:hover,
.rt-home .rt-cta__copy .rt-btn:focus-visible {
	border-color: #fff;
	color: #fff;
}

.rt-cta__media {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	width: 60%;
}

.rt-cta__image {
	display: block;
	width: 440px;
}

/* Framework tabs */

.rt-framework .rt-section__head {
	padding-bottom: 17px;
}

.rt-tabs__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
	margin-top: 20px;
}

.rt-framework .rt-tabs__nav button {
	padding: 10px 30px;
	border: 0;
	border-radius: 10px;
	background: var(--rt-primary);
	color: #fff;
	font-family: var(--rt-system);
	font-size: 20px;
	font-weight: 500;
	line-height: 1.5;
	cursor: pointer;
}

.rt-framework .rt-tabs__nav button[aria-selected="true"],
.rt-framework .rt-tabs__nav button:hover {
	background: var(--rt-secondary);
	color: #000;
}

.rt-framework .rt-tabs__panel {
	padding-top: 30px;
}

.rt-framework__lead {
	font-size: 20px;
	text-align: center;
}

.rt-framework__sub {
	font-size: 18px;
	text-align: center;
}

.rt-divider {
	height: 1px;
	margin: 30px 0;
	border: 0;
	background: var(--rt-card-border);
}

.rt-framework__sub + .rt-funnel {
	margin-top: 50px;
}

.rt-funnel {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	max-width: 1140px;
	margin: 0 auto;
}

.rt-funnel__steps {
	display: flex;
	flex-direction: column;
	gap: 50px;
	width: 60%;
	padding: 30px 40px 30px 0;
	list-style: none;
}

.rt-funnel__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px;
	min-height: 75px;
}

.rt-funnel__num {
	width: 10%;
}

.rt-funnel__copy {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 86%;
}

.rt-home .rt-funnel__copy h3 {
	font-size: 20px;
	font-weight: 500;
}

.rt-funnel__copy p {
	color: var(--rt-faint);
	font-size: 14px;
}

.rt-funnel__bars {
	display: flex;
	flex-direction: column;
	gap: 50px;
	width: 38%;
	padding: 30px 0;
	border-left: 1px solid var(--rt-card-border);
}

.rt-funnel__stat {
	display: flex;
	align-items: center;
	height: 75px;
}

.rt-funnel__stat--inline {
	display: none;
}

.rt-funnel__bar {
	flex: none;
	align-self: stretch;
	width: var(--rt-bar);
	background-image: linear-gradient(160deg, #01295e 0%, var(--rt-primary) 100%);
	transition: width 1s ease-in-out;
}

/* Like Elementor's progress widget, bars grow from 0 when scrolled into view. */
.rt-js .rt-funnel__stat:not(.is-in) .rt-funnel__bar {
	width: 0;
}

.rt-funnel__pct {
	display: flex;
	flex-direction: column;
	gap: 5px;
	padding-left: 10px;
	color: var(--rt-faint);
	font-size: 14px;
	line-height: 1.5;
}

.rt-funnel__pct strong {
	color: var(--rt-text);
	line-height: 1.2;
	font-family: var(--rt-heading);
	font-size: 16px;
	font-weight: 500;
}

.rt-train__grid {
	display: flex;
	flex-wrap: wrap;
	gap: 2%;
	padding-top: 30px;
}

.rt-train {
	width: 32%;
	padding: 40px 25px;
}

/* Font Awesome icons: 1em tall, width from each icon's own proportions. */
.rt-icon {
	display: block;
	height: 1em;
}

.rt-train__icon {
	color: var(--rt-primary);
	font-size: 30px;
	line-height: 1;
}

.rt-home .rt-train h3 {
	font-size: 20px;
	font-weight: 500;
}

.rt-train p {
	font-size: 15px;
}

.rt-ai {
	display: flex;
	align-items: center;
	max-width: 700px;
	margin: 0 auto;
}

.rt-ai > img {
	flex: none;
	width: 245px;
	padding: 10px;
}

.rt-ai > div {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 10px;
}

.rt-home .rt-ai h3 {
	font-size: 16px;
	font-weight: 500;
}

.rt-ai p {
	color: var(--rt-faint);
}

.rt-framework .rt-center {
	margin-top: 20px;
	text-align: center;
}

/* Work station */

.rt-workstation .rt-section__head {
	gap: 20px;
	max-width: 1140px;
}

.rt-home .rt-workstation .rt-section__head h2 {
	margin: -3px 0;
	font-size: 35px;
	font-weight: 600;
	line-height: 1.2;
}

.rt-home .rt-highlight {
	position: relative;
	color: var(--rt-primary);
}

/* Elementor animated-headline "underline" marker: draws in, holds, then repeats. */
.rt-highlight svg {
	position: absolute;
	top: 50%;
	left: 50%;
	width: calc(100% + 20px);
	height: calc(100% + 20px);
	overflow: visible;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

.rt-highlight path {
	fill: none;
	stroke: var(--rt-primary);
	stroke-width: 6;
	stroke-dasharray: 0 1500;
	animation: rt-headline-dash 9.2s ease infinite;
}

/* Wait until the headline is on screen, like Elementor, so visitors see it draw. */
.rt-js .rt-highlight:not(.is-in) path {
	animation: none;
}

/* Same technique as Elementor: grow the dash from 0 so the line draws left to right. */
@keyframes rt-headline-dash {
	0% { stroke-dasharray: 0 1500; opacity: 1; }
	13% { stroke-dasharray: 1500 1500; opacity: 1; }
	93% { stroke-dasharray: 1500 1500; opacity: 1; }
	100% { stroke-dasharray: 1500 1500; opacity: 0; }
}

.rt-workstation .rt-section__head p {
	font-size: 18px;
}

.rt-ws {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 35%;
	align-items: start;
	gap: 10px;
	max-width: 1140px;
	margin: 20px auto 0;
	padding-top: 30px;
}

.rt-ws__tab {
	display: flex;
	align-items: center;
	gap: 5px;
	grid-column: 2;
	grid-row: var(--rt-row);
	padding: 15px 35px;
	border: 1px solid var(--rt-border);
	border-radius: 8px;
	background: #fff;
	color: var(--rt-text);
	font-family: var(--rt-system);
	text-align: left;
	cursor: pointer;
}

.rt-home .rt-ws__tab:hover,
.rt-home .rt-ws__tab:focus,
.rt-home .rt-ws__tab[aria-selected="true"] {
	border-color: var(--rt-primary);
	background: #fff;
	color: var(--rt-text);
}

/* Elementor sizes tab icons to the tab title font size. */
.rt-ws__icon {
	flex: none;
	color: var(--rt-primary);
	font-size: 18px;
	line-height: 1;
}

.rt-ws__text {
	margin-left: 18px;
}

.rt-ws__title {
	display: block;
	font-size: 18px;
	font-weight: 700;
	line-height: 27px;
}

.rt-ws__desc {
	display: block;
	font-size: 14px;
	font-weight: 400;
	line-height: 21px;
}

.rt-ws__panel {
	grid-column: 1;
	grid-row: 1 / span 6;
	padding: 10px;
}

.rt-ws__panel img {
	display: block;
	width: 100%;
}

/* Testimonials */

.rt-testimonials {
	padding: 80px 15px;
}

.rt-testimonials .rt-section__head {
	max-width: none;
}

.rt-home .rt-testimonials .rt-section__head h2 {
	font-size: 30px;
}

.rt-slider {
	position: relative;
	margin-top: 20px;
}

.rt-slider__track {
	display: grid;
	align-items: start;
	grid-auto-columns: calc((100% - 30px) / 3);
	grid-auto-flow: column;
	gap: 15px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.rt-slider__track::-webkit-scrollbar {
	display: none;
}

.rt-testimonial {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 60px 30px 30px;
	border: 1px solid var(--rt-border);
	border-radius: 8px;
	background: #fff;
	font-family: var(--rt-system);
	scroll-snap-align: start;
}

/* Quote area: at least 140px, including 30px of space below the text (as ElementsKit renders it). */
.rt-testimonial blockquote {
	min-height: 140px;
	margin: 0;
	padding: 0 0 30px;
	border: 0;
	color: rgba(0, 0, 0, 0.5);
	font-size: 16px;
	font-style: normal;
	line-height: 1.5;
}

.rt-testimonial figcaption {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.rt-testimonial strong {
	color: #000;
	font-size: 18px;
	line-height: 1;
}

.rt-testimonial figcaption span {
	color: rgba(0, 0, 0, 0.5);
	font-size: 13px;
}

.rt-slider__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	width: 50px;
	height: 50px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #000;
	font-size: 36px;
	line-height: 1;
	transform: translateY(-50%);
	cursor: pointer;
}

.rt-home .rt-slider__arrow:hover,
.rt-home .rt-slider__arrow:focus {
	background: transparent;
	color: #000;
}

.rt-testimonials .rt-slider__arrow {
	margin-top: 3px;
}

.rt-slider__arrow--prev { left: 0; }
.rt-slider__arrow--next { right: 0; }

/* FAQ */

.rt-faq .rt-section__head {
	max-width: none;
}

.rt-faq__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 20px;
}

.rt-faq__col {
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 10px;
}

.rt-faq__item {
	padding: 8px 10px;
	border-radius: 15px;
	background: #fff;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

.rt-faq__item summary {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px;
	color: #1f2124;
	font-family: var(--rt-system);
	font-size: 16px;
	line-height: 24px;
	cursor: pointer;
	list-style: none;
}

.rt-faq__item summary::-webkit-details-marker {
	display: none;
}

.rt-faq__item summary::before {
	content: "+";
	flex: none;
	width: 12px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1;
	text-align: center;
}

.rt-faq__item[open] summary::before {
	content: "\2212";
}

.rt-faq__answer {
	padding: 10px;
	color: var(--rt-text);
}

.rt-faq__item.is-animating {
	overflow: hidden;
}

.rt-faq__answer p + p {
	margin-top: 0.9em;
}

/* Contact */

.rt-contact__card {
	display: flex;
	max-width: 1140px;
	margin: 0 auto;
}

.rt-contact__intro {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 50%;
	padding: 50px 15px 0 30px;
	border: 1px solid var(--rt-border);
	border-right: 0;
	border-radius: 30px 0 0 30px;
	background: #fff;
}

.rt-home .rt-contact__intro h2 {
	color: var(--rt-primary);
	font-size: 40px;
}

.rt-contact__intro p {
	font-size: 18px;
}

.rt-contact__intro .rt-btn-row {
	gap: 20px;
}

.rt-btn-wrap {
	min-width: 0;
}

.rt-contact__image {
	align-self: flex-end;
	width: 340px;
	margin-top: auto;
}

.rt-contact__form {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 10px;
	width: 50%;
	padding: 50px 25px;
	border-radius: 0 30px 30px 0;
	background: var(--rt-primary);
}

.rt-home .rt-contact__form h3 {
	color: #fff;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.1;
}

.rt-contact__form form {
	margin-top: 15px;
}

.rt-form__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 10px;
}

.rt-form__full {
	grid-column: 1 / -1;
}

.rt-home .rt-contact__form input,
.rt-home .rt-contact__form textarea {
	width: 100%;
	min-height: 40px;
	margin: 0;
	padding: 8px 16px;
	border: 1px solid var(--rt-border);
	border-radius: 3px;
	background: #fff;
	color: #000;
	font-family: "Poppins", sans-serif;
	font-size: 16px;
	line-height: 1.4;
}

.rt-home .rt-contact__form textarea {
	height: 124px;
	resize: vertical;
}

.rt-home .rt-form__submit {
	width: 100%;
	margin-top: 20px;
	padding: 10px;
	border: 0;
	border-radius: 4px;
	background: #fff;
	color: var(--rt-text);
	font-family: var(--rt-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 1.5px;
	cursor: pointer;
}

.rt-home .rt-form__submit:hover,
.rt-home .rt-form__submit:focus-visible {
	background: var(--rt-secondary);
	color: #000;
}

/* Contact variant used on Industries and Services: grey section, borderless white panel. */
.rt-contact--grey {
	background: #f1f1f1;
}

.rt-contact--grey .rt-contact__intro {
	border: 0;
}

.rt-form-notice {
	padding: 10px 14px;
	border-radius: 6px;
	font-size: 14px;
}

.rt-form-notice--ok {
	background: #e7f6ec;
	color: #11643a;
}

.rt-form-notice--error {
	background: #fdecec;
	color: #8a1c1c;
}

.rt-hp {
	position: absolute;
	left: -9999px;
}

/* Tablet */

@media (max-width: 1024px) {
	.rt-section__head h2,
	.rt-home .rt-testimonials .rt-section__head h2 {
		font-size: 30px;
	}

	.rt-home .rt-page-hero h1 {
		font-size: 30px;
	}

	.rt-home .rt-page-hero--compact h1 {
		font-size: 20px;
	}

	.rt-hero {
		flex-direction: column-reverse;
		align-items: center;
		padding: 0 15px;
	}

	.rt-hero__copy {
		width: 100%;
		padding: 50px;
		border-radius: 0;
	}

	.rt-home .rt-hero__title {
		font-size: 45px;
	}

	.rt-hero__media {
		width: 400px;
	}

	.rt-hero__float--union { top: 60px; left: -35px; width: 80px; }
	.rt-hero__float--docs { left: -40px; width: 60px; }
	.rt-hero__float--tick { width: 50px; }
	.rt-hero__float--course { right: -47px; width: 150px; }
	.rt-hero__float--congrats { left: -100px; width: 180px; }

	.rt-roles__grid {
		justify-content: flex-start;
		gap: 14px;
	}

	.rt-flip {
		width: 48%;
		height: 380px;
	}

	.rt-flip:nth-child(n + 5) {
		margin-top: 0;
	}

	.rt-flip__front img {
		object-fit: contain;
	}

	.rt-tasks__grid {
		gap: 28px;
	}

	.rt-task {
		width: 48%;
	}

	.rt-how__grid {
		gap: 28px;
	}

	.rt-how__icon img {
		width: 120px;
	}

	.rt-cta {
		padding-top: 60px;
	}

	.rt-cta__copy,
	.rt-cta__media {
		width: 100%;
	}

	.rt-cta__copy {
		padding: 0 0 30px;
	}

	.rt-ws__tab {
		padding: 10px;
	}

	.rt-ws__title {
		font-size: 15px;
		line-height: 1.5;
	}

	.rt-ws__icon {
		font-size: 15px;
	}

	.rt-funnel__steps,
	.rt-funnel__bars {
		justify-content: space-between;
	}

	.rt-cta__image {
		width: 335px;
	}

	.rt-funnel__steps {
		width: 59%;
		padding: 30px 0;
	}

	.rt-funnel__copy {
		width: 85%;
	}

	.rt-train__grid {
		gap: 28px;
	}

	.rt-train {
		width: 48%;
	}

	.rt-contact__intro {
		padding: 25px 20px 0;
	}

	.rt-home .rt-contact__intro h2 {
		font-size: 24px;
	}

	.rt-contact__intro p {
		font-size: 16px;
	}

	.rt-contact__form {
		padding: 25px;
	}

	.rt-home .rt-contact__form h3 {
		font-size: 22px;
	}

}

/* The live testimonial slider (Swiper) switches to 2 cards and a 10px gap below 1024px, not at it. */
@media (max-width: 1023px) {
	.rt-slider__track {
		grid-auto-columns: calc((100% - 10px) / 2);
		gap: 10px;
	}
}

/* Mobile */

@media (max-width: 767px) {
	.rt-section__head h2 {
		font-size: 28px;
	}

	.rt-page-hero {
		padding: 40px 0;
	}

	.rt-page-hero__inner {
		flex-direction: column-reverse;
	}

	.rt-page-hero__copy,
	.rt-page-hero__media {
		flex: none;
		width: 100%;
		padding: 0;
	}

	.rt-home .rt-page-hero--compact h1 {
		font-size: 18px;
	}

	.rt-hero__copy {
		padding: 20px;
	}

	.rt-hero__text {
		margin-bottom: -0.6px !important;
	}

	.rt-home .rt-roles .rt-section__head h2 {
		font-size: 30px;
	}

	.rt-home .rt-hero__title {
		font-size: 24px;
	}

	.rt-hero .rt-btn-row,
	.rt-contact__intro .rt-btn-row {
		flex-direction: column;
		gap: 8px;
	}

	.rt-hero .rt-btn,
	.rt-contact__intro .rt-btn,
	.rt-how .rt-btn {
		width: 215px;
		padding: 10px;
		font-size: 14px;
	}

	/* Hero buttons are "justified" on live: full column width. */
	.rt-hero .rt-btn {
		width: 100%;
	}

	.rt-hero__media {
		display: flex;
		justify-content: center;
	}

	.rt-hero__banner {
		width: 225px;
	}

	.rt-hero__float--union { left: 5px; width: 60px; }
	.rt-hero__float--docs { display: none; }
	.rt-hero__float--tick { right: 0; width: 50px; }
	.rt-hero__float--course { top: 60px; right: -10px; width: 115px; }
	.rt-hero__float--congrats { left: -40px; width: 150px; }

	.rt-roles {
		padding: 0;
	}

	.rt-roles__grid {
		display: none;
	}

	.rt-roles__carousel {
		display: block;
		position: relative;
		padding: 20px 0 60px;
	}

	.rt-roles__carousel .rt-slider__arrow {
		top: calc(20px + 243px);
		width: 18px;
		font-size: 30px;
	}

	.rt-roles__carousel .rt-slider__track {
		grid-auto-columns: 100%;
	}

	.rt-home .rt-roles__carousel .rt-slider__arrow,
	.rt-home .rt-roles__carousel .rt-slider__arrow:hover {
		color: var(--rt-primary);
	}

	.rt-tasks__grid {
		gap: 0 2%;
	}

	.rt-task {
		width: 49%;
		padding: 10px;
	}

	.rt-task:nth-child(n + 3) {
		margin-top: 10px;
	}

	.rt-task img {
		width: 40px;
	}

	.rt-home .rt-task h3 {
		font-size: 15px;
	}

	.rt-how__grid {
		grid-template-columns: 1fr;
	}

	.rt-how__icon img {
		width: 70px;
	}

	.rt-how .rt-center {
		display: flex;
		justify-content: center;
	}

	.rt-home .rt-cta__copy h2 {
		font-size: 28px;
		text-align: center;
	}

	.rt-cta__copy {
		align-items: center;
	}

	.rt-cta__copy .rt-btn {
		width: 225px;
		padding: 10px;
		font-size: 14px;
	}

	.rt-cta__image {
		width: 270px;
	}

	.rt-framework .rt-tabs__nav {
		gap: 10px;
	}

	.rt-framework .rt-tabs__nav button {
		padding: 10px 20px;
	}

	.rt-home .rt-workstation .rt-section__head h2 {
		font-size: 24px;
	}

	.rt-funnel__steps {
		width: 100%;
	}

	.rt-funnel__bars {
		display: none;
	}

	.rt-funnel__row {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
	}

	/* The live page uses a tighter gap in the first stage only. */
	.rt-funnel__row:first-child {
		gap: 10px;
	}

	.rt-funnel__num {
		width: 53px;
	}

	.rt-funnel__copy {
		width: 100%;
	}

	.rt-funnel__stat--inline {
		display: flex;
		width: 100%;
	}

	.rt-train {
		width: 100%;
	}

	.rt-ai {
		flex-direction: column;
	}

	.rt-workstation .rt-section__head p {
		font-size: 15px;
	}

	.rt-ws {
		grid-template-columns: 1fr;
	}

	.rt-ws__tab,
	.rt-ws__panel {
		grid-column: 1;
		grid-row: auto;
	}

	.rt-slider__track {
		grid-auto-columns: 100%;
	}

	.rt-testimonial blockquote {
		min-height: 170px;
	}

	.rt-testimonials .rt-slider__arrow {
		display: none;
	}

	.rt-home .rt-hero .rt-btn--outline,
	.rt-home .rt-contact__intro .rt-btn--outline {
		padding: 10px 8px;
	}

	.rt-faq__grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.rt-faq__col {
		padding: 0;
	}

	.rt-contact__card {
		flex-direction: column;
	}

	.rt-contact__intro,
	.rt-contact__form {
		width: 100%;
	}

	.rt-contact__intro {
		padding: 30px 20px;
		border-right: 1px solid var(--rt-border);
		border-bottom: 0;
		border-radius: 30px 30px 0 0;
	}

	.rt-home .rt-contact__intro h2 {
		font-size: 22px;
	}

	.rt-contact__intro p {
		font-size: 14px;
	}

	.rt-contact__image {
		display: none;
	}

	.rt-contact__form {
		border-radius: 0 0 30px 30px;
	}

	.rt-form__grid {
		grid-template-columns: 1fr;
	}
}

/*
 * Entrance animations (Elementor's fadeIn / fadeInUp: 1.25s, triggered on scroll).
 * Hidden only once JS has flagged the page, so content never stays invisible.
 */
.rt-js .rt-home [data-rt-anim]:not(.is-in) {
	opacity: 0;
}

.rt-home [data-rt-anim].is-in {
	animation-duration: 1.25s;
	animation-name: rt-fade-in-up;
}

.rt-home [data-rt-anim="fadeIn"].is-in {
	animation-name: rt-fade-in;
}

@keyframes rt-fade-in-up {
	from {
		opacity: 0;
		transform: translate3d(0, 100%, 0);
	}

	to {
		opacity: 1;
		transform: none;
	}
}

@keyframes rt-fade-in {
	from { opacity: 0; }
	to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
	.rt-home [data-rt-anim].is-in {
		animation: none;
	}

	.rt-funnel__bar {
		transition: none;
	}

	.rt-hero__banner,
	.rt-hero__float,
	.rt-marquee__track {
		animation: none;
	}

	.rt-flip__inner {
		transition: none;
	}

	.rt-highlight path {
		animation: none;
		stroke-dasharray: none;
	}
}
