/* ThinkFin tema
   Stiliai taikomi tik temos klasėms (.tfx-*), kad darbo stalo
   (plugino) puslapis liktų nepaveiktas. */

/* ---------- Šriftai (OFL, talpinami temoje) ---------- */
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('../fonts/plus-jakarta-sans-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Plus Jakarta Sans';
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url('../fonts/plus-jakarta-sans-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: 'Bebas Neue';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/bebas-neue-latin.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'Bebas Neue';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/bebas-neue-latin-ext.woff2') format('woff2');
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokenai ---------- */
:root {
	--tfx-bg: #0d0a14;
	--tfx-bg-deep: #08060d;
	--tfx-surface: #16111f;
	--tfx-purple: #25154b;
	--tfx-purple-2: #3e1e66;
	--tfx-accent: #a4d462;
	--tfx-accent-2: #bce58a;
	--tfx-accent-ink: #14200a;
	--tfx-accent-soft: rgba(164, 212, 98, 0.12);
	--tfx-text: #f4f1f7;
	--tfx-text-2: #dcd6e4;
	--tfx-muted: #aea6bb;
	--tfx-line: rgba(255, 255, 255, 0.08);
	--tfx-line-2: rgba(255, 255, 255, 0.16);
	--tfx-radius: 20px;
	--tfx-radius-sm: 12px;
	--tfx-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
	--tfx-display: 'Bebas Neue', 'Arial Narrow', Impact, sans-serif;
	--tfx-container: 1200px;
	--tfx-gutter: clamp(20px, 4vw, 40px);
	--tfx-header-h: 64px;
	--tfx-header-gap: 14px;
	--tfx-header-total: calc(var(--tfx-header-h) + var(--tfx-header-gap));
	--tfx-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Bazė ---------- */
body.tfx-public {
	margin: 0;
	background: var(--tfx-bg);
	color: var(--tfx-text);
	font: 400 1.0625rem/1.65 var(--tfx-font);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.tfx-public.tfx-menu-open { overflow: hidden; }

@media (prefers-reduced-motion: no-preference) {
	html:has(body.tfx-public) { scroll-behavior: smooth; }
}

:where(.tfx-header, .tfx-drawer, .tfx-main, .tfx-newsletter, .tfx-footer),
:where(.tfx-header, .tfx-drawer, .tfx-main, .tfx-newsletter, .tfx-footer) *,
:where(.tfx-header, .tfx-drawer, .tfx-main, .tfx-newsletter, .tfx-footer) *::before,
:where(.tfx-header, .tfx-drawer, .tfx-main, .tfx-newsletter, .tfx-footer) *::after {
	box-sizing: border-box;
}

/* Portalo (papildinio) puslapiai sukurti su Bricks, kuris visur taikė border-box. */
:where(body.tfx-portal) *,
:where(body.tfx-portal) *::before,
:where(body.tfx-portal) *::after {
	box-sizing: border-box;
}

:where(.tfx-main, .tfx-newsletter, .tfx-footer) img { max-width: 100%; height: auto; display: block; }

:where(.tfx-header, .tfx-drawer, .tfx-main, .tfx-newsletter, .tfx-footer) a { color: inherit; }

:where(.tfx-header, .tfx-drawer, .tfx-main, .tfx-newsletter, .tfx-footer) :focus-visible {
	outline: 2px solid var(--tfx-accent);
	outline-offset: 3px;
	border-radius: 6px;
}

.tfx-container {
	width: min(100% - 2 * var(--tfx-gutter), var(--tfx-container));
	margin-inline: auto;
}
.tfx-container--narrow { --tfx-container: 820px; }

.tfx-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;
}

.tfx-skip {
	position: absolute;
	left: 16px; top: -100px;
	z-index: 1000;
	padding: 12px 18px;
	border-radius: 999px;
	background: var(--tfx-accent);
	color: var(--tfx-accent-ink);
	font: 600 0.95rem var(--tfx-font);
	text-decoration: none;
}
.tfx-skip:focus { top: 12px; }

.tfx-icon { width: 1.25em; height: 1.25em; flex: none; }
.tfx-icon--xs { width: 0.85em; height: 0.85em; opacity: 0.7; }

/* ---------- Tipografija ---------- */
.tfx-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--tfx-accent);
	font: 600 0.78rem/1.2 var(--tfx-font);
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.tfx-eyebrow::before {
	content: '';
	width: 24px;
	height: 1.5px;
	background: currentColor;
	opacity: 0.7;
}

.tfx-h2 {
	margin: 0;
	font: 400 clamp(2.25rem, 1.5rem + 2.8vw, 3.75rem) / 1 var(--tfx-display);
	letter-spacing: 0.01em;
	text-wrap: balance;
}
.tfx-h3 {
	margin: 0;
	font: 650 1.25rem/1.3 var(--tfx-font);
	letter-spacing: -0.01em;
	text-wrap: balance;
}
.tfx-lead {
	color: var(--tfx-text);
	font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
	line-height: 1.55;
}

/* ---------- Mygtukai ---------- */
.tfx-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 16px;
}

