/* PersonPremier — pagrindiniai stiliai */

:root {
	--enamel: #12403A;
	--enamel-2: #1A564E;
	--enamel-deep: #0C2C28;
	--brass: #D9A441;
	--brass-dark: #B9862B;
	--brass-soft: #FBEFD6;
	--paper: #F4F6F3;
	--white: #FFFFFF;
	--ink: #18201E;
	--steel: #56625E;
	--steel-light: #8A9692;
	--line: #D5DCD8;
	--red: #C23B2E;
	--green: #2E9D6A;

	--font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 72px;
	--admin: var(--wp-admin--admin-bar--height, 0px);
	--r-sm: 8px;
	--r: 12px;
	--r-lg: 18px;
	color-scheme: light;
}

/* ---------- Bazė ---------- */

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

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

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

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

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

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	line-height: 1.12;
	font-weight: 760;
	font-stretch: 110%;
	letter-spacing: -0.012em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); }
h2 { font-size: clamp(1.85rem, 1.35rem + 2vw, 2.8rem); }
h3 { font-size: 1.25rem; font-stretch: 104%; font-weight: 700; letter-spacing: 0; }
h4 { font-size: 1rem; font-stretch: 100%; font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

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

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: 12px; top: -60px;
	z-index: 1000;
	padding: 10px 16px;
	background: var(--brass);
	color: var(--ink);
	font-weight: 700;
	border-radius: var(--r-sm);
}
.skip-link:focus { top: calc(12px + var(--admin)); }

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

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

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

/* ---------- Mygtukai ---------- */

.btn {
	display: inline-flex;
	white-space: nowrap;
	align-items: center;
	justify-content: center;
	gap: .6em;
	min-height: 48px;
	padding: .7em 1.25em;
	border: 1.5px solid transparent;
	border-radius: 10px;
	font: inherit;
	font-weight: 680;
	font-stretch: 104%;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }
.btn--lg { min-height: 56px; padding: .9em 1.5em; font-size: 1.0625rem; }
.btn--sm { min-height: 42px; padding: .5em 1em; font-size: .95rem; }

.btn--brass { background: var(--brass); color: var(--ink); }
.btn--brass:hover { background: var(--brass-dark); color: var(--ink); }

.btn--enamel { background: var(--enamel); color: var(--paper); }
.btn--enamel:hover { background: var(--enamel-2); color: var(--white); }

.btn--line { border-color: currentColor; color: inherit; background: transparent; }
.btn--line:hover { background: rgba(255, 255, 255, .08); color: inherit; }

.btn--ghost { border-color: var(--line); color: var(--enamel); background: var(--white); }
.btn--ghost:hover { border-color: var(--enamel); color: var(--enamel); }

/* ---------- Būsena (dirba / nedirba) ---------- */

.status {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	font-size: .9rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
}
.status__dot {
	width: 9px; height: 9px;
	border-radius: 50%;
	background: var(--steel-light);
	box-shadow: 0 0 0 3px rgba(138, 150, 146, .2);
}
.status.is-open .status__dot { background: var(--green); box-shadow: 0 0 0 3px rgba(46, 157, 106, .22); }
.status.is-soon .status__dot { background: var(--brass); box-shadow: 0 0 0 3px rgba(217, 164, 65, .25); }
.status.is-closed .status__dot { background: var(--red); box-shadow: 0 0 0 3px rgba(194, 59, 46, .2); }

/* ---------- Antraštė ---------- */

