/*
Theme Name: Girilis
Theme URI: https://www.girilis.lt/
Author: Girilis
Author URI: https://www.girilis.lt/
Description: Greita, SEO optimizuota tema elektrinių paspirtukų remonto servisui Kaune. Interaktyvi paspirtuko schema, kainoraštis su skaičiuokle, gedimų kodų žinynas, priežiūros atmintinė, DUK, LocalBusiness / FAQ / Breadcrumb schema, peradresavimai ir „į viršų“ mygtukas – be papildomų įskiepių.
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: girilis
Tags: one-column, custom-logo, custom-menu, featured-images, translation-ready, accessibility-ready
*/

/* ---------- Tokens ---------- */
:root {
	--ink: #15202b;
	--ink-2: #22303d;
	--ink-3: #34444f;
	--paper: #f2f5f7;
	--surface: #ffffff;
	--line: #cbd3da;
	--line-soft: #e1e6ea;
	--muted: #55636f;
	--accent: #f5b700;
	--accent-deep: #d99f00;
	--accent-soft: #fff3cc;
	--ok: #1f8a70;
	--stop: #c4372b;

	--f: "Archivo", "Archivo Fallback", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wide: 116%;
	--cond: 78%;

	--t-xs: 0.8125rem;
	--t-sm: 0.9375rem;
	--t-base: 1.0625rem;
	--t-md: 1.25rem;
	--t-lg: clamp(1.4rem, 1.1rem + 1.2vw, 1.875rem);
	--t-xl: clamp(1.8rem, 1.2rem + 2.4vw, 2.75rem);
	--t-xxl: clamp(2.25rem, 1.3rem + 4vw, 4.125rem);

	--gap: clamp(1rem, 0.6rem + 1.6vw, 2rem);
	--section: clamp(3.5rem, 2rem + 6vw, 7rem);
	--r-sm: 8px;
	--r: 14px;
	--r-lg: 24px;
	--max: 1200px;
	--text: 68ch;
	--header-h: 68px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f); font-size: var(--t-base); line-height: 1.6; font-optical-sizing: auto; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--accent-deep); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
ul, ol { padding-left: 1.2em; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: var(--ink); }

.sr-only { 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: 1rem; top: -100px; z-index: 100; background: var(--accent); color: var(--ink); padding: 0.75rem 1rem; border-radius: var(--r-sm); font-weight: 700; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.wrap--text { width: min(100% - 2rem, 760px); }
.small { font-size: var(--t-xs); color: var(--muted); }
.site-main:focus { outline: none; }

/* ---------- Icons ---------- */
.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55em; min-height: 46px; padding: 0.6em 1.25em; border: 2px solid transparent; border-radius: 999px; font-weight: 650; font-size: var(--t-sm); line-height: 1.1; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-deep); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--ink-3); }
.btn--sm { min-height: 40px; padding: 0.45em 1em; }
.btn--lg { min-height: 54px; padding: 0.75em 1.5em; font-size: var(--t-base); }
.btn--block { display: flex; width: 100%; }
.link { display: inline-flex; align-items: center; gap: .4em; font-weight: 650; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.link:hover { text-decoration-color: var(--ink); }

/* ---------- Status ---------- */
.status { display: inline-flex; align-items: center; gap: .5em; font-size: var(--t-xs); font-weight: 600; font-stretch: var(--cond); letter-spacing: .01em; white-space: nowrap; vertical-align: middle; }
.status__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); box-shadow: 0 0 0 3px rgba(85,99,111,.18); }
.status.is-open .status__dot { background: var(--ok); box-shadow: 0 0 0 3px rgba(31,138,112,.22); }
.status.is-closed .status__dot { background: var(--stop); box-shadow: 0 0 0 3px rgba(196,55,43,.2); }
.status--light { color: #e8edf1; }
.status--light.is-open .status__dot { background: #39c79f; }
.status--light.is-closed .status__dot { background: #ff7a6e; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink); color: #e8edf1; font-size: var(--t-xs); }
.topbar__in { display: flex; align-items: center; gap: 1.5rem; min-height: 38px; }
.topbar a { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; font-weight: 500; }
.topbar a:hover { color: var(--accent); }
.topbar__addr { margin-left: auto; }
@media (max-width: 640px) { .topbar .topbar__addr { display: none; } .topbar .topbar__tel { margin-left: auto; } }
.topbar a, .topbar .status { white-space: nowrap; }

.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line-soft); }
.site-header.is-scrolled { box-shadow: 0 6px 24px -18px rgba(21,32,43,.5); }
.site-header__in { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); flex: none; }
.logo__mark { width: 40px; height: 40px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-size: 1.375rem; font-weight: 800; font-stretch: var(--wide); letter-spacing: -0.02em; }
.logo__sub { margin-top: .22rem; font-size: .75rem; font-weight: 550; font-stretch: var(--cond); color: var(--muted); letter-spacing: .02em; }
.custom-logo-link img { max-height: 48px; width: auto; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.nav__list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: .5rem .7rem; border-radius: 999px; text-decoration: none; font-size: var(--t-sm); font-weight: 550; }
.nav__list a:hover, .nav__list .current-menu-item > a { background: var(--paper); }
.nav__list .sub-menu { display: none; }
.nav-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--paper); align-items: center; justify-content: center; }
.nav-toggle .i { width: 24px; height: 24px; }
.nav-toggle__close { display: none; }

