/*
 * PCBaltic – pagrindiniai stiliai.
 * Spalvos: Baltijos jūros mėlyna + gintaras.
 */

@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage-grotesque.woff") format("woff");
	font-weight: 400 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Instrument Sans";
	src: url("../fonts/instrument-sans.woff") format("woff");
	font-weight: 400 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #0f2b3a;
	--ink-2: #1c4457;
	--sea: #2b6e85;
	--foam: #e8f0f2;
	--mist: #f4f8f9;
	--paper: #ffffff;
	--amber: #f0a93b;
	--amber-hover: #f6bb5c;
	--amber-deep: #8f5306;
	--amber-soft: #fdf1dc;
	--line: #d3e0e4;
	--line-strong: #b5c9cf;
	--text: #172c36;
	--muted: #4f6873;
	--ok: #1b8454;
	--closed: #b03a2e;

	--display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
	--body: "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

	--r-sm: 8px;
	--r-md: 14px;
	--r-lg: 22px;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 72px;
}

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

*, *::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: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

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

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

h1, h2, h3, h4 {
	font-family: var(--display);
	color: var(--ink);
	line-height: 1.12;
	margin: 0 0 .5em;
	font-weight: 750;
	letter-spacing: -0.015em;
}
h1 { font-size: clamp(2.35rem, 4.6vw + 1rem, 4.25rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 2.2vw + 1rem, 2.75rem); letter-spacing: -0.025em; }
h3, .h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
a { color: var(--sea); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }

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

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 1000;
	background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: 780px; }
.muted { color: var(--muted); }

.icon { flex: none; }

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

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	min-height: 46px; padding: .7em 1.25em;
	border-radius: 999px; border: 1.5px solid transparent;
	font: 600 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
	white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: .85em 1.5em; font-size: 1.05rem; }
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-hover); color: var(--ink); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); background: var(--paper); }
.btn-ghost-light { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { color: #fff; border-color: #fff; }

.text-link {
	display: inline-flex; align-items: center; gap: .35em;
	font-weight: 600; color: var(--sea); text-decoration: underline; text-decoration-color: var(--line-strong);
}
.text-link:hover { color: var(--ink); text-decoration-color: currentColor; }

/* ---------- Būsenos indikatorius ---------- */

.status {
	display: inline-flex; align-items: center; gap: .5em;
	font-size: .9rem; font-weight: 600; color: var(--muted);
	line-height: 1.3;
}
.status-dot {
	width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); flex: none;
}
.status.is-open { color: var(--ok); }
.status.is-open .status-dot { background: var(--ok); box-shadow: 0 0 0 4px rgba(27,132,84,.16); }
.status.is-closed { color: var(--closed); }
.status.is-closed .status-dot { background: var(--closed); }
.status .status-sub { color: var(--muted); font-weight: 500; }
.status-header { white-space: nowrap; font-size: .85rem; }
.status-header .status-sub { display: none; }

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

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.92);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
.admin-bar .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.is-scrolled { border-bottom-color: var(--line); }

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

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand .logo-mark { border-radius: 12px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; color: var(--ink); }
.brand-sub { font-size: .78rem; color: var(--muted); margin-top: 3px; }

