/*
Theme Name: Kaducejus
Theme URI: https://kaducejus.lt
Author: UAB Kaducėjus
Description: Refined logistics theme for UAB Kaducėjus — part of the 2B Group, Klaipėda.
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
Version: 3.5.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kaducejus
*/

/* =====================================================================
   DESIGN TOKENS — aligned with 2B Group visual identity
   (deep midnight navy + gray + white, motion-line motif, no accent hue)
   ===================================================================== */
:root {
	/* Ink (the group's midnight navy) */
	--ink:    #0B0E3D;
	--ink-2:  #171B55;
	--ink-3:  #262B70;

	/* Signal — a restrained blue kept inside the navy family, used sparingly for interactive states */
	--signal:    #3B4CDB;
	--signal-dk: #2C3AB0;

	/* Gray */
	--gray:   #6B6B72;
	--gray-2: #C4C4C9;

	/* Paper */
	--paper:   #FFFFFF;
	--paper-2: #F6F6F9;
	--paper-3: #EDEDF2;

	/* Text */
	--tx:    #0B0E3D;
	--tx-2:  #4A4A57;
	--tx-3:  #6B6B72;

	/* Text on ink */
	--txw:   #FFFFFF;
	--txw-2: rgba(255,255,255,0.60);
	--txw-3: rgba(255,255,255,0.36);

	/* Lines */
	--line:    rgba(11,14,61,0.11);
	--line-2:  rgba(11,14,61,0.06);
	--line-w:  rgba(255,255,255,0.14);
	--line-w2: rgba(255,255,255,0.07);

	/* Layout */
	--nav-h:  80px;
	--sec:    clamp(4.5rem, 9vw, 8rem);
	--px:     clamp(1.25rem, 5vw, 4rem);
	--mxw:    1280px;

	/* Radii — soft, modern rounding (matches the sibling Transpakas theme) */
	--r:    16px;
	--r-sm: 10px;

	/* Shadows — ink-tinted, not plain black */
	--sh-1: 0 1px 2px rgba(11,14,61,0.05), 0 6px 20px rgba(11,14,61,0.07);
	--sh-2: 0 4px 10px rgba(11,14,61,0.08), 0 16px 36px rgba(11,14,61,0.12);
	--sh-3: 0 8px 20px rgba(11,14,61,0.10), 0 28px 60px rgba(11,14,61,0.16);
}

/* =====================================================================
   RESET
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	background: var(--paper);
	color: var(--tx);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	line-height: 1.65;
	font-size: 1rem;
}
img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4, h5, h6 {
	font-family: 'Archivo', 'Inter', system-ui, sans-serif;
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--tx);
	text-wrap: balance;
}

/* =====================================================================
   WORDPRESS / FSE FIXES
   ===================================================================== */
.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part { top: 46px; } }
.wp-site-blocks { padding-top: 0 !important; padding-bottom: 0 !important; }
.wp-site-blocks > * { margin-block: 0 !important; }
.wp-block-shortcode { display: block; }
header.wp-block-template-part .wp-block-group { background-color: transparent !important; }
footer.wp-block-template-part .wp-block-group { background-color: transparent !important; }

/* =====================================================================
   LAYOUT
   ===================================================================== */
.kc-inner {
	width: 100%;
	max-width: calc(var(--mxw) + 2 * var(--px));
	margin-inline: auto;
	padding-inline: var(--px);
}

/* =====================================================================
   MOTION-LINE MOTIF
   ===================================================================== */
.kc-lines {
	display: inline-flex; flex-direction: column; gap: 3px;
	width: 22px; flex-shrink: 0;
}
.kc-lines span { display: block; height: 2px; background: currentColor; border-radius: 1px; }
.kc-lines span:nth-child(1) { width: 100%; }
.kc-lines span:nth-child(2) { width: 68%; }
.kc-lines span:nth-child(3) { width: 40%; }

/* Eyebrow / section label */
.kc-eyebrow {
	display: inline-flex; align-items: center; gap: 0.65rem;
	font-size: 0.72rem; font-weight: 600;
	letter-spacing: 0.22em; text-transform: uppercase;
	color: var(--gray);
	margin-bottom: 1.1rem;
}
.kc-eyebrow .kc-lines { color: var(--ink); }

.kc-heading {
	font-size: clamp(1.9rem, 4vw, 2.9rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--tx);
	margin-bottom: 0.55em;
}
.kc-subheading {
	font-size: clamp(0.94rem, 1.4vw, 1.05rem);
	color: var(--tx-2);
	line-height: 1.75;
	max-width: 56ch;
}

/* =====================================================================
   BUTTON SYSTEM
   ===================================================================== */
.kc-btn {
	display: inline-flex; align-items: center; gap: 0.65rem;
	padding: 0.9rem 1.85rem;
	border-radius: var(--r-sm);
	font-weight: 600; font-size: 0.88rem;
	letter-spacing: -0.005em;
	text-decoration: none !important;
	transition: background 0.2s, color 0.2s, transform 0.18s, border-color 0.2s, box-shadow 0.2s;
	white-space: nowrap;
	border: 1.5px solid transparent; cursor: pointer; line-height: 1;
	position: relative; overflow: hidden;
}
.kc-btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.kc-btn--navy {
	background: var(--ink); color: #fff !important;
	box-shadow: var(--sh-1);
}
.kc-btn--navy:hover { background: var(--ink-2); box-shadow: var(--sh-2); transform: translateY(-2px) scale(1.015); }

.kc-btn--signal {
	background: var(--signal); color: #fff !important;
	box-shadow: 0 6px 20px rgba(59,76,219,0.28);
}
.kc-btn--signal:hover { background: var(--signal-dk); transform: translateY(-2px) scale(1.015); }

.kc-btn--outline {
	background: transparent; color: var(--tx) !important;
	border: 1.5px solid var(--line);
}
.kc-btn--outline:hover { border-color: var(--ink); background: var(--paper-2); }

.kc-btn--ghost {
	background: transparent; color: #fff !important;
	border: 1.5px solid var(--line-w);
}
.kc-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,0.06); }

.kc-btn--white {
	background: #fff; color: var(--ink) !important;
	box-shadow: var(--sh-2);
}
.kc-btn--white:hover { box-shadow: var(--sh-3); transform: translateY(-2px); }

