/* ==========================================================================
   Komponentai
   ========================================================================== */

/* --------------------------------------------------------------------------
   Mygtukai
   -------------------------------------------------------------------------- */
.btn {
	--btn-bg: var(--brand-primary);
	--btn-fg: #fff;
	--btn-bd: transparent;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 22px;
	border: 1px solid var(--btn-bd);
	border-radius: var(--radius-pill);
	background: var(--btn-bg);
	color: var(--btn-fg);
	font-size: var(--fs-sm);
	font-weight: 650;
	line-height: 1.2;
	text-align: center;
	white-space: nowrap;
	transition: transform var(--dur-1) var(--ease), background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), box-shadow var(--dur-2) var(--ease), color var(--dur-1) var(--ease);
	-webkit-tap-highlight-color: transparent;
}

.btn .icon {
	width: 1.15em;
	height: 1.15em;
	transition: transform var(--dur-2) var(--ease);
}

.btn:hover .icon--arrow-right {
	transform: translateX(3px);
}

.btn:active {
	transform: scale(0.98);
}

.btn--primary:hover {
	--btn-bg: var(--brand-primary-600);
	box-shadow: 0 10px 24px -12px rgba(14, 75, 44, 0.7);
}

.btn--light {
	--btn-bg: #fff;
	--btn-fg: var(--brand-primary-700);
}

.btn--light:hover {
	--btn-bg: #eef7f1;
	box-shadow: 0 12px 28px -14px rgba(0, 0, 0, 0.55);
}

.btn--outline-light {
	--btn-bg: transparent;
	--btn-fg: #fff;
	--btn-bd: rgba(255, 255, 255, 0.38);
}

.btn--outline-light:hover {
	--btn-bg: rgba(255, 255, 255, 0.1);
	--btn-bd: rgba(255, 255, 255, 0.7);
}

.btn--ghost {
	--btn-bg: transparent;
	--btn-fg: var(--text-primary);
	--btn-bd: var(--border-strong);
}

.btn--ghost:hover {
	--btn-bg: var(--surface-soft);
	--btn-bd: var(--text-primary);
}

.btn--text {
	--btn-bg: transparent;
	--btn-fg: var(--brand-primary);
	min-height: 44px;
	padding-inline: 4px;
	border-radius: var(--radius-sm);
}

.btn--text:hover span {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.btn--sm {
	min-height: 44px;
	padding: 9px 18px;
}

.btn--lg {
	min-height: 54px;
	padding: 15px 28px;
	font-size: 1rem;
}

.btn--block {
	width: 100%;
}

.icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: var(--radius-pill);
	color: inherit;
	transition: background-color var(--dur-1) var(--ease);
}

.icon-btn:hover {
	background: rgba(127, 127, 127, 0.14);
}

.icon-btn--ghost {
	border: 1px solid var(--border-on-dark);
	color: #fff;
}

.icon-btn--line {
	border: 1px solid var(--border-strong);
}

.icon-btn__count {
	position: absolute;
	top: 2px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding-inline: 4px;
	border-radius: var(--radius-pill);
	background: var(--brand-secondary);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

/* --------------------------------------------------------------------------
   Žymos, ženkleliai, būsenos, laukai
   -------------------------------------------------------------------------- */
.chips {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
}

.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 8px 16px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-pill);
	background: var(--surface);
	font-size: var(--fs-sm);
	font-weight: 600;
	white-space: nowrap;
	transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}

.chip .icon {
	width: 1.1em;
	height: 1.1em;
}

.chip:hover {
	border-color: var(--text-primary);
}

.chip.is-active,
.chip[aria-pressed="true"] {
	background: var(--brand-primary);
	border-color: var(--brand-primary);
	color: #fff;
}

.badge {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 5px 12px;
	border-radius: var(--radius-pill);
	background: var(--brand-secondary-soft);
	color: var(--brand-primary);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.badge--light {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.status {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-left: 8px;
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
	color: var(--text-secondary);
}

.status-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 6px;
	border-radius: 50%;
	background: #b9b8ad;
}

.status-dot.is-open {
	background: #2fbf71;
	box-shadow: 0 0 0 4px rgba(47, 191, 113, 0.2);
}

.field {
	position: relative;
	display: flex;
	align-items: center;
}

.field--search .icon {
	position: absolute;
	left: 14px;
	color: var(--text-muted);
	pointer-events: none;
}

.field input,
.search-form input {
	width: 100%;
	min-height: 48px;
	padding: 10px 16px 10px 44px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-pill);
	background: var(--surface);
	transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}