@media (max-width: 1080px) {
	.nav-toggle { display: inline-flex; }
	.js .nav { position: fixed; inset: 0; top: var(--nav-top, calc(var(--header-h) + 38px)); z-index: 39; background: var(--surface); flex-direction: column; align-items: stretch; gap: 0; padding: 1rem 1rem 6rem; overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
	.js .nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.nav__list { flex-direction: column; }
	.nav__list a { padding: 1rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line-soft); font-size: var(--t-md); font-weight: 650; font-stretch: var(--wide); }
	.nav__cta { margin-top: 1.25rem; }
	.nav__cta .btn { width: 100%; min-height: 54px; font-size: var(--t-base); }
	.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
	.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: inline; }
	.no-js .nav { display: none; }
	.no-js .site-header__in { flex-wrap: wrap; }
}
body.nav-open { overflow: hidden; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(2rem, 1rem + 4vw, 4rem); }
.section--alt { background: var(--surface); }
.section--ink { background: var(--ink); color: #e8edf1; }
.section__head { max-width: 760px; margin-bottom: clamp(1.75rem, 1rem + 2vw, 3rem); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.section__title { font-size: var(--t-xl); font-weight: 780; font-stretch: var(--wide); letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
.section__title--sm { font-size: var(--t-lg); }
.section__lead { font-size: var(--t-md); color: var(--muted); line-height: 1.5; max-width: 62ch; margin: 0; text-wrap: pretty; }
.section--ink .section__lead { color: #b9c4cd; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 5.5rem); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero__title { font-size: var(--t-xxl); font-weight: 800; font-stretch: 112%; letter-spacing: -0.035em; line-height: 0.98; margin-bottom: 1.25rem; text-wrap: balance; hyphens: manual; }
.hero__lead { font-size: var(--t-md); line-height: 1.5; color: var(--ink-3); max-width: 46ch; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2.25rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); max-width: 520px; }
.facts li { display: flex; flex-direction: column; padding: .85rem 1rem .85rem 0; border-bottom: 1px solid var(--line); }
.facts li:nth-child(odd) { border-right: 1px solid var(--line); }
.facts li:nth-child(even) { padding-left: 1rem; }
.facts__k { font-size: var(--t-xs); font-stretch: var(--cond); font-weight: 550; color: var(--muted); }
.facts__v { font-size: var(--t-lg); font-weight: 780; font-stretch: var(--wide); letter-spacing: -.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }

/* Diagnostic diagram */
.diag { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(1rem, .6rem + 1.5vw, 1.75rem); box-shadow: 0 30px 60px -40px rgba(21,32,43,.45); }
.diag__head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; }
.diag__title { font-size: var(--t-md); font-weight: 780; font-stretch: var(--wide); margin: 0; }
.diag__hint { font-size: var(--t-xs); color: var(--muted); margin: 0; max-width: 36ch; }
.diag__stage { position: relative; margin: .5rem -0.25rem 0; }
.scooter { display: block; width: 100%; height: auto; overflow: visible; }
.scooter * { vector-effect: non-scaling-stroke; }
.sc-ground { stroke: var(--line); stroke-width: 2; stroke-dasharray: 2 8; stroke-linecap: round; }
.sc-tyre { fill: none; stroke: var(--ink); stroke-width: 14; }
.sc-rim, .sc-disc { fill: none; stroke: var(--ink-3); stroke-width: 2; }
.sc-line { fill: none; stroke: var(--ink-3); stroke-width: 2.5; stroke-linecap: round; }
.sc-hub { fill: var(--paper); stroke: var(--ink); stroke-width: 3; }
.sc-frame { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; }
.sc-stem { fill: none; stroke: var(--ink); stroke-width: 9; stroke-linecap: round; }
.sc-stem--main { stroke-width: 11; }
.sc-hinge { fill: var(--surface); stroke: var(--ink); stroke-width: 3; }
.sc-deck { fill: var(--ink); }
.sc-cell { fill: #2e3d4a; stroke: #6b7b88; stroke-width: 1.5; stroke-dasharray: 4 3; }
.sc-cellgrid { stroke: #6b7b88; stroke-width: 1; }
.sc-ctrl { fill: #2e3d4a; stroke: #6b7b88; stroke-width: 1.5; }
.sc-bar { stroke: var(--ink); stroke-width: 8; stroke-linecap: round; }
.sc-screen { fill: var(--ink-3); stroke: var(--ink); stroke-width: 2; }
.sc-lamp { fill: var(--ink-3); }
.sc-beam { stroke: var(--accent); stroke-width: 2; stroke-linecap: round; opacity: 0; transition: opacity .2s; }
.sc-part { transition: opacity .2s; }
.diag.has-active .sc-part { opacity: .55; }
.diag.has-active .sc-part.is-active { opacity: 1; }
.sc-part.is-active .sc-tyre, .sc-part.is-active .sc-stem, .sc-part.is-active .sc-bar { stroke: var(--accent); }
.sc-part.is-active .sc-disc, .sc-part.is-active .sc-line { stroke: var(--accent-deep); stroke-width: 4; }
.sc-part.is-active .sc-hub, .sc-part.is-active .sc-hinge { fill: var(--accent); }
.sc-part.is-active .sc-cell, .sc-part.is-active .sc-ctrl, .sc-part.is-active .sc-screen, .sc-part.is-active .sc-lamp { fill: var(--accent); stroke: var(--accent-deep); }
.sc-part.is-active .sc-beam { opacity: 1; }

.spot { position: absolute; width: 24px; height: 24px; margin: -12px 0 0 -12px; padding: 0; border-radius: 50%; border: 2px solid var(--surface); background: var(--ink); box-shadow: 0 0 0 2px var(--ink), 0 4px 10px rgba(21,32,43,.35); transition: transform .15s, background-color .15s; }
.spot::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--accent); }
.spot::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; }
.spot:hover { transform: scale(1.12); }
.spot.is-active { background: var(--accent); box-shadow: 0 0 0 2px var(--ink), 0 0 0 8px rgba(245,183,0,.35); }
.spot.is-active::after { background: var(--ink); inset: 6px; }
@keyframes spot-in { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
.js .diag:not(.is-ready) .spot { transform: scale(0); }
.diag.is-ready .spot { animation: spot-in .45s cubic-bezier(.2,.9,.3,1.3) backwards; animation-delay: calc(var(--n, 0) * 70ms + 200ms); }

.diag__chips { display: flex; flex-wrap: wrap; gap: .4rem; margin: .5rem 0 1rem; }
.chip { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: .4rem .8rem; font-size: var(--t-xs); font-weight: 600; min-height: 36px; transition: background-color .15s, border-color .15s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.diag__panel { background: var(--paper); border-radius: var(--r); padding: 1rem 1.1rem 1.1rem; border-left: 5px solid var(--accent); }
.diag__row { display: flex; justify-content: space-between; align-items: baseline; gap: .25rem 1rem; flex-wrap: wrap; }
.diag__price { margin-left: auto; }
.diag__name { font-weight: 750; font-size: var(--t-md); margin: 0; }
.diag__price { margin: 0; display: flex; align-items: baseline; gap: .75rem; font-size: var(--t-lg); font-weight: 800; font-stretch: var(--cond); font-variant-numeric: tabular-nums; }
.diag__time { font-size: var(--t-xs); font-weight: 600; color: var(--muted); }
.diag__list { margin: .6rem 0 .8rem; padding: 0; list-style: none; display: grid; gap: .3rem; font-size: var(--t-sm); }
.diag__list li { position: relative; padding-left: 1.1rem; }
.diag__list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }

@media (max-width: 960px) {
	.hero__grid { grid-template-columns: minmax(0, 1fr); }
	.hero__lead { max-width: 60ch; }
}
@media (max-width: 520px) {
	.spot { width: 22px; height: 22px; margin: -11px 0 0 -11px; }
	.spot::after { inset: 5px; }
	.hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Prices ---------- */
.prices__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
.tabs { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .25rem; margin-bottom: 1.25rem; -webkit-overflow-scrolling: touch; }
.tabs::-webkit-scrollbar { display: none; }
@media (min-width: 961px) { .tabs { flex-wrap: wrap; overflow: visible; } }
.tab { display: inline-flex; align-items: center; gap: .5em; flex: none; padding: .65rem 1rem; min-height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: var(--t-sm); font-weight: 600; transition: background-color .15s, color .15s, border-color .15s; }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tab[aria-selected="true"] .i { color: var(--accent); }
.js .tabpanel[data-hidden] { display: none; }
.no-js .tabs { display: none; }
.no-js .tabpanel + .tabpanel { margin-top: 2rem; }
.tabpanel__title { font-size: var(--t-md); font-stretch: var(--wide); font-weight: 750; }
.js .tabpanel__title { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ptable { background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-soft); }
.ptable th, .ptable td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: baseline; }
.ptable tr:last-child > * { border-bottom: 0; }
.ptable thead th { font-size: var(--t-xs); font-weight: 600; font-stretch: var(--cond); color: var(--muted); background: var(--paper); padding-block: .6rem; }
.ptable tbody th { font-weight: 500; }
.ptable__time { color: var(--muted); font-size: var(--t-sm); font-stretch: var(--cond); white-space: nowrap; }
.ptable__price { text-align: right !important; white-space: nowrap; font-weight: 750; font-stretch: var(--cond); font-size: var(--t-md); font-variant-numeric: tabular-nums; }
.ptable thead th:last-child { text-align: right; }
.ptable tbody tr:hover { background: #fafbfc; }
.tag { display: inline-block; margin-left: .35rem; padding: .05rem .5rem; border-radius: 999px; background: var(--accent-soft); color: #7a5a00; font-size: .75rem; font-weight: 650; vertical-align: .1em; }
@media (max-width: 560px) {
	.ptable thead { display: none; }
	.ptable tr { display: grid; grid-template-columns: 1fr auto; gap: .1rem 1rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line-soft); }
	.ptable tr:last-child { border-bottom: 0; }
	.ptable th, .ptable td { padding: 0; border: 0; }
	.ptable tbody th { grid-column: 1; }
	.ptable__price { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
	.ptable__time { grid-column: 1; }
}
.parts { margin-top: 1.25rem; background: var(--surface); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line-soft); }
.parts summary { padding: 1rem 1.1rem; font-weight: 650; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.parts summary::-webkit-details-marker { display: none; }
.parts summary::after, .qa__q::after { content: ""; width: 12px; height: 12px; flex: none; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.parts[open] summary::after, .qa[open] .qa__q::after { transform: rotate(225deg) translate(-3px, -3px); }
.parts .ptable { box-shadow: none; border-radius: 0; border-top: 1px solid var(--line-soft); }
.parts .ptable tr { display: table-row; }
.parts .ptable th, .parts .ptable td { padding: .65rem 1.1rem; border-bottom: 1px solid var(--line-soft); }
.parts .small { padding: .8rem 1.1rem 1rem; margin: 0; }

/* Calculator */
.calc { position: sticky; top: calc(var(--header-h) + 1rem); background: var(--surface); border-radius: var(--r-lg); padding: 1.5rem; border: 2px solid var(--ink); }
.calc__title { font-size: var(--t-md); font-stretch: var(--wide); font-weight: 780; margin-bottom: .25rem; }
.calc__lead { font-size: var(--t-sm); color: var(--muted); }
.calc__list { border: 0; padding: 0; margin: 0 0 1rem; display: grid; gap: 0; max-height: 360px; overflow-y: auto; }
.check { position: relative; display: grid; grid-template-columns: 22px 1fr auto; align-items: start; gap: .7rem; padding: .55rem 0; cursor: pointer; border-bottom: 1px dashed var(--line-soft); font-size: var(--t-sm); line-height: 1.35; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check__box { width: 22px; height: 22px; border: 2px solid var(--line); border-radius: 6px; background: var(--surface); transition: background-color .15s, border-color .15s; position: relative; }
.check__box::after { content: ""; position: absolute; left: 6px; top: 2px; width: 6px; height: 11px; border-right: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(45deg) scale(0); transition: transform .15s; }
.check input:checked + .check__box { background: var(--accent); border-color: var(--accent-deep); }
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { outline: 3px solid var(--accent); outline-offset: 2px; }
.check__price { font-weight: 700; font-stretch: var(--cond); white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc__sum { background: var(--paper); border-radius: var(--r); padding: .9rem 1rem; margin-bottom: 1rem; }
.calc__row, .calc__total { display: flex; justify-content: space-between; margin: 0; }
.calc__row { font-size: var(--t-sm); color: var(--muted); }
.calc__total { align-items: baseline; font-weight: 700; margin-top: .25rem; }
.calc__total output { font-size: var(--t-xl); font-weight: 800; font-stretch: var(--cond); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.calc__sum .small { margin: .3rem 0 0; }
@media (max-width: 960px) { .prices__grid { grid-template-columns: minmax(0, 1fr); } .calc { position: static; } .calc__list { max-height: none; } }

/* ---------- Error codes ---------- */
.codes__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.codes__head { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.codes__head .section__title { color: #fff; }
.codes__search { position: relative; display: block; margin-top: 1.75rem; }
.codes__search .i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--accent); }
.codes__search input { width: 100%; min-height: 54px; padding: .75rem 1rem .75rem 2.9rem; border-radius: 999px; border: 2px solid var(--ink-3); background: var(--ink-2); color: #fff; font-size: var(--t-base); }
.codes__search input::placeholder { color: #8c9aa6; }
.codes__search input:focus { outline: none; border-color: var(--accent); }
.codes__empty { margin-top: 1rem; color: #b9c4cd; }
.codes__empty a { color: var(--accent); }
.codes__table-wrap { overflow-x: auto; }
.codes__table th, .codes__table td { padding: .9rem .75rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--ink-3); font-size: var(--t-sm); }
.codes__table thead th { font-size: var(--t-xs); font-weight: 600; font-stretch: var(--cond); color: #8c9aa6; border-bottom-color: #4a5a66; }
.codes__code { font-size: var(--t-lg) !important; font-weight: 800; font-stretch: var(--cond); color: var(--accent); white-space: nowrap; font-variant-numeric: tabular-nums; line-height: 1.1; }
.codes__cause { color: #b9c4cd; }
.codes__price { white-space: nowrap; font-weight: 650; font-stretch: var(--cond); }
.codes__table tr[hidden] { display: none; }
@media (max-width: 860px) {
	.codes__grid { grid-template-columns: minmax(0, 1fr); }
	.codes__head { position: static; }
	.codes__table thead { display: none; }
	.codes__table tr { display: grid; grid-template-columns: 4.2rem 1fr; gap: .2rem .75rem; padding: .9rem 0; border-bottom: 1px solid var(--ink-3); }
	.codes__table th, .codes__table td { padding: 0; border: 0; }
	.codes__code { grid-row: 1 / span 3; }
}

/* ---------- Process ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem; position: relative; counter-reset: none; }
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--accent) 0 0) left / var(--fill, 0%) 100% no-repeat, var(--line); transition: background-size 1.2s cubic-bezier(.3,.7,.2,1); }
.steps.is-seen::before { --fill: 100%; }
.steps__item { position: relative; }
.steps__n { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; font-stretch: var(--wide); font-size: var(--t-md); border: 4px solid var(--paper); margin-bottom: 1rem; }
.steps__item:last-child .steps__n { background: var(--accent); color: var(--ink); }
.steps__title { font-size: var(--t-md); font-weight: 750; margin-bottom: .35rem; }
.steps__item p { color: var(--muted); font-size: var(--t-sm); margin: 0; }
@media (max-width: 960px) {
	.steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.steps::before { left: 22px; right: auto; top: 24px; bottom: 24px; width: 4px; height: auto; background: linear-gradient(180deg, var(--accent) 0 0) top / 100% var(--fill, 0%) no-repeat, var(--line); }
	.steps__item { display: grid; grid-template-columns: 48px 1fr; column-gap: 1rem; padding-bottom: 1.5rem; }
	.steps__n { grid-row: 1 / span 2; margin: 0; }
	.steps__title { align-self: center; margin: .6rem 0 .25rem; }
}

/* ---------- Care ---------- */
.care { background: var(--surface); }
.care__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.care__col { padding: 1.4rem; border-radius: var(--r); background: var(--paper); }
.care__col.is-season { background: var(--accent-soft); box-shadow: inset 0 0 0 2px var(--accent); }
.care__col.is-season .care__title::after { content: "Aktualu dabar"; margin-left: auto; padding: .15rem .55rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .75rem; font-weight: 600; font-stretch: var(--cond); }
.care__title { display: flex; align-items: center; gap: .55rem; font-size: var(--t-md); font-weight: 750; margin-bottom: .75rem; }
.todo { list-style: none; margin: 0; padding: 0; }
.check--todo { grid-template-columns: 22px 1fr; border-bottom-color: rgba(21,32,43,.12); }
.check--todo input:checked ~ .check__label { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(21,32,43,.4); }
.battery { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 2rem; align-items: center; margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--r-lg); background: var(--ink); color: #e8edf1; }
.battery__meter { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; height: 120px; padding: 10px; border: 3px solid #e8edf1; border-radius: 14px; position: relative; align-items: end; }
.battery__meter::after { content: ""; position: absolute; right: -10px; top: 40%; width: 7px; height: 20%; border-radius: 0 4px 4px 0; background: #e8edf1; }
.battery__meter span { height: var(--h); border-radius: 4px; background: var(--accent); }
.battery__meter span:first-child { background: var(--stop); }
.battery__meter span:nth-child(2) { background: var(--accent); }
.battery__meter span:nth-child(3) { background: #39c79f; }
.battery__meter span:last-child { background: #39c79f; opacity: .35; }
.battery__title { color: #fff; font-size: var(--t-lg); font-stretch: var(--wide); font-weight: 780; }
.battery__text p { color: #c4ced6; max-width: 70ch; }
.battery__text p:last-child { margin: 0; }
.signs { margin-top: clamp(2rem, 1rem + 3vw, 3.5rem); }
.signs__title { font-size: var(--t-md); font-weight: 750; }
.signs__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: .75rem 2rem; }
.signs__list li { position: relative; padding: .2rem 0 .2rem 1.6rem; }
.signs__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 3px; background: var(--stop); transform: rotate(45deg); }
@media (max-width: 960px) { .care__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .battery { grid-template-columns: minmax(0, 1fr); } .battery__meter { width: 150px; height: 80px; } }

/* ---------- Trust ---------- */
.trust__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(2rem, 1rem + 4vw, 5rem); }
.trust__big { margin: 0 0 .5rem; font-size: clamp(5rem, 3rem + 9vw, 10rem); font-weight: 800; font-stretch: 125%; line-height: .82; letter-spacing: -.05em; color: var(--ink); }
.trust__big span { font-size: .28em; font-stretch: var(--cond); letter-spacing: 0; margin-left: .2em; font-weight: 700; color: var(--muted); }
.trust__warranty > p { max-width: 60ch; color: var(--ink-3); }
.trust__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.trust__h { font-size: var(--t-base); font-weight: 750; }
.ticks, .crosses { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; font-size: var(--t-sm); }
.ticks li, .crosses li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: ""; position: absolute; left: .2rem; top: .25em; width: 7px; height: 12px; border-right: 2.5px solid var(--ok); border-bottom: 2.5px solid var(--ok); transform: rotate(45deg); }
.crosses li::before, .crosses li::after { content: ""; position: absolute; left: .1rem; top: .7em; width: 13px; height: 2.5px; background: var(--stop); transform: rotate(45deg); }
.crosses li::after { transform: rotate(-45deg); }
.trust__brands { align-self: end; }
.brands { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.brands li { padding: .45rem .9rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 650; font-stretch: var(--wide); font-size: var(--t-sm); }
.brands .brands__more { background: transparent; border-style: dashed; color: var(--muted); font-stretch: 100%; font-weight: 500; }
@media (max-width: 860px) { .trust__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .trust__cols { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { background: var(--surface); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.faq__head { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.faq__head .section__lead { margin-bottom: 1.25rem; }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 2px solid var(--ink); }
.qa__q { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; cursor: pointer; list-style: none; }
.qa__q::-webkit-details-marker { display: none; }
.qa__q h3 { margin: 0; font-size: var(--t-md); font-weight: 650; line-height: 1.3; }
.qa__q:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.qa__a { padding: 0 2.5rem 1.25rem 0; color: var(--ink-3); }
.qa__a p { margin: 0; max-width: 65ch; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: minmax(0, 1fr); } .faq__head { position: static; } }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, .5rem + 1.5vw, 1.75rem); }
.post-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line-soft); }
.post-card__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__body { padding: 1.1rem 1.25rem 1.35rem; display: flex; flex-direction: column; flex: 1; }
.post-card__title { font-size: var(--t-md); font-weight: 720; line-height: 1.25; margin: 0 0 .4rem; }
.post-card__title a { text-decoration: none; }
.post-card__title a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card__title a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.post-card__meta { display: flex; gap: 1rem; font-size: var(--t-xs); font-stretch: var(--cond); color: var(--muted); margin: 0 0 .5rem; }
.post-card__excerpt { font-size: var(--t-sm); color: var(--ink-3); margin: 0; }
.ph { display: grid; place-items: center; width: 100%; height: 100%; background:
	repeating-linear-gradient(var(--rot, 45deg), transparent 0 14px, rgba(21,32,43,.05) 14px 16px), var(--paper); }
.ph__icon { width: 56px; height: 56px; color: var(--ink); stroke-width: 1.4; }
.post-card:nth-child(3n+2) .ph { background-color: var(--accent-soft); }
@media (max-width: 960px) { .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: stretch; }
.contact__list { display: grid; gap: .5rem; margin-bottom: 2rem; }
.contact__item { display: flex; align-items: center; gap: 1rem; padding: .9rem 1rem; border-radius: var(--r); background: var(--surface); text-decoration: none; box-shadow: inset 0 0 0 1px var(--line-soft); transition: box-shadow .15s; }
.contact__item:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.contact__item > .i { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--accent); color: var(--ink); }
.contact__k { display: block; font-size: var(--t-xs); font-stretch: var(--cond); color: var(--muted); font-weight: 550; }
.contact__v { display: block; font-weight: 700; font-size: var(--t-md); word-break: break-word; }
.contact__h { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: var(--t-md); font-weight: 750; margin-bottom: .5rem; }
.hours { margin-bottom: .5rem; }
.hours th, .hours td { padding: .55rem 0; border-bottom: 1px solid var(--line-soft); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; font-stretch: var(--cond); font-weight: 650; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; }
.hours tr.is-today th::after { content: "šiandien"; margin-left: .5rem; padding: .05rem .45rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 600; font-stretch: var(--cond); vertical-align: .15em; }
.hours tr:nth-child(n+6) td { color: var(--muted); font-weight: 500; }
.hours__note { font-size: var(--t-xs); color: var(--muted); }
.contact__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.map { position: relative; min-height: 420px; border-radius: var(--r-lg); overflow: hidden; background: #e6ebef; box-shadow: inset 0 0 0 1px var(--line-soft); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem; text-align: center; padding: 1.5rem; }
.map__art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__road { stroke: #fff; stroke-width: 14; fill: none; }
.map__road--main { stroke: var(--accent-soft); stroke-width: 26; }
.map__road--thin { stroke-width: 6; }
.map__pin, .map__label, .map__placeholder .btn, .map__note { position: relative; }
.map__pin { filter: drop-shadow(0 8px 12px rgba(21,32,43,.35)); }
.map__label { margin: 0; font-weight: 800; font-stretch: var(--wide); font-size: var(--t-md); background: var(--surface); padding: .2rem .7rem; border-radius: 6px; }
.map__note { margin: 0; font-size: var(--t-xs); color: var(--muted); }
@media (max-width: 860px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } .map { min-height: 320px; } }

/* ---------- Page heads, breadcrumbs ---------- */
.page-head { padding-block: clamp(1.5rem, 1rem + 3vw, 3.5rem) clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--surface); border-bottom: 1px solid var(--line-soft); }
.page-head__title { font-size: var(--t-xl); font-weight: 800; font-stretch: var(--wide); letter-spacing: -.03em; line-height: 1.04; max-width: 24ch; text-wrap: balance; margin: 0 0 .6rem; }
.page-head--article .page-head__title { max-width: none; }
.page-head__lead { font-size: var(--t-md); color: var(--muted); max-width: 62ch; margin: 0; }
.page-head--404 { padding-block: clamp(3rem, 2rem + 6vw, 7rem); }
.page-head--404 .hero__actions { margin: 1.5rem 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem; list-style: none; margin: 0 0 1rem; padding: 0; font-size: var(--t-xs); color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: .35rem; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.article__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; font-size: var(--t-sm); font-stretch: var(--cond); color: var(--muted); margin: 0; }
.article__hero { margin-block: clamp(1rem, .5rem + 2vw, 2rem) 0; }
.article__hero img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--r-lg); }
.article .wrap--text { padding-block: clamp(1.5rem, 1rem + 2vw, 3rem); }
.article__tags a { display: inline-block; margin: 0 .4rem .4rem 0; padding: .3rem .75rem; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-size: var(--t-xs); }
.article__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.article__nav a { display: block; height: 100%; padding: 1rem 1.1rem; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-soft); text-decoration: none; font-weight: 650; line-height: 1.3; }
.article__nav a:hover { box-shadow: inset 0 0 0 2px var(--ink); }
.article__nav small { display: block; font-size: var(--t-xs); color: var(--muted); font-weight: 500; margin-bottom: .2rem; }
.article__next { grid-column: 2; text-align: right; }
@media (max-width: 560px) { .article__nav { grid-template-columns: minmax(0, 1fr); } .article__next { grid-column: 1; text-align: left; } }

/* ---------- Prose (įrašų turinys) ---------- */
.prose { font-size: 1.125rem; line-height: 1.7; max-width: var(--text); }
.prose--wide { max-width: none; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: var(--t-lg); font-weight: 780; font-stretch: var(--wide); letter-spacing: -.02em; margin-top: 2.2em; scroll-margin-top: calc(var(--header-h) + 20px); }
.prose h3 { font-size: var(--t-md); font-weight: 720; margin-top: 1.8em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose a { text-decoration-color: var(--accent-deep); text-decoration-thickness: 2px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--accent-deep); font-weight: 700; }
.prose blockquote { margin-inline: 0; padding: .8em 1.2em; border-left: 5px solid var(--accent); background: var(--surface); border-radius: 0 var(--r) var(--r) 0; }
.prose img { border-radius: var(--r); height: auto; }
.prose figure { margin-inline: 0; }
.prose figcaption, .wp-element-caption { font-size: var(--t-xs); color: var(--muted); margin-top: .5rem; }
.prose table { font-size: var(--t-sm); background: var(--surface); border-radius: var(--r); overflow: hidden; }
.prose th, .prose td { padding: .6rem .8rem; border-bottom: 1px solid var(--line-soft); text-align: left; }
.prose code { font-size: .9em; background: var(--surface); padding: .1em .35em; border-radius: 4px; }
.prose hr { border: 0; height: 2px; background: var(--line); margin-block: 2em; }
.prose .alignwide { max-width: none; }
.prose .alignleft { float: left; margin: .3em 1.5em 1em 0; max-width: 50%; }
.prose .alignright { float: right; margin: .3em 0 1em 1.5em; max-width: 50%; }
.prose .aligncenter { margin-inline: auto; }
.prose::after { content: ""; display: table; clear: both; }
.wp-block-gallery.has-nested-images figure.wp-block-image img, .gallery img { border-radius: var(--r-sm); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; }
.gallery .gallery-item { margin: 0; }
.wp-block-button__link { background: var(--accent); color: var(--ink); border-radius: 999px; font-weight: 650; }

.toc { margin-block: 1.75em; padding: 1.1rem 1.3rem; border-radius: var(--r); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line-soft); font-size: var(--t-sm); }
.toc__title { font-weight: 750; margin: 0 0 .5rem !important; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.cta-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem 2rem; align-items: center; margin-block: clamp(2rem, 1rem + 3vw, 3.5rem); padding: clamp(1.25rem, 1rem + 1.5vw, 2rem); border-radius: var(--r-lg); background: var(--ink); color: #e8edf1; }
.cta-box .cta-box__title { font-size: var(--t-lg); font-weight: 780; font-stretch: var(--wide); color: #fff; margin: 0 0 .4rem; }
.cta-box__text p { margin-bottom: .6rem; color: #c4ced6; }
.cta-box .status { color: #e8edf1; }
.cta-box .status.is-open .status__dot { background: #39c79f; }
.cta-box__actions { display: flex; flex-direction: column; gap: .6rem; }
.cta-box .btn--ghost { border-color: #e8edf1; color: #fff; }
.cta-box .btn--ghost:hover { background: #fff; color: var(--ink); }
@media (max-width: 700px) { .cta-box { grid-template-columns: minmax(0, 1fr); } }

/* Pagination, search, empty */
.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .9rem; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-weight: 650; }
.page-numbers.current { background: var(--ink); color: #fff; box-shadow: none; }
.page-numbers.dots { box-shadow: none; background: transparent; }
.searchform { display: flex; gap: .5rem; max-width: 480px; margin-block: 1rem; }
.searchform input { flex: 1; min-height: 48px; padding: .6rem 1.1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--surface); }
.searchform input:focus { outline: none; border-color: var(--ink); }
.searchform .btn { min-height: 48px; padding-inline: 1rem; }
.empty { padding: 2rem 0; }
.empty .btn { margin-top: .5rem; }
.page-links { margin-top: 2rem; display: flex; gap: .5rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c4ced6; padding-top: clamp(3rem, 2rem + 4vw, 5rem); font-size: var(--t-sm); }
.site-footer .logo { color: #fff; margin-bottom: 1rem; }
.site-footer .logo__sub { color: #8c9aa6; }
.site-footer .logo__mark rect { fill: #22303d; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer__h { font-size: var(--t-base); color: #fff; font-weight: 700; margin-bottom: .9rem; }
.site-footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer__list a { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; }
.site-footer__list a:hover { color: var(--accent); }
.site-footer__list .i { color: var(--accent); }
.site-footer__hours strong { color: #fff; font-size: var(--t-lg); font-stretch: var(--cond); font-variant-numeric: tabular-nums; }
.site-footer__muted { color: #8c9aa6; }
.site-footer__legal { color: #8c9aa6; font-size: var(--t-xs); }
.site-footer__bottom { margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid var(--ink-3); font-size: var(--t-xs); color: #8c9aa6; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 960px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Mobile bar & to top ---------- */
.mobilebar { display: none; }
@media (max-width: 760px) {
	body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
	.mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1px; background: var(--ink-3); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -8px 24px -16px rgba(0,0,0,.6); }
	.mobilebar__btn { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 64px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 650; font-size: var(--t-sm); }
	.mobilebar__btn--call { background: var(--accent); color: var(--ink); }
}
.totop { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: 1.25rem; z-index: 44; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(21,32,43,.6); opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s, background-color .15s; }
.totop[hidden] { display: grid; visibility: hidden; }
.totop.is-visible { opacity: 1; transform: none; visibility: visible; }
.totop:hover { background: var(--ink-3); }
.totop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop__ring circle { fill: none; stroke: var(--accent); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0)); stroke-linecap: round; }
.totop__icon { width: 22px; height: 22px; position: relative; }
@media (max-width: 760px) { .totop { bottom: calc(76px + env(safe-area-inset-bottom)); width: 46px; height: 46px; } }

/* ---------- Print ---------- */
@media print {
	.topbar, .site-header, .mobilebar, .totop, .diag, .calc, .map, .cta-box, .site-footer__grid > div:last-child { display: none !important; }
	body { background: #fff; padding: 0; }
	.js .tabpanel[data-hidden] { display: block; }
	.section { padding-block: 1.5rem; }
}