.kc-btn::before {
	content: "";
	position: absolute; top: 0; left: -60%;
	width: 40%; height: 100%;
	background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
	transform: skewX(-18deg);
	transition: left 0.55s cubic-bezier(0.16,1,0.3,1);
	pointer-events: none;
}
.kc-btn:hover::before { left: 130%; }
.kc-btn--outline::before,
.kc-btn--white::before { background: linear-gradient(115deg, transparent 0%, rgba(11,14,61,0.06) 50%, transparent 100%); }

/* =====================================================================
   HEADER
   ===================================================================== */
header.wp-block-template-part {
	position: fixed; inset-block-start: 0; inset-inline: 0;
	z-index: 900; height: var(--nav-h);
	background: rgba(255,255,255,0.92);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow 0.3s, transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
header.wp-block-template-part.kc-scrolled { box-shadow: var(--sh-1); }
header.wp-block-template-part.kc-header-hidden { transform: translateY(-100%); }

.kc-header-inner {
	height: var(--nav-h);
	display: flex; align-items: center; justify-content: space-between;
	padding-inline: var(--px);
	max-width: calc(var(--mxw) + 2 * var(--px));
	margin-inline: auto;
	gap: 2rem;
}

/* Logo */
.kc-logo-chip {
	display: inline-flex; align-items: center; gap: 0.7rem;
	flex-shrink: 0; position: relative;
}
.kc-logo-v { display: block; object-fit: contain; transition: transform 0.3s cubic-bezier(0.16,1,0.3,1); }
.kc-logo-chip:hover .kc-logo-v { transform: scale(1.03); }
.kc-logo-v--light { display: none; }
.kc-logo-chip::after {
	content: "";
	position: absolute; left: 0; bottom: -4px;
	width: 0; height: 2px; background: var(--signal);
	transition: width 0.3s cubic-bezier(0.16,1,0.3,1);
}
.kc-logo-chip:hover::after { width: 100%; }

/* Desktop nav */
.kc-nav {
	display: flex; align-items: center;
	list-style: none; flex: 1; justify-content: center; gap: 0.25rem;
}
.kc-nav a {
	display: inline-flex; align-items: center;
	padding: 0.5em 1.1em;
	font-size: 0.87rem; font-weight: 500;
	color: var(--tx-2); transition: color 0.2s;
	position: relative;
}
.kc-nav a::after {
	content: ""; position: absolute;
	bottom: 0.2em; left: 1.1em; right: 1.1em;
	height: 2px; background: var(--ink); border-radius: 1px;
	transform: scaleX(0); transform-origin: left;
	transition: transform 0.26s cubic-bezier(0.16,1,0.3,1);
}
.kc-nav a:hover,
.kc-nav a[aria-current="page"] { color: var(--tx); }
.kc-nav a:hover::after,
.kc-nav a[aria-current="page"]::after { transform: scaleX(1); }

/* Header right */
.kc-header-right { display: flex; align-items: center; gap: 0.9rem; flex-shrink: 0; }

.kc-phone-link {
	display: inline-flex; align-items: center; gap: 0.45rem;
	font-size: 0.85rem; font-weight: 600; color: var(--tx-2);
	transition: color 0.2s;
}
.kc-phone-link svg { width: 14px; height: 14px; color: var(--ink); }
.kc-phone-link:hover { color: var(--tx); }

.kc-header-btn {
	background: var(--ink); color: #fff !important;
	padding: 0.6rem 1.25rem;
	border-radius: var(--r-sm);
	font-size: 0.82rem; font-weight: 600;
	transition: background 0.2s;
	white-space: nowrap;
}
.kc-header-btn:hover { background: var(--ink-2); }

/* Hamburger button */
.kc-menu-btn {
	display: none;
	background: none; border: none; cursor: pointer;
	width: 40px; height: 40px;
	align-items: center; justify-content: center;
	border-radius: var(--r-sm); padding: 0;
	transition: background 0.2s;
}
.kc-menu-btn:hover { background: var(--paper-2); }
.kc-menu-btn span,
.kc-menu-btn span::before,
.kc-menu-btn span::after {
	display: block; width: 22px; height: 2px;
	background: var(--tx); border-radius: 2px;
	transition: transform 0.26s ease, opacity 0.2s; position: relative;
}
.kc-menu-btn span::before { content: ""; position: absolute; top: -7px; }
.kc-menu-btn span::after  { content: ""; position: absolute; top:  7px; }
.kc-menu-btn[aria-expanded="true"] span         { background: transparent; }
.kc-menu-btn[aria-expanded="true"] span::before { transform: rotate(45deg) translate(5px,5px); }
.kc-menu-btn[aria-expanded="true"] span::after  { transform: rotate(-45deg) translate(5px,-5px); }

/* Mobile nav drawer */
.kc-mobile-nav {
	display: none; position: fixed; inset: 0;
	z-index: 800;
	background: rgba(11,14,61,0.45);
	backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
	opacity: 0; transition: opacity 0.28s ease;
}
.kc-mobile-nav.is-open { opacity: 1; }
.kc-mobile-nav.is-open .kc-mobile-panel { transform: translateX(0); }
.kc-mobile-nav[hidden] { display: none !important; }

.kc-mobile-panel {
	position: absolute; inset-block: 0; right: 0;
	width: min(360px, 92vw);
	background: #fff; box-shadow: var(--sh-3);
	padding: calc(var(--nav-h) + 1.5rem) 2rem 2.5rem;
	transform: translateX(100%);
	transition: transform 0.36s cubic-bezier(0.16,1,0.3,1);
	overflow-y: auto; display: flex; flex-direction: column;
}
.kc-mobile-logo {
	display: flex; align-items: center; gap: 0.75rem;
	padding-bottom: 1.5rem; margin-bottom: 1.5rem;
	border-bottom: 1px solid var(--line);
}
.kc-mobile-links { list-style: none; display: flex; flex-direction: column; gap: 0.1rem; flex: 1; }
.kc-mobile-links a {
	display: block; padding: 0.9rem 0;
	font-size: 1.08rem; font-weight: 600; color: var(--tx);
	border-bottom: 1px solid var(--line);
	transition: color 0.18s, padding-left 0.22s;
}
.kc-mobile-links a:hover { color: var(--signal); padding-left: 0.5rem; }
.kc-mobile-cta { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.kc-mobile-cta .kc-btn { justify-content: center; }

@media (max-width: 1080px) { .kc-phone-link { display: none; } }
@media (max-width: 820px) {
	.kc-nav { display: none; }
	.kc-menu-btn { display: flex; }
	.kc-mobile-nav { display: block; }
}
@media (max-width: 520px) { .kc-header-btn { display: none; } }

/* =====================================================================
   SKIP LINK
   ===================================================================== */
.kc-skip {
	position: fixed; top: -100px; left: 1rem;
	background: var(--ink); color: #fff;
	padding: 0.6rem 1.2rem;
	border-radius: var(--r-sm); font-weight: 700;
	z-index: 9999; transition: top 0.2s;
	font-size: 0.875rem;
}
.kc-skip:focus { top: 1rem; }

/* =====================================================================
   SCROLL PROGRESS BAR
   ===================================================================== */
.kc-progress {
	position: fixed; top: 0; left: 0; right: 0;
	height: 2px; z-index: 1000;
	transform-origin: left;
	background: var(--signal);
	transform: scaleX(0);
	will-change: transform;
}

/* =====================================================================
   HERO
   ===================================================================== */
/* Full-bleed cinematic hero — identical structure to the sibling
   Transpakas theme: photo covers the whole band, copy sits directly
   on top in white, a frosted glass stat bar anchors the bottom. */
.kc-hero {
	position: relative;
	height: 100svh;
	padding-top: var(--nav-h);
	background: var(--ink);
	overflow: hidden;
}

.kc-hero-left {
	position: relative; z-index: 1;
	height: 100%;
	width: 100%;
	display: flex; flex-direction: column;
	min-width: 0;
}

.kc-signal-main {
	position: relative; z-index: 1;
	flex: 1; min-width: 0;
	display: flex; flex-direction: column; justify-content: center;
	padding: clamp(0.75rem, 3vh, 2rem) clamp(48px, 7vw, 140px);
}

@keyframes kc-rise {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: translateY(0); }
}
.kc-signal-eyebrow, .kc-h1-line, .kc-signal-sub, .kc-signal-actions {
	animation: kc-rise 0.5s ease-out both;
}
.kc-signal-eyebrow      { animation-delay: 0ms; }
.kc-h1-line:nth-child(1) { animation-delay: 60ms; }
.kc-h1-line:nth-child(2) { animation-delay: 120ms; }
.kc-signal-sub          { animation-delay: 180ms; }
.kc-signal-actions      { animation-delay: 240ms; }
@media (prefers-reduced-motion: reduce) {
	.kc-signal-eyebrow, .kc-h1-line, .kc-signal-sub, .kc-signal-actions { animation: none; }
}

.kc-signal-eyebrow {
	display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.85rem;
	font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
	color: var(--txw-2);
	margin-bottom: clamp(0.6rem, 3vh, 1.75rem);
	min-width: 0;
}
.kc-signal-eyebrow-line { display: block; width: 40px; height: 1px; background: var(--signal); flex-shrink: 0; }

.kc-signal-h1 {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: clamp(1.9rem, min(5.2vw, 6.5vh), 5.25rem);
	font-weight: 700;
	color: #fff;
	letter-spacing: -0.03em;
	line-height: 1.04;
	margin-bottom: clamp(0.5rem, 2.5vh, 1.5rem);
	text-shadow: 0 2px 24px rgba(0,0,0,0.25);
	min-width: 0;
}
.kc-h1-line { display: block; }
.kc-signal-h1 .kc-accent { font-style: italic; color: var(--signal); font-weight: 700; filter: drop-shadow(0 2px 10px rgba(59,76,219,0.5)); }

.kc-signal-sub {
	font-size: clamp(0.92rem, 1.6vh, 1.0625rem);
	color: var(--txw-2); line-height: 1.65;
	max-width: 44ch; margin-bottom: clamp(0.9rem, 3.5vh, 2.5rem);
	min-width: 0;
}

.kc-signal-actions { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; min-width: 0; }

.kc-btn--hero-primary {
	display: inline-flex; align-items: center; gap: 0.6rem;
	height: 52px; padding-inline: 28px; border-radius: var(--r-sm);
	background: linear-gradient(135deg, var(--signal), var(--signal-dk)); color: #fff !important;
	font-weight: 600; font-size: 0.95rem;
	box-shadow: 0 8px 24px rgba(59,76,219,0.45);
	transition: box-shadow 0.2s, transform 0.2s;
}
.kc-btn--hero-primary svg { width: 16px; height: 16px; transition: transform 0.2s; }
.kc-btn--hero-primary:hover { box-shadow: 0 10px 30px rgba(59,76,219,0.6); transform: translateY(-2px); }
.kc-btn--hero-primary:hover svg { transform: translateX(4px); }

.kc-btn--hero-ghost {
	display: inline-flex; align-items: center;
	height: 52px; padding-block: 0;
	color: #fff !important;
	font-weight: 600; font-size: 0.95rem; background: transparent;
	border: none; border-bottom: 1px solid rgba(255,255,255,0.5); border-radius: 0;
	transition: color 0.2s, border-color 0.2s;
}
.kc-btn--hero-ghost:hover { color: var(--signal) !important; border-color: var(--signal); }

@media (max-width: 640px) {
	.kc-signal-actions { flex-direction: column; align-items: stretch; gap: 1rem; }
	.kc-btn--hero-primary { justify-content: center; }
	.kc-btn--hero-ghost { justify-content: center; }
}

/* Stats — a frosted glass bar anchored to the bottom of the photo */
.kc-signal-stats {
	position: relative; z-index: 1;
	flex-shrink: 0; min-width: 0;
	display: grid; grid-template-columns: repeat(4, 1fr);
	background: rgba(11,14,61,0.42);
	backdrop-filter: blur(14px) saturate(1.4);
	-webkit-backdrop-filter: blur(14px) saturate(1.4);
	border-top: 1px solid rgba(255,255,255,0.16);
}
.kc-signal-stat {
	display: flex; flex-direction: column; gap: 0.3rem;
	padding: clamp(0.6rem, 2.2vh, 1.4rem) clamp(1rem, 2vw, 1.5rem);
	border-right: 1px solid rgba(255,255,255,0.14);
	min-width: 0;
}
.kc-signal-stat:last-child { border-right: none; }
.kc-hero-stat-val {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: clamp(1.4rem, 4vh, 2.1rem); font-weight: 600; color: #fff;
	font-variant-numeric: tabular-nums; letter-spacing: -0.01em; line-height: 1;
}
.kc-hero-stat-unit { font-size: 0.6em; font-weight: 600; color: var(--signal); margin-left: 0.1em; }
.kc-signal-stat-label { display: block; width: 100%; font-size: 0.75rem; color: var(--txw-2); text-transform: uppercase; letter-spacing: 0.1em; min-width: 0; }

@media (max-width: 640px) {
	.kc-signal-stats { grid-template-columns: repeat(2, 1fr); }
	.kc-signal-stat:nth-child(2n) { border-right: none; }
	.kc-signal-stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.14); }
}

