/*
Theme Name: RPBSPC
Theme URI: https://www.rpbspc.lt/
Author: RPBSPC.lt
Description: Greita, SEO optimizuota tema televizorių remonto servisui Šiauliuose. Gedimų gidas, kainynas, „Ar apsimoka taisyti?“ skaičiuoklė, DUK, schema.org žymėjimas, darbo laiko indikatorius, mygtukas į viršų. Veikia be papildomų įskiepių.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rpbspc
*/

/* ===== Tokenai ===== */
:root {
	--ink: #13203a;
	--ink-2: #1b2b4c;
	--ink-3: #2a3a5e;
	--ink-deep: #0c1527;
	--paper: #f2f4f7;
	--white: #ffffff;
	--text: #1a2333;
	--muted: #55627a;
	--line: #d6dce6;
	--signal: #f4c430;
	--signal-hi: #ffd65c;
	--link: #1f4fd1;
	--ok: #2f9e55;
	--off: #d9442e;
	--b1: #f4c430; --b2: #2bb5c9; --b3: #3fae5a; --b4: #c2459b; --b5: #d9442e; --b6: #2e4fc7;
	--r-s: 6px;
	--r: 12px;
	--r-l: 20px;
	--f-display: Bahnschrift, "DIN Alternate", "Avenir Next Condensed", "Roboto Condensed", "sans-serif-condensed", "Segoe UI", system-ui, sans-serif;
	--f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1200px;
	--gut: clamp(16px, 4vw, 32px);
	--sec: clamp(56px, 8vw, 104px);
	--header-h: 72px;
	--map-bg: #22335a; --map-road: #3a4d78; --map-block: #f4c430;
	color-scheme: light;
}

/* ===== 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: 400 1.0625rem/1.6 var(--f-body);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--ink); line-height: 1.12; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.005em; }
h1 { font-size: clamp(2.25rem, 1.35rem + 3.8vw, 4.1rem); line-height: 1.02; letter-spacing: -.015em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--b2); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 1000; background: var(--signal); color: var(--ink); padding: .7em 1em; border-radius: var(--r-s); font-weight: 700; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.wrap-text { max-width: calc(46rem + 2 * var(--gut)); }
.site-main:focus { outline: none; }
.ico { flex: none; display: inline-block; vertical-align: middle; }

/* ===== Testinės lentelės juosta ===== */
.testbar { display: flex; height: 5px; }
.testbar i { flex: 1; }
.testbar i:nth-child(1) { background: var(--b1); } .testbar i:nth-child(2) { background: var(--b2); }
.testbar i:nth-child(3) { background: var(--b3); } .testbar i:nth-child(4) { background: var(--b4); }
.testbar i:nth-child(5) { background: var(--b5); } .testbar i:nth-child(6) { background: var(--b6); }
.testbar-thin { height: 3px; }