.tfx-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 50px;
	padding: 0 1.5em;
	border: 1px solid transparent;
	border-radius: 999px;
	font: 600 0.98rem/1 var(--tfx-font);
	letter-spacing: 0;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--tfx-ease), box-shadow 0.2s;
}
.tfx-btn .tfx-icon { width: 1.1em; height: 1.1em; }
.tfx-btn--primary {
	background: var(--tfx-accent);
	color: var(--tfx-accent-ink);
	box-shadow: 0 10px 30px -12px rgba(164, 212, 98, 0.55);
}
.tfx-btn--primary:hover {
	background: var(--tfx-accent-2);
	transform: translateY(-1px);
	box-shadow: 0 14px 34px -12px rgba(164, 212, 98, 0.7);
}
.tfx-btn--ghost {
	background: rgba(255, 255, 255, 0.03);
	border-color: var(--tfx-line-2);
	color: var(--tfx-text);
}
.tfx-btn--ghost:hover { border-color: var(--tfx-accent); color: var(--tfx-accent); }
.tfx-btn--sm { min-height: 42px; padding: 0 1.15em; font-size: 0.9rem; }
.tfx-btn--block { width: 100%; }

.tfx-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	color: var(--tfx-text);
	font-weight: 600;
	text-decoration: none;
}
.tfx-link .tfx-icon { transition: transform 0.2s var(--tfx-ease); }
.tfx-link:hover { color: var(--tfx-accent); }
.tfx-link:hover .tfx-icon { transform: translateX(4px); }

.tfx-icon-btn {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--tfx-line-2);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.03);
	color: var(--tfx-text);
	cursor: pointer;
	transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.tfx-icon-btn:hover { border-color: var(--tfx-accent); color: var(--tfx-accent); }
.tfx-icon-btn .tfx-icon { width: 20px; height: 20px; }

/* ---------- Antraštė: laisvas logotipas, stiklinė meniu piliulė centre ---------- */
.tfx-header {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
	padding-top: var(--tfx-header-gap);
	font-family: var(--tfx-font);
	color: var(--tfx-text);
	pointer-events: none;
}
/* Nuslinkus laisvas logotipas kitaip susilieja su turiniu po juo. */
.tfx-header::before {
	content: '';
	position: absolute;
	inset: 0 0 -40px;
	z-index: -1;
	background: linear-gradient(180deg, rgba(13, 10, 20, 0.96) 0%, rgba(13, 10, 20, 0.9) 70%, rgba(13, 10, 20, 0) 100%);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	-webkit-mask-image: linear-gradient(180deg, #000 72%, transparent);
	mask-image: linear-gradient(180deg, #000 72%, transparent);
	opacity: 0;
	transition: opacity 0.3s;
}
.tfx-header.is-scrolled::before,
body.tfx-menu-open .tfx-header::before { opacity: 1; }

.tfx-header__bar {
	position: relative;
	display: flex;
	align-items: center;
	gap: 16px;
	height: var(--tfx-header-h);
}
.tfx-header__bar > * { pointer-events: auto; }

.tfx-header .tfx-icon-btn {
	border: 1px solid rgba(255, 255, 255, 0.1);
	background: rgba(22, 17, 31, 0.72);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	backdrop-filter: blur(18px) saturate(160%);
	box-shadow: 0 12px 40px -18px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
	transition: background-color 0.3s, border-color 0.3s, color 0.2s;
}
.tfx-header.is-scrolled .tfx-icon-btn { background: rgba(22, 17, 31, 0.88); border-color: rgba(255, 255, 255, 0.14); }
.tfx-js body.home:not(.tfx-menu-open) .tfx-header:not(.is-scrolled) .tfx-icon-btn { background: rgba(22, 17, 31, 0.35); }
.tfx-header .tfx-icon-btn:hover { border-color: var(--tfx-accent); }

.tfx-logo { display: inline-flex; align-items: center; flex: none; }
/* PNG turi ~11 % permatomų kraštų, jų neigiamos paraštės antraštės aukščio nedidina. */
.tfx-logo-img { width: auto; height: 78px; margin: -7px 0 -7px -10px; display: block; }
.tfx-header .tfx-logo-img { filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.45)); }

