/* TFA widgets — ported from tfascoring.com home */
:root {
	--tfa-brand: #001C57;
	--tfa-accent: #F5A800;
	--tfa-heading: #313e5b;
	--tfa-muted: #6c757d;
}

.elementor-widget-tfa-feature-orbit,
.elementor-widget-tfa-icon-box-grid,
.elementor-widget-tfa-use-cases,
.elementor-widget-tfa-info-banner,
.elementor-widget-tfa-process,
.elementor-widget-tfa-gauge,
.elementor-widget-tfa-calculator {
	--tfa-icon-primary: #001C57;
	--tfa-icon-secondary: #F5A800;
	--tfa-icon-size: 48px;
}

/* Duo-tone icon */
.tfa-icon { display: inline-flex; flex-shrink: 0; width: var(--tfa-icon-size); height: var(--tfa-icon-size); }
.tfa-icon svg { width: 100%; height: 100%; display: block; }
.tfa-icon .fill-primary { fill: var(--tfa-icon-primary); }
.tfa-icon .fill-secondary { fill: var(--tfa-icon-secondary); }
.tfa-icon--custom { align-items: center; justify-content: center; font-size: var(--tfa-icon-size); color: var(--tfa-icon-primary); }
.tfa-icon--custom svg { fill: currentColor; }

/* Shared grid */
.tfa-grid {
	display: grid;
	grid-template-columns: repeat(var(--tfa-cols, 3), minmax(0, 1fr));
	gap: var(--tfa-gap, var(--tfa-gap-default, 1.5rem));
}

/* ---------- Feature orbit ---------- */
.elementor-widget-tfa-feature-orbit { --tfa-orbit-size: 500px; --tfa-node-size: 65px; width: 100%; }
.tfa-orbit {
	--tfa-ring-color: #c4d6f9;
	position: relative;
	--tfa-label-w: 150px;
	width: min(var(--tfa-orbit-size, 500px), calc(100% - var(--tfa-label-w)));
	aspect-ratio: 1;
	margin: calc(var(--tfa-node-size) / 2 + 8px) auto calc(var(--tfa-node-size) / 2 + 72px);
}
.tfa-orbit__ring,
.tfa-orbit__inner { position: absolute; border-radius: 50%; }
.tfa-orbit__ring { inset: 0; border: 2px dotted var(--tfa-ring-color); animation: tfa-spin 25s linear infinite reverse; }
.tfa-orbit__inner { inset: 23%; border: 1px solid var(--tfa-ring-color); animation: tfa-spin 25s linear infinite; }
.tfa-orbit__center {
	position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
	width: 30%; z-index: 2; display: flex; align-items: center; justify-content: center;
}
.tfa-orbit__center img { width: 100%; height: auto; }
.tfa-orbit__items { list-style: none; margin: 0; padding: 0; }
.tfa-orbit__item {
	position: absolute; z-index: 3;
	display: flex; flex-direction: column; align-items: center;
	width: 0; /* anchor on the ring point, children overflow centered */
	transform: translateY(calc(var(--tfa-node-size) / -2));
}
.tfa-orbit__node {
	display: flex; align-items: center; justify-content: center;
	width: var(--tfa-node-size); height: var(--tfa-node-size); flex-shrink: 0;
	border-radius: 50%; background: #fff;
	box-shadow: 0 8px 38px rgba(0, 0, 0, .1);
}
.tfa-orbit__node .tfa-icon { width: 60%; height: 60%; }
.tfa-orbit__label {
	margin-top: 5px; width: var(--tfa-label-w); text-align: center;
	font-size: .875rem; font-weight: 600; line-height: 1.2; color: var(--tfa-heading);
}
/* Height from width without relying on aspect-ratio alone (older Safari, collapsed parents). */
.tfa-orbit::before { content: ""; display: block; padding-top: 100%; }
@keyframes tfa-spin { to { transform: rotate(360deg); } }
@media (max-width: 767px) {
	.tfa-orbit { --tfa-label-w: 90px; margin-bottom: calc(var(--tfa-node-size) / 2 + 40px); }
	.tfa-orbit__label { font-size: .75rem; }
}
@media (prefers-reduced-motion: reduce) {
	.tfa-orbit__ring, .tfa-orbit__inner { animation: none; }
}

/* ---------- Icon box grid ---------- */
.tfa-ibox__title { margin: 0 0 .5rem; font-size: 1.25rem; font-weight: 700; color: var(--tfa-heading); line-height: 1.35; }
.tfa-ibox__text { margin: 0; color: var(--tfa-muted); line-height: 1.6; }

