/*
Theme Name: CharterJets – Įrankių remontas
Theme URI: https://www.charterjets.lt/
Author: CharterJets.lt
Description: Greita, SEO optimizuota tema elektrinių ir statybinių įrankių taisyklai Kaune. Veikia be įskiepių: kainoraštis, kainos skaičiuoklė, „taisyti ar pirkti“ skaičiuoklė, gedimų gidas, DUK su schema.org, gyvas darbo laiko statusas, 301 nukreipimai seniems adresams, logotipas ir favicon. Be užklausų formų.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 7.1
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: charterjets
Tags: one-column, custom-logo, custom-menu, featured-images, translation-ready, accessibility-ready
*/

/* ==========================================================
   1. Šriftas ir kintamieji
   ========================================================== */

@font-face {
	font-family: "CJ Condensed";
	src: url("assets/fonts/cj-condensed-bold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

:root {
	--ink: #1c2127;
	--ink-2: #252b33;
	--ink-3: #343c46;
	--concrete: #e8eaeb;
	--concrete-2: #dde0e2;
	--paper: #ffffff;
	--steel: #545f69;
	--line: #c5cbcf;
	--copper: #a4511a;
	--copper-2: #87410f;
	--hivis: #ffc21a;
	--hivis-2: #f2b200;
	--ok: #1d7f46;
	--closed: #b3261e;

	--f-cond: "CJ Condensed", "Bahnschrift SemiBold Condensed", "Roboto Condensed", "Arial Narrow", sans-serif-condensed, sans-serif;
	--f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

	--wrap: 1180px;
	--gutter: clamp(1rem, 4vw, 2rem);
	--radius: 6px;
	--header-h: 72px;
}

/* ==========================================================
   2. Pagrindai
   ========================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}

body {
	margin: 0;
	background: var(--concrete);
	color: var(--ink);
	font-family: var(--f-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

img { height: auto; display: block; }

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

h1, h2, h3, h4 {
	font-family: var(--f-cond);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -.005em;
	margin: 0 0 .5em;
	text-wrap: balance;
}

h2 { font-size: clamp(2.1rem, 4.4vw, 3.25rem); }
h3 { font-size: 1.35rem; line-height: 1.15; }

p { margin: 0 0 1em; }

:focus-visible {
	outline: 3px solid var(--hivis);
	outline-offset: 2px;
	box-shadow: 0 0 0 6px var(--ink);
	border-radius: 2px;
}

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

.skip-link {
	position: absolute; left: 1rem; top: -100px; z-index: 1000;
	background: var(--hivis); color: var(--ink);
	padding: .75rem 1rem; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

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

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.wrap--text { max-width: 820px; }
.wrap--wide { max-width: 1120px; }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.22em; }

/* ==========================================================
   3. Mygtukai
   ========================================================== */

.btn {
	display: inline-flex; align-items: center; gap: .55rem;
	min-height: 48px; padding: .7rem 1.2rem;
	border: 2px solid var(--ink); border-radius: var(--radius);
	font-family: var(--f-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
	text-decoration: none; color: var(--ink); background: transparent;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:hover { text-decoration: none; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn--hivis { background: var(--hivis); border-color: var(--hivis); }
.btn--hivis:hover { background: var(--hivis-2); border-color: var(--hivis-2); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { border-color: var(--paper); color: var(--paper); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }
.btn--lg { min-height: 56px; padding: .9rem 1.4rem; font-size: 1.05rem; }

/* ==========================================================
   4. Antraštė
   ========================================================== */

.site-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(232, 234, 235, .94);
	-webkit-backdrop-filter: saturate(1.2) blur(8px);
	backdrop-filter: saturate(1.2) blur(8px);
	border-bottom: 1px solid var(--line);
}
.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: 1rem;
	min-height: var(--header-h);
}

.logo {
	display: inline-flex; align-items: center; gap: .6rem;
	color: var(--ink); text-decoration: none; margin-right: auto;
}
.logo:hover { color: var(--ink); text-decoration: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--f-cond); font-size: 1.55rem; letter-spacing: -.01em; }
.logo-tld { color: var(--copper); }
.logo-sub { font-size: .78rem; color: var(--steel); margin-top: .2rem; }
.custom-logo-link { margin-right: auto; }
.custom-logo { max-height: 52px; width: auto; }

.site-nav .menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-nav .menu a {
	display: block; padding: .55rem .7rem;
	color: var(--ink); font-weight: 600; font-size: .98rem; text-decoration: none;
	border-radius: var(--radius);
}
.site-nav .menu a:hover,
.site-nav .current-menu-item > a { background: var(--concrete-2); }
.site-nav .sub-menu { list-style: none; padding: 0; margin: 0; }
.site-nav__status { display: none; }

.nav-toggle {
	display: none;
	width: 48px; height: 48px; border: 2px solid var(--ink); border-radius: var(--radius);
	background: transparent; color: var(--ink); cursor: pointer;
	align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1020px) {
	.header-call span { display: none; }
	.header-call { padding: .7rem; }
}

@media (max-width: 900px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		background: var(--paper);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 18px 30px -18px rgba(28, 33, 39, .45);
		padding: .75rem var(--gutter) 1.25rem;
		display: none;
	}
	.site-nav.is-open { display: block; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu a { padding: .85rem .5rem; border-bottom: 1px solid var(--concrete-2); border-radius: 0; font-size: 1.05rem; }
	.site-nav .sub-menu a { padding-left: 1.5rem; }
	.site-nav__status { display: flex; align-items: center; gap: .5rem; margin: 1rem .5rem 0; color: var(--steel); font-size: .95rem; }
	.header-call { order: 2; }
	.nav-toggle { order: 3; }
}

/* ==========================================================
   5. Darbo laiko statusas
   ========================================================== */

.status-dot {
	display: inline-block; width: .7em; height: .7em; border-radius: 50%;
	background: var(--steel); flex: none;
}
.status-dot.is-open { background: var(--ok); box-shadow: 0 0 0 0 rgba(29, 127, 70, .5); }
.status-dot.is-closed { background: var(--closed); }
@media (prefers-reduced-motion: no-preference) {
	.status-dot.is-open { animation: pulse 2.4s ease-out infinite; }
}
@keyframes pulse {
	0% { box-shadow: 0 0 0 0 rgba(29, 127, 70, .55); }
	70% { box-shadow: 0 0 0 .55em rgba(29, 127, 70, 0); }
	100% { box-shadow: 0 0 0 0 rgba(29, 127, 70, 0); }
}

/* ==========================================================
   6. Hero su remonto žyme
   ========================================================== */

.hero {
	padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(3rem, 6vw, 5.5rem);
	overflow: hidden;
}
.hero__grid {
	display: grid; gap: clamp(1.5rem, 4vw, 4rem);
	grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
	align-items: start;
}
.hero__title {
	font-size: clamp(3.1rem, 9.2vw, 7.4rem);
	line-height: .9;
	letter-spacing: -.02em;
	margin: .2em 0 .35em;
	max-width: 9ch;
}
.hero__lead { font-size: clamp(1.08rem, 1.7vw, 1.25rem); max-width: 56ch; color: var(--ink-3); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.5rem; }
.hero__brands { color: var(--steel); font-size: .95rem; max-width: 52ch; margin: 0; }

.hero__tag-wrap { display: flex; flex-direction: column; align-items: center; }
.tag-string { display: block; width: 60px; height: 110px; margin: -2rem auto -46px; color: var(--copper); position: relative; z-index: 2; }

.tag {
	position: relative;
	width: min(100%, 360px);
	background: var(--paper);
	padding: 4.4rem 1.6rem 1.4rem;
	clip-path: polygon(20% 0, 80% 0, 100% 11%, 100% 100%, 0 100%, 0 11%);
	transform: rotate(-3deg);
	transform-origin: 50% 2.1rem;
	filter: drop-shadow(0 22px 22px rgba(28, 33, 39, .18)) drop-shadow(0 2px 2px rgba(28, 33, 39, .12));
}
@media (prefers-reduced-motion: no-preference) {
	.tag { animation: swing 2s cubic-bezier(.3, .7, .3, 1) .15s both; }
}
@keyframes swing {
	0% { transform: rotate(-18deg); }
	28% { transform: rotate(9deg); }
	52% { transform: rotate(-6deg); }
	74% { transform: rotate(1deg); }
	100% { transform: rotate(-3deg); }
}
.tag__hole {
	position: absolute; left: 50%; top: 1.35rem;
	width: 1.6rem; height: 1.6rem; margin-left: -.8rem;
	border-radius: 50%;
	background: var(--concrete);
	border: 5px solid var(--hivis);
}
.tag__title {
	font-family: var(--f-cond); font-size: 1.7rem; line-height: 1;
	margin: 0 0 .9rem; padding-bottom: .8rem;
	border-bottom: 2px solid var(--ink);
}
.tag__fields { margin: 0; }
.tag__fields > div {
	display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
	padding: .6rem 0;
	border-bottom: 1px dashed var(--line);
}
.tag__fields dt { color: var(--steel); font-size: .95rem; }
.tag__fields dd { margin: 0; font-family: var(--f-cond); font-size: 1.85rem; line-height: 1; color: var(--copper); white-space: nowrap; }
.tag__status {
	display: flex; align-items: center; gap: .55rem;
	margin: 1rem 0 0; font-size: .95rem; font-weight: 600; line-height: 1.3;
}

@media (max-width: 860px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__title { max-width: none; }
	.tag-string { margin-top: 0; }
}

/* ==========================================================
   7. Skiltys
   ========================================================== */

.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tight { padding-top: 1rem; }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: #e9ecee; }
.section--ink a { color: var(--hivis); }

.section__head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section__head p { color: var(--steel); font-size: 1.1rem; margin: 0; }
.section--ink .section__head p { color: #b9c0c6; }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }
.section__head--row h2 { margin: 0; }

/* Paslaugos */
.services {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: clamp(1.5rem, 4vw, 3.5rem);
	border-top: 2px solid var(--ink);
}
.service {
	display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 1rem;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--line);
	scroll-margin-top: calc(var(--header-h) + 16px);
}
.service__icon { color: var(--copper); }
.service__icon .icon { width: 44px; height: 44px; stroke-width: 1.4; }
.service h3 { margin: .15rem 0 .4rem; }
.service p { margin: 0 0 .4rem; color: var(--ink-3); font-size: 1rem; }
.service .service__faults { color: var(--steel); font-size: .92rem; font-style: italic; margin: 0; }
.service__price { margin: .2rem 0 0; text-align: right; white-space: nowrap; color: var(--steel); font-size: .9rem; }
.service__price strong { display: block; font-family: var(--f-cond); font-size: 1.6rem; color: var(--ink); line-height: 1; }

@media (max-width: 800px) {
	.services { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
	.service { grid-template-columns: 36px minmax(0, 1fr); }
	.service__icon .icon { width: 34px; height: 34px; }
	.service__price { grid-column: 2; text-align: left; }
	.service__price strong { display: inline; font-size: 1.3rem; }
}

/* Remonto eiga */
.steps {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.5rem;
	counter-reset: step;
}
.steps li { counter-increment: step; position: relative; padding-top: 4.2rem; }
.steps li::before {
	content: counter(step);
	position: absolute; top: 0; left: 0;
	font-family: var(--f-cond); font-size: 3.4rem; line-height: 1; color: var(--hivis);
}
.steps li::after {
	content: ""; position: absolute; top: 1.7rem; left: 2.6rem; right: -1rem;
	border-top: 2px dashed var(--ink-3);
}
.steps li:last-child::after { display: none; }
.steps h3 { color: var(--paper); font-size: 1.3rem; }
.steps p { color: #b9c0c6; font-size: .98rem; margin: 0; }

@media (max-width: 960px) {
	.steps { grid-template-columns: 1fr; gap: 0; }
	.steps li { padding: 0 0 1.75rem 4.2rem; }
	.steps li::before { font-size: 2.6rem; }
	.steps li::after { top: 3rem; bottom: .5rem; left: .9rem; right: auto; border-top: 0; border-left: 2px dashed var(--ink-3); }
}

/* Kainoraštis */
.pricelist {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1rem, 3vw, 2rem);
	align-items: start;
}
.pricelist__group {
	background: var(--paper);
	border-top: 4px solid var(--ink);
	padding: 1.4rem clamp(1rem, 3vw, 1.75rem) 1rem;
	scroll-margin-top: calc(var(--header-h) + 16px);
}
.pricelist__group:first-child { grid-row: span 2; border-top-color: var(--hivis); }
.pricelist__group h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.pricelist table { width: 100%; border-collapse: collapse; }
.pricelist tr {
	display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; align-items: baseline;
	padding: .7rem 0; border-bottom: 1px dashed var(--line);
}
.pricelist tbody tr:last-child { border-bottom: 0; }
.pricelist th { text-align: left; font-weight: 500; }
.pricelist th small { display: block; color: var(--steel); font-size: .85rem; font-weight: 400; }
.pricelist td { font-family: var(--f-cond); font-size: 1.4rem; white-space: nowrap; text-align: right; }
.pricelist__note { display: flex; gap: .6rem; align-items: flex-start; margin: 1.75rem 0 0; color: var(--steel); max-width: 70ch; }
.pricelist__note .icon { color: var(--ok); margin-top: .15em; }

@media (max-width: 860px) {
	.pricelist { grid-template-columns: 1fr; }
	.pricelist__group:first-child { grid-row: auto; }
}

/* Skaičiuoklė */
.estimator {
	display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem); align-items: start;
}
.estimator__step + .estimator__step { margin-top: 2rem; }
.estimator__label { display: flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 1.1rem; margin-bottom: .9rem; }
.estimator__num {
	display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
	background: var(--ink); color: var(--hivis); font-family: var(--f-cond); font-size: 1.15rem;
}
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
	display: inline-flex; align-items: center; gap: .5rem;
	min-height: 46px; padding: .55rem .95rem;
	border: 1.5px solid var(--line); border-radius: var(--radius);
	background: var(--paper); color: var(--ink);
	font: inherit; font-size: .98rem; font-weight: 600; text-align: left;
	cursor: pointer; transition: border-color .15s, background-color .15s, color .15s;
}
.chip .icon { color: var(--copper); }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.chip[aria-pressed="true"] .icon { color: var(--hivis); }
.chips--wide .chip { flex: 1 1 260px; }

.estimator__result {
	position: sticky; top: calc(var(--header-h) + 1.5rem);
	background: var(--concrete);
	padding: 3.6rem 1.6rem 1.6rem;
	clip-path: polygon(14% 0, 86% 0, 100% 9%, 100% 100%, 0 100%, 0 9%);
	min-height: 320px;
}
.estimator__result::before {
	content: ""; position: absolute; left: 50%; top: 1.1rem; width: 1.4rem; height: 1.4rem; margin-left: -.7rem;
	border-radius: 50%; background: var(--paper); border: 4px solid var(--hivis);
}
.estimator__placeholder { color: var(--steel); margin: 2rem 0 0; text-align: center; }
.est-res__tool { color: var(--steel); font-size: .95rem; margin: 0 0 .2rem; }
.est-res__sym { font-family: var(--f-cond); font-size: 1.6rem; line-height: 1.1; margin: 0 0 1rem; }
.est-res__cause { margin: 0 0 1rem; padding-bottom: 1rem; border-bottom: 1px dashed var(--line); }
.est-res__price { font-family: var(--f-cond); font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: 1; color: var(--copper); margin: 0 0 .4rem; }
.est-res__note { color: var(--steel); font-size: .92rem; margin: 0 0 1.25rem; }
.estimator__result .btn { width: 100%; justify-content: center; }
@media (prefers-reduced-motion: no-preference) {
	.est-res__price { animation: stamp .35s ease-out; }
}
@keyframes stamp {
	from { transform: scale(1.18); opacity: 0; }
	to { transform: scale(1); opacity: 1; }
}

@media (max-width: 860px) {
	.estimator { grid-template-columns: 1fr; }
	.estimator__result { position: relative; top: 0; min-height: 0; }
}

/* Gedimų požymiai */
.symptoms { columns: 2; column-gap: 2.5rem; }
.symptom { border-bottom: 1px solid var(--line); break-inside: avoid; }
.symptom summary {
	display: flex; gap: .75rem; align-items: center;
	padding: 1rem 0; cursor: pointer; list-style: none;
	font-weight: 700; font-size: 1.08rem;
}
.symptom summary::-webkit-details-marker { display: none; }
.symptom summary .icon { color: var(--copper); }
.symptom summary span { flex: 1; }
.symptom summary::after { content: "+"; font-family: var(--f-cond); font-size: 1.6rem; line-height: 1; color: var(--steel); }
.symptom[open] summary::after { content: "−"; }
.symptom__body { padding: 0 0 1.1rem 2rem; }
.symptom__body p { margin: 0 0 .6rem; color: var(--ink-3); }
.symptom__advice { background: var(--paper); padding: .7rem .9rem; border-left: 4px solid var(--hivis); }
@media (max-width: 760px) { .symptoms { columns: 1; } }

/* Nuotraukos */
.photo { margin: 0; background: var(--concrete-2); }
.photo img { width: 100%; }
.photo figcaption { font-size: .78rem; color: var(--steel); padding: .45rem .1rem 0; background: var(--paper); }
.section:not(.section--paper) .photo figcaption { background: var(--concrete); }
.photo figcaption a { color: inherit; }
.photo.is-broken img { display: none; }

/* Anatomija ir priežiūra */
.anatomy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.anatomy__parts { margin: 0; border-top: 2px solid var(--ink); }
.anatomy__parts > div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.anatomy__parts dt { font-family: var(--f-cond); font-size: 1.35rem; margin-bottom: .25rem; }
.anatomy__parts dd { margin: 0; color: var(--ink-3); }

.care { display: grid; grid-template-columns: minmax(0, .55fr) minmax(0, 1.45fr); gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(3rem, 6vw, 4.5rem); align-items: start; }
.care__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
.care__list li { display: flex; gap: .8rem; }
.care__list .icon { color: var(--ok); width: 1.6rem; height: 1.6rem; margin-top: .1rem; }
.care__list h3 { font-size: 1.2rem; margin: 0 0 .3rem; }
.care__list p { margin: 0; color: var(--ink-3); font-size: .98rem; }

@media (max-width: 860px) {
	.anatomy, .care { grid-template-columns: 1fr; }
	.care__photo { max-width: 340px; }
}
@media (max-width: 600px) { .care__list { grid-template-columns: 1fr; } }

/* Taisyti ar pirkti */
.tap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.tap__text p { color: var(--ink-3); max-width: 60ch; }
.tap__photo { max-width: 240px; margin-top: 1.5rem; }
.calc { background: var(--paper); padding: clamp(1.25rem, 3vw, 2rem); border-top: 4px solid var(--ink); }
.calc__field { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: .25rem 1rem; margin-bottom: 1.25rem; }
.calc__field label { font-weight: 600; }
.calc__field output { font-family: var(--f-cond); font-size: 1.6rem; line-height: 1; }
.calc__field input { grid-column: 1 / -1; width: 100%; accent-color: var(--copper); height: 28px; cursor: pointer; }
.calc__bar { position: relative; height: 14px; background: var(--concrete); margin: 1.5rem 0 1rem; border-radius: 7px; overflow: hidden; }
.calc__bar span { display: block; height: 100%; width: 20%; background: var(--ok); transition: width .25s ease, background-color .25s; }
.calc__mark { position: absolute; top: 0; bottom: 0; width: 2px; background: var(--ink); }
.calc__mark--a { left: 33.3%; }
.calc__mark--b { left: 50%; }
.calc__verdict p { margin: 0 0 .4rem; }
.calc__verdict strong { font-family: var(--f-cond); font-size: 1.8rem; font-weight: 700; display: block; line-height: 1.1; }
.calc__verdict.is-ok strong { color: var(--ok); }
.calc__verdict.is-maybe strong { color: var(--copper); }
.calc__verdict.is-no strong { color: var(--closed); }
.calc__verdict small { color: var(--steel); }
@media (max-width: 860px) { .tap { grid-template-columns: 1fr; } .tap__photo { display: none; } }

/* Apie */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.about__text p { color: var(--ink-3); max-width: 62ch; }
.facts { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; }
.facts li { border-left: 4px solid var(--hivis); padding-left: .9rem; color: var(--steel); line-height: 1.3; }
.facts strong { display: block; font-family: var(--f-cond); font-size: 2rem; color: var(--ink); line-height: 1.05; }
.brands__title { margin: clamp(3rem, 6vw, 4.5rem) 0 1rem; font-size: 1.4rem; }
.brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.brands li {
	font-family: var(--f-cond); font-size: 1.2rem; color: var(--ink-3);
	padding: .35rem .8rem; border: 1.5px solid var(--line); border-radius: 4px;
}
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* DUK */
.faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.faq-wrap .section__head { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.faq { border-top: 2px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
	display: flex; align-items: center; justify-content: space-between; gap: 1rem;
	padding: 1.15rem 0; cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary h3 { margin: 0; font-family: var(--f-body); font-size: 1.1rem; font-weight: 700; line-height: 1.35; }
.faq__item summary::after {
	content: "+"; flex: none; display: grid; place-items: center;
	width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px solid var(--ink);
	font-family: var(--f-cond); font-size: 1.3rem; line-height: 1;
}
.faq__item[open] summary::after { content: "−"; background: var(--ink); color: var(--hivis); }
.faq__item p { margin: 0 0 1.25rem; color: var(--ink-3); max-width: 68ch; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .section__head { position: static; } }

/* Įrašų kortelės */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); }
.card { background: var(--paper); display: flex; flex-direction: column; border-top: 4px solid var(--ink); }
.section--paper .card { background: var(--concrete); }
.card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { padding: 1.25rem 1.25rem 1.5rem; }
.card__meta { font-size: .88rem; color: var(--steel); margin: 0 0 .5rem; }
.card__title { font-size: 1.45rem; margin: 0 0 .6rem; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--copper); text-decoration: underline; }
.card__excerpt { color: var(--ink-3); font-size: .98rem; margin: 0; }
@media (max-width: 900px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }

/* Kontaktai */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.contact h2, .contact h1 { color: var(--paper); }
.contact__main > p { color: #b9c0c6; max-width: 56ch; }
.contact__phone {
	display: inline-flex; align-items: center; gap: .6rem; margin: .75rem 0 1rem;
	font-family: var(--f-cond); font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1;
	color: var(--hivis); text-decoration: none;
}
.section--ink .contact__phone { color: var(--hivis); }
.contact__phone:hover { color: var(--paper); text-decoration: none; }
.contact__phone .icon { width: .8em; height: .8em; }
.contact__status { display: flex; align-items: center; gap: .55rem; font-weight: 600; color: var(--paper); }
.contact__list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .6rem; color: #d6dade; }
.contact__list li { display: flex; gap: .6rem; align-items: center; }
.contact__list .icon { color: var(--hivis); }
.contact__subtitle { display: flex; gap: .5rem; align-items: center; font-family: var(--f-cond); font-size: 1.5rem; color: var(--paper); margin: 0 0 .75rem; }
.contact__subtitle .icon { color: var(--hivis); }
.contact__note { color: #9aa3ab; font-size: .92rem; margin-top: 1rem; }
.contact__map { grid-column: 1 / -1; }
.contact__map iframe { width: 100%; height: 360px; border: 0; filter: grayscale(.35); display: block; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th, .hours td { padding: .4rem 0; text-align: left; font-weight: 400; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--hivis); font-weight: 700; }
.hours--lg { font-size: 1.05rem; }
.hours--lg th, .hours--lg td { padding: .65rem 0; color: #d6dade; }

/* ==========================================================
   8. Poraštė, mobilioji juosta, „į viršų“
   ========================================================== */

.site-footer { background: #15191e; color: #b9c0c6; padding: clamp(3rem, 6vw, 4.5rem) 0 0; font-size: .97rem; }
.site-footer a { color: #e9ecee; }
.site-footer a:hover { color: var(--hivis); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr .9fr; gap: 2rem; }
.site-footer .logo { color: var(--paper); margin-bottom: 1rem; }
.site-footer .logo-mark path:first-child { fill: #2c333c; }
.site-footer .logo-sub { color: #9aa3ab; }
.site-footer__brand p { max-width: 38ch; }
.footer__title { font-family: var(--f-cond); font-size: 1.3rem; color: var(--paper); margin: 0 0 .75rem; }
.footer__note { font-size: .85rem; color: #8a939b; margin-top: .6rem; }
.footer__contacts, .footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer__contacts li { display: flex; gap: .5rem; align-items: center; }
.footer__contacts .icon { color: var(--hivis); }
.site-footer__widgets { padding-top: 2rem; }
.site-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
	margin-top: 2.5rem; padding-top: 1.25rem; padding-bottom: 1.5rem;
	border-top: 1px solid #2c333c; font-size: .85rem; color: #8a939b;
}
.site-footer__bottom p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

.mobile-bar { display: none; }
@media (max-width: 760px) {
	body { padding-bottom: 76px; }
	.mobile-bar {
		display: grid; grid-template-columns: 1.4fr 1fr; gap: .5rem;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
		padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
		background: var(--ink);
		box-shadow: 0 -8px 20px rgba(0, 0, 0, .18);
	}
	.mobile-bar .btn { justify-content: center; }
}

.to-top {
	position: fixed; right: 1rem; bottom: 1rem; z-index: 95;
	width: 52px; height: 52px; border-radius: 50%;
	display: grid; place-items: center;
	background: var(--ink); color: var(--hivis);
	box-shadow: 0 6px 18px rgba(28, 33, 39, .3);
	opacity: 0; visibility: hidden; transform: translateY(12px);
	transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: var(--paper); }
.to-top .icon { width: 22px; height: 22px; position: relative; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--hivis); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: 100; }
@media (max-width: 760px) { .to-top { bottom: calc(84px + env(safe-area-inset-bottom)); right: .75rem; } }

/* ==========================================================
   9. Įrašai ir puslapiai
   ========================================================== */

.entry__head { padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1.25rem, 3vw, 2rem); }
.entry__title { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: .98; margin: .3em 0 .35em; max-width: 20ch; }
.entry__lead { color: var(--steel); font-size: 1.15rem; max-width: 62ch; }
.entry__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; color: var(--steel); font-size: .95rem; margin: 0; }
.entry__sep { width: 1.25rem; }
.entry__thumb img { width: 100%; max-height: 560px; object-fit: cover; }
.entry__layout { padding-top: clamp(1.5rem, 4vw, 3rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.entry__layout.has-toc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.entry--page .entry__content { padding-bottom: clamp(3rem, 6vw, 5rem); }

.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .9rem; color: var(--steel); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line); }
.crumbs a { color: var(--steel); }

.toc { position: sticky; top: calc(var(--header-h) + 1.5rem); font-size: .95rem; }
.toc summary { font-family: var(--f-cond); font-size: 1.3rem; cursor: pointer; margin-bottom: .5rem; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.toc li a { display: block; padding: .35rem 0 .35rem .9rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-3); text-decoration: none; line-height: 1.35; }
.toc li a:hover, .toc li a.is-active { color: var(--copper); border-left-color: var(--copper); }
.toc .toc__l3 a { padding-left: 1.7rem; font-size: .9rem; }

@media (max-width: 1000px) {
	.entry__layout.has-toc { grid-template-columns: 1fr; }
	.toc { position: static; background: var(--paper); padding: 1rem 1.25rem; }
	.toc details:not([open]) summary { margin: 0; }
}

.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 200; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--hivis); }

.prose { max-width: 72ch; font-size: 1.1rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(1.9rem, 3.6vw, 2.5rem); margin: 1.8em 0 .5em; }
.prose h3 { font-size: 1.5rem; margin: 1.5em 0 .4em; }
.prose h2 + *, .prose h3 + * { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--copper); }
.prose blockquote { margin-left: 0; padding: .5rem 0 .5rem 1.25rem; border-left: 4px solid var(--hivis); font-size: 1.15rem; color: var(--ink-3); }
.prose table { width: 100%; border-collapse: collapse; font-size: .98rem; background: var(--paper); }
.prose th, .prose td { padding: .65rem .8rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th { background: var(--ink); color: var(--paper); }
.prose .wp-block-table { overflow-x: auto; }
.prose img { max-width: 100%; }
.prose figure { margin-inline: 0; }
.prose figcaption { font-size: .88rem; color: var(--steel); margin-top: .5rem; }
.prose code { background: var(--concrete-2); padding: .1em .35em; border-radius: 3px; font-size: .92em; }
.prose hr { border: 0; border-top: 2px dashed var(--line); margin: 2.5em 0; }
.prose .alignwide { max-width: 1040px; }
.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 .wp-block-button__link { background: var(--hivis); color: var(--ink); border-radius: var(--radius); font-weight: 700; }
.entry--page .prose { max-width: none; }
.entry--page .prose > p, .entry--page .prose > ul, .entry--page .prose > ol, .entry--page .prose > h2, .entry--page .prose > h3 { max-width: 72ch; }

/* Galerijos */
.wp-block-gallery img, .gallery img { cursor: zoom-in; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .75rem; }
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; aspect-ratio: 1; object-fit: cover; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(15, 18, 22, .9); }
.lightbox img { max-width: 96vw; max-height: 86vh; width: auto; margin: 0 auto; }
.lightbox__caption { color: #e9ecee; text-align: center; font-size: .95rem; margin-top: .6rem; }
.lightbox__btn {
	position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 0;
	background: var(--paper); color: var(--ink); cursor: pointer;
	display: grid; place-items: center; font-size: 1.6rem; line-height: 1;
}
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

.cta-box {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem;
	margin-top: 3rem; padding: 1.5rem clamp(1.25rem, 3vw, 2rem);
	background: var(--ink); color: #d6dade; border-left: 6px solid var(--hivis);
}
.cta-box p { margin: 0; }
.cta-box__title { font-family: var(--f-cond); font-size: 1.8rem; color: var(--paper); line-height: 1.1; margin-bottom: .3rem !important; }

.related__title { margin-bottom: 1.5rem; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: 2rem; padding-bottom: 3rem; }
.post-nav a { display: block; text-decoration: none; color: var(--ink); font-weight: 600; }
.post-nav a span { display: block; color: var(--steel); font-weight: 400; font-size: .88rem; }
.post-nav > div:last-child { text-align: right; }

.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.pagination .page-numbers {
	display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 .8rem;
	background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 700; border-radius: var(--radius);
}
.pagination .page-numbers.current { background: var(--ink); color: var(--hivis); }

/* 404 */
.notfound__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: center; }
.notfound__code { font-family: var(--f-cond); font-size: clamp(6rem, 20vw, 12rem); line-height: .8; color: var(--concrete-2); -webkit-text-stroke: 2px var(--ink); margin: 0; }
.notfound__links { padding-left: 1.2em; }
.notfound__links li { margin: .35rem 0; }
.notfound .cta-box { flex-direction: column; align-items: flex-start; margin: 0; }
@media (max-width: 860px) { .notfound__grid { grid-template-columns: 1fr; } }

/* ==========================================================
   10. Spausdinimas
   ========================================================== */

@media print {
	.site-header, .mobile-bar, .to-top, .site-footer, .estimator, .calc, .read-progress, .toc { display: none !important; }
	body { background: #fff; padding: 0; }
	.section { padding: 1.5rem 0; }
	.section--ink { background: #fff; color: #000; }
	.tag { animation: none; filter: none; border: 1px solid #000; }
	a { color: #000; }
}