.tfx-nav { margin-inline: auto; }
@media (min-width: 1200px) {
	.tfx-nav { position: absolute; top: 50%; left: 50%; width: max-content; margin: 0; transform: translate(-50%, -50%); }
}
.tfx-nav__list,
.tfx-nav__list .sub-menu { list-style: none; margin: 0; padding: 0; }
.tfx-nav__list { display: flex; align-items: center; gap: 4px; }
.tfx-nav__list > li { position: relative; }
.tfx-nav__list a {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 40px;
	padding: 0 14px;
	border-radius: 999px;
	color: var(--tfx-muted);
	font-size: 0.95rem;
	font-weight: 500;
	white-space: nowrap;
	text-decoration: none;
	transition: color 0.2s, background-color 0.2s;
}
.tfx-nav__list a:hover { color: var(--tfx-text); }
.tfx-nav__list > li:not(.current-menu-item, .current_page_item, .current-menu-ancestor) > a:hover::before { opacity: 0.45; transform: none; }
/* Aktyvų punktą žymi taškelis po tekstu. */
.tfx-nav__list > li > a::before {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 3px;
	width: 4px;
	height: 4px;
	margin-left: -2px;
	border-radius: 50%;
	background: var(--tfx-accent);
	opacity: 0;
	transform: scale(0.4);
	transition: opacity 0.2s, transform 0.2s var(--tfx-ease);
}
.tfx-nav__list > .menu-item-has-children > a::before { margin-left: -9px; }
.tfx-nav__list > .current-menu-item > a,
.tfx-nav__list > .current-menu-ancestor > a,
.tfx-nav__list > .current_page_item > a { color: var(--tfx-text); }
.tfx-nav__list > .current-menu-item > a::before,
.tfx-nav__list > .current-menu-ancestor > a::before,
.tfx-nav__list > .current_page_item > a::before { opacity: 1; transform: none; }
.tfx-nav__list > .menu-item-has-children > a::after {
	content: '';
	width: 6px;
	height: 6px;
	margin-left: 2px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
	opacity: 0.7;
}
.tfx-nav__list .sub-menu {
	position: absolute;
	top: calc(100% + 20px);
	left: 0;
	min-width: 230px;
	padding: 8px;
	border: 1px solid var(--tfx-line-2);
	border-radius: 18px;
	background: rgba(22, 17, 31, 0.92);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	backdrop-filter: blur(18px) saturate(160%);
	box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity 0.18s, transform 0.18s var(--tfx-ease), visibility 0.18s;
}
.tfx-nav__list .sub-menu::before { content: ''; position: absolute; inset: -22px 0 auto; height: 22px; }
.tfx-nav__list li:hover > .sub-menu,
.tfx-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.tfx-nav__list .sub-menu a { display: flex; width: 100%; border-radius: 12px; color: var(--tfx-text-2); }
.tfx-nav__list .sub-menu a:hover { background: rgba(255, 255, 255, 0.06); }

.tfx-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }

