/*
Theme Name: ŠviežiaKava
Theme URI: https://svieziakava.lt/
Author: ŠviežiaKava.lt
Description: Greita, SEO optimizuota tema kavos aparatų remonto dirbtuvėms Kaune. Veikia be įskiepių: struktūrizuoti duomenys (LocalBusiness, FAQ, Breadcrumb, BlogPosting), meta žymos, Open Graph, 404 → pagrindinis puslapis, interaktyvus gedimų gidas, kainų ir nukalkinimo skaičiuoklės, mygtukas „į viršų“.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: svieziakava
*/

/* ---------- Šriftai (vietoje, be Google Fonts) ---------- */
@font-face {
	font-family: "Lora";
	src: url(assets/fonts/lora-var.woff) format("woff");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url(assets/fonts/inter-regular.woff) format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Inter";
	src: url(assets/fonts/inter-semibold.woff) format("woff");
	font-weight: 600 700;
	font-style: normal;
	font-display: swap;
}

/* ---------- Spalvos ir dydžiai ---------- */
:root {
	--paper: #F2F5F1;
	--surface: #FFFFFF;
	--ink: #18231E;
	--muted: #55665D;
	--line: #D6DED7;
	--leaf: #173B2E;
	--leaf-deep: #0F2A20;
	--leaf-2: #2F7A52;
	--leaf-tint: #E3EEE6;
	--cherry: #B8293A;
	--cherry-dark: #96202F;
	--cherry-tint: #F8E4E6;
	--crema: #E2B55A;
	--coffee: #5A3420;
	--water: #D3E8F1;
	--water-line: #6E9FB5;

	--font-display: "Lora", Georgia, "Times New Roman", serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

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

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

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

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

h1, h2, h3, h4 {
	font-family: var(--font-display);
	font-weight: 700;
	color: var(--leaf);
	line-height: 1.15;
	letter-spacing: -0.012em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.05rem); line-height: 1.03; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.55rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
p, li { text-wrap: pretty; }

a { color: var(--leaf-2); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a[href^="tel:"] { white-space: nowrap; }
a:hover { color: var(--leaf); }

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link {
	position: absolute;
	left: 16px; top: -60px;
	z-index: 200;
	background: var(--leaf);
	color: #fff;
	padding: 10px 16px;
	border-radius: var(--r-s);
	font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

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

.icon { flex: none; }

/* ---------- Mygtukai ---------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	min-height: 44px;
	padding: .6em 1.15em;
	border: 1.5px solid transparent;
	border-radius: var(--r-s);
	font: 600 1rem/1.2 var(--font-body);
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn-lg { min-height: 54px; padding: .8em 1.4em; font-size: 1.0625rem; }
.btn-primary { background: var(--cherry); color: #fff; }
.btn-primary:hover { background: var(--cherry-dark); color: #fff; }
.btn-ghost { border-color: var(--leaf); color: var(--leaf); background: transparent; }
.btn-ghost:hover { background: var(--leaf); color: #fff; }
.btn-light { background: #fff; color: var(--leaf); }
.btn-light:hover { background: var(--leaf-tint); color: var(--leaf); }
.btn-call { background: var(--leaf); color: #fff; }
.btn-call:hover { background: var(--leaf-deep); color: #fff; }

/* ---------- Antraštė ---------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: color-mix(in srgb, var(--paper) 92%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
.site-header.is-scrolled { border-bottom-color: var(--line); }

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

.brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--leaf);
	flex: none;
}
.brand-mark { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font: 700 1.42rem/1 var(--font-display); letter-spacing: -.02em; color: var(--leaf); }
.brand-kava { color: var(--cherry); }
.brand-tld { font-size: .62em; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.brand-tag { font-size: .74rem; color: var(--muted); margin-top: 4px; }

.site-nav { margin-left: auto; }
.nav-list {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav-list a {
	display: block;
	padding: 8px 12px;
	border-radius: var(--r-s);
	color: var(--ink);
	font-weight: 600;
	font-size: .95rem;
	text-decoration: none;
}
.nav-list a:hover,
.nav-list .current-menu-item > a { background: var(--leaf-tint); color: var(--leaf); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: .85rem;
	color: var(--muted);
	white-space: nowrap;
}
.status-dot {
	width: 9px; height: 9px;
	border-radius: 50%;
	background: var(--muted);
}
.is-open .status-dot { background: #2C9A5B; box-shadow: 0 0 0 4px rgba(44, 154, 91, .18); }
.is-closed .status-dot { background: var(--cherry); }

.nav-toggle {
	display: none;
	margin-left: auto;
	width: 44px; height: 44px;
	align-items: center; justify-content: center;
	border: 1.5px solid var(--line);
	border-radius: var(--r-s);
	background: var(--surface);
	color: var(--leaf);
	cursor: pointer;
}
.nav-toggle-close { display: none; }
.nav-open .nav-toggle-open { display: none; }
.nav-open .nav-toggle-close { display: inline-flex; }

@media (max-width: 1240px) {
	.status { display: none !important; }
}
@media (max-width: 1060px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: absolute;
		top: 100%;
		left: 0; right: 0;
		margin: 0;
		background: var(--surface);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 18px 30px -20px rgba(15, 42, 32, .35);
		display: none;
	}
	.nav-open .site-nav { display: block; }
	.no-js .site-nav { position: static; display: block; box-shadow: none; }
	.nav-list { flex-direction: column; padding: 10px var(--gutter) 18px; }
	.nav-list a { padding: 13px 12px; font-size: 1.05rem; }
	.header-actions { margin-left: 0; }
}
@media (max-width: 640px) {
	:root { --header-h: 64px; }
	.brand-mark { width: 38px; height: 38px; }
	.brand-name { font-size: 1.22rem; }
	.brand-tag { display: none; }
	.btn-call span { display: none; }
	.btn-call { width: 44px; padding: 0; }
}

/* ---------- Pirmas ekranas ---------- */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.hero-grid {
	display: grid;
	grid-template-columns: minmax(0, .74fr) minmax(0, 1.26fr);
	gap: clamp(28px, 4vw, 60px);
	align-items: start;
}
.hero-copy { padding-top: clamp(0px, 2vw, 28px); }
.hero h1 { margin-bottom: .32em; max-width: 11ch; }
.hero-lead { font-size: 1.18rem; color: var(--muted); max-width: 34em; }

.facts {
	display: grid;
	grid-template-columns: repeat(3, auto);
	justify-content: start;
	gap: 0;
	margin: 28px 0;
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
}
.facts > div { padding: 14px 22px 14px 0; }
.facts > div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.facts dt { font-size: .84rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font: 700 1.7rem/1.1 var(--font-display); color: var(--leaf); font-variant-numeric: lining-nums; }

.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta {
	list-style: none;
	margin: 22px 0 0;
	padding: 0;
	display: grid;
	gap: 6px;
	font-size: .95rem;
	color: var(--muted);
}
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta .icon { color: var(--leaf-2); }

/* ---------- Gedimų gidas ---------- */
.guide {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-l);
	padding: clamp(20px, 3vw, 34px);
	box-shadow: 0 30px 60px -40px rgba(15, 42, 32, .35);
}
.guide-title { font-size: 1.6rem; margin-bottom: .25em; }
.guide-intro { color: var(--muted); font-size: .98rem; max-width: 40em; }

.guide-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; }
.chip {
	min-height: 40px;
	padding: 8px 14px;
	border: 1.5px solid var(--line);
	border-radius: 999px;
	background: var(--paper);
	color: var(--ink);
	font: 600 .92rem/1.2 var(--font-body);
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--leaf-2); }
.chip[aria-pressed="true"] { background: var(--leaf); border-color: var(--leaf); color: #fff; }

.guide-stage {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
	gap: clamp(16px, 2.5vw, 30px);
	align-items: center;
	margin-top: 14px;
}
.guide-machine { max-width: 420px; margin-inline: auto; width: 100%; }

.symptom-empty {
	padding: 18px 20px;
	border: 1.5px dashed var(--line);
	border-radius: var(--r-m);
	color: var(--muted);
}
.symptom-empty p { margin: 0; }
.symptom h3 { font-size: 1.3rem; margin-bottom: .55em; }
.symptom p { font-size: .97rem; }
.symptom strong { color: var(--leaf); }
.symptom-price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 8px;
	margin: 16px 0 0;
	padding: 12px 16px;
	background: var(--cherry-tint);
	border-radius: var(--r-m);
	font-size: .9rem !important;
	color: var(--muted);
}
.symptom-parts { font-size: .88rem !important; color: var(--muted); margin-top: -4px; }
.symptom-price b { font: 700 1.35rem/1 var(--font-display); color: var(--cherry-dark); }