.field input:focus-visible,
.search-form input:focus-visible {
	border-color: var(--brand-primary);
	box-shadow: 0 0 0 4px rgba(28, 154, 85, 0.18);
}

.search-form {
	position: relative;
	display: flex;
	align-items: center;
	gap: var(--s-2);
	max-width: 520px;
}

.search-form > .icon {
	position: absolute;
	left: 14px;
	color: var(--text-muted);
	pointer-events: none;
}

/* --------------------------------------------------------------------------
   Atsiradimo animacija (įjungiama tik veikiant JS)
   -------------------------------------------------------------------------- */
.js [data-reveal] {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity var(--dur-3) var(--ease), transform var(--dur-3) var(--ease);
	transition-delay: calc(var(--i, 0) * 60ms);
}

.js [data-reveal].is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.js [data-reveal] {
		opacity: 1;
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   Kelias (breadcrumbs)
   -------------------------------------------------------------------------- */
.crumbs {
	margin-bottom: var(--s-5);
	font-size: var(--fs-xs);
	font-weight: 550;
	color: var(--text-muted);
}

.crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.crumbs li:not(:last-child)::after {
	content: "/";
	margin-inline: 8px;
	opacity: 0.5;
}

.crumbs a {
	padding-block: 4px;
}

.crumbs a:hover {
	color: var(--text-primary);
	text-decoration: underline;
}

.crumbs [aria-current] {
	color: var(--text-primary);
}

.crumbs--light {
	color: var(--text-on-dark-2);
}

.crumbs--light a:hover,
.crumbs--light [aria-current] {
	color: #fff;
}

/* --------------------------------------------------------------------------
   Faktų juosta
   -------------------------------------------------------------------------- */
.facts-strip {
	border-bottom: 1px solid var(--border);
	background: var(--surface);
}

.facts {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(230px, 1fr);
	gap: var(--s-2);
	margin-inline: calc(var(--gutter) * -1);
	padding: var(--s-5) var(--gutter);
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scroll-padding-inline: var(--gutter);
	scrollbar-width: none;
}

.facts::-webkit-scrollbar {
	display: none;
}

.fact {
	display: flex;
	align-items: center;
	gap: var(--s-3);
	scroll-snap-align: start;
}

.fact__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	flex: none;
	border-radius: 12px;
	background: var(--brand-secondary-soft);
	color: var(--brand-primary);
}

.fact__body {
	display: grid;
	line-height: 1.3;
}

.fact__body strong {
	font-size: var(--fs-sm);
	font-weight: 650;
}