.tfx-menu-toggle__close,
.tfx-menu-toggle[aria-expanded='true'] .tfx-menu-toggle__open { display: none; }
.tfx-menu-toggle[aria-expanded='true'] .tfx-menu-toggle__close { display: block; }

/* Mobilus meniu: plaukiojantis skydelis po „sala“ */
.tfx-drawer {
	position: fixed;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--tfx-header-total) + 8px);
	left: 10px;
	right: 10px;
	max-height: calc(100dvh - var(--wp-admin--admin-bar--height, 0px) - var(--tfx-header-total) - 18px);
	z-index: 99;
	overflow-y: auto;
	overscroll-behavior: contain;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 28px;
	background: rgba(16, 12, 24, 0.96);
	-webkit-backdrop-filter: blur(18px) saturate(160%);
	backdrop-filter: blur(18px) saturate(160%);
	box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8);
	font-family: var(--tfx-font);
	color: var(--tfx-text);
}
.tfx-drawer:not([hidden]) { animation: tfx-drawer-in 0.25s var(--tfx-ease); }
@keyframes tfx-drawer-in {
	from { opacity: 0; transform: translateY(-8px); }
	to { opacity: 1; transform: none; }
}
.tfx-drawer__inner {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding-block: 12px 24px;
}
.tfx-drawer__list,
.tfx-drawer__list .sub-menu { list-style: none; margin: 0; padding: 0; }
.tfx-drawer__list > li { border-bottom: 1px solid var(--tfx-line); }
.tfx-drawer__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-height: 60px;
	font: 400 2rem/1 var(--tfx-display);
	letter-spacing: 0.02em;
	text-decoration: none;
}
.tfx-drawer__list .current-menu-item > a,
.tfx-drawer__list .current_page_item > a { color: var(--tfx-accent); }
.tfx-drawer__list .sub-menu { padding: 0 0 12px 16px; }
.tfx-drawer__list .sub-menu a {
	min-height: 44px;
	color: var(--tfx-muted);
	font: 500 1rem/1.3 var(--tfx-font);
	justify-content: flex-start;
}
.tfx-drawer__actions { display: grid; gap: 12px; }

@media (max-width: 1023.98px) {
	:root { --tfx-header-h: 60px; --tfx-header-gap: 10px; }
	.tfx-nav { display: none; }
}
@media (min-width: 1024px) {
	.tfx-drawer, .tfx-menu-toggle { display: none !important; }
}
@media (max-width: 559.98px) {
	.tfx-header__cta { display: none; }
	.tfx-logo-img { height: 64px; margin: -2px 0 -2px -8px; }
}

/* ---------- Sekcijos ---------- */
.tfx-main { display: block; }

/* Darbo stalo elementai, pridedami tiesiai prie <body> (chat, langai), paveldi šriftą. */
body.tfx-portal { font-family: var(--tfx-font); -webkit-font-smoothing: antialiased; }

/* Darbo stalo prisijungimas: fonas po antrašte iki poraštės, be paraščių „prasiskverbimo“. */
body.tfx-portal:not(.logged-in) .tfx-portal-main {
	display: flow-root;
	margin-top: calc(-1 * var(--tfx-header-total));
	padding-top: var(--tfx-header-total);
}

.tfx-section { padding-block: clamp(64px, 9vw, 120px); }
.tfx-section--tight { padding-block: clamp(28px, 4vw, 56px); }
.tfx-section--tight + .tfx-section--tight { padding-top: 0; }
.tfx-section--flush-top { padding-top: 0; }

.tfx-section__head {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 760px;
	margin-bottom: clamp(32px, 4vw, 56px);
}

.tfx-grid { display: grid; gap: clamp(16px, 2vw, 24px); }
@media (min-width: 860px) {
	.tfx-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tfx-grid--about { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
}

/* Fonas su švelniu tinkleliu ir švytėjimu: hero ir puslapių antraštės */
.tfx-hero,
.tfx-page-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	background:
		radial-gradient(900px 520px at 85% 0%, rgba(62, 30, 102, 0.6), transparent 65%),
		radial-gradient(700px 420px at 0% 100%, rgba(164, 212, 98, 0.09), transparent 65%),
		var(--tfx-bg);
}
.tfx-hero::before,
.tfx-page-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	z-index: -1;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
	background-size: 64px 64px;
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 10%, transparent 75%);
	mask-image: radial-gradient(ellipse 80% 70% at 70% 20%, #000 10%, transparent 75%);
}