.js .symptom { display: none; }
.js .symptom.is-active { display: block; }
.js .guide.has-selection .symptom-empty { display: none; }
.no-js .symptom-empty,
.no-js .guide-chips { display: none; }
.no-js .symptom { padding: 14px 0; border-top: 1px solid var(--line); }
.symptom.is-active { animation: panel-in .25s ease-out; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Aparato schema */
.machine { display: block; width: 100%; overflow: visible; }
.machine .body { fill: var(--surface); stroke: var(--ink); stroke-width: 2.4; }
.machine .lid { fill: var(--leaf-tint); stroke: var(--ink); stroke-width: 2; }
.machine .screen { fill: var(--leaf); }
.machine .screen-glyph { fill: none; stroke: var(--crema); stroke-width: 2; stroke-linecap: round; }
.machine .screen-bar { fill: #fff; opacity: .55; }
.machine .screen-bar.is-short { opacity: .3; }
.machine .knob { fill: var(--paper); stroke: var(--ink); stroke-width: 1.6; }
.machine .knob.is-power { fill: var(--cherry); stroke: var(--cherry-dark); }
.machine .bay { fill: var(--paper); stroke: var(--ink); stroke-width: 2; }
.machine .spout { fill: var(--leaf); }
.machine .nozzle { fill: var(--ink); }
.machine .stream { stroke: var(--coffee); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 6 5; }
.machine .cup { fill: var(--surface); stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }
.machine .cup-handle { stroke: var(--ink); stroke-width: 2.2; }
.machine .steam path { fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; opacity: 0; }
.machine .tray { fill: var(--leaf-tint); stroke: var(--ink); stroke-width: 2; }
.machine .tray-grid { stroke: var(--muted); stroke-width: 2; stroke-dasharray: 3 5; }
.machine .foot { fill: var(--ink); }

.machine .part-shape { fill: var(--paper); stroke: var(--muted); stroke-width: 1.6; stroke-dasharray: 4 3; transition: fill .2s, stroke .2s; }
.machine .part-shape.tank { fill: var(--water); stroke: var(--water-line); stroke-dasharray: none; stroke-width: 2; }
.machine .water { fill: #9DCBE0; opacity: .7; }
.machine .part-detail { fill: none; stroke: var(--muted); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.machine .part-detail-fill { fill: var(--line); }
.machine .part-line { stroke: var(--muted); stroke-dasharray: 4 4; }
.machine .part-label { font: 700 16px var(--font-body); fill: var(--cherry-dark); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; opacity: 0; transition: opacity .2s; pointer-events: none; }
.machine .part:hover .part-label,
.machine .part.is-active .part-label { opacity: 1; }
.machine .part { transition: opacity .2s; }

.guide.has-selection .machine .part { opacity: .4; }
.guide.has-selection .machine .part.is-active { opacity: 1; }
.machine .part.is-active .part-shape { fill: var(--cherry-tint); stroke: var(--cherry); stroke-width: 2.4; stroke-dasharray: none; }
.machine .part.is-active .part-detail,
.machine .part.is-active .part-line { stroke: var(--cherry); }
.machine .part.is-active .part-detail-fill { fill: var(--cherry); }

@media (prefers-reduced-motion: no-preference) {
	.machine .stream { animation: pour 1.1s linear infinite; }
	.machine .steam path { animation: steam 3.2s ease-in-out infinite; }
	.machine .steam path:nth-child(2) { animation-delay: .9s; }
	.machine .steam path:nth-child(3) { animation-delay: 1.8s; }
	.machine .part.is-active .part-shape { animation: part-pulse 1.6s ease-in-out infinite; }
}
@keyframes pour { to { stroke-dashoffset: -22; } }
@keyframes steam {
	0% { opacity: 0; transform: translateY(6px); }
	40% { opacity: .55; }
	100% { opacity: 0; transform: translateY(-14px); }
}
@keyframes part-pulse { 50% { stroke-opacity: .45; } }

/* ---------- Gamintojai ---------- */
.brands { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.brands-inner { display: flex; align-items: center; gap: 24px; padding-block: 18px; }
.brands-title { margin: 0; font: 700 1.05rem var(--font-display); color: var(--leaf); flex: none; }
.brands-list {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--muted);
	font-weight: 600;
	font-size: .95rem;
}

/* ---------- Skiltys ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(32px, 5vw, 56px); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section-head-row { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; max-width: none; }
.link-more { font-weight: 600; white-space: nowrap; }

/* Apie */
.about-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 6vw, 88px);
	align-items: start;
}
.about-copy h2 { max-width: 16ch; }
.about-copy p { font-size: 1.08rem; max-width: 36em; }
.about-photo { margin: 28px 0 0; }
.about-photo img { border-radius: var(--r-l); width: 100%; height: auto; }
.promises {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 34px 30px;
}
.promises li { border-top: 2px solid var(--leaf); padding-top: 18px; }
.promises .icon { color: var(--cherry); margin-bottom: 12px; }
.promises h3 { font-size: 1.15rem; margin-bottom: .35em; }
.promises p { margin: 0; color: var(--muted); font-size: .98rem; }

/* Kainos */
.prices { background: var(--surface); border-block: 1px solid var(--line); }
.prices-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}
.menu-group + .menu-group { margin-top: 36px; }
.menu-group h3 {
	font-size: 1.3rem;
	padding-bottom: 10px;
	border-bottom: 2px solid var(--leaf);
	margin-bottom: 6px;
}
.menu-group ul { list-style: none; margin: 0; padding: 0; }
.menu-item {
	display: grid;
	grid-template-columns: auto minmax(20px, 1fr) auto;
	align-items: baseline;
	column-gap: 10px;
	padding: 13px 0;
	border-bottom: 1px solid var(--line);
}
.menu-name { font-weight: 600; }
.menu-dots { border-bottom: 2px dotted #B9C5BC; transform: translateY(-4px); }
.menu-price {
	font: 700 1.15rem/1.2 var(--font-display);
	color: var(--leaf);
	white-space: nowrap;
	font-variant-numeric: lining-nums;
	text-align: right;
}
.menu-price small { font: 400 .8rem var(--font-body); color: var(--muted); }
.menu-note { grid-column: 1 / -1; font-size: .88rem; color: var(--muted); margin-top: 2px; }
.menu-item.is-highlight {
	background: var(--cherry-tint);
	border-radius: var(--r-m);
	border-bottom-color: transparent;
	padding-inline: 14px;
	margin: 8px 0;
}
.menu-item.is-highlight .menu-price { color: var(--cherry-dark); font-size: 1.45rem; }
.menu-item.is-highlight .menu-dots { border-color: rgba(184, 41, 58, .35); }
.menu-foot { margin-top: 22px; font-size: .9rem; color: var(--muted); }

@media (max-width: 520px) {
	.menu-item { grid-template-columns: minmax(0, 1fr) auto; }
	.menu-dots { display: none; }
}

/* Skaičiuoklės */
.worth,
.descale {
	position: sticky;
	top: calc(var(--header-h) + 20px);
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-l);
	padding: clamp(20px, 3vw, 30px);
}
.worth h3,
.descale h3 { font-size: 1.45rem; }
.worth-intro,
.descale > p:first-of-type { color: var(--muted); font-size: .95rem; }

.field {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: baseline;
	gap: 4px 12px;
	margin-top: 18px;
}
.field label { font-weight: 600; font-size: .93rem; }
.field output { font: 700 1.1rem var(--font-display); color: var(--leaf); font-variant-numeric: lining-nums; }
.field input[type="range"] { grid-column: 1 / -1; width: 100%; accent-color: var(--leaf-2); height: 28px; margin: 0; cursor: pointer; }

.worth-result {
	margin-top: 24px;
	padding: 18px;
	background: var(--surface);
	border-radius: var(--r-m);
	border: 1px solid var(--line);
}
.worth-meter { height: 8px; border-radius: 99px; background: var(--leaf-tint); overflow: hidden; }
.worth-meter span { display: block; height: 100%; width: 12%; background: var(--leaf-2); border-radius: inherit; transition: width .25s, background-color .25s; }
.worth-result[data-level="maybe"] .worth-meter span { background: var(--crema); }
.worth-result[data-level="no"] .worth-meter span { background: var(--cherry); }
.worth-verdict { font: 700 1.4rem/1.2 var(--font-display); color: var(--leaf); margin: 14px 0 4px; }
.worth-result[data-level="no"] .worth-verdict { color: var(--cherry-dark); }
.worth-text { margin: 0; font-size: .95rem; color: var(--muted); }
.worth-foot,
.descale-foot { margin: 16px 0 0; font-size: .86rem; color: var(--muted); }

.segmented {
	display: inline-grid;
	grid-auto-flow: column;
	margin-top: 18px;
	padding: 4px;
	gap: 4px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 999px;
}
.segmented button {
	min-height: 38px;
	padding: 6px 16px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--ink);
	font: 600 .9rem var(--font-body);
	cursor: pointer;
}
.segmented button[aria-pressed="true"] { background: var(--leaf); color: #fff; }
.descale-result { margin: 22px 0 2px; font-size: 1.05rem; }
.descale-result b { display: block; font: 700 1.7rem/1.15 var(--font-display); color: var(--leaf); }
.descale-sub { margin: 0; color: var(--muted); font-size: .95rem; }

/* Procesas */
.steps {
	list-style: none;
	counter-reset: step;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 24px;
}
.steps li { counter-increment: step; position: relative; padding-top: 58px; }
.steps li::before {
	content: counter(step);
	position: absolute;
	top: 0; left: 0;
	width: 42px; height: 42px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--leaf);
	color: #fff;
	font: 700 1.15rem var(--font-display);
}
.steps li::after {
	content: "";
	position: absolute;
	top: 20px; left: 54px; right: -12px;
	border-top: 2px dashed #B9C5BC;
}
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.12rem; margin-bottom: .35em; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }

.warranty {
	display: flex;
	gap: 22px;
	align-items: flex-start;
	margin-top: clamp(40px, 6vw, 64px);
	padding: clamp(22px, 3vw, 32px);
	background: var(--leaf-tint);
	border-radius: var(--r-l);
}
.warranty .icon { color: var(--leaf-2); }
.warranty h3 { font-size: 1.3rem; }
.warranty p { margin: 0; max-width: 62em; }

/* Aparatų tipai */
.types { background: var(--surface); border-block: 1px solid var(--line); }
.types-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0;
	border-top: 1px solid var(--line);
}
.types-grid article { padding: 24px 24px 8px 0; }
.types-grid article + article { padding-left: 24px; border-left: 1px solid var(--line); }
.types-grid h3 { font-size: 1.18rem; }
.types-grid p { color: var(--muted); font-size: .97rem; }

/* Priežiūra */
.care-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: start;
}
.schedule-row {
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr);
	gap: 20px;
	padding: 20px 0;
	border-top: 1px solid var(--line);
}
.schedule-row:last-child { border-bottom: 1px solid var(--line); }
.schedule-row h3 { font-size: 1.15rem; margin: 0; }
.schedule-row ul { margin: 0; padding-left: 1.1em; }
.schedule-row li + li { margin-top: 6px; }
.schedule-row li::marker { color: var(--cherry); }