.tfa-ibox-grid--card .tfa-ibox,
.tfa-ibox-grid--card-inline .tfa-ibox {
	background: #fff; border-radius: .8rem; padding: 2.5rem 2rem;
	box-shadow: 0 .25rem 1.75rem rgba(30, 34, 40, .07);
}
.tfa-ibox-grid--card .tfa-ibox { text-align: center; }
.tfa-ibox-grid--card .tfa-icon { margin-bottom: 1rem; }
.tfa-ibox-grid--card-inline .tfa-ibox { padding: 2rem; }
.tfa-ibox__head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.tfa-ibox__head .tfa-ibox__title { margin: 0; }
.tfa-ibox-grid--side { --tfa-gap-default: 2.5rem; }
.tfa-ibox-grid--side .tfa-ibox { display: flex; gap: 1.25rem; align-items: flex-start; }
.tfa-ibox-grid--side .tfa-ibox__title { margin-bottom: .25rem; }

/* ---------- Use cases ---------- */
.tfa-cases { --tfa-gap-default: 2rem; }
.tfa-case {
	display: flex; flex-direction: column; height: 100%;
	background: #fff; border-radius: .8rem; padding: 2rem;
	border: 1px solid rgba(164, 174, 198, .2);
	box-shadow: 0 4px 16px rgba(0, 0, 0, .08);
}
.tfa-case__head { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1rem; }
.tfa-case__title { margin: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.4; color: var(--tfa-heading); }
.tfa-case__text { flex-grow: 1; margin: 0 0 1.5rem; color: var(--tfa-muted); line-height: 1.7; }
.tfa-case__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: auto; }
.tfa-case__metric {
	padding: 1rem; text-align: center; border-radius: .5rem;
	background: linear-gradient(135deg, rgba(0, 28, 87, .04), rgba(245, 168, 0, .06));
	border: 1px solid rgba(164, 174, 198, .15);
}
.tfa-case__metric-value { font-size: 1.75rem; font-weight: 700; color: var(--tfa-brand); margin-bottom: .25rem; }
.tfa-case__metric-label { font-size: .875rem; color: var(--tfa-muted); text-transform: uppercase; letter-spacing: .05em; }