/* ---------- Hero ---------- */
.tfx-hero {
	display: grid;
	align-items: center;
	min-height: min(88svh, 820px);
	margin-top: calc(-1 * var(--tfx-header-total));
	padding: calc(var(--tfx-header-total) + clamp(48px, 8vw, 96px)) 0 clamp(96px, 12vw, 152px);
}
@media (max-width: 767.98px) {
	.tfx-hero { min-height: 0; padding-top: calc(var(--tfx-header-total) + 40px); }
}
.tfx-hero__media { position: absolute; inset: 0; z-index: -2; }
.tfx-hero__media::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(13, 10, 20, 0.55) 0%, rgba(13, 10, 20, 0.7) 55%, var(--tfx-bg) 100%);
}
.tfx-hero__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1.2s ease;
}
.tfx-hero__video.is-ready { opacity: 0.45; }

.tfx-hero__content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 22px;
}
.tfx-hero__title {
	max-width: 12ch;
	margin: 0;
	font: 400 clamp(3.5rem, 2rem + 7vw, 8rem) / 0.9 var(--tfx-display);
	letter-spacing: 0.005em;
	text-wrap: balance;
}
.tfx-hero__lead {
	max-width: 34ch;
	margin: 0 0 10px;
	color: var(--tfx-text-2);
	font-size: clamp(1.2rem, 1rem + 1vw, 1.65rem);
	line-height: 1.4;
	text-wrap: pretty;
}

/* ---------- Skaičiai ---------- */
.tfx-stats {
	position: relative;
	z-index: 2;
	margin-top: clamp(-80px, -7vw, -48px);
}
.tfx-stats__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	border: 1px solid var(--tfx-line-2);
	border-radius: var(--tfx-radius);
	background:
		radial-gradient(500px 200px at 100% 0%, rgba(164, 212, 98, 0.12), transparent 70%),
		linear-gradient(135deg, rgba(62, 30, 102, 0.92), rgba(37, 21, 75, 0.96));
	box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
	overflow: hidden;
}
.tfx-stat {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: clamp(20px, 3vw, 36px);
}
.tfx-stat:nth-child(odd) { border-right: 1px solid var(--tfx-line); }
.tfx-stat:nth-child(-n + 2) { border-bottom: 1px solid var(--tfx-line); }
.tfx-stat__value {
	color: var(--tfx-accent);
	font: 400 clamp(2.3rem, 1.6rem + 2vw, 3.4rem) / 1 var(--tfx-display);
	letter-spacing: 0.01em;
	white-space: nowrap;
}
.tfx-stat__label { color: var(--tfx-text-2); font-size: 0.93rem; line-height: 1.45; }
@media (min-width: 960px) {
	.tfx-stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.tfx-stat:nth-child(-n + 2) { border-bottom: 0; }
	.tfx-stat:not(:last-child) { border-right: 1px solid var(--tfx-line); }
}

/* ---------- Kortelės ---------- */
.tfx-card {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: clamp(24px, 3vw, 36px);
	border: 1px solid var(--tfx-line);
	border-radius: var(--tfx-radius);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.012));
	transition: border-color 0.3s, transform 0.3s var(--tfx-ease), background-color 0.3s;
}
.tfx-card > * { margin: 0; }
.tfx-card p { color: var(--tfx-text-2); }
.tfx-card--accent {
	border-color: rgba(164, 212, 98, 0.22);
	background:
		radial-gradient(400px 220px at 100% 0%, rgba(164, 212, 98, 0.12), transparent 70%),
		linear-gradient(160deg, rgba(62, 30, 102, 0.6), rgba(37, 21, 75, 0.3));
}
@media (hover: hover) {
	.tfx-service:hover,
	.tfx-value:hover { border-color: rgba(164, 212, 98, 0.32); transform: translateY(-3px); }
}

