/* ==========================================================================
   MPE.lt – robotų siurblių remontas
   Spalvos: Baltijos mėlyna (ink), valymo žemėlapio pilka (floor),
   išvalyto ploto mėtinė (mint), įrankių geltona (signal).
   ========================================================================== */

@font-face {
	font-family: "Adventor";
	src: url("../fonts/adventor-bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Adventor";
	src: url("../fonts/adventor-regular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #12233B;
	--ink-deep: #0E1C30;
	--muted: #4F5F75;
	--paper: #F2F5F7;
	--white: #FFFFFF;
	--floor: #DDE6EC;
	--line: #CCD7E0;
	--mint: #8ED3C7;
	--teal: #0E7C74;
	--signal: #FFB000;
	--fault: #C8412F;
	--ok: #2FB37A;

	--f-head: "Adventor", "Century Gothic", "Avant Garde", "Futura", system-ui, sans-serif;
	--f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--step--1: 0.875rem;
	--step-0: 1.0625rem;
	--step-1: 1.25rem;
	--step-2: clamp(1.45rem, 1.2rem + 0.9vw, 1.75rem);
	--step-3: clamp(1.9rem, 1.4rem + 2vw, 2.65rem);
	--step-4: clamp(2.3rem, 1.4rem + 3.6vw, 4rem);

	--wrap: 1180px;
	--gutter: clamp(18px, 4vw, 32px);
	--space: clamp(56px, 8vw, 112px);
	--head-h: 72px;
}

/* ---------- Pagrindai ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body {
	margin: 0;
	font-family: var(--f-body);
	font-size: var(--step-0);
	line-height: 1.6;
	color: var(--ink);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 0.5em; text-wrap: balance; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); letter-spacing: -0.005em; }
h4 { font-size: var(--step-0); }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
table { border-collapse: collapse; width: 100%; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
::selection { background: var(--mint); color: var(--ink); }

.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--signal); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { top: 12px; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: calc(760px + 2 * var(--gutter)); }
.wrap--wide { max-width: calc(980px + 2 * var(--gutter)); }

.ico { flex: none; vertical-align: -0.2em; }

/* ---------- Mygtukai ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none;
	cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: #FFC233; }
.btn--signal:active { transform: translateY(1px); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line:hover { background: var(--ink); color: var(--white); }
.btn--sm { padding: 9px 16px; font-size: 0.95rem; }
.section--ink .btn--line { border-color: var(--white); color: var(--white); }
.section--ink .btn--line:hover { background: var(--white); color: var(--ink); }

/* ---------- Antraštė ---------- */
.head {
	position: sticky; top: 0; z-index: 50;
	background: rgba(242, 245, 247, 0.92);
	-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 .head { top: 32px; }
@media (max-width: 782px) { .admin-bar .head { top: 0; } }
.head.is-stuck { border-bottom-color: var(--line); }
.head__in { display: flex; align-items: center; gap: 24px; min-height: var(--head-h); }
.logo { display: block; flex: none; }
.logo img, .custom-logo { width: 132px; height: auto; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.nav__list a {
	display: block; padding: 8px 12px; border-radius: 999px;
	color: var(--ink); font-weight: 600; font-size: 0.97rem; text-decoration: none;
}
.nav__list a:hover { background: var(--floor); }
.nav__list a[aria-current="page"], .nav__list .current-menu-item > a { background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.head__act { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; border-radius: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle__close { display: none; }

.status { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: var(--step--1); font-weight: 600; color: var(--muted); white-space: nowrap; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); box-shadow: 0 0 0 3px rgba(204, 215, 224, .45); }
.status.is-open .status__dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(47, 179, 122, .22); }
.status.is-closed .status__dot { background: var(--signal); box-shadow: 0 0 0 3px rgba(255, 176, 0, .25); }

@media (max-width: 1120px) {
	.head .status { display: none; }
}
@media (max-width: 980px) {
	.nav-toggle { display: inline-flex; }
	.head__call span { display: none; }
	.head__call { padding: 10px; }
	.nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--paper); border-bottom: 1px solid var(--line);
		padding: 8px var(--gutter) 20px;
		display: none;
	}
	.nav.is-open { display: block; }
	.nav__list { flex-direction: column; }
	.nav__list a { padding: 14px 8px; border-radius: 8px; font-size: 1.05rem; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
	.head__act { margin-left: auto; }
}

/* ---------- Sekcijos ---------- */
.section { padding-block: var(--space); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #E6EDF3; }
.section--ink h2, .section--ink h3 { color: var(--white); }
.section--ink a { color: var(--mint); }
.section__head { max-width: 640px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.section--ink .section__head p { color: #B9C6D3; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.section__head--row h2 { margin: 0; }
.section__h { font-size: var(--step-2); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }

/* ---------- Hero ---------- */
.hero { background: var(--paper); padding-block: clamp(32px, 5vw, 72px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero__title { font-size: var(--step-4); line-height: 1.02; letter-spacing: -0.03em; margin-bottom: 0.4em; }
.hero__lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.22rem); color: var(--muted); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line); }
.facts > div { padding: 14px 14px 0 0; }
.facts > div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.facts dt { font-size: var(--step--1); color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 0.98rem; }

.hero__map { margin: 0; background: var(--white); border-radius: 32px; padding: clamp(10px, 1.6vw, 18px); box-shadow: 0 1px 0 var(--line), 0 30px 60px -30px rgba(18, 35, 59, .35); }
.map { display: block; width: 100%; height: auto; }
.map__floor { fill: var(--floor); }
.map__trail { fill: none; stroke: var(--mint); stroke-width: 34; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 1; stroke-dashoffset: 1; opacity: .9; }
.map__walls { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; }
.map__labels text { font: 600 12px var(--f-body); fill: var(--muted); text-anchor: middle; }
.map__dock rect { fill: var(--ink); }
.map__dock path { stroke: var(--signal); stroke-width: 3; stroke-linecap: round; }
.map__body { fill: var(--white); stroke: var(--ink); stroke-width: 3; }
.map__bumper { fill: none; stroke: var(--signal); stroke-width: 4; stroke-linecap: round; }
.map__lidar { fill: var(--ink); }
.map__legend { display: flex; gap: 20px; padding: 10px 8px 2px; font-size: var(--step--1); color: var(--muted); }
.map__legend span { display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.swatch--trail { background: var(--mint); }
.swatch--dock { background: var(--ink); }

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.facts { grid-template-columns: repeat(2, 1fr); }
	.facts > div:nth-child(3) { padding-left: 0; border-left: 0; }
	.facts > div { padding-bottom: 12px; }
}

/* ---------- Gedimų vedlys ---------- */
.diag__grid { display: grid; grid-template-columns: 250px minmax(220px, 0.9fr) 1.15fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.diag__list { display: flex; flex-direction: column; gap: 2px; border-left: 2px solid var(--floor); }
.diag__tab {
	text-align: left; background: none; border: 0; border-left: 3px solid transparent; margin-left: -2px;
	padding: 11px 14px; font-weight: 600; color: var(--muted); cursor: pointer; border-radius: 0 10px 10px 0;
	transition: background-color .15s, color .15s;
}
.diag__tab:hover { color: var(--ink); background: var(--paper); }
.diag__tab[aria-selected="true"] { color: var(--ink); border-left-color: var(--teal); background: var(--paper); }
.diag__robot { position: sticky; top: calc(var(--head-h) + 24px); }
.xray { display: block; width: 100%; max-width: 360px; margin-inline: auto; }
.xray__shell { fill: var(--white); stroke: var(--line); stroke-width: 2; }
.xray__part { fill: var(--floor); stroke: #8C9BAD; stroke-width: 1.5; transition: fill .25s, stroke .25s; }
.xray__part .xray__stroke { fill: none; stroke: #8C9BAD; stroke-width: 7; stroke-linecap: round; }
.xray__part .xray__mark { fill: none; stroke: #8C9BAD; stroke-width: 2; stroke-linecap: round; }
.xray__part .xray__hole { fill: var(--white); }
.xray__part.is-hot { fill: var(--signal); stroke: var(--ink); }
.xray__part.is-hot .xray__stroke { stroke: var(--signal); }
.xray__part.is-hot .xray__mark { stroke: var(--ink); }
.diag__hint { text-align: center; font-size: var(--step--1); color: var(--muted); min-height: 1.6em; margin-top: 12px; }
.diag__panel h3 { font-size: var(--step-2); }
.diag__panel h4 { font-family: var(--f-body); font-size: var(--step--1); font-weight: 700; color: var(--muted); letter-spacing: 0; margin: 1.4em 0 .4em; }
.diag__panel ul, .diag__panel ol { margin: 0; padding-left: 1.25em; }
.diag__panel li { margin-bottom: .35em; }
.diag__price { margin: 1.4em 0 .6em; padding-top: 1em; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.diag__price strong { font-family: var(--f-head); font-size: var(--step-2); }
.diag__more { font-size: 0.97rem; color: var(--muted); margin: 0; }
.js .diag__panel[data-hidden] { display: none; }
.diag__panel + .diag__panel { margin-top: 2.5em; }
.js .diag__panel + .diag__panel { margin-top: 0; }

@media (max-width: 1060px) {
	.diag__grid { grid-template-columns: 1fr 1.2fr; }
	.diag__list { grid-column: 1 / -1; flex-direction: row; overflow-x: auto; border-left: 0; gap: 8px; padding-bottom: 6px; scrollbar-width: thin; }
	.diag__tab { white-space: nowrap; border: 1px solid var(--line); border-radius: 999px; margin: 0; padding: 9px 16px; }
	.diag__tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
	.diag__robot { position: static; }
}
@media (max-width: 680px) {
	.diag__grid { grid-template-columns: 1fr; }
	.xray { max-width: 240px; }
}

/* ---------- Kainos ---------- */
.prices__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 72px); align-items: start; }
.ptable caption { text-align: left; font-family: var(--f-head); font-weight: 700; font-size: var(--step-1); padding-bottom: 10px; caption-side: top; }
.ptable tr { border-top: 1px solid var(--line); }
.ptable tr:last-child { border-bottom: 1px solid var(--line); }
.ptable th, .ptable td { padding: 14px 0; vertical-align: top; text-align: left; font-weight: 400; }
.ptable__name { display: block; font-weight: 650; }
.ptable__note { display: block; font-size: var(--step--1); color: var(--muted); margin-top: 2px; }
.ptable td { text-align: right; white-space: nowrap; padding-left: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.prices__foot { margin-top: 32px; color: var(--muted); max-width: 640px; }
@media (max-width: 820px) { .prices__grid { grid-template-columns: 1fr; } }

/* ---------- Skaičiuoklė ---------- */
.calc__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.calc__box { background: var(--paper); border-radius: 28px; padding: clamp(20px, 3vw, 36px); }
.field { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: baseline; margin-bottom: 22px; }
.field label { font-weight: 650; }
.field output { font-family: var(--f-head); font-weight: 700; color: var(--teal); font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.field input[type="range"], .field select { grid-column: 1 / -1; }
input[type="range"] { width: 100%; accent-color: var(--teal); height: 28px; }
select, input[type="number"] {
	width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white);
}
.calc__result { border-top: 1px solid var(--line); padding-top: 22px; margin-top: 6px; }
.calc__bar { position: relative; height: 14px; border-radius: 7px; background: var(--floor); overflow: visible; }
.calc__bar span { display: block; height: 100%; border-radius: 7px; background: var(--teal); width: 20%; transition: width .35s ease, background-color .35s; }
.calc__bar span.is-mid { background: var(--signal); }
.calc__bar span.is-high { background: var(--fault); }
.calc__half { position: absolute; left: 50%; top: -6px; bottom: -6px; width: 2px; background: var(--ink); }
.calc__half::after { content: "50 %"; white-space: nowrap; position: absolute; top: -22px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); }
.calc__verdict { font-family: var(--f-head); font-weight: 700; font-size: var(--step-2); margin: 18px 0 14px; }
.calc__nums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; }
.calc__nums dt { font-size: var(--step--1); color: var(--muted); }
.calc__nums dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .calc__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .calc__nums { grid-template-columns: 1fr; } }

/* ---------- Klaidų kodai ---------- */
.codes__tool { display: flex; flex-wrap: wrap; align-items: end; gap: 16px 24px; margin-bottom: 28px; }
.codes__brands { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: var(--white); padding: 10px 18px; border-radius: 999px; font-weight: 650; cursor: pointer; }
.chip:hover { border-color: var(--white); }
.chip[aria-pressed="true"] { background: var(--mint); border-color: var(--mint); color: var(--ink); }
.field--inline { display: flex; align-items: center; gap: 12px; margin: 0; }
.field--inline label { font-weight: 600; color: #B9C6D3; }
.codes input[type="number"] { width: 110px; background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .3); color: var(--white); font-weight: 700; font-size: 1.1rem; }
.codes__answer { flex-basis: 100%; margin: 0; font-family: var(--f-head); font-size: var(--step-2); color: var(--mint); min-height: 1.2em; }
.codes__answer:empty { display: none; }
.codes__answer.is-miss { color: var(--signal); font-size: var(--step-1); }
.codes__tables { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.js .codes__tables { display: block; }
.js .ctable[hidden] { display: none; }
.ctable caption { text-align: left; font-family: var(--f-head); font-weight: 700; color: var(--white); padding-bottom: 8px; }
.js .ctable caption, .js .ctable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ctable thead th { text-align: left; font-size: var(--step--1); color: #9FB0C2; font-weight: 600; padding: 0 0 8px; }
.ctable tbody tr { border-top: 1px solid rgba(255, 255, 255, .12); transition: background-color .2s; }
.ctable tbody th { width: 64px; font-family: var(--f-head); font-size: 1.15rem; text-align: left; padding: 12px 0; color: var(--white); }
.ctable td { padding: 12px 0; color: #D5DEE7; }
.ctable tr.is-hit { background: rgba(255, 176, 0, .16); }
@media (min-width: 900px) {
	.js .ctable tbody { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
	.js .ctable tbody tr { display: grid; grid-template-columns: 64px 1fr; }
}
@media (max-width: 820px) { .codes__tables { grid-template-columns: 1fr; } }

/* ---------- Procesas ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 36px); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 64px; }
.steps li::before {
	content: counter(step); position: absolute; top: 0; left: 0;
	width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--ink);
	display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; font-size: 1.15rem;
}
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 23px; left: 58px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.steps p { color: var(--muted); margin: 0; }
.bring { margin-top: clamp(32px, 4vw, 56px); padding: 22px 26px; border-left: 4px solid var(--signal); background: var(--paper); border-radius: 0 16px 16px 0; }
.bring h3 { margin-bottom: 10px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { color: var(--teal); margin-top: 3px; }
@media (max-width: 900px) {
	.steps { grid-template-columns: 1fr 1fr; }
	.steps li::after { display: none; }
}
@media (max-width: 560px) {
	.steps { grid-template-columns: 1fr; }
	.ticks { grid-template-columns: 1fr; }
}

/* ---------- Priežiūra ---------- */
.care__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.mtable { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.mtable th, .mtable td { padding: 13px 16px; text-align: left; font-weight: 400; vertical-align: top; }
.mtable thead th { font-size: var(--step--1); color: var(--muted); font-weight: 650; background: var(--floor); }
.mtable tbody tr + tr { border-top: 1px solid var(--line); }
.mtable tbody th { font-weight: 650; }
.mtable td:last-child { white-space: nowrap; }
.tips { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.tip { border-top: 2px solid var(--ink); padding-top: 14px; }
.tip h3 { margin-bottom: 6px; }
.tip p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.signs { margin-top: clamp(32px, 4vw, 56px); }
.ticks--warn li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px rgba(255, 176, 0, .25); }
@media (max-width: 900px) { .care__grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .tips { grid-template-columns: 1fr; } .mtable th, .mtable td { padding: 11px 10px; font-size: .95rem; } }

/* ---------- Apie ---------- */
.about__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.about__text p { color: var(--muted); font-size: 1.06rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0 0; }
.stats div { display: flex; flex-direction: column-reverse; border-top: 2px solid var(--ink); padding-top: 12px; }
.stats dd { margin: 0; font-family: var(--f-head); font-weight: 700; font-size: var(--step-3); line-height: 1; }
.stats dt { font-size: var(--step--1); color: var(--muted); margin-top: 6px; }
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; background: var(--floor); box-shadow: 0 0 0 10px var(--paper), 0 0 0 11px var(--line); }
.photo figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 18px; }
.photo figcaption a { color: inherit; }
.brands { margin-top: clamp(48px, 6vw, 80px); }
.brands h3 { font-size: var(--step-1); }
.brands__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brands__list li { padding: 7px 14px; border-radius: 999px; background: var(--paper); font-weight: 600; font-size: 0.95rem; }
.quotes { margin-top: clamp(48px, 6vw, 80px); }
.quotes h3 { font-size: var(--step-1); }
.quotes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.quote { margin: 0; padding: 4px 0 0 28px; border-left: 3px solid var(--mint); }
.quote blockquote { margin: 0; }
.quote p { font-size: 1.12rem; line-height: 1.55; margin-bottom: .6em; }
.quote figcaption { color: var(--muted); font-weight: 600; font-size: 0.95rem; }
@media (max-width: 860px) {
	.about__grid { grid-template-columns: 1fr; }
	.photo { max-width: 360px; margin-inline: auto; }
	.quotes__grid { grid-template-columns: 1fr; }
}

/* ---------- DUK ---------- */
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq__grid .section__head { position: sticky; top: calc(var(--head-h) + 24px); }
.qa { border-top: 1px solid var(--line); }
.qa:last-child { border-bottom: 1px solid var(--line); }
.qa summary {
	list-style: none; cursor: pointer; padding: 18px 44px 18px 0; position: relative;
	font-weight: 650; font-size: 1.08rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 22px; height: 22px; margin-top: -11px;
	background:
		linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
		linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
	border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line);
	transition: transform .2s;
}
.qa[open] summary::after { transform: rotate(45deg); }
.qa p { color: var(--muted); padding-right: 44px; margin: 0 0 20px; }
@media (max-width: 860px) {
	.faq__grid { grid-template-columns: 1fr; }
	.faq__grid .section__head { position: static; }
}

/* ---------- Kortelės ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.card { display: flex; flex-direction: column; }
.card__media { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: var(--floor); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.03); }
.card__ph { display: grid; place-items: center; height: 100%; }
.card__ph img { width: 56px; height: 56px; opacity: .5; }
.card__body { padding-top: 14px; }
.card__meta { font-size: var(--step--1); color: var(--muted); margin-bottom: 6px; }
.card__title { font-size: 1.22rem; margin-bottom: 8px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { text-decoration: underline; }
.card__excerpt { color: var(--muted); font-size: 0.98rem; margin: 0; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Kontaktai ---------- */
.contact__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact__title { font-size: var(--step-4); line-height: 1; letter-spacing: -0.03em; margin-bottom: .3em; color: var(--white); }
.contact__lead { color: #B9C6D3; font-size: 1.1rem; max-width: 30em; }
.contact__phone { display: inline-flex; align-items: center; gap: 14px; font-family: var(--f-head); font-weight: 700; font-size: clamp(1.8rem, 1rem + 3.4vw, 3.2rem); color: var(--signal) !important; text-decoration: none; margin: 18px 0 10px; letter-spacing: -0.02em; }
.contact__phone:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.contact__mail { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; font-weight: 600; margin-bottom: 28px; }
.status--big { font-size: 1rem; color: #D5DEE7; }
.contact__info { margin: 0; display: grid; gap: 22px; }
.contact__info dt { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.contact__info dt .ico { color: var(--mint); }
.contact__info dd { margin: 0 0 0 30px; color: #D5DEE7; }
.contact__info .muted { color: #9FB0C2; font-size: 0.95rem; }
.mapbox { margin-top: 28px; border-radius: 22px; overflow: hidden; background: rgba(255, 255, 255, .06); padding: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.mapbox iframe { width: 100%; height: 320px; border: 0; border-radius: 14px; display: block; }
.mapbox.is-loaded { padding: 8px; }
.mapbox.is-loaded .btn { display: none; }
.mapbox__link { font-weight: 600; }
.mapbox.is-loaded .mapbox__link { padding: 6px 10px 8px; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Poraštė ---------- */
.foot { background: var(--ink-deep); color: #B9C6D3; padding-top: clamp(48px, 6vw, 80px); font-size: 0.97rem; }
.foot a { color: #E6EDF3; text-decoration: none; }
.foot a:hover { color: var(--mint); text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.9fr; gap: 36px; }
.foot__brand .logo img { width: 150px; }
.foot__brand p { margin-top: 16px; max-width: 30em; }
.foot__title { font-size: 1rem; color: var(--white); margin-bottom: 14px; letter-spacing: 0; }
.foot__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot__list a, .foot__list span { display: inline-flex; align-items: center; gap: 10px; }
.hours th, .hours td { text-align: left; font-weight: 400; padding: 3px 0; }
.hours td { text-align: right; color: #E6EDF3; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--signal); font-weight: 700; }
.foot__note { font-size: var(--step--1); margin-top: 10px; }
.foot__bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: clamp(36px, 5vw, 64px); padding-block: 22px; font-size: var(--step--1); }
.foot__bottom::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: rgba(255, 255, 255, .1); }
.foot__bottom p { margin: 0; }
@media (max-width: 980px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot__grid { grid-template-columns: 1fr; } }

/* ---------- Mobilių veiksmų juosta ---------- */
.dock { display: none; }
@media (max-width: 760px) {
	.dock {
		display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
		background: rgba(242, 245, 247, .96); border-top: 1px solid var(--line);
		-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	}
	.dock__btn { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 12px; border-radius: 999px; font-weight: 700; text-decoration: none; color: var(--ink); border: 2px solid var(--ink); }
	.dock__btn--call { background: var(--signal); border-color: var(--signal); }
	body { padding-bottom: 72px; }
}

/* ---------- Į viršų ---------- */
.totop {
	position: fixed; right: 18px; bottom: 18px; z-index: 55;
	width: 52px; height: 52px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--ink); color: var(--white);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .25s, transform .25s, visibility .25s;
	box-shadow: 0 10px 24px -8px rgba(18, 35, 59, .5);
}
.totop.is-on { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--teal); }
.totop .ico { position: relative; }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop__ring circle { fill: none; stroke: var(--signal); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
@media (max-width: 760px) { .totop { bottom: calc(80px + env(safe-area-inset-bottom)); right: 12px; width: 46px; height: 46px; } }

/* ---------- Vidiniai puslapiai ---------- */
.page-head { background: var(--paper); padding-block: clamp(28px, 4vw, 56px) clamp(28px, 4vw, 48px); }
.page-head--slim { padding-block: 16px 0; background: var(--ink); }
.page-head--slim .crumbs, .page-head--slim .crumbs a { color: #B9C6D3; }
.page-head__title { font-size: var(--step-4); line-height: 1.04; letter-spacing: -0.03em; margin-bottom: .3em; }
.page-head__lead { color: var(--muted); font-size: 1.12rem; max-width: 40em; margin: 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: var(--step--1); color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--muted); }
.entry__meta { color: var(--muted); font-size: 0.97rem; margin: 0; }
.entry__hero { margin-top: clamp(-8px, -1vw, 0px); }
.entry__hero img { width: 100%; border-radius: 24px; margin-top: 28px; }
.entry__body { padding-block: clamp(32px, 4vw, 56px) var(--space); }
.entry__cats { margin-top: 32px; color: var(--muted); font-size: 0.97rem; }

.toc { border-left: 3px solid var(--mint); padding: 4px 0 4px 20px; margin-bottom: 36px; }
.toc__title { font-weight: 700; margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: 4px 0; }

.prose { max-width: 70ch; font-size: 1.08rem; line-height: 1.7; }
.prose--page { max-width: none; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--step-2); margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose img, .prose .wp-block-image img { border-radius: 16px; }
.prose figure { margin-inline: 0; }
.prose figcaption { font-size: var(--step--1); color: var(--muted); text-align: center; margin-top: 8px; }
.prose blockquote { margin-inline: 0; padding-left: 22px; border-left: 3px solid var(--mint); font-size: 1.12rem; }
.prose table { font-size: 0.97rem; }
.prose table th, .prose table td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.prose .wp-block-gallery { gap: 12px; }
.prose .wp-block-gallery img, .prose .gallery img { border-radius: 14px; }
.prose .wp-block-gallery a, .prose .gallery a { cursor: zoom-in; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.gallery br { display: none; }
.gallery-item { margin: 0; }
.alignwide { max-width: 980px; }
.alignfull { max-width: none; }
.wp-block-button__link { background: var(--signal); color: var(--ink); border-radius: 999px; font-weight: 700; }

.cta-strip {
	display: flex; justify-content: space-between; align-items: center; gap: 20px 32px; flex-wrap: wrap;
	margin-top: clamp(40px, 5vw, 64px); padding: 26px 28px; border-radius: 24px;
	background: var(--ink); color: #D5DEE7;
}
.cta-strip p { margin: 0; }
.cta-strip__title { font-family: var(--f-head); font-weight: 700; font-size: var(--step-2); color: var(--white); margin-bottom: 4px !important; }

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

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

.empty { max-width: 640px; }
.notfound__grid { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.notfound__art { width: 100%; max-width: 260px; animation: lost 6s ease-in-out infinite; }
.notfound__links { list-style: none; padding: 0; margin: 20px 0 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.notfound__links a { display: inline-block; padding: 8px 16px; border-radius: 999px; background: var(--paper); font-weight: 600; text-decoration: none; color: var(--ink); }
@keyframes lost { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@media (max-width: 700px) { .notfound__grid { grid-template-columns: 1fr; } .notfound__art { max-width: 160px; } }

.comments { padding-bottom: var(--space); }
.widgets { padding-bottom: var(--space); }

/* ---------- Nuotraukų peržiūra (galerija) ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; }
.lightbox::backdrop { background: rgba(14, 28, 48, .92); }
.lightbox img { max-width: 94vw; max-height: 86vh; width: auto; height: auto; border-radius: 12px; margin: auto; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; color: #fff; }
.lightbox button { background: rgba(255, 255, 255, .12); border: 0; color: #fff; border-radius: 999px; padding: 10px 16px; font-weight: 700; cursor: pointer; }
.lightbox button:hover { background: rgba(255, 255, 255, .22); }

/* ---------- Judesio mažinimas ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Spausdinimas ---------- */
@media print {
	.head, .dock, .totop, .foot, .hero__map, .diag__list, .diag__robot, .calc, .progress { display: none !important; }
	.js .diag__panel[data-hidden], .js .ctable[hidden] { display: block !important; }
	body { color: #000; }
}

.calc__how { margin-top: 24px; font-size: 0.97rem; color: var(--muted); }
.calc__how li { margin-bottom: 6px; }