/* Photo — full-bleed background behind the whole hero */
.kc-hero-visual { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.kc-hero-photo {
	position: absolute; inset: 0; width: 100%; height: 100%;
	object-fit: cover; object-position: center 42%;
	filter: saturate(1.08) contrast(1.03) brightness(0.97);
	transform: scale(1.05);
	clip-path: inset(0 0 0 100%);
	animation: kc-photo-reveal 1s ease-out 100ms both;
}
@keyframes kc-photo-reveal { to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: reduce) { .kc-hero-photo { animation: none; clip-path: inset(0); } }

.kc-hero-photo-fade {
	position: absolute; inset: 0; z-index: 1; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(11,14,61,0.94) 0%, rgba(11,14,61,0.86) 26%, rgba(11,14,61,0.58) 48%, rgba(11,14,61,0.32) 68%, rgba(11,14,61,0.4) 100%),
		linear-gradient(180deg, rgba(11,14,61,0.3) 0%, transparent 22%, transparent 68%, rgba(11,14,61,0.45) 100%);
}

@media (max-width: 1024px) {
	.kc-hero { height: auto; min-height: 100svh; }
	.kc-hero-left { height: auto; min-height: calc(100svh - var(--nav-h)); }
	.kc-signal-main { padding: 4rem clamp(24px, 6vw, 60px) 2.5rem; }
	.kc-hero-photo-fade {
		background:
			linear-gradient(180deg, rgba(11,14,61,0.55) 0%, rgba(11,14,61,0.75) 45%, rgba(11,14,61,0.5) 70%, rgba(11,14,61,0.55) 100%);
	}
}
@media (max-width: 640px) {
	.kc-signal-h1 { font-size: 2.5rem; }
}