/* ===== Mygtukai ===== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 46px; padding: .7em 1.15em; border-radius: 10px;
	border: 2px solid transparent; font-weight: 700; font-size: 1rem; line-height: 1.1;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .15s, border-color .15s, color .15s;
}
.btn-lg { min-height: 54px; padding: .85em 1.35em; font-size: 1.0625rem; }
.btn-call { background: var(--signal); color: var(--ink); }
.btn-call:hover { background: var(--signal-hi); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-ghost-light { border-color: rgba(255,255,255,.45); color: var(--white); background: transparent; }
.btn-ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

/* ===== Darbo laiko būsena ===== */
.status { display: inline-flex; align-items: center; gap: .5em; font-size: .875rem; font-weight: 600; color: var(--muted); }
.status-dot { width: .6em; height: .6em; border-radius: 50%; background: #9aa5b8; flex: none; }
.status.is-open .status-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(47,158,85,.18); }
.status.is-closed .status-dot { background: var(--off); }
.status-hero { color: #c9d3e6; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); padding: .4em .8em; border-radius: 999px; margin-bottom: 1.4rem; }
.status-lg { font-size: 1rem; margin-bottom: 1rem; color: inherit; }

/* ===== Antraštė ===== */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.header-in { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-name { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .02em; }
.logo-tld { color: var(--muted); font-weight: 600; }
.logo-sub { font-size: .75rem; color: var(--muted); margin-top: 3px; }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 20px; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-list a { display: block; white-space: nowrap; padding: .55em .7em; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.nav-list a:hover { background: var(--paper); }
.nav-list a[aria-current="page"], .nav-list .current-menu-item > a { box-shadow: inset 0 -3px 0 var(--signal); border-radius: 8px 8px 0 0; }
.nav-list .sub-menu { list-style: none; padding: 0; margin: 0; }
.nav-extra { display: none; }
.nav-toggle { display: none; margin-left: auto; align-items: center; gap: 8px; background: none; border: 2px solid var(--line); border-radius: 10px; padding: .5em .8em; font-weight: 700; cursor: pointer; color: var(--ink); min-height: 44px; }
.header-call { flex: none; }

@media (max-width: 1080px) {
	.nav-list a { padding: .55em .5em; font-size: .9rem; }
	.logo-sub { display: none; }
}
@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 0;
		background: var(--white); border-bottom: 1px solid var(--line);
		box-shadow: 0 18px 30px -18px rgba(19,32,58,.35);
		padding: 8px var(--gut) 20px; margin: 0;
		display: none;
	}
	.site-nav.is-open { display: flex; }
	.nav-list { flex-direction: column; }
	.nav-list a { padding: .85em .25em; font-size: 1.0625rem; border-bottom: 1px solid var(--paper); border-radius: 0; }
	.nav-list a[aria-current="page"], .nav-list .current-menu-item > a { box-shadow: inset 4px 0 0 var(--signal); padding-left: .75em; }
	.nav-extra { display: block; padding-top: 14px; }
	.header-in { gap: 12px; }
	.logo-sub { display: block; }
}
@media (max-width: 560px) {
	.header-call span { display: none; }
	.header-call { padding: .6em; min-width: 46px; }
	.nav-toggle span { display: none; }
	.logo-sub { display: none; }
	.logo-mark { width: 38px; height: 38px; }
}

/* ===== Hero ===== */
.hero {
	position: relative; overflow: hidden; color: #dfe6f3;
	background:
		linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 38px 38px,
		linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 38px 38px,
		var(--ink);
}
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); }
.hero h1 { color: var(--white); max-width: 11ch; }
.hero-lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); max-width: 34em; color: #c9d3e6; margin-bottom: 1.8rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.4rem; }
.spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid rgba(255,255,255,.14); }
.spec div { padding: 14px 14px 0 0; border-right: 1px solid rgba(255,255,255,.1); padding-left: 14px; }
.spec div:first-child { padding-left: 0; }
.spec div:last-child { border-right: 0; }
.spec dt { font-size: .8125rem; color: #9fb0cc; margin-bottom: 4px; }
.spec dd { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.15rem, 1rem + .6vw, 1.55rem); color: var(--signal); line-height: 1.15; }

.hero-tv { margin: 0; position: relative; padding-bottom: 34px; }
.tv { width: 100%; height: auto; display: block; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.tv-noise { opacity: 0; }
.tv-led { fill: var(--ok); }
.tv-caption {
	position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%);
	display: inline-flex; align-items: center; gap: 6px;
	background: var(--white); color: var(--ink); font-weight: 700; font-size: .875rem;
	padding: .45em .85em; border-radius: 999px; box-shadow: 0 8px 20px rgba(0,0,0,.3);
	white-space: nowrap;
}
.tv-caption .ico { color: var(--ok); }