.site-header {
	position: sticky;
	top: var(--admin);
	z-index: 100;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1px solid var(--line);
	backdrop-filter: saturate(1.4) blur(8px);
}
.site-header__row {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ink);
	text-decoration: none;
	margin-right: auto;
}
.brand:hover { color: var(--ink); text-decoration: none; }
.brand__mark { width: 44px; height: 44px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name {
	font-size: 1.35rem;
	font-weight: 520;
	font-stretch: 118%;
	letter-spacing: -0.01em;
}
.brand__name b { font-weight: 800; }
.brand__tag { font-size: .78rem; color: var(--steel); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.nav__list a {
	display: block;
	padding: 10px 10px;
	white-space: nowrap;
	border-radius: var(--r-sm);
	color: var(--ink);
	font-weight: 560;
	text-decoration: none;
}
.nav__list a:hover,
.nav__list .current-menu-item > a { background: var(--paper); color: var(--enamel); }
.nav__list .sub-menu { display: none; }
.nav__aside { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
	display: none;
	width: 48px; height: 48px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	cursor: pointer;
}
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

@media (max-width: 1360px) {
	.status--header { display: none; }
}
@media (min-width: 1181px) {
	.site-header .brand__tag { display: none; }
}

@media (max-width: 1180px) {
	.nav-toggle { display: inline-flex; }
	.nav {
		position: absolute;
		left: 0; right: 0;
		top: 100%;
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
		padding: 16px var(--gutter) 24px;
		background: var(--white);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 18px 30px -18px rgba(18, 64, 58, .35);
		display: none;
		max-height: calc(100vh - var(--header-h) - var(--admin));
		overflow-y: auto;
	}
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; }
	.nav__list a { padding: 14px 12px; font-size: 1.1rem; border-bottom: 1px solid var(--paper); }
	.nav__aside { flex-direction: column; align-items: stretch; }
	.status--header { display: inline-flex; justify-content: center; }
	.site-header { backdrop-filter: none; background: var(--white); }
}

@media (max-width: 420px) {
	.brand__tag { display: none; }
}

/* ---------- Pirmas ekranas ---------- */

.hero {
	background: var(--enamel);
	color: var(--paper);
	padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px);
	overflow: hidden;
}
.hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}
.hero__title {
	font-size: clamp(2.6rem, 1.4rem + 4.4vw, 4.75rem);
	font-weight: 800;
	font-stretch: 116%;
	line-height: 1;
	letter-spacing: -0.02em;
	margin-bottom: .45em;
	max-width: 12ch;
}
.hero__lead {
	font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem);
	color: rgba(244, 246, 243, .84);
	max-width: 38em;
	margin-bottom: 1.8em;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero .btn--line { color: var(--paper); border-color: rgba(244, 246, 243, .55); }
.hero .btn--line:hover { border-color: var(--paper); }

