/*
Theme Name: GVT.lt
Theme URI: https://www.gvt.lt/
Author: GVT.lt
Description: Greita, SEO optimizuota tema perforatorių ir elektrinių įrankių remonto dirbtuvėms. Veikia be papildomų įskiepių: interaktyvus brėžinys, kainoraštis, gedimų gidas, „remontuoti ar pirkti“ skaičiuoklė, darbo laiko būsena, DUK, JSON-LD schema, favicon, „į viršų“ mygtukas, 404 → pagrindinis nukreipimas.
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: gvt
*/

/* ===== Šriftas (Archivo, SIL OFL, su lietuviškomis raidėmis) ===== */
@font-face {
	font-family: "Archivo";
	src: url("assets/fonts/archivo-var.woff2") format("woff2");
	font-weight: 400 800;
	font-stretch: 100% 125%;
	font-style: normal;
	font-display: swap;
}

/* ===== Spalvos ir dydžiai ===== */
:root {
	--paper: #edefeb;
	--paper-2: #e1e5df;
	--panel: #f8f9f6;
	--ink: #16212b;
	--ink-2: #22313e;
	--steel: #56636d;
	--line: #c3cac3;
	--signal: #f4b400;
	--signal-2: #ffcb2e;
	--blue: #163a5c;
	--blue-2: #1d4a73;
	--bp: #a9c6e0;
	--bp-dim: rgba(169, 198, 224, .38);
	--danger: #a8321f;
	--ok: #2f7d4c;

	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--r-sm: 4px;
	--r: 8px;
	--sec: clamp(56px, 8vw, 104px);
	--header-h: 72px;
}