/* =====================================================================
   NUMBERS STRIP
   ===================================================================== */
.kc-numbers {
	background: var(--paper); padding-block: clamp(3.5rem, 7vw, 6rem);
	border-bottom: 1px solid var(--line);
	position: relative;
}
.kc-numbers::before {
	content: "";
	position: absolute; top: 0; left: 50%;
	width: 60%; height: 1px; transform: translateX(-50%);
	background: radial-gradient(ellipse 50% 100% at center, rgba(59,76,219,0.35) 0%, transparent 80%);
}

.kc-numbers-grid {
	display: grid; grid-template-columns: repeat(3,1fr);
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
	border-radius: var(--r);
	overflow: hidden;
}

.kc-num-cell {
	padding: 2.4rem 1.9rem;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	position: relative; z-index: 1;
	transition: background 0.22s, transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
}
.kc-num-cell:hover {
	background: var(--paper); transform: translateY(-4px);
	box-shadow: var(--sh-2);
}
.kc-num-cell .kc-lines { color: var(--signal); margin-bottom: 1.1rem; transition: transform 0.3s; }
.kc-num-cell:hover .kc-lines { transform: scaleX(1.15); }

.kc-num-val {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: clamp(2.3rem, 4.4vw, 3.2rem);
	font-weight: 700; color: var(--tx);
	letter-spacing: -0.025em; line-height: 1;
	margin-bottom: 0.55rem;
	font-variant-numeric: tabular-nums;
}
.kc-num-val span { color: var(--signal); }

.kc-num-label {
	font-size: 0.78rem; color: var(--tx-3);
	font-weight: 500;
}

@media (max-width: 700px) { .kc-numbers-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   SERVICES
   ===================================================================== */
.kc-services { padding-block: var(--sec); background: var(--paper); }

.kc-services-head {
	display: flex; align-items: flex-end;
	justify-content: space-between; gap: 2rem;
	margin-bottom: 3.5rem; flex-wrap: wrap;
}
@media (max-width: 600px) {
	.kc-services-head { flex-direction: column; align-items: flex-start; }
	.kc-services-head .kc-btn { width: 100%; justify-content: center; }
}

.kc-svc-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }

.kc-svc-cat {
	position: relative;
	background: #fff;
	border: 1px solid var(--line);
	padding: 2.25rem 2rem 1.75rem;
	transition: box-shadow 0.3s, border-color 0.2s;
}
.kc-svc-cat:hover { box-shadow: var(--sh-2); border-color: var(--paper-3); }
.kc-svc-cat::before,
.kc-svc-cat::after {
	content: ""; position: absolute; width: 14px; height: 14px;
	border-style: solid; border-color: var(--signal);
	opacity: 0; transition: opacity 0.25s; pointer-events: none;
}
.kc-svc-cat::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.kc-svc-cat::after  { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }
.kc-svc-cat:hover::before, .kc-svc-cat:hover::after { opacity: 1; }

.kc-svc-cat-head {
	display: flex; align-items: center; gap: 1rem;
	padding-bottom: 1.4rem;
	border-bottom: 1px solid var(--line);
	margin-bottom: 0.5rem;
}
.kc-svc-code {
	font-family: 'JetBrains Mono', ui-monospace, monospace;
	font-size: 0.66rem; font-weight: 600; letter-spacing: 0.08em;
	color: var(--signal); background: rgba(59,76,219,0.07);
	padding: 0.3rem 0.5rem; flex-shrink: 0;
}
.kc-svc-cat-icon {
	width: 46px; height: 46px; flex-shrink: 0;
	background: var(--ink);
	border-radius: var(--r-sm);
	display: flex; align-items: center; justify-content: center;
	color: #fff;
	transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), background 0.2s;
}
.kc-svc-cat:hover .kc-svc-cat-icon { background: var(--signal); transform: rotate(-6deg) scale(1.06); }
.kc-svc-cat-icon svg { width: 20px; height: 20px; }
.kc-svc-cat-name {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: 1.08rem; font-weight: 700;
	color: var(--tx); letter-spacing: -0.015em; line-height: 1.3;
}

