/*
Theme Name: TVGuru
Theme URI: https://tvguru.lt/
Author: TVGuru
Description: Greita, nuo nulio sukurta tema televizorių remonto servisui. Veikia be papildomų įskiepių: SEO meta žymės, Open Graph, struktūrizuoti duomenys (LocalBusiness, FAQPage, BreadcrumbList, BlogPosting), interaktyvus gedimų simuliatorius, „taisyti ar pirkti naują“ skaičiuoklė, kainoraštis, gyva darbo laiko būsena, mygtukas į viršų ir nuosavas faviconas. Nustatymai: Išvaizda → Tinkinti → TVGuru nustatymai.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tvguru
Tags: one-column, custom-menu, featured-images, accessibility-ready, translation-ready
*/

/* ---------- Šriftai (SIL Open Font License, failai assets/fonts) ---------- */
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("assets/fonts/bricolage.woff") format("woff");
	font-weight: 500 800;
	font-stretch: 75% 100%;
	font-display: swap;
}
@font-face {
	font-family: "Onest";
	src: url("assets/fonts/onest.woff") format("woff");
	font-weight: 400 700;
	font-display: swap;
}

/* ---------- Žetonai ---------- */
:root {
	--ink: #18284a;
	--ink-2: #22355f;
	--ink-3: #2e4473;
	--paper: #f3f5f8;
	--tint: #e6ecf3;
	--white: #fff;
	--line: #d3dbe6;
	--line-ink: rgba(255, 255, 255, .16);
	--text: #1b2640;
	--muted: #57647d;
	--muted-ink: #b6c2d8;
	--yellow: #f2c230;
	--yellow-2: #e0ae12;
	--cyan: #2bb3c9;
	--cyan-ink: #0a7385;
	--magenta: #c2387c;
	--blue: #3c62d6;
	--green: #2f9e5b;
	--ok: #2f9e5b;
	--red: #e0443e;
	--bezel: #1f2533;

	--f-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
	--f-body: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--r-s: 6px;
	--r-m: 12px;
	--r-l: 22px;
	--header-h: 72px;
}