.tfx-service__head { display: flex; align-items: center; justify-content: space-between; }
.tfx-service__icon,
.tfx-statement__icon {
	display: inline-grid;
	place-items: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--tfx-accent-soft);
	color: var(--tfx-accent);
}
.tfx-service__icon .tfx-icon,
.tfx-statement__icon .tfx-icon { width: 26px; height: 26px; }
.tfx-service__num {
	color: rgba(255, 255, 255, 0.14);
	font: 400 2.5rem/1 var(--tfx-display);
}
.tfx-service__title { margin: 4px 0 0; font: 650 clamp(1.2rem, 1.1rem + 0.4vw, 1.4rem)/1.3 var(--tfx-font); letter-spacing: -0.01em; }
.tfx-service__intro { color: var(--tfx-muted); }

.tfx-checklist {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tfx-checklist li {
	display: grid;
	grid-template-columns: 22px minmax(0, 1fr);
	gap: 12px;
	color: var(--tfx-text-2);
	font-size: 0.98rem;
	line-height: 1.55;
}
.tfx-checklist .tfx-icon { width: 20px; height: 20px; margin-top: 2px; color: var(--tfx-accent); }
.tfx-checklist strong { color: var(--tfx-text); font-weight: 650; }

/* Paveikslėlis + tekstas */
.tfx-card--feature { padding: 0; overflow: hidden; gap: 0; }
.tfx-split { display: grid; }
.tfx-split__media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }
.tfx-split__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
	padding: clamp(28px, 4vw, 64px);
}
.tfx-split__body > * { margin: 0; }
.tfx-split__body p:not(.tfx-eyebrow) { color: var(--tfx-text-2); max-width: 46ch; }
@media (min-width: 860px) {
	.tfx-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
	.tfx-split__media img { min-height: 420px; }
}