.fact__body small {
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

@media (min-width: 1100px) {
	.facts {
		grid-auto-columns: 1fr;
		margin-inline: 0;
		padding-inline: 0;
		overflow: visible;
	}
}

/* --------------------------------------------------------------------------
   Žingsniai
   -------------------------------------------------------------------------- */
.steps {
	display: grid;
	gap: var(--s-4);
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.step {
	position: relative;
	display: grid;
	gap: var(--s-4);
	padding: var(--s-5);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.step__num {
	display: inline-grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--brand-secondary-soft);
	color: var(--brand-primary);
	font-size: var(--fs-sm);
	font-weight: 700;
	letter-spacing: 0.02em;
	transition: background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}

.step__title {
	font-size: var(--fs-h3);
}

.step__text {
	margin-top: var(--s-2);
	font-size: var(--fs-sm);
	color: var(--text-secondary);
}

@media (min-width: 720px) {
	.steps--process,
	.steps--visit {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.steps--process,
	.steps--visit {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.steps--process .step,
	.steps--visit .step {
		align-content: start;
	}

	/* Jungiamoji linija tarp žingsnių */
	.steps--process .step:not(:last-child)::after,
	.steps--visit .step:not(:last-child)::after {
		content: "";
		position: absolute;
		top: calc(var(--s-5) + 22px);
		left: calc(var(--s-5) + 56px);
		right: calc(var(--s-4) * -1 - 1px);
		height: 1px;
		background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
	}
}

/* Interaktyvus apsilankymo eigos variantas */
.steps--visit .step {
	cursor: pointer;
	transition: border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), opacity var(--dur-3) var(--ease);
}

.steps--visit .step.is-active {
	border-color: var(--brand-primary);
	box-shadow: var(--shadow-md);
}

.steps--visit .step.is-active .step__num {
	background: var(--brand-primary);
	color: #fff;
}

/* Laiko juosta */
.steps--timeline {
	gap: 0;
	max-width: 820px;
}

.steps--timeline .step {
	grid-template-columns: 44px 1fr;
	padding: 0 0 var(--s-6);
	border: 0;
	border-radius: 0;
	background: none;
}

.steps--timeline .step::before {
	content: "";
	position: absolute;
	top: 48px;
	bottom: 4px;
	left: 21px;
	width: 2px;
	background: var(--border);
}

.steps--timeline .step:last-child {
	padding-bottom: 0;
}

.steps--timeline .step:last-child::before {
	display: none;
}

.steps--timeline .step__body {
	padding-top: 8px;
}

/* --------------------------------------------------------------------------
   Kortelės
   -------------------------------------------------------------------------- */
.cards {
	display: grid;
	gap: var(--s-4);
}

.cards > li {
	display: grid;
}

.card {
	display: flex;
	flex-direction: column;
	gap: var(--s-2);
	padding: var(--s-5);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
	transition: transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}

.card__icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	margin-bottom: var(--s-2);
	border-radius: 14px;
	background: var(--brand-secondary-soft);
	color: var(--brand-primary);
}

.card__title {
	font-size: 1.125rem;
}

.card__text {
	font-size: var(--fs-sm);
	color: var(--text-secondary);
}

.card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: var(--s-3);
	font-size: var(--fs-sm);
	font-weight: 650;
	color: var(--brand-primary);
}

.card__more .icon {
	width: 1.05em;
	height: 1.05em;
	transition: transform var(--dur-2) var(--ease);
}

.card--link:hover {
	transform: translateY(-3px);
	border-color: var(--brand-primary);
	box-shadow: var(--shadow-md);
}

.card--link:hover .card__more .icon {
	transform: translateX(4px);
}

@media (min-width: 640px) {
	.cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.cards {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* --------------------------------------------------------------------------
   Sąrašų stulpeliai
   -------------------------------------------------------------------------- */
.checklists {
	display: grid;
	gap: var(--s-4);
}

.checklist {
	padding: var(--s-5);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.checklist__title {
	margin-bottom: var(--s-4);
	font-size: 1.125rem;
}

.checklist__list {
	display: grid;
	gap: var(--s-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.checklist__list li {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: var(--s-3);
	font-size: var(--fs-sm);
	color: var(--text-secondary);
}

.checklist__list .icon {
	width: 22px;
	height: 22px;
	margin-top: 1px;
	padding: 3px;
	border-radius: 50%;
	background: var(--brand-secondary-soft);
	color: var(--brand-primary);
}

.checklist__list a {
	color: var(--brand-primary);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.checklist--warn {
	background: var(--warning-soft);
	border-color: #f0dcb8;
}

.checklist--warn .icon {
	background: #fff;
	color: var(--warning);
}

.checklist--info .icon {
	background: var(--oxygen-soft);
	color: var(--oxygen);
}

.checklist--plain .icon {
	background: var(--surface-sunken);
	color: var(--text-secondary);
}

.checklist__note {
	margin-top: var(--s-4);
	padding-top: var(--s-4);
	border-top: 1px solid rgba(15, 28, 21, 0.1);
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

@media (min-width: 800px) {
	.checklists--2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.checklists--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* --------------------------------------------------------------------------
   Palyginimas
   -------------------------------------------------------------------------- */
.compare {
	position: relative;
	display: grid;
	gap: var(--s-4);
}

.compare__side {
	padding: var(--s-5) var(--s-5) var(--s-6);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.compare__side--right {
	background: var(--surface-dark);
	border-color: var(--surface-dark);
	color: var(--text-on-dark);
}

.compare__title {
	margin-bottom: var(--s-4);
	font-size: var(--fs-h3);
}

.compare__list {
	display: grid;
	gap: var(--s-3);
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--fs-sm);
	color: var(--text-secondary);
}

.compare__list li {
	position: relative;
	padding-left: 22px;
}

.compare__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.6em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--border-strong);
}

.compare__side--right .compare__list {
	color: var(--text-on-dark-2);
}

.compare__side--right .compare__list li::before {
	background: var(--oxygen-glow);
}

.compare__vs {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: -14px auto;
	position: relative;
	z-index: 1;
	border-radius: 50%;
	background: var(--surface);
	border: 1px solid var(--border);
	color: var(--brand-primary);
	transform: rotate(90deg);
}

@media (min-width: 800px) {
	.compare {
		grid-template-columns: 1fr auto 1fr;
		align-items: stretch;
		gap: 0;
	}

	.compare__side--left {
		border-radius: var(--radius-lg) 0 0 var(--radius-lg);
		border-right: 0;
		padding-right: var(--s-7);
	}

	.compare__side--right {
		border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
		padding-left: var(--s-7);
	}

	.compare__vs {
		align-self: center;
		margin: 0 -22px;
		transform: none;
	}
}

/* --------------------------------------------------------------------------
   Kainos
   -------------------------------------------------------------------------- */
.price-card {
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
	overflow: hidden;
}

.price-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.price-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-3) var(--s-5);
	flex-wrap: wrap;
	padding: var(--s-4) var(--s-5);
	transition: background-color var(--dur-1) var(--ease);
}

.price-row + .price-row {
	border-top: 1px solid var(--border);
}

.price-row:hover {
	background: var(--surface-soft);
}

.price-row__main {
	display: grid;
	gap: 2px;
	min-width: 0;
	flex: 1 1 220px;
}

.price-row__name {
	font-weight: 650;
	line-height: 1.3;
}

.price-row__meta {
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

.price-row__side {
	display: flex;
	align-items: center;
	gap: var(--s-4);
	margin-left: auto;
}

.price-row__price {
	font-size: 1.1875rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

.price-row__price small {
	font-size: var(--fs-xs);
	font-weight: 550;
	color: var(--text-muted);
}

.price-card__more {
	padding: var(--s-4) var(--s-5);
	border-top: 1px solid var(--border);
	background: var(--surface-soft);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.price-card__more a {
	color: var(--brand-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Skirtukai
   -------------------------------------------------------------------------- */
.tabs__list {
	display: flex;
	gap: var(--s-2);
	margin-bottom: var(--s-4);
	margin-inline: calc(var(--gutter) * -1);
	padding: 2px var(--gutter) 6px;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
}

.tabs__list::-webkit-scrollbar {
	display: none;
}

.tabs__tab {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 46px;
	padding: 8px 18px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-pill);
	background: var(--surface);
	font-size: var(--fs-sm);
	font-weight: 600;
	white-space: nowrap;
	scroll-snap-align: start;
	transition: background-color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}

.tabs__tab .icon {
	width: 1.1em;
	height: 1.1em;
}

.tabs__tab.is-active {
	background: var(--brand-primary);
	border-color: var(--brand-primary);
	color: #fff;
}

.tabs__panel {
	animation: panel-in var(--dur-2) var(--ease);
}

@keyframes panel-in {
	from {
		opacity: 0;
		transform: translateY(8px);
	}
}

@media (min-width: 720px) {
	.tabs__list {
		margin-inline: 0;
		padding-inline: 2px;
		flex-wrap: wrap;
		overflow: visible;
	}
}

/* --------------------------------------------------------------------------
   DUK
   -------------------------------------------------------------------------- */
.faq {
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
	overflow: hidden;
}

.faq__item + .faq__item {
	border-top: 1px solid var(--border);
}

.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--s-4);
	min-height: 60px;
	padding: var(--s-4) var(--s-5);
	font-weight: 650;
	line-height: 1.35;
	cursor: pointer;
	list-style: none;
	transition: background-color var(--dur-1) var(--ease);
}

.faq__q::-webkit-details-marker {
	display: none;
}

.faq__q:hover {
	background: var(--surface-soft);
}

.faq__q:focus-visible {
	box-shadow: inset 0 0 0 3px var(--brand-secondary);
	border-radius: 0;
}

.faq__q .icon {
	padding: 4px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--surface-sunken);
	transition: transform var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}

.faq__item[open] .faq__q .icon {
	transform: rotate(45deg);
	background: var(--brand-primary);
	color: #fff;
}

.faq__a {
	padding: 0 var(--s-5) var(--s-5);
	max-width: 68ch;
	font-size: var(--fs-sm);
	color: var(--text-secondary);
}

.faq__a p + p {
	margin-top: 0.8em;
}

.faq__a a {
	color: var(--brand-primary);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.faq__item[open] .faq__a {
	animation: panel-in var(--dur-2) var(--ease);
}

/* --------------------------------------------------------------------------
   Paslaugų kortelės (susijusios)
   -------------------------------------------------------------------------- */
.svc-grid {
	display: grid;
	gap: var(--s-4);
}

.svc-grid > li {
	display: grid;
}

.svc {
	display: grid;
	grid-template-rows: auto 1fr;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
	overflow: hidden;
	transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}

.svc__media {
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--surface-sunken);
	overflow: hidden;
}

.svc__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--dur-3) var(--ease);
}

.svc__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: var(--s-5);
}

.svc__title {
	font-size: 1.125rem;
	font-weight: 650;
	line-height: 1.3;
}

.svc__text {
	font-size: var(--fs-sm);
	color: var(--text-secondary);
}

.svc__foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding-top: var(--s-3);
}

.svc__price {
	font-weight: 700;
}

.svc__more {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-left: auto;
	border-radius: 50%;
	background: var(--surface-soft);
	color: var(--brand-primary);
	transition: background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}

.svc:hover {
	transform: translateY(-3px);
	border-color: var(--brand-primary);
	box-shadow: var(--shadow-md);
}

.svc:hover .svc__media img {
	transform: scale(1.04);
}

.svc:hover .svc__more {
	background: var(--brand-primary);
	color: #fff;
}

@media (min-width: 640px) {
	.svc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.svc-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* --------------------------------------------------------------------------
   Straipsnių kortelės
   -------------------------------------------------------------------------- */
.post-grid {
	display: grid;
	gap: var(--s-5);
}

.post-card {
	display: grid;
	grid-template-rows: auto 1fr;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
	overflow: hidden;
	transition: transform var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}

.post-card:hover {
	transform: translateY(-3px);
	border-color: var(--brand-primary);
	box-shadow: var(--shadow-md);
}

.post-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--surface-sunken);
	overflow: hidden;
}

.post-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform var(--dur-3) var(--ease);
}