.kc-svc-list { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.kc-svc-list li {
	display: flex; align-items: flex-start; gap: 0.72rem;
	font-size: 0.88rem; color: var(--tx-2); line-height: 1.5;
	transition: color 0.18s;
}
.kc-svc-list li:hover { color: var(--tx); }
.kc-svc-list li::before {
	content: ""; flex-shrink: 0;
	width: 22px; height: 2px; margin-top: 0.6em;
	background: var(--gray-2);
}
.kc-svc-list li:hover::before { background: var(--signal); }
@media (max-width: 700px) { .kc-svc-cats { grid-template-columns: 1fr; } }

/* =====================================================================
   ABOUT — INTRO
   ===================================================================== */
.kc-about-intro { padding-block: var(--sec); background: var(--paper); }

.kc-about-grid {
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	gap: clamp(2.5rem, 6vw, 5.5rem);
	align-items: center;
}

/* Wrapper carries the frame — two open corner brackets, floated
   outside the photo's own edges, camera-viewfinder style. */
.kc-about-visual-wrap { position: relative; padding: 16px; }
.kc-about-visual-wrap::before,
.kc-about-visual-wrap::after {
	content: ""; position: absolute; width: 44px; height: 44px;
	border-style: solid; border-color: var(--signal); pointer-events: none;
}
.kc-about-visual-wrap::before { top: 0; left: 0; border-width: 3px 0 0 3px; }
.kc-about-visual-wrap::after  { bottom: 0; right: 0; border-width: 0 3px 3px 0; }

.kc-about-visual-card {
	position: relative; overflow: hidden;
	border-radius: var(--r);
	aspect-ratio: 4 / 3;
	box-shadow: var(--sh-3);
	background-size: cover; background-position: center;
	transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
}
.kc-about-visual-wrap:hover .kc-about-visual-card { transform: scale(1.02); }
.kc-about-visual-card::before {
	content: "";
	position: absolute; inset: 0; pointer-events: none;
	background: linear-gradient(200deg, rgba(11,14,61,0.55) 0%, rgba(11,14,61,0.05) 45%, rgba(11,14,61,0.5) 100%);
}
.kc-about-visual-card::after {
	content: "";
	position: absolute; inset: 0; pointer-events: none;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10);
	border-radius: var(--r);
}

.kc-about-text { display: flex; flex-direction: column; gap: 1.5rem; }
.kc-about-desc { font-size: 0.98rem; color: var(--tx-2); line-height: 1.82; }
.kc-about-desc strong { color: var(--tx); }

@media (max-width: 860px) {
	.kc-about-grid { grid-template-columns: 1fr; }
	.kc-about-visual-wrap { max-width: 520px; margin-inline: auto; }
}

/* =====================================================================
   ABOUT — VALUES GRID
   ===================================================================== */
.kc-about-values { padding-block: var(--sec); background: var(--paper-2); }

.kc-value-grid {
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem; margin-top: 3rem;
}
.kc-value-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 2rem 1.6rem;
	display: flex; flex-direction: column; gap: 1rem;
	transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s, border-color 0.2s;
}
.kc-value-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--paper-3); }
.kc-value-icon {
	width: 46px; height: 46px; flex-shrink: 0;
	background: var(--ink); border-radius: var(--r-sm);
	display: flex; align-items: center; justify-content: center;
	color: #fff; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), background 0.2s;
}
.kc-value-icon svg { width: 20px; height: 20px; }
.kc-value-card:hover .kc-value-icon { background: var(--signal); transform: rotate(-6deg) scale(1.06); }
.kc-value-card strong {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: 1.02rem; font-weight: 700; color: var(--tx); letter-spacing: -0.01em;
}
.kc-value-card span { font-size: 0.86rem; color: var(--tx-2); line-height: 1.6; }

@media (max-width: 980px) { .kc-value-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .kc-value-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   ABOUT — CERTIFICATES GRID (3-up, same card language as values)
   ===================================================================== */
.kc-about-certs { padding-block: var(--sec); background: var(--paper); }
.kc-cert-grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem; margin-top: 3rem;
}
.kc-cert-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 2rem 1.75rem;
	display: flex; flex-direction: column; gap: 1rem;
	transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s, border-color 0.2s;
}
.kc-cert-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--paper-3); }
.kc-cert-icon {
	width: 46px; height: 46px; flex-shrink: 0;
	background: var(--ink); border-radius: var(--r-sm);
	display: flex; align-items: center; justify-content: center;
	color: #fff; transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), background 0.2s;
}
.kc-cert-icon svg { width: 20px; height: 20px; }
.kc-cert-card:hover .kc-cert-icon { background: var(--signal); transform: rotate(-6deg) scale(1.06); }
.kc-cert-card strong {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: 1.02rem; font-weight: 700; color: var(--tx); letter-spacing: -0.01em;
}
.kc-cert-card span { font-size: 0.86rem; color: var(--tx-2); line-height: 1.6; }
@media (max-width: 760px) { .kc-cert-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   ABOUT — FLEET/FACTS BAND
   ===================================================================== */
.kc-factband { background: var(--ink); padding-block: var(--sec); position: relative; overflow: hidden; }
.kc-factband::before {
	content: "";
	position: absolute; inset: 0; pointer-events: none;
	background-image:
		radial-gradient(ellipse 55% 55% at 10% -15%, rgba(59,76,219,0.42) 0%, transparent 62%),
		radial-gradient(ellipse 50% 65% at 108% 115%, rgba(59,76,219,0.3) 0%, transparent 65%);
}
.kc-factband::after { content: none; }
.kc-factband-head {
	position: relative; z-index: 1;
	display: flex; align-items: flex-end; justify-content: space-between;
	gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap;
}
.kc-factband-head .kc-eyebrow { color: var(--gray); }
.kc-factband-head .kc-eyebrow .kc-lines { color: var(--signal); }
.kc-factband-head .kc-heading { color: #fff; margin-bottom: 0.4rem; }
.kc-factband-head .kc-subheading { color: var(--txw-2); }

.kc-factband-grid {
	position: relative; z-index: 1;
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
}
.kc-factband-cell {
	padding: 2rem 1.5rem;
	background: rgba(255,255,255,0.045);
	border: 1px solid rgba(255,255,255,0.09);
	border-radius: var(--r);
	box-shadow: var(--sh-1);
	transition: background 0.22s, transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s, border-color 0.2s;
}
.kc-factband-cell:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); transform: translateY(-4px); box-shadow: var(--sh-2); }
.kc-factband-val {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: clamp(2rem, 3.4vw, 2.6rem);
	font-weight: 700; color: #fff;
	letter-spacing: -0.02em; line-height: 1;
	margin-bottom: 0.55rem;
	font-variant-numeric: tabular-nums;
}
.kc-factband-val span { color: var(--signal); font-size: 0.6em; }
.kc-factband-label { font-size: 0.78rem; color: var(--txw-3); line-height: 1.4; }