/* DUK */
.faq-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
	gap: clamp(24px, 5vw, 64px);
	align-items: start;
}
.faq .section-head { position: sticky; top: calc(var(--header-h) + 20px); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary {
	position: relative;
	list-style: none;
	cursor: pointer;
	padding: 18px 44px 18px 0;
	font: 600 1.08rem/1.4 var(--font-body);
	color: var(--leaf);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
	content: "";
	position: absolute;
	right: 6px; top: 50%;
	width: 12px; height: 12px;
	border-right: 2px solid var(--leaf-2);
	border-bottom: 2px solid var(--leaf-2);
	transform: translateY(-70%) rotate(45deg);
	transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { margin: 0 0 20px; color: var(--muted); max-width: 60ch; }

/* Kortelės (įrašai) */
.latest { background: var(--surface); border-top: 1px solid var(--line); }
.cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}
.card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-m);
	overflow: hidden;
}
.listing .card { background: var(--surface); }
.card-media { display: block; aspect-ratio: 16 / 10; background: var(--leaf-tint); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media-empty { display: grid; place-items: center; }
.card-media-empty .brand-mark { width: 64px; height: 64px; opacity: .9; }
.card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card-title { font-size: 1.18rem; line-height: 1.3; }
.card-title a { color: var(--leaf); text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-excerpt { color: var(--muted); font-size: .96rem; }
.card-meta { margin: auto 0 0; font-size: .84rem; color: var(--muted); }

/* Kontaktai */
.contact {
	background: var(--leaf);
	color: #DDE8E1;
	padding-block: clamp(56px, 8vw, 104px);
}
.contact h2,
.contact h3 { color: #fff; }
.contact-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 5vw, 64px);
	align-items: stretch;
}
.contact-lead { font-size: 1.1rem; max-width: 32em; }
.contact-phone {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin: 12px 0 28px;
	font: 700 clamp(1.8rem, 1.3rem + 2vw, 2.7rem)/1 var(--font-display);
	color: #fff;
	text-decoration: none;
	letter-spacing: -.01em;
}
.contact-phone .icon { color: var(--crema); }
.contact-phone:hover { color: var(--crema); }
.contact-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 24px; }
.contact-rows h3 { font-size: 1.05rem; margin-bottom: .4em; }
.contact-rows p { margin: 0 0 .5em; }
.contact .link-inline { color: var(--crema); font-weight: 600; }
.contact-status { font-weight: 600; color: #fff; }
.contact-status:empty { display: none; }

.map {
	position: relative;
	min-height: 340px;
	border-radius: var(--r-l);
	overflow: hidden;
	background: var(--leaf-deep);
	color: #9FC0AE;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-facade {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	align-content: center;
	gap: 14px;
	text-align: center;
	padding: 20px;
}
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-pin { position: relative; color: var(--crema); }
.map-facade .btn,
.map-note { position: relative; }
.map-note { margin: 0; font-size: .85rem; color: #9FC0AE; }

/* ---------- Poraštė ---------- */
.site-footer { background: var(--leaf-deep); color: #B6C8BD; padding-top: clamp(48px, 6vw, 72px); font-size: .95rem; }
.site-footer a { color: #E4EEE8; text-decoration: none; }
.site-footer a:hover { color: var(--crema); }
.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1.1fr .9fr;
	gap: 36px;
}
.brand-invert .brand-name { color: #fff; }
.brand-invert .brand-kava { color: #F07A86; }
.brand-invert .brand-tld,
.brand-invert .brand-tag { color: #9FB6A9; }
.footer-brand p { margin-top: 16px; max-width: 30em; }
.footer-title { font: 700 1.05rem var(--font-display); color: #fff; margin-bottom: 14px; }
.nap { font-style: normal; display: grid; gap: 10px; }
.nap a { display: inline-flex; gap: 10px; align-items: center; }
.nap .icon { color: var(--crema); }
.hours-table { border-collapse: collapse; width: 100%; max-width: 280px; }
.hours-table th,
.hours-table td { padding: 4px 0; text-align: left; font-weight: 400; }
.hours-table td { text-align: right; }
.hours-table tr.is-today th,
.hours-table tr.is-today td { color: #fff; font-weight: 600; }
.footer-note { margin-top: 10px; font-size: .86rem; }
.site-footer .nav-list { flex-direction: column; gap: 0; padding: 0; }
.site-footer .nav-list a { padding: 4px 0; color: #E4EEE8; font-weight: 400; background: none; font-size: .95rem; }
.site-footer .nav-list a:hover { color: var(--crema); background: none; }
.footer-bottom {
	width: calc(100% - var(--gutter) * 2);
	max-width: var(--wrap);
	padding-inline: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	margin-top: 44px;
	padding-block: 22px;
	border-top: 1px solid rgba(255, 255, 255, .1);
	font-size: .85rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Mobilūs veiksmai ir „į viršų“ ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
	body { padding-bottom: 68px; }
	.mobile-bar {
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 60;
		display: grid;
		grid-template-columns: 1.4fr 1fr;
		gap: 8px;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
		background: var(--surface);
		border-top: 1px solid var(--line);
	}
	.mobile-bar a {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		min-height: 50px;
		border-radius: var(--r-s);
		font-weight: 600;
		text-decoration: none;
	}
	.mobile-bar-call { background: var(--cherry); color: #fff; }
	.mobile-bar-route { background: var(--leaf-tint); color: var(--leaf); }
}

.to-top {
	position: fixed;
	right: 20px;
	bottom: 22px;
	z-index: 55;
	width: 50px; height: 50px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--leaf);
	color: #fff;
	box-shadow: 0 12px 24px -10px rgba(15, 42, 32, .55);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity .2s, transform .2s, visibility .2s, background-color .15s;
}
.to-top:hover { background: var(--leaf-deep); color: #fff; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-ring circle {
	fill: none;
	stroke: var(--crema);
	stroke-width: 2.5;
	stroke-dasharray: 100;
	stroke-dashoffset: var(--progress, 100);
}
.no-js .to-top { opacity: 1; visibility: visible; transform: none; }
@media (max-width: 760px) {
	.to-top { bottom: calc(80px + env(safe-area-inset-bottom)); right: 14px; width: 46px; height: 46px; }
}

/* ---------- Vidiniai puslapiai ---------- */
.page-head { padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); }
.page-head h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); max-width: 22ch; }
.page-intro { font-size: 1.12rem; color: var(--muted); max-width: 40em; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 18px; padding: 0; list-style: none; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #A3B1A8; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 36ch; }

.post-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; color: var(--muted); font-size: .92rem; margin: 0; }
.post-cover { margin-top: 0; margin-bottom: clamp(24px, 4vw, 40px); }
.post-cover img { width: 100%; border-radius: var(--r-l); }

.post-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 760px) minmax(0, 1fr);
	gap: 40px;
}
.post-layout .entry { grid-column: 2; }
.post-layout .toc { grid-column: 1; grid-row: 1; justify-self: end; width: 100%; max-width: 240px; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.toc-title { font: 700 1rem var(--font-display); color: var(--leaf); margin-bottom: 8px; }
.toc ol { margin: 0; padding: 0; list-style: none; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); font-size: .9rem; line-height: 1.35; text-decoration: none; }
.toc a:hover { color: var(--leaf); }
.toc a.is-current { color: var(--leaf); border-left-color: var(--cherry); font-weight: 600; }

@media (max-width: 1180px) {
	.post-layout { grid-template-columns: minmax(0, 1fr); max-width: calc(780px + var(--gutter) * 2); }
	.post-layout .entry,
	.post-layout .toc { grid-column: 1; }
	.post-layout .toc { grid-row: auto; position: static; max-width: none; justify-self: stretch; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 18px; }
}

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

/* Įrašo turinys */
.entry { font-size: 1.1rem; line-height: 1.75; }
.entry > * { max-width: 100%; }
.entry h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 1.95rem); margin-top: 1.9em; }
.entry h3 { font-size: 1.3rem; margin-top: 1.6em; }
.entry h4 { font-size: 1.1rem; margin-top: 1.4em; }
.entry ul,
.entry ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry li + li { margin-top: .35em; }
.entry li::marker { color: var(--leaf-2); }
.entry img { border-radius: var(--r-m); height: auto; }
.entry figure { margin: 1.8em 0; }
.entry figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.entry blockquote {
	margin: 1.8em 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--crema);
	font-family: var(--font-display);
	font-size: 1.2rem;
	color: var(--leaf);
}
.entry hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.entry table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.entry th,
.entry td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry thead th { border-bottom: 2px solid var(--leaf); color: var(--leaf); }
.table-scroll { overflow-x: auto; margin: 1.6em 0; }
.entry .wp-block-button__link { background: var(--leaf); border-radius: var(--r-s); }
.entry a:not(.wp-block-button__link) { color: var(--leaf-2); }
.entry .alignwide { max-width: 1000px; }
.entry .aligncenter { margin-inline: auto; }
.entry .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.entry .alignright { float: right; margin: .3em 0 1em 1.4em; }
.entry::after { content: ""; display: table; clear: both; }
.page .entry { padding-bottom: 8px; }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 28px 0 0; padding: 0; }
.tags a { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--leaf-tint); color: var(--leaf); font-size: .88rem; text-decoration: none; }