.system-fonts {
	--f-display: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--f-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Pagrindai ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

img,
svg,
video,
iframe { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
	font-family: var(--f-display);
	color: inherit;
	line-height: 1.12;
	margin: 0 0 .5em;
	font-weight: 700;
	letter-spacing: -.01em;
	text-wrap: balance;
}
h2 { font-size: clamp(1.85rem, 1.3rem + 2.2vw, 2.75rem); font-variation-settings: "wdth" 88; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

a { color: var(--cyan-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
	outline: 3px solid var(--blue);
	outline-offset: 3px;
	border-radius: 4px;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto;
	clip-path: none;
	width: auto;
	height: auto;
	margin: 0;
	z-index: 1000;
	top: 8px;
	left: 8px;
	padding: 12px 18px;
	background: var(--yellow);
	color: var(--ink);
	font-weight: 600;
	border-radius: var(--r-s);
}

.wrap {
	width: 100%;
	max-width: calc(var(--wrap) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.site-main:focus { outline: none; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Mygtukai ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 46px;
	padding: .65em 1.2em;
	border: 2px solid transparent;
	border-radius: 999px;
	font: 600 1rem/1.1 var(--f-body);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
	white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: .8em 1.5em; font-size: 1.0625rem; }
.btn-call { background: var(--yellow); color: var(--ink); }
.btn-call:hover { background: var(--yellow-2); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--tint); }

.link-arrow {
	display: inline-flex;
	align-items: center;
	gap: .4em;
	font-weight: 600;
}
.link-arrow .icon { transition: transform .15s; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Signalo juostos (ženklo motyvas) ---------- */
.bars { display: flex; height: 5px; }
.bars i { flex: 1; }
.bars i:nth-child(1) { background: #cfd6e0; }
.bars i:nth-child(2) { background: var(--yellow); }
.bars i:nth-child(3) { background: var(--cyan); }
.bars i:nth-child(4) { background: var(--green); }
.bars i:nth-child(5) { background: var(--magenta); }
.bars i:nth-child(6) { background: var(--red); }
.bars i:nth-child(7) { background: var(--blue); }

/* ---------- Antraštė ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }

.header-inner {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: calc(var(--header-h) - 5px);
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: var(--ink);
	text-decoration: none;
	margin-right: auto;
}
.logo-mark { width: 44px; height: 44px; }
.logo-word {
	font-family: var(--f-display);
	font-size: 1.6rem;
	line-height: 1;
	letter-spacing: -.02em;
	font-variation-settings: "wdth" 90;
}
.logo-tv { font-weight: 800; }
.logo-guru { font-weight: 500; }
.logo-tld { font-weight: 500; font-size: .55em; color: var(--muted); margin-left: 1px; }

.site-nav .menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 4px;
}
.site-nav .menu a {
	display: block;
	padding: 10px 12px;
	color: var(--ink);
	text-decoration: none;
	font-weight: 500;
	border-radius: var(--r-s);
}
.site-nav .menu a:hover { background: var(--tint); }
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a { box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.site-nav .sub-menu { display: none; }
.nav-extra { display: none; }

.nav-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 1px solid var(--line);
	border-radius: var(--r-s);
	background: var(--white);
	color: var(--ink);
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 980px) {
	.nav-toggle { display: inline-flex; order: 3; }
	.header-call { order: 2; }
	.header-call span { display: none; }
	.header-call { width: 46px; padding: 0; }
	.site-nav {
		position: fixed;
		inset: var(--nav-top, var(--header-h)) 0 auto 0;
		background: var(--white);
		border-bottom: 1px solid var(--line);
		padding: 8px var(--gutter) 24px;
		max-height: calc(100vh - var(--header-h));
		overflow: auto;
		display: none;
		box-shadow: 0 24px 40px -24px rgba(24, 40, 74, .35);
	}
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.125rem; }
	.site-nav .current-menu-item > a,
	.site-nav .current_page_item > a { box-shadow: inset 4px 0 0 var(--yellow); padding-left: 14px; }
	.nav-extra { display: block; padding-top: 16px; color: var(--muted); }
	.nav-addr { display: flex; gap: 8px; align-items: center; margin: 8px 0 0; }
}
@media (min-width: 981px) and (max-width: 1120px) {
	.header-call span { display: none; }
	.header-call { width: 46px; padding: 0; }
}

/* ---------- Būsenos žymė ---------- */
.status {
	display: inline-flex;
	align-items: center;
	gap: .55em;
	margin: 0 0 1.2rem;
	font-size: .95rem;
	font-weight: 500;
}
.status-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #9aa6ba;
	flex: none;
}
.status.is-open .status-dot {
	background: var(--ok);
	box-shadow: 0 0 0 0 rgba(47, 158, 91, .5);
	animation: pulse 2.4s infinite;
}
.status.is-closed .status-dot { background: var(--red); }
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(47, 158, 91, .45); }
	70% { box-shadow: 0 0 0 9px rgba(47, 158, 91, 0); }
	100% { box-shadow: 0 0 0 0 rgba(47, 158, 91, 0); }
}

/* ---------- Pirmas ekranas ---------- */
.hero {
	padding: clamp(36px, 6vw, 84px) 0 clamp(48px, 7vw, 96px);
	background:
		linear-gradient(180deg, var(--white) 0, var(--paper) 100%);
}
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: start;
}
.hero-title {
	font-size: clamp(2.6rem, 1.4rem + 5vw, 5rem);
	font-weight: 800;
	font-variation-settings: "wdth" 78;
	line-height: .98;
	letter-spacing: -.025em;
	color: var(--ink);
	margin-bottom: .35em;
	max-width: 11ch;
}
.hero-lead {
	font-size: 1.2rem;
	color: var(--muted);
	max-width: 46ch;
	margin-bottom: 1.6rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2rem; }

.hero-facts {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, auto));
	justify-content: start;
	gap: 0;
	margin: 0;
	border-top: 1px solid var(--line);
}
.hero-facts div { padding: 14px 22px 0 0; margin-right: 22px; border-right: 1px solid var(--line); }
.hero-facts div:last-child { border-right: 0; margin-right: 0; }
.hero-facts dt { font-size: .85rem; color: var(--muted); }
.hero-facts dd {
	margin: 2px 0 0;
	font-family: var(--f-display);
	font-weight: 700;
	font-size: 1.35rem;
	color: var(--ink);
	white-space: nowrap;
}
.hero-facts dd a { color: inherit; text-decoration: none; }
.hero-facts dd a:hover { text-decoration: underline; }

