/* ==========================================================================
   Kavos Dienos – pagrindiniai stiliai
   Spalvos: Garai (fonas), Ristretto (tekstas), Crema (akcentas), Chromas (linijos),
   Kraftas (remonto etiketė), Žalia zona (dirbame).
   ========================================================================== */

:root {
	--steam: #eef1ef;
	--paper: #ffffff;
	--ink: #2a1a14;
	--ink-2: #5d4b43;
	--line: #cfd6d5;
	--chrome: #9aa5a8;
	--crema: #c8833a;
	--crema-ink: #8a4b14;
	--kraft: #e4cfa3;
	--kraft-ink: #3b2a1a;
	--ok: #2f6b4b;
	--stop: #a33a2a;
	--on-ink: #f6e7d3;
	--gauge-face-1: #fdfdfb;
	--gauge-face-2: #e4e8e6;

	--display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--text: "Literata", Georgia, Cambria, "Times New Roman", serif;

	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 14px;
	--header-h: 76px;

	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--steam: #17110e;
		--paper: #211814;
		--ink: #f1e8e1;
		--ink-2: #c3b2a8;
		--line: #3d302a;
		--chrome: #6b7578;
		--crema-ink: #e7a463;
		--ok: #5fb487;
		--stop: #e07a68;
		--gauge-face-1: #2c211c;
		--gauge-face-2: #17110e;
	}
}

/* --------------------------------------------------------------------------
   Pagrindas
   ----------------------------------------------------------------------- */

*,
*::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(--steam);
	color: var(--ink);
	font-family: var(--text);
	font-size: 1.0625rem;
	line-height: 1.7;
	font-optical-sizing: auto;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4, .h3 {
	font-family: var(--display);
	color: var(--ink);
	line-height: 1.12;
	letter-spacing: -0.015em;
	margin: 0 0 .5em;
	text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.6vw, 4.5rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.75rem); font-weight: 750; }
h3, .h3 { font-size: clamp(1.2rem, 1.6vw, 1.4rem); font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }

p { margin: 0 0 1em; text-wrap: pretty; }

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

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

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

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--ink); color: var(--steam);
	padding: .6em 1em; border-radius: 8px;
	font-family: var(--display); font-weight: 600;
}
.skip-link:focus { top: 12px; }

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

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

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 48px;
	padding: .7em 1.35em;
	border-radius: 999px;
	border: 2px solid transparent;
	font-family: var(--display); font-weight: 650; font-size: 1rem; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg { flex: none; }
.btn--call { background: var(--ink); color: var(--on-ink); }
.btn--call:hover { background: var(--crema-ink); color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--steam); border-color: var(--ink); }
.btn--large { min-height: 56px; font-size: 1.08rem; padding-inline: 1.6em; }
.btn--small { min-height: 42px; padding: .5em 1.05em; font-size: .95rem; }
.btn--light { background: var(--crema); color: #1c120d; }
.btn--light:hover { background: var(--on-ink); color: #1c120d; }

@media (prefers-color-scheme: dark) {
	.btn--call { background: var(--crema); color: #1c120d; }
	.btn--call:hover { background: var(--on-ink); color: #1c120d; }
}

/* --------------------------------------------------------------------------
   Būsena (dirbame / nedirbame)
   ----------------------------------------------------------------------- */

.status {
	display: inline-flex; align-items: center; gap: .5em;
	margin: 0;
	font-family: var(--display); font-size: .92rem; font-weight: 550;
	color: var(--ink-2);
}
.status__dot {
	width: .62em; height: .62em; border-radius: 50%;
	background: var(--chrome);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--chrome) 25%, transparent);
}
.status.is-open .status__dot { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }
.status.is-closed .status__dot { background: var(--stop); box-shadow: 0 0 0 3px color-mix(in srgb, var(--stop) 22%, transparent); }
.status--large { font-size: 1.05rem; }

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

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--steam) 88%, 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); }

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