/* CTA juosta */
.tfx-cta {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: clamp(28px, 5vw, 64px);
	border: 1px solid var(--tfx-line-2);
	border-radius: var(--tfx-radius);
	background:
		radial-gradient(600px 300px at 0% 0%, rgba(164, 212, 98, 0.16), transparent 60%),
		linear-gradient(135deg, var(--tfx-purple-2), var(--tfx-purple));
}
.tfx-cta > div:first-child { display: flex; flex-direction: column; gap: 12px; }
.tfx-cta p { margin: 0; color: var(--tfx-text-2); max-width: 52ch; }
@media (min-width: 860px) {
	.tfx-cta { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Puslapio antraštė ---------- */
.tfx-page-hero {
	margin-top: calc(-1 * var(--tfx-header-total));
	padding-block: calc(var(--tfx-header-total) + clamp(48px, 8vw, 104px)) clamp(40px, 6vw, 72px);
	background: radial-gradient(900px 480px at 85% 0%, rgba(62, 30, 102, 0.55), transparent 70%), var(--tfx-bg);
}
.tfx-page-hero .tfx-container { display: flex; flex-direction: column; gap: 18px; }
.tfx-page-hero__title {
	margin: 0;
	font: 400 clamp(3.25rem, 2rem + 5.5vw, 6.5rem) / 0.92 var(--tfx-display);
	letter-spacing: 0.005em;
	text-wrap: balance;
}
.tfx-page-hero__lead {
	max-width: 60ch;
	margin: 0;
	color: var(--tfx-text-2);
	font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
	line-height: 1.55;
	text-wrap: pretty;
}

/* ---------- Apie mus ---------- */
.tfx-about-intro { display: flex; flex-direction: column; gap: 20px; max-width: 880px; }
.tfx-about-intro p { margin: 0; color: var(--tfx-text-2); }
.tfx-about-intro p.tfx-lead { color: var(--tfx-text); }
.tfx-about-intro strong { color: var(--tfx-accent); font-weight: 650; }

.tfx-values {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
	gap: clamp(16px, 2vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}
.tfx-value { gap: 10px; }
.tfx-value__num { color: var(--tfx-accent); font: 400 1.9rem/1 var(--tfx-display); }

.tfx-section--contact {
	background: linear-gradient(180deg, transparent, rgba(37, 21, 75, 0.35));
	border-top: 1px solid var(--tfx-line);
}
.tfx-contact { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
.tfx-contact__info { display: flex; flex-direction: column; gap: 18px; }
.tfx-contact__info > * { margin: 0; }
.tfx-contact__info > p:not(.tfx-eyebrow) { color: var(--tfx-text-2); }
.tfx-contact__form .tf-public-form-wrap { --tf-form-width: 100%; border-radius: var(--tfx-radius); }
@media (min-width: 960px) {
	.tfx-contact { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
}

/* Kontaktai ir rekvizitai */
.tfx-contact-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tfx-contact-list li { display: flex; align-items: center; gap: 12px; color: var(--tfx-text-2); }
.tfx-contact-list .tfx-icon { width: 18px; height: 18px; color: var(--tfx-accent); }
.tfx-contact-list a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; transition: color 0.2s; }
.tfx-contact-list a:hover { color: var(--tfx-accent); }
.tfx-contact-list--lg li { font-size: 1.1rem; min-height: 44px; }

.tfx-details {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 6px 16px;
	margin: 0;
	font-size: 0.92rem;
}
.tfx-details dt { color: var(--tfx-muted); }
.tfx-details dd { margin: 0; color: var(--tfx-text-2); overflow-wrap: anywhere; }
.tfx-details dt.tfx-visually-hidden + dd { grid-column: 1 / -1; }
.tfx-details--card {
	padding: 20px 24px;
	border: 1px solid var(--tfx-line);
	border-radius: var(--tfx-radius-sm);
	background: rgba(255, 255, 255, 0.025);
}
.tfx-footer .tfx-details { grid-template-columns: minmax(0, 1fr); gap: 0; }
.tfx-footer .tfx-details dt { margin-top: 10px; font-size: 0.8rem; }
.tfx-footer .tfx-details dd { overflow-wrap: normal; }

/* ---------- Renginiai (plugino modulis) ---------- */
.tfx-banner {
	width: auto;
	max-width: 100%;
	max-height: 300px;
	margin: 0 auto clamp(24px, 4vw, 48px);
	object-fit: contain;
}
body.tfx-public .tf-shop-widget {
	--shop-font-body: var(--tfx-font);
	--shop-surface: transparent;
	--shop-card: var(--tfx-surface);
	--shop-detail-card: var(--tfx-surface);
	--shop-text: var(--tfx-text);
	--shop-muted: var(--tfx-muted);
	--shop-accent: var(--tfx-accent);
	--shop-accent-hover: var(--tfx-accent-2);
	--shop-border: var(--tfx-line-2);
}

/* ---------- Turinys (bendri puslapiai) ---------- */
.tfx-prose { color: var(--tfx-text-2); }
.tfx-prose > * + * { margin-top: 1.1em; }
.tfx-prose :is(h2, h3) { color: var(--tfx-text); line-height: 1.25; margin-top: 1.8em; }
.tfx-prose a { color: var(--tfx-accent); }
.tfx-post-card { margin-bottom: 16px; }
.tfx-post-card a { text-decoration: none; }
.tfx-post-card a:hover { color: var(--tfx-accent); }

/* ---------- Naujienlaiškis ---------- */
.tfx-newsletter {
	position: relative;
	padding-block: clamp(56px, 7vw, 96px);
	background:
		radial-gradient(700px 320px at 100% 100%, rgba(164, 212, 98, 0.14), transparent 65%),
		linear-gradient(135deg, #2b1752, var(--tfx-purple-2));
	border-top: 1px solid var(--tfx-line-2);
	font-family: var(--tfx-font);
	color: var(--tfx-text);
}
.tfx-newsletter__inner { display: grid; gap: 28px; align-items: center; }
.tfx-newsletter__copy { display: flex; flex-direction: column; gap: 12px; }
.tfx-newsletter__copy p { margin: 0; color: var(--tfx-text-2); max-width: 48ch; }
@media (min-width: 960px) {
	.tfx-newsletter__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; }
}

/* Plugino forma turi įterptinius stilius, todėl reikia !important. */
.tfx-newsletter .tf-newsletter-form {
	display: flex !important;
	gap: 6px !important;
	padding: 6px;
	border: 1px solid var(--tfx-line-2);
	border-radius: 999px;
	background: rgba(8, 6, 13, 0.5);
	transition: border-color 0.2s;
}
.tfx-newsletter .tf-newsletter-form:focus-within { border-color: var(--tfx-accent); }
.tfx-newsletter .tf-newsletter-form input[type='email'] {
	flex: 1 !important;
	min-width: 0 !important;
	height: 50px;
	padding: 0 18px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: transparent !important;
	color: var(--tfx-text) !important;
	font: 500 1rem var(--tfx-font) !important;
	outline: none;
}
.tfx-newsletter .tf-newsletter-form input[type='email']::placeholder { color: var(--tfx-muted); }
.tfx-newsletter .tf-newsletter-form button {
	height: 50px;
	padding: 0 24px !important;
	border-radius: 999px !important;
	background: var(--tfx-accent) !important;
	color: var(--tfx-accent-ink) !important;
	font: 600 0.98rem var(--tfx-font) !important;
	transition: background-color 0.2s;
}
.tfx-newsletter .tf-newsletter-form button:hover { background: var(--tfx-accent-2) !important; }
.tfx-newsletter .tf-newsletter-form button:focus-visible { outline: 2px solid var(--tfx-text); outline-offset: 2px; }
.tfx-newsletter__form > div[style] { border-radius: 14px !important; }
@media (max-width: 479.98px) {
	.tfx-newsletter .tf-newsletter-form { flex-direction: column; border-radius: 20px; }
	.tfx-newsletter .tf-newsletter-form input[type='email'] { flex: none !important; width: 100%; }
	.tfx-newsletter .tf-newsletter-form button { width: 100%; }
}

/* ---------- Poraštė ---------- */
.tfx-footer {
	padding-top: clamp(56px, 7vw, 88px);
	background: var(--tfx-bg-deep);
	border-top: 1px solid var(--tfx-line);
	color: var(--tfx-muted);
	font: 400 0.95rem/1.6 var(--tfx-font);
}
.tfx-footer__grid { display: grid; gap: 40px; }
.tfx-footer__grid > * > * { margin: 0; }
.tfx-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.tfx-footer__brand .tfx-logo-img { height: 104px; margin: -12px 0 -12px -11px; }
.tfx-footer__brand p { max-width: 34ch; }
.tfx-footer__title {
	margin: 0 0 16px !important;
	color: var(--tfx-text);
	font: 600 0.78rem/1.2 var(--tfx-font);
	letter-spacing: 0.16em;
	text-transform: uppercase;
}
.tfx-footer__menu,
.tfx-footer__menu .sub-menu {
	display: flex;
	flex-direction: column;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}
.tfx-footer__menu .sub-menu { margin-top: 0; }
.tfx-footer__menu a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	text-decoration: none;
	transition: color 0.2s;
}
.tfx-footer__menu a:hover { color: var(--tfx-accent); }

.tfx-social { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tfx-social a {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border: 1px solid var(--tfx-line-2);
	border-radius: 50%;
	color: var(--tfx-text);
	transition: color 0.2s, border-color 0.2s;
}
.tfx-social a:hover { color: var(--tfx-accent); border-color: var(--tfx-accent); }
.tfx-social .tfx-icon { width: 18px; height: 18px; }

.tfx-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0 24px;
	align-items: center;
	margin-top: clamp(40px, 6vw, 64px);
	padding-block: 12px max(12px, env(safe-area-inset-bottom));
	border-top: 1px solid var(--tfx-line);
	font-size: 0.85rem;
}
.tfx-footer__bottom p { margin: 0; }
.tfx-footer__bottom a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.tfx-footer__bottom a:hover { color: var(--tfx-accent); }

@media (min-width: 640px) {
	.tfx-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
	.tfx-footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 1.1fr); }
}

/* ---------- Atsiradimo animacija ---------- */
@media (prefers-reduced-motion: no-preference) {
	.tfx-js [data-reveal] { transition: opacity 0.7s var(--tfx-ease), transform 0.7s var(--tfx-ease), border-color 0.3s; }
	.tfx-js [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(18px); }
}