/* Televizorius */
.hero-tv { position: relative; }
.sim-q {
	font-family: var(--f-display);
	font-weight: 700;
	font-size: 1.15rem;
	color: var(--ink);
	margin: 0 0 12px;
}
.tv {
	position: relative;
	background: var(--bezel);
	border-radius: 18px;
	padding: 12px 12px 22px;
	box-shadow: 0 1px 0 #3a4357 inset, 0 30px 60px -30px rgba(24, 40, 74, .55);
	margin-bottom: 44px;
}
.tv-screen {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 6px;
	background: #000;
}
.tv-led {
	position: absolute;
	right: 22px;
	bottom: 8px;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #4a5368;
}
.tv-stand {
	position: absolute;
	left: 50%;
	bottom: -34px;
	width: 34%;
	height: 34px;
	transform: translateX(-50%);
	background: linear-gradient(180deg, #2a3142, #1a1f2b);
	clip-path: polygon(38% 0, 62% 0, 100% 100%, 0 100%);
}

.scr {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity .35s ease;
	pointer-events: none;
}

/* Bandomasis signalas */
.scr-bars { display: flex; }
.scr-bars i { flex: 1; height: 72%; }
.scr-bars i:nth-child(1) { background: #c9ced6; }
.scr-bars i:nth-child(2) { background: #e3c13a; }
.scr-bars i:nth-child(3) { background: #36b5c8; }
.scr-bars i:nth-child(4) { background: #3fae5f; }
.scr-bars i:nth-child(5) { background: #c3407f; }
.scr-bars i:nth-child(6) { background: #d8443f; }
.scr-bars i:nth-child(7) { background: #3c62d6; }
.scr-bars-low {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 28%;
	background: linear-gradient(90deg, #121a2c 0 25%, #f4f6f9 25% 37.5%, #121a2c 37.5% 62.5%, #2b3550 62.5% 75%, #121a2c 75%);
}
.scr-caption {
	position: absolute;
	left: 50%;
	top: 36%;
	transform: translate(-50%, -50%);
	background: rgba(12, 18, 32, .86);
	color: #fff;
	padding: .5em 1em;
	border-radius: 4px;
	font: 600 clamp(.8rem, 1.6vw, 1rem)/1.2 var(--f-body);
	white-space: nowrap;
}

.scr-dark {
	background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, .18) 0, rgba(0, 0, 0, .7) 9%, rgba(0, 0, 0, .965) 17%);
	background-size: 300% 300%;
}
.scr-lines {
	display: flex;
	justify-content: space-around;
	mix-blend-mode: normal;
}
.scr-lines i { width: 2px; height: 100%; }
.scr-lines i:nth-child(1) { background: #ff3df2; margin-left: 12%; }
.scr-lines i:nth-child(2) { background: #22ff9a; width: 3px; }
.scr-lines i:nth-child(3) { background: #fff; width: 1px; }
.scr-lines i:nth-child(4) { background: #3df0ff; width: 4px; margin-right: 18%; }

.scr-boot { display: grid; place-items: center; align-content: center; gap: 14px; background: #000; }
.boot-logo {
	font: 800 clamp(1.6rem, 4vw, 2.6rem)/1 var(--f-display);
	color: #e8edf5;
	letter-spacing: .02em;
}
.boot-spin {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	border: 3px solid rgba(255, 255, 255, .2);
	border-top-color: #fff;
}
.scr-nosig { background: #0b1531; }
.nosig-box {
	position: absolute;
	left: 0;
	top: 0;
	padding: .55em 1em;
	border: 2px solid #8fa3c9;
	color: #dbe4f5;
	font: 600 clamp(.75rem, 1.5vw, .95rem)/1 var(--f-body);
	white-space: nowrap;
	background: rgba(11, 21, 49, .8);
}
.scr-wave {
	inset: auto 4% 6% auto;
	width: 70px;
	height: 32px;
	display: flex;
	align-items: center;
	gap: 4px;
}
.scr-wave i { flex: 1; height: 40%; border-radius: 2px; background: var(--cyan); }
.scr-mute {
	inset: auto 4% 6% auto;
	width: 46px;
	height: 46px;
	padding: 10px;
	border-radius: 50%;
	background: rgba(12, 18, 32, .85);
	color: #fff;
}
.scr-mute svg { width: 100%; height: 100%; }

[data-state="bars"] .scr-bars { opacity: 1; }
[data-state="nopicture"] .scr-pic { opacity: 1; }
[data-state="nopicture"] .scr-dark { opacity: 1; animation: torch 7s ease-in-out infinite alternate; }
[data-state="nopicture"] .scr-wave { opacity: 1; }
[data-state="nopicture"] .scr-wave i { animation: wave 1s ease-in-out infinite alternate; }
[data-state="nopicture"] .scr-wave i:nth-child(2) { animation-delay: -.3s; }
[data-state="nopicture"] .scr-wave i:nth-child(3) { animation-delay: -.6s; }
[data-state="nopicture"] .scr-wave i:nth-child(4) { animation-delay: -.15s; }
[data-state="nopicture"] .scr-wave i:nth-child(5) { animation-delay: -.45s; }
[data-state="lines"] .scr-pic { opacity: 1; filter: saturate(1.3) hue-rotate(-12deg); }
[data-state="lines"] .scr-lines { opacity: 1; }
[data-state="boot"] .scr-boot { opacity: 1; animation: reboot 3.2s steps(1) infinite; }
[data-state="boot"] .boot-spin { animation: spin 1s linear infinite; }
[data-state="nosignal"] .scr-nosig { opacity: 1; }
[data-state="nosignal"] .nosig-box { animation: bounce-x 5.3s linear infinite alternate, bounce-y 3.7s linear infinite alternate; }
[data-state="nosound"] .scr-pic { opacity: 1; }
[data-state="nosound"] .scr-mute { opacity: 1; }

.tv-led.is-on { background: #e9eef6; box-shadow: 0 0 6px rgba(233, 238, 246, .8); }
.tv-led.is-standby { background: var(--red); box-shadow: 0 0 6px var(--red); }
.tv-led.is-blink { animation: blink 1.6s steps(1) infinite; }

@keyframes torch { 0% { background-position: 25% 40%; } 50% { background-position: 70% 55%; } 100% { background-position: 40% 70%; } }
@keyframes wave { from { height: 20%; } to { height: 100%; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes reboot { 0%, 78% { opacity: 1; } 79%, 100% { opacity: .02; } }
@keyframes blink {
	0%, 10%, 20%, 30%, 40%, 50% { background: var(--red); box-shadow: 0 0 8px var(--red); }
	5%, 15%, 25%, 35%, 45%, 55%, 100% { background: #4a5368; box-shadow: none; }
}
@keyframes bounce-x { from { left: 0; } to { left: calc(100% - 9.5em); } }
@keyframes bounce-y { from { top: 0; } to { top: calc(100% - 2.4em); } }

.hero .tv-screen { animation: poweron .9s cubic-bezier(.2, .7, .2, 1) .25s both; }
@keyframes poweron {
	0% { transform: scale(1, .006); filter: brightness(4); }
	45% { transform: scale(1, .006); filter: brightness(4); }
	70% { transform: scale(1, 1.02); filter: brightness(1.6); }
	100% { transform: none; filter: none; }
}

.sim-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }

.chip {
	appearance: none;
	border: 1px solid var(--line);
	background: var(--white);
	color: var(--ink);
	font: 500 .95rem/1.2 var(--f-body);
	padding: .6em .95em;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.sim-result {
	min-height: 168px;
	padding: 18px 20px;
	background: var(--white);
	border: 1px solid var(--line);
	border-left: 4px solid var(--yellow);
	border-radius: var(--r-m);
}
.sim-hint { margin: 0; color: var(--muted); }
.sim-title { font-family: var(--f-display); font-weight: 700; font-size: 1.2rem; color: var(--ink); margin: 0 0 .35em; }
.sim-result p { margin: 0 0 .6em; }
.sim-check { color: var(--muted); }
.sim-check strong { color: var(--text); }
.sim-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; margin-top: 10px; }
.sim-price { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; color: var(--ink); }
.sim-time { color: var(--muted); }
.sim-meta a { margin-left: auto; font-weight: 600; }
.sim-result.is-fresh { animation: fresh .4s ease; }
@keyframes fresh { from { background: #fff7d6; } to { background: var(--white); } }

@media (max-width: 1020px) {
	.hero-grid { grid-template-columns: 1fr; }
	.hero-title { max-width: 14ch; }
}
@media (max-width: 640px) {
	.hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero-facts div { margin-right: 0; padding-right: 12px; border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
	.hero-facts div:nth-child(odd) { border-right: 1px solid var(--line); margin-right: 12px; }
	.hero-actions .btn { flex: 1 1 100%; }
	.chip { font-size: .9rem; }
}

/* ---------- Sekcijos ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-ink { background: var(--ink); color: #e9eef7; }
.section-ink a:not(.btn) { color: #9fe3ee; }
.section-ink .muted,
.section-ink .section-head p { color: var(--muted-ink); }

.section-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { color: inherit; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section-head p:last-child { margin-bottom: 0; }
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; max-width: none; flex-wrap: wrap; }
.section-head-row h2 { margin: 0; }

.narrow-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
}
.sticky-head { position: sticky; top: calc(var(--header-h) + 24px); }
.split {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
}
@media (max-width: 900px) {
	.narrow-grid,
	.split { grid-template-columns: 1fr; }
	.sticky-head { position: static; }
}

.note { color: var(--muted); font-size: .95rem; max-width: 75ch; margin-top: 24px; }

/* ---------- Kainos ---------- */
.price-lead {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 12px 36px;
	align-items: center;
	padding: 22px 28px;
	background: var(--ink);
	color: #e9eef7;
	border-radius: var(--r-l);
	margin-bottom: 28px;
}
.price-lead-label { margin: 0; color: var(--muted-ink); font-size: .95rem; }
.price-lead-num {
	margin: 0;
	font: 800 clamp(2.8rem, 6vw, 4rem)/1 var(--f-display);
	color: var(--yellow);
	font-variation-settings: "wdth" 80;
}
.price-lead-text { margin: 0; max-width: 60ch; }
@media (max-width: 640px) { .price-lead { grid-template-columns: 1fr; } }

.price-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }

.price-tables {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 28px 40px;
}
@media (max-width: 860px) { .price-tables { grid-template-columns: 1fr; } }
.price-group[hidden] { display: none; }
.price-group h3 { font-size: 1.15rem; margin-bottom: .6em; padding-bottom: .5em; border-bottom: 2px solid var(--ink); }

.price-table { width: 100%; border-collapse: collapse; font-size: 1rem; table-layout: fixed; }
.price-table .c-price { width: 7.5em; }
.price-table .c-time { width: 8.5em; }
.price-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.price-table th,
.price-table td { padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.price-table tbody th { font-weight: 500; padding-right: 16px; }
.pt-price {
	font-family: var(--f-display);
	font-weight: 700;
	color: var(--ink);
	white-space: nowrap;
	text-align: right !important;
	font-variant-numeric: tabular-nums;
	padding-right: 16px !important;
}
.pt-time { color: var(--muted); font-size: .9rem; white-space: nowrap; text-align: right !important; width: 1%; }
@media (max-width: 520px) {
	.price-table { table-layout: auto; }
	.price-table colgroup { display: none; }
	.price-table tr { display: grid; grid-template-columns: 1fr auto; padding: 12px 0; border-bottom: 1px solid var(--line); }
	.price-table th,
	.price-table td { border: 0; padding: 0; }
	.price-table tbody th { grid-column: 1 / -1; margin-bottom: 4px; }
	.pt-price { text-align: left !important; }
}

/* ---------- Skaičiuoklė ---------- */
.calc {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}
@media (max-width: 960px) { .calc { grid-template-columns: 1fr; } }

.seg { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.seg legend { font-weight: 600; margin-bottom: 10px; padding: 0; color: var(--white); }
.seg-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; cursor: pointer; }
.seg input {
	position: absolute;
	opacity: 0;
	inset: 0;
	margin: 0;
	cursor: pointer;
}
.seg span {
	display: inline-block;
	padding: .55em 1em;
	border: 1px solid var(--line-ink);
	border-radius: 999px;
	color: #dce4f2;
	transition: background-color .15s, border-color .15s, color .15s;
}
.seg label:hover span { border-color: rgba(255, 255, 255, .5); }
.seg input:checked + span { background: var(--white); border-color: var(--white); color: var(--ink); font-weight: 600; }
.seg input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.seg-list .seg-opts { flex-direction: column; gap: 6px; }
.seg-list span { border-radius: var(--r-s); width: 100%; }

.calc-out {
	position: sticky;
	top: calc(var(--header-h) + 24px);
	background: var(--ink-2);
	border: 1px solid var(--line-ink);
	border-radius: var(--r-l);
	padding: clamp(20px, 3vw, 32px);
}
.calc-verdict {
	font: 800 clamp(1.6rem, 3vw, 2.2rem)/1.05 var(--f-display);
	font-variation-settings: "wdth" 85;
	margin: 0 0 18px;
	color: var(--white);
}
.calc-verdict[data-v="good"] { color: #7fe0a4; }
.calc-verdict[data-v="maybe"] { color: var(--yellow); }
.calc-verdict[data-v="bad"] { color: #ff9aa0; }
.calc-compare { display: grid; gap: 14px; margin-bottom: 16px; }
.cmp-label { margin: 0; font-size: .9rem; color: var(--muted-ink); }
.cmp-num { margin: 0 0 6px; font: 700 1.5rem/1.1 var(--f-display); color: var(--white); font-variant-numeric: tabular-nums; }
.cmp-bar { height: 10px; background: rgba(255, 255, 255, .08); border-radius: 999px; overflow: hidden; }
.cmp-bar span { display: block; height: 100%; width: 0; background: var(--yellow); border-radius: inherit; transition: width .5s ease; }
.cmp-bar-new span { background: #8ea3c8; }
.calc-why { color: #dbe3f1; }
.calc-small { font-size: .88rem; color: var(--muted-ink); }

/* ---------- Akordeonai ---------- */
.acc { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-item summary {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 0;
	cursor: pointer;
	list-style: none;
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary h3 { margin: 0; font-size: 1.15rem; flex: 1; }
.acc-item summary::after {
	content: "";
	width: 14px;
	height: 14px;
	flex: none;
	background:
		linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
	transition: transform .2s;
	color: var(--ink);
}
.acc-item[open] summary::after { transform: rotate(45deg); }
.acc-item summary:hover h3 { color: var(--cyan-ink); }
.acc-price {
	font-family: var(--f-display);
	font-weight: 700;
	color: var(--ink);
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.acc-body { padding: 0 0 22px; }
.acc-body p { max-width: 65ch; }
.acc-dl { margin: 0; display: grid; gap: 14px; }
.acc-dl dt { font-weight: 600; font-size: .9rem; color: var(--muted); }
.acc-dl dd { margin: 2px 0 0; max-width: 65ch; }
.acc-item:target { background: linear-gradient(90deg, rgba(242, 194, 48, .15), transparent); }

/* ---------- Žingsniai ---------- */
.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 24px;
	counter-reset: step;
}
.steps li {
	counter-increment: step;
	position: relative;
	padding-top: 72px;
}
.steps li::before {
	content: counter(step);
	position: absolute;
	top: 0;
	left: 0;
	width: 52px;
	height: 52px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--ink);
	color: var(--yellow);
	font: 800 1.4rem/1 var(--f-display);
}
.steps li:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 26px;
	left: 64px;
	right: -12px;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--ink) 0 6px, transparent 6px 12px);
	opacity: .35;
}
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 960px) {
	.steps { grid-template-columns: 1fr; gap: 0; }
	.steps li { padding: 0 0 28px 72px; min-height: 52px; }
	.steps li:not(:last-child)::after { top: 60px; bottom: 6px; left: 25px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 6px, transparent 6px 12px); }
}

/* ---------- Kontrolinis sąrašas ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.checklist label {
	display: grid;
	grid-template-columns: 30px minmax(0, 1fr);
	gap: 14px;
	padding: 16px 18px;
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--r-m);
	cursor: pointer;
	position: relative;
	transition: border-color .15s, background-color .15s;
}
.checklist input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-box {
	width: 28px;
	height: 28px;
	border: 2px solid var(--ink);
	border-radius: 8px;
	display: grid;
	place-items: center;
	color: transparent;
	transition: background-color .15s, color .15s;
}
.check-box .icon { width: 18px; height: 18px; }
.checklist input:checked + .check-box { background: var(--ok); border-color: var(--ok); color: #fff; }
.checklist input:focus-visible + .check-box { outline: 3px solid var(--blue); outline-offset: 2px; }
.checklist input:checked ~ .check-text strong { text-decoration: line-through; text-decoration-color: var(--ok); }
.checklist label:has(input:checked) { background: #f1faf4; border-color: #bfe3cc; }
.check-text { color: var(--muted); }
.check-text strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.check-progress { font-weight: 600; color: var(--ink) !important; }

/* ---------- Atvežimas ---------- */
.carry {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: center;
}
.carry-fig { margin: 0; background: var(--white); border-radius: var(--r-l); padding: 16px; }
.carry-fig svg { display: block; width: 100%; height: auto; }
.carry-lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.carry-h { font-size: 1.1rem; display: flex; align-items: center; gap: 8px; }
.carry-h::before { content: ""; width: 12px; height: 12px; border-radius: 50%; }
.carry-h-ok::before { background: var(--ok); }
.carry-h-bad::before { background: var(--magenta); }
.ticks,
.crosses { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li,
.crosses li { position: relative; padding-left: 26px; }
.ticks li::before,
.crosses li::before {
	position: absolute;
	left: 0;
	top: .05em;
	font-weight: 800;
}
.ticks li::before { content: "✓"; color: var(--ok); }
.crosses li::before { content: "✕"; color: var(--magenta); }
@media (max-width: 900px) {
	.carry,
	.carry-lists { grid-template-columns: 1fr; }
	.carry-fig { max-width: 420px; }
}

/* ---------- Technologijos ---------- */
.table-scroll { overflow-x: auto; margin-bottom: clamp(36px, 5vw, 56px); }
.tech-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.tech-table th,
.tech-table td { text-align: left; padding: 16px 18px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tech-table thead th { font-size: .9rem; color: var(--muted); font-weight: 600; border-bottom: 2px solid var(--ink); }
.tech-table tbody th { font-family: var(--f-display); font-size: 1.15rem; white-space: nowrap; }
@media (max-width: 700px) {
	.tech-table { min-width: 0; }
	.tech-table thead { display: none; }
	.tech-table tr { display: block; padding: 16px 0; border-bottom: 1px solid var(--line); }
	.tech-table th,
	.tech-table td { display: block; border: 0; padding: 2px 0; }
	.tech-table tbody th { margin-bottom: 4px; }
	.tech-table td:nth-of-type(2)::before { content: "Dažniausi gedimai: "; font-weight: 600; }
}
.meter { display: inline-flex; gap: 3px; margin-right: 10px; vertical-align: middle; }
.meter i { width: 16px; height: 8px; border-radius: 2px; background: var(--line); }
.meter[data-score="1"] i:nth-child(-n+1),
.meter[data-score="2"] i:nth-child(-n+2),
.meter[data-score="3"] i:nth-child(-n+3) { background: var(--ok); }

.brands { margin-bottom: clamp(36px, 5vw, 56px); }
.brand-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.brand-list li {
	font: 700 1.35rem/1.2 var(--f-display);
	color: var(--ink);
	font-variation-settings: "wdth" 85;
}
.brand-list li:last-child { color: var(--muted); font-weight: 500; }

.why-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 40px; }
.why-grid p { margin: 0; color: var(--muted); padding-top: 14px; border-top: 3px solid var(--yellow); }
.why-grid strong { display: block; color: var(--ink); font-family: var(--f-display); font-size: 1.15rem; margin-bottom: 4px; }
@media (max-width: 800px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- Įrašų kortelės ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; text-decoration: none; }
.post-card img,
.post-card-ph {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: var(--r-m);
	background: var(--tint);
}
.post-card-ph { display: grid; place-items: center; }
.ph-mark { width: 30%; height: auto; opacity: .9; }
.post-card-body { display: block; padding-top: 14px; }
.post-card-date { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.post-card-title {
	display: block;
	font: 700 1.25rem/1.2 var(--f-display);
	color: var(--ink);
	margin-bottom: 8px;
	text-wrap: balance;
}
.post-card-link:hover .post-card-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.post-card-ex { display: block; color: var(--muted); font-size: .98rem; }

/* ---------- Kontaktai ---------- */
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact h2 { color: var(--white); }
.contact-addr { display: flex; gap: 12px; font-size: 1.15rem; margin-bottom: 22px; }
.contact-addr .icon { width: 24px; height: 24px; color: var(--yellow); margin-top: 3px; }
.contact-addr strong { color: var(--white); font-family: var(--f-display); font-size: 1.35rem; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.contact-h { color: var(--white); font-size: 1.1rem; }

.hours { width: 100%; max-width: 420px; border-collapse: collapse; }
.hours th,
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line-ink); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours .is-off { color: var(--muted-ink); }
.hours .is-today th,
.hours .is-today td { color: var(--yellow); font-weight: 700; }
.hours .is-today th::after { content: " (šiandien)"; font-weight: 400; }
.hours-note { font-size: .9rem; color: var(--muted-ink); margin-top: 10px; }

.map {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var(--r-l);
	overflow: hidden;
	background: var(--ink-2);
	border: 1px solid var(--line-ink);
	color: #fff;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: end; gap: 10px; text-align: center; padding: 20px 20px 28px; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-ph .btn { position: relative; }
.map-note { position: relative; margin: 0; font-size: .85rem; color: var(--muted-ink); }

/* ---------- Puslapiai, įrašai ---------- */
.page-wrap { padding-top: 12px; padding-bottom: clamp(56px, 8vw, 100px); }
.page-head { max-width: 760px; margin-bottom: 32px; }
.page-head h1 {
	font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem);
	font-weight: 800;
	font-variation-settings: "wdth" 82;
	line-height: 1.02;
	color: var(--ink);
	letter-spacing: -.02em;
}
.page-lead { font-size: 1.2rem; color: var(--muted); }

.crumbs { padding: 20px 0 8px; font-size: .9rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0; padding: 0; }
.crumbs li { color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 .6em; color: var(--line); }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--text); }

.post-cat {
	display: inline-block;
	margin-bottom: 14px;
	font-weight: 600;
	font-size: .9rem;
	text-decoration: none;
	color: var(--cyan-ink);
}
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--muted); font-size: .95rem; }
.single-hero { margin: 0 0 40px; }
.single-hero img { width: 100%; border-radius: var(--r-l); aspect-ratio: 2 / 1; object-fit: cover; }

.single-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
@media (min-width: 1100px) {
	.single-layout.has-toc { grid-template-columns: 240px minmax(0, 760px); }
	.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}
.toc { font-size: .95rem; }
.toc-title { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.toc ol { margin: 0; padding: 0 0 0 1.2em; display: grid; gap: 6px; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover,
.toc a.is-active { color: var(--ink); text-decoration: underline; }
@media (max-width: 1099px) {
	.toc { padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-m); }
}

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.admin-bar .read-progress { top: 32px; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--yellow); }

/* Turinio tipografija */
.entry { max-width: 760px; font-size: 1.1rem; line-height: 1.7; }
.entry > * { margin-block: 0 1.1em; }
.entry h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); margin-top: 1.8em; color: var(--ink); }
.entry h3 { font-size: 1.3rem; margin-top: 1.5em; color: var(--ink); }
.entry ul,
.entry ol { padding-left: 1.3em; }
.entry li { margin-bottom: .4em; }
.entry li::marker { color: var(--cyan-ink); }
.entry blockquote {
	margin-inline: 0;
	padding: 4px 0 4px 22px;
	border-left: 4px solid var(--yellow);
	font-size: 1.2rem;
	color: var(--ink);
}
.entry img { border-radius: var(--r-m); }
.entry figure { margin-inline: 0; }
.entry figcaption,
.entry .wp-caption-text { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.entry table { width: 100%; border-collapse: collapse; font-size: 1rem; }
.entry th,
.entry td { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry .alignwide { max-width: min(1100px, 100vw - var(--gutter) * 2); }
.entry .aligncenter { margin-inline: auto; display: block; }
.entry .alignleft { float: left; margin: .3em 1.2em 1em 0; }
.entry .alignright { float: right; margin: .3em 0 1em 1.2em; }
.entry iframe { width: 100%; border-radius: var(--r-m); }
.entry::after { content: ""; display: table; clear: both; }

/* Galerijos (blokas ir trumpasis kodas) */
.entry .wp-block-gallery { gap: 12px; }
.entry .gallery { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 12px; }
.entry .gallery-columns-2 { --cols: 2; }
.entry .gallery-columns-4 { --cols: 4; }
.entry .gallery-columns-5 { --cols: 5; }
.entry .gallery-item { margin: 0; }
.entry .gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (max-width: 600px) { .entry .gallery { --cols: 2 !important; } }
.page .entry:has(.wp-block-gallery, .gallery) { max-width: none; }

/* Peržiūros langas */
.lb {
	position: fixed;
	inset: 0;
	z-index: 200;
	background: rgba(10, 16, 30, .92);
	display: grid;
	place-items: center;
	padding: 56px 16px;
}
.lb img { max-height: 100%; max-width: 100%; border-radius: var(--r-s); }
.lb button {
	position: absolute;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
	font-size: 1.4rem;
}
.lb button:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #c6d0e2; font-size: .9rem; }

.cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	margin: clamp(48px, 6vw, 72px) 0 0;
	padding: clamp(22px, 3vw, 34px);
	background: var(--ink);
	color: #e5ebf5;
	border-radius: var(--r-l);
	max-width: 1060px;
}
.cta-title { font: 800 1.6rem/1.1 var(--f-display); color: var(--white); margin-bottom: .3em; }
.cta-text { flex: 1 1 380px; }
.cta-text p { margin-bottom: .6em; }
.cta .status { margin: 0; color: var(--muted-ink); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.cta .btn-ghost:hover { background: #fff; color: var(--ink); }

.related { margin-top: clamp(56px, 7vw, 88px); }
.related h2 { color: var(--ink); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.post-nav a { display: block; text-decoration: none; color: var(--ink); font-weight: 600; }
.post-nav small { display: block; color: var(--muted); font-weight: 400; }
.post-nav-next { text-align: right; grid-column: 2; }

.pagination,
.nav-links { margin-top: 40px; }
.nav-links,
.pagination ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 999px;
	text-decoration: none;
	color: var(--ink);
	background: var(--white);
}
.page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

.empty { padding: 32px; background: var(--white); border-radius: var(--r-l); border: 1px dashed var(--line); max-width: 760px; }

/* 404 */
.notfound .nf-screen {
	position: relative;
	max-width: 420px;
	aspect-ratio: 16 / 9;
	background: #0b1531;
	border: 12px solid var(--bezel);
	border-radius: 16px;
	margin: 24px 0 32px;
	overflow: hidden;
}
.notfound .nosig-box { animation: bounce-x 5.3s linear infinite alternate, bounce-y 3.7s linear infinite alternate; }
.nf-links { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.nf-links a { display: inline-block; padding: .6em 1.1em; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; color: var(--ink); font-weight: 500; }
.nf-links a:hover { border-color: var(--ink); }

/* ---------- Poraštė ---------- */
.site-footer { background: var(--tint); border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 72px); }
.footer-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 32px 40px;
	padding-bottom: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--muted); max-width: 36ch; margin-top: 14px; }
.footer-h { font-size: 1rem; font-family: var(--f-body); font-weight: 600; color: var(--ink); margin-bottom: 12px; }
.site-footer address { font-style: normal; display: grid; gap: 12px; }
.footer-link { display: flex; gap: 10px; color: var(--text); text-decoration: none; }
.footer-link .icon { margin-top: 4px; color: var(--cyan-ink); }
.footer-link:hover span { text-decoration: underline; }
.footer-link small { color: var(--muted); font-size: .9rem; }
.footer-hours { margin-bottom: .6em; }
.footer-hours strong { font-family: var(--f-display); font-size: 1.3rem; color: var(--ink); }
.muted { color: var(--muted); font-size: .95rem; }
.footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-menu a { color: var(--text); text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; }
.footer-social { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-social a { display: inline-flex; gap: 6px; align-items: center; color: var(--ink); font-weight: 500; }
.footer-bottom { font-size: .88rem; color: var(--muted); }
.footer-bottom p { margin: 0; padding-block: 18px; border-top: 1px solid var(--line); }

/* ---------- Mobilioji skambinimo juosta ---------- */
.callbar { display: none; }
@media (max-width: 800px) {
	.callbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 70;
		display: grid;
		grid-template-columns: 2fr 1fr;
		gap: 8px;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .96);
		border-top: 1px solid var(--line);
		backdrop-filter: blur(8px);
		transition: transform .25s;
	}
	.callbar.is-hidden { transform: translateY(110%); }
	.callbar-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 48px;
		border-radius: 999px;
		background: var(--yellow);
		color: var(--ink);
		font-weight: 700;
		text-decoration: none;
	}
	.callbar-map { background: var(--ink); color: #fff; font-weight: 600; }
	body { padding-bottom: 72px; }
}

/* ---------- Mygtukas į viršų ---------- */
.to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 65;
	width: 52px;
	height: 52px;
	border: 0;
	border-radius: 50%;
	background: var(--ink);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	box-shadow: 0 10px 24px -10px rgba(24, 40, 74, .6);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity .2s, transform .2s, background-color .15s;
}
.to-top[hidden] { display: grid; visibility: hidden; }
.to-top.is-visible { opacity: 1; transform: none; visibility: visible; }
.to-top:hover { background: var(--ink-3); }
.to-top .icon { width: 22px; height: 22px; position: relative; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle {
	fill: none;
	stroke: var(--yellow);
	stroke-width: 3;
	stroke-dasharray: 100;
	stroke-dashoffset: var(--p, 100);
	stroke-linecap: round;
}
@media (max-width: 800px) { .to-top { bottom: 86px; right: 14px; width: 48px; height: 48px; } }

/* ---------- Spausdinimas ---------- */
@media print {
	.site-header, .callbar, .to-top, .map, .sim-chips, .site-nav, .cta-actions { display: none !important; }
	body { background: #fff; padding: 0; }
	.section-ink { background: #fff; color: #000; }
}

/* ---------- Mažiau judesio ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*,
	*::before,
	*::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}
	[data-state="nosignal"] .nosig-box,
	.notfound .nosig-box { left: 30%; top: 40%; }
}