.site-nav { margin-left: auto; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.nav-list a {
	display: block; padding: 8px 12px; border-radius: 999px;
	color: var(--text); text-decoration: none; font-weight: 600; font-size: .98rem;
}
.nav-list a:hover, .nav-list a[aria-current="page"], .nav-list .current-menu-item > a { background: var(--foam); color: var(--ink); }
.nav-extra { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.status-header { display: none; }
.btn-call { background: var(--ink); color: #fff; min-height: 44px; padding: .55em 1.05em; }
.btn-call:hover { background: var(--ink-2); color: #fff; }

.nav-toggle {
	display: none; width: 46px; height: 46px; border-radius: 50%;
	border: 1.5px solid var(--line-strong); background: var(--paper); cursor: pointer; position: relative;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
	position: absolute; left: 50%; width: 18px; height: 2px; background: var(--ink); border-radius: 2px;
	transform: translateX(-50%); transition: transform .2s, opacity .2s;
}
.nav-toggle-bars { top: 50%; margin-top: -1px; }
.nav-toggle-bars::before { content: ""; top: -6px; }
.nav-toggle-bars::after { content: ""; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

@media (min-width: 1180px) {
	.status-header { display: inline-flex; }
}

@media (max-width: 1023px) {
	.nav-toggle { display: inline-block; }
	.btn-call-text { display: none; }
	.btn-call { width: 46px; height: 46px; padding: 0; }
	.header-actions { margin-left: auto; gap: 10px; }
	.site-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; margin: 0;
		background: var(--paper); border-bottom: 1px solid var(--line);
		padding: 12px var(--gutter) 24px;
		max-height: calc(100vh - var(--header-h)); overflow-y: auto;
		box-shadow: 0 24px 40px -24px rgba(15,43,58,.35);
		display: none;
	}
	.admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
	.site-nav.is-open { display: block; }
	.nav-list { flex-direction: column; gap: 2px; }
	.nav-list a { padding: 14px 12px; font-size: 1.1rem; border-radius: var(--r-sm); }
	.nav-extra { display: grid; gap: 10px; padding: 16px 12px 0; margin-top: 10px; border-top: 1px solid var(--line); }
	.nav-address { display: flex; gap: 8px; align-items: center; margin: 0; color: var(--muted); }
}
@media (max-width: 420px) {
	.brand-sub { display: none; }
}

/* ---------- Hero ---------- */

.hero {
	position: relative;
	background-color: var(--foam);
	background-image:
		linear-gradient(rgba(43,110,133,.08) 1px, transparent 1px),
		linear-gradient(90deg, rgba(43,110,133,.08) 1px, transparent 1px);
	background-size: 28px 28px;
	background-position: -1px -1px;
	padding: clamp(32px, 6vw, 72px) 0 clamp(40px, 6vw, 80px);
	border-bottom: 1px solid var(--line);
}
.hero-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) {
	.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
	.hero-copy { padding-top: clamp(16px, 4vw, 56px); }
}
.hero-place {
	display: inline-flex; align-items: center; gap: .4em;
	font-weight: 600; color: var(--sea); margin-bottom: 18px;
}
.hero-title { max-width: 11ch; margin-bottom: 22px; }
.hero-lead { font-size: clamp(1.08rem, .5vw + 1rem, 1.25rem); color: var(--ink-2); max-width: 36em; margin-bottom: 28px; }

.hero-facts {
	display: grid; grid-template-columns: repeat(3, minmax(0, auto)); justify-content: start;
	gap: 0; margin: 0 0 30px; padding: 0;
	border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong);
}
.hero-facts > div { padding: 14px 26px 14px 0; margin-right: 26px; border-right: 1px solid var(--line-strong); }
.hero-facts > div:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-facts dt { font-size: .85rem; color: var(--muted); }
.hero-facts dd { margin: 2px 0 0; font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 1.5vw + 1rem, 2rem); color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
@media (max-width: 480px) {
	.hero-facts > div { padding-right: 14px; margin-right: 14px; }
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-hours { margin: 0; }

/* ---------- Interaktyvi schema ---------- */

.device {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	padding: clamp(16px, 2.5vw, 28px);
	box-shadow: 0 30px 60px -40px rgba(15,43,58,.45);
}
.device-title { font-family: var(--display); font-weight: 750; font-size: 1.35rem; color: var(--ink); margin: 0 0 4px; line-height: 1.25; }
.device-title span { display: block; font-family: var(--body); font-weight: 500; font-size: .95rem; color: var(--muted); }

.device-stage { margin: 0 auto 4px; max-width: 420px; }
.device-svg { display: block; width: 100%; height: auto; overflow: visible; }
.device-svg .shadow { fill: rgba(15,43,58,.08); }
.device-svg .case { fill: #f1f5f6; stroke: var(--ink); stroke-width: 1.6; }
.device-svg .case-inner { fill: #dfe8eb; stroke: var(--line-strong); stroke-width: 1; }
.device-svg .case-side { fill: #c9d7dc; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.device-svg .case-side-r { fill: #b6c8ce; }
.device-svg .lid { fill: var(--ink); stroke: var(--ink); stroke-width: 1.6; }
.device-svg .dot { fill: rgba(15,43,58,.18); }
.device-svg .trace { fill: none; stroke: rgba(15,43,58,.28); stroke-width: 1.2; stroke-linecap: round; }
.device-svg .chip { fill: var(--ink-2); }
.device-svg .chip-die { fill: #8fa9b2; }
.device-svg .detail { fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-linecap: round; opacity: .55; }
.device-svg .detail-fill { fill: var(--ink); opacity: .55; }
.device-svg .screen-line { stroke: rgba(255,255,255,.35); stroke-width: 5; stroke-linecap: round; fill: none; }
.device-svg .screen-box { fill: rgba(255,255,255,.12); }
.device-svg .key { fill: #fff; stroke: var(--line-strong); stroke-width: .8; }

.device-svg .part { cursor: pointer; }
.device-svg .part .hit { fill: #fff; stroke: var(--ink); stroke-width: 1.4; transition: fill .2s; }
.device-svg .part .hit.board { fill: #cfe3dc; }
.device-svg .part .hit.screen { fill: var(--sea); stroke: none; }
.device-svg .part .hit.kb { fill: #e6eef0; }
.device-svg .part .hit-stroke { fill: none; stroke: #b8862f; stroke-width: 7; stroke-linecap: round; transition: stroke .2s; }
.device-svg .part:hover .hit { fill: var(--amber-soft); }
.device-svg .part:hover .hit.screen { fill: #3d8aa3; }
.device-svg .part.is-active .hit { fill: var(--amber); }
.device-svg .part.is-active .hit.screen { fill: var(--amber); }
.device-svg .part.is-active .hit-stroke { stroke: var(--amber-deep); }
.device-svg .part.is-active .screen-line { stroke: rgba(15,43,58,.3); }
.device-svg .part.is-active .screen-box { fill: rgba(15,43,58,.12); }
.device-svg .part.is-active .key { fill: #fff6e6; stroke: var(--amber-deep); }

.device-pin { pointer-events: none; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.device-pin .pin-halo { fill: rgba(240,169,59,.28); animation: pcb-pulse 2.2s ease-out infinite; transform-origin: center; transform-box: fill-box; }
.device-pin .pin-core { fill: var(--ink); stroke: #fff; stroke-width: 2.5; }
html:not(.js) .device-pin { display: none; }
@keyframes pcb-pulse {
	0% { transform: scale(.55); opacity: 1; }
	100% { transform: scale(1.5); opacity: 0; }
}

.device-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 16px; }
.chip-btn {
	appearance: none; border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink);
	font: 600 .92rem/1 var(--body); padding: 9px 14px; border-radius: 999px; cursor: pointer;
	transition: background-color .15s, border-color .15s;
	min-height: 40px;
}
.chip-btn:hover { border-color: var(--ink); }
.chip-btn[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip-btn-lg { font-size: 1rem; padding: 12px 18px; min-height: 46px; }

.device-panels, .check-panels { position: relative; }
.js [data-inactive] { display: none; }
.device-panel {
	border-top: 1px solid var(--line); padding-top: 16px;
}
html:not(.js) .device-panel + .device-panel { margin-top: 16px; }
.device-panel-title { font-size: 1.2rem; margin-bottom: 6px; }
.device-panel-text { color: var(--muted); margin-bottom: 14px; }
.device-panel-facts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 12px; }
.device-panel-facts dt { font-size: .82rem; color: var(--muted); }
.device-panel-facts dd { margin: 0; }
.device-panel-facts strong { font-family: var(--display); font-size: 1.35rem; color: var(--ink); letter-spacing: -0.02em; }
.device-panel-facts span { color: var(--muted); font-size: .9rem; }

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

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding-top: clamp(32px, 5vw, 56px); padding-bottom: clamp(32px, 5vw, 56px); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* Paslaugos */
.services {
	list-style: none; margin: 0; padding: 0;
	display: grid; gap: 0 32px;
	grid-template-columns: 1fr;
	border-top: 1px solid var(--line);
}
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .services { grid-template-columns: repeat(3, 1fr); } }
.service {
	padding: 28px 28px 28px 0;
	border-bottom: 1px solid var(--line);
	display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-content: start;
}
.service-icon {
	grid-row: span 3; width: 52px; height: 52px; border-radius: 16px;
	background: var(--foam); color: var(--ink);
	display: grid; place-items: center;
}
.service h3 { font-size: 1.15rem; margin: 4px 0 6px; }
.service p { color: var(--muted); margin: 0 0 10px; font-size: 1rem; }
.service .text-link { justify-self: start; font-size: .95rem; }
.service:hover .service-icon { background: var(--amber); }

/* Kainos */
.section-prices { background: var(--mist); border-block: 1px solid var(--line); }
.tab-list {
	display: flex; gap: 6px; flex-wrap: wrap;
	margin-bottom: 0;
}
.tab {
	appearance: none; cursor: pointer;
	border: 1.5px solid var(--line-strong); background: var(--paper); color: var(--ink);
	font: 600 .98rem/1 var(--body); padding: 13px 18px; border-radius: 999px; min-height: 46px;
}
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
html:not(.js) .tab-list { display: none; }
.tab-panel {
	margin-top: 18px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: clamp(8px, 2vw, 16px) clamp(16px, 3vw, 32px);
}
html:not(.js) .tab-panel + .tab-panel { margin-top: 24px; }
.tab-panel-title { font-size: 1.15rem; padding-top: 16px; }
.js .tab-panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th {
	text-align: left; font-size: .85rem; font-weight: 600; color: var(--muted);
	padding: 14px 12px 10px 0; border-bottom: 1px solid var(--line-strong);
}
.price-table td, .price-table tbody th {
	padding: 15px 12px 15px 0; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left;
}
.price-table tbody tr:last-child > * { border-bottom: 0; }
.price-table tbody th { font-weight: 600; color: var(--ink); }
.price-note { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; margin-top: 2px; }
.price-table .price { font-family: var(--display); font-weight: 750; font-size: 1.15rem; color: var(--ink); white-space: nowrap; letter-spacing: -0.01em; }
.price-table .time { color: var(--muted); white-space: nowrap; font-size: .95rem; }
.price-table th:nth-child(2), .price-table th:nth-child(3) { width: 1%; }
.price-table tbody tr:hover > * { background: linear-gradient(var(--amber-soft), var(--amber-soft)); }
@media (max-width: 640px) {
	.price-table thead { display: none; }
	.price-table, .price-table tbody, .price-table tr { display: block; }
	.price-table tr {
		display: grid; grid-template-columns: 1fr auto; column-gap: 12px;
		padding: 14px 0; border-bottom: 1px solid var(--line);
	}
	.price-table tbody tr:last-child { border-bottom: 0; }
	.price-table td, .price-table tbody th { padding: 0; border: 0; }
	.price-table tbody th { grid-column: 1; grid-row: 1 / span 2; }
	.price-table .price { grid-column: 2; text-align: right; }
	.price-table .time { grid-column: 2; text-align: right; font-size: .85rem; }
}
.prices-foot {
	display: flex; gap: 12px; align-items: flex-start;
	margin: 22px 0 0; color: var(--muted); max-width: 820px;
}
.prices-foot .icon { color: var(--sea); margin-top: 2px; }

/* Savitikra */
.check-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.check-panel {
	background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
	padding: clamp(20px, 3vw, 36px);
}
html:not(.js) .check-panel + .check-panel { margin-top: 20px; }
.check-panel-title { font-size: 1.5rem; margin-bottom: 18px; }
.check-cols { display: grid; gap: 28px; }
@media (min-width: 900px) { .check-cols { grid-template-columns: 1fr 1fr .9fr; gap: 36px; } }
.check-cols h4 { display: flex; align-items: center; gap: 8px; font-family: var(--body); font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: 12px; }
.check-cols h4 .icon { color: var(--sea); }
.check-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.check-cols li { position: relative; padding-left: 18px; color: var(--text); }
.check-cols li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--line-strong); }
.check-fix { background: var(--amber-soft); border-radius: var(--r-md); padding: 20px 22px; align-self: start; }
.check-fix h4 .icon { color: var(--amber-deep); }
.check-price { font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--ink); margin: 6px 0 14px; letter-spacing: -0.02em; }

/* Procesas */
.steps {
	list-style: none; margin: 0; padding: 0; counter-reset: step;
	display: grid; gap: 0;
}
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); } }
.steps li {
	counter-increment: step; position: relative;
	padding: 0 0 28px 60px;
}
.steps li::before {
	content: counter(step);
	position: absolute; left: 0; top: 0;
	width: 42px; height: 42px; border-radius: 50%;
	display: grid; place-items: center;
	font: 800 1.1rem/1 var(--display); color: var(--ink);
	background: var(--paper); border: 2px solid var(--ink);
}
.steps li::after {
	content: ""; position: absolute; left: 20px; top: 46px; bottom: 4px; width: 2px; background: var(--line);
}
.steps li:last-child::after { display: none; }
.steps li:first-child::before { background: var(--amber); border-color: var(--amber); }
@media (min-width: 900px) {
	.steps li { padding: 62px 22px 0 0; }
	.steps li::after { left: 46px; right: 0; top: 20px; bottom: auto; width: auto; height: 2px; }
	.steps li:last-child::after { display: none; }
}
.steps h3 { font-size: 1.1rem; margin-bottom: 6px; }
.steps p { color: var(--muted); margin: 0; font-size: .98rem; }

/* Kodėl mes (tamsi) */
.section-ink { background: var(--ink); color: #d6e4e9; }
.section-ink h2 { color: #fff; }
.why-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .why-grid { grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; } }
.why-copy > p { font-size: 1.1rem; color: #b9cdd4; max-width: 40em; }
.why-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 16px; }
.why-list li { display: flex; gap: 12px; align-items: flex-start; }
.why-list .icon { color: var(--amber); margin-top: 2px; }
.why-list strong { color: #fff; }
.why-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(255,255,255,.14); border-radius: var(--r-lg); overflow: hidden; }
.why-facts > div { background: var(--ink); padding: 26px 24px; }
.why-facts dt { color: #9fb8c1; font-size: .9rem; }
.why-facts dd { margin: 4px 0 0; font-family: var(--display); font-weight: 800; color: var(--amber); font-size: clamp(2rem, 2vw + 1.2rem, 2.8rem); letter-spacing: -0.03em; line-height: 1.05; }
.brands { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 28px; }
.brands-title { color: #9fb8c1; font-size: .95rem; margin-bottom: 14px; }
.brand-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.brand-list li { border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 7px 14px; font-weight: 600; color: #fff; font-size: .95rem; }

/* Taisyti ar pirkti */
.verdicts { display: grid; gap: 18px; }
@media (min-width: 900px) { .verdicts { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.verdict { border-radius: var(--r-lg); padding: 26px 26px 22px; border: 1px solid var(--line); background: var(--paper); position: relative; }
.verdict::before { content: ""; position: absolute; left: 26px; right: 26px; top: 0; height: 4px; border-radius: 0 0 4px 4px; }
.verdict-yes::before { background: var(--ok); }
.verdict-maybe::before { background: var(--amber); }
.verdict-no::before { background: var(--closed); }
.verdict h3 { margin-top: 6px; }
.verdict ul { margin: 0 0 16px; padding-left: 1.1em; display: grid; gap: 6px; }
.verdict-note { margin: 0; padding-top: 14px; border-top: 1px dashed var(--line-strong); color: var(--muted); font-size: .95rem; }

/* Patarimai */
.section-tips { background: var(--mist); border-block: 1px solid var(--line); }
.tips { display: grid; gap: 14px; }
@media (min-width: 900px) { .tips { grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; } }
.tip { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); }
.tip summary {
	list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; position: relative;
	display: flex; flex-direction: column; gap: 4px;
}
.tip summary::-webkit-details-marker { display: none; }
.tip summary .icon { position: absolute; right: 22px; top: 24px; color: var(--ink); transition: transform .2s; }
.tip[open] summary .icon { transform: rotate(180deg); }
.tip-title { font-family: var(--display); font-weight: 750; font-size: 1.2rem; color: var(--ink); line-height: 1.25; }
.tip-lead { color: var(--muted); }
.tip-list { margin: 0; padding: 0 24px 24px 48px; display: grid; gap: 8px; }
.tip-list li::marker { color: var(--amber-deep); }

.latest { margin-top: 48px; }
.latest-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 12px; }
.latest-head h3 { margin: 0; }
.post-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.post-list a { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.post-list a:hover .post-list-title { text-decoration: underline; }
.post-list-title { font-weight: 600; }
.post-list-meta { color: var(--muted); white-space: nowrap; font-size: .95rem; }

/* DUK */
.faq-grid { display: grid; gap: 24px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } .faq-head { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.faq { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
	list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative;
	font-weight: 600; font-size: 1.08rem; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { position: absolute; right: 4px; top: 20px; transition: transform .2s; }
.faq-item[open] summary .icon { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--sea); }
.faq-item p { margin: 0 0 22px; color: var(--muted); max-width: 62ch; }

/* Kontaktai */
.section-contact { background: var(--foam); border-top: 1px solid var(--line); }
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: stretch; } }
.contact-title { font-size: clamp(1.85rem, 2.2vw + 1rem, 2.75rem); margin-bottom: 10px; }
.contact-list { list-style: none; margin: 24px 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon { color: var(--sea); margin-top: 4px; }
.contact-label { display: block; font-size: .85rem; color: var(--muted); margin: 0; }
.contact-value { display: block; font-family: var(--display); font-weight: 750; font-size: 1.35rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
a.contact-value:hover { color: var(--sea); }
.contact-hint { display: block; color: var(--muted); font-size: .95rem; }
.contact-hours { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; margin-bottom: 24px; }
.hours { width: 100%; border-collapse: collapse; margin-top: 6px; }
.hours th, .hours td { padding: 7px 0; text-align: left; font-weight: 500; border-bottom: 1px solid var(--line); }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr:last-child > * { border-bottom: 0; }
.hours tr.is-today > * { font-weight: 700; color: var(--ink); }
.hours tr.is-today th::after { content: " – šiandien"; font-weight: 500; color: var(--sea); }
.hours-note { margin: 8px 0 0; font-size: .88rem; color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; }

.map {
	position: relative; min-height: 360px; border-radius: var(--r-lg); overflow: hidden;
	border: 1px solid var(--line-strong); background: #dfe9ec;
}
.map-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-bg { fill: #e4ecee; }
.map-road { fill: none; stroke: #fff; stroke-width: 14; stroke-linecap: round; }
.map-road-main { stroke: #fff; stroke-width: 26; }
.map-road-center { fill: none; stroke: var(--amber); stroke-width: 3; stroke-dasharray: 14 10; }
.map-block { fill: #d2dfe3; }
.map-park { fill: #cfe3d4; }
.map-label { font: 700 15px var(--body); fill: var(--ink-2); }
.map-halo { fill: rgba(240,169,59,.25); }
.map-pin { fill: var(--ink); }
.map-pin-dot { fill: var(--amber); }
.map-overlay {
	position: absolute; left: 16px; right: 16px; bottom: 16px;
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
	background: rgba(255,255,255,.94); border-radius: var(--r-md); padding: 14px 16px;
	box-shadow: 0 12px 30px -18px rgba(15,43,58,.5);
}
.map-address { margin: 0; font-family: var(--display); font-weight: 750; color: var(--ink); font-size: 1.15rem; line-height: 1.2; }
.map-address span { display: block; font-family: var(--body); font-weight: 500; font-size: .9rem; color: var(--muted); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map.is-loaded .map-art, .map.is-loaded .map-overlay { display: none; }

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

.page-hero {
	background-color: var(--foam);
	background-image:
		linear-gradient(rgba(43,110,133,.07) 1px, transparent 1px),
		linear-gradient(90deg, rgba(43,110,133,.07) 1px, transparent 1px);
	background-size: 28px 28px;
	border-bottom: 1px solid var(--line);
	padding: clamp(28px, 4vw, 48px) 0 clamp(32px, 5vw, 56px);
}
.page-title { font-size: clamp(2.1rem, 3.4vw + 1rem, 3.5rem); max-width: 20ch; margin-bottom: 14px; }
.page-lead { font-size: 1.15rem; color: var(--ink-2); max-width: 44em; margin: 0; }
.entry-meta { color: var(--muted); margin: 0; }

.crumbs { margin-bottom: 18px; font-size: .92rem; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.crumbs a { color: var(--sea); }

.entry-thumb { margin: 32px auto 0; }
.entry-thumb img { border-radius: var(--r-lg); width: 100%; }

.prose { padding-top: clamp(32px, 4vw, 48px); padding-bottom: clamp(40px, 5vw, 64px); font-size: 1.1rem; line-height: 1.7; }
.prose > * { max-width: 72ch; }
.prose-wide > * { max-width: none; }
.prose-wide > p, .prose-wide > ul, .prose-wide > ol, .prose-wide > h2, .prose-wide > h3 { max-width: 72ch; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--amber); color: var(--ink-2); font-size: 1.15rem; }
.prose img { border-radius: var(--r-md); }
.prose figure { margin: 1.5em 0; }
.prose figcaption { color: var(--muted); font-size: .9rem; margin-top: 6px; }
.prose table { border-collapse: collapse; width: 100%; }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; }
.prose .wp-block-gallery { gap: 12px; }
.prose .wp-block-gallery img { border-radius: var(--r-md); }
.prose .wp-block-image img { border-radius: var(--r-md); }
.prose .alignwide { max-width: 1100px; }
.prose .alignfull { max-width: none; margin-inline: calc(-1 * var(--gutter)); }
.prose .wp-block-button__link { background: var(--ink); color: #fff; border-radius: 999px; padding: .7em 1.3em; text-decoration: none; font-weight: 600; }

.entry-footer { padding-bottom: 56px; }
.entry-cats { color: var(--muted); }
.post-navigation .nav-links { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-top: 16px; }
.post-navigation a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; height: 100%; }
.post-navigation a:hover { border-color: var(--ink); }
.post-navigation .nav-next { text-align: right; }
.nav-label { display: block; font-size: .85rem; color: var(--muted); }
.nav-title { display: block; font-weight: 600; color: var(--ink); }

/* Kortelės (tinklaraštis) */
.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.card { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); transition: border-color .15s; }
.card:hover { border-color: var(--line-strong); }
.card-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.card-media { display: block; aspect-ratio: 16 / 10; background: var(--foam); }
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card-media-empty { display: grid; place-items: center; background-image: linear-gradient(rgba(43,110,133,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(43,110,133,.08) 1px, transparent 1px); background-size: 22px 22px; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; }
.card-meta { font-size: .88rem; color: var(--muted); }
.card-title { font-size: 1.3rem; margin: 0; }
.card-link:hover .card-title { text-decoration: underline; text-decoration-thickness: 2px; text-decoration-color: var(--amber); }
.card-excerpt { color: var(--muted); }
.empty { padding: 24px 0; font-size: 1.1rem; }

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

.arrival { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.arrival li { display: flex; gap: 12px; align-items: flex-start; padding: 18px; border: 1px solid var(--line); border-radius: var(--r-md); }
.arrival .icon { color: var(--sea); }

.quick-links { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }

/* CTA juosta */
.cta-band { background: var(--ink); color: #c9dbe1; padding: clamp(36px, 5vw, 56px) 0; }
.cta-band-inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
.cta-band-title { font-family: var(--display); font-weight: 800; font-size: clamp(1.5rem, 1.5vw + 1rem, 2rem); color: #fff; margin: 0 0 4px; letter-spacing: -0.02em; }
.cta-band-text { margin: 0; max-width: 40em; }
.cta-band-actions { display: flex; flex-wrap: wrap; gap: 10px; }

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

.site-footer { background: #0b2230; color: #a9c0c8; padding: 56px 0 0; font-size: .98rem; }
.site-footer a { color: #e2edf0; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding-bottom: 40px; }
.footer-brand { max-width: 340px; }
.brand-footer .brand-name { color: #fff; }
.brand-footer .brand-sub { color: #8fa9b2; }
.footer-brand p { margin-top: 16px; }
.footer-title { font-family: var(--display); font-weight: 750; color: #fff; font-size: 1.1rem; margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list .icon { color: var(--amber); margin-top: 3px; }
.footer-list strong { color: #fff; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer .status { color: #a9c0c8; }
.site-footer .status.is-open { color: #5fd39a; }
.site-footer .status.is-open .status-dot { background: #5fd39a; box-shadow: 0 0 0 4px rgba(95,211,154,.18); }
.site-footer .status.is-closed { color: #f08b7f; }
.site-footer .status.is-closed .status-dot { background: #f08b7f; }
.site-footer .status .status-sub { color: #8fa9b2; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .88rem; color: #7f9aa4; }
.footer-bottom p { margin: 0; }

/* ---------- Mobilioji juosta ir „į viršų“ ---------- */

.mobile-bar { display: none; }
@media (max-width: 767px) {
	.mobile-bar {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
		display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px;
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255,255,255,.96); border-top: 1px solid var(--line);
		-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
		transform: translateY(110%); transition: transform .25s;
	}
	.mobile-bar.is-visible { transform: none; }
	.mobile-bar a {
		display: flex; align-items: center; justify-content: center; gap: 8px;
		min-height: 48px; border-radius: 999px; font-weight: 700; text-decoration: none;
	}
	.mobile-bar-call { background: var(--amber); color: var(--ink); }
	.mobile-bar-map { background: var(--ink); color: #fff; }
	.mobile-bar-map:hover { color: #fff; }
	body { padding-bottom: 76px; }
}

.to-top {
	position: fixed; right: 18px; bottom: 18px; z-index: 55;
	width: 52px; height: 52px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--ink); color: #fff;
	display: grid; place-items: center;
	box-shadow: 0 14px 30px -12px rgba(15,43,58,.6);
	opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s, background-color .15s;
}
.to-top[hidden] { display: none; }
.to-top.is-visible { opacity: 1; transform: none; }
.to-top:hover { background: var(--ink-2); }
.to-top .icon { position: relative; }
.to-top-ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top-track { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 3; }
.to-top-progress { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
@media (max-width: 767px) {
	.to-top { bottom: calc(86px + env(safe-area-inset-bottom)); right: 14px; width: 48px; height: 48px; }
}

/* WordPress klasės */
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text { color: var(--muted); font-size: .9rem; }
.sticky, .gallery-caption, .bypostauthor { outline: 0; }

@media print {
	.site-header, .mobile-bar, .to-top, .map, .cta-band, .device-chips { display: none !important; }
	body { padding: 0; }
}