.post-card:hover .post-card__img {
	transform: scale(1.04);
}

.post-card__ph {
	display: grid;
	place-items: center;
	height: 100%;
	color: var(--border-strong);
}

.post-card__ph .icon {
	width: 48px;
	height: 48px;
}

.post-card__body {
	display: flex;
	flex-direction: column;
	gap: var(--s-2);
	padding: var(--s-5);
}

.post-card__cat {
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--brand-secondary);
}

.post-card__title {
	font-size: 1.125rem;
	line-height: 1.3;
}

.post-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.post-card {
	position: relative;
}

.post-card__excerpt {
	font-size: var(--fs-sm);
	color: var(--text-secondary);
}

.post-card__meta {
	display: flex;
	gap: var(--s-4);
	margin-top: auto;
	padding-top: var(--s-3);
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

@media (min-width: 640px) {
	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.post-grid--lead .post-card--featured {
		grid-column: 1 / -1;
		grid-template-columns: 1.2fr 1fr;
		grid-template-rows: auto;
	}

	.post-card--featured .post-card__media {
		aspect-ratio: auto;
		min-height: 340px;
	}

	.post-card--featured .post-card__body {
		justify-content: center;
		padding: var(--s-7);
	}

	.post-card--featured .post-card__title {
		font-size: clamp(1.5rem, 1.6vw + 1rem, 2.125rem);
		line-height: 1.18;
	}
}

/* --------------------------------------------------------------------------
   Vieta, darbo laikas
   -------------------------------------------------------------------------- */
.location {
	display: grid;
	gap: var(--s-4);
}

.location__info {
	display: grid;
	gap: var(--s-5);
	align-content: start;
	padding: var(--s-5);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
}

.location__row {
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: var(--s-4);
}

.location__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--brand-secondary-soft);
	color: var(--brand-primary);
}