@media (prefers-reduced-motion: no-preference) {
	.js .tv-noise { animation: tv-noise 1.5s steps(1, end) .2s both; }
	.js .tv-pattern { animation: tv-roll 1.5s steps(1, end) .2s both; }
	.js .tv-led { animation: tv-led 1.7s steps(1, end) both; }
	.js .tv-caption { animation: tv-cap .4s ease-out 1.8s both; }
}
@keyframes tv-noise {
	0% { opacity: 1; transform: translate(0, 0); }
	12% { opacity: 1; transform: translate(-14px, 9px); }
	24% { opacity: .95; transform: translate(10px, -12px); }
	36% { opacity: .85; transform: translate(-6px, 4px); }
	48% { opacity: .9; transform: translate(12px, 10px); }
	60% { opacity: .55; transform: translate(-10px, -6px); }
	72% { opacity: .35; transform: translate(4px, 12px); }
	84% { opacity: .15; transform: translate(-8px, 2px); }
	100% { opacity: 0; transform: translate(0, 0); }
}
@keyframes tv-roll {
	0% { transform: translateY(-60px); opacity: .2; }
	24% { transform: translateY(40px); opacity: .5; }
	48% { transform: translateY(-18px); opacity: .8; }
	72% { transform: translateY(6px); opacity: 1; }
	100% { transform: none; opacity: 1; }
}
@keyframes tv-led { 0% { fill: var(--off); } 100% { fill: var(--ok); } }
@keyframes tv-cap { from { opacity: 0; transform: translate(-50%, 8px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (max-width: 900px) {
	.hero-in { grid-template-columns: 1fr; }
	.hero-tv { max-width: 480px; order: -1; margin-inline: auto; width: 100%; }
	.hero h1 { max-width: 14ch; }
}
@media (max-width: 560px) {
	.spec { grid-template-columns: 1fr 1fr; }
	.spec div:nth-child(2) { border-right: 0; }
	.spec div:nth-child(3) { padding-left: 0; }
	.spec div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.1); margin-top: 14px; }
	.hero-actions .btn { width: 100%; }
	.tv-caption { font-size: .8125rem; }
}

/* ===== Sekcijos ===== */
.sec { padding-block: var(--sec); }
.sec-tight { padding-block: clamp(36px, 5vw, 64px); }
.sec-head { max-width: 44rem; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head p { color: var(--muted); font-size: 1.125rem; margin: 0; }
.sec-head-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; max-width: none; flex-wrap: wrap; }
.sec-title { margin-bottom: 28px; }
.sec-prices, .sec-steps, .sec-tech, .sec-posts { background: var(--white); }
.link-more { font-weight: 700; }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 1.75em; margin-bottom: .55em; }
.ticks li::before {
	content: ""; position: absolute; left: 0; top: .28em; width: 1.1em; height: 1.1em; border-radius: 50%;
	background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313203a' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 72% no-repeat;
}
.ticks-tight li { margin-bottom: .35em; }

/* ===== Gedimų gidas ===== */
.faults { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 28px; align-items: start; }
.faults-list { display: flex; flex-direction: column; gap: 4px; position: sticky; top: calc(var(--header-h) + 20px); }
.fault-tab {
	text-align: left; background: transparent; border: 0; border-left: 4px solid transparent;
	padding: .8em 1em; border-radius: 0 10px 10px 0; cursor: pointer; font-weight: 600; color: var(--ink);
	font-size: 1rem; line-height: 1.3;
}
.fault-tab:hover { background: rgba(19,32,58,.06); }
.fault-tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-left-color: var(--signal); }
.fault { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 3vw, 36px); }
.fault + .fault { margin-top: 20px; }
.js .fault + .fault { margin-top: 0; }
.fault[hidden] { display: none; }
.js [data-tabs]:not(.is-ready) .fault:not(:first-child) { display: none; }
.fault h3 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); margin-bottom: 1rem; }
.fault h4 { font-family: var(--f-body); font-size: .8125rem; color: var(--muted); font-weight: 700; margin: 1.2em 0 .4em; letter-spacing: .02em; }
.fault h4:first-child { margin-top: 0; }
.fault-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 28px; }

