/* ==========================================================================
   Kamiran widgets: Icon Box, Counter, Team, Pricing, Map, Testimonials,
   FAQ, Tabs, Timeline, Gallery.
   Every widget root has .k-w and resets its --kb-* variables so nested
   widgets never inherit settings. Elements with .k-boxed receive the
   shared "Box style" settings; each widget sets its own defaults (--_*).
   ========================================================================== */

.k-w {
	--kb-bg: initial; --kb-bgg: initial;
	--kb-pt: initial; --kb-pr: initial; --kb-pb: initial; --kb-pl: initial;
	--kb-pt-t: initial; --kb-pr-t: initial; --kb-pb-t: initial; --kb-pl-t: initial;
	--kb-pt-m: initial; --kb-pr-m: initial; --kb-pb-m: initial; --kb-pl-m: initial;
	--kb-rad: initial; --kb-bw: initial; --kb-bs: initial; --kb-bc: initial;
	--kb-ta: initial; --kb-ta-t: initial; --kb-ta-m: initial;
	--kb-ac: initial; --kb-tc: initial; --kb-xc: initial;
	--kb-ts: initial; --kb-ts-t: initial; --kb-ts-m: initial;
	--kb-is: initial; --kb-is-t: initial; --kb-is-m: initial; --kb-ic: initial; --kb-ib: initial;
	--kb-ns: initial; --kb-ns-t: initial; --kb-ns-m: initial; --kb-nc: initial;
	--kb-cols: initial; --kb-cols-t: initial; --kb-cols-m: initial;
	--kb-gap: initial; --kb-gap-t: initial; --kb-gap-m: initial;
	--kb-mh: initial; --kb-mh-t: initial; --kb-mh-m: initial;
	--kb-sh: initial; --kb-hy: initial; --kb-hsh: initial; --kb-hbc: initial;
	--_bg: transparent; --_p: 0px; --_bw: 0px; --_bc: var(--k-border); --_rad: 0px; --_sh: none; --_ta: inherit; --_ts: 1.2rem;

	position: relative;
	color: var(--kb-xc, inherit);
	--_accent: var(--kb-ac, var(--k-primary));
}

/* Shadow + hover presets (set as variables so they only affect this widget) */
.k-wshadow-none { --kb-sh: none; }
.k-wshadow-sm { --kb-sh: 0 2px 10px rgba(11, 27, 63, .08); }
.k-wshadow-md { --kb-sh: 0 10px 30px rgba(11, 27, 63, .12); }
.k-wshadow-lg { --kb-sh: 0 24px 60px rgba(11, 27, 63, .18); }
.k-whover-lift { --kb-hy: -6px; --kb-hsh: 0 18px 40px rgba(11, 27, 63, .14); }
.k-whover-shadow { --kb-hsh: 0 18px 40px rgba(11, 27, 63, .14); }
.k-whover-border { --kb-hbc: var(--_accent); }
.k-whover-none { --kb-hy: 0px; --kb-hsh: var(--kb-sh, var(--_sh)); }

.k-boxed {
	position: relative;
	background-color: var(--kb-bg, var(--_bg));
	background-image: var(--kb-bgg, none);
	padding: var(--kb-pt, var(--_p)) var(--kb-pr, var(--_p)) var(--kb-pb, var(--_p)) var(--kb-pl, var(--_p));
	border: var(--kb-bw, var(--_bw)) var(--kb-bs, solid) var(--kb-bc, var(--_bc));
	border-radius: var(--kb-rad, var(--_rad));
	box-shadow: var(--kb-sh, var(--_sh));
	text-align: var(--kb-ta, var(--_ta));
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease, background-color .25s ease;
}
.k-boxed:hover {
	transform: translateY(var(--kb-hy, var(--_hy, 0px)));
	box-shadow: var(--kb-hsh, var(--_hsh, var(--kb-sh, var(--_sh))));
	border-color: var(--kb-hbc, var(--kb-bc, var(--_bc)));
}
@media (prefers-reduced-motion: reduce) { .k-boxed:hover { transform: none; } }

.k-w .k-title {
	margin: 0;
	color: var(--kb-tc, var(--k-hcl, var(--k-heading)));
	font-size: var(--kb-ts, var(--_ts));
	line-height: 1.3;
}
.k-w .k-text > :first-child { margin-top: 0; }
.k-w .k-text > :last-child { margin-bottom: 0; }

.k-svg { display: block; width: 1em; height: 1em; flex-shrink: 0; }
.k-svg--img { object-fit: contain; }