.cta-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px 32px;
	margin: clamp(36px, 6vw, 56px) 0 clamp(36px, 6vw, 56px);
	padding: clamp(22px, 3vw, 32px);
	background: var(--leaf);
	color: #DDE8E1;
	border-radius: var(--r-l);
}
.cta-box h2 { color: #fff; font-size: 1.5rem; margin-bottom: .3em; }
.cta-box p { margin: 0; max-width: 34em; }
.cta-box-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-box .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.cta-box .btn-ghost:hover { background: #fff; color: var(--leaf); }

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	padding-bottom: clamp(48px, 6vw, 72px);
}
.post-nav a { display: block; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); color: var(--leaf); font-weight: 600; text-decoration: none; line-height: 1.35; }
.post-nav a:hover { border-color: var(--leaf-2); }
.post-nav span { display: block; font-size: .82rem; font-weight: 400; color: var(--muted); margin-bottom: 4px; }
.post-nav-next { grid-column: 2; text-align: right; }

.related { border-bottom: 0; }

.empty { padding: 40px 0; }

/* Puslapiavimas */
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 40px; }
.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px; height: 44px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: var(--r-s);
	background: var(--surface);
	color: var(--leaf);
	text-decoration: none;
	font-weight: 600;
}
.pagination .page-numbers.current { background: var(--leaf); border-color: var(--leaf); color: #fff; }

/* ---------- Prisitaikymas ---------- */
@media (max-width: 1100px) {
	.hero-grid { grid-template-columns: minmax(0, 1fr); }
	.hero h1 { max-width: 14ch; }
	.steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
	.steps li:nth-child(3)::after { display: none; }
	.types-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.types-grid article:nth-child(3) { padding-left: 0; border-left: 0; }
	.types-grid article:nth-child(n+3) { border-top: 1px solid var(--line); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
	.about-grid,
	.prices-grid,
	.care-grid,
	.faq-grid,
	.contact-grid { grid-template-columns: minmax(0, 1fr); }
	.worth,
	.descale,
	.faq .section-head { position: static; }
	.guide-stage { grid-template-columns: minmax(0, 1fr); }
	.guide-machine { max-width: 300px; }
}
@media (max-width: 640px) {
	body { font-size: 1rem; }
	.hero-lead { font-size: 1.06rem; }
	.facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.facts > div { padding-right: 10px; }
	.facts > div + div { padding-left: 12px; }
	.facts dd { font-size: 1.35rem; }
	.facts dt { font-size: .76rem; }
	.hero-cta .btn { width: 100%; }
	.brands-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
	.promises { grid-template-columns: minmax(0, 1fr); }
	.steps { grid-template-columns: minmax(0, 1fr); }
	.steps li { padding: 0 0 0 60px; min-height: 42px; }
	.steps li::after { display: none; }
	.types-grid { grid-template-columns: minmax(0, 1fr); }
	.types-grid article,
	.types-grid article + article { padding: 20px 0 4px; border-left: 0; border-top: 1px solid var(--line); }
	.types-grid article:first-child { border-top: 0; }
	.schedule-row { grid-template-columns: minmax(0, 1fr); gap: 8px; }
	.warranty { flex-direction: column; gap: 10px; }
	.contact-rows { grid-template-columns: minmax(0, 1fr); }
	.cards { grid-template-columns: minmax(0, 1fr); }
	.footer-grid { grid-template-columns: minmax(0, 1fr); }
	.post-nav { grid-template-columns: minmax(0, 1fr); }
	.post-nav-next { grid-column: 1; }
	.section-head-row { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after { animation: none !important; transition: none !important; }
}

@media print {
	.site-header,
	.mobile-bar,
	.to-top,
	.guide-chips,
	.map,
	.read-progress { display: none !important; }
	body { background: #fff; padding: 0; }
}