.location__label {
	margin-bottom: 4px;
	font-size: var(--fs-xs);
	font-weight: 700;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--text-muted);
}

.location__value {
	font-size: 1.0625rem;
	font-weight: 650;
	line-height: 1.4;
}

.location__value a:hover {
	color: var(--brand-primary);
}

.location__note {
	font-size: var(--fs-sm);
	color: var(--text-secondary);
}

.location__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
}

.location__actions .btn {
	flex: 1 1 150px;
}

.location__map {
	position: relative;
	min-height: 300px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: var(--surface-sunken);
}

.location__map img,
.location__map iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
}

.location__map-btn {
	position: absolute;
	left: 50%;
	bottom: var(--s-5);
	transform: translateX(-50%);
	box-shadow: var(--shadow-md);
}

.location__map-btn:active {
	transform: translateX(-50%) scale(0.98);
}

.hours {
	display: grid;
	gap: 6px;
	margin: 0;
}

.hours > div {
	display: flex;
	justify-content: space-between;
	gap: var(--s-4);
	font-size: var(--fs-sm);
}

.hours dt {
	color: var(--text-secondary);
}

.hours dd {
	font-weight: 650;
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.hours--compact {
	margin-top: var(--s-4);
	padding-top: var(--s-4);
	border-top: 1px solid var(--border-on-dark);
}

.hours--compact dt {
	color: inherit;
}

.hours--compact dd {
	color: #fff;
}

@media (min-width: 900px) {
	.location {
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	}

	.location__map {
		min-height: 440px;
	}
}

/* --------------------------------------------------------------------------
   Registracijos kvietimas
   -------------------------------------------------------------------------- */
.cta-band {
	padding-block: clamp(24px, 4vw, 56px) var(--section-y);
}

.cta-band__inner {
	position: relative;
	display: grid;
	gap: var(--s-5);
	padding: clamp(28px, 5vw, 64px);
	border-radius: var(--radius-xl);
	background:
		radial-gradient(900px 400px at 100% 0%, rgba(127, 216, 201, 0.22), transparent 60%),
		linear-gradient(140deg, var(--brand-primary-900), var(--brand-primary) 70%);
	color: var(--text-on-dark);
	overflow: hidden;
}

.cta-band__title {
	font-size: var(--fs-h2);
	line-height: 1.12;
	letter-spacing: -0.025em;
}

.cta-band__lead {
	margin-top: var(--s-3);
	max-width: 52ch;
	font-size: var(--fs-lead);
	line-height: 1.5;
	color: var(--text-on-dark-2);
}

.cta-band__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-3);
}

