/*
Theme Name: CreativeKlaipeda
Theme URI: https://www.creativeklaipeda.lt/
Author: CreativeKlaipeda
Description: Greita, SEO optimizuota tema elektrinių paspirtukų remonto dirbtuvėms Klaipėdoje. Interaktyvi paspirtuko schema, gedimų vedlys, kainoraštis, klaidų kodai, DUK su Schema.org žymėjimu, gyva darbo laiko būsena, mygtukas į viršų. Veikia be papildomų įskiepių, be formų.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: creativeklaipeda
Tags: one-column, custom-menu, featured-images, accessibility-ready, translation-ready
*/

/* ==========================================================================
   Žymės (tokens)
   ========================================================================== */
:root {
	--ink: #13242C;
	--ink-2: #1D3540;
	--paper: #EDF0EB;
	--tint: #E1E7E2;
	--white: #FAFBF8;
	--signal: #FFC20E;
	--signal-deep: #E5A900;
	--sea: #1F6670;
	--brake: #B8402C;
	--go: #2B8A57;
	--rule: #C3CDC7;
	--muted: #4C5E66;

	--display: "CK Display", "Arial Narrow", "Roboto Condensed", "Helvetica Neue", sans-serif;
	--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: 1.5625rem;
	--step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.5rem);
	--step-4: clamp(2.9rem, 1.8rem + 4.4vw, 5.25rem);

	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 14px;
	--radius-s: 8px;
	--header-h: 72px;
}

/* ==========================================================================
   Pagrindas
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 var(--step-0)/1.6 var(--body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--sea); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.005em; margin: 0 0 0.5em; color: inherit; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); border-radius: 4px; }
::selection { background: var(--signal); color: var(--ink); }

.sr-only, .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: 1000; background: var(--signal); color: var(--ink); padding: 10px 16px; border-radius: var(--radius-s); font-weight: 700; }
.skip-link:focus { top: 12px; }
.site-main:focus { outline: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 820px; }

/* ==========================================================================
   Mygtukai, žymos, lustai
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 46px; padding: 10px 20px; border-radius: 10px; border: 2px solid transparent;
	font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s;
}
.btn--lg { min-height: 54px; padding: 12px 24px; font-size: 1.0625rem; }
.btn--signal { background: var(--signal); color: var(--ink); }
.btn--signal:hover { background: var(--signal-deep); color: var(--ink); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--ink-2); color: var(--white); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--call { background: var(--ink); color: var(--white); min-height: 42px; padding: 8px 16px; white-space: nowrap; }
.btn--call:hover { background: var(--sea); color: var(--white); }

/* Remonto žyma – su įpjautais kampais ir skylute virvelei */
.tag {
	--tag-bg: var(--signal);
	display: inline-flex; align-items: baseline; gap: 8px;
	margin: 0; padding: 6px 14px 6px 28px;
	background: var(--tag-bg); color: var(--ink);
	font-family: var(--display); font-weight: 700; font-size: 1.0625rem; line-height: 1.2;
	clip-path: polygon(11px 0, 100% 0, 100% 100%, 11px 100%, 0 calc(100% - 11px), 0 11px);
	-webkit-mask: radial-gradient(circle 4px at 14px 50%, transparent 97%, #000 100%);
	mask: radial-gradient(circle 4px at 14px 50%, transparent 97%, #000 100%);
}
.tag--big { flex-direction: column; gap: 0; padding: 10px 16px 10px 32px; }
.tag--big strong { font-size: 1.9rem; line-height: 1; }
.tag--big span { font-family: var(--body); font-weight: 600; font-size: .875rem; }
.tag--big { -webkit-mask: radial-gradient(circle 5px at 17px 50%, transparent 97%, #000 100%); mask: radial-gradient(circle 5px at 17px 50%, transparent 97%, #000 100%); }

.chip {
	display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px;
	border: 1.5px solid var(--ink); border-radius: 999px; background: transparent;
	font-weight: 600; font-size: .9375rem; cursor: pointer; transition: background-color .15s, color .15s;
}
.chip:hover { background: rgba(19, 36, 44, .08); }
.chip.is-active, .chip[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.chip--lg { min-height: 46px; padding: 8px 18px; font-size: 1rem; }

/* ==========================================================================
   Antraštė
   ========================================================================== */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(237, 240, 235, .94);
	-webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--rule);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.brand:hover { color: var(--ink); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--display); font-size: 1.5rem; letter-spacing: -0.01em; }
.brand__tag { font-size: .78rem; color: var(--muted); margin-top: 4px; font-weight: 500; }
.brand--light, .brand--light:hover { color: var(--white); }
.brand--light .brand__tag { color: #A9B8B5; }
.ck-mark { flex-shrink: 0; display: block; }

.site-nav { margin-left: auto; }
.site-nav .menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.site-nav .menu li { position: relative; }
.site-nav a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .96875rem; border-radius: 8px; }
.site-nav a:hover, .site-nav .current-menu-item > a { background: rgba(19, 36, 44, .07); }
.site-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; list-style: none; margin: 0; padding: 6px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius-s); }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: block; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; font-weight: 600; white-space: nowrap; }
.status[hidden] { display: none; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brake); box-shadow: 0 0 0 3px rgba(184, 64, 44, .18); }
.is-open .status__dot { background: var(--go); box-shadow: 0 0 0 3px rgba(43, 138, 87, .2); }