/* Duomenų plokštelė (kaip aparato šone) */
.plate {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, max-content);
	width: fit-content;
	max-width: 100%;
	margin: 0;
	padding: 18px 22px;
	border-radius: 6px;
	background: linear-gradient(180deg, #EEF2F0 0%, #D3DBD7 100%);
	color: var(--ink);
	border: 1px solid #A9B4AF;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(0, 0, 0, .08), 0 10px 24px -14px rgba(0, 0, 0, .55);
}
.plate::before,
.plate::after {
	content: "";
	position: absolute;
	top: 8px;
	width: 7px; height: 7px;
	border-radius: 50%;
	background: radial-gradient(circle at 35% 35%, #FFFFFF 0 20%, #8E9A95 60%, #6B7773 100%);
}
.plate::before { left: 8px; }
.plate::after { right: 8px; }
.plate__cell { padding: 2px 22px; border-left: 1px solid rgba(24, 32, 30, .16); box-shadow: -1px 0 0 rgba(255, 255, 255, .7); }
.plate__cell:first-child { border-left: 0; box-shadow: none; padding-left: 4px; }
.plate dt { font-size: .8rem; color: #4A5652; font-weight: 560; }
.plate dd {
	margin: 2px 0 0;
	font-size: clamp(1.1rem, .9rem + .7vw, 1.45rem);
	font-weight: 780;
	font-stretch: 112%;
	line-height: 1.15;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}

/* Manometras */
.gauge {
	position: relative;
	margin: 0 auto;
	width: 100%;
	max-width: 400px;
	aspect-ratio: 1;
}
.gauge__dial { width: 100%; height: 100%; display: block; overflow: visible; }
.gauge__bezel { fill: var(--enamel-deep); stroke: var(--brass); stroke-width: 3; }
.gauge__face { fill: var(--paper); }
.gauge__track,
.gauge__fill,
.gauge__warn { fill: none; stroke-width: 11; stroke-linecap: round; }
.gauge__track { stroke: #DCE2DF; }
.gauge__warn { stroke: rgba(194, 59, 46, .55); stroke-linecap: butt; }
.gauge__fill {
	stroke: var(--brass);
	stroke-dasharray: 100;
	stroke-dashoffset: 100;
	transition: stroke-dashoffset 1.2s cubic-bezier(.2, .7, .2, 1);
}
.gauge__ticks line { stroke: var(--ink); stroke-linecap: round; }
.gauge__ticks .is-major { stroke-width: 3; }
.gauge__ticks .is-minor { stroke-width: 1.6; stroke: var(--steel-light); }
.gauge__ticks text {
	fill: var(--ink);
	font-family: var(--font);
	font-size: 17px;
	font-weight: 700;
	font-stretch: 110%;
	text-anchor: middle;
}
.gauge__needle {
	fill: var(--ink);
	transform-box: view-box;
	transform-origin: 160px 160px;
	transition: transform 1.4s cubic-bezier(.3, 1.4, .4, 1);
}
.gauge__hub { fill: var(--enamel); stroke: var(--brass); stroke-width: 3; }
.gauge__pin { fill: var(--brass); }
.gauge__readout {
	position: absolute;
	left: 50%;
	top: 69%;
	transform: translateX(-50%);
	width: 56%;
	text-align: center;
	color: var(--ink);
	line-height: 1.2;
}
.gauge__state {
	display: block;
	font-size: clamp(1.05rem, .8rem + .9vw, 1.4rem);
	font-weight: 780;
	font-stretch: 112%;
}
.gauge__detail { display: block; margin-top: 4px; text-wrap: balance; font-size: clamp(.78rem, .72rem + .25vw, .92rem); color: var(--steel); }
.gauge.is-open .gauge__state { color: var(--enamel); }
.gauge.is-closed .gauge__state { color: var(--red); }

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__title { max-width: 14ch; }
	.gauge { max-width: 320px; margin: 0; }
}
@media (max-width: 900px) and (min-width: 560px) {
	.hero__grid { grid-template-columns: 1fr 240px; align-items: start; }
}
@media (max-width: 640px) {
	.plate { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 14px; width: 100%; }
	.plate__cell:nth-child(3) { border-left: 0; box-shadow: none; padding-left: 4px; }
	.hero__actions .btn { width: 100%; }
}
@media (max-width: 559px) {
	.gauge { max-width: 260px; margin-inline: auto; }
}

/* ---------- Sekcijos ---------- */

.section { padding-block: clamp(64px, 8vw, 120px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }

.section__head { max-width: 62ch; margin-bottom: clamp(32px, 4vw, 56px); }
.section__head p { font-size: 1.125rem; color: var(--steel); }
.section__head--row {
	display: flex;
	justify-content: space-between;
	align-items: end;
	gap: 24px;
	max-width: none;
}
.section__head--row > div { max-width: 62ch; }

.link-more { font-weight: 680; white-space: nowrap; }

/* ---------- Gedimų žinynas ---------- */

.checker { background: var(--white); }
.checker__grid {
	display: grid;
	grid-template-columns: minmax(220px, .9fr) minmax(240px, 1fr) minmax(320px, 1.3fr);
	gap: clamp(20px, 3vw, 40px);
	align-items: start;
}
.checker__choices { display: flex; flex-direction: column; gap: 8px; }
.chip {
	display: block;
	width: 100%;
	padding: 13px 16px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--white);
	color: var(--ink);
	font: inherit;
	font-size: 1rem;
	font-weight: 580;
	line-height: 1.3;
	text-align: left;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover { border-color: var(--enamel); }
.chip[aria-selected="true"] {
	background: var(--enamel);
	border-color: var(--enamel);
	color: var(--paper);
	box-shadow: inset 4px 0 0 var(--brass);
}

.machine { margin: 0; position: sticky; top: calc(var(--header-h) + var(--admin) + 24px); }
.machine__svg { width: 100%; height: auto; display: block; overflow: visible; }
.machine__body { fill: #E6EBE8; stroke: #9AA6A1; stroke-width: 2; }
.machine__door { fill: #D7DEDA; stroke: #B3BDB8; stroke-width: 1.5; }
.machine__pipes path { fill: none; stroke: #A9B4AF; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 6; }
.machine__spout { fill: #8A9692; }
.machine__cup { fill: var(--white); stroke: #8A9692; stroke-width: 2; }
.machine__foot { fill: #B3BDB8; }

.part { transition: opacity .25s; }
.part__shape { fill: #F8FAF9; stroke: #6B7773; stroke-width: 1.6; transition: fill .2s, stroke .2s; }
.part__wand { fill: none; stroke-width: 7; stroke-linecap: round; }
.part__detail { fill: none; stroke: #8A9692; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.part__screen { fill: #2A3532; stroke: none; }
.part__water { fill: #C6DDE8; }
.part__label {
	font-family: var(--font);
	font-size: 12px;
	font-weight: 600;
	fill: var(--steel);
	text-anchor: middle;
	transition: fill .2s;
}
.part__label--in { opacity: 0; }

.machine.has-active .part { opacity: .42; }
.machine.has-active .part.is-active { opacity: 1; }
.part.is-active .part__shape { fill: var(--brass-soft); stroke: var(--brass-dark); stroke-width: 3; }
.part.is-active .part__wand { fill: none; stroke: var(--brass); }
.part.is-active .part__detail { stroke: var(--brass-dark); }
.part.is-active .part__screen { fill: var(--enamel); }
.part.is-active .part__label { fill: var(--ink); font-weight: 800; opacity: 1; }

.machine__legend { margin-top: 12px; text-align: center; color: var(--steel); font-size: .95rem; min-height: 1.5em; }
.machine__legend strong { color: var(--ink); }

.checker__panels { min-width: 0; }
.symptom {
	padding: clamp(20px, 2.5vw, 32px);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--paper);
}
.symptom + .symptom { margin-top: 16px; }
.js .symptom[data-hidden] { display: none; }
.js .symptom + .symptom { margin-top: 0; }
.symptom__title { font-size: 1.5rem; font-stretch: 108%; }
.symptom__parts { color: var(--steel); }
.symptom h4 { margin-top: 1.3em; }

.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 6px; }
.ticks li::before {
	content: "";
	position: absolute;
	left: 4px; top: .62em;
	width: 8px; height: 8px;
	border-radius: 2px;
	background: var(--steel-light);
}
.ticks--check li::before {
	left: 1px; top: .32em;
	width: 16px; height: 16px;
	border-radius: 50%;
	background: var(--enamel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.3 2.3 2.3 4.7-4.9' fill='none' stroke='%23F4F6F3' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.symptom__quote {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 24px 0 20px;
	padding-top: 18px;
	border-top: 2px dashed var(--line);
}
.symptom__quote p { margin: 0; display: flex; flex-direction: column; }
.symptom__quote span { font-size: .85rem; color: var(--steel); }
.symptom__quote strong { font-size: 1.25rem; font-stretch: 110%; font-variant-numeric: tabular-nums; }

@media (max-width: 1080px) {
	.checker__grid { grid-template-columns: minmax(200px, .8fr) minmax(0, 1.4fr); }
	.checker__choices { grid-row: span 2; }
	.machine { position: static; max-width: 320px; }
}
@media (max-width: 720px) {
	.checker__grid { grid-template-columns: 1fr; }
	.checker__choices {
		grid-row: auto;
		flex-direction: row;
		overflow-x: auto;
		scroll-snap-type: x proximity;
		margin-inline: calc(var(--gutter) * -1);
		padding: 2px var(--gutter) 8px;
		scrollbar-width: thin;
	}
	.chip { width: auto; flex: none; white-space: nowrap; scroll-snap-align: start; }
	.machine { max-width: 260px; margin-inline: auto; }
	.symptom__quote { grid-template-columns: 1fr 1fr; }
}

/* ---------- Kainos ---------- */

.prices__grid {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}
.prices__head { position: sticky; top: calc(var(--header-h) + var(--admin) + 32px); margin-bottom: 0; }
.prices__facts { list-style: none; margin: 24px 0; padding: 0; }
.prices__facts li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font-weight: 600; }
.prices__facts .icon { color: var(--enamel); }
.prices__jump { display: flex; flex-wrap: wrap; gap: 8px; }
.prices__jump a {
	padding: 6px 12px;
	border: 1px solid var(--line);
	border-radius: 999px;
	background: var(--white);
	font-size: .9rem;
	text-decoration: none;
}
.prices__jump a:hover { border-color: var(--enamel); }

.price-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 44px;
	scroll-margin-top: calc(var(--header-h) + var(--admin) + 24px);
}
.price-table caption {
	text-align: left;
	font-size: 1.35rem;
	font-weight: 760;
	font-stretch: 110%;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--ink);
}
.price-table th,
.price-table td {
	padding: 14px 0;
	border-bottom: 1px solid var(--line);
	vertical-align: baseline;
	text-align: left;
}
.price-table th { font-weight: 400; padding-right: 20px; }
.price-table__name { display: block; font-weight: 650; }
.price-table__note { display: block; font-size: .92rem; color: var(--steel); }
.price-table td {
	text-align: right;
	font-weight: 760;
	font-stretch: 110%;
	font-size: 1.1rem;
	white-space: nowrap;
	font-variant-numeric: tabular-nums;
}
.prices__note { color: var(--steel); font-size: .95rem; max-width: 60ch; }

@media (max-width: 860px) {
	.prices__grid { grid-template-columns: 1fr; }
	.prices__head { position: static; }
}

/* ---------- Eiga ---------- */

.process { background: var(--white); }
.steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(20px, 3vw, 36px);
	counter-reset: none;
}
.steps__item { position: relative; padding-top: 64px; }
.steps__item::before {
	content: "";
	position: absolute;
	top: 22px;
	left: 52px;
	right: calc(clamp(20px, 3vw, 36px) * -1);
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px);
}
.steps__item:last-child::before { display: none; }
.steps__num {
	position: absolute;
	top: 0; left: 0;
	width: 46px; height: 46px;
	display: grid;
	place-items: center;
	border: 2px solid var(--enamel);
	border-radius: 50%;
	font-weight: 800;
	font-stretch: 112%;
	font-size: 1.15rem;
	color: var(--enamel);
	background: var(--white);
}
.steps__item:first-child .steps__num { background: var(--enamel); color: var(--paper); }
.steps__item p { color: var(--steel); }

@media (max-width: 860px) {
	.steps { grid-template-columns: 1fr 1fr; }
	.steps__item:nth-child(2)::before { display: none; }
}
@media (max-width: 560px) {
	.steps { grid-template-columns: 1fr; gap: 8px; }
	.steps__item { padding: 0 0 24px 64px; }
	.steps__item::before { top: 52px; left: 22px; right: auto; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line) 0 8px, transparent 8px 14px); display: block; }
	.steps__item:nth-child(2)::before { display: block; }
	.steps__item:last-child::before { display: none; }
}

/* ---------- Aparatai ---------- */

.machines__list {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0 clamp(24px, 4vw, 64px);
}
.machines__item { padding: 28px 0; border-top: 1px solid var(--line); }
.machines__item h3 { font-size: 1.4rem; font-stretch: 108%; }
.machines__item p { color: var(--steel); max-width: 52ch; }
.machines__brands { color: var(--ink) !important; font-weight: 560; }

@media (max-width: 720px) {
	.machines__list { grid-template-columns: 1fr; }
}

/* ---------- Priežiūra ir skaičiuoklė ---------- */

.care { background: var(--white); }
.care__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}
.calc {
	padding: clamp(24px, 3vw, 40px);
	border-radius: var(--r-lg);
	background: var(--enamel);
	color: var(--paper);
}
.calc h2 { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.4rem); }
.calc > p { color: rgba(244, 246, 243, .82); }
.calc__field { margin: 24px 0 0; padding: 0; border: 0; min-width: 0; }
.calc__field > label,
.calc__field legend { display: block; margin-bottom: 10px; padding: 0; font-weight: 680; }
.calc__range { display: flex; align-items: center; gap: 16px; }
.calc__range input { flex: 1; accent-color: var(--brass); height: 28px; }
.calc__range output {
	min-width: 2.6ch;
	font-size: 1.6rem;
	font-weight: 800;
	font-stretch: 112%;
	font-variant-numeric: tabular-nums;
	text-align: right;
}
.segmented {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 4px;
	padding: 4px;
	border-radius: 12px;
	background: rgba(0, 0, 0, .22);
}
.segmented--two { grid-template-columns: 1fr 1fr; max-width: 260px; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span {
	display: block;
	padding: 10px 6px;
	border-radius: 9px;
	text-align: center;
	font-size: .92rem;
	font-weight: 620;
	line-height: 1.2;
	cursor: pointer;
}
.segmented input:checked + span { background: var(--brass); color: var(--ink); }
.segmented input:focus-visible + span { outline: 3px solid var(--paper); outline-offset: 1px; }
.calc__hint { margin-top: 10px; font-size: .9rem; color: rgba(244, 246, 243, .7); }
.calc__result {
	margin-top: 28px;
	padding: 20px 22px;
	border-radius: var(--r);
	background: var(--paper);
	color: var(--ink);
}
.calc__big { margin: 0 0 6px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; font-stretch: 114%; line-height: 1.1; }
.calc__result p:last-child { color: var(--steel); }
.calc__note { margin-top: 14px; font-size: .88rem; color: rgba(244, 246, 243, .68); }

.tips__title { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.tips__list { list-style: none; margin: 24px 0 0; padding: 0; }
.tips__list li { padding: 18px 0 18px 36px; border-top: 1px solid var(--line); position: relative; }
.tips__list li::before {
	content: "";
	position: absolute;
	left: 0; top: 24px;
	width: 18px; height: 18px;
	border-radius: 50%;
	border: 2px solid var(--brass);
	background: radial-gradient(circle, var(--brass) 0 3px, transparent 3.5px);
}
.tips__list h3 { font-size: 1.1rem; margin-bottom: .3em; }
.tips__list p { color: var(--steel); }

@media (max-width: 900px) {
	.care__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.segmented { grid-template-columns: 1fr 1fr; }
}

/* ---------- DUK ---------- */

.faq__grid {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: start;
}
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	padding: 20px 0;
	cursor: pointer;
	list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-size: 1.12rem; font-stretch: 102%; }
.faq__item summary::after {
	content: "";
	flex: none;
	width: 28px; height: 28px;
	border-radius: 50%;
	border: 1.5px solid var(--enamel);
	background:
		linear-gradient(var(--enamel), var(--enamel)) center / 12px 2px no-repeat,
		linear-gradient(var(--enamel), var(--enamel)) center / 2px 12px no-repeat;
	transition: transform .2s;
}
.faq__item[open] summary::after {
	background: linear-gradient(var(--paper), var(--paper)) center / 12px 2px no-repeat var(--enamel);
}
.faq__item summary:hover h3 { color: var(--enamel); }
.faq__item p { padding: 0 48px 22px 0; color: var(--steel); max-width: 64ch; }

@media (max-width: 860px) {
	.faq__grid { grid-template-columns: 1fr; }
}

/* ---------- Kortelės (įrašai) ---------- */

.latest { background: var(--white); }
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: clamp(16px, 2.4vw, 28px);
}
.card {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--white);
	overflow: hidden;
	transition: border-color .15s;
}
.card:hover { border-color: var(--enamel); }
.card__media { aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.card__cat { margin: 0 0 8px; font-size: .85rem; font-weight: 650; color: var(--enamel); }
.card__title { font-size: 1.2rem; font-stretch: 104%; line-height: 1.25; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__title a:hover { color: var(--enamel); }
.card__excerpt { color: var(--steel); font-size: .98rem; }
.card__meta { margin-top: auto; padding-top: 12px; display: flex; gap: 16px; font-size: .85rem; color: var(--steel); }

/* ---------- Kontaktai ---------- */

.contact { background: var(--enamel); color: var(--paper); }
.contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(32px, 5vw, 72px);
	align-items: stretch;
}
.contact__lead { color: rgba(244, 246, 243, .82); font-size: 1.1rem; max-width: 46ch; }
.contact__list { list-style: none; margin: 28px 0; padding: 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 14px; align-items: flex-start; }
.contact__list .icon { color: var(--brass); width: 24px; height: 24px; margin-top: 2px; }
.contact__list span { display: block; font-size: .85rem; color: rgba(244, 246, 243, .65); }
.contact__list a { color: var(--paper); font-size: 1.25rem; font-weight: 700; font-stretch: 108%; }

.hours { width: 100%; max-width: 420px; border-collapse: collapse; }
.hours th,
.hours td { padding: 9px 0; border-bottom: 1px solid rgba(244, 246, 243, .14); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr[data-day="6"] td,
.hours tr[data-day="7"] td { color: rgba(244, 246, 243, .6); }
.hours tr.is-today th,
.hours tr.is-today td { color: var(--brass); font-weight: 760; }
.hours tr.is-today th::after {
	content: "šiandien";
	margin-left: 10px;
	padding: 2px 8px;
	border-radius: 999px;
	background: var(--brass);
	color: var(--ink);
	font-size: .75rem;
	font-weight: 700;
	vertical-align: 2px;
}
.contact__muted { margin-top: 10px; font-size: .9rem; color: rgba(244, 246, 243, .65); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.contact .btn--line { color: var(--paper); border-color: rgba(244, 246, 243, .5); }

.map {
	position: relative;
	align-self: start;
	height: 480px;
	border-radius: var(--r-lg);
	overflow: hidden;
	background: #E1E7E4;
}
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__bg { fill: #E1E7E4; }
.map__block { fill: #D2DAD6; }
.map__road { fill: none; stroke: #F7F9F8; stroke-width: 14; }
.map__road--main { stroke: #F3DFAF; stroke-width: 22; }
.map__pin path { fill: var(--red); }
.map__pin circle { fill: var(--white); }
.map__overlay {
	position: absolute;
	left: 50%; bottom: 24px;
	transform: translateX(-50%);
	width: min(88%, 360px);
	padding: 20px;
	border-radius: var(--r);
	background: var(--white);
	color: var(--ink);
	text-align: center;
	box-shadow: 0 16px 32px -18px rgba(12, 44, 40, .6);
}
.map__overlay p:first-child { font-weight: 700; margin-bottom: 12px; }
.map__privacy { margin-top: 10px; font-size: .8rem; color: var(--steel); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.is-loaded .map__art,
.map.is-loaded .map__overlay { display: none; }

@media (max-width: 860px) {
	.contact__grid { grid-template-columns: 1fr; }
	.map { height: 360px; }
}

/* ---------- Vidiniai puslapiai ---------- */

.page-head {
	padding-block: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 48px);
	background: var(--white);
	border-bottom: 1px solid var(--line);
}
.page-head h1 { max-width: 24ch; margin-bottom: .3em; }
.page-head__lead { font-size: 1.15rem; color: var(--steel); max-width: 60ch; }
.page-head__search { margin-top: 24px; max-width: 520px; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .9rem; color: var(--steel); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: var(--steel-light); }
.crumbs a { color: var(--steel); }
.crumbs a:hover { color: var(--enamel); }

.meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--steel); font-size: .95rem; }

.entry__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}
.entry__media { margin: 0 0 32px; border-radius: var(--r-lg); overflow: hidden; }
.entry__media img { width: 100%; }
.entry__aside { position: sticky; top: calc(var(--header-h) + var(--admin) + 24px); }
.aside-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--white);
}
.aside-card__title { margin: 0; font-weight: 760; font-stretch: 108%; font-size: 1.1rem; line-height: 1.25; }
.aside-card__list { margin: 0; }
.aside-card__list div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); }
.aside-card__list dt { color: var(--steel); }
.aside-card__list dd { margin: 0; font-weight: 700; }
.aside-card__link { font-weight: 600; }

.entry__tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 32px 0 0; }
.entry__tags a { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-size: .9rem; text-decoration: none; }

