/* ==========================================================================
   Kualitatem 2026 — home page (front-page.php)
   Design: Figma "KTM" › ktm home page (1440 frame). All rules are scoped to .ktm-home; classes are ktm- prefixed.
   ========================================================================== */

/* Secondary font: Neue Montreal (Pangram Pangram, licensed). Put the woff2 files in assets/fonts/. */
@font-face { font-family: "Neue Montreal"; src: url("../fonts/NeueMontreal-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url("../fonts/NeueMontreal-Medium.woff2") format("woff2"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Neue Montreal"; src: url("../fonts/NeueMontreal-Bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
	--ktm-blue: #1473b8;
	--ktm-blue-700: #0f5c96;
	--ktm-blue-800: #0c4a7a;
	--ktm-blue-400: #36afef;
	--ktm-blue-50: #eef6fc;
	--ktm-blue-100: #dcecf8;
	--ktm-blue-150: #cfe3f3;
	--ktm-green: #5fb723;
	--ktm-green-50: #e9f5df;
	--ktm-yellow: #ffc757;
	--ktm-ink: #111827;
	--ktm-text: #3f4652;
	--ktm-muted: #6b7280;
	--ktm-line: #e3e8ee;
	--ktm-white: #fff;

	--ktm-grad: linear-gradient(135deg, #1d84cc 0%, #1473b8 45%, #0f62a3 100%);

	--ktm-font-head: "Space Grotesk", Arial, Helvetica, sans-serif; /* primary */
	--ktm-font-body: "Neue Montreal", "Helvetica Neue", Arial, sans-serif; /* secondary */

	--ktm-container: 1200px;
	--ktm-gutter: 24px;
	--ktm-radius-sm: 8px;
	--ktm-radius: 16px;
	--ktm-radius-lg: 24px;
	--ktm-radius-xl: 32px;
	--ktm-section: 120px;
	--ktm-ease: cubic-bezier(.22, .61, .36, 1);
	--ktm-header-offset: 100px; /* parent .siteHeader is position: fixed (same offset as its .hnBanenrSectionWrapper) */
}

/* ---------- Base ----------
   Everything is scoped to .ktm-home (the <main> in front-page.php) so the parent
   header/footer are untouched, and so these rules outrank the parent's element rules
   (all.css: a, a:hover, body font; Bootstrap 5 reboot: heading/p/ul margins). */
.ktm-home {
	font-family: var(--ktm-font-body);
	padding-top: var(--ktm-header-offset);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ktm-text);
	background: var(--ktm-white);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
.ktm-home img { max-width: 100%; height: auto; display: block; }
.ktm-home a { color: inherit; text-decoration: none; transition: none; }
.ktm-home :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
.ktm-home :where(h1, h2, h3, p, figure, blockquote, figcaption) { margin: 0; padding: 0; }
.ktm-home :where(h1, h2, h3) { font-family: var(--ktm-font-head); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; text-transform: none; }
.ktm-home button { font: inherit; cursor: pointer; }
.ktm-home :focus-visible { outline: 2px solid var(--ktm-blue-400) !important; outline-offset: 3px; border-radius: 4px; }

.ktm-home .ktm-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ktm-home .ktm-i { width: 1em; height: 1em; flex: none; display: inline-block; vertical-align: middle; }

.ktm-home .ktm-visually-hidden {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.ktm-home .ktm-container { width: 100%; max-width: calc(var(--ktm-container) + var(--ktm-gutter) * 2); margin: 0 auto; padding: 0 var(--ktm-gutter); }
.ktm-home .ktm-section { padding: var(--ktm-section) 0 0; }
.ktm-home > .ktm-section:last-child { padding-bottom: var(--ktm-section); }

/* ---------- Type ---------- */
.ktm-home .ktm-h2 { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.13; letter-spacing: -0.025em; color: var(--ktm-blue); }
.ktm-home .ktm-h2--xl { font-size: clamp(34px, 4.17vw, 60px); line-height: 1.167; } /* Figma: stats 60/70 */
.ktm-home .ktm-why .ktm-h2--xl,
.ktm-home .ktm-stories .ktm-h2 { font-size: clamp(32px, 3.61vw, 52px); line-height: 1.154; } /* Figma: 52/60 */
.ktm-home .ktm-ai .ktm-h2 { font-size: clamp(30px, 3.06vw, 44px); line-height: 1.136; } /* Figma: 44/50 */
.ktm-home .ktm-h2--dark { color: var(--ktm-ink); }
.ktm-home .ktm-h2--light { color: var(--ktm-white); }
.ktm-home .ktm-lead { font-size: 18px; line-height: 28px; color: var(--ktm-text); max-width: 560px; }

.ktm-home .ktm-section__head { margin-bottom: 48px; }
.ktm-home .ktm-section__head .ktm-h2 { max-width: 760px; }
.ktm-home .ktm-section__head .ktm-h2 + .ktm-lead { margin-top: 16px; }
.ktm-home .ktm-section__head--center { text-align: center; }
.ktm-home .ktm-section__head--center .ktm-h2 { max-width: 640px; margin: 0 auto; }
.ktm-home .ktm-section__head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.ktm-home .ktm-section__head--split .ktm-h2 { max-width: 640px; }

/* ---------- Atoms ---------- */
.ktm-home .ktm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ktm-green); display: inline-block; flex: none; }
.ktm-home .ktm-dot--blue { background: var(--ktm-blue-400); }
.ktm-home .ktm-dot--yellow { background: var(--ktm-yellow); }

.ktm-home .ktm-badge {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; line-height: 17px;
}
.ktm-home .ktm-badge--glass { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .18); }
.ktm-home .ktm-badge--caps { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; line-height: 14px; }
.ktm-home .ktm-badge--green { background: var(--ktm-green); color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; line-height: 14px; padding: 4px 12px; }

.ktm-home .ktm-btn {
	display: inline-flex; align-items: center; gap: 14px;
	min-height: 52px; padding: 8px 8px 8px 24px; border-radius: 999px;
	font-size: 16px; font-weight: 500; line-height: 19px; white-space: nowrap;
	border: 1px solid transparent;
	transition: background-color .2s var(--ktm-ease), color .2s var(--ktm-ease), box-shadow .2s var(--ktm-ease), transform .2s var(--ktm-ease);
}
.ktm-home .ktm-btn:hover { transform: translateY(-1px); }
.ktm-home .ktm-btn__icon {
	width: 36px; height: 36px; border-radius: 50%;
	display: inline-grid; place-items: center; font-size: 15px;
	transition: transform .2s var(--ktm-ease);
}
.ktm-home .ktm-btn:hover .ktm-btn__icon { transform: rotate(45deg); }
.ktm-home .ktm-btn--primary { background: var(--ktm-blue); color: #fff; }
.ktm-home .ktm-btn--primary .ktm-btn__icon { background: #fff; color: var(--ktm-blue); }
.ktm-home .ktm-btn--primary:hover { background: var(--ktm-blue-700); box-shadow: 0 8px 20px rgba(20, 115, 184, .25); }
.ktm-home .ktm-btn--light { background: #fff; color: var(--ktm-blue); }
.ktm-home .ktm-btn--light .ktm-btn__icon { background: var(--ktm-blue); color: #fff; }
.ktm-home .ktm-btn--light:hover { box-shadow: 0 8px 24px rgba(4, 30, 60, .25); }
.ktm-home .ktm-btn--plain { padding: 6px 22px; min-height: 44px; }
.ktm-home .ktm-btn--plain .ktm-i { font-size: 16px; transition: transform .2s var(--ktm-ease); }
.ktm-home .ktm-btn--plain:hover .ktm-i { transform: translateX(3px); }
.ktm-home .ktm-btn--outline { background: transparent; color: var(--ktm-ink); border-color: var(--ktm-ink); padding: 6px 40px; justify-content: center; }
.ktm-home .ktm-btn--outline:hover { background: var(--ktm-ink); color: #fff; }

.ktm-home .ktm-link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; line-height: 18px; font-weight: 500; color: var(--ktm-blue); }
.ktm-home .ktm-link .ktm-i { font-size: 15px; transition: transform .2s var(--ktm-ease); }
.ktm-home .ktm-link:hover .ktm-i { transform: translate(2px, -2px); }
.ktm-home .ktm-link--light { color: #fff; }

.ktm-home .ktm-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ktm-home .ktm-chips li {
	font-size: 11px; line-height: 1.3; padding: 5px 9px; border-radius: 6px;
	color: #fff; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .04);
}

.ktm-home .ktm-dots { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 32px; }
.ktm-home .ktm-dots button {
	width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px;
	background: var(--ktm-blue-150); transition: width .3s var(--ktm-ease), background-color .3s;
}
.ktm-home .ktm-dots button[aria-current="true"] { width: 32px; background: var(--ktm-blue); }
.ktm-home .ktm-dots--light button { background: rgba(255, 255, 255, .45); }
.ktm-home .ktm-dots--light button[aria-current="true"] { background: #fff; }

.ktm-home .ktm-arrows { display: flex; gap: 12px; flex: none; }
.ktm-home .ktm-arrow {
	width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
	font-size: 18px; color: var(--ktm-blue); background: #fff; border: 1px solid var(--ktm-blue-150);
	transition: background-color .2s, color .2s, border-color .2s;
}
.ktm-home .ktm-arrow:hover,
.ktm-home .ktm-arrow--solid { background: var(--ktm-blue); color: #fff; border-color: var(--ktm-blue); }
.ktm-home .ktm-arrow--solid:hover { background: var(--ktm-blue-700); }
.ktm-home .ktm-arrow[disabled] { opacity: .4; cursor: default; }

/* ==========================================================================
   Hero slider (full width)
   ========================================================================== */
.ktm-home .ktm-hero { padding: 16px 24px 0; }
.ktm-home .ktm-hero__card {
	/* Figma (1440): the copy starts 75px and the visual ends 59px from the panel edges */
	--ktm-hero-inner: 1258px;
	--ktm-hero-side: max(var(--ktm-gutter), calc((100% - var(--ktm-hero-inner)) / 2));
	--ktm-hero-pad-l: calc(var(--ktm-hero-side) + 8px);
	--ktm-hero-pad-r: max(var(--ktm-gutter), calc(var(--ktm-hero-side) - 8px));
	position: relative; overflow: hidden; isolation: isolate;
	border-radius: var(--ktm-radius-xl);
	background: linear-gradient(127deg, #0f5c94 0%, #1473b8 75%);
	color: #fff;
}
.ktm-home .ktm-hero__card::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(circle 450px at 84% 50%, rgba(54, 175, 239, .28), rgba(54, 175, 239, 0)),
		radial-gradient(circle 210px at 4% 83%, rgba(255, 255, 255, .17), rgba(255, 255, 255, 0));
}
.ktm-home .ktm-hero__viewport { overflow: hidden; }
.ktm-home .ktm-hero__track { display: flex; transition: transform .6s var(--ktm-ease); will-change: transform; }
.ktm-home .ktm-hero__slide {
	flex: 0 0 100%; min-width: 0;
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 592px); gap: 66px; align-items: start;
	padding: 72px var(--ktm-hero-pad-r) 65px var(--ktm-hero-pad-l);
	min-height: 780px;
}
.ktm-home .ktm-hero__slide[aria-hidden="true"] { visibility: hidden; transition: visibility 0s .6s; }

.ktm-home .ktm-hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: 42px; margin-top: 14px; }
.ktm-home .ktm-hero__content--compact { gap: 28px; margin-top: 40px; }
.ktm-home .ktm-hero .ktm-badge--glass { background: rgba(255, 255, 255, .12); border: 0; padding: 7px 16px 7px 14px; }
.ktm-home .ktm-hero__title {
	font-size: clamp(38px, 4.72vw, 68px); line-height: 1.088; letter-spacing: -0.03em;
	color: #fff; margin: 0; max-width: 640px;
}
.ktm-home .ktm-hero__text { font-size: 20px; line-height: 31px; color: rgba(255, 255, 255, .85); max-width: 600px; }
.ktm-home .ktm-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.ktm-home .ktm-hero .ktm-link { gap: 8px; }
.ktm-home .ktm-hero__reviews img { width: 210px; height: auto; }

.ktm-home .ktm-hero__dots { position: absolute; left: var(--ktm-hero-pad-l); bottom: 96px; margin: 0; justify-content: flex-start; }
.ktm-home .ktm-hero__dots button { border-radius: 4px; background: rgba(255, 255, 255, .35); }
.ktm-home .ktm-hero__dots button[aria-current="true"] { width: 36px; background: #fff; }
.ktm-home .ktm-hero__arrow {
	position: absolute; top: 50%; z-index: 3; transform: translateY(-50%);
	width: 36px; height: 36px; border-radius: 50%; border: 0;
	display: grid; place-items: center; font-size: 15px;
	background: rgba(255, 255, 255, .56); color: #000;
	transition: background-color .2s, transform .2s var(--ktm-ease);
}
.ktm-home .ktm-hero__arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.ktm-home .ktm-hero__arrow--prev { left: 14px; }
.ktm-home .ktm-hero__arrow--next { right: 14px; }

.ktm-home .ktm-hero__visual { position: relative; justify-self: end; width: 100%; }

/* ---------- Interactive map: shared ---------- */
.ktm-home .ktm-map-svg { position: absolute; left: 0; top: 0; z-index: 0; overflow: visible; pointer-events: none; }
.ktm-home [data-ktm-map-stage] { position: relative; }
.ktm-home [data-ktm-map-stage] > :not(.ktm-map-svg) { position: relative; z-index: 1; }
.ktm-home .ktm-trace { fill: none; stroke: rgba(255, 255, 255, .45); stroke-width: 1.2; transition: stroke .3s, stroke-width .3s, opacity .3s; }
.ktm-home .ktm-trace.is-dash { stroke: #fff; stroke-width: 1.5; stroke-dasharray: 4 4; }
.ktm-home .ktm-trace.is-blue { stroke: rgba(54, 175, 239, .9); }
.ktm-home .ktm-trace.is-green { stroke: #6cc53a; }
.ktm-home .ktm-trace.is-dash.is-green { stroke: #fff; }
.ktm-home .ktm-trace.is-arrow { stroke: rgba(255, 255, 255, .7); stroke-width: 1.2; }
.ktm-home .ktm-map-arrowhead { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ktm-home .ktm-trace.is-hot { stroke: #7fd3ff; stroke-width: 2.2; filter: drop-shadow(0 0 6px rgba(127, 211, 255, .9)); opacity: 1; }
.ktm-home .ktm-trace.is-green.is-hot { stroke: #8fe04c; filter: drop-shadow(0 0 6px rgba(143, 224, 76, .9)); }
.ktm-home .has-focus .ktm-trace:not(.is-hot) { opacity: .25; }
.ktm-home .ktm-packet { fill: #9be1ff; filter: drop-shadow(0 0 5px #38bdf8); opacity: 0; transition: opacity .3s; }
.ktm-home .ktm-packet.is-green { fill: #a6ec6b; filter: drop-shadow(0 0 6px #8fd853); }
.ktm-home .is-flowing .ktm-packet { opacity: 1; }
.ktm-home [data-ktm-spec] { cursor: pointer; }
.ktm-home [data-ktm-spec]:focus-visible { outline-offset: 2px; }

/* Slide 2 caption pill (static text from the Figma) */
.ktm-home .ktm-modern__caption {
	display: flex; align-items: center; gap: 8px; width: fit-content; max-width: 100%;
	margin: 18px auto 0; padding: 7px 14px; border-radius: 999px;
	font-size: 12px; line-height: 15px; color: rgba(255, 255, 255, .92);
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22);
	min-height: 32px;
}
.ktm-home .ktm-modern__caption .ktm-dot { width: 6px; height: 6px; }

/* ---------- Slide 1: assurance map ---------- */
.ktm-home .ktm-map {
	position: relative; max-width: 592px; min-height: 504px; margin-left: auto;
	border: 1px solid rgba(255, 255, 255, .26); border-radius: 24px; padding: 17px 16px 16px 23px;
	background: rgba(255, 255, 255, .04);
}
.ktm-home .ktm-map__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.ktm-home .ktm-map__label { font-size: 11px; line-height: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.ktm-home .ktm-map__pill {
	display: inline-flex; align-items: center; gap: 6px; font-size: 11px; line-height: 13px; padding: 4px 10px;
	border-radius: 999px; background: rgba(95, 183, 35, .18); color: #fff;
}
.ktm-home .ktm-map__pill .ktm-dot { width: 6px; height: 6px; }
.ktm-home .ktm-map__grid {
	display: grid; grid-template-columns: repeat(2, 220px); justify-content: center; gap: 0 72px;
	grid-template-areas: "qe sec" "core core" "comp comp";
	margin: 0 -16px 0 -23px; /* centre the boxes on the whole map, as in the Figma */
}
.ktm-home .ktm-map__box {
	min-height: 149px; padding: 14px 16px 16px; border-radius: 16px;
	background: rgba(15, 92, 148, .9); border: 1px solid rgba(20, 115, 184, .6);
	transition: border-color .25s, box-shadow .25s, transform .25s var(--ktm-ease), opacity .25s;
}
.ktm-home .ktm-map__box--qe { grid-area: qe; }
.ktm-home .ktm-map__box--qe .ktm-dot { background: #1473b8; }
.ktm-home .ktm-map__box--sec { grid-area: sec; border-color: rgba(54, 175, 239, .6); }
.ktm-home .ktm-map__box--sec .ktm-dot { background: #36afef; }
.ktm-home .ktm-map__box--comp { grid-area: comp; justify-self: center; width: 220px; margin-top: 44px; border-color: rgba(95, 183, 35, .6); }
.ktm-home .ktm-map__title { display: flex; width: fit-content; align-items: center; gap: 8px; font-size: 14px; line-height: 17px; font-weight: 500; white-space: nowrap; margin-bottom: 10px; border-radius: 6px; }
.ktm-home .ktm-map__title .ktm-dot { width: 8px; height: 8px; }
.ktm-home .ktm-map__box .ktm-chips { gap: 6px; }
.ktm-home .ktm-map .ktm-chips li {
	font-size: 12px; line-height: 14px; font-weight: 500; padding: 5px 10px; border-radius: 6px; color: rgba(255, 255, 255, .9);
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
	transition: background-color .16s, border-color .16s, box-shadow .16s, transform .16s;
}
.ktm-home .ktm-map .ktm-chips li:hover,
.ktm-home .ktm-map .ktm-chips li:focus-visible,
.ktm-home .ktm-map .ktm-chips li.is-hot {
	background: rgba(54, 175, 239, .35); border-color: #7fd3ff; transform: translateY(-1px);
	box-shadow: 0 2px 10px rgba(54, 175, 239, .45);
}
.ktm-home .ktm-map__core {
	grid-area: core; justify-self: center; margin-top: 15px;
	display: grid; text-align: center; gap: 4px; padding: 16px 20px; border-radius: 18px;
	background: linear-gradient(127deg, #1473b8 0%, #36afef 75%);
	box-shadow: 0 0 40px rgba(54, 175, 239, .45);
	transition: box-shadow .25s, transform .25s var(--ktm-ease);
}
.ktm-home .ktm-map__core span { font-size: 10px; line-height: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.ktm-home .ktm-map__core strong { font-size: 15px; line-height: 18px; font-weight: 500; }
.ktm-home .ktm-map__box.is-hot,
.ktm-home .ktm-map__box.is-linked { border-color: #7fd3ff; box-shadow: 0 0 0 1px rgba(127, 211, 255, .35), 0 10px 30px rgba(4, 30, 60, .3); transform: translateY(-2px); }
.ktm-home .ktm-map__core.is-hot,
.ktm-home .ktm-map__core.is-linked { box-shadow: 0 0 0 6px rgba(127, 211, 255, .18), 0 0 40px rgba(54, 175, 239, .7); transform: scale(1.03); }
.ktm-home .ktm-map.has-focus .ktm-map__box:not(.is-hot):not(.is-linked) { opacity: .55; }

/* ---------- Slide 2: legacy → modern ---------- */
.ktm-home .ktm-modern {
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 124px minmax(0, 1fr);
	align-items: center; column-gap: 30px;
	padding: 52px 12px 26px; border-radius: 16px;
	border: 1px solid rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .03);
}
.ktm-home .ktm-modern__label { font-size: 12px; line-height: 15px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; color: rgba(255, 255, 255, .92); }
.ktm-home .ktm-modern__col--new .ktm-modern__label { color: #7fdc3c; }
.ktm-home .ktm-modern__list { display: grid; gap: 8px; }
.ktm-home .ktm-modern__list li {
	position: relative; display: flex; align-items: center; gap: 8px;
	font-size: 12px; white-space: nowrap; line-height: 14px; padding: 7px 10px; min-height: 31px; border-radius: 6px;
	background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
	transition: background-color .2s, border-color .2s, box-shadow .2s, opacity .2s;
}
/* item icon */
.ktm-home .ktm-modern__list li::before {
	content: ""; width: 16px; height: 16px; flex: none; border-radius: 4px;
	background: rgba(255, 255, 255, .16) radial-gradient(circle, #fff 0 2.5px, transparent 3px);
}
.ktm-home .ktm-modern__col:not(.ktm-modern__col--new) .ktm-modern__list li::before {
	background: rgba(255, 255, 255, .16) linear-gradient(#fff, #fff) center / 6px 6px no-repeat;
}
.ktm-home .ktm-modern__col--new .ktm-modern__list li::before { background: rgba(54, 175, 239, .18) radial-gradient(circle, #36afef 0 3px, transparent 3.5px); }
.ktm-home .ktm-modern__col--new .ktm-modern__list li.is-green::before { background: rgba(95, 183, 35, .25) radial-gradient(circle, #6cc53a 0 3px, transparent 3.5px); }
/* connector node dots */
.ktm-home .ktm-modern__list li::after {
	content: ""; position: absolute; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%;
	background: rgba(255, 255, 255, .75);
}
.ktm-home .ktm-modern__col:not(.ktm-modern__col--new) .ktm-modern__list li::after { right: -3px; }
.ktm-home .ktm-modern__col--new .ktm-modern__list li::after { left: -3px; background: #36afef; }
.ktm-home .ktm-modern__col--new .ktm-modern__list li.is-green::after { background: #6cc53a; }
.ktm-home .ktm-modern__list li.is-hot,
.ktm-home .ktm-modern__list li.is-linked,
.ktm-home .ktm-modern__list li:hover { background: rgba(54, 175, 239, .3); border-color: #7fd3ff; box-shadow: 0 2px 12px rgba(54, 175, 239, .35); }
.ktm-home .ktm-modern.has-focus .ktm-modern__list li:not(.is-hot):not(.is-linked) { opacity: .5; }

.ktm-home .ktm-modern__core {
	display: grid; justify-items: center; gap: 10px; padding: 18px 8px; border-radius: 10px; text-align: center;
	background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
	box-shadow: 0 0 30px rgba(54, 175, 239, .25);
	transition: box-shadow .25s, transform .25s var(--ktm-ease);
}
.ktm-home .ktm-modern__core.is-hot,
.ktm-home .ktm-modern__core.is-linked { box-shadow: 0 0 0 6px rgba(127, 211, 255, .15), 0 0 36px rgba(54, 175, 239, .55); transform: scale(1.02); }
.ktm-home .ktm-modern__core-icon {
	width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font-size: 17.69px;
	background: linear-gradient(160deg, #84dc5a, #3fae2a); box-shadow: 0 4px 14px rgba(95, 183, 35, .45);
}
.ktm-home .ktm-modern__core-title { font-size: 10.81px; line-height: 14px; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }
.ktm-home .ktm-modern__core .ktm-chips { justify-content: center; gap: 5px; }
.ktm-home .ktm-modern__core .ktm-chips li {
	font-size: 12px; line-height: 15px; padding: 2px 9px; border-radius: 999px;
	background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
	transition: background-color .16s, border-color .16s;
}
.ktm-home .ktm-modern__core .ktm-chips li:hover,
.ktm-home .ktm-modern__core .ktm-chips li.is-hot { background: rgba(54, 175, 239, .45); border-color: #7fd3ff; }
.ktm-home .ktm-modern__caption { grid-column: 1 / -1; margin-top: 30px; }

/* ---------- Slide 3 (now slide 2): link list ---------- */
.ktm-home .ktm-hero__slide--list { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
.ktm-home .ktm-hero__slide--list .ktm-hero__title { max-width: 637px; }
.ktm-home .ktm-hero__visual--list { max-width: 360px; margin: 61px 96px 0 0; }
.ktm-home .ktm-hero__list-title { font-family: var(--ktm-font-body); font-size: 17px; line-height: 20px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 31px; }
.ktm-home .ktm-hero__links li { border-bottom: 1px solid rgba(255, 255, 255, .2); }
.ktm-home .ktm-hero__links a {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 17px 0; font-size: 17px; line-height: 20px; color: #fff; transition: padding .2s var(--ktm-ease);
}
.ktm-home .ktm-hero__links a:hover { padding-left: 4px; }
.ktm-home .ktm-hero__links .ktm-i { font-size: 14px; opacity: .8; }

/* Kualitee card: slide 1 version (same width as the map) */
.ktm-home .ktm-kualitee-card {
	display: flex; align-items: center; gap: 22px; min-height: 122px; padding: 18px 25px 18px 32px;
	border-radius: 13px; background: #fff; color: var(--ktm-blue);
	transition: transform .2s var(--ktm-ease), box-shadow .2s;
}
.ktm-home .ktm-map + .ktm-kualitee-card { width: 100%; max-width: 592px; margin: 17px 0 0 auto; }
.ktm-home .ktm-kualitee-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(4, 30, 60, .22); }
.ktm-home .ktm-kualitee-card__art {
	flex: none; display: grid; place-items: center; width: 106px; height: 86px; border-radius: 7px;
	background: linear-gradient(130deg, #b0dc9d 0%, #b7e3f9 100%);
}
.ktm-home .ktm-kualitee-card__art img { width: 49px; height: auto; }
.ktm-home .ktm-kualitee-card__body { display: grid; gap: 8px; }
.ktm-home .ktm-kualitee-card__eyebrow { font-size: 15.3px; line-height: 18px; font-weight: 700; text-transform: uppercase; color: #64a332; }
.ktm-home .ktm-kualitee-card__text { font-size: 16px; line-height: 19px; font-weight: 500; }
.ktm-home .ktm-kualitee-card__link { display: inline-flex; align-items: center; gap: 4px; font-size: 15.3px; line-height: 18px; color: var(--ktm-blue); }
.ktm-home .ktm-kualitee-card__link .ktm-i { font-size: 12px; }

/* Kualitee card: list-slide version */
.ktm-home .ktm-hero__visual--list .ktm-kualitee-card { margin: 31px 0 0; width: 100%; min-height: 149px; padding: 16px 24px 16px 16px; gap: 20px; border-radius: 20px; }
.ktm-home .ktm-hero__visual--list .ktm-kualitee-card__art { width: 104px; height: 104px; border-radius: 14px; background: linear-gradient(127deg, #a7d786 0%, #afdff9 75%); }
.ktm-home .ktm-hero__visual--list .ktm-kualitee-card__art img { width: 64px; }
.ktm-home .ktm-hero__visual--list .ktm-kualitee-card__eyebrow { font-size: 12px; line-height: 14px; font-weight: 500; letter-spacing: .08em; color: #5fb723; }
.ktm-home .ktm-hero__visual--list .ktm-kualitee-card__text { line-height: 23px; color: #0f5c94; }
.ktm-home .ktm-hero__visual--list .ktm-kualitee-card__link { font-size: 15px; font-weight: 500; gap: 8px; }
.ktm-home .ktm-hero__visual--list .ktm-kualitee-card__link .ktm-i { font-size: 14px; }

@media (max-width: 1279px) {
	.ktm-home .ktm-hero__slide { grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 32px; }
	.ktm-home .ktm-hero__visual--list { margin-right: 0; }
}

@media (max-width: 1099px) {
	.ktm-home .ktm-hero__slide { grid-template-columns: 1fr; padding: 56px var(--ktm-hero-pad-r) 104px var(--ktm-hero-pad-l); min-height: 0; align-items: start; gap: 44px; }
	.ktm-home .ktm-hero__content,
	.ktm-home .ktm-hero__content--compact { margin-top: 0; }
	.ktm-home .ktm-hero__title { max-width: 680px; }
	.ktm-home .ktm-hero__visual { justify-self: start; max-width: 640px; }
	.ktm-home .ktm-hero__visual--list { margin: 0; }
	.ktm-home .ktm-hero__slide--list { grid-template-columns: 1fr; }
	.ktm-home .ktm-map { margin-left: 0; }
	.ktm-home .ktm-hero__dots { bottom: 44px; }
	.ktm-home .ktm-hero__arrow { top: auto; bottom: 30px; transform: none; width: 40px; height: 40px; }
	.ktm-home .ktm-hero__arrow:hover { transform: scale(1.06); }
	.ktm-home .ktm-hero__arrow--prev { left: auto; right: calc(var(--ktm-hero-pad-r) + 50px); }
	.ktm-home .ktm-hero__arrow--next { right: var(--ktm-hero-pad-r); }
	.ktm-home .ktm-map + .ktm-kualitee-card { margin-left: 0; }
}

@media (max-width: 767px) {
	.ktm-home .ktm-hero__slide { padding-top: 40px; padding-bottom: 96px; gap: 36px; }
	.ktm-home .ktm-hero__content { gap: 28px; }
	.ktm-home .ktm-hero__text { font-size: 16px; line-height: 1.6; }
	.ktm-home .ktm-map { padding: 16px; min-height: 0; }
	.ktm-home .ktm-map__grid { grid-template-columns: 1fr; grid-template-areas: "qe" "sec" "core" "comp"; gap: 12px; margin: 0; }
	.ktm-home .ktm-map__box { min-height: 0; }
	.ktm-home .ktm-map__core { margin-top: 0; }
	.ktm-home .ktm-map__box--comp { width: 100%; margin-top: 0; }
	.ktm-home .ktm-modern { grid-template-columns: 1fr; row-gap: 16px; padding: 20px 14px; }
	.ktm-home .ktm-modern__list li::after { display: none; }
	.ktm-home .ktm-modern__core { width: 100%; }
	.ktm-home .ktm-modern__caption { margin-top: 4px; }
	.ktm-home .ktm-hero { padding: 12px 12px 0; }
	.ktm-home .ktm-hero__card { border-radius: var(--ktm-radius-lg); }
	.ktm-home .ktm-kualitee-card { padding: 14px; gap: 16px; }
	.ktm-home .ktm-kualitee-card__art { width: 88px; height: 88px; }
	.ktm-home .ktm-kualitee-card__text { font-size: 15px; }
}

/* ==========================================================================
   Stats
   ========================================================================== */
.ktm-home .ktm-proof__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 588px); gap: 74px; align-items: start; padding-right: calc(var(--ktm-gutter) + 41px); } /* Figma: cards end 41px short of the 1200 grid */
.ktm-home .ktm-proof .ktm-h2 { color: #000; max-width: 500px; }
.ktm-home .ktm-proof__accent { color: var(--ktm-blue); }
.ktm-home .ktm-proof__text { font-size: 15.8px; line-height: 28px; color: #374151; max-width: 400px; margin-top: 25px; }
.ktm-home .ktm-proof .ktm-h2 + .ktm-proof__text { margin-top: 37px; }
.ktm-home .ktm-proof .ktm-btn { margin-top: 66px; font-size: 14.6px; line-height: 18px; font-weight: 500; }

.ktm-home .ktm-proof__cards {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 13px; margin-top: 16px;
	grid-template-areas: "tmmi lib" "tmmi sec" "comp comp";
}
.ktm-home .ktm-proof__card { padding: 29px; border-radius: 20px; background: #fff; border: 1px solid #e3e8ee; }
.ktm-home .ktm-proof__card--lib,
.ktm-home .ktm-proof__card--sec { display: flex; flex-direction: column; justify-content: center; min-height: 198px; padding-top: 12px; padding-bottom: 12px; }
.ktm-home .ktm-proof__card--lib { grid-area: lib; }
.ktm-home .ktm-proof__card--sec { grid-area: sec; }
.ktm-home .ktm-proof__card--comp { grid-area: comp; margin-top: 22px; } /* Figma: 34px above the compliance card */
.ktm-home .ktm-proof__title { font-family: var(--ktm-font-body); font-size: 18px; line-height: 23px; font-weight: 700; letter-spacing: 0; color: #0b2a4a; }
.ktm-home .ktm-proof__desc { font-size: 13.2px; line-height: 21.7px; color: #6b7280; margin-top: 10px; }

/* TMMi card */
.ktm-home .ktm-proof__card--tmmi { grid-area: tmmi; display: flex; flex-direction: column; min-height: 408px; padding: 31px 28px 36px; }
.ktm-home .ktm-proof__eyebrow { font-family: var(--ktm-font-head); font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(0, 0, 0, .8); }
.ktm-home .ktm-proof__level { display: flex; align-items: flex-end; margin-top: auto; font-family: var(--ktm-font-head); font-size: 96px; line-height: 96px; font-weight: 700; letter-spacing: -0.04em; color: #0b2a4a; }
.ktm-home .ktm-proof__level span { font-size: 28px; line-height: 28px; font-weight: 500; letter-spacing: -0.04em; color: rgba(0, 0, 0, .8); margin: 0 0 7px 2px; }
.ktm-home .ktm-proof__bars { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 16px; }
.ktm-home .ktm-proof__bars span { width: 41px; border-radius: 6px; background: #0f5c94; }
.ktm-home .ktm-proof__bars span:nth-child(1) { height: 13px; opacity: .35; }
.ktm-home .ktm-proof__bars span:nth-child(2) { height: 26px; opacity: .5; }
.ktm-home .ktm-proof__bars span:nth-child(3) { height: 38px; opacity: .65; }
.ktm-home .ktm-proof__bars span:nth-child(4) { height: 51px; opacity: .8; }
.ktm-home .ktm-proof__bars span:nth-child(5) { height: 64px; background: var(--ktm-blue); }
.ktm-home .ktm-proof__card--tmmi .ktm-proof__title { color: #000; margin-top: 16px; }
.ktm-home .ktm-proof__card--tmmi .ktm-proof__desc { color: rgba(0, 0, 0, .85); max-width: 230px; }

/* Test library + secured process cards */
.ktm-home .ktm-proof__num { font-family: var(--ktm-font-head); font-size: 48px; line-height: 48px; font-weight: 700; letter-spacing: -0.03em; color: var(--ktm-blue); margin-bottom: 12px; }
.ktm-home .ktm-proof__card--lib .ktm-proof__title,
.ktm-home .ktm-proof__card--sec .ktm-proof__title { max-width: 190px; }
.ktm-home .ktm-proof__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #f3f7fb; border: 1px solid #0f5c94; margin-bottom: 12px; }
.ktm-home .ktm-proof__icon img { width: 20px; height: 20px; }
.ktm-home .ktm-proof__card--sec .ktm-proof__desc { font-size: 13.3px; line-height: 21px; }

/* Compliance card */
.ktm-home .ktm-proof__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.ktm-home .ktm-proof__chips li {
	padding: 6px 12px; border-radius: 999px; background: #f3f7fb; border: 1px solid #d6e4f2;
	font-size: 13px; line-height: 15px; font-weight: 500; color: #0f62a3;
}

/* ==========================================================================
   Partners marquee
   ========================================================================== */
.ktm-home .ktm-partners { padding-top: 80px; }
.ktm-home .ktm-partners .ktm-container::before { content: ""; display: block; border-top: 1px solid var(--ktm-line); margin-bottom: 48px; }
.ktm-home .ktm-marquee {
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ktm-home .ktm-marquee__track { display: flex; width: max-content; animation: ktm-marquee var(--ktm-marquee-duration, 30s) linear infinite; }
.ktm-home .ktm-marquee:hover .ktm-marquee__track,
.ktm-home .ktm-marquee:focus-within .ktm-marquee__track { animation-play-state: paused; }
.ktm-home .ktm-marquee__list { display: flex; align-items: center; flex: none; }
.ktm-home .ktm-marquee__list li { flex: none; padding: 0 48px; }
.ktm-home .ktm-marquee__list img { height: auto; width: auto; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.ktm-home .ktm-marquee__list img:hover { filter: none; opacity: 1; }
@keyframes ktm-marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Services
   ========================================================================== */
.ktm-home .ktm-services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ktm-home .ktm-service {
	display: flex; flex-direction: column; padding: 14px 14px 28px; border-radius: var(--ktm-radius);
	background: linear-gradient(180deg, var(--ktm-blue-50) 0%, #fff 70%);
	border: 1px solid var(--ktm-blue-150);
	transition: box-shadow .25s var(--ktm-ease), transform .25s var(--ktm-ease);
}
.ktm-home .ktm-service:hover { box-shadow: 0 18px 40px rgba(20, 115, 184, .12); transform: translateY(-3px); }
.ktm-home .ktm-service__img { width: 100%; aspect-ratio: 330 / 180; object-fit: cover; border-radius: 12px; background: var(--ktm-blue-100); }
.ktm-home .ktm-service__title { font-size: 26px; line-height: 32px; color: var(--ktm-blue); margin: 24px 14px 10px; }
.ktm-home .ktm-service__text { font-size: 16px; line-height: 24px; color: var(--ktm-ink); margin: 0 14px 18px; min-height: 44px; }
.ktm-home .ktm-service__list { margin: 0 14px; flex: 1; }
.ktm-home .ktm-service__list li { border-top: 1px solid var(--ktm-line); }
.ktm-home .ktm-service__list a {
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 12px 0; font-size: 15px; line-height: 21px; color: var(--ktm-text); transition: color .2s;
}
.ktm-home .ktm-service__list a:hover { color: var(--ktm-blue); }
.ktm-home .ktm-service__list .ktm-i { font-size: 14px; color: var(--ktm-ink); }
.ktm-home .ktm-service__more {
	display: inline-flex; align-items: center; gap: 6px; margin: 28px 14px 0;
	font-size: 15px; line-height: 18px; font-weight: 600; color: var(--ktm-ink); transition: color .2s;
}
.ktm-home .ktm-service__more:hover { color: var(--ktm-blue); }
.ktm-home .ktm-service__more .ktm-i { font-size: 15px; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.ktm-home .ktm-cta-banner-wrap { padding-top: 48px; }
.ktm-home .ktm-cta-banner {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding: 14px 14px 14px 40px; border-radius: 999px; background: #e3f1fb;
}
.ktm-home .ktm-cta-banner__text { font-family: var(--ktm-font-body); font-size: clamp(22px, 2.22vw, 32px); line-height: 1.1875; font-weight: 500; color: var(--ktm-blue); letter-spacing: -0.01em; }

/* ==========================================================================
   Risks
   ========================================================================== */
.ktm-home .ktm-risks__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ktm-home .ktm-risk {
	display: flex; flex-direction: column; padding: 32px; border-radius: var(--ktm-radius);
	background: #fff; border: 1px solid var(--ktm-line); transition: border-color .25s, box-shadow .25s;
}
.ktm-home .ktm-risk:hover { border-color: var(--ktm-blue-150); box-shadow: 0 14px 34px rgba(20, 115, 184, .10); }
.ktm-home .ktm-risk__icon { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--ktm-blue); color: #fff; font-size: 22px; }
.ktm-home .ktm-risk__icon img { width: 28px; height: 28px; object-fit: contain; }
.ktm-home .ktm-risk__title { font-family: var(--ktm-font-body); font-weight: 500; font-size: 22px; line-height: 28px; letter-spacing: -0.005em; color: var(--ktm-blue); margin: 24px 0 14px; }
.ktm-home .ktm-risk__text { font-size: 15px; line-height: 25px; color: var(--ktm-text); flex: 1; }
.ktm-home .ktm-risk__text strong { color: var(--ktm-ink); font-weight: 600; }
.ktm-home .ktm-risk__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 28px; font-size: 15px; line-height: 18px; font-weight: 500; color: var(--ktm-blue); }
.ktm-home .ktm-risk__link .ktm-i { font-size: 15px; transition: transform .2s; }
.ktm-home .ktm-risk__link:hover .ktm-i { transform: translate(2px, -2px); }

/* ==========================================================================
   Case studies
   ========================================================================== */
.ktm-home .ktm-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ktm-home .ktm-tags li { font-size: 13px; line-height: 16px; padding: 5px 12px; border-radius: 999px; background: #DEEBF5; color: #1473B8; }
.ktm-home .ktm-tags .ktm-tags__blue { background: #E3F4FD; color: #36AFEF; }
.ktm-home .ktm-tags .ktm-tags__green { background: #E9F5E0; color: #64A332; }

.ktm-home .ktm-case-feature {
	display: grid; grid-template-columns: 1fr 1fr; border-radius: 20px; overflow: hidden;
	background: #f2f7fb; border: 1px solid #e3edf5;
}
.ktm-home .ktm-case-feature__body { padding: 48px; display: flex; flex-direction: column; align-items: flex-start; }
.ktm-home .ktm-case-feature__title { font-size: clamp(26px, 2.5vw, 36px); line-height: 1.222; letter-spacing: -0.02em; color: var(--ktm-ink); margin: 28px 0 24px; }
.ktm-home .ktm-case-feature__client {
	font-size: 16px; line-height: 19px; padding: 8px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--ktm-line);
	color: var(--ktm-text); margin-bottom: 48px; box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}
.ktm-home .ktm-case-feature__body .ktm-btn { margin-top: auto; }
.ktm-home .ktm-case-feature__side { background: #fff; padding: 20px 40px 36px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.ktm-home .ktm-case-feature__img { width: 100%; aspect-ratio: 560 / 260; object-fit: contain; }
.ktm-home .ktm-case-feature__quote blockquote p { font-size: 18px; line-height: 28px; color: var(--ktm-ink); }
.ktm-home .ktm-case-feature__quote figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--ktm-line); }
.ktm-home .ktm-case-feature__quote figcaption div { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: #D0E3F1; }
.ktm-home .ktm-case-feature__quote figcaption span { display: grid; font-size: 14px; line-height: 17px; color: var(--ktm-muted); }
.ktm-home .ktm-case-feature__quote figcaption strong { font-size: 16px; line-height: 19px; font-weight: 600; color: var(--ktm-ink); }

.ktm-home .ktm-cases__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.ktm-home .ktm-case {
	display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center;
	padding: 16px; border-radius: var(--ktm-radius); background: #f2f7fb; border: 1px solid #e3edf5;
	transition: box-shadow .25s;
}
.ktm-home .ktm-case:hover { box-shadow: 0 14px 30px rgba(20, 115, 184, .10); }
.ktm-home .ktm-case__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--ktm-blue-100); }
.ktm-home .ktm-case__title { font-family: var(--ktm-font-body); font-weight: 500; font-size: 22px; line-height: 29px; letter-spacing: -0.01em; color: var(--ktm-ink); margin: 12px 0 14px; }
.ktm-home .ktm-case__link { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; line-height: 18px; color: var(--ktm-ink); }
.ktm-home .ktm-case__link:hover { color: var(--ktm-blue); }
.ktm-home .ktm-case__link .ktm-i { font-size: 15px; }

/* ==========================================================================
   AI testing
   ========================================================================== */
.ktm-home .ktm-ai__box {
	display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center;
	padding: 64px; border-radius: var(--ktm-radius-lg); background: var(--ktm-grad); color: #fff;
	position: relative; overflow: hidden; isolation: isolate;
}
.ktm-home .ktm-ai__box::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(500px 360px at 90% 0%, rgba(54, 175, 239, .35), transparent 60%);
}
.ktm-home .ktm-ai__intro .ktm-h2 { margin: 22px 0 22px; }
.ktm-home .ktm-ai__text { font-size: 18px; line-height: 28px; color: rgba(255, 255, 255, .86); margin-bottom: 30px; max-width: 380px; }
.ktm-home .ktm-ai__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ktm-home .ktm-ai__card {
	padding: 24px; border-radius: var(--ktm-radius);
	background: rgba(255, 255, 255, .10); border: 1px solid rgba(255, 255, 255, .22);
	transition: background-color .25s;
}
.ktm-home .ktm-ai__card:hover { background: rgba(255, 255, 255, .16); }
.ktm-home .ktm-ai__num { font-size: 15px; line-height: 19px; letter-spacing: .04em; font-weight: 600; color: var(--ktm-yellow); }
.ktm-home .ktm-ai__title { font-family: var(--ktm-font-body); font-weight: 500; letter-spacing: 0; font-size: 21px; line-height: 27px; margin: 10px 0 10px; color: #fff; }
.ktm-home .ktm-ai__card p:last-child { font-size: 15px; line-height: 23px; color: rgba(255, 255, 255, .82); }

/* ==========================================================================
   Industries
   ========================================================================== */
.ktm-home .ktm-industries .ktm-section__head { margin-bottom: 32px; }
.ktm-home .ktm-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 36px; }
.ktm-home .ktm-pills a {
	display: inline-block; padding: 9px 18px; border-radius: 999px; font-size: 15px; line-height: 18px;
	background: var(--ktm-blue-50); color: var(--ktm-blue); transition: background-color .2s, color .2s;
	cursor: default;
}
.ktm-home .ktm-pills a:hover,
.ktm-home .ktm-pills a.is-active { background: var(--ktm-blue); color: #fff; }
.ktm-home .ktm-industries__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ktm-home .ktm-industry {
	position: relative; display: flex; gap: 16px; padding: 22px 44px 22px 22px; border-radius: 14px;
	border: 1px solid var(--ktm-line); background: #fff; transition: border-color .25s, box-shadow .25s;
}
.ktm-home .ktm-industry:hover { border-color: var(--ktm-blue-150); box-shadow: 0 12px 28px rgba(20, 115, 184, .10); }
.ktm-home .ktm-industry__icon {
	width: 44px; height: 44px; border-radius: 10px; flex: none; display: grid; place-items: center;
	background: var(--ktm-blue-100); color: var(--ktm-blue); font-size: 22px;
}
.ktm-home .ktm-industry__icon img { width: 30px; height: 30px; object-fit: contain; }
.ktm-home .ktm-industry__title { font-family: var(--ktm-font-body); font-weight: 500; letter-spacing: 0; font-size: 19px; line-height: 24px; color: var(--ktm-blue); margin-bottom: 6px; }
.ktm-home .ktm-industry__text { font-size: 15px; line-height: 21px; color: var(--ktm-text); }
.ktm-home .ktm-industry__arrow { position: absolute; right: 18px; top: 22px; font-size: 16px; color: var(--ktm-blue); transition: transform .2s; }
.ktm-home .ktm-industry:hover .ktm-industry__arrow { transform: translate(2px, -2px); }

/* ==========================================================================
   Why us
   ========================================================================== */
.ktm-home .ktm-why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ktm-home .ktm-why__intro { padding-left: 40px; }
.ktm-home .ktm-why__intro .ktm-h2 { max-width: 400px; }
.ktm-home .ktm-why__intro .ktm-lead { margin: 24px 0 28px; max-width: 420px; font-size: 19px; line-height: 30px; }
.ktm-home .ktm-why__list { display: grid; gap: 26px; margin-bottom: 36px; position: relative; }
.ktm-home .ktm-why__list::before { content: ""; position: absolute; left: 17px; top: 18px; bottom: 18px; border-left: 1px solid var(--ktm-blue-150); }
.ktm-home .ktm-why__list li { position: relative; display: flex; align-items: center; gap: 18px; font-size: 18px; line-height: 24px; color: var(--ktm-ink); }
.ktm-home .ktm-why__num {
	width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none;
	font-size: 14px; line-height: 18px; font-weight: 600; background: var(--ktm-blue-50); color: var(--ktm-blue);
	border: 1px solid var(--ktm-blue-150); transition: background-color .2s, color .2s;
}
.ktm-home .ktm-why__list li.is-active .ktm-why__num,
.ktm-home .ktm-why__list li:hover .ktm-why__num { background: var(--ktm-blue); color: #fff; border-color: var(--ktm-blue); }

.ktm-home .ktm-process {
	padding: 30px 40px 26px; border-radius: 30px; background: linear-gradient(160deg, #1569ad 0%, #1473b8 50%, #1f86cf 100%);
	box-shadow: 0 20px 50px rgba(20, 115, 184, .25);
	max-width: 470px; justify-self: center; width: 100%;
}
.ktm-home .ktm-process__list { display: grid; gap: 30px; }
.ktm-home .ktm-process__list li {
	display: flex; align-items: center; gap: 14px; padding: 13px 14px;
	border-radius: 10px; font-size: 17.39px; line-height: 21px; color: #fff;
	background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .3);
	max-width: 330px; margin: 0 auto; width: 100%;
	transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s var(--ktm-ease), opacity .2s;
}
.ktm-home .ktm-process__list li.is-final { background: var(--ktm-green); border-color: rgba(255, 255, 255, .45); }
.ktm-home .ktm-process__list li.is-hot,
.ktm-home .ktm-process__list li:hover { background: rgba(54, 175, 239, .35); border-color: #7fd3ff; box-shadow: 0 0 18px rgba(54, 175, 239, .45); }
.ktm-home .ktm-process__list li.is-final.is-hot,
.ktm-home .ktm-process__list li.is-final:hover { background: #6cc53a; border-color: #c8f0a8; box-shadow: 0 0 18px rgba(143, 224, 76, .5); }
.ktm-home .ktm-process__list li.is-linked { border-color: rgba(127, 211, 255, .7); }
.ktm-home .ktm-process.has-focus .ktm-process__list li:not(.is-hot):not(.is-linked) { opacity: .6; }
.ktm-home .ktm-process__icon { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; flex: none; background: rgba(255, 255, 255, .16); font-size: 16.23px; }
.ktm-home .ktm-process__icon img { width: 15px; height: 15px; object-fit: contain; }

/* ==========================================================================
   Kualitee banner
   ========================================================================== */
.ktm-home .ktm-kualitee-wrap { padding-top: var(--ktm-section); }
.ktm-home .ktm-kualitee {
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
	padding: 36px 30px 36px 30px; border-radius: 20px;
	background: linear-gradient(100deg, #e4f3d9 0%, #def0f4 45%, #d8ebf9 100%);
}
.ktm-home .ktm-kualitee__text { font-family: var(--ktm-font-body); font-weight: 500; font-size: clamp(18px, 1.67vw, 24px); line-height: 1.375; letter-spacing: -0.01em; color: var(--ktm-blue); max-width: 640px; margin-top: 14px; }
.ktm-home .ktm-kualitee__side { display: grid; justify-items: center; gap: 12px; flex: none; }
.ktm-home .ktm-kualitee__side img { width: 44px; height: auto; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.ktm-home .ktm-stories__viewport { overflow: hidden; border-radius: 20px; }
.ktm-home .ktm-stories__track { display: flex; transition: transform .6s var(--ktm-ease); }
.ktm-home .ktm-story {
	flex: 0 0 100%; min-width: 0; display: grid; grid-template-columns: 1fr 2fr;
	border-radius: 20px; border: 1px solid var(--ktm-line); overflow: hidden; background: #fff;
}
.ktm-home .ktm-story[aria-hidden="true"] { visibility: hidden; transition: visibility 0s .6s; }
.ktm-home .ktm-story__media {
	position: relative; min-height: 340px;
	background: linear-gradient(180deg, rgba(20, 115, 184, .55), rgba(20, 115, 184, .85)), url("../images/testimonials/building.webp") center / cover no-repeat, var(--ktm-blue);
}
.ktm-home .ktm-story__mark { position: absolute; left: 32px; top: 36px; width: 44px; height: 36px; color: #fff; }
.ktm-home .ktm-story__logo {
	position: absolute; left: 32px; bottom: 32px; width: 120px; height: 100px; border-radius: 12px;
	display: grid; place-items: center; padding: 12px; background: #fff;
}
.ktm-home .ktm-story__logo img { max-height: 76px; width: auto; object-fit: contain; }
.ktm-home .ktm-story__body { padding: 48px 56px; display: flex; flex-direction: column; }
.ktm-home .ktm-story__label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 16px; letter-spacing: .1em; text-transform: uppercase; color: var(--ktm-blue); }
.ktm-home .ktm-story__label .ktm-dot { width: 6px; height: 6px; }
.ktm-home .ktm-story__quote { flex: 1; margin: 22px 0 28px; }
.ktm-home .ktm-story__quote p { font-size: clamp(19px, 1.94vw, 28px); line-height: 1.4286; letter-spacing: -0.01em; color: #1a4f80; }
.ktm-home .ktm-story__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--ktm-line); }
.ktm-home .ktm-story__who { display: grid; font-size: 17px; line-height: 20px; color: var(--ktm-muted); }
.ktm-home .ktm-story__who strong { font-size: 17px; color: var(--ktm-ink); font-weight: 600; }
.ktm-home .ktm-stories .ktm-btn { font-size: 15px; line-height: 18px; } /* Figma: "Read more Stories" 15/18 */

/* ==========================================================================
   Credentials
   ========================================================================== */
.ktm-home .ktm-creds .ktm-section__head { margin-bottom: 48px; }
.ktm-home .ktm-creds .ktm-h2 { font-size: clamp(30px, 3.2vw, 46px); max-width: 760px; color: #0f5c94; }
.ktm-home .ktm-creds__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; }
.ktm-home .ktm-cred {
	display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 183px; padding: 28px 24px; border-radius: 20px;
	background: #f3f8fb; text-align: center; font-size: 14px; line-height: 17px; font-weight: 500; letter-spacing: .06em; color: #0f5c94;
}
.ktm-home .ktm-cred__logo { width: 96px; height: 96px; flex: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1279px) {
}

@media (max-width: 1099px) {
	:root { --ktm-section: 96px; }


	.ktm-home .ktm-proof__grid,
	.ktm-home .ktm-why__grid { grid-template-columns: 1fr; gap: 48px; }
	.ktm-home .ktm-proof__grid { padding-right: var(--ktm-gutter); }
	.ktm-home .ktm-proof .ktm-btn { margin-top: 36px; }
	.ktm-home .ktm-proof__cards { max-width: 588px; }
	.ktm-home .ktm-why__intro { padding-left: 0; }
	.ktm-home .ktm-process { justify-self: start; }
	.ktm-home .ktm-services__grid,
	.ktm-home .ktm-risks__grid,
	.ktm-home .ktm-industries__grid { grid-template-columns: 1fr 1fr; }
	.ktm-home .ktm-ai__box { grid-template-columns: 1fr; padding: 48px; }
	.ktm-home .ktm-case-feature { grid-template-columns: 1fr; }
	.ktm-home .ktm-cases__grid { grid-template-columns: 1fr; }
	.ktm-home .ktm-creds__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}


@media (max-width: 767px) {
	:root { --ktm-section: 72px; --ktm-gutter: 16px; --ktm-header-offset: 80px; }


	.ktm-home .ktm-section__head { margin-bottom: 32px; }
	.ktm-home .ktm-section__head--split { flex-direction: column; align-items: flex-start; }
	.ktm-home .ktm-proof__cards { grid-template-columns: 1fr; grid-template-areas: "tmmi" "lib" "sec" "comp"; }
	.ktm-home .ktm-proof__card { padding: 24px; }
	.ktm-home .ktm-proof__card--tmmi { min-height: 420px; padding: 24px 24px 32px; }
	.ktm-home .ktm-proof__card--lib,
	.ktm-home .ktm-proof__card--sec { min-height: 0; }
	.ktm-home .ktm-proof__level { font-size: 80px; line-height: 80px; }
	.ktm-home .ktm-services__grid,
	.ktm-home .ktm-risks__grid,
	.ktm-home .ktm-industries__grid,
	.ktm-home .ktm-ai__grid { grid-template-columns: 1fr; }
	.ktm-home .ktm-marquee__list li { padding: 0 28px; }
	.ktm-home .ktm-marquee__list img { height: 30px; }
	.ktm-home .ktm-cta-banner { flex-direction: column; align-items: flex-start; border-radius: 20px; padding: 24px; }
	.ktm-home .ktm-risk { padding: 26px; }
	.ktm-home .ktm-case-feature__body,
	.ktm-home .ktm-case-feature__side { padding: 28px 22px; }
	.ktm-home .ktm-case { grid-template-columns: 1fr; }
	.ktm-home .ktm-ai__box { padding: 36px 22px; }
	.ktm-home .ktm-kualitee { flex-direction: column; align-items: flex-start; padding: 28px 22px; }
	.ktm-home .ktm-kualitee__side { justify-items: start; }
	.ktm-home .ktm-story { grid-template-columns: 1fr; }
	.ktm-home .ktm-story__media { min-height: 200px; }
	.ktm-home .ktm-story__body { padding: 28px 22px; }
	.ktm-home .ktm-story__footer { flex-direction: column; align-items: flex-start; }
	.ktm-home .ktm-creds__grid { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
	.ktm-home *, .ktm-home *::before, .ktm-home *::after { transition-duration: .01ms !important; animation: none !important; }
}