.cta-band__facts {
	display: flex;
	gap: var(--s-6);
	margin: 0;
}

.cta-band__facts dt {
	font-size: var(--fs-xs);
	font-weight: 600;
	letter-spacing: 0.07em;
	text-transform: uppercase;
	color: var(--text-on-dark-2);
}

.cta-band__facts dd {
	font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.cta-band--center .cta-band__inner {
	justify-items: center;
	text-align: center;
}

.cta-band--center .cta-band__lead {
	margin-inline: auto;
}

.cta-band--center .cta-band__actions {
	justify-content: center;
}

@media (min-width: 960px) {
	.cta-band--split .cta-band__inner {
		grid-template-columns: minmax(0, 1.3fr) auto auto;
		align-items: center;
		gap: var(--s-7);
	}

	.cta-band--split .cta-band__actions {
		flex-direction: column;
	}
}

/* --------------------------------------------------------------------------
   Įrangos nuotrauka su taškais
   -------------------------------------------------------------------------- */
.hotspots {
	display: grid;
	gap: var(--s-6);
	align-items: center;
}

.hotspots__figure {
	position: relative;
	border-radius: var(--radius-xl);
	overflow: hidden;
	background: var(--surface-dark-2);
}

.hotspots__figure img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.hotspot {
	position: absolute;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: -22px 0 0 -22px;
	border-radius: 50%;
	color: var(--brand-primary-700);
}

.hotspot span {
	position: relative;
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background: #fff;
	font-size: var(--fs-xs);
	font-weight: 700;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
	transition: transform var(--dur-2) var(--ease), background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}

.hotspot::before {
	content: "";
	position: absolute;
	inset: 4px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.7);
	animation: pulse 2.4s var(--ease) infinite;
}