.entry__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.entry__nav span { display: block; font-size: .85rem; color: var(--steel); }
.entry__nav a { font-weight: 650; }
.entry__next { text-align: right; grid-column: 2; }

.related h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }

@media (max-width: 960px) {
	.entry__layout { grid-template-columns: 1fr; }
	.entry__aside { position: static; }
}

/* Tekstas */
.prose { max-width: 70ch; font-size: 1.0938rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { margin-top: 1.8em; font-size: clamp(1.5rem, 1.25rem + .9vw, 1.9rem); scroll-margin-top: calc(var(--header-h) + var(--admin) + 20px); }
.prose h3 { margin-top: 1.5em; font-size: 1.3rem; scroll-margin-top: calc(var(--header-h) + var(--admin) + 20px); }
.prose ul,
.prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--brass); font-size: 1.15rem; }
.prose img { border-radius: var(--r); }
.prose figure { margin-inline: 0; }
.prose figcaption { font-size: .9rem; color: var(--steel); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .98rem; display: block; overflow-x: auto; }
.prose th,
.prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { background: var(--white); }
.prose--intro { margin-bottom: 40px; }
.prose .wp-block-gallery { gap: 12px; }

.toc {
	margin: 0 0 36px;
	padding: 20px 24px;
	border-left: 3px solid var(--brass);
	border-radius: 0 var(--r) var(--r) 0;
	background: var(--white);
	max-width: 70ch;
}
.toc__title { margin: 0 0 8px; font-weight: 760; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; }
.toc ol ol { margin: 4px 0 0; list-style: lower-alpha; }