@media (max-width: 1100px) {
	.site-header .status { display: none; }
}
@media (max-width: 960px) {
	.nav-toggle {
		display: inline-flex; align-items: center; gap: 10px; margin-left: auto;
		min-height: 44px; padding: 8px 12px; background: transparent; border: 1.5px solid var(--ink); border-radius: 10px; font-weight: 700; cursor: pointer;
	}
	.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s; }
	.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.nav-toggle__bars::before { top: -6px; }
	.nav-toggle__bars::after { top: 6px; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

	.site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; background: var(--paper); border-bottom: 1px solid var(--rule); padding: 8px var(--gutter) 20px; }
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; }
	.site-nav a { padding: 14px 8px; font-size: 1.0625rem; border-bottom: 1px solid var(--rule); border-radius: 0; }
	.site-nav .sub-menu { display: block; position: static; border: 0; background: transparent; padding: 0 0 0 16px; }
	.site-header__actions { margin-left: 0; }
}
@media (max-width: 640px) {
	.site-header__actions { display: none; }
	.brand__name { font-size: 1.3rem; }
	.brand__tag { font-size: .72rem; }
}

/* ==========================================================================
   Pirmasis ekranas ir schema
   ========================================================================== */
.hero { padding: clamp(32px, 5vw, 72px) 0 clamp(40px, 5vw, 64px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.hero__title { margin-top: clamp(0px, 2vw, 24px); font-size: var(--step-4); line-height: .94; letter-spacing: -0.015em; margin-bottom: 24px; max-width: 11ch; text-wrap: balance; }
.hero__lead { font-size: var(--step-1); line-height: 1.5; color: var(--ink-2); max-width: 36ch; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__tags { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }

.scheme { margin: 0; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.scheme__stage { position: relative; aspect-ratio: 600 / 380; border-bottom: 1px solid var(--rule); }
.scheme__svg { display: block; width: 100%; height: 100%; }
.scheme__grid line { stroke: var(--rule); stroke-width: 1; opacity: .55; }
.scheme__ground line { stroke: var(--ink); stroke-width: 1.5; stroke-dasharray: 2 6; opacity: .5; }
.scheme__body * { fill: none; stroke: var(--ink); stroke-linecap: round; stroke-linejoin: round; }
.scheme__body .tire { stroke-width: 10; }
.scheme__body .rim { stroke-width: 2; }
.scheme__body .disc { stroke-width: 2; stroke-dasharray: 4 3; }
.scheme__body .hub { fill: var(--ink); stroke: none; }
.scheme__body .fender { stroke-width: 5; }
.scheme__body .frame { stroke-width: 8; }
.scheme__body .deck { fill: var(--white); stroke-width: 4; }
.scheme__body .battery { fill: rgba(255, 194, 14, .32); stroke-width: 1.5; stroke-dasharray: 5 4; }
.scheme__body .controller { fill: rgba(31, 102, 112, .2); stroke-width: 1.5; stroke-dasharray: 3 3; }
.scheme__body .hinge { fill: var(--white); stroke-width: 3.5; }
.scheme__body .stem { stroke-width: 9; }
.scheme__body .motor { fill: rgba(31, 102, 112, .16); stroke-width: 2.5; }
.scheme__body .motor-x { stroke-width: 1.5; opacity: .6; }
.scheme__body .lamp { stroke: var(--signal-deep); stroke-width: 6; }
.scheme__body .bar { stroke-width: 7; }
.scheme__body .display { fill: var(--ink); stroke-width: 2; }
.scheme__body .lever, .scheme__body .stand { stroke-width: 4; }

.scheme__dot {
	position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 0;
	border: 0; border-radius: 50%; background: transparent; cursor: pointer;
	display: grid; place-items: center;
}
.scheme__dot span {
	width: 22px; height: 22px; border-radius: 50%;
	background: var(--signal); border: 3px solid var(--ink);
	transition: transform .15s, background-color .15s;
}
.scheme__dot:hover span { transform: scale(1.15); }
.scheme__dot.is-active span { background: var(--ink); border-color: var(--signal); transform: scale(1.2); box-shadow: 0 0 0 5px rgba(255, 194, 14, .45); }
.scheme__dot:focus-visible { border-radius: 50%; }

.scheme__caption { padding: 18px 20px 20px; }
.scheme__hint { font-size: .9375rem; color: var(--muted); margin-bottom: 12px; }
.scheme__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.scheme__chips .chip { min-height: 34px; font-size: .875rem; padding: 4px 12px; }
.part { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; align-items: center; }
.part__name { grid-column: 1; font-family: var(--display); font-size: var(--step-2); line-height: 1.1; margin: 0; }
.part__faults { grid-column: 1; margin: 0; color: var(--ink-2); }
.part__price { grid-column: 2; grid-row: 1 / span 2; }

/* Viena orkestruota animacija: taškai iškyla vienas po kito */
@media (prefers-reduced-motion: no-preference) {
	.scheme__dot { animation: ck-pop .45s cubic-bezier(.3, 1.6, .5, 1) both; }
	.scheme__dot:nth-of-type(1) { animation-delay: .25s; }
	.scheme__dot:nth-of-type(2) { animation-delay: .35s; }
	.scheme__dot:nth-of-type(3) { animation-delay: .45s; }
	.scheme__dot:nth-of-type(4) { animation-delay: .55s; }
	.scheme__dot:nth-of-type(5) { animation-delay: .65s; }
	.scheme__dot:nth-of-type(6) { animation-delay: .75s; }
	.scheme__dot:nth-of-type(7) { animation-delay: .85s; }
}
@keyframes ck-pop { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: none; } }

@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__title { max-width: 14ch; }
}
@media (max-width: 560px) {
	.scheme__dot { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
	.scheme__dot span { width: 16px; height: 16px; border-width: 2.5px; }
	.part { grid-template-columns: 1fr; }
	.part__price { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 8px; }
	.hero__tags { flex-wrap: nowrap; gap: 8px; }
	.tag--big { min-width: 0; flex: 1 1 0; padding: 8px 8px 8px 26px; -webkit-mask: radial-gradient(circle 4px at 13px 50%, transparent 97%, #000 100%); mask: radial-gradient(circle 4px at 13px 50%, transparent 97%, #000 100%); }
	.tag--big strong { font-size: 1.45rem; }
	.tag--big span { font-size: .75rem; line-height: 1.25; }
}

/* Sezoninis pranešimas */
.season { background: var(--ink); color: var(--paper); }
.season__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 16px; padding-bottom: 16px; }
.season p { margin: 0; max-width: 75ch; }
.season strong { color: var(--signal); }
.season__link { color: var(--white); font-weight: 700; }
.season__link:hover { color: var(--signal); }

/* ==========================================================================
   Skyriai
   ========================================================================== */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--flush { padding-top: 8px; }
.section--tint { background: var(--tint); }
.section--ink { background: var(--ink); color: var(--paper); position: relative; }
.section--ink::before {
	/* Atšvaitinės liemenės juosta */
	content: ""; position: absolute; left: 0; right: 0; top: 0; height: 16px;
	background: linear-gradient(var(--signal) 0 3px, #D7DDDA 3px 6px, var(--signal) 6px 10px, #D7DDDA 10px 13px, var(--signal) 13px 16px);
}
.section--ink a { color: var(--signal); }
.section__head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section__head p { font-size: var(--step-1); line-height: 1.5; color: var(--muted); margin: 0; }
.section--ink .section__head p { color: #B9C6C3; }
.section__head--row { max-width: none; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.section__head--row h2 { margin: 0; }
.link-more { font-weight: 700; }

.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.split__aside p { color: var(--muted); }
@media (max-width: 900px) {
	.split { grid-template-columns: 1fr; }
	.split__aside { position: static; }
}

/* ==========================================================================
   Kainoraštis
   ========================================================================== */
.prices__tabs { display: flex; gap: 0; border-bottom: 2px solid var(--ink); margin-bottom: 0; overflow-x: auto; scrollbar-width: none; }
.prices__tabs::-webkit-scrollbar { display: none; }
.prices__tabs[hidden] { display: none; }
.prices__tabs [role="tab"] {
	flex-shrink: 0; padding: 14px 18px; border: 0; background: transparent; cursor: pointer;
	font-family: var(--display); font-size: 1.1875rem; color: var(--muted); border-radius: 10px 10px 0 0;
}
.prices__tabs [role="tab"]:hover { color: var(--ink); background: rgba(19, 36, 44, .05); }
.prices__tabs [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--white); }

.prices__panel { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(8px, 2vw, 16px) clamp(16px, 3vw, 32px) clamp(16px, 3vw, 28px); margin-bottom: 20px; }
.prices.is-tabbed .prices__panel { border-top: 0; border-radius: 0 0 var(--radius) var(--radius); margin-bottom: 0; }
.prices.is-tabbed .prices__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.prices__title { font-size: var(--step-2); margin: 16px 0 4px; }
.prices__note { margin: 16px 0 0; font-size: .9375rem; color: var(--muted); }

.price-table th, .price-table td { padding: 14px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: baseline; }
.price-table thead th { font-size: .8125rem; font-weight: 600; color: var(--muted); padding-top: 12px; padding-bottom: 10px; }
.price-table tbody th { font-weight: 500; padding-right: 16px; }
.price-table__time { color: var(--muted); font-size: .9375rem; white-space: nowrap; padding-right: 16px !important; }
.price-table__price { text-align: right !important; font-family: var(--display); font-size: 1.25rem; white-space: nowrap; }
.price-table thead th:last-child { text-align: right; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 600px) {
	.price-table thead { display: none; }
	.price-table tbody tr { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
	.price-table tbody tr:last-child { border-bottom: 0; }
	.price-table tbody th, .price-table tbody td { border: 0; padding: 0 !important; }
	.price-table tbody th { grid-column: 1; }
	.price-table__time { grid-column: 1; grid-row: 2; }
	.price-table__price { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

.parts { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); margin-top: clamp(32px, 5vw, 56px); align-items: start; }
.parts h3 { font-size: var(--step-2); }
.parts__text p { color: var(--muted); }
.parts__warranty { padding: 12px 16px; border-left: 4px solid var(--signal); background: var(--white); color: var(--ink) !important; border-radius: 0 var(--radius-s) var(--radius-s) 0; }
.price-table--compact th, .price-table--compact td { padding: 11px 0; }
.price-table--compact tbody tr { display: table-row; }
@media (max-width: 600px) { .price-table--compact tbody tr { display: grid; } .price-table--compact .price-table__price { grid-row: 1; } }
@media (max-width: 900px) { .parts { grid-template-columns: 1fr; } }

/* ==========================================================================
   Gedimų vedlys
   ========================================================================== */
.finder { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 48px); align-items: start; }
.finder__options { display: flex; flex-wrap: wrap; gap: 10px; align-content: flex-start; }
.finder__result { background: var(--white); border-radius: var(--radius); border: 1px solid var(--rule); padding: clamp(20px, 3vw, 36px); min-height: 100%; }
.symptom h3 { font-size: var(--step-3); margin-bottom: 20px; }
.symptom__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.symptom__label { font-weight: 700; font-size: .9375rem; margin-bottom: 8px; color: var(--sea); }
@media (max-width: 900px) { .finder { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .symptom__cols { grid-template-columns: 1fr; gap: 16px; } }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2.5px solid var(--sea); border-bottom: 2.5px solid var(--sea); transform: rotate(-45deg); }

/* ==========================================================================
   Klaidų kodai
   ========================================================================== */
.table-scroll { overflow-x: auto; }
.code-table { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.code-table th, .code-table td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; font-size: .96875rem; }
.code-table thead th { background: var(--ink); color: var(--white); font-weight: 600; font-size: .875rem; }
.code-table tbody tr:last-child td { border-bottom: 0; }
.code-table__code { font-family: var(--display); font-size: 1.375rem !important; white-space: nowrap; width: 1%; }
@media (max-width: 600px) {
	.code-table thead { display: none; }
	.code-table, .code-table tbody, .code-table tr, .code-table td { display: block; }
	.code-table tr { padding: 12px 16px; border-bottom: 1px solid var(--rule); }
	.code-table td { padding: 0; border: 0; }
	.code-table td:last-child { color: var(--muted); font-size: .9375rem; }
}

/* ==========================================================================
   Remonto eiga
   ========================================================================== */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; position: relative; }
.steps li { counter-increment: step; position: relative; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 26px; left: 62px; right: -12px; height: 2px; background: repeating-linear-gradient(90deg, var(--ink) 0 8px, transparent 8px 14px); opacity: .5; }
.steps li::before {
	content: counter(step); display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px;
	border-radius: 50%; background: var(--signal); border: 3px solid var(--ink); position: relative;
	font-family: var(--display); font-size: 1.5rem;
}
.steps h3 { font-size: var(--step-1); margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: .96875rem; margin: 0; }
@media (max-width: 960px) {
	.steps { grid-template-columns: 1fr; gap: 0; }
	.steps li:not(:last-child)::after { top: 62px; bottom: 6px; left: 26px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--ink) 0 8px, transparent 8px 14px); }
	.steps li { display: grid; grid-template-columns: 54px 1fr; column-gap: 20px; padding-bottom: 24px; }
	.steps li::before { grid-row: 1 / span 2; margin: 0; }
	.steps h3 { align-self: end; margin-top: 12px; }
}

/* ==========================================================================
   Taisyti ar pirkti
   ========================================================================== */
.compare { list-style: none; padding: 0; margin: 0 0 12px; border-top: 2px solid var(--ink); }
.compare li { display: grid; grid-template-columns: 1fr auto; gap: 0 20px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.compare span { font-weight: 600; }
.compare strong { font-family: var(--display); font-size: var(--step-2); grid-row: 1 / span 2; grid-column: 2; align-self: center; }
.compare em { font-style: normal; font-size: .875rem; color: var(--muted); }
.compare__note { font-size: .875rem; color: var(--muted); }
.brands__title { margin-top: 40px; }
.brands { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.brands li { padding: 6px 14px; border: 1px solid var(--rule); background: var(--white); border-radius: 6px; font-weight: 600; font-size: .9375rem; }

/* ==========================================================================
   KET
   ========================================================================== */
.ket { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(237, 240, 235, .2); }
.ket__item { padding: 28px 28px 28px 0; border-bottom: 1px solid rgba(237, 240, 235, .2); }
.ket__item h3 { color: var(--signal); font-size: var(--step-2); }
.ket__item p { margin: 0; color: #D3DCD9; max-width: 42ch; }
@media (max-width: 900px) { .ket { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .ket { grid-template-columns: 1fr; } .ket__item { padding-right: 0; } }

/* ==========================================================================
   Patarimai ir DUK (išskleidžiami)
   ========================================================================== */
.tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: start; }
.tip, .faq__item { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); }
.tip summary, .faq__item summary {
	list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 20px 22px;
}
.tip summary::-webkit-details-marker, .faq__item summary::-webkit-details-marker { display: none; }
.tip summary h3, .faq__item summary h3 { margin: 0; font-size: var(--step-1); }
.tip summary::after, .faq__item summary::after {
	content: ""; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
	background:
		linear-gradient(var(--ink), var(--ink)) center / 12px 2px no-repeat,
		linear-gradient(var(--ink), var(--ink)) center / 2px 12px no-repeat,
		var(--signal);
	transition: transform .2s;
}
details[open] > summary::after { transform: rotate(45deg); }
.tip .ticks, .faq__item p { padding: 0 22px 20px; margin: 0; }
.tip summary:hover h3, .faq__item summary:hover h3 { color: var(--sea); }

.faq { display: grid; gap: 10px; }
.faq__item summary h3 { font-family: var(--body); font-weight: 650; font-size: 1.0625rem; line-height: 1.35; }
.faq__item p { color: var(--ink-2); max-width: 68ch; }

/* ==========================================================================
   Kortelės (straipsniai)
   ========================================================================== */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.card__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card__body { padding: 20px 22px 24px; }
.card__meta { font-size: .8125rem; color: var(--muted); margin-bottom: 8px; }
.card__title { font-size: var(--step-1); margin-bottom: 8px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card__title a { color: var(--sea); text-decoration: underline; }
.card__excerpt { font-size: .9375rem; color: var(--ink-2); margin: 0; }
.cards--related { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ==========================================================================
   Kontaktai
   ========================================================================== */
.section--contact { background: var(--white); border-top: 1px solid var(--rule); }
.contact { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.contact__lead { color: var(--muted); font-size: var(--step-1); line-height: 1.5; max-width: 40ch; }
.contact__phone { display: inline-block; font-family: var(--display); font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); line-height: 1; color: var(--ink); text-decoration: none; margin: 8px 0 16px; border-bottom: 4px solid var(--signal); }
.contact__phone:hover { color: var(--sea); }
.status--block { margin: 0 0 24px; font-size: 1rem; }
.contact__list { margin: 0 0 28px; display: grid; gap: 14px; }
.contact__list div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.contact__list dt { font-weight: 700; }
.contact__list dd { margin: 0; color: var(--ink-2); }
.contact__dir { color: var(--muted); font-size: .9375rem; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.contact__map { min-height: 360px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); background: var(--paper); }
.contact__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact__list div { grid-template-columns: 1fr; gap: 2px; } }

.week { height: 340px; display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; padding: 24px; align-items: end; }
.week__day { display: grid; grid-template-rows: auto 1fr auto; height: 100%; gap: 10px; text-align: center; }
.week__name { font-family: var(--display); font-size: 1.25rem; }
.week__bar { border-radius: 8px; background: var(--signal); min-height: 120px; position: relative; }
.week__day.is-off .week__bar { background: repeating-linear-gradient(-45deg, var(--rule) 0 6px, transparent 6px 12px); }
.week__hours { font-size: .875rem; font-weight: 600; color: var(--muted); }
.week__day.is-today .week__bar { box-shadow: 0 0 0 3px var(--ink); }
.week__day.is-today .week__name { color: var(--sea); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ==========================================================================
   Vidiniai puslapiai
   ========================================================================== */
.page-head { padding: clamp(28px, 5vw, 56px) 0 clamp(20px, 3vw, 32px); }
.page-head h1 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 3.8rem); line-height: .98; max-width: 22ch; text-wrap: balance; }
.page-head__lead { font-size: var(--step-1); color: var(--muted); max-width: 60ch; }
.page-head--404 { padding-bottom: clamp(56px, 8vw, 96px); }
.page-head--404 .tag { margin-bottom: 24px; }

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

.article__meta { color: var(--muted); font-size: .9375rem; margin: 0; }
.article__image { margin: 0 0 32px; }
.article__image img { border-radius: var(--radius); width: 100%; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60; pointer-events: none; }
.admin-bar .progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .progress { top: 46px; } }
.progress span { display: block; height: 100%; width: 100%; background: var(--signal); transform-origin: 0 50%; transform: scaleX(0); }

.toc { background: var(--white); border: 1px solid var(--rule); border-left: 4px solid var(--signal); border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 24px; margin-bottom: 36px; }
.toc__title { font-family: var(--display); font-size: var(--step-1); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.3em; }
.toc li { margin-bottom: 4px; }

/* Turinio tipografika */
.entry { max-width: 68ch; font-size: 1.125rem; line-height: 1.7; }
.entry > * { margin-top: 0; margin-bottom: 1.1em; }
.entry h2 { font-size: var(--step-3); margin-top: 1.6em; margin-bottom: .5em; }
.entry h3 { font-size: var(--step-2); margin-top: 1.4em; }
.entry h4 { font-size: var(--step-1); margin-top: 1.3em; }
.entry li { margin-bottom: .4em; }
.entry img { border-radius: var(--radius-s); }
.entry figure { margin-left: 0; margin-right: 0; }
.entry figcaption, .entry .wp-element-caption { font-size: .875rem; color: var(--muted); margin-top: 8px; }
.entry blockquote { margin-left: 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--signal); font-size: 1.1875rem; }
.entry table { font-size: 1rem; background: var(--white); }
.entry th, .entry td { border: 1px solid var(--rule); padding: 10px 12px; text-align: left; }
.entry hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.entry .alignwide { max-width: none; }
.entry .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.entry .alignright { float: right; margin: .3em 0 1em 1.4em; }
.entry .aligncenter { margin-left: auto; margin-right: auto; }
.entry .wp-block-gallery, .entry .gallery { max-width: none; }
.entry .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.entry .gallery-item { margin: 0; }
.entry .wp-block-button__link { background: var(--ink); color: var(--white); border-radius: 10px; }
.page .entry { max-width: none; }
.page .entry > p, .page .entry > ul, .page .entry > ol, .page .entry > h2, .page .entry > h3 { max-width: 68ch; }

.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin: 48px 0; padding: 28px clamp(20px, 3vw, 36px); background: var(--ink); color: var(--paper); border-radius: var(--radius); }
.cta-box p { margin: 0; color: #C7D2CF; max-width: 52ch; }
.cta-box .cta-box__title { font-family: var(--display); font-size: var(--step-2); color: var(--white); margin-bottom: 6px; }
.cta-box__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-box .btn--ghost { border-color: var(--paper); color: var(--paper); }
.cta-box .btn--ghost:hover { background: var(--paper); color: var(--ink); }

.related { margin: 48px 0; }
.related h2 { font-size: var(--step-2); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 1px solid var(--rule); padding-top: 24px; }
.post-navigation a { display: block; text-decoration: none; font-weight: 600; color: var(--ink); }
.post-navigation .nav-next { text-align: right; }
.nav-label { display: block; font-size: .8125rem; color: var(--muted); font-weight: 500; }

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

.empty { padding: 32px; background: var(--white); border: 1px dashed var(--rule); border-radius: var(--radius); max-width: 68ch; }

.quick { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.quick a { display: block; height: 100%; padding: 20px; background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.quick a:hover { border-color: var(--ink); }
.quick strong { display: block; font-family: var(--display); font-size: var(--step-1); margin-bottom: 4px; }
.quick span { color: var(--muted); font-size: .9375rem; }

/* ==========================================================================
   Poraštė
   ========================================================================== */
.site-footer { background: var(--ink); color: #C7D2CF; padding: clamp(48px, 6vw, 72px) 0 0; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { color: var(--signal); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.site-footer__brand p { margin-top: 16px; max-width: 36ch; font-size: .9375rem; }
.site-footer__title { font-size: 1.1875rem; color: var(--white); margin-bottom: 14px; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .9375rem; }
.hours { margin: 0; display: grid; gap: 10px; font-size: .9375rem; }
.hours div { display: grid; gap: 0; }
.hours dt { color: #93A4A1; font-size: .8125rem; }
.hours dd { margin: 0; color: var(--white); font-weight: 600; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(237, 240, 235, .14); font-size: .8125rem; color: #93A4A1; }
.site-footer__bottom p { margin: 0; }
.footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; }
@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: 104px; }
	.callbar {
		display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		background: var(--ink); border-top: 3px solid var(--signal);
	}
	.callbar__call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; background: var(--signal); color: var(--ink); border-radius: 10px; font-weight: 800; text-decoration: none; font-size: 1.0625rem; }
	.callbar__prices { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--paper); border-radius: 10px; color: var(--paper); font-weight: 700; text-decoration: none; }
	.callbar__status { grid-column: 1 / -1; justify-self: center; color: #C7D2CF; font-size: .8125rem; order: -1; }
}

.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: 65;
	width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%;
	background: var(--ink); color: var(--white); cursor: pointer;
	display: grid; place-items: center;
	opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s, transform .2s, visibility .2s, background-color .15s;
}
.to-top.is-visible { opacity: 1; transform: none; visibility: visible; }
.to-top:hover { background: var(--sea); }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: rgba(255, 255, 255, .15); stroke-width: 3; }
.to-top__ring .to-top__progress { stroke: var(--signal); stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
.to-top__arrow { position: relative; }
@media (max-width: 760px) { .to-top { bottom: calc(96px + env(safe-area-inset-bottom)); right: 14px; width: 48px; height: 48px; } }

/* ==========================================================================
   Judesys ir spausdinimas
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
@media print {
	.site-header, .callbar, .to-top, .season, .scheme__chips, .site-footer__grid { display: none !important; }
	body { background: #fff; padding: 0; }
	.prices__panel[hidden], [data-symptom-panel][hidden] { display: block !important; }
}