.logo {
	display: inline-flex; align-items: center; gap: 12px;
	color: var(--ink); text-decoration: none; flex: none;
}
.logo .mark { flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: var(--display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; }
.logo__tag { font-family: var(--display); font-size: .8rem; color: var(--ink-2); font-weight: 500; }
.custom-logo-link img { max-height: 56px; width: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav__list a {
	display: block; padding: .5em .8em; border-radius: 8px;
	font-family: var(--display); font-weight: 600; font-size: .98rem;
	color: var(--ink); text-decoration: none;
}
.nav__list a:hover,
.nav__list .current-menu-item > a { background: color-mix(in srgb, var(--ink) 7%, transparent); }
.nav__list .sub-menu { display: none; }
.nav__cta { display: flex; align-items: center; gap: 16px; }

.nav-toggle {
	display: none;
	margin-left: auto;
	width: 48px; height: 48px;
	border: 0; border-radius: 12px;
	background: transparent; color: var(--ink); cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
	display: block; width: 22px; height: 2px; margin: auto;
	background: currentColor; border-radius: 2px;
	transition: transform .25s, opacity .2s;
	position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1080px) {
	.nav__cta .status { display: none; }
}

@media (max-width: 920px) {
	.nav-toggle { display: block; }
	.nav {
		position: absolute; left: 0; right: 0; top: 100%;
		display: none; flex-direction: column; align-items: stretch; gap: 16px;
		padding: 16px var(--gutter) 24px;
		background: var(--steam);
		border-bottom: 1px solid var(--line);
		max-height: calc(100vh - var(--header-h));
		overflow-y: auto;
	}
	.nav.is-open { display: flex; }
	.nav__list { flex-direction: column; }
	.nav__list a { padding: .8em .4em; font-size: 1.1rem; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav__list .sub-menu { display: block; list-style: none; padding-left: 1em; }
	.nav__cta { flex-direction: column; align-items: flex-start; }
	.nav__cta .status { display: inline-flex; }
	.no-js .nav { position: static; display: flex; }
}

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

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(32px, 5vw, 64px); }

.section__head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p { font-size: 1.1rem; color: var(--ink-2); margin: 0; }
.section__head h2 { margin-bottom: .35em; }

/* --------------------------------------------------------------------------
   Hero su manometru
   ----------------------------------------------------------------------- */

.hero { padding-block: clamp(28px, 6vw, 72px) clamp(48px, 7vw, 88px); overflow: hidden; }
.hero__grid {
	display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
	gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero__title { max-width: 11ch; margin-bottom: .32em; }
.hero__lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); max-width: 36rem; color: var(--ink-2); margin-bottom: 1.6em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.2em; }

.facts {
	display: flex; flex-wrap: wrap; gap: 0;
	margin: 0; padding-top: 1.2em;
	border-top: 1px solid var(--line);
}
.facts > div { padding: 0 1.4em 0 0; margin: 0 1.4em .6em 0; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: 0; }
.facts dt { font-family: var(--display); font-size: .85rem; color: var(--ink-2); }
.facts dd { margin: 0; font-family: var(--display); font-size: 1.55rem; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.hero__gauge { justify-self: center; width: 100%; max-width: 460px; text-align: center; }
.hero__gauge-note { margin: 1em 0 0; font-family: var(--display); font-size: .95rem; color: var(--ink-2); }

.gauge { width: 100%; filter: drop-shadow(0 24px 40px color-mix(in srgb, var(--ink) 18%, transparent)); }
.g-ring { fill: none; stroke: #2a1a14; stroke-width: 6; }
.g-tick { stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; }
.g-tick--major { stroke: var(--ink); stroke-width: 4; }
.g-num { font-family: var(--display); font-size: 22px; font-weight: 700; fill: var(--ink); text-anchor: middle; font-variant-numeric: tabular-nums; }
.g-zone { fill: none; stroke: var(--ok); stroke-width: 14; }
.g-unit { font-family: var(--display); font-size: 20px; font-weight: 600; fill: var(--ink-2); text-anchor: middle; }
.g-status { font-family: var(--display); font-size: 27px; font-weight: 800; fill: var(--ink); text-anchor: middle; letter-spacing: -0.02em; }
.g-sub { font-family: var(--display); font-size: 17px; fill: var(--ink-2); text-anchor: middle; }
.g-needle {
	transform-box: view-box;
	transform-origin: 200px 200px;
	transform: rotate(var(--needle, -135deg));
	transition: transform 1.8s cubic-bezier(.22, 1.45, .45, 1);
}
.g-needle-body { fill: var(--crema); stroke: #6b3a10; stroke-width: 1; }
.g-needle-tail { stroke: #2a1a14; stroke-width: 7; stroke-linecap: round; }
.g-hub { fill: #2a1a14; }
.g-hub-dot { fill: var(--crema); }

@media (max-width: 860px) {
	.hero__grid { grid-template-columns: 1fr; }
	.facts > div:nth-child(2n) { border-right: 0; }
	.hero__gauge { max-width: 300px; }
	.hero__title { max-width: none; }
}

/* --------------------------------------------------------------------------
   Savidiagnostika
   ----------------------------------------------------------------------- */

.section--diag { background: var(--paper); border-block: 1px solid var(--line); }

.diag {
	display: grid;
	grid-template-columns: minmax(220px, 280px) minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(20px, 3vw, 40px);
	align-items: start;
}
.diag__choices { display: flex; flex-direction: column; gap: 8px; }

.chip {
	text-align: left;
	padding: .7em 1em;
	min-height: 44px;
	border: 1.5px solid var(--line); border-radius: 10px;
	background: transparent; color: var(--ink);
	font-family: var(--display); font-size: .98rem; font-weight: 600; line-height: 1.3;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}
.chip:hover { border-color: var(--ink-2); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--steam); }

.machine { width: 100%; max-width: 420px; margin-inline: auto; }
.m-body { fill: var(--steam); stroke: var(--chrome); stroke-width: 2; }
.m-pipe { fill: none; stroke: var(--chrome); stroke-width: 3; stroke-dasharray: 2 6; stroke-linecap: round; }
.m-part rect { fill: var(--paper); stroke: var(--chrome); stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.m-part text { font-family: var(--display); font-size: 11.5px; font-weight: 600; fill: var(--ink-2); text-anchor: middle; transition: fill .3s; }
.m-part.is-hot rect { fill: var(--crema); stroke: var(--crema-ink); stroke-width: 2.5; }
.m-part.is-hot text { fill: #1c120d; font-weight: 800; }

.diag__panel h3 { margin-bottom: .7em; }
.diag__panel h4 { margin: 1.1em 0 .35em; font-size: .95rem; color: var(--ink-2); }
.diag__panel ul { margin: 0; padding-left: 1.2em; }
.diag__panel li { margin-bottom: .25em; }
.js .diag__panel:not(.is-active) { display: none; }
.no-js .diag__panel { padding-bottom: 1.5em; margin-bottom: 1.5em; border-bottom: 1px solid var(--line); }

.diag__price {
	display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px;
	margin: 1.4em 0 0; padding: .9em 1.1em;
	background: var(--steam); border-radius: 10px;
	font-family: var(--display);
}
.diag__price span { color: var(--ink-2); font-size: .95rem; }
.diag__price strong { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.diag__note { margin: 1.1em 0 0; font-size: .95rem; color: var(--ink-2); }

.list-check { list-style: none; padding-left: 0 !important; }
.list-check li { position: relative; padding-left: 1.7em; margin-bottom: .4em; }
.list-check li::before {
	content: ""; position: absolute; left: 0; top: .42em;
	width: 1.05em; height: 1.05em; border-radius: 50%;
	background: color-mix(in srgb, var(--ok) 16%, transparent)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.4l2.6 2.6L12 5.6' fill='none' stroke='%232f6b4b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

@media (max-width: 1100px) {
	.diag { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	.diag__choices { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
	.chip { border-radius: 999px; }
}
@media (max-width: 700px) {
	.diag { grid-template-columns: 1fr; }
	.diag__choices { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: 2px var(--gutter) 8px; scrollbar-width: thin; }
	.chip { flex: none; }
	.machine { max-width: 340px; }
}

/* --------------------------------------------------------------------------
   Kainoraštis: meniu lenta + remonto etiketė
   ----------------------------------------------------------------------- */

.section__head--tag { display: flex; gap: 32px; align-items: flex-start; justify-content: space-between; max-width: none; }
.section__head--tag > div:first-child { max-width: 46rem; }

.tag {
	position: relative; flex: none;
	width: 190px; padding: 34px 20px 18px;
	background: var(--kraft); color: var(--kraft-ink);
	font-family: var(--display); text-align: center;
	clip-path: polygon(22% 0, 78% 0, 100% 16%, 100% 100%, 0 100%, 0 16%);
	transform: rotate(4deg);
	box-shadow: inset 0 0 0 1px rgba(59, 42, 26, .15);
}
.tag__hole {
	position: absolute; top: 12px; left: 50%; width: 14px; height: 14px; margin-left: -7px;
	border-radius: 50%; background: var(--steam); box-shadow: inset 0 0 0 2px rgba(59, 42, 26, .35);
}
.tag__label { display: block; font-size: .95rem; font-weight: 600; }
.tag__price { display: block; font-size: 2.6rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.tag__foot { display: block; margin-top: 8px; padding-top: 8px; border-top: 1.5px dashed rgba(59, 42, 26, .4); font-size: .85rem; font-weight: 600; }

.menu-board { columns: 2 440px; column-gap: clamp(32px, 5vw, 72px); }
.menu-board__group { break-inside: avoid; margin-bottom: 40px; }
.menu-board__group h3 { padding-bottom: .5em; border-bottom: 2px solid var(--ink); margin-bottom: .4em; }

.price-list { list-style: none; margin: 0; padding: 0; }
.price-list li {
	display: flex; align-items: baseline; gap: 10px;
	padding: .55em 0;
	border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent);
}
.price-list__name { flex: 0 1 auto; }
.price-list__name small { display: block; font-family: var(--display); font-size: .82rem; color: var(--ink-2); line-height: 1.35; }
.price-list__dots { flex: 1 1 24px; min-width: 24px; border-bottom: 2px dotted var(--chrome); transform: translateY(-.3em); }
.price-list__price { flex: none; font-family: var(--display); font-weight: 750; font-size: 1.08rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prices__foot { max-width: 46rem; color: var(--ink-2); margin: 0; }

@media (max-width: 640px) {
	.section__head--tag { flex-direction: column; }
	.tag { align-self: flex-end; margin-top: -8px; width: 170px; }
}

/* --------------------------------------------------------------------------
   Remonto eiga
   ----------------------------------------------------------------------- */

.section--steps { background: var(--paper); border-block: 1px solid var(--line); }
.steps {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px;
	counter-reset: step;
}
.steps li { counter-increment: step; position: relative; padding-top: 72px; }
.steps li::before {
	content: counter(step);
	position: absolute; top: 0; left: 0;
	width: 52px; height: 52px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--steam); border: 2px solid var(--ink);
	font-family: var(--display); font-weight: 800; font-size: 1.35rem; color: var(--ink);
}
.steps li:not(:last-child)::after {
	content: ""; position: absolute; top: 26px; left: 64px; right: -16px;
	border-top: 2px dashed var(--chrome);
}
.steps p { color: var(--ink-2); font-size: 1rem; margin: 0; }

@media (max-width: 960px) {
	.steps { grid-template-columns: 1fr; gap: 0; }
	.steps li { padding: 0 0 28px 76px; min-height: 80px; }
	.steps li:not(:last-child)::after { top: 60px; left: 25px; right: auto; bottom: 6px; border-top: 0; border-left: 2px dashed var(--chrome); }
}

/* --------------------------------------------------------------------------
   Skaičiuoklės
   ----------------------------------------------------------------------- */

.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); }
.tool {
	padding: clamp(22px, 3vw, 36px);
	background: var(--paper);
	border: 1px solid var(--line); border-radius: var(--radius);
}
.field { margin-bottom: 1.15em; }
.field label { display: flex; justify-content: space-between; gap: 12px; margin-bottom: .4em; font-family: var(--display); font-weight: 600; font-size: .98rem; }
.field output { font-variant-numeric: tabular-nums; font-weight: 800; }
.field input[type="number"],
.field select,
.search__input {
	width: 100%; min-height: 48px; padding: .55em .8em;
	border: 1.5px solid var(--line); border-radius: 10px;
	background: var(--steam); color: var(--ink);
	font: 600 1rem var(--display);
}
.field input[type="range"] { width: 100%; accent-color: var(--crema-ink); height: 28px; }
.field--check { display: flex; align-items: center; gap: .6em; }
.field--check label { margin: 0; font-weight: 500; }
.field--check input { width: 20px; height: 20px; accent-color: var(--crema-ink); }

.tool__result {
	margin: 1.2em 0 .6em; padding: .9em 1.1em;
	border-left: 4px solid var(--crema); background: var(--steam); border-radius: 0 10px 10px 0;
	font-family: var(--display); font-size: 1.05rem;
}
.tool__result strong { font-size: 1.25rem; }
.tool__note { font-size: .92rem; color: var(--ink-2); margin: 0; }

.meter { position: relative; height: 10px; margin: 1.4em 0 .4em; border-radius: 99px; background: var(--steam); border: 1px solid var(--line); overflow: hidden; }
.meter__fill { position: absolute; inset: 0 auto 0 0; width: 15%; background: var(--ok); border-radius: inherit; transition: width .4s, background-color .4s; }
.meter__mark { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: var(--ink); opacity: .45; }

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

/* --------------------------------------------------------------------------
   Aparatų tipai ir gamintojai
   ----------------------------------------------------------------------- */

.types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.types > div { padding: 0 clamp(16px, 3vw, 36px); border-left: 1px solid var(--line); }
.types > div:first-child { padding-left: 0; border-left: 0; }
.types p { color: var(--ink-2); margin: 0; }
.brands { margin: clamp(28px, 4vw, 48px) 0 0; padding-top: 1.4em; border-top: 1px solid var(--line); font-family: var(--display); font-size: 1.15rem; font-weight: 600; line-height: 1.6; }
.brands span { color: var(--ink-2); font-weight: 500; }

@media (max-width: 820px) {
	.types { grid-template-columns: 1fr; gap: 24px; }
	.types > div { padding: 0; border: 0; }
}

/* --------------------------------------------------------------------------
   Patarimai (tamsi sekcija)
   ----------------------------------------------------------------------- */

.section--tips { background: #2a1a14; color: #e9ddd4; }
.section--tips h2,
.section--tips h3 { color: #fbf3ea; }
.section--tips a { color: #f0b675; }
.tips { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); }
.tips__intro p { color: #cdbdb2; font-size: 1.1rem; }
.tips__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 36px; }
.tips__list li { padding-top: 14px; border-top: 2px solid #c8833a; color: #cdbdb2; font-size: 1rem; }
.tips__list strong { display: block; margin-bottom: .2em; font-family: var(--display); font-size: 1.12rem; color: #fbf3ea; }

.posts-teaser { margin-top: clamp(48px, 7vw, 88px); }
.posts-teaser__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.section--tips .post-card { background: #352520; border-color: #4a3830; }
.section--tips .post-card__title a { color: #fbf3ea; }
.section--tips .post-card__meta,
.section--tips .post-card__excerpt { color: #cdbdb2; }

@media (max-width: 900px) {
	.tips { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.tips__list { grid-template-columns: 1fr; }
}

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

.faq { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq h2 { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
	position: relative; list-style: none; cursor: pointer;
	padding: 1.05em 2.4em 1.05em 0;
	font-family: var(--display); font-weight: 650; font-size: 1.12rem; line-height: 1.35;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
	content: ""; position: absolute; right: 4px; top: 50%;
	width: 14px; height: 14px; margin-top: -7px;
	background:
		linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
		linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
	transition: transform .25s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list p { margin: 0 0 1.2em; color: var(--ink-2); max-width: 62ch; }

@media (max-width: 820px) {
	.faq { grid-template-columns: 1fr; }
	.faq h2 { position: static; }
}

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

.section--contact { background: var(--paper); border-top: 1px solid var(--line); }
.contact { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); }
.contact__phone { margin: .2em 0 .4em; font-family: var(--display); font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.contact__phone a { color: var(--ink); text-decoration: none; }
.contact__phone a:hover { color: var(--crema-ink); }
.contact__address { display: flex; flex-direction: column; gap: .2em; margin: 1.2em 0 1.6em; font-style: normal; font-family: var(--display); font-size: 1.15rem; font-weight: 600; }
.contact__side h3 { margin-top: 0; }
.contact__side h3 + * { margin-bottom: 2em; }

.hours { width: 100%; border-collapse: collapse; font-family: var(--display); }
.hours th,
.hours td { padding: .55em 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; font-weight: 650; }
.hours .is-closed td { color: var(--ink-2); font-weight: 500; }
.hours .is-today th,
.hours .is-today td { font-weight: 800; color: var(--ink); }
.hours .is-today th::after { content: " (šiandien)"; font-weight: 500; color: var(--ink-2); }
.hours__note { margin: .6em 0 0; font-size: .9rem; color: var(--ink-2); }

.map {
	position: relative;
	display: grid; place-items: center; align-content: center; gap: 10px;
	aspect-ratio: 16 / 9;
	padding: 20px; text-align: center;
	border: 2px dashed var(--line); border-radius: var(--radius);
	background:
		linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 32px 32px,
		linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 32px 32px,
		var(--steam);
}
.map__load {
	min-height: 48px; padding: .7em 1.35em; border: 0; border-radius: 999px; cursor: pointer;
	background: var(--ink); color: var(--steam); font: 650 1rem var(--display);
}
.map__hint { margin: 0; font-size: .88rem; color: var(--ink-2); max-width: 34ch; background: var(--steam); }
.map__directions { font-family: var(--display); font-weight: 600; background: var(--steam); }
.map.is-loaded { padding: 0; border-style: solid; background: var(--steam); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: calc(var(--radius) - 2px); }

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

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

.page-head { padding-block: clamp(28px, 5vw, 56px) clamp(20px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.page-head__title { font-size: clamp(2rem, 4.6vw, 3.4rem); max-width: 24ch; }
.page-head__intro { max-width: 44rem; font-size: 1.12rem; color: var(--ink-2); margin: 0; }

.crumbs ol { list-style: none; margin: 0 0 1.2em; padding: 0; display: flex; flex-wrap: wrap; gap: .3em; font-family: var(--display); font-size: .9rem; color: var(--ink-2); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .4em; color: var(--chrome); }
.crumbs a { color: var(--ink-2); }

.article__meta { display: flex; flex-wrap: wrap; gap: .4em 1.2em; margin: 0; font-family: var(--display); font-size: .95rem; color: var(--ink-2); }

.article__layout { padding-block: clamp(28px, 5vw, 56px); }
.article__layout.has-toc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 24px); font-family: var(--display); font-size: .95rem; }
.toc__title { font-weight: 750; margin-bottom: .6em; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: .3em 0 .3em 1em; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; line-height: 1.35; }
.toc li a:hover,
.toc li a.is-active { color: var(--ink); border-left-color: var(--crema); }
.toc .toc__l3 a { padding-left: 2em; font-size: .9rem; }
@media (max-width: 1000px) {
	.article__layout.has-toc { grid-template-columns: 1fr; }
	.toc { position: static; padding: 1em 1.2em; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
}

.article__cta {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
	margin: 2.4em 0; padding: 1.3em 1.5em;
	background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--crema); border-radius: 0 var(--radius) var(--radius) 0;
}
.article__cta p { margin: 0; max-width: 40ch; }

.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-family: var(--display); font-weight: 650; }
.post-navigation a { display: block; padding: 1em 0; color: var(--ink); text-decoration: none; border-top: 1px solid var(--line); }
.post-navigation .nav-next { text-align: right; }
.nav-label { display: block; font-weight: 500; font-size: .85rem; color: var(--ink-2); }

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

.entry-hero { margin: 0 0 2em; }
.entry-hero img { width: 100%; border-radius: var(--radius); }

/* Turinio tipografija */
.entry-content { max-width: 70ch; }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content > :first-child { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-top: 1.8em; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content ul,
.entry-content ol { padding-left: 1.3em; }
.entry-content li + li { margin-top: .35em; }
.entry-content img { border-radius: 10px; }
.entry-content figure { margin-inline: 0; }
.entry-content figcaption,
.wp-element-caption { font-family: var(--display); font-size: .88rem; color: var(--ink-2); margin-top: .5em; }
.entry-content blockquote { margin-inline: 0; padding: .2em 0 .2em 1.3em; border-left: 4px solid var(--crema); font-style: italic; font-size: 1.12rem; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.entry-content th,
.entry-content td { padding: .6em .7em; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { font-family: var(--display); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin-block: 2em; }
.entry-content .alignwide { max-width: min(100vw - 2 * var(--gutter), var(--wrap)); }
.entry-content .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.entry-content .aligncenter { margin-inline: auto; }
.entry-content .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.4em; }
.entry-content .wp-block-gallery { max-width: none; gap: 12px; }
.entry-content .wp-block-gallery img { border-radius: 10px; }
.entry-content .wp-block-button__link { background: var(--ink); color: var(--steam); border-radius: 999px; font-family: var(--display); font-weight: 650; padding: .75em 1.4em; text-decoration: none; }
.entry-content .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border: 2px solid currentColor; }
.page .entry-content { max-width: none; }
.page .entry-content > :not(.alignwide):not(.alignfull):not(.wp-block-gallery):not(.wp-block-columns):not(.wp-block-group) { max-width: 70ch; }

/* Įrašų kortelės */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post-card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-card__body { padding: 20px 22px 24px; }
.post-card__title { font-size: 1.2rem; margin-bottom: .3em; }
.post-card__title a { color: var(--ink); text-decoration: none; }
.post-card__title a:hover { text-decoration: underline; }
.post-card__meta { margin-bottom: .6em; font-family: var(--display); font-size: .85rem; color: var(--ink-2); }
.post-card__excerpt { margin: 0; font-size: .98rem; color: var(--ink-2); }

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

.empty { max-width: 40rem; }
.search { display: flex; gap: 10px; max-width: 32rem; margin-block: 1.4em; }
.link-list { font-family: var(--display); font-size: 1.15rem; font-weight: 650; padding-left: 1.2em; }
.link-list li { margin-bottom: .5em; }

/* Kvietimo juosta */
.cta-band { background: #2a1a14; color: #e9ddd4; }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: clamp(32px, 5vw, 56px); }
.cta-band__inner p { margin: 0; }
.cta-band__title { font-family: var(--display); font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; color: #fbf3ea; margin-bottom: .2em !important; }

/* Komentarai */
.comment-list { padding-left: 1.2em; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea { width: 100%; padding: .6em .8em; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font: inherit; }
.comment-form .submit { min-height: 48px; padding: .6em 1.4em; border: 0; border-radius: 999px; background: var(--ink); color: var(--steam); font: 650 1rem var(--display); cursor: pointer; }

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

.site-footer { background: #1d120e; color: #cdbdb2; font-size: .98rem; }
.site-footer a { color: #f3e3cc; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px; padding-block: clamp(48px, 6vw, 72px); }
.site-footer__brand p { margin-top: 1.1em; max-width: 34ch; }
.logo--footer { color: #fbf3ea; }
.logo--footer .logo__tag { color: #b8a69a; }
.site-footer__title { font-size: 1.05rem; color: #fbf3ea; margin-bottom: .8em; }
.site-footer__list { list-style: none; margin: 0; padding: 0; }
.site-footer__list li { margin-bottom: .45em; }
.site-footer__brands { margin: 0; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 28px; border-top: 1px solid #3d2c24; font-family: var(--display); font-size: .88rem; color: #a7958a; }
.site-footer__bottom p { margin: 0; }
.site-footer__social { display: flex; gap: 18px; }

@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Mobili skambinimo juosta ir mygtukas „į viršų“
   ----------------------------------------------------------------------- */

.callbar { display: none; }

@media (max-width: 760px) {
	body { padding-bottom: 76px; }
	.callbar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
		display: flex; gap: 10px;
		padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
		background: color-mix(in srgb, var(--steam) 92%, transparent);
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		border-top: 1px solid var(--line);
	}
	.callbar__btn { flex: 1; }
	.callbar__link {
		display: grid; place-items: center; padding: 0 1.3em; min-height: 48px;
		border: 2px solid var(--ink); border-radius: 999px;
		color: var(--ink); font-family: var(--display); font-weight: 650; text-decoration: none;
	}
}

.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 45;
	width: 52px; height: 52px; padding: 0;
	border: 0; border-radius: 50%;
	background: var(--paper); color: var(--ink);
	box-shadow: 0 6px 20px color-mix(in srgb, var(--ink) 22%, transparent);
	cursor: pointer;
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .25s, transform .25s, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 100%; height: 100%; }
.to-top__track { fill: none; stroke: var(--line); stroke-width: 3; }
.to-top__progress { fill: none; stroke: var(--crema); stroke-width: 3; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 24px 24px; stroke-dasharray: 131.95; stroke-dashoffset: 131.95; }
.to-top__arrow { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover { background: var(--ink); color: var(--steam); }

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

/* --------------------------------------------------------------------------
   Judesio mažinimas ir spausdinimas
   ----------------------------------------------------------------------- */

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

@media print {
	.site-header, .callbar, .to-top, .cta-band, .map, .diag__choices, .diag__machine, .tools, .read-progress { display: none !important; }
	body { background: #fff; color: #000; }
	.js .diag__panel:not(.is-active) { display: block; }
}