.cta-card {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	margin-top: 48px;
	padding: clamp(22px, 3vw, 32px);
	border-radius: var(--r-lg);
	background: var(--enamel);
	color: var(--paper);
	max-width: 70ch;
}
.cta-card__body { flex: 1 1 280px; }
.cta-card__title { margin: 0 0 6px; font-size: 1.3rem; font-weight: 780; font-stretch: 110%; }
.cta-card__body p:last-child { color: rgba(244, 246, 243, .82); }
.cta-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }

.topics { margin-top: 56px; }
.topics__title { font-size: 1.3rem; }
.topics ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.topics a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); text-decoration: none; }
.topics a[aria-current] { background: var(--enamel); color: var(--paper); border-color: var(--enamel); }
.topics span { color: var(--steel); }
.topics a[aria-current] span { color: inherit; }

.pagination,
.navigation.pagination { margin-top: 48px; }
.pagination ul,
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.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: 10px;
	background: var(--white);
	text-decoration: none;
	font-weight: 600;
}
.page-numbers.current { background: var(--enamel); color: var(--paper); border-color: var(--enamel); }

.search { display: flex; gap: 8px; }
.search input {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 0 16px;
	border: 1.5px solid var(--line);
	border-radius: 10px;
	background: var(--white);
	font: inherit;
	color: var(--ink);
}
.search input:focus { border-color: var(--enamel); outline: none; box-shadow: 0 0 0 3px rgba(217, 164, 65, .45); }