@media (max-width: 980px) { .kc-factband-grid { grid-template-columns: repeat(2, 1fr); } }

/* =====================================================================
   ABOUT — META BAR
   ===================================================================== */
.kc-about-metabar {
	background: var(--paper); border-bottom: 1px solid var(--line);
	padding: 1.35rem var(--px); text-align: center;
}
.kc-about-metabar-inner {
	max-width: calc(var(--mxw) + 2 * var(--px)); margin-inline: auto;
	display: flex; align-items: center; justify-content: center;
	gap: 0.6rem 2rem; flex-wrap: wrap;
	font-size: 0.82rem; color: var(--tx-3);
}
.kc-about-metabar-inner strong { color: var(--tx-2); }
.kc-about-metabar-inner a { color: var(--signal); font-weight: 600; }
.kc-about-metabar-sep { color: var(--gray-2); }

/* =====================================================================
   CTA BAND
   ===================================================================== */
.kc-cta {
	background: linear-gradient(125deg, var(--ink) 0%, var(--ink-2) 100%);
	padding: clamp(4rem,8vw,7rem) var(--px);
	text-align: center; position: relative; overflow: hidden;
}
.kc-cta::before {
	content: "";
	position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(ellipse 50% 70% at 85% 20%, rgba(59,76,219,0.25) 0%, transparent 60%);
}
.kc-cta-inner {
	position: relative; z-index: 1;
	max-width: 620px; margin-inline: auto;
	display: flex; flex-direction: column; align-items: center;
}
.kc-cta-mark { color: var(--signal); margin-bottom: 1.75rem; }
.kc-cta h2 {
	font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700;
	color: #fff; letter-spacing: -0.02em; margin-bottom: 0.75rem;
}
.kc-cta p { font-size: 1.02rem; color: var(--txw-2); margin-bottom: 2.25rem; max-width: 46ch; }

/* =====================================================================
   LOCATIONS / CONTACTS
   ===================================================================== */
.kc-locations { padding-block: var(--sec); background: var(--paper-2); }

.kc-locs-grid {
	display: grid; grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}

.kc-loc-card {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--r);
	padding: 2.5rem;
	position: relative; overflow: hidden;
	box-shadow: var(--sh-1);
	transition: box-shadow 0.3s, transform 0.3s cubic-bezier(0.16,1,0.3,1);
}
.kc-loc-card:hover { box-shadow: var(--sh-2); }

.kc-loc-tag {
	display: inline-flex; align-items: center; gap: 0.5rem;
	color: var(--gray);
	font-size: 0.72rem; font-weight: 600;
	letter-spacing: 0.16em; text-transform: uppercase;
	margin-bottom: 1.25rem;
}
.kc-loc-tag .kc-lines { color: var(--signal); }
.kc-loc-city {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: 1.85rem; font-weight: 700;
	color: var(--tx); letter-spacing: -0.02em;
	margin-bottom: 0.4rem;
}
.kc-loc-addr {
	font-size: 0.86rem; color: var(--tx-3);
	margin-bottom: 2rem; line-height: 1.55;
}

.kc-contacts { display: flex; flex-direction: column; gap: 0.7rem; }
.kc-person {
	display: flex; flex-direction: column; gap: 0.08rem;
	padding-bottom: 0.7rem;
	border-bottom: 1px solid var(--line);
}
.kc-person:last-child { border-bottom: none; padding-bottom: 0; }
.kc-person-role {
	font-size: 0.68rem; font-weight: 600;
	color: var(--tx-3); text-transform: uppercase; letter-spacing: 0.08em;
}
.kc-person-name { font-size: 0.89rem; font-weight: 600; color: var(--tx); }
.kc-person-phone,
.kc-person-email {
	display: inline-flex; align-items: center; gap: 0.4rem;
	font-size: 0.85rem; color: var(--tx-2); transition: color 0.18s;
}
.kc-person-phone:hover,
.kc-person-email:hover { color: var(--signal); }
.kc-person-phone svg,
.kc-person-email svg { width: 12px; height: 12px; color: var(--gray); }

.kc-loc-email {
	display: inline-flex; align-items: center; gap: 0.5rem;
	color: var(--signal); font-size: 0.88rem; font-weight: 600;
	margin-top: 1.35rem; transition: opacity 0.2s;
}
.kc-loc-email:hover { opacity: 0.72; }
.kc-loc-email svg { width: 14px; height: 14px; }

.kc-loc-map { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh-1); margin-top: 1.5rem; }
.kc-loc-map iframe { display: block; width: 100%; height: 260px; border: 0; }