.hotspot.is-active span {
	background: var(--oxygen-glow);
	transform: scale(1.15);
}

@keyframes pulse {
	0% {
		transform: scale(0.8);
		opacity: 0.9;
	}

	100% {
		transform: scale(1.7);
		opacity: 0;
	}
}

.hotspots__list {
	display: grid;
	gap: var(--s-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.hotspots__item {
	display: grid;
	grid-template-columns: 36px 1fr;
	gap: var(--s-4);
	padding: var(--s-4);
	border: 1px solid transparent;
	border-radius: var(--radius-md);
	cursor: pointer;
	transition: background-color var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease);
}

.hotspots__num {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--border-on-dark);
	font-size: var(--fs-sm);
	font-weight: 700;
	transition: background-color var(--dur-2) var(--ease), color var(--dur-2) var(--ease);
}

.hotspots__title {
	font-size: 1.0625rem;
}

.hotspots__text {
	margin-top: 4px;
	font-size: var(--fs-sm);
	color: var(--text-on-dark-2);
}

.hotspots__item.is-active {
	background: rgba(255, 255, 255, 0.07);
	border-color: var(--border-on-dark);
}

.hotspots__item.is-active .hotspots__num {
	background: var(--oxygen-glow);
	border-color: var(--oxygen-glow);
	color: var(--brand-primary-900);
}

.section:not(.section--dark) .hotspots__num {
	border-color: var(--border-strong);
}

.section:not(.section--dark) .hotspots__text {
	color: var(--text-secondary);
}

.section:not(.section--dark) .hotspots__item.is-active {
	background: var(--surface-soft);
	border-color: var(--border);
}

.facility-video video {
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-lg);
	background: var(--surface-dark);
	object-fit: cover;
}