.empty { max-width: 60ch; }
.empty > * + * { margin-top: 16px; }

.quicklinks { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.quicklinks a { display: block; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); text-decoration: none; color: var(--ink); }
.quicklinks a:hover { border-color: var(--enamel); }
.quicklinks strong { display: block; font-size: 1.15rem; font-stretch: 106%; color: var(--enamel); }
.quicklinks span { color: var(--steel); }

/* WordPress lygiuotės */
.alignleft { float: left; margin: .3em 1.5em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.alignwide { max-width: 1000px; }
.wp-caption-text { font-size: .9rem; color: var(--steel); }

/* ---------- Poraštė ---------- */

.site-footer {
	background: var(--enamel-deep);
	color: rgba(244, 246, 243, .78);
	padding-top: clamp(48px, 6vw, 80px);
	font-size: .98rem;
}
.site-footer a { color: var(--paper); }
.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-bottom: 48px;
}
.site-footer .brand { color: var(--paper); margin-bottom: 16px; }
.site-footer .brand__tag { color: rgba(244, 246, 243, .6); }
.site-footer__brand p { max-width: 40ch; }
.site-footer__title { font-size: 1rem; font-stretch: 104%; color: var(--paper); margin-bottom: 14px; }
.site-footer__contact { font-style: normal; display: grid; gap: 12px; }
.site-footer__contact a { display: flex; gap: 10px; align-items: flex-start; text-decoration: none; }
.site-footer__contact a:hover { text-decoration: underline; }
.site-footer__contact .icon { color: var(--brass); margin-top: 3px; }
.site-footer__hours strong { color: var(--paper); font-size: 1.2rem; font-stretch: 108%; }
.site-footer__muted { font-size: .9rem; color: rgba(244, 246, 243, .6); }
.site-footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
.status--footer { margin-top: 4px; color: var(--paper); }
.site-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-block: 20px;
	background: linear-gradient(rgba(244, 246, 243, .12), rgba(244, 246, 243, .12)) var(--gutter) 0 / calc(100% - var(--gutter) * 2) 1px no-repeat;
	font-size: .85rem;
	color: rgba(244, 246, 243, .55);
}
.site-footer__bottom p { margin: 0; }