/* Icon holder shared by Icon Box and Counter */
.k-icon-wrap {
	--_isz: var(--kb-is, 30px);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: var(--_isz);
	color: var(--kb-ic, var(--_accent));
}
.k-icon--circle .k-icon-wrap,
.k-icon--square .k-icon-wrap,
.k-icon--rounded .k-icon-wrap {
	width: calc(var(--_isz) * 2.1);
	height: calc(var(--_isz) * 2.1);
	background: var(--kb-ib, color-mix(in srgb, var(--kb-ic, var(--_accent)) 12%, transparent));
}
.k-icon--circle .k-icon-wrap { border-radius: 50%; }
.k-icon--rounded .k-icon-wrap { border-radius: 22%; }
.k-icon-wrap .k-svg--img { width: var(--_isz); height: var(--_isz); }

.k-more {
	display: inline-flex; align-items: center; gap: 6px;
	margin-top: 14px;
	font-weight: 600;
	color: var(--_accent);
}
.k-more .k-svg { width: 16px; height: 16px; transition: transform .2s ease; }
.k-more:hover .k-svg { transform: translateX(3px); }
.k-stretched { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }

/* ---------- Icon Box ---------- */
.k-icon-box { --_ts: 1.25rem; height: 100%; }
/* Cards stretch to equal height only when alone in a column. */
.k-col > .k-w:not(:only-child) { height: auto; }
.k-iconbox--top { display: block; }
.k-iconbox--top .k-iconbox__icon { margin-bottom: 18px; }
.k-iconbox--left, .k-iconbox--right { display: flex; align-items: flex-start; gap: 18px; }
.k-iconbox--right { flex-direction: row-reverse; text-align: var(--kb-ta, right); }
.k-iconbox__body > * + * { margin-top: 10px; }
.k-iconbox--left .k-iconbox__body, .k-iconbox--right .k-iconbox__body { flex: 1; min-width: 0; }
.k-icon-box.k-is-linked { cursor: pointer; }

/* ---------- Counter ---------- */
.k-counter { --_ts: 1rem; }
.k-counter--top .k-counter__icon { margin-bottom: 14px; }
.k-counter--left { display: flex; align-items: center; gap: 16px; }
.k-counter__num {
	font-family: var(--k-font-heading);
	font-weight: 800;
	font-size: var(--kb-ns, 48px);
	line-height: 1.05;
	color: var(--kb-nc, var(--_accent));
	font-variant-numeric: tabular-nums;
}
.k-counter__label { margin-top: 6px !important; font-weight: 500; }