@media (max-width: 760px) { .kc-locs-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   FOOTER
   ===================================================================== */
.kc-footer-wrap { background: var(--ink); }

.kc-footer-top {
	display: grid; grid-template-columns: 2fr 1fr 1fr;
	gap: 3.5rem;
	padding: clamp(3rem,6vw,5rem) var(--px);
	max-width: calc(var(--mxw) + 2 * var(--px));
	margin-inline: auto;
	border-bottom: 1px solid var(--line-w2);
}

.kc-footer-brand { display: flex; flex-direction: column; gap: 1.1rem; }
.kc-footer-desc {
	font-size: 0.85rem; color: var(--txw-3);
	line-height: 1.75; max-width: 34ch;
}

.kc-footer-col h5 {
	font-size: 0.68rem; font-weight: 600;
	letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--txw-3); margin-bottom: 1.1rem;
}
.kc-footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.kc-footer-links a {
	font-size: 0.88rem; color: var(--txw-2);
	transition: color 0.2s, padding-left 0.22s; display: block;
}
.kc-footer-links a:hover { color: #fff; padding-left: 0.38rem; }

.kc-footer-contacts { display: flex; flex-direction: column; gap: 0.65rem; }
.kc-footer-contact {
	display: flex; align-items: flex-start; gap: 0.55rem;
	font-size: 0.85rem; color: var(--txw-2); line-height: 1.4;
	transition: color 0.2s;
}
a.kc-footer-contact:hover { color: #fff; }
.kc-footer-contact svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 2px; color: var(--signal); }

.kc-footer-bottom {
	display: flex; align-items: center; justify-content: space-between;
	gap: 1rem; flex-wrap: wrap;
	padding: 1.3rem var(--px);
	max-width: calc(var(--mxw) + 2 * var(--px));
	margin-inline: auto;
	font-size: 0.74rem; color: var(--txw-3);
}
.kc-footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }

@media (max-width: 840px) {
	.kc-footer-top { grid-template-columns: 1fr 1fr; }
	.kc-footer-brand { grid-column: 1/-1; }
}
@media (max-width: 520px) {
	.kc-footer-top { grid-template-columns: 1fr; }
	.kc-footer-bottom { flex-direction: column; text-align: center; }
}

/* =====================================================================
   PAGE HERO (sub-pages)
   ===================================================================== */
.kc-page-hero {
	padding: calc(var(--nav-h) + 4.5rem) var(--px) 4rem;
	background: var(--ink);
	position: relative; overflow: hidden;
}
.kc-page-hero::before {
	content: "";
	position: absolute; inset: 0; pointer-events: none;
	background: radial-gradient(ellipse 55% 80% at 92% 50%, rgba(59,76,219,0.22) 0%, transparent 62%);
}
.kc-page-hero-inner { position: relative; z-index: 1; max-width: var(--mxw); margin-inline: auto; }
.kc-page-hero::after {
	content: "Kaducėjus";
	position: absolute;
	right: var(--px); bottom: 0;
	transform: translateY(15%);
	font-family: 'Inter', system-ui, sans-serif;
	font-weight: 500;
	text-transform: uppercase;
	font-size: clamp(2.4rem, 5vw, 4rem);
	letter-spacing: 0.55em;
	line-height: 1;
	padding-left: 0.55em;
	white-space: nowrap;
	pointer-events: none;
	color: #fff;
	z-index: 0;
}
@media (max-width: 980px) { .kc-page-hero::after { display: none; } }
.kc-page-hero .kc-eyebrow { color: var(--gray); }
.kc-page-hero .kc-eyebrow .kc-lines { color: var(--signal); }
.kc-page-hero h1,
.kc-page-hero .wp-block-post-title {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: clamp(2.2rem, 5vw, 3.6rem);
	font-weight: 700; color: #fff;
	letter-spacing: -0.025em; line-height: 1.08;
	margin: 0;
}
.kc-page-hero-sub {
	font-size: clamp(0.9rem, 1.5vw, 1.02rem);
	color: var(--txw-2); line-height: 1.72;
	max-width: 54ch; margin-top: 1rem;
}

.kc-page-body,
.kc-page-body .wp-block-post-content,
.kc-page-body .is-layout-flow,
.kc-page-body .is-layout-constrained {
	width: 100%; max-width: 100%; padding: 0; margin-inline: 0;
}
.kc-page-body { padding-block: clamp(3rem,6vw,5rem); }
.kc-page-body .is-layout-constrained > * { max-width: 100%; }
.kc-page-body .wp-block-post-content > :not(.alignwide):not(.alignfull):not(.wp-block-columns) {
	max-width: 46rem; margin-inline: auto;
}

/* =====================================================================
   404 PAGE
   ===================================================================== */
.kc-404 {
	display: flex; align-items: center; justify-content: center;
	min-height: 100svh; padding: calc(var(--nav-h) + 4rem) var(--px) 4rem;
	text-align: center; background: var(--paper-2);
}
.kc-404-inner { max-width: 500px; }
.kc-404-code {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: clamp(6rem, 16vw, 12rem);
	font-weight: 700; color: var(--paper-3);
	letter-spacing: -0.02em; line-height: 1;
	margin-bottom: 0.5rem;
}
.kc-404 h1 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.kc-404 p  { color: var(--tx-3); margin-bottom: 2rem; }

/* =====================================================================
   SCROLL ANIMATIONS
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) {
	.kc-anim,
	.kc-anim-fade {
		opacity: 0; transform: translateY(22px) scale(0.985);
		transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
	}
	.kc-anim-left {
		opacity: 0; transform: translateX(-30px) scale(0.985);
		transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
	}
	.kc-anim-right {
		opacity: 0; transform: translateX(30px) scale(0.985);
		transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
	}
	.kc-anim-zoom {
		opacity: 0; transform: scale(0.94);
		transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
	}
	.kc-anim.kc-in, .kc-anim-fade.kc-in,
	.kc-anim-left.kc-in, .kc-anim-right.kc-in,
	.kc-anim-zoom.kc-in { opacity: 1; transform: none; }

	.kc-anim .kc-lines span,
	.kc-anim-left .kc-lines span,
	.kc-anim-right .kc-lines span {
		transform: scaleX(0); transform-origin: left;
		transition: transform 0.5s cubic-bezier(0.16,1,0.3,1);
	}
	.kc-anim .kc-lines span:nth-child(1),
	.kc-anim-left .kc-lines span:nth-child(1),
	.kc-anim-right .kc-lines span:nth-child(1) { transition-delay: 0.1s; }
	.kc-anim .kc-lines span:nth-child(2),
	.kc-anim-left .kc-lines span:nth-child(2),
	.kc-anim-right .kc-lines span:nth-child(2) { transition-delay: 0.2s; }
	.kc-anim .kc-lines span:nth-child(3),
	.kc-anim-left .kc-lines span:nth-child(3),
	.kc-anim-right .kc-lines span:nth-child(3) { transition-delay: 0.3s; }
	.kc-anim.kc-in .kc-lines span,
	.kc-anim-left.kc-in .kc-lines span,
	.kc-anim-right.kc-in .kc-lines span { transform: scaleX(1); }

	.kc-animate { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1); }
	.kc-animate.is-visible { opacity: 1; transform: none; }
}

/* =====================================================================
   CONTACT FORM
   ===================================================================== */