/* ===== Pagrindas ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--font);
	font-size: 1.0625rem;
	line-height: 1.6;
	font-stretch: 100%;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-stretch: 125%; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.012em; text-wrap: balance; }
h1 { font-size: clamp(2.05rem, 4.6vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.1vw, 2.35rem); font-weight: 780; }
h3 { font-size: 1.18rem; font-weight: 720; line-height: 1.25; }
h4 { font-size: 1rem; font-weight: 700; font-stretch: 112%; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
table { border-collapse: collapse; width: 100%; }
.small { font-size: .9rem; color: var(--steel); }
.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-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--signal); color: var(--ink); padding: 10px 16px; font-weight: 700; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }
.site-main:focus { outline: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-text { max-width: 860px; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }

/* ===== Mygtukai ===== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 48px; padding: .7em 1.25em;
	border: 2px solid transparent; border-radius: var(--r-sm);
	font: inherit; font-weight: 700; font-stretch: 110%; 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: 56px; padding: .8em 1.5em; font-size: 1.08rem; }
.btn-signal { background: var(--signal); color: var(--ink); }
.btn-signal:hover { background: var(--signal-2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-line:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ===== Antraštė ===== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(237, 239, 235, .94);
	backdrop-filter: saturate(1.2) blur(8px);
	-webkit-backdrop-filter: saturate(1.2) 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-inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand .logo-svg { width: auto; height: 40px; display: block; }
.brand-sub { font-size: .8rem; line-height: 1.2; color: var(--steel); max-width: 9.5em; border-left: 1px solid var(--line); padding-left: 12px; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu a { display: block; white-space: nowrap; padding: 10px 12px; text-decoration: none; font-weight: 600; font-size: .98rem; border-radius: var(--r-sm); }
.site-nav .menu a:hover { background: var(--paper-2); }
.site-nav .current-menu-item > a, .site-nav .current_page_item > a { box-shadow: inset 0 -3px 0 var(--signal); }
.nav-contact { display: flex; align-items: center; gap: 14px; }
.btn-call { min-height: 44px; padding: .55em 1em; }
.nav-toggle { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--panel); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle .ico { width: 26px; height: 26px; }
.nav-toggle .i-close { display: none; }
.nav-toggle[aria-expanded="true"] .i-open { display: none; }
.nav-toggle[aria-expanded="true"] .i-close { display: block; }

.site-nav .status-nav { display: none; }
@media (max-width: 1180px) {
	.brand-sub { display: none; }
}
@media (max-width: 900px) {
	.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(--panel); border-bottom: 1px solid var(--line);
		padding: 8px var(--gutter) 20px;
		box-shadow: 0 18px 30px -18px rgba(22,33,43,.35);
		display: none;
	}
	.site-nav.is-open { display: flex; }
	.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.08rem; }
	.nav-contact { flex-direction: column; align-items: stretch; padding-top: 16px; }
	.site-nav .status-nav { display: inline-flex; }
}

/* ===== Būsenos ženkliukas ===== */
.status { display: inline-flex; align-items: center; gap: .55em; margin: 0; font-size: .92rem; font-weight: 600; line-height: 1.2; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--steel); flex: none; }
.status.is-open .status-dot { background: #3fbf6b; box-shadow: 0 0 0 4px rgba(63,191,107,.22); }
.status.is-closed .status-dot { background: #d9643f; }

/* ===== Hero ===== */
.hero { background: var(--blue); color: #fff; overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--signal) 0 14px, var(--ink) 14px 28px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 12fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 6vw, 80px); }
.hero-h { color: #fff; margin: 18px 0 18px; font-size: clamp(2rem, 3.7vw, 3.15rem); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: #d7e3ee; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.hero-addr { display: flex; gap: .5em; align-items: flex-start; color: #c4d4e3; font-size: .95rem; margin: 0; }
.status-hero { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); padding: 7px 12px; border-radius: 99px; color: #fff; }
@media (max-width: 960px) {
	.hero-grid { grid-template-columns: 1fr; }
}

/* ===== Brėžinys ===== */
.bp { margin: 0; }
.bp-canvas { position: relative; }
.bp-svg { display: block; width: 100%; height: auto; }
.bp-gridline { fill: none; stroke: rgba(169,198,224,.09); stroke-width: 1; }
.bp-gridline-l { fill: none; stroke: rgba(169,198,224,.18); stroke-width: 1; }
.bp-line { fill: rgba(169,198,224,.06); stroke: var(--bp); stroke-width: 2; stroke-linejoin: round; }
.bp-fill { fill: rgba(169,198,224,.35); }
.bp-thin { fill: none; stroke: var(--bp); stroke-width: 1.2; opacity: .8; }
.bp-hidden { fill: none; stroke: var(--bp); stroke-width: 1.2; stroke-dasharray: 5 4; opacity: .75; }
.bp-center, .bp-axis { fill: none; stroke: var(--bp-dim); stroke-width: 1; stroke-dasharray: 18 4 3 4; }
.bp-cable { fill: none; stroke: var(--bp); stroke-width: 7; stroke-linecap: round; }
.bp-dim path { fill: none; stroke: var(--bp-dim); stroke-width: 1; }
.bp-dim path:first-child, .bp-dim path:nth-child(2) { fill: var(--bp-dim); }
.bp-titleblock { fill: none; stroke: var(--bp-dim); stroke-width: 1; }
.bp-t { fill: var(--bp); font-family: var(--font); font-size: 12px; font-stretch: 112%; }
.bp-t-strong { font-weight: 700; font-size: 13px; fill: #fff; }
.bp-part { transition: opacity .2s; }
.bp.has-active .bp-part { opacity: .4; }
.bp.has-active .bp-part.is-active { opacity: 1; }
.bp-part.is-active .bp-line { stroke: var(--signal); fill: rgba(244,180,0,.12); }
.bp-part.is-active .bp-hidden, .bp-part.is-active .bp-thin { stroke: var(--signal); opacity: 1; }
.bp-part.is-active .bp-cable { stroke: var(--signal); }

.bp-spot {
	position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px;
	border-radius: 50%; border: 2px solid var(--ink); background: var(--signal);
	cursor: pointer; padding: 0;
	box-shadow: 0 0 0 5px rgba(244,180,0,.28);
	transition: transform .15s, box-shadow .15s;
}
.bp-spot::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--ink); }
.bp-spot:hover, .bp-spot[aria-pressed="true"] { transform: scale(1.12); box-shadow: 0 0 0 7px rgba(244,180,0,.4); }
.bp-spot[aria-pressed="true"]::before { background: #fff; }
.bp-spot-label {
	position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%);
	background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; line-height: 1.2;
	padding: 5px 9px; border-radius: var(--r-sm); white-space: nowrap; pointer-events: none;
	opacity: 0; transition: opacity .15s;
}
.bp-spot:hover .bp-spot-label, .bp-spot:focus-visible .bp-spot-label, .bp-spot[aria-pressed="true"] .bp-spot-label { opacity: 1; }

.bp-panel { margin-top: 12px; background: var(--ink); color: #dfe8f0; border-left: 4px solid var(--signal); border-radius: 0 var(--r) var(--r) 0; padding: 18px 20px; min-height: 152px; }
.bp-info p { margin: 0 0 .6em; }
.bp-info-title { display: flex; flex-wrap: wrap; gap: .3em 1em; justify-content: space-between; align-items: baseline; color: #fff; font-weight: 750; font-stretch: 118%; font-size: 1.1rem; }
.bp-info-price { color: var(--signal); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bp-info dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: .95rem; }
.bp-info dt { color: #fff; font-weight: 650; }
.bp-info dd { margin: 0; }
@media (max-width: 560px) {
	.bp-spot { width: 22px; height: 22px; margin: -11px 0 0 -11px; box-shadow: 0 0 0 3px rgba(244,180,0,.3); }
	.bp-spot::before { inset: 6px; }
	.bp-spot-label { display: none; }
	.bp-info dl { grid-template-columns: 1fr; }
	.bp-info dd { margin-bottom: 6px; }
}

/* Vienintelis automatinis judesys: brėžinys „nubraižomas“ atsidarius puslapį. */
@media (prefers-reduced-motion: no-preference) {
	.js .bp-svg .bp-line, .js .bp-svg .bp-cable { stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: bp-draw 1.6s cubic-bezier(.5,0,.2,1) .15s forwards; }
	.js .bp-spot { opacity: 0; animation: bp-pop .35s ease-out forwards; animation-delay: calc(1.3s + var(--i, 0) * 70ms); }
	@keyframes bp-draw { to { stroke-dashoffset: 0; } }
	@keyframes bp-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
}

/* ===== Faktų juosta ===== */
.facts { background: var(--panel); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { display: flex; gap: 14px; align-items: flex-start; padding: 24px 20px 24px 0; }
.fact + .fact { border-left: 1px solid var(--line); padding-left: 20px; }
.fact .ico { width: 28px; height: 28px; color: var(--blue-2); margin-top: 2px; }
.fact p { margin: 0; display: flex; flex-direction: column; }
.fact strong { font-stretch: 115%; font-size: 1.06rem; }
.fact span { font-size: .9rem; color: var(--steel); line-height: 1.4; }
@media (max-width: 900px) {
	.facts-grid { grid-template-columns: 1fr 1fr; }
	.fact:nth-child(3) { border-left: 0; padding-left: 0; }
	.fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
	.facts-grid { grid-template-columns: 1fr; }
	.fact + .fact { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
	.fact { padding: 16px 0; }
}

/* ===== Sekcijos ===== */
.section { padding: var(--sec) 0; }
.section-tight { padding: 40px 0 var(--sec); }
.section-tint { background: var(--paper-2); }
.section-ink { background: var(--ink); color: #dfe8f0; }
.section-ink h2 { color: #fff; }
.section-ink .small { color: #a8b6c2; }
.sec-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 44px); }
.sec-head p { color: var(--steel); font-size: 1.06rem; }
.section-ink .sec-head p { color: #c4d1dc; }
.sec-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; max-width: none; flex-wrap: wrap; }
.link-more { font-weight: 650; }

/* ===== Paslaugos ===== */
.svc-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.svc { padding: 26px 26px 28px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.svc:not(:nth-child(3n+1)) { padding-left: 26px; border-left: 1px solid var(--line); }
.svc p { color: var(--steel); flex: 1; }
.svc a { font-weight: 700; font-variant-numeric: tabular-nums; align-self: flex-start; }
@media (max-width: 900px) {
	.svc-list { grid-template-columns: 1fr 1fr; }
	.svc:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
	.svc:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
	.svc-list { grid-template-columns: 1fr; }
	.svc, .svc:nth-child(even) { padding: 22px 0; border-left: 0; }
}

/* ===== Kainoraštis ===== */
.tab-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: -1px; position: relative; }
.tab {
	font: inherit; font-weight: 650; font-stretch: 108%;
	padding: 12px 18px; min-height: 48px; cursor: pointer;
	background: transparent; color: var(--ink);
	border: 1px solid var(--line); border-bottom: 0; border-radius: var(--r-sm) var(--r-sm) 0 0;
}
.tab:hover { background: var(--panel); }
.tab[aria-selected="true"] { background: var(--panel); border-color: var(--ink); box-shadow: inset 0 4px 0 var(--signal); }
.tab-panel { background: var(--panel); border: 1px solid var(--ink); padding: clamp(18px, 3vw, 32px); border-radius: 0 var(--r) var(--r) var(--r); }
.panel-h { font-size: 1.3rem; margin-bottom: .2em; }
.panel-note { color: var(--steel); }
.price-table { font-variant-numeric: tabular-nums; }
.price-table th { text-align: left; font-size: .85rem; color: var(--steel); font-weight: 600; padding: 8px 0; border-bottom: 2px solid var(--ink); }
.price-table th:last-child, .price-table td:last-child { text-align: right; white-space: nowrap; padding-left: 16px; }
.price-table td { padding: 13px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table td:last-child { font-weight: 750; font-stretch: 112%; }
.price-table tr:last-child td { border-bottom: 0; }
.row-diag td { background: rgba(244,180,0,.16); }
.row-diag td:last-child { padding-right: 10px; }
.row-diag td:first-child { padding-left: 10px; font-weight: 650; }
.price-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.price-notes p { display: flex; gap: .6em; margin: 0; font-size: .97rem; }
.price-notes .ico { color: var(--ok); }
@media (max-width: 760px) {
	.price-notes { grid-template-columns: 1fr; gap: 10px; }
	.tab-list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) -1px; padding: 0 var(--gutter); }
	.tab-list::-webkit-scrollbar { display: none; }
	.tab { flex: none; }
	.tab-panel { border-radius: 0 0 var(--r) var(--r); }
}

/* ===== Gedimų gidas ===== */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip {
	font: inherit; font-size: .98rem; font-weight: 600;
	padding: 10px 16px; min-height: 44px; cursor: pointer;
	background: var(--panel); color: var(--ink);
	border: 1px solid var(--line); border-radius: 99px;
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.answer { border-top: 2px solid var(--ink); padding-top: 24px; }
.answer-h { font-size: 1.45rem; }
.answer-grid { display: grid; grid-template-columns: 1fr 1fr minmax(240px, .8fr); gap: clamp(20px, 3vw, 40px); }
.answer-grid h4 { margin-bottom: .6em; }
.answer-price { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; align-self: start; }
.big-price { font-size: 2rem; font-weight: 800; font-stretch: 125%; line-height: 1.1; margin: 0 0 .3em; font-variant-numeric: tabular-nums; }
.ticks { list-style: none; padding: 0; }
.ticks li { position: relative; padding-left: 1.5em; margin-bottom: .5em; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: .7em; height: .7em; background: var(--signal); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.warn { display: flex; gap: .6em; background: #fbe9e4; color: #6b1f12; border-left: 3px solid var(--danger); padding: 10px 12px; border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: .95rem; }
.warn .ico { color: var(--danger); margin-top: 2px; }
@media (max-width: 900px) { .answer-grid { grid-template-columns: 1fr; } }

/* ===== Skaičiuoklė ===== */
.calc-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.calc { background: var(--ink-2); border: 1px solid #34475a; border-radius: var(--r); padding: clamp(20px, 3vw, 32px); }
.calc-field { margin-bottom: 22px; }
.calc-field label, .calc-label { display: block; font-weight: 650; color: #fff; margin-bottom: 8px; }
.calc-range { display: flex; align-items: center; gap: 16px; }
.calc-range output { min-width: 4.5em; text-align: right; font-weight: 800; font-stretch: 120%; color: var(--signal); font-size: 1.25rem; font-variant-numeric: tabular-nums; }
input[type="range"] { flex: 1; accent-color: var(--signal); height: 32px; }
.calc select {
	width: 100%; min-height: 48px; padding: 10px 40px 10px 14px; font: inherit; color: #fff;
	background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23f4b400' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center;
	border: 1px solid #4a5f73; border-radius: var(--r-sm); appearance: none;
}
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid #4a5f73; border-radius: var(--r-sm); overflow: hidden; }
.seg button { font: inherit; font-weight: 600; font-size: .95rem; min-height: 46px; padding: 8px; background: transparent; color: #dfe8f0; border: 0; cursor: pointer; }
.seg button + button { border-left: 1px solid #4a5f73; }
.seg button[aria-checked="true"] { background: var(--signal); color: var(--ink); }
.calc-result { border-top: 1px solid #34475a; padding-top: 22px; }
.meter { position: relative; height: 14px; background: #34475a; border-radius: 99px; overflow: hidden; }
.meter-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--ok); border-radius: 99px; transition: width .3s, background-color .3s; }
.meter-fill.is-mid { background: var(--signal); }
.meter-fill.is-high { background: #d9643f; }
.meter-mark { position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: #fff; }
.meter-legend { display: flex; justify-content: space-between; font-size: .78rem; color: #a8b6c2; margin: 6px 0 16px; }
.calc-sum { margin-bottom: .4em; }
.calc-sum strong { color: #fff; font-variant-numeric: tabular-nums; }
.calc-verdict { font-size: 1.5rem; font-weight: 800; font-stretch: 122%; color: #fff; line-height: 1.2; margin-bottom: .4em; }
@media (max-width: 900px) { .calc-grid { grid-template-columns: 1fr; } }

/* ===== Eiga ===== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; border-top: 2px solid var(--ink); }
.step { counter-increment: step; padding: 24px 24px 26px 0; border-bottom: 1px solid var(--line); position: relative; }
.step:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.step::before { content: counter(step); display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; background: var(--signal); color: var(--ink); font-weight: 800; font-stretch: 125%; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.step p { color: var(--steel); margin: 0; }
@media (max-width: 900px) {
	.steps { grid-template-columns: 1fr 1fr; }
	.step:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
	.step:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); }
}
@media (max-width: 600px) {
	.steps { grid-template-columns: 1fr; }
	.steps > .step:nth-child(n) { padding: 22px 0 22px 56px; border-left: 0; }
	.step::before { position: absolute; left: 0; top: 20px; }
}

/* ===== Apie ===== */
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.about-photo { margin: 0; position: sticky; top: calc(var(--header-h) + 24px); }
.about-photo img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); background: var(--ink-2); }
.about-photo figcaption { font-size: .78rem; color: var(--steel); margin-top: 8px; }
.about-photo.is-missing { display: none; }
.reasons { margin: 28px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.reasons div { border-top: 2px solid var(--ink); padding-top: 12px; }
.reasons dt { font-weight: 750; font-stretch: 115%; margin-bottom: 4px; }
.reasons dd { margin: 0; color: var(--steel); }
@media (max-width: 860px) {
	.about-grid { grid-template-columns: 1fr; }
	.about-photo { position: static; max-width: 420px; }
	.about-photo img { aspect-ratio: 16 / 10; }
}
@media (max-width: 560px) { .reasons { grid-template-columns: 1fr; } }

/* ===== Prekės ženklai ===== */
.brands { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.brands li { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 700; font-stretch: 120%; font-size: 1.05rem; color: var(--ink-2); }

/* ===== Patarimai ===== */
.tips { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 32px); }
.tip h3 { padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.tip li { font-size: .98rem; color: var(--ink-2); }
@media (max-width: 1000px) { .tips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tips { grid-template-columns: 1fr; } }

/* ===== Straipsnių kortelės ===== */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.post-card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.post-card-link:hover { border-color: var(--ink); }
.post-card-link:hover .post-card-title { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.post-card-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card-meta { padding: 18px 20px 0; font-size: .85rem; color: var(--steel); }
.post-card-title { padding: 6px 20px 0; font-weight: 750; font-stretch: 112%; font-size: 1.12rem; line-height: 1.3; }
.post-card-excerpt { padding: 8px 20px 20px; color: var(--steel); font-size: .95rem; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* ===== DUK ===== */
.faq-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq { border-top: 2px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative; font-weight: 700; font-stretch: 108%; font-size: 1.06rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq-item p { margin: 0 0 20px; color: var(--ink-2); max-width: 44em; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } }

/* ===== Kontaktai ===== */
.section-contact { background: var(--panel); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 64px); }
.contact-phone { display: inline-flex; align-items: center; gap: .4em; margin: 18px 0 14px; font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; font-stretch: 122%; text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-phone:hover { text-decoration: underline; }
.contact-addr { display: flex; gap: .6em; font-style: normal; margin-bottom: 22px; }
.contact-addr .ico { margin-top: 3px; color: var(--blue-2); }
.hours { max-width: 420px; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { background: rgba(244,180,0,.2); font-weight: 750; }
.holidays { font-size: .93rem; color: var(--steel); max-width: 34em; }
.holidays strong { color: var(--ink); font-weight: 650; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map { position: relative; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: #dfe4de; }
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-bg { fill: #e4e8e2; }
.m-block { fill: #d3d9d2; }
.m-road { fill: none; stroke: #fff; stroke-width: 12; }
.m-rimi { fill: #c9d3dd; stroke: var(--blue-2); stroke-width: 2; }
.m-pin path { fill: var(--danger); }
.m-pin circle { fill: #fff; }
.map-ui { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; background: rgba(248,249,246,.95); padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line); }
.map-addr { margin: 0; font-size: .95rem; line-height: 1.4; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.find { margin-top: 22px; }
.find-h { font-weight: 750; font-stretch: 115%; margin-bottom: .5em; }
.find ol { padding-left: 1.3em; color: var(--ink-2); }
.find li { margin-bottom: .35em; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ===== Vidiniai puslapiai ===== */
.page-head { background: var(--paper-2); border-bottom: 1px solid var(--line); padding: clamp(28px, 4vw, 48px) 0 clamp(26px, 4vw, 40px); }
.page-head h1 { margin-bottom: .3em; max-width: 22em; }
.article .page-head h1 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
.page-lead { color: var(--steel); font-size: 1.1rem; max-width: 40em; margin: 0; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 14px; font-size: .88rem; color: var(--steel); }
.crumbs li + li::before { content: "/"; margin-right: 4px; color: var(--line); }
.crumbs a { color: var(--steel); }
.article-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--steel); font-size: .92rem; margin: 0; }
.article-grid { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 48px; justify-content: center; padding-top: 40px; padding-bottom: var(--sec); }
.article-grid:not(:has(.toc)) { grid-template-columns: minmax(0, 760px); }
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; font-size: .93rem; border-left: 2px solid var(--ink); padding-left: 16px; }
.toc-h { font-weight: 750; margin-bottom: .6em; }
.toc ol { list-style: none; padding: 0; margin: 0; }
.toc li { margin-bottom: .5em; }
.toc .toc-l3 { padding-left: 12px; font-size: .9rem; }
.toc a { color: var(--steel); text-decoration: none; }
.toc a:hover, .toc a.is-current { color: var(--ink); text-decoration: underline; }
@media (max-width: 960px) {
	.article-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.toc { position: static; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--signal); padding: 16px 18px; border-radius: 0 var(--r) var(--r) 0; }
}
.article-img { margin: 0 0 28px; }
.article-img img { border-radius: var(--r); display: block; width: 100%; }
.article-cats { font-size: .93rem; color: var(--steel); }
.related-h { font-size: 1.6rem; margin-bottom: 24px; }
.read-progress { position: fixed; left: 0; right: 0; top: 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); }

/* Turinys (blokų redaktorius) */
.prose { font-size: 1.08rem; line-height: 1.7; }
.prose-wide { max-width: 860px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); margin-top: 1.8em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--signal); font-size: 1.1rem; }
.prose img { border-radius: var(--r); }
.prose figure { margin: 1.5em 0; }
.prose figcaption { font-size: .85rem; color: var(--steel); margin-top: 6px; }
.prose table { font-size: .97rem; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.prose th { border-bottom: 2px solid var(--ink); }
.prose a { color: var(--blue-2); font-weight: 550; }
.prose .wp-block-gallery { gap: 12px; }
.prose .wp-block-image img { height: auto; }
.prose .aligncenter { margin-left: auto; margin-right: auto; }
.prose .alignwide { max-width: none; }
.wp-caption-text { font-size: .85rem; color: var(--steel); }

.cta-box { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px 32px; margin-top: 48px; background: var(--ink); color: #dfe8f0; border-radius: var(--r); padding: clamp(20px, 3vw, 32px); border-left: 6px solid var(--signal); }
.cta-box-title { color: #fff; font-size: 1.35rem; font-weight: 800; font-stretch: 120%; margin-bottom: .3em; }
.cta-box p:last-child { margin: 0; }
.cta-box-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-box .btn-ghost { color: #fff; border-color: rgba(255,255,255,.5); }
.cta-box .btn-ghost:hover { background: #fff; color: var(--ink); }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; font-weight: 650; background: var(--panel); }
.pagination .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ===== Poraštė ===== */
.site-footer { background: var(--ink); color: #b9c6d1; padding: clamp(48px, 6vw, 72px) 0 0; font-size: .96rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-logo .logo-svg { height: 40px; width: auto; display: block; margin-bottom: 16px; }
.footer-h { font-size: .98rem; color: #fff; font-stretch: 115%; margin-bottom: .8em; }
.footer-phone { font-size: 1.2rem; font-weight: 750; font-stretch: 115%; text-decoration: none; }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: .5em; }
.footer-menu a { text-decoration: none; }
.footer-menu a:hover { text-decoration: underline; }
.status-footer { color: #fff; }
.footer-bottom { border-top: 1px solid #2d3d4b; padding-top: 20px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .85rem; color: #8fa0ae; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ===== Mobilioji juosta ===== */
.mobile-bar { display: none; }
@media (max-width: 760px) {
	body { padding-bottom: 64px; }
	.mobile-bar {
		display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		background: rgba(22,33,43,.97); border-top: 1px solid #2d3d4b;
	}
	.mobile-bar a { display: flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; border-radius: var(--r-sm); color: #fff; text-decoration: none; font-weight: 700; border: 1px solid #45596b; }
	.mobile-bar .mobile-bar-call { background: var(--signal); color: var(--ink); border-color: var(--signal); }
}

/* ===== Į viršų ===== */
.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 56;
	width: 52px; height: 52px; border-radius: 50%; border: 0; padding: 0;
	background: var(--ink); color: #fff; cursor: pointer;
	display: grid; place-items: center;
	box-shadow: 0 8px 22px -8px rgba(22,33,43,.6);
	opacity: 0; transform: translateY(12px); pointer-events: none;
	transition: opacity .2s, transform .2s, background-color .15s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--blue-2); }
.to-top .ico { width: 22px; height: 22px; position: relative; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,255,255,.15); stroke-width: 3; }
.ring-fg { fill: none; stroke: var(--signal); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: 132; }
@media (max-width: 760px) { .to-top { bottom: calc(76px + env(safe-area-inset-bottom)); right: 14px; width: 48px; height: 48px; } }

/* ===== Spausdinimas ===== */
@media print {
	.site-header, .mobile-bar, .to-top, .hero-art, .map, .calc, .chips { display: none !important; }
	.tab-panel[hidden], .answer[hidden] { display: block !important; }
	body { background: #fff; padding: 0; }
	.hero, .section-ink { background: #fff; color: #000; }
}