.ticket {
	position: relative; margin: 0; align-self: start;
	background: var(--paper); border: 2px dashed #b7c1d2; border-radius: var(--r);
	padding: 18px 18px 20px; display: grid; gap: 14px;
}
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--white); transform: translateY(-50%); }
.ticket::before { left: -11px; } .ticket::after { right: -11px; }
.ticket dt { font-size: .8125rem; color: var(--muted); }
.ticket dd { margin: 0; font-family: var(--f-display); font-weight: 700; color: var(--ink); font-size: 1.25rem; line-height: 1.2; }
.ticket-wide dd { font-family: var(--f-body); font-size: .9375rem; font-weight: 600; line-height: 1.45; }
.ticket-cta .btn { width: 100%; }

@media (max-width: 1000px) { .fault-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) {
	.faults { grid-template-columns: 1fr; gap: 16px; }
	.faults-list {
		position: static; flex-direction: row; overflow-x: auto; gap: 8px; padding-bottom: 6px;
		scroll-snap-type: x proximity; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut);
		scrollbar-width: thin;
	}
	.fault-tab { flex: none; white-space: nowrap; border: 2px solid var(--line); border-radius: 999px; padding: .55em 1em; scroll-snap-align: start; background: var(--white); }
	.fault-tab[aria-selected="true"] { border-color: var(--ink); }
}