.facility-video figcaption {
	margin-top: var(--s-3);
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

@media (min-width: 900px) {
	.hotspots {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: var(--s-8);
	}
}

/* --------------------------------------------------------------------------
   Šaltiniai, žodynėlis, pastabos, rekvizitai
   -------------------------------------------------------------------------- */
.sources {
	display: grid;
	gap: var(--s-2);
	padding-left: 1.3em;
	font-size: var(--fs-sm);
	color: var(--text-secondary);
}

.sources a {
	color: var(--brand-primary);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.glossary {
	display: grid;
	gap: var(--s-3);
	margin: 0;
}

.glossary__item {
	padding: var(--s-4) var(--s-5);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	background: var(--surface);
}

.glossary dt {
	font-weight: 700;
}

.glossary dd {
	margin-top: 2px;
	font-size: var(--fs-sm);
	color: var(--text-secondary);
}

.glossary a {
	color: var(--brand-primary);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

@media (min-width: 800px) {
	.glossary {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.content-meta {
	border-bottom: 1px solid var(--border);
	background: var(--surface);
}

.content-meta__list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2) var(--s-6);
	padding-block: var(--s-4);
	font-size: var(--fs-xs);
	color: var(--text-muted);
}

.content-meta__list li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.content-meta__list strong {
	color: var(--text-primary);
	font-weight: 650;
}

.content-meta .icon {
	width: 1.2em;
	height: 1.2em;
	color: var(--brand-secondary);
}

.disclaimer {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: var(--s-3);
	padding: var(--s-4) var(--s-5);
	border-radius: var(--radius-md);
	background: var(--info-soft);
	font-size: var(--fs-xs);
	line-height: 1.6;
	color: var(--text-secondary);
}

.disclaimer .icon {
	width: 22px;
	height: 22px;
	color: var(--oxygen);
}

.disclaimer--inline {
	margin-top: var(--s-5);
}

.deflist {
	margin: 0;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
	overflow: hidden;
}

.deflist > div {
	display: flex;
	justify-content: space-between;
	gap: var(--s-5);
	padding: var(--s-4) var(--s-5);
	font-size: var(--fs-sm);
}

.deflist > div + div {
	border-top: 1px solid var(--border);
}

.deflist dt {
	color: var(--text-muted);
}

.deflist dd {
	font-weight: 650;
	text-align: right;
}

/* --------------------------------------------------------------------------
   Veiksmų plytelės (kontaktai, 404)
   -------------------------------------------------------------------------- */
.tiles {
	display: grid;
	gap: var(--s-3);
	margin-bottom: var(--s-6);
}

.tile {
	display: grid;
	grid-template-columns: 48px 1fr auto;
	align-items: center;
	gap: var(--s-4);
	min-height: 76px;
	padding: var(--s-4);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
	text-align: left;
	transition: transform var(--dur-2) var(--ease), border-color var(--dur-2) var(--ease), box-shadow var(--dur-2) var(--ease);
}

.tile:hover {
	transform: translateY(-2px);
	border-color: var(--brand-primary);
	box-shadow: var(--shadow-md);
}

.tile__icon {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: var(--brand-secondary-soft);
	color: var(--brand-primary);
}

.tile__body {
	display: grid;
	min-width: 0;
	line-height: 1.3;
}

.tile__body strong {
	font-weight: 650;
}

.tile__body small {
	font-size: var(--fs-xs);
	color: var(--text-muted);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.tile > .icon {
	color: var(--text-muted);
}

.tile--primary {
	background: var(--brand-primary);
	border-color: var(--brand-primary);
	color: #fff;
}

.tile--primary .tile__icon {
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

.tile--primary .tile__body small,
.tile--primary > .icon {
	color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 640px) {
	.tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1100px) {
	.tiles {
		grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	}
}

/* --------------------------------------------------------------------------
   Puslapiavimas, tušti rezultatai
   -------------------------------------------------------------------------- */
.pagination,
.page-links {
	margin-top: var(--s-7);
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s-2);
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 46px;
	height: 46px;
	padding-inline: 14px;
	border: 1px solid var(--border-strong);
	border-radius: var(--radius-pill);
	font-size: var(--fs-sm);
	font-weight: 600;
}

.page-numbers.current {
	background: var(--brand-primary);
	border-color: var(--brand-primary);
	color: #fff;
}

a.page-numbers:hover {
	border-color: var(--text-primary);
}

.empty {
	padding: var(--s-7);
	border: 1px dashed var(--border-strong);
	border-radius: var(--radius-lg);
	text-align: center;
	color: var(--text-secondary);
}

.empty__actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--s-2);
	margin-top: var(--s-5);
}

/* --------------------------------------------------------------------------
   Slapukų sutikimas
   -------------------------------------------------------------------------- */
.consent {
	position: fixed;
	left: var(--gutter);
	right: var(--gutter);
	bottom: calc(var(--s-4) + env(safe-area-inset-bottom, 0px));
	z-index: 90;
	display: grid;
	gap: var(--s-4);
	max-width: 760px;
	margin-inline: auto;
	padding: var(--s-5);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	background: var(--surface);
	box-shadow: var(--shadow-lg);
	animation: panel-in var(--dur-3) var(--ease);
}

.consent__title {
	font-weight: 700;
}

.consent__text {
	margin-top: 4px;
	font-size: var(--fs-sm);
	color: var(--text-secondary);
}

.consent__text a {
	color: var(--brand-primary);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.consent__options {
	display: grid;
	gap: var(--s-2);
	margin-top: var(--s-4);
}

.consent__opt {
	display: grid;
	grid-template-columns: 22px 1fr;
	gap: var(--s-3);
	align-items: start;
	padding: var(--s-3);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	font-size: var(--fs-sm);
	color: var(--text-secondary);
	cursor: pointer;
}

.consent__opt input {
	width: 20px;
	height: 20px;
	margin: 2px 0 0;
	accent-color: var(--brand-primary);
}

.consent__opt strong {
	color: var(--text-primary);
}

.consent__actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--s-2);
}

@media (max-width: 1099px) {
	.consent {
		bottom: calc(var(--bottom-nav-h) + var(--s-3) + env(safe-area-inset-bottom, 0px));
	}

	.consent__actions .btn {
		flex: 1 1 auto;
	}
}

/* Labai siauri ekranai (320 px) ir 200 % priartinimas */
.location > *,
.location__row > div {
	min-width: 0;
}

.hours > div {
	flex-wrap: wrap;
}

@media (max-width: 359px) {
	.location__info {
		padding: var(--s-4);
	}

	.location__row {
		grid-template-columns: 36px 1fr;
		gap: var(--s-3);
	}

	.location__icon {
		width: 36px;
		height: 36px;
	}
}