.kc-form-wrap { padding-block: var(--sec); background: var(--paper); }
.kc-form-card {
	max-width: 760px; margin-inline: auto;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r);
	padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--sh-1);
}
.kc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.kc-form-field { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.kc-form-field label { font-size: 0.76rem; font-weight: 600; color: var(--tx-2); letter-spacing: 0.02em; }
.kc-form-field input,
.kc-form-field textarea {
	width: 100%; padding: 0.8rem 1rem;
	font-family: inherit; font-size: 0.92rem; color: var(--tx);
	background: var(--paper-2); border: 1.5px solid var(--line); border-radius: var(--r-sm);
	transition: border-color 0.2s, background 0.2s;
}
.kc-form-field input:focus, .kc-form-field textarea:focus { outline: none; border-color: var(--signal); background: #fff; }
.kc-form-field textarea { min-height: 140px; resize: vertical; }
.kc-form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kc-form-actions { display: flex; justify-content: flex-end; }
.kc-form-note {
	display: flex; align-items: center; gap: 0.6rem;
	padding: 0.95rem 1.1rem; border-radius: var(--r-sm);
	font-size: 0.88rem; margin-bottom: 1.5rem;
}
.kc-form-note svg { width: 16px; height: 16px; flex-shrink: 0; }
.kc-form-note--ok  { background: rgba(59,76,219,0.08); color: var(--signal-dk); }
.kc-form-note--err { background: rgba(198,58,58,0.08); color: #B23A3A; }
@media (max-width: 640px) { .kc-form-row { grid-template-columns: 1fr; } }

/* =====================================================================
   CARD TILT — JS drives --tilt-x/--tilt-y/--tilt-lift on mousemove
   ===================================================================== */
.kc-svc-cat, .kc-loc-card, .kc-value-card, .kc-cert-card {
	--tilt-x: 0deg; --tilt-y: 0deg; --tilt-lift: 0px;
	transform: perspective(900px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y)) translateY(var(--tilt-lift));
	transition: transform 0.4s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s, border-color 0.2s;
	will-change: transform;
}
.kc-svc-cat:hover, .kc-loc-card:hover, .kc-value-card:hover, .kc-cert-card:hover { transition: box-shadow 0.3s, border-color 0.2s; }
@media (prefers-reduced-motion: reduce) {
	.kc-svc-cat, .kc-loc-card, .kc-value-card, .kc-cert-card { transform: none !important; }
}

/* =====================================================================
   CTA BAND WITH PHOTO (used on front page in place of a plain CTA on
   pages that already sit above a photographic section)
   ===================================================================== */
.kc-cta-band {
	position: relative; overflow: hidden;
	background-size: cover; background-position: center;
	padding: clamp(4rem,9vw,7rem) var(--px);
	display: flex; align-items: center; justify-content: center;
	text-align: center;
}
.kc-cta-band-overlay {
	position: absolute; inset: 0;
	background: linear-gradient(125deg, rgba(11,14,61,0.92) 0%, rgba(23,27,85,0.82) 100%);
}
.kc-cta-band-content { position: relative; z-index: 1; max-width: 620px; }
.kc-cta-band-content h2 { color: #fff; font-size: clamp(1.6rem,3.4vw,2.4rem); margin-bottom: 0.6rem; }
.kc-cta-band-content p { color: var(--txw-2); margin-bottom: 1.75rem; }

/* =====================================================================
   NAUDINGA INFORMACIJA — link tile grid (real page content)
   ===================================================================== */
.kc-info-grid {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1rem; margin: 1.5rem 0 2.5rem;
}
.kc-info-tile {
	display: flex; align-items: center; gap: 0.9rem;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r);
	padding: 1.1rem 1.25rem; font-size: 0.9rem; font-weight: 600; color: var(--tx);
	transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.kc-info-tile:hover { border-color: var(--signal); box-shadow: var(--sh-2); transform: translateY(-2px); }
.kc-info-tile svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--signal); }
.kc-info-grid-external .kc-info-tile svg { color: var(--gray); }

/* =====================================================================
   PARTNERIAI — partner logo cards (real page content)
   ===================================================================== */
.kc-partner-grid {
	display: grid; grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem; margin: 1.5rem 0 1rem;
}
.kc-partner-card {
	display: flex; align-items: center; justify-content: center;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r);
	padding: 1.75rem; min-height: 110px; box-shadow: var(--sh-1);
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.kc-partner-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--signal); }
.kc-partner-card img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 760px) { .kc-partner-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .kc-partner-grid { grid-template-columns: 1fr; } }

/* =====================================================================
   TRUST-STRIP PARTNER LOGOS (used on front page below numbers) — static,
   full colour, on cards (identical treatment to the sibling Transpakas
   theme; no scrolling marquee).
   ===================================================================== */
.kc-trust-strip { background: var(--paper-2); padding-block: clamp(2.5rem,5vw,3.5rem); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kc-trust-strip-label { text-align: center; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tx-3); margin-bottom: 1.75rem; }
.kc-trust-grid { list-style: none; display: flex; align-items: stretch; justify-content: center; flex-wrap: wrap; gap: 1.25rem; }
.kc-trust-grid li { display: flex; }
.kc-trust-card {
	display: flex; align-items: center; justify-content: center;
	padding: 1.5rem 2.5rem;
	background: #fff; border: 1px solid var(--line); border-radius: var(--r);
	box-shadow: var(--sh-1);
	transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s, border-color 0.2s;
}
.kc-trust-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--paper-3); }
.kc-trust-card img { max-height: 34px; width: auto; }
.kc-trust-card:has(.kc-trust-card-label) img { max-height: 30px; }
.kc-trust-card-label {
	font-family: 'Archivo', system-ui, sans-serif;
	font-size: 1rem; font-weight: 800; letter-spacing: 0.01em;
	color: var(--tx); margin-left: 0.65rem;
}