/* ===== Kainos ===== */
.prices { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.price-tag {
	position: sticky; top: calc(var(--header-h) + 20px);
	background: var(--ink); color: #dfe6f3; border-radius: var(--r-l) var(--r-l) var(--r-l) 60px;
	padding: 34px 26px 26px;
}
.price-tag-hole { width: 18px; height: 18px; border-radius: 50%; background: var(--white); margin-bottom: 18px; box-shadow: inset 0 0 0 4px var(--ink-3); }
.price-tag-k { margin: 0; color: #9fb0cc; font-size: .9375rem; }
.price-tag-v { margin: 0 0 18px; font-family: var(--f-display); font-weight: 700; font-size: 4rem; line-height: 1; color: var(--signal); }
.price-tag .ticks li { font-size: .9375rem; }
.price-tag .btn { width: 100%; margin-top: 10px; }
.price-groups { columns: 2 320px; column-gap: 40px; }
.price-group { break-inside: avoid; margin-bottom: 34px; }
.price-group h3 { padding-bottom: .5em; border-bottom: 2px solid var(--ink); margin-bottom: .2em; }
.price-list { list-style: none; padding: 0; margin: 0; }
.price-list li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 0 8px; padding: .7em 0; border-bottom: 1px solid var(--line); }
.price-name { font-weight: 600; }
.price-dots { border-bottom: 2px dotted #b7c1d2; transform: translateY(-.3em); min-width: 12px; }
.price-val { font-family: var(--f-display); font-weight: 700; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; font-size: 1.0625rem; }
.price-note { grid-column: 1 / -1; font-size: .875rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 860px) {
	.prices { grid-template-columns: 1fr; }
	.price-tag { position: static; display: grid; grid-template-columns: auto 1fr; gap: 0 20px; align-items: end; border-radius: var(--r-l); }
	.price-tag-hole { display: none; }
	.price-tag .ticks, .price-tag .btn { grid-column: 1 / -1; }
	.price-tag-v { font-size: 3.2rem; }
	.price-tag-k { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
	.price-list li { grid-template-columns: 1fr auto; }
	.price-dots { display: none; }
}

/* ===== Skaičiuoklė ===== */
.calc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.calc-q { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.calc-q legend { font-family: var(--f-display); font-weight: 700; font-size: 1.125rem; color: var(--ink); margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
	background: var(--white); border: 2px solid var(--line); border-radius: 999px;
	padding: .55em 1em; font-weight: 600; font-size: .9375rem; cursor: pointer; color: var(--ink); min-height: 44px;
}
.chip:hover { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.calc-result { position: sticky; top: calc(var(--header-h) + 20px); background: var(--ink); color: #dfe6f3; border-radius: var(--r-l); padding: clamp(22px, 3vw, 34px); }
.calc-verdict { font-family: var(--f-display); font-weight: 700; color: var(--white); font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); line-height: 1.15; margin-bottom: 18px; }
.calc-verdict.v-good { color: #7fe0a0; } .calc-verdict.v-mid { color: var(--signal); } .calc-verdict.v-bad { color: #ff9b85; }
.meter { position: relative; height: 12px; border-radius: 999px; background: linear-gradient(90deg, #2f9e55 0 35%, #f4c430 35% 60%, #d9442e 60%); margin-bottom: 22px; }
.meter span { position: absolute; top: 50%; left: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 4px solid var(--ink); transform: translate(-50%, -50%); transition: left .35s cubic-bezier(.3,.7,.2,1); box-shadow: 0 0 0 2px var(--white); }
.meter i { position: absolute; top: -4px; bottom: -4px; width: 2px; background: var(--ink); }
.calc-nums { display: grid; gap: 10px; margin: 0 0 18px; }
.calc-nums div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid rgba(255,255,255,.12); padding-bottom: 8px; }
.calc-nums dt { color: #9fb0cc; }
.calc-nums dd { margin: 0; font-family: var(--f-display); font-weight: 700; color: var(--white); font-size: 1.125rem; text-align: right; }
.calc-note { font-size: .875rem; color: #9fb0cc; margin: 0; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-result { position: static; } }

/* ===== Darbo eiga ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: st; }
.steps li { counter-increment: st; position: relative; padding-top: 64px; }
.steps li::before {
	content: counter(st); position: absolute; top: 0; left: 0; width: 46px; height: 46px; border-radius: 50%;
	display: grid; place-items: center; background: var(--ink); color: var(--signal);
	font-family: var(--f-display); font-weight: 700; font-size: 1.25rem;
}
.steps li::after { content: ""; position: absolute; top: 22px; left: 58px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.1875rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(2)::after { display: none; } }
@media (max-width: 540px) {
	.steps { grid-template-columns: 1fr; gap: 0; }
	.steps li { padding: 0 0 26px 64px; }
	.steps li::after { top: 54px; left: 22px; right: auto; bottom: 6px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); display: block; }
	.steps li:nth-child(2)::after { display: block; }
	.steps li:last-child::after { display: none; }
}

/* ===== Savarankiška patikra ===== */
.check-in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.check-in .sec-head { position: sticky; top: calc(var(--header-h) + 24px); }
.checklist { list-style: none; padding: 0; margin: 0; counter-reset: ck; }
.checklist li { counter-increment: ck; position: relative; padding: 20px 0 20px 64px; border-top: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist li::before { content: counter(ck); position: absolute; left: 0; top: 18px; font-family: var(--f-display); font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--ink); width: 44px; text-align: center; border-bottom: 4px solid var(--signal); padding-bottom: 4px; }
.checklist h3 { font-size: 1.1875rem; margin-bottom: .3em; }
.checklist p { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .check-in { grid-template-columns: 1fr; } .check-in .sec-head { position: static; } }

/* ===== Technologijos ===== */
.tech { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 44px; }
.tech-item { border-top: 6px solid var(--b1); background: var(--paper); border-radius: 0 0 var(--r) var(--r); padding: 22px; }
.tech-item:nth-child(2) { border-top-color: var(--b2); } .tech-item:nth-child(3) { border-top-color: var(--b4); } .tech-item:nth-child(4) { border-top-color: var(--b6); }
.tech-item h3 { font-size: 1.375rem; }
.tech-item p { margin: 0; color: var(--muted); font-size: .9688rem; }
.brands-h { font-size: 1.125rem; }
.brand-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brand-list li { font-family: var(--f-display); font-weight: 600; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; padding: .35em .8em; background: var(--white); }
@media (max-width: 980px) { .tech { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .tech { grid-template-columns: 1fr; } }

/* ===== Apie ===== */
.sec-about { background: var(--ink-2); color: #dfe6f3; }
.sec-about h2 { color: var(--white); }
.about-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.about-copy p { font-size: 1.125rem; color: #c9d3e6; }
.about-stats { margin: 0; display: grid; gap: 4px; }
.about-stats div { display: flex; flex-direction: column-reverse; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.about-stats dd { margin: 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(3rem, 2rem + 4vw, 5rem); line-height: 1; color: var(--signal); }
.about-stats dt { color: #9fb0cc; margin-top: 6px; }
@media (max-width: 860px) { .about-in { grid-template-columns: 1fr; } .about-stats { grid-template-columns: 1fr 1fr; gap: 20px; } }

/* ===== DUK ===== */
.faq-in { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-in .sec-head { position: sticky; top: calc(var(--header-h) + 24px); }
.faq-in .sec-head .btn { margin-top: 20px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; gap: 16px; justify-content: space-between; align-items: center; padding: 20px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.1875rem; }
.faq-item summary::after {
	content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313203a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 18px no-repeat;
	border: 1px solid var(--line); transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background-color: var(--signal); border-color: var(--signal); }
.faq-item p { margin: 0 0 22px; color: var(--muted); max-width: 40em; }
@media (max-width: 860px) { .faq-in { grid-template-columns: 1fr; } .faq-in .sec-head { position: static; } }

/* ===== Kortelės ===== */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.sec-posts .card { background: var(--paper); border-color: transparent; }
.card-media { display: block; aspect-ratio: 16 / 9; background: var(--ink); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 24px 24px, var(--ink); }
.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card-meta { display: flex; gap: 14px; font-size: .8125rem; color: var(--muted); margin-bottom: .6em; }
.card-title { font-size: 1.25rem; margin-bottom: .45em; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card-title a { text-decoration: underline; }
.card:focus-within { outline: 3px solid var(--b2); outline-offset: 2px; }
.card-excerpt { color: var(--muted); font-size: .9688rem; margin-bottom: .8em; }
.card-cat { margin: auto 0 0; font-size: .8125rem; font-weight: 700; color: var(--ink); }

/* ===== Kontaktai ===== */
.sec-contact { background: var(--ink); color: #dfe6f3; }
.sec-contact h2, .sec-contact h3 { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr) minmax(0, 1.2fr); gap: 28px; align-items: stretch; }
.contact-lead { color: #c9d3e6; font-size: 1.0625rem; }
.contact-phone { display: inline-flex; align-items: center; gap: 12px; color: var(--signal); font-family: var(--f-display); font-weight: 700; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); text-decoration: none; margin: 6px 0 18px; }
.contact-phone:hover { text-decoration: underline; }
.contact-address, .contact-mail { display: flex; gap: 12px; color: #dfe6f3; margin-bottom: 16px; line-height: 1.5; text-decoration: none; }
.contact-address strong { color: var(--white); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.sec-contact .btn-ghost { border-color: rgba(255,255,255,.45); color: var(--white); }
.sec-contact .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.hours { background: var(--ink-2); border-radius: var(--r-l); padding: 24px; }
.hours-title { display: flex; align-items: center; gap: 8px; font-size: 1.25rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .9688rem; }
.hours-table th, .hours-table td { padding: .5em 0; border-bottom: 1px solid rgba(255,255,255,.1); text-align: left; font-weight: 400; }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; }
.hours-table .muted { color: #8d9bb5; }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--signal); font-weight: 700; }
.hours-note { font-size: .8125rem; color: #9fb0cc; margin: 12px 0 0; }
.map { position: relative; border-radius: var(--r-l); overflow: hidden; min-height: 320px; background: var(--map-bg); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-cover { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 20px; text-align: center; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-load { position: relative; background: var(--white) !important; color: var(--ink) !important; border-color: var(--white) !important; }
.map-hint { position: relative; font-size: .8125rem; color: #c9d3e6; margin: 10px 0 0; }
.sec-contact-page { padding-top: 0; }
@media (max-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1fr; } .map { grid-column: 1 / -1; } }
@media (max-width: 640px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== Vidiniai puslapiai ===== */
.page-hero { background: var(--ink); color: #c9d3e6; padding-block: clamp(32px, 5vw, 60px); }
.page-hero h1 { color: var(--white); font-size: clamp(2rem, 1.4rem + 2.6vw, 3.2rem); max-width: 22ch; }
.page-lead { font-size: 1.125rem; max-width: 40em; margin: 0; color: #c9d3e6; }
.page-lead p:last-child { margin: 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .875rem; }
.crumbs li { color: #9fb0cc; }
.crumbs li + li::before { content: "/"; margin: 0 .55em; color: #61729a; }
.crumbs a { color: #c9d3e6; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: var(--white); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9375rem; color: #9fb0cc; margin: 0; }
.page-hero .search { margin-top: 24px; }
.actions-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

.search { display: flex; max-width: 520px; background: var(--white); border-radius: 10px; overflow: hidden; border: 2px solid var(--line); }
.search input { flex: 1; min-width: 0; border: 0; padding: .8em 1em; font: inherit; color: var(--text); background: transparent; }
.search input:focus { outline: none; }
.search:focus-within { border-color: var(--b2); }
.search button { border: 0; background: var(--signal); color: var(--ink); padding: 0 18px; cursor: pointer; }

.post-layout { display: grid; grid-template-columns: minmax(0, 46rem); justify-content: center; gap: 48px; padding-block: clamp(32px, 5vw, 60px); }
.post-layout.has-toc { grid-template-columns: 260px minmax(0, 46rem); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: .9375rem; }
.toc summary { font-family: var(--f-display); font-weight: 700; color: var(--ink); font-size: 1.125rem; cursor: pointer; margin-bottom: 10px; }
.toc ol { margin: 0; padding: 0 0 0 1.2em; border-left: 2px solid var(--line); padding-left: 1em; list-style: none; counter-reset: tc; }
.toc li { margin-bottom: .55em; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--ink); text-decoration: underline; }
@media (max-width: 960px) {
	.post-layout.has-toc { grid-template-columns: minmax(0, 1fr); }
	.toc { position: static; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; }
	.toc summary { margin: 0; }
	.toc details[open] summary { margin-bottom: 10px; }
}

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

/* Turinio tipografija */
.entry { font-size: 1.0938rem; line-height: 1.7; }
.entry > * { margin-top: 0; }
.entry h2 { font-size: clamp(1.55rem, 1.25rem + 1vw, 2rem); margin: 1.8em 0 .55em; }
.entry h3 { font-size: 1.35rem; margin: 1.6em 0 .5em; }
.entry h2:first-child, .entry h3:first-child { margin-top: 0; }
.entry ul, .entry ol { margin: 0 0 1.2em; }
.entry li { margin-bottom: .4em; }
.entry blockquote { margin: 1.6em 0; padding: 1em 1.3em; border-left: 4px solid var(--signal); background: var(--white); border-radius: 0 var(--r) var(--r) 0; }
.entry blockquote p:last-child { margin: 0; }
.entry img { border-radius: var(--r); }
.entry figure { margin: 1.6em 0; }
.entry figcaption { font-size: .875rem; color: var(--muted); margin-top: .5em; }
.entry table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .9688rem; background: var(--white); }
.entry th, .entry td { border: 1px solid var(--line); padding: .6em .8em; text-align: left; vertical-align: top; }
.entry th { background: var(--paper); font-weight: 700; }
.entry .wp-block-table { overflow-x: auto; }
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.entry-cover { margin: 0 0 1.8em; }
.entry-cover img { width: 100%; border-radius: var(--r-l); }
.entry .alignwide { max-width: none; }
.entry .wp-block-gallery { margin: 1.6em 0; }
.entry iframe { max-width: 100%; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 2em 0 0; }
.tags a { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: .2em .8em; font-size: .875rem; text-decoration: none; color: var(--ink); }
.intro-entry { margin-bottom: 32px; }

.cta { margin: 48px 0 0; background: var(--ink); color: #c9d3e6; border-radius: var(--r-l); padding: clamp(22px, 3vw, 34px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 32px; align-items: center; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--b1) 0 16.66%, var(--b2) 0 33.33%, var(--b3) 0 50%, var(--b4) 0 66.66%, var(--b5) 0 83.33%, var(--b6) 0); }
.cta-h { color: var(--white); font-size: 1.6rem; margin-bottom: .3em; }
.cta p { margin: 0; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 720px) { .cta { grid-template-columns: 1fr; } .cta-actions .btn { width: 100%; } }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding-block: 0 var(--sec); }
.sec-posts + .post-nav { padding-top: 0; background: var(--white); max-width: none; }
.post-nav a { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: var(--ink); font-weight: 700; background: var(--white); }
.post-nav a span { font-weight: 400; font-size: .8125rem; color: var(--muted); }
.post-nav-next { text-align: right; grid-column: 2; }
@media (max-width: 600px) { .post-nav { grid-template-columns: 1fr; } .post-nav-next { grid-column: auto; } }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 .8em; border-radius: 10px; background: var(--white); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.pagination .page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }
.empty { background: var(--white); border-radius: var(--r-l); padding: 32px; text-align: left; max-width: 40rem; }

/* ===== Poraštė ===== */
.site-footer { background: var(--ink-deep); color: #b6c2d8; font-size: .9688rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-block: 56px 36px; }
.site-footer .logo { color: var(--white); margin-bottom: 14px; }
.site-footer .logo-tld, .site-footer .logo-sub { color: #9fb0cc; }
.footer-brand p { max-width: 30em; }
.footer-h { font-family: var(--f-body); font-size: .9375rem; color: var(--white); margin-bottom: 14px; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin-bottom: .6em; }
.footer-list a { color: #dfe6f3; text-decoration: none; }
.footer-list a:hover { text-decoration: underline; color: var(--white); }
.footer-list .ico { color: var(--signal); margin-right: 4px; }
.site-footer .muted { color: #8191ad; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid rgba(255,255,255,.08); padding-block: 20px 28px; font-size: .875rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== Mobilioji skambučio juosta ===== */
.callbar { display: none; }
@media (max-width: 760px) {
	body.rp { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
	.callbar {
		display: grid; grid-template-columns: 1.4fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
		background: var(--white); border-top: 1px solid var(--line); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); gap: 8px;
		box-shadow: 0 -10px 24px -16px rgba(19,32,58,.4);
	}
	.callbar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 10px; text-decoration: none; font-weight: 700; color: var(--ink); font-size: .9375rem; border: 1px solid var(--line); }
	.callbar .callbar-main { background: var(--signal); border-color: var(--signal); }
}

/* ===== Mygtukas į viršų ===== */
.totop {
	position: fixed; right: 20px; bottom: 20px; z-index: 65; width: 52px; height: 52px; border-radius: 50%;
	border: 0; background: var(--ink); color: var(--white); cursor: pointer; display: grid; place-items: center;
	box-shadow: 0 10px 24px -8px rgba(12,21,39,.6);
	opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s;
}
.totop[hidden] { display: grid; visibility: hidden; }
.totop.is-shown { opacity: 1; transform: none; visibility: visible; }
.totop:hover { background: var(--ink-3); }
.totop > .ico { position: relative; }
.totop-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop-ring circle { fill: none; stroke: var(--signal); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: var(--p, 100); stroke-linecap: round; }
@media (max-width: 760px) { .totop { bottom: calc(80px + env(safe-area-inset-bottom)); right: 14px; width: 48px; height: 48px; } }

/* ===== WordPress būtinos klasės ===== */
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: .875rem; color: var(--muted); }
.sticky .card-title::before { content: "Svarbu: "; color: var(--muted); }
.bypostauthor { display: block; }

/* ===== Judesys ===== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== Spauda ===== */
@media print {
	.site-header, .callbar, .totop, .testbar, .map, .hero-tv, .read-progress, .cta-actions { display: none !important; }
	body { background: #fff; padding: 0 !important; }
	.hero, .page-hero, .sec-contact, .sec-about, .calc-result, .price-tag, .cta { background: #fff !important; color: #000 !important; }
	.hero h1, .page-hero h1, .sec-contact h2 { color: #000 !important; }
}