/* ---------- Info banner ---------- */
.tfa-banner {
	--tfa-accent-a: #001C57;
	--tfa-accent-b: #F5A800;
	position: relative; overflow: hidden;
	background: #fff; border: 2px solid #e5e7eb; border-radius: 12px;
	padding: 1.5rem 2rem 1.5rem calc(2rem + 16px);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1), 0 2px 4px -1px rgba(0, 0, 0, .06);
}
.tfa-banner::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
	background: linear-gradient(180deg, var(--tfa-accent-a), var(--tfa-accent-b));
}
.tfa-banner__text { margin: 0; color: #374151; font-weight: 500; font-size: 1.1rem; line-height: 1.6; }

/* Page particles canvas (injected by tfa-particles.js) */
#tfa-particles { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: -1; }

/* ---------- Orbit: sub label + text center ---------- */
.tfa-orbit__sublabel { margin-top: 2px; width: var(--tfa-label-w); text-align: center; font-size: .75rem; line-height: 1.3; color: var(--tfa-muted); }
.tfa-orbit__center--text {
	aspect-ratio: 1; border-radius: 50%; background: #fff;
	box-shadow: 0 12px 40px rgba(0, 28, 87, .15);
	text-align: center; padding: 8%;
	font-family: var(--tfa-font-heading, inherit); font-weight: 700; font-size: clamp(.8rem, 2.2vw, 1.25rem);
	line-height: 1.2; color: var(--tfa-brand);
}
@media (max-width: 767px) { .tfa-orbit__sublabel { display: none; } }

/* ---------- Icon box: step numbers ---------- */
.tfa-ibox-grid--numbered .tfa-ibox { position: relative; }
.tfa-ibox__num {
	position: absolute; top: 1.25rem; right: 1.5rem;
	font-family: var(--tfa-font-heading, inherit); font-size: 2.5rem; font-weight: 700; line-height: 1;
	color: rgba(0, 28, 87, .12);
}
.tfa-ibox-grid--side.tfa-ibox-grid--numbered .tfa-ibox__num { position: static; font-size: 1.5rem; color: var(--tfa-brand); }

/* ---------- Use cases: text metrics ---------- */
.tfa-cases--text .tfa-case__metrics { grid-template-columns: 1fr; gap: .5rem; }
.tfa-cases--text .tfa-case__metric { display: flex; flex-direction: column-reverse; text-align: left; padding: .75rem 1rem; }
.tfa-cases--text .tfa-case__metric-value { font-size: 1rem; line-height: 1.4; margin: 0; }
.tfa-cases--text .tfa-case__metric-label { font-size: .75rem; margin-bottom: .15rem; }

/* ---------- Info banner: title + link ---------- */
.tfa-banner__title { font-size: 1.35rem; font-weight: 700; color: var(--tfa-heading); margin-bottom: .5rem; }
.tfa-banner__link { display: inline-block; margin-top: .75rem; font-weight: 600; color: var(--tfa-brand); text-decoration: none; }
.tfa-banner__link:hover { text-decoration: underline; }

/* ---------- Keywords ---------- */
.tfa-keywords { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.tfa-keywords__item {
	padding: .45rem 1rem; border-radius: 999px;
	background: rgba(0, 28, 87, .05); border: 1px solid rgba(0, 28, 87, .14);
	color: var(--tfa-brand); font-weight: 500; font-size: .95rem; line-height: 1.3;
}

/* ---------- Check list ---------- */
.elementor-widget-tfa-check-list { --tfa-tick: #001C57; }
.tfa-checks { list-style: none; margin: 0; padding: 0; --tfa-gap-default: .9rem; }
.tfa-checks__item {
	position: relative; padding-left: 2.1rem; margin: 0;
	color: #343f52; font-size: 1.05rem; line-height: 1.6;
}
.tfa-checks__item::before {
	content: ""; position: absolute; left: 0; top: .15em;
	width: 1.4rem; height: 1.4rem; border-radius: 50%;
	background: var(--tfa-tick) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M4 8.5l2.6 2.5L12 5.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.tfa-checks__item strong { color: var(--tfa-heading); font-weight: 700; }
.tfa-checks--boxed .tfa-checks__item {
	background: #fff; border-radius: .8rem; padding: 1.1rem 1.25rem 1.1rem 3.4rem;
	box-shadow: 0 .25rem 1.75rem rgba(30, 34, 40, .07);
}
.tfa-checks--boxed .tfa-checks__item::before { left: 1.25rem; top: 1.25rem; }

/* ---------- Site footer (Elementor template) ---------- */
.tfa-site-footer { position: relative; z-index: 1; }
.tfa-footer-links ul { list-style: none; margin: 0; padding: 0; }
.tfa-footer-links li { margin: 0 0 .55rem; }
.tfa-footer-links a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.tfa-footer-links a:hover { color: #F5A800; }

/* ---------- Orbit: two rings riding the inner circle ---------- */
.tfa-orbit { --tfa-orbit-dot-1: #7D93C4; --tfa-orbit-dot-2: #001C57; }
.tfa-orbit__dot {
	position: absolute; width: 14px; height: 14px; border-radius: 50%;
	background: #fff; border: 3px solid var(--tfa-orbit-dot-1);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .9);
	/* Positions below are points on the circle line (radius 50%), opposite each other. */
	transform: translate(-50%, -50%);
}
.tfa-orbit__dot--1 { left: 1.5%; top: 38%; }
.tfa-orbit__dot--2 { left: 98.5%; top: 62%; border-color: var(--tfa-orbit-dot-2); }

/* ---------- Decoration: dot grid + soft circle behind cards ---------- */
.elementor-widget-tfa-icon-box-grid,
.elementor-widget-tfa-use-cases,
.elementor-widget-tfa-steps {
	--tfa-decor-dot: rgba(0, 28, 87, .35);
	--tfa-decor-circle: rgba(0, 28, 87, .08);
}
.tfa-decor { position: relative; isolation: isolate; }
.tfa-decor > .tfa-grid,
.e-con.tfa-decor > .elementor-element { position: relative; z-index: 1; }
.tfa-decor--dots::before,
.tfa-decor--circle::after { content: ""; position: absolute; z-index: 0; pointer-events: none; }
.tfa-decor--dots::before {
	top: -2rem; left: -2.5rem; width: 120px; height: 136px;
	background-image: radial-gradient(var(--tfa-decor-dot, rgba(0, 28, 87, .35)) 2px, transparent 2.6px);
	background-size: 15px 15px;
}
.tfa-decor--circle::after {
	right: -2.2rem; bottom: -2rem; width: 110px; height: 110px; border-radius: 50%;
	background: var(--tfa-decor-circle, rgba(0, 28, 87, .08));
}
@media (max-width: 767px) {
	/* Keep the shapes inside the viewport on phones. */
	.tfa-decor--dots::before { left: -.75rem; top: -1rem; width: 90px; height: 90px; }
	.tfa-decor--circle::after { right: -.75rem; bottom: -1rem; width: 80px; height: 80px; }
}

/* Container decoration (CSS classes "tfa-decor tfa-decor--dots tfa-decor--circle" on an Elementor container) */
.e-con.tfa-decor { position: relative; overflow: visible; }
.e-con.tfa-decor--dots::before { top: -1.5rem; left: -1.75rem; }
.e-con.tfa-decor--circle::after { right: -1.5rem; bottom: -1.75rem; width: 130px; height: 130px; }
@media (max-width: 767px) {
	.e-con.tfa-decor--dots::before { left: -.5rem; top: -1rem; width: 90px; height: 90px; }
	.e-con.tfa-decor--circle::after { right: -.5rem; bottom: -1rem; width: 84px; height: 84px; }
}

/* ---------- Process line (About: product cards) ---------- */
.elementor-widget-tfa-process { --tfa-process-size: 104px; --tfa-process-line: rgba(0, 28, 87, .22); }
.tfa-process { --tfa-gap-default: 2.5rem; text-align: center; }
.tfa-process__item { position: relative; display: flex; flex-direction: column; align-items: center; }
.tfa-process__media {
	position: relative; z-index: 1;
	display: flex; align-items: center; justify-content: center;
	width: var(--tfa-process-size); height: var(--tfa-process-size); margin-bottom: 1.25rem;
	border-radius: 50%; background: #fff;
	box-shadow: 0 0 0 8px #fff, 0 10px 32px rgba(0, 28, 87, .14);
}
.tfa-process__media img { width: 72%; height: 72%; object-fit: contain; }
.tfa-process--line .tfa-process__item:not(:last-child)::after {
	content: ""; position: absolute; top: calc(var(--tfa-process-size) / 2);
	left: calc(50% + var(--tfa-process-size) / 2 + 12px); width: calc(100% - var(--tfa-process-size) - 24px + var(--tfa-gap, var(--tfa-gap-default)));
	border-top: 2px dashed var(--tfa-process-line);
}
.tfa-process__title { margin: 0 0 .5rem; font-size: 1.35rem; font-weight: 700; color: var(--tfa-brand); line-height: 1.3; }
.tfa-process__text { margin: 0 0 1rem; color: var(--tfa-muted); line-height: 1.65; }
.tfa-process__link { margin-top: auto; font-weight: 600; color: var(--tfa-brand); text-decoration: none; border-bottom: 2px solid var(--tfa-accent); padding-bottom: 2px; }
.tfa-process__link:hover { color: #00123A; border-color: #DB9600; }
@media (max-width: 1024px) {
	/* Line only makes sense when all items sit on one row. */
	.tfa-process--line .tfa-process__item::after { display: none; }
}

/* ---------- Step cards (About: 3 working steps) ---------- */
.tfa-steps { list-style: none; margin: 0; padding: 0; grid-template-columns: 1fr; --tfa-gap-default: 1.5rem; }
.tfa-step {
	display: flex; gap: 1.25rem; align-items: flex-start;
	background: #fff; border-radius: .8rem; padding: 1.75rem 2rem;
	box-shadow: 0 .25rem 1.75rem rgba(30, 34, 40, .08);
}
.tfa-step__num {
	flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
	width: 3.25rem; height: 3.25rem; border-radius: 50%;
	background: #E3E9F5; color: var(--tfa-brand);
	font-family: var(--tfa-font-heading, inherit); font-weight: 700; font-size: 1.1rem;
}
.tfa-step__title { margin: 0 0 .35rem; font-size: 1.2rem; font-weight: 700; color: var(--tfa-heading); line-height: 1.35; }
.tfa-step__text { margin: 0; color: var(--tfa-muted); line-height: 1.6; }
@media (min-width: 1025px) {
	.tfa-steps--stagger .tfa-step:nth-child(3n+1) { margin-right: 1.5rem; }
	.tfa-steps--stagger .tfa-step:nth-child(3n+2) { margin-left: 3.25rem; }
	.tfa-steps--stagger .tfa-step:nth-child(3n) { margin: 0 1.5rem; }
}

/* ---------- Info table (About: company profile) ---------- */
.tfa-info { margin: 0; }
.tfa-info__row {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1rem;
	padding: .85rem 0; border-bottom: 1px solid rgba(0, 28, 87, .1);
}
.tfa-info__row:last-child { border-bottom: 0; }
.tfa-info__label { font-weight: 700; color: var(--tfa-brand); }
.tfa-info__value { margin: 0; color: #343f52; }
.tfa-info__value a { color: var(--tfa-brand); text-decoration: none; border-bottom: 1px solid rgba(0, 28, 87, .3); }
@media (max-width: 767px) {
	.tfa-info__row { grid-template-columns: 1fr; gap: .25rem; }
}

/* ---------- Team cards ---------- */
.elementor-widget-tfa-team { --tfa-team-max: 460px; }
.tfa-team { --tfa-gap-default: 2rem; justify-content: center; grid-template-columns: repeat(var(--tfa-cols, 2), minmax(0, var(--tfa-team-max))); }
.tfa-member {
	background: #fff; border-radius: .8rem; padding: 2rem; text-align: center;
	box-shadow: 0 .25rem 1.75rem rgba(30, 34, 40, .09);
	transition: transform .25s ease, box-shadow .25s ease;
}
.tfa-member:hover { transform: translateY(-.25rem); box-shadow: 0 .5rem 2rem rgba(0, 28, 87, .14); }
.tfa-member__photo { margin: 0 auto 1.25rem; width: 220px; max-width: 100%; aspect-ratio: 1; border-radius: .6rem; overflow: hidden; background: #EEF2FA; }
.tfa-member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.tfa-member__name { margin: 0 0 .25rem; font-size: 1.3rem; font-weight: 700; color: var(--tfa-heading); }
.tfa-member__role { margin-bottom: .75rem; font-weight: 600; color: var(--tfa-brand); }
.tfa-member__bio { margin: 0; text-align: left; color: var(--tfa-muted); line-height: 1.65; }

/* ---------- Partner logos ---------- */
.elementor-widget-tfa-logos { --tfa-logo-h: 64px; }
.tfa-logos { --tfa-gap-default: 1.5rem; }
.tfa-logo {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
	padding: 2rem 1.5rem; background: #fff; border-radius: .8rem; text-decoration: none;
	border: 1px solid rgba(0, 28, 87, .08); box-shadow: 0 .25rem 1.5rem rgba(30, 34, 40, .06);
	transition: transform .25s ease, box-shadow .25s ease;
}
a.tfa-logo:hover { transform: translateY(-.2rem); box-shadow: 0 .5rem 2rem rgba(0, 28, 87, .12); }
.tfa-logo__media { display: flex; align-items: center; justify-content: center; height: var(--tfa-logo-h); width: 100%; }
.tfa-logo__media img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.tfa-logo__name { font-family: var(--tfa-font-heading, inherit); font-size: 1.5rem; font-weight: 700; color: var(--tfa-brand); }
.tfa-logo__role {
	padding: .3rem .85rem; border-radius: 999px; background: rgba(0, 28, 87, .06);
	color: var(--tfa-brand); font-size: .85rem; font-weight: 600; text-align: center;
}
.tfa-logos--gray .tfa-logo__media img { filter: grayscale(1); opacity: .7; transition: filter .25s ease, opacity .25s ease; }
.tfa-logos--gray .tfa-logo:hover .tfa-logo__media img { filter: none; opacity: 1; }

/* ---------- Icon box: badge + button ---------- */
.tfa-ibox-grid--card .tfa-ibox { display: flex; flex-direction: column; align-items: center; }
.tfa-ibox__badge {
	display: inline-block; margin-bottom: .5rem; padding: .2rem .7rem; border-radius: 999px;
	background: rgba(245, 168, 0, .16); color: #8a5d00; font-size: .75rem; font-weight: 700; letter-spacing: .02em;
}
.tfa-ibox__link {
	display: inline-block; margin-top: auto; padding: .5rem 1.15rem; border-radius: 999px;
	border: 2px solid var(--tfa-brand); color: var(--tfa-brand); font-weight: 600; font-size: .9rem; text-decoration: none;
	transition: background .2s ease, color .2s ease;
}
.tfa-ibox__text + .tfa-ibox__link { margin-top: 1.25rem; }
.tfa-ibox__link:hover { background: var(--tfa-brand); color: #fff; }
.tfa-ibox-grid--card .tfa-ibox { transition: transform .25s ease, box-shadow .25s ease; }
.tfa-ibox-grid--card .tfa-ibox:hover { transform: translateY(-.25rem); box-shadow: 0 .5rem 2rem rgba(0, 28, 87, .12); }

/* ---------- Score gauge (solution page: OEE demo) ---------- */
.elementor-widget-tfa-gauge { --tfa-gauge-color: #001C57; --tfa-gauge-track: #e5e7eb; --tfa-icon-size: 40px; }
.tfa-gauge-card {
	background: #fff; border-radius: 1rem; padding: 3rem 2.5rem;
	box-shadow: 0 1rem 3rem rgba(0, 28, 87, .12);
}
.tfa-gauge-card__head { position: relative; display: flex; flex-direction: column; align-items: center; }
.tfa-gauge { position: relative; width: min(300px, 100%); aspect-ratio: 1; }
.tfa-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.tfa-gauge circle { fill: none; stroke-width: 16; }
.tfa-gauge__track { stroke: var(--tfa-gauge-track); }
.tfa-gauge__fill {
	stroke: var(--tfa-gauge-color); stroke-linecap: round;
	stroke-dasharray: var(--tfa-gauge-circ); stroke-dashoffset: var(--tfa-gauge-offset);
	animation: tfa-gauge-fill 1.8s cubic-bezier(.22, .9, .3, 1) both;
}
@keyframes tfa-gauge-fill { from { stroke-dashoffset: var(--tfa-gauge-circ); } }
.tfa-gauge__center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tfa-gauge__value { font-family: var(--tfa-font-heading, inherit); font-size: clamp(3rem, 8vw, 4.5rem); font-weight: 700; line-height: 1; color: var(--tfa-brand); }
.tfa-gauge__label {
	margin-top: .6rem; padding: .25rem 1rem; border-radius: 999px;
	background: rgba(0, 28, 87, .08); color: var(--tfa-brand); font-weight: 700;
}
.tfa-gauge__caption { margin-top: 1.25rem; font-family: var(--tfa-font-heading, inherit); font-size: 1.3rem; font-weight: 700; color: var(--tfa-heading); text-align: center; }
.tfa-gauge__note {
	position: absolute; top: 0; right: 0; z-index: 1;
	padding: .35rem .9rem; border-radius: 999px; background: #F5A800; color: #001C57;
	font-size: .8rem; font-weight: 700; font-style: italic; box-shadow: 0 4px 12px rgba(245, 168, 0, .35);
}
.tfa-gauge-card__title { margin: 2.5rem 0 1.5rem; text-align: center; font-size: 1.35rem; font-weight: 700; color: var(--tfa-heading); }
.tfa-factors { --tfa-gap-default: 1rem; }
.tfa-factor {
	display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem;
	background: #F7F9FD; border: 1px solid rgba(0, 28, 87, .08); border-radius: .75rem;
	transition: transform .25s ease, box-shadow .25s ease;
}
.tfa-factor:hover { transform: translateY(-.2rem); box-shadow: 0 .5rem 1.5rem rgba(0, 28, 87, .1); background: #fff; }
.tfa-factor__body { flex: 1; min-width: 0; }
.tfa-factor__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .35rem .75rem; margin-bottom: .3rem; }
.tfa-factor__title { margin: 0; font-size: 1.02rem; font-weight: 700; color: var(--tfa-heading); line-height: 1.35; }
.tfa-factor__value {
	padding: .15rem .65rem; border-radius: 999px; background: var(--tfa-brand); color: #fff;
	font-size: .82rem; font-weight: 700; white-space: nowrap;
}
.tfa-factor__text { margin: 0; color: var(--tfa-muted); font-size: .93rem; line-height: 1.55; }
.tfa-gauge-card__formula {
	margin: 1.75rem 0 0; padding: 1rem 1.25rem; border-radius: .75rem; text-align: center;
	background: rgba(0, 28, 87, .05); border-left: 4px solid #F5A800;
	font-weight: 600; color: var(--tfa-brand);
}
@media (max-width: 767px) {
	.tfa-gauge-card { padding: 2rem 1.25rem; }
	.tfa-gauge__note { position: static; margin-bottom: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .tfa-gauge__fill { animation: none; } }

/* ---------- Savings calculator ---------- */
.tfa-calc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.tfa-calc__card { background: #fff; border-radius: 1rem; padding: 2rem; box-shadow: 0 1rem 3rem rgba(0, 28, 87, .1); }
.tfa-calc__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.tfa-calc__icon { display: inline-flex; padding: .75rem; border-radius: 50%; background: rgba(0, 28, 87, .06); }
.tfa-calc__title { margin: 0 0 .15rem; font-size: 1.35rem; font-weight: 700; color: var(--tfa-heading); }
.tfa-calc__sub { margin: 0; color: var(--tfa-muted); font-size: .95rem; }
.tfa-calc__field { display: block; margin-bottom: 1.1rem; }
.tfa-calc__label { display: block; margin-bottom: .4rem; font-weight: 600; font-size: .95rem; color: var(--tfa-heading); }
.tfa-calc__input {
	width: 100%; padding: .8rem 1rem; border: 1px solid rgba(0, 28, 87, .18); border-radius: .6rem;
	background: #fff; font: inherit; font-size: 1rem; color: var(--tfa-heading);
}
.tfa-calc__input:focus { outline: none; border-color: var(--tfa-brand); box-shadow: 0 0 0 3px rgba(0, 28, 87, .12); }
.tfa-calc__range {
	--tfa-range: 40%;
	width: 100%; height: 6px; margin: .75rem 0 .35rem; border-radius: 999px; -webkit-appearance: none; appearance: none;
	background: linear-gradient(90deg, var(--tfa-brand) var(--tfa-range), #e5e7eb var(--tfa-range));
}
.tfa-calc__range::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--tfa-brand); cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.tfa-calc__range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--tfa-brand); cursor: pointer; }
.tfa-calc__scale { display: flex; justify-content: space-between; align-items: center; color: var(--tfa-muted); }
.tfa-calc__range-value { font-weight: 700; color: var(--tfa-brand); font-size: 1.05rem; }
.tfa-calc__check { display: flex; gap: .6rem; align-items: flex-start; margin: .25rem 0 1.5rem; color: var(--tfa-heading); font-size: .95rem; cursor: pointer; }
.tfa-calc__check input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--tfa-brand); }
.tfa-calc__button, .tfa-calc__cta {
	display: block; width: 100%; padding: .95rem 1.5rem; border: 0; border-radius: 999px; cursor: pointer;
	background: #F5A800; color: #001C57; font: inherit; font-weight: 700; font-size: 1rem; text-align: center; text-decoration: none;
	transition: background .2s ease;
}
.tfa-calc__button:hover, .tfa-calc__cta:hover { background: #DB9600; color: #001C57; }
.tfa-calc__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.tfa-calc__result {
	display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.1rem; border-radius: .75rem;
	background: #F7F9FD; border: 1px solid rgba(0, 28, 87, .08);
}
.tfa-calc__result--wide { grid-column: 1 / -1; background: linear-gradient(135deg, #001C57, #00123A); border: 0; }
.tfa-calc__result-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--tfa-muted); }
.tfa-calc__result-value { font-family: var(--tfa-font-heading, inherit); font-size: 1.25rem; font-weight: 700; color: var(--tfa-brand); line-height: 1.3; }
.tfa-calc__result--wide .tfa-calc__result-label { color: rgba(255, 255, 255, .7); }
.tfa-calc__result--wide .tfa-calc__result-value { color: #F5A800; font-size: 1.9rem; }
.tfa-calc__note { margin: 1.25rem 0; font-size: .85rem; font-style: italic; color: var(--tfa-muted); line-height: 1.55; }
.tfa-calc .tfa-calc__cta { opacity: .5; pointer-events: none; }
.tfa-calc.is-calculated .tfa-calc__cta { opacity: 1; pointer-events: auto; }
@media (max-width: 1024px) { .tfa-calc { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
	.tfa-calc__card { padding: 1.5rem 1.25rem; }
	.tfa-calc__grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.tfa-faq { display: flex; flex-direction: column; gap: .9rem; }
.tfa-faq__item { background: #fff; border-radius: .75rem; border: 1px solid rgba(0, 28, 87, .1); box-shadow: 0 .25rem 1rem rgba(30, 34, 40, .05); }
.tfa-faq__q {
	position: relative; list-style: none; cursor: pointer; padding: 1.15rem 3.5rem 1.15rem 1.5rem;
	font-weight: 700; font-size: 1.05rem; color: var(--tfa-heading);
}
.tfa-faq__q::-webkit-details-marker { display: none; }
.tfa-faq__q::after {
	content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
	width: 1.75rem; height: 1.75rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
	background: rgba(0, 28, 87, .07); color: var(--tfa-brand); font-size: 1.2rem; font-weight: 600;
}
.tfa-faq__item[open] .tfa-faq__q::after { content: "−"; background: var(--tfa-brand); color: #fff; }
.tfa-faq__a { padding: 0 1.5rem 1.25rem; color: var(--tfa-muted); line-height: 1.7; }
.tfa-faq__a p { margin: 0 0 .5rem; }
.tfa-keywords-center .tfa-keywords { justify-content: center; }

/* ---------- Solution pages: stats, levels, feature panels, data flow ---------- */
.elementor-widget-tfa-stats,
.elementor-widget-tfa-feature-panel {
	--tfa-icon-primary: #001C57;
	--tfa-icon-secondary: #F5A800;
	--tfa-icon-size: 48px;
	--tfa-tick: #001C57;
}
.tfa-stat {
	display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%;
	background: #fff; border-radius: .8rem; padding: 2.25rem 1.5rem 2rem;
	box-shadow: 0 .25rem 1.75rem rgba(30, 34, 40, .08);
	transition: transform .25s ease, box-shadow .25s ease;
}
.tfa-stat:hover { transform: translateY(-.25rem); box-shadow: 0 .5rem 2rem rgba(0, 28, 87, .12); }
.tfa-stat .tfa-icon { margin-bottom: 1rem; }
.tfa-stat__value {
	font-family: var(--tfa-font-heading, inherit); font-weight: 700; font-size: 1.65rem; line-height: 1.25;
	color: var(--tfa-brand); margin-bottom: .4rem;
}
.tfa-stat__label { margin: 0; color: var(--tfa-muted); line-height: 1.55; }

.tfa-level {
	--lv: #001C57; --lv-ink: #fff;
	display: flex; flex-direction: column; height: 100%;
	background: #fff; border-radius: .8rem; padding: 1.75rem 1.75rem 2rem;
	border-top: 5px solid var(--lv); box-shadow: 0 .25rem 1.75rem rgba(30, 34, 40, .08);
}
.tfa-level--2 { --lv: #2B4E9B; }
.tfa-level--3 { --lv: #6F8CC8; }
.tfa-level--4 { --lv: #B9C8E6; --lv-ink: #001C57; }
.tfa-level__top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.1rem; }
.tfa-level__tag {
	display: inline-block; padding: .3rem .85rem; border-radius: 999px; background: var(--lv); color: var(--lv-ink);
	font-weight: 700; font-size: .85rem; white-space: nowrap;
}
.tfa-level__meter { display: inline-flex; gap: 4px; }
.tfa-level__meter i { width: 14px; height: 6px; border-radius: 3px; background: #E3E9F5; }
.tfa-level__meter i.is-on { background: var(--lv); }
.tfa-level__title { margin: 0 0 .5rem; font-size: 1.2rem; font-weight: 700; color: var(--tfa-heading); line-height: 1.35; }
.tfa-level__text { margin: 0; color: var(--tfa-muted); line-height: 1.6; }

.tfa-fpanel {
	display: flex; gap: 1.25rem; align-items: flex-start; height: 100%;
	border-radius: .8rem; padding: 2.25rem 2.25rem 2.5rem;
	background: #fff; box-shadow: 0 .25rem 1.75rem rgba(30, 34, 40, .08);
}
.tfa-fpanel--navy { background: #EEF2FA; box-shadow: none; }
.tfa-fpanel--accent { background: #FFF6E0; box-shadow: none; --tfa-tick: #C98A00; }
.tfa-fpanel__body { flex: 1; min-width: 0; }
.tfa-fpanel__title { margin: .35rem 0 .75rem; font-size: 1.5rem; font-weight: 700; color: var(--tfa-brand); line-height: 1.3; }
.tfa-fpanel__sub { margin: -.35rem 0 1rem; color: var(--tfa-muted); line-height: 1.6; }
.tfa-fpanel__group + .tfa-fpanel__group { margin-top: 1.5rem; }
.tfa-fpanel__group-title { margin: 0 0 .75rem; font-size: 1.1rem; font-weight: 700; color: var(--tfa-heading); }
.tfa-fpanel__list { display: grid; gap: .65rem; }
.tfa-fpanel__list .tfa-checks__item { font-size: 1rem; }
@media (max-width: 767px) {
	.tfa-fpanel { flex-direction: column; padding: 1.75rem 1.5rem; }
}

.tfa-flow { display: flex; flex-direction: column; gap: .75rem; }
.tfa-flow__head,
.tfa-flow__row { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr); gap: 1rem; align-items: center; }
.tfa-flow__head { padding: 0 1.5rem; color: #8a94a8; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.tfa-flow__head span:first-child { grid-column: 2; }
.tfa-flow__row {
	background: #fff; border-radius: .8rem; padding: 1.1rem 1.5rem;
	box-shadow: 0 .25rem 1.25rem rgba(30, 34, 40, .07);
}
.tfa-flow__step {
	display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
	background: #E3E9F5; color: var(--tfa-brand); font-family: var(--tfa-font-heading, inherit); font-weight: 700;
}
.tfa-flow__source { font-weight: 700; color: var(--tfa-brand); }
.tfa-flow__data { color: var(--tfa-muted); position: relative; padding-right: 2rem; }
.tfa-flow__data::after {
	content: "→"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
	color: #F5A800; font-weight: 700; font-size: 1.25rem;
}
.tfa-flow__target {
	justify-self: start; padding: .4rem .9rem; border-radius: 999px;
	background: rgba(245, 168, 0, .14); color: #6b4900; font-weight: 600; font-size: .95rem;
}
@media (max-width: 767px) {
	.tfa-flow__head { display: none; }
	.tfa-flow__row { grid-template-columns: 2.5rem minmax(0, 1fr); row-gap: .4rem; padding: 1rem 1.1rem; }
	.tfa-flow__step { grid-row: span 3; align-self: start; }
	.tfa-flow__data { padding-right: 0; }
	.tfa-flow__data::after { display: none; }
	.tfa-flow__target::before { content: "→ "; }
}

/* ---------- Industry pages: numbered process circles, linked check items ---------- */
.tfa-process--numbers { --tfa-process-size: 72px; }
.tfa-process--numbers .tfa-process__media { background: #EEF2FA; box-shadow: 0 0 0 8px #fff; }
.tfa-process--numbers .tfa-process__item:nth-child(even) .tfa-process__media { background: #FFF6E0; }
.tfa-process__num { font-family: "Cabin", sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--tfa-brand); line-height: 1; }
.tfa-process--numbers .tfa-process__title { font-size: 1.2rem; }
.tfa-checks__item a { color: var(--tfa-brand); text-decoration: none; border-bottom: 2px solid rgba(245, 168, 0, .55); }
.tfa-checks__item a:hover { border-color: var(--tfa-accent); }
/* "Ai hưởng lợi" on industry pages: three narrow cards, icon above the text. */
.tfa-roles .elementor-widget-tfa-feature-panel, .tfa-roles .tfa-fpanel { height: 100%; }
.tfa-roles .tfa-fpanel { flex-direction: column; }