/* ---------- Team Member ---------- */
.k-team-member { --_ts: 1.2rem; --_bg: #fff; --_bw: 1px; --_rad: var(--k-radius); --_p: 0px; height: 100%; overflow: hidden; display: flex; flex-direction: column; }
.k-team__media { position: relative; aspect-ratio: var(--kb-ratio, 1/1); overflow: hidden; background: var(--k-light); }
.k-team__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.k-team-member:hover .k-team__media img { transform: scale(1.04); }
.k-team__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 64px; color: var(--k-border); }
.k-team__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.k-team__role { margin: 0; font-size: .9em; font-weight: 500; color: var(--_accent); }
.k-team__bio { margin-top: 6px; font-size: .95em; }
.k-team__hint { margin: 0; font-size: 12px; opacity: .6; }
.k-team__social { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: inherit; }
.k-team__social a {
	display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%;
	color: var(--_accent); background: color-mix(in srgb, var(--_accent) 10%, transparent);
	transition: background-color .2s ease, color .2s ease;
}
.k-team__social a:hover { background: var(--_accent); color: #fff; }
.k-team__social svg { width: 16px; height: 16px; }
.k-team--overlay .k-team__social {
	position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 14px; justify-content: center;
	background: linear-gradient(to top, rgba(11, 27, 63, .75), transparent);
	transform: translateY(100%); transition: transform .3s ease;
}
.k-team--overlay:hover .k-team__social, .k-team--overlay:focus-within .k-team__social { transform: none; }
.k-team--overlay .k-team__social a { background: #fff; }
.k-team--circle { --_bg: transparent; --_bw: 0px; text-align: var(--kb-ta, center); }
.k-team--circle .k-team__media { width: 70%; margin: 0 auto; border-radius: 50%; aspect-ratio: 1/1; }
.k-team--circle .k-team__social { justify-content: center; }
.k-team--circle .k-team__body { align-items: center; }
@media (hover: none) { .k-team--overlay .k-team__social { transform: none; } }

/* ---------- Pricing ---------- */
.k-pricing {
	--_ts: 1.3rem; --_bg: #fff; --_bw: 1px; --_rad: var(--k-radius); --_p: 34px;
	height: 100%; display: flex; flex-direction: column; gap: 6px;
}
.k-pricing.is-featured { --_bc: var(--_accent); --_bw: 2px; --_sh: 0 18px 50px rgba(11, 27, 63, .12); }
.k-pricing__badge {
	position: absolute; top: 0; right: 24px; transform: translateY(-50%);
	padding: 5px 14px; border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase;
	background: var(--_accent); color: #fff;
}
.k-pricing__sub { margin: 0; opacity: .8; font-size: .95em; }
.k-pricing__price { margin: 18px 0 10px; color: var(--kb-tc, var(--k-heading)); line-height: 1; }
.k-pricing__cur { font-size: 1.4rem; font-weight: 600; vertical-align: .9em; margin-right: 2px; }
.k-pricing__amt { font-family: var(--k-font-heading); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1; }
.k-pricing__per { opacity: .7; font-size: .95rem; margin-left: 4px; }
.k-pricing__list { list-style: none; padding: 18px 0 0; margin: 8px 0 24px; border-top: 1px solid var(--k-border); text-align: left; flex: 1; }
.k-pricing__list li { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.k-pricing__list .k-svg { width: 18px; height: 18px; margin-top: .2em; color: var(--_accent); }
.k-pricing__list .is-off { opacity: .5; }
.k-pricing__list .is-off .k-svg { color: currentColor; }
.k-pricing__btn { width: 100%; }
.k-pricing:not(.is-featured) .k-pricing__btn { background: transparent; color: var(--_accent); box-shadow: inset 0 0 0 2px var(--_accent); }
.k-pricing:not(.is-featured) .k-pricing__btn:hover { background: var(--_accent); color: #fff; }
.k-pricing.is-featured .k-pricing__btn { background: var(--_accent); }

/* ---------- Map ---------- */
.k-map { --_rad: var(--k-radius); }
.k-map.k-boxed { padding: 0; overflow: hidden; height: var(--kb-mh, 400px); }
.k-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.k-map--gray iframe { filter: grayscale(1) contrast(1.05); }
.k-map__load {
	width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
	padding: 24px; border: 0; cursor: pointer; font: inherit; color: var(--k-heading);
	background: var(--k-light) radial-gradient(circle at 30% 30%, rgba(30, 94, 255, .08), transparent 60%);
}
.k-map__load > .k-svg { width: 40px; height: 40px; color: var(--_accent); }
.k-map__address { max-width: 420px; text-align: center; }
.k-map__load .k-btn { pointer-events: none; }

/* ---------- Testimonials ---------- */
.k-testimonials {
	--_ts: 1rem; --_bg: #fff; --_bw: 1px; --_rad: var(--k-radius); --_p: 30px;
	--_cols: var(--kb-cols, 3);
	--_gapv: var(--kb-gap, 24px);
}
.k-slider__track { display: flex; gap: var(--_gapv); }
.k-testimonials--grid .k-slider__track { display: grid; grid-template-columns: repeat(var(--_cols), minmax(0, 1fr)); }
.k-testimonials--slider .k-slider__track {
	overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
	scrollbar-width: none; -ms-overflow-style: none; padding: 4px 2px 18px; margin: -4px -2px -18px;
}
.k-testimonials--slider .k-slider__track::-webkit-scrollbar { display: none; }
.k-testimonials--slider .k-slider__track > * { flex: 0 0 calc((100% - var(--_gapv) * (var(--_cols) - 1)) / var(--_cols)); scroll-snap-align: start; }
.k-testi { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.k-testi__mark { display: none; font-family: Georgia, serif; font-size: 72px; line-height: .6; color: var(--_accent); opacity: .25; }
.k-testi__stars { display: flex; gap: 3px; color: var(--kb-ac, #f5a623); justify-content: inherit; }
.k-testi__stars svg { width: 18px; height: 18px; display: block; }
.k-testi__stars .is-off { opacity: .2; }
.k-testi__quote { margin: 0; padding: 0; border: 0; font-size: 1.02em; font-style: normal; color: inherit; flex: 1; }
.k-testi__author { display: flex; align-items: center; gap: 12px; justify-content: inherit; }
.k-testi__avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.k-testi__who { display: flex; flex-direction: column; text-align: left; }
.k-testi__name { font-weight: 700; }
.k-testi__role { font-size: .88em; opacity: .7; }
.k-testi-style--quote .k-testi__mark { display: block; }
.k-testi-style--centered .k-testi { text-align: center; align-items: center; }
.k-testi-style--centered .k-testi__who { text-align: center; }
.k-testi-style--centered .k-testi__author { flex-direction: column; }

.k-slider__controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.k-slider__arrow {
	display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; padding: 0;
	border: 1px solid var(--k-border); border-radius: 50%; background: #fff; color: var(--k-heading); cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.k-slider__arrow:hover { background: var(--_accent); border-color: var(--_accent); color: #fff; }
.k-slider__arrow .k-svg { width: 20px; height: 20px; }
.k-slider__prev .k-svg { transform: rotate(180deg); }
.k-slider__arrow[disabled] { opacity: .4; cursor: default; }
.k-slider__dots { display: flex; gap: 8px; }
.k-slider__dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 9px; background: var(--k-border); cursor: pointer; transition: width .25s ease, background-color .25s ease; }
.k-slider__dot[aria-current="true"] { width: 26px; background: var(--_accent); }

/* ---------- FAQ ---------- */
.k-faq { --_ts: 1.08rem; --_bg: #fff; --_bw: 1px; --_rad: var(--k-radius); --_p: 0px; display: flex; flex-direction: column; gap: var(--kb-gap, 12px); }
.k-faq--bordered { --_bg: transparent; --_bw: 0px; --_rad: 0px; gap: 0; }
.k-faq--bordered .k-faq__item { border-bottom: 1px solid var(--k-border); }
.k-faq--minimal { --_bg: transparent; --_bw: 0px; }
.k-faq__item { overflow: hidden; }
.k-faq__item.k-boxed:hover { transform: none; }
.k-faq__q {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 18px 22px; cursor: pointer; list-style: none;
}
.k-faq--bordered .k-faq__q, .k-faq--minimal .k-faq__q { padding-inline: 0; }
.k-faq__q::-webkit-details-marker { display: none; }
.k-faq__q::marker { content: ""; }
.k-faq__qt { flex: 1; }
.k-faq__q:hover .k-faq__qt, details[open] > .k-faq__q .k-faq__qt { color: var(--kb-tc, var(--_accent)); }
.k-faq__icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; color: var(--_accent); transition: transform .25s ease; }
.k-faq__icon--plus::before, .k-faq__icon--plus::after { content: ""; position: absolute; left: 0; top: 50%; width: 100%; height: 2px; margin-top: -1px; background: currentColor; border-radius: 2px; transition: transform .25s ease; }
.k-faq__icon--plus::after { transform: rotate(90deg); }
details[open] > .k-faq__q .k-faq__icon--plus::after { transform: rotate(0deg); }
.k-faq__icon--chevron::before { content: ""; position: absolute; inset: 3px 4px 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
details[open] > .k-faq__q .k-faq__icon--chevron { transform: rotate(180deg); }
.k-faq__a { padding: 0 22px 20px; }
.k-faq--bordered .k-faq__a, .k-faq--minimal .k-faq__a { padding-inline: 0; }
.k-faq__a > * + * { margin-top: .8em; }
details[open] > .k-faq__a { animation: k-fade-down .25s ease; }
@keyframes k-fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Tabs ---------- */
.k-tabs { --_ts: 1rem; --_bg: transparent; --_p: 0px; }
.k-tabs__panels { margin-top: 24px; }
.k-tabs__nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: thin; }
.k-tabs--align-center .k-tabs__nav { justify-content: center; }
.k-tabs--align-end .k-tabs__nav { justify-content: flex-end; }
.k-tabs--align-stretch .k-tabs__tab { flex: 1; }
.k-tabs__tab {
	position: relative; flex-shrink: 0; margin: 0; padding: 12px 20px;
	font: inherit; font-weight: 600; font-size: var(--kb-ts, var(--_ts)); white-space: nowrap; text-align: center;
	color: var(--kb-tc, var(--k-heading)); background: transparent; border: 0; cursor: pointer;
	transition: color .2s ease, background-color .2s ease;
}
.k-tabs__tab:hover { color: var(--_accent); }
.k-tabs__tab[aria-selected="true"] { color: var(--_accent); }
.k-tabs--underline .k-tabs__nav { border-bottom: 1px solid var(--k-border); }
.k-tabs--underline .k-tabs__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--_accent); transform: scaleX(0); transition: transform .25s ease; }
.k-tabs--underline .k-tabs__tab[aria-selected="true"]::after { transform: none; }
.k-tabs--pills .k-tabs__tab { border-radius: 50px; background: var(--k-light); }
.k-tabs--pills .k-tabs__tab[aria-selected="true"] { background: var(--_accent); color: #fff; }
.k-tabs--boxed .k-tabs__nav { gap: 0; }
.k-tabs--boxed .k-tabs__tab { border: 1px solid var(--k-border); border-bottom: 0; margin-right: -1px; background: var(--k-light); border-radius: var(--k-radius) var(--k-radius) 0 0; }
.k-tabs--boxed .k-tabs__tab[aria-selected="true"] { background: #fff; }
.k-tabs--boxed { --_bg: #fff; --_bw: 1px; --_p: 26px; }
.k-tabs--boxed .k-tabs__panels { margin-top: 0; }
.k-tabs--boxed .k-tabs__panel { border-top-left-radius: 0; }
.k-tabs__panel[hidden] { display: none; }
.k-tabs__panel { animation: k-fade-down .25s ease; }
.k-tabs__panel > * + * { margin-top: var(--k-flow, 1.1rem); }
.k-tabs__panel.k-boxed:hover { transform: none; }
@media (min-width: 768px) {
	.k-tabs--vertical { display: grid; grid-template-columns: minmax(180px, 28%) 1fr; gap: 28px; align-items: start; }
	.k-tabs--vertical .k-tabs__panels { margin-top: 0; }
	.k-tabs--vertical .k-tabs__nav { flex-direction: column; overflow: visible; border-bottom: 0; }
	.k-tabs--vertical .k-tabs__tab { text-align: left; white-space: normal; }
	.k-tabs--vertical.k-tabs--underline .k-tabs__nav { border-left: 1px solid var(--k-border); }
	.k-tabs--vertical.k-tabs--underline .k-tabs__tab::after { left: -1px; top: 0; bottom: 0; right: auto; width: 3px; height: auto; transform: scaleY(0); }
	.k-tabs--vertical.k-tabs--underline .k-tabs__tab[aria-selected="true"]::after { transform: none; }
}

/* ---------- Timeline ---------- */
.k-timeline { --_ts: 1.15rem; --_bg: #fff; --_bw: 1px; --_rad: var(--k-radius); --_p: 22px; position: relative; display: flex; flex-direction: column; gap: 28px; }
.k-timeline::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 9px; width: 2px; background: color-mix(in srgb, var(--_accent) 30%, transparent); }
.k-tl__item { position: relative; padding-left: 40px; }
.k-tl__dot { position: absolute; left: 2px; top: 22px; width: 16px; height: 16px; border-radius: 50%; background: var(--_accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--_accent) 18%, transparent); }
.k-tl__card > * + * { margin-top: 6px; }
.k-tl__date { display: block; }
.k-tl__date { font-weight: 700; font-size: .9em; letter-spacing: .03em; color: var(--_accent); }
@media (min-width: 768px) {
	.k-timeline--alternate::before { left: 50%; margin-left: -1px; }
	.k-timeline--alternate .k-tl__item { width: 50%; padding-left: 0; padding-right: 40px; }
	.k-timeline--alternate .k-tl__item:nth-child(even) { margin-left: 50%; padding-right: 0; padding-left: 40px; }
	.k-timeline--alternate .k-tl__item:nth-child(odd) .k-tl__dot { left: auto; right: -8px; }
	.k-timeline--alternate .k-tl__item:nth-child(even) .k-tl__dot { left: -8px; }
	.k-timeline--alternate .k-tl__item:nth-child(odd) .k-tl__card { text-align: var(--kb-ta, right); }
}

/* ---------- Gallery ---------- */
.k-gallery { --_rad: calc(var(--k-radius) * .75); --_cols: var(--kb-cols, 4); --_gapv: var(--kb-gap, 12px); }
.k-gallery--grid { display: grid; grid-template-columns: repeat(var(--_cols), minmax(0, 1fr)); gap: var(--_gapv); }
.k-gallery--masonry { column-count: var(--_cols); column-gap: var(--_gapv); }
.k-gallery--masonry .k-gallery__item { break-inside: avoid; margin-bottom: var(--_gapv); }
.k-gallery__item {
	position: relative; margin: 0; overflow: hidden;
	border-radius: var(--kb-rad, var(--_rad));
	border: var(--kb-bw, 0px) var(--kb-bs, solid) var(--kb-bc, var(--k-border));
	box-shadow: var(--kb-sh, none);
}
.k-gallery--grid .k-gallery__item { aspect-ratio: var(--kb-ratio, 1/1); }
.k-gallery--grid .k-gallery__item[style*="auto"] { aspect-ratio: auto; }
.k-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.k-gallery--masonry .k-gallery__item img { height: auto; }
.k-gallery__link { display: block; height: 100%; cursor: zoom-in; }
.k-gallery__item:hover img { transform: scale(1.05); }
.k-gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; font-size: .85em; color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, .65), transparent); pointer-events: none; }

/* Lightbox */
.k-lb {
	position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
	background: rgba(8, 12, 24, .92); opacity: 0; transition: opacity .2s ease;
}
.k-lb.is-open { opacity: 1; }
.k-lb__img { max-width: min(92vw, 1600px); max-height: 84vh; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.k-lb__cap { position: absolute; left: 0; right: 0; bottom: 18px; text-align: center; color: #fff; font-size: 14px; padding: 0 70px; }
.k-lb__btn {
	position: absolute; display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0;
	border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; font-size: 26px; line-height: 1;
}
.k-lb__btn:hover, .k-lb__btn:focus-visible { background: rgba(255, 255, 255, .25); }
.k-lb__close { top: 16px; right: 16px; }
.k-lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.k-lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
.k-lb__count { position: absolute; top: 26px; left: 24px; color: rgba(255, 255, 255, .7); font-size: 13px; }

/* ---------- Responsive variables ---------- */
@media (max-width: 1024px) {
	.k-boxed {
		padding: var(--kb-pt-t, var(--kb-pt, var(--_p))) var(--kb-pr-t, var(--kb-pr, var(--_p))) var(--kb-pb-t, var(--kb-pb, var(--_p))) var(--kb-pl-t, var(--kb-pl, var(--_p))));
		text-align: var(--kb-ta-t, var(--kb-ta, var(--_ta)));
	}
	.k-w .k-title { font-size: var(--kb-ts-t, var(--kb-ts, var(--_ts))); }
	.k-tabs__tab { font-size: var(--kb-ts-t, var(--kb-ts, var(--_ts))); }
	.k-icon-wrap { --_isz: var(--kb-is-t, var(--kb-is, 30px)); }
	.k-counter__num { font-size: var(--kb-ns-t, var(--kb-ns, 42px)); }
	.k-map.k-boxed { height: var(--kb-mh-t, var(--kb-mh, 380px)); }
	.k-testimonials { --_cols: var(--kb-cols-t, min(var(--kb-cols, 3), 2)); --_gapv: var(--kb-gap-t, var(--kb-gap, 20px)); }
	.k-gallery { --_cols: var(--kb-cols-t, min(var(--kb-cols, 4), 3)); --_gapv: var(--kb-gap-t, var(--kb-gap, 12px)); }
	.k-faq { gap: var(--kb-gap-t, var(--kb-gap, 12px)); }
}
@media (max-width: 767px) {
	.k-boxed {
		padding: var(--kb-pt-m, var(--kb-pt-t, var(--kb-pt, var(--_p)))) var(--kb-pr-m, var(--kb-pr-t, var(--kb-pr, var(--_p)))) var(--kb-pb-m, var(--kb-pb-t, var(--kb-pb, var(--_p)))) var(--kb-pl-m, var(--kb-pl-t, var(--kb-pl, var(--_p))));
		text-align: var(--kb-ta-m, var(--kb-ta-t, var(--kb-ta, var(--_ta))));
	}
	.k-w .k-title { font-size: var(--kb-ts-m, var(--kb-ts-t, var(--kb-ts, var(--_ts)))); }
	.k-tabs__tab { font-size: var(--kb-ts-m, var(--kb-ts-t, var(--kb-ts, var(--_ts)))); padding: 10px 16px; }
	.k-icon-wrap { --_isz: var(--kb-is-m, var(--kb-is-t, var(--kb-is, 28px))); }
	.k-counter__num { font-size: var(--kb-ns-m, var(--kb-ns-t, var(--kb-ns, 36px))); }
	.k-map.k-boxed { height: var(--kb-mh-m, var(--kb-mh-t, var(--kb-mh, 320px))); }
	.k-testimonials { --_cols: var(--kb-cols-m, 1); --_gapv: var(--kb-gap-m, var(--kb-gap-t, var(--kb-gap, 16px))); }
	.k-gallery { --_cols: var(--kb-cols-m, min(var(--kb-cols, 4), 2)); --_gapv: var(--kb-gap-m, var(--kb-gap-t, var(--kb-gap, 8px))); }
	.k-faq { gap: var(--kb-gap-m, var(--kb-gap-t, var(--kb-gap, 10px))); }
	.k-faq__q { padding: 16px 18px; }
	.k-faq__a { padding: 0 18px 18px; }
	.k-iconbox--left, .k-iconbox--right { gap: 14px; }
	.k-pricing { --_p: 26px; }
	.k-lb__prev, .k-lb__next { top: auto; bottom: 14px; transform: none; }
}

/* Library icons are stroke-only (protects against generic "svg { fill: currentColor }" rules). */
svg.k-svg { fill: none; }

/* ---------- Form ---------- */
.k-form { --_ts: .95rem; --_p: 0px; --_gapv: var(--kb-gap, 18px); }
.k-form__form { margin: 0; }
.k-form__fields { display: flex; flex-wrap: wrap; gap: var(--_gapv) 16px; }
.k-field { flex: 0 0 100%; min-width: 0; margin: 0; }
.k-fw-75 { flex-basis: calc(75% - 4px); }
.k-fw-66 { flex-basis: calc(66.666% - 5.4px); }
.k-fw-50 { flex-basis: calc(50% - 8px); }
.k-fw-33 { flex-basis: calc(33.333% - 10.7px); }
.k-fw-25 { flex-basis: calc(25% - 12px); }
.k-field__label { display: block; margin: 0 0 6px; padding: 0; font-weight: 600; font-size: var(--kb-ts, var(--_ts)); color: var(--kb-tc, var(--k-heading)); }
.k-field__req { color: #d63638; }
.k-field__group { margin: 0; padding: 0; border: 0; min-width: 0; }
.k-field__heading { margin: 8px 0 0; font-weight: 700; font-size: 1.1em; color: var(--kb-tc, var(--k-heading)); }
.k-form input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
.k-form select,
.k-form textarea {
	width: 100%;
	padding: .78em 1em;
	font: inherit;
	color: var(--kb-ftc, var(--k-text));
	background: var(--kb-fbg, #fff);
	border: 1px solid var(--kb-fbc, var(--k-border));
	border-radius: var(--kb-frad, var(--k-radius));
	transition: border-color .2s ease, box-shadow .2s ease;
}
.k-form select { appearance: none; padding-right: 2.4em; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.k-form input:focus, .k-form select:focus, .k-form textarea:focus { outline: none; border-color: var(--_accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--_accent) 18%, transparent); }
.k-form input[type="file"] { width: 100%; padding: 10px; border: 1px dashed var(--kb-fbc, var(--k-border)); border-radius: var(--kb-frad, var(--k-radius)); background: var(--kb-fbg, #fff); font-size: .9em; }
.k-field__choices { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.k-choice { display: inline-flex; align-items: flex-start; gap: 8px; margin: 0; font-weight: 400; color: inherit; cursor: pointer; }
.k-choice input { width: 18px; height: 18px; margin: .15em 0 0; accent-color: var(--_accent); flex-shrink: 0; }
.k-choice--accept { font-size: .92em; }
.k-field__help { margin: 6px 0 0; font-size: .85em; opacity: .75; }
.k-field__error { margin: 6px 0 0; font-size: .85em; font-weight: 500; color: #d63638; }
.k-field.has-error input, .k-field.has-error select, .k-field.has-error textarea { border-color: #d63638 !important; }
.k-form__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.k-form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.k-form__actions--center { justify-content: center; }
.k-form__actions--right { justify-content: flex-end; }
.k-form__actions.is-full .k-btn { flex: 1; }
.k-form__submit[disabled] { opacity: .7; cursor: wait; }
.k-form [hidden] { display: none !important; }
.k-btn--ghost { background: transparent !important; color: var(--k-heading) !important; box-shadow: inset 0 0 0 1px var(--k-border); }
.k-form__msg { margin-top: 18px; padding: 14px 18px; border-radius: var(--k-radius); font-weight: 500; }
.k-form__msg.is-success { background: #e7f6ec; color: #11703a; }
.k-form__msg.is-error { background: #fcebea; color: #a3201d; }
.k-form__wa { margin-top: 10px; background: #25d366 !important; color: #fff !important; }
.k-form .cf-turnstile { margin-top: 18px; }

/* Card style */
.k-form--card { --_bg: #fff; --_p: 36px; --_rad: calc(var(--k-radius) * 1.5); --_sh: 0 18px 50px rgba(11, 27, 63, .1); --_bw: 1px; }
/* Inline style: fields + button in one row, labels hidden */
.k-form--inline .k-form__fields { flex-wrap: nowrap; align-items: flex-start; gap: 10px; }
.k-form--inline .k-field { flex: 1 1 0; }
.k-form--inline .k-field--submit { flex: 0 0 auto; }
.k-form--inline .k-field__label:not(.k-choice) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.k-form--inline .k-field--submit .k-btn { height: 100%; min-height: 48px; white-space: nowrap; }
/* Modern style: underline inputs */
.k-form.k-form--modern input:not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="hidden"]),
.k-form.k-form--modern select,
.k-form.k-form--modern textarea { background: transparent; border: 0; border-bottom: 2px solid var(--kb-fbc, var(--k-border)); border-radius: 0; padding-left: 2px; padding-right: 2px; }
.k-form--modern input:focus, .k-form--modern select:focus, .k-form--modern textarea:focus { box-shadow: none; border-bottom-color: var(--_accent); }
.k-form--modern .k-field__label { font-size: .78em; text-transform: uppercase; letter-spacing: .06em; opacity: .8; }
/* Multi-step */
.k-form--steps, .k-form--has-steps { --_bg: #fff; --_p: 32px; --_rad: calc(var(--k-radius) * 1.5); --_bw: 1px; }
.k-form__progress { display: flex; list-style: none; margin: 0 0 26px; padding: 0; counter-reset: s; }
.k-form__progress li { flex: 1; position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .8em; text-align: center; color: var(--k-text); opacity: .6; }
.k-form__progress li::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--k-border); z-index: 0; }
.k-form__progress li:first-child::before { display: none; }
.k-form__pnum { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: var(--k-light); border: 2px solid var(--k-border); font-weight: 700; }
.k-form__progress li.is-active, .k-form__progress li.is-done { opacity: 1; }
.k-form__progress li.is-active .k-form__pnum, .k-form__progress li.is-done .k-form__pnum { background: var(--_accent); border-color: var(--_accent); color: #fff; }
.k-form__progress li.is-done::before, .k-form__progress li.is-active::before { background: var(--_accent); }
.k-form__step { margin: 0; padding: 0; border: 0; min-width: 0; }
.k-js-steps .k-form__step:not(.is-active) { display: none; }
.k-form__step.is-active { animation: k-fade-down .25s ease; }

@media (max-width: 1024px) {
	.k-form { --_gapv: var(--kb-gap-t, var(--kb-gap, 16px)); }
}
@media (max-width: 767px) {
	.k-form { --_gapv: var(--kb-gap-m, var(--kb-gap-t, var(--kb-gap, 14px))); }
	.k-fw-75, .k-fw-66, .k-fw-50, .k-fw-33, .k-fw-25 { flex-basis: 100%; }
	.k-form--inline .k-form__fields { flex-wrap: wrap; }
	.k-form--inline .k-field, .k-form--inline .k-field--submit { flex: 0 0 100%; }
	.k-form--inline .k-field--submit .k-btn { width: 100%; }
	.k-form--card, .k-form--steps, .k-form--has-steps { --_p: 22px; }
	.k-form__plabel { display: none; }
}

/* ---------- Services Grid ---------- */
.k-services { --_ts: 1.2rem; --_cols: var(--kb-cols, 3); --_gapv: var(--kb-gap, 28px); }
.k-services .k-svc-grid { grid-template-columns: repeat(var(--_cols), minmax(0, 1fr)); gap: var(--_gapv); }
.k-services--card .k-svc:hover, .k-services--left .k-svc:hover { border-color: var(--_accent); }
.k-services .k-svc__icon { --_isz: var(--kb-is, 28px); width: calc(var(--_isz) * 2.1); height: calc(var(--_isz) * 2.1); border-radius: 16px; background: color-mix(in srgb, var(--_accent) 10%, transparent); color: var(--_accent); transition: background-color .25s ease, color .25s ease; }
.k-services .k-svc:hover .k-svc__icon { background: var(--_accent); color: #fff; }
.k-services__empty { padding: 18px; border: 1px dashed var(--k-border); border-radius: var(--k-radius); text-align: center; }

/* ---------- Icon List ---------- */
.k-icon-list { --_cols: var(--kb-cols, 1); --_gapv: var(--kb-gap, 12px); list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--_cols), minmax(0, 1fr)); gap: var(--_gapv) 24px; }
.k-ilist__item { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
.k-icon-list .k-icon-wrap { --_isz: var(--kb-is, 20px); margin-top: .15em; }
.k-icon-list .k-ilist__text { flex: 1; }

@media (max-width: 1024px) {
	.k-services { --_cols: var(--kb-cols-t, min(var(--kb-cols, 3), 2)); --_gapv: var(--kb-gap-t, var(--kb-gap, 24px)); }
	.k-icon-list { --_cols: var(--kb-cols-t, var(--kb-cols, 1)); }
}
@media (max-width: 767px) {
	.k-services { --_cols: var(--kb-cols-m, 1); --_gapv: var(--kb-gap-m, var(--kb-gap-t, var(--kb-gap, 18px))); }
	.k-icon-list { --_cols: var(--kb-cols-m, 1); }
}