@media (max-width: 960px) {
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
	.site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
	.site-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Mobili skambučio juosta ---------- */

.callbar { display: none; }
@media (max-width: 720px) {
	body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
	.callbar {
		position: fixed;
		left: 0; right: 0; bottom: 0;
		z-index: 90;
		display: grid;
		grid-template-columns: 1.4fr 1fr;
		gap: 8px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: var(--white);
		border-top: 1px solid var(--line);
		box-shadow: 0 -10px 24px -16px rgba(12, 44, 40, .4);
	}
}

/* ---------- Mygtukas į viršų ---------- */

.to-top {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 95;
	width: 54px; height: 54px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: var(--enamel);
	color: var(--paper);
	box-shadow: 0 10px 24px -10px rgba(12, 44, 40, .65);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity .2s, transform .2s, visibility .2s, background-color .15s;
}
.to-top:hover { background: var(--enamel-2); color: var(--white); }
.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: rgba(244, 246, 243, .18); stroke-width: 3; }
.to-top__ring .to-top__progress { stroke: var(--brass); stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
.to-top__icon { position: relative; width: 22px; height: 22px; }
.no-js .to-top,
html:not(.js) .to-top { opacity: 1; visibility: visible; transform: none; }

@media (max-width: 720px) {
	.to-top { right: 14px; bottom: calc(86px + env(safe-area-inset-bottom)); width: 48px; height: 48px; }
}

/* ---------- Judesio mažinimas ---------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
		animation-duration: .01ms !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- Spausdinimas ---------- */

@media print {
	.site-header, .callbar, .to-top, .map, .checker__choices, .machine, .site-footer__grid nav { display: none !important; }
	.js .symptom[data-hidden] { display: block; }
	body { background: #fff; padding: 0; }
	.hero, .contact, .calc, .site-footer { background: #fff !important; color: #000 !important; }
}
