/* CharterJets.lt – įrankių remontas Kaune
   Dizaino idėja: dirbtuvių darbastalis ir remonto žymė. Grafitas, pjovimo kilimėlio tinklelis, signalinė geltona.
   Šriftai: TeX Gyre Heros Condensed (antraštės, GUST licencija), Fira Sans (tekstas, OFL). */

@font-face { font-family: "Heros Cn"; src: url("../fonts/heros-cn-bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("../fonts/fira-sans-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("../fonts/fira-sans-400i.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("../fonts/fira-sans-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
	--ink: #1d2226;
	--ink-2: #283037;
	--ink-3: #3a434b;
	--steel: #56616b;
	--line: #cfd5d1;
	--line-2: #b9c1bc;
	--bench: #e7eae6;
	--paper: #f4f5f2;
	--white: #fff;
	--signal: #ffc21a;
	--signal-2: #f2b200;
	--signal-ink: #3b2c00;
	--blue: #1e5a8a;
	--blue-2: #154468;
	--ok: #2e7d4f;
	--closed: #b3261e;
	--copper: #b8742f;
	--f-head: "Heros Cn", "Arial Narrow", "Roboto Condensed", sans-serif;
	--f-body: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--wrap: 1200px;
	--gut: clamp(1rem, 4vw, 2rem);
	--r: 6px;
	--grid: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.62; color: var(--ink); background: var(--white); font-feature-settings: "kern", "liga", "pnum"; }
img, picture, svg { max-width: 100%; height: auto; display: block; }
picture img { width: 100%; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--blue-2); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }
.band--ink :focus-visible, .site-footer :focus-visible { outline-color: var(--signal); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; }
h1, h2 { font-family: var(--f-head); font-weight: 700; letter-spacing: -.005em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
h3 { font-family: var(--f-body); font-weight: 600; font-size: 1.2rem; line-height: 1.3; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
table { border-collapse: collapse; width: 100%; }
.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; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--signal); color: var(--ink); padding: .6rem 1rem; font-weight: 600; border-radius: var(--r); }
.skip-link:focus { top: 1rem; }
.icon { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- Mygtukai ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; padding: .72em 1.15em; border-radius: var(--r); border: 2px solid transparent; font: 600 1rem/1.2 var(--f-body); text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn--lg { font-size: 1.08rem; padding: .85em 1.3em; }
.btn--signal { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.btn--signal:hover { background: var(--signal-2); border-color: var(--signal-2); color: var(--ink); text-decoration: none; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--white); text-decoration: none; }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: inherit; text-decoration: none; }
.band--ink .btn--line { color: var(--white); border-color: var(--white); }
.band--ink .btn--line:hover { background: var(--white); color: var(--ink); }

/* ---------- Antraštė ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--ink); color: var(--white); border-bottom: 3px solid var(--signal); }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: inherit; text-decoration: none; flex: none; }
.logo:hover { color: inherit; text-decoration: none; }
.logo-mark { width: 40px; height: 40px; }
.site-header .logo-mark path:first-child { fill: #2c343b; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--f-head); font-size: 1.45rem; letter-spacing: .01em; }
.logo__tld { color: var(--signal); }
.logo__sub { font-size: .78rem; color: #b8c0c6; margin-top: .25rem; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.25rem; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.menu a { display: block; padding: .5rem .65rem; color: #e6e9eb; text-decoration: none; font-weight: 600; font-size: .97rem; border-radius: 4px; }
.menu a:hover { color: var(--white); background: var(--ink-2); }
.menu a[aria-current="page"] { color: var(--signal); }
.site-nav__status { display: none; margin: 0; font-size: .9rem; color: #cfd5d9; }
.header-call { flex: none; }
.nav-toggle { display: none; margin-left: auto; background: transparent; border: 2px solid #4a545d; color: var(--white); border-radius: var(--r); padding: .45rem; cursor: pointer; }
.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: 1080px) {
	.header-call span { display: none; }
	.header-call { padding: .65rem; }
}
@media (max-width: 940px) {
	.nav-toggle { display: inline-flex; }
	.header-call { margin-left: .5rem; }
	.site-nav { position: absolute; left: 0; right: 0; top: 100%; display: none; flex-direction: column; align-items: stretch; background: var(--ink); padding: .5rem var(--gut) 1.25rem; border-bottom: 3px solid var(--signal); }
	.site-nav.is-open { display: flex; }
	.menu { flex-direction: column; }
	.menu a { padding: .8rem .25rem; font-size: 1.1rem; border-bottom: 1px solid var(--ink-3); border-radius: 0; }
	.site-nav__status { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; }
}

/* ---------- Būsenos taškas ---------- */
.status-dot { display: inline-block; width: .65rem; height: .65rem; border-radius: 50%; background: var(--steel); flex: none; }
.status-dot.is-open { background: #3bbf6e; box-shadow: 0 0 0 4px rgba(59, 191, 110, .22); }
.status-dot.is-closed { background: #d9534f; }

/* ---------- Tinklelio fonas (pjovimo kilimėlis) ---------- */
.hero, .phero { position: relative; background-color: var(--bench); background-image: var(--grid); background-size: 32px 32px; background-position: -1px -1px; }
.hero::after, .phero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 8px); opacity: .35; }

/* ---------- Pagrindinio puslapio viršus ---------- */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.hero__title { font-family: var(--f-head); font-size: clamp(3rem, 8.4vw, 6.4rem); line-height: .92; letter-spacing: -.02em; margin: 0 0 .35em; max-width: 9ch; }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.22rem); max-width: 34em; margin-bottom: 1.5rem; }
.hero__actions, .phero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.25rem; }
.hero__brands { color: var(--steel); font-size: .95rem; max-width: 34em; margin: 0; }
.hero__aside, .phero__aside { position: relative; }
.hero__photo img, .phero__photo img { border-radius: var(--r); aspect-ratio: 4 / 3.2; object-fit: cover; box-shadow: 0 1px 0 var(--line-2), 0 18px 40px -24px rgba(29, 34, 38, .55); }
.tag-string { position: absolute; width: 90px; left: 6%; bottom: 46%; color: var(--ink); z-index: 2; pointer-events: none; }

/* ---------- Remonto žymė ---------- */
.tag { position: relative; background: var(--signal); color: var(--ink); padding: 1.1rem 1.2rem 1rem 2.6rem; width: min(330px, 100%); border-radius: 4px 10px 10px 4px;
	clip-path: polygon(22px 0, 100% 0, 100% 100%, 22px 100%, 0 calc(100% - 22px), 0 22px);
	filter: drop-shadow(0 12px 18px rgba(29, 34, 38, .28)); }
.tag__hole { position: absolute; left: 12px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--bench); box-shadow: inset 0 0 0 2px var(--ink); }
.tag__title { font-family: var(--f-head); font-size: 1.5rem; line-height: 1; margin: 0 0 .7rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ink); }
.tag__fields { margin: 0; display: grid; gap: .1rem; }
.tag__fields div { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: .32rem 0; border-bottom: 1px dashed rgba(29, 34, 38, .45); }
.tag__fields dt { font-size: .9rem; }
.tag__fields dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.tag__status { margin: .7rem 0 0; display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; }
.tag__status .status-dot.is-closed { background: var(--closed); }
.tag--hero { position: absolute; left: -2.5rem; bottom: -2.2rem; transform: rotate(-4deg); z-index: 3; }

@media (max-width: 960px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__title { max-width: none; }
	.tag--hero { left: auto; right: .75rem; bottom: -1.75rem; width: min(300px, 86%); }
	.tag-string { display: none; }
}
@media (max-width: 520px) {
	.tag--hero { position: relative; right: auto; bottom: auto; margin: -2.5rem auto 0; transform: rotate(-2deg); }
}

/* ---------- Vidinių puslapių viršus ---------- */
.phero { padding: clamp(1.5rem, 4vw, 2.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.phero__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.phero--photo .phero__grid { grid-template-columns: 1.1fr .9fr; }
.phero:not(.phero--photo) .phero__aside { justify-self: end; }
.phero__title { font-family: var(--f-head); font-size: clamp(2.3rem, 5.2vw, 4rem); line-height: .98; letter-spacing: -.015em; margin: .2em 0 .4em; max-width: 18ch; }
.phero__lead { font-size: clamp(1.05rem, 1.5vw, 1.18rem); max-width: 40em; }
.phero__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; color: var(--steel); font-size: .95rem; margin: 0; }
.phero__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.phero__meta .icon { width: 1.05em; height: 1.05em; }
.phero--compact .phero__title { font-size: clamp(2rem, 4.4vw, 3.2rem); max-width: 26ch; }
.phero--article .phero__title { max-width: 24ch; }
.phero .tag--hero { left: -1.75rem; bottom: -1.75rem; }
.phero:not(.phero--photo) .tag--hero { position: relative; left: auto; bottom: auto; transform: rotate(-3deg); }
@media (max-width: 960px) {
	.phero--photo .phero__grid { grid-template-columns: 1fr; }
	.phero .tag--hero { left: auto; right: .75rem; }
	.phero:not(.phero--photo) .phero__aside { justify-self: start; }
}
@media (max-width: 520px) { .phero .tag--hero { position: relative; right: auto; bottom: auto; margin: -2rem auto 0; } }

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

/* ---------- Juostos ---------- */
.band { padding: clamp(2.75rem, 6vw, 4.75rem) 0; }
.band--tight { padding: clamp(1.75rem, 4vw, 2.5rem) 0; }
.band--paper { background: var(--paper); }
.band--ink { background: var(--ink); color: #e9ecee; }
.band--ink a:not(.btn) { color: var(--signal); }
.band__head { max-width: 46rem; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.band__head p { color: var(--steel); font-size: 1.08rem; margin: 0; }
.band--ink .band__head p { color: #b8c0c6; }
.band__head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.band__head--row h2 { margin: 0; }
.sub { margin-top: clamp(2rem, 4vw, 3rem); }
.more { margin: 1.75rem 0 0; }

/* ---------- Tekstas ---------- */
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.4em; }
.prose > h2:first-child, .prose > :first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul:not([class]) { list-style: none; padding-left: 0; }
.prose ul:not([class]) > li { position: relative; padding-left: 1.4rem; margin-bottom: .45em; }
.prose ul:not([class]) > li::before { content: ""; position: absolute; left: 0; top: .62em; width: .55rem; height: .55rem; background: var(--signal); box-shadow: inset 0 0 0 1px var(--signal-2); }
.prose ol > li { margin-bottom: .45em; padding-left: .2rem; }
.prose ol > li::marker { font-weight: 600; color: var(--steel); }
.prose blockquote { margin: 1.5em 0; padding: .25em 0 .25em 1.25em; border-left: 4px solid var(--signal); color: var(--ink-3); }
.prose img { border-radius: var(--r); }
.prose figure { margin: 1.75em 0; }
.prose figcaption { font-size: .9rem; color: var(--steel); margin-top: .5em; }
.prose table { margin: 1.5em 0; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: .6em .75em; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--paper); font-weight: 600; }
.table-wrap { overflow-x: auto; margin: 1.5em 0; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.prose strong { font-weight: 600; }

/* ---------- Dalijimas į dvi dalis ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.75rem, 5vw, 4rem); align-items: start; }
.split--rev > .figure { order: -1; }
.split > :only-child { grid-column: 1 / -1; }
.figure { margin: 0; }
.figure img { border-radius: var(--r); }
.figure figcaption { font-size: .9rem; color: var(--steel); margin-top: .6rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--rev > .figure { order: 0; } }

/* ---------- Iliustracijos ---------- */
.illus { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: .75rem; }
.band--paper .illus { background: var(--white); }
.illus img { border-radius: 3px; }
.illus figcaption { padding: .9rem .25rem .1rem; font-size: .93rem; }
.illus__cap { display: block; color: var(--steel); margin-bottom: .6rem; }
.illus__legend { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: .35rem 1rem; }
.illus__legend li { display: flex; align-items: center; gap: .5rem; }
.illus__n { display: inline-grid; place-items: center; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--signal); border: 1.5px solid var(--ink); font-weight: 600; font-size: .85rem; flex: none; }
.split--ill { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 860px) { .split--ill { grid-template-columns: 1fr; } }

/* ---------- Paslaugos (detalių sąrašas) ---------- */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: clamp(1.5rem, 4vw, 3rem); border-top: 2px solid var(--ink); }
.service { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.service__icon { width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--signal); border-radius: 4px; }
.service__icon .icon { width: 1.6rem; height: 1.6rem; }
.service h3 { margin: .1rem 0 .3rem; font-size: 1.15rem; }
.service h3 a { color: var(--ink); text-decoration: none; }
.service h3 a:hover { text-decoration: underline; }
.service h3 a::after { content: ""; position: absolute; inset: 0; }
.service { position: relative; }
.service:hover h3 a { color: var(--blue); }
.service p { margin: 0 0 .35rem; color: var(--ink-3); font-size: .98rem; }
.service__faults { font-size: .88rem !important; color: var(--steel) !important; }
.service__price { margin: 0; font-size: .9rem; color: var(--steel); white-space: nowrap; text-align: right; }
.service__price strong { display: block; font-family: var(--f-head); font-size: 1.6rem; color: var(--ink); line-height: 1; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .service { grid-template-columns: auto 1fr; } .service__price { grid-column: 2; text-align: left; } .service__price strong { display: inline; font-size: 1.25rem; } }

/* ---------- Eiga ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 3.6rem; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; font-family: var(--f-head); font-size: 3.2rem; line-height: 1; color: var(--signal); }
.steps li::after { content: ""; position: absolute; top: 1.6rem; left: 2.6rem; right: -1.25rem; height: 2px; background: repeating-linear-gradient(90deg, #56616b 0 6px, transparent 6px 12px); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.12rem; color: var(--white); }
.steps p { color: #c4cbd0; font-size: .97rem; margin: 0; }
.band:not(.band--ink) .steps h3 { color: var(--ink); }
.band:not(.band--ink) .steps p { color: var(--ink-3); }
.band:not(.band--ink) .steps li::before { color: var(--ink); -webkit-text-stroke: 0; text-shadow: 3px 3px 0 var(--signal); }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr 1fr; } .steps li::after { display: none; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li { padding: 0 0 0 3.6rem; } }

/* ---------- Kainoraštis ---------- */
.pricelist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem clamp(1.5rem, 4vw, 3rem); }
.pricelist__group h3 { font-family: var(--f-head); font-size: 1.5rem; margin: 0 0 .4rem; padding-bottom: .4rem; border-bottom: 2px solid var(--ink); }
.pricelist table th, .pricelist table td { padding: .62rem 0; border-bottom: 1px dashed var(--line-2); vertical-align: baseline; }
.pricelist table th { font-weight: 400; text-align: left; padding-right: 1rem; }
.pricelist table th small { display: block; color: var(--steel); font-size: .85rem; }
.pricelist table td { text-align: right; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.note { display: flex; gap: .6rem; align-items: flex-start; margin: 1.75rem 0 0; color: var(--ink-3); font-size: .95rem; max-width: 60rem; }
.note .icon { color: var(--ok); margin-top: .15rem; }
@media (max-width: 860px) { .pricelist { grid-template-columns: 1fr; } }

/* ---------- Skaičiuoklė ---------- */
.estimator { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1.25rem, 4vw, 2.5rem); align-items: start; }
.estimator__label { display: flex; align-items: center; gap: .6rem; font-weight: 600; margin-bottom: .75rem; }
.estimator__num { display: inline-grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--ink); color: var(--white); font-size: .9rem; }
.estimator__step + .estimator__step { margin-top: 1.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .85rem; border: 1.5px solid var(--line-2); background: var(--white); border-radius: 999px; font: 500 .97rem/1.25 var(--f-body); color: var(--ink); cursor: pointer; text-align: left; }
.chip .icon { width: 1.15em; height: 1.15em; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips--wide .chip { border-radius: var(--r); }
.estimator__result { position: sticky; top: 96px; background: var(--paper); border: 1px solid var(--line); border-top: 6px solid var(--signal); border-radius: var(--r); padding: 1.35rem 1.4rem; min-height: 12rem; }
.estimator__placeholder { color: var(--steel); margin: 0; }
.est-res__tool { margin: 0; font-size: .9rem; color: var(--steel); }
.est-res__sym { font-weight: 600; font-size: 1.1rem; margin: .1rem 0 .6rem; }
.est-res__price { font-family: var(--f-head); font-size: 2.8rem; line-height: 1; margin: .6rem 0; }
.est-res__note { font-size: .9rem; color: var(--steel); }
@media (max-width: 860px) { .estimator { grid-template-columns: 1fr; } .estimator__result { position: static; } }

/* ---------- Gedimai, DUK ---------- */
.symptoms, .faq { display: grid; gap: .6rem; max-width: 60rem; }
.symptom, .faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.symptom summary, .faq__item summary { list-style: none; cursor: pointer; padding: 1rem 3rem 1rem 1.1rem; position: relative; display: flex; align-items: center; gap: .75rem; font-weight: 600; }
.symptom summary::-webkit-details-marker, .faq__item summary::-webkit-details-marker { display: none; }
.symptom summary::after, .faq__item summary::after { content: ""; position: absolute; right: 1.2rem; top: 50%; width: .6rem; height: .6rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .15s; }
details[open] > summary::after { transform: translateY(-30%) rotate(-135deg); }
.symptom summary .icon { color: var(--copper); }
.faq__item summary h3 { margin: 0; font-size: 1.05rem; }
.symptom__body, .faq__a { padding: 0 1.1rem 1.1rem 1.1rem; }
.symptom__body { padding-left: 3.1rem; }
.symptom__body p:last-child, .faq__a p:last-child { margin-bottom: 0; }
.symptom__advice { background: var(--paper); border-left: 4px solid var(--signal); padding: .6rem .8rem; }
.band--paper .symptom, .band--paper .faq__item { background: var(--white); }

/* ---------- Variklio anatomija, priežiūra ---------- */
.anatomy { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.anatomy__parts { margin: 0; }
.anatomy__parts div { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.anatomy__parts div:first-child { border-top: 2px solid var(--ink); }
.anatomy__parts dt { font-weight: 600; margin-bottom: .2rem; }
.anatomy__parts dd { margin: 0; color: var(--ink-3); font-size: .97rem; }
.care { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem 2rem; }
.care li { display: flex; gap: .75rem; }
.care .icon { color: var(--ok); margin-top: .2rem; }
.care h3 { font-size: 1.05rem; margin: 0 0 .25rem; }
.care p { margin: 0; font-size: .96rem; color: var(--ink-3); }
@media (max-width: 960px) { .anatomy { grid-template-columns: 1fr; } .care { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .care { grid-template-columns: 1fr; } }

/* ---------- Taisyti ar pirkti ---------- */
.tap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.calc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 1.4rem; display: grid; gap: 1.1rem; }
.calc__field { display: grid; grid-template-columns: 1fr auto; gap: .35rem .75rem; align-items: baseline; }
.calc__field label { font-weight: 600; }
.calc__field output { font-family: var(--f-head); font-size: 1.5rem; }
.calc__field input { grid-column: 1 / -1; width: 100%; accent-color: var(--ink); height: 2rem; }
.calc__bar { position: relative; height: 12px; background: var(--bench); border-radius: 6px; overflow: hidden; }
.calc__bar span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--ok); transition: width .2s; }
.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 { border-radius: var(--r); padding: .9rem 1rem; background: var(--paper); border-left: 6px solid var(--ok); }
.calc__verdict p { margin: 0 0 .2rem; font-size: 1.15rem; }
.calc__verdict.is-maybe { border-left-color: var(--copper); }
.calc__verdict.is-no { border-left-color: var(--closed); }
@media (max-width: 860px) { .tap { grid-template-columns: 1fr; } }

/* ---------- Faktai, markės ---------- */
.facts { list-style: none; margin: 1.5rem 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.facts li { border-top: 3px solid var(--signal); padding-top: .6rem; font-size: .95rem; color: var(--ink-3); }
.facts strong { display: block; font-family: var(--f-head); font-size: 2rem; line-height: 1.05; color: var(--ink); }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr 1fr; } }
.brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.brands li { border: 1.5px solid var(--line-2); border-radius: 4px; background: var(--white); }
.brands li > a, .brands li { font-weight: 600; font-size: .97rem; }
.brands li { padding: .4rem .8rem; color: var(--ink-3); }
.brands li:has(a) { padding: 0; border-color: var(--ink); }
.brands a { display: block; padding: .4rem .8rem; color: var(--ink); text-decoration: none; }
.brands a:hover { background: var(--ink); color: var(--white); }

/* ---------- Susijusios nuorodos ---------- */
.links__title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.links ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 clamp(1rem, 3vw, 2rem); border-top: 2px solid var(--ink); }
.links li { border-bottom: 1px solid var(--line); }
.links a { display: block; padding: 1rem 0; text-decoration: none; color: var(--ink); height: 100%; }
.links__t { display: block; font-weight: 600; margin-bottom: .2rem; }
.links__d { display: block; font-size: .92rem; color: var(--steel); }
.links a:hover .links__t { color: var(--blue); text-decoration: underline; }
@media (max-width: 900px) { .links ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .links ul { grid-template-columns: 1fr; } }

/* ---------- Kvietimas skambinti ---------- */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; flex-wrap: wrap; background: var(--ink); color: #e9ecee; border-radius: var(--r); padding: 1.4rem 1.6rem; border-left: 8px solid var(--signal); margin-top: 2rem; }
.cta > div { max-width: 40rem; }
.cta p { margin: 0; }
.cta__title { font-family: var(--f-head); font-size: 1.7rem; color: var(--white); margin-bottom: .25rem !important; }
.band--tight .cta { margin-top: 0; }

/* ---------- Kortelės ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; position: relative; }
.card__media img { aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { padding: 1rem 1.1rem 1.2rem; }
.card__meta { font-size: .85rem; color: var(--steel); margin: 0 0 .4rem; }
.card__title { font-size: 1.1rem; margin: 0 0 .45rem; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card:hover .card__title a { color: var(--blue); text-decoration: underline; }
.card__excerpt { margin: 0; font-size: .95rem; color: var(--ink-3); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts { grid-template-columns: 1fr; } }
.cats ul { list-style: none; margin: 0 0 1.75rem; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.cats a { display: inline-flex; gap: .4rem; padding: .4rem .8rem; border: 1.5px solid var(--line-2); border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.cats a span { color: var(--steel); font-weight: 400; }
.cats a[aria-current="page"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.cats a[aria-current="page"] span { color: #c4cbd0; }
.pager ul { list-style: none; margin: 2.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.pager a, .pager span { display: inline-grid; place-items: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .8rem; border: 1.5px solid var(--line-2); border-radius: var(--r); text-decoration: none; color: var(--ink); font-weight: 600; }
.pager span[aria-current] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.pager a:hover { border-color: var(--ink); }

/* ---------- Galerija ---------- */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.gallery figure { margin: 0; }
.gallery a { display: block; }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.gallery figcaption { font-size: .9rem; color: var(--steel); margin-top: .45rem; }
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .gallery { grid-template-columns: 1fr; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1400px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(15, 18, 21, .9); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; border-radius: 4px; }
.lightbox__caption { color: #e9ecee; text-align: center; margin: .6rem 0 0; }
.lightbox__btn { position: fixed; background: var(--signal); color: var(--ink); border: 0; width: 3rem; height: 3rem; border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; }
.lightbox__next { right: 1rem; top: 50%; }

/* ---------- Kontaktai ---------- */
.contact__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); }
.contact__main h2 { color: var(--white); }
.contact__phone { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--f-head); font-size: clamp(2rem, 5vw, 3.2rem); color: var(--signal) !important; text-decoration: none; margin: .5rem 0 .75rem; }
.contact__phone .icon { width: .8em; height: .8em; }
.contact__status { display: flex; align-items: center; gap: .55rem; font-weight: 600; }
.contact__list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: .55rem; }
.contact__list li { display: flex; gap: .6rem; align-items: center; }
.contact__list .icon { color: var(--signal); }
.contact__subtitle { display: flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--white); }
.hours th, .hours td { padding: .45rem 0; border-bottom: 1px solid var(--ink-3); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--signal); font-weight: 600; }
.contact__note { font-size: .9rem; color: #b8c0c6; margin-top: .75rem; }
.contact__map { grid-column: 1 / -1; }
.map { border: 1px dashed #56616b; border-radius: var(--r); padding: 1.1rem 1.25rem; display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.map p { margin: 0; flex: 1 1 22rem; display: flex; gap: .55rem; color: #c4cbd0; font-size: .95rem; }
.map.is-loaded { padding: 0; border: 0; display: block; }
.map iframe { width: 100%; height: 380px; border: 0; border-radius: var(--r); display: block; }
@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Straipsnis ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; width: 0; background: var(--signal); }
.entry__thumb { margin-top: -1.5rem; position: relative; z-index: 1; }
.entry__thumb img { border-radius: var(--r); aspect-ratio: 16 / 8; object-fit: cover; }
.entry__layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-top: 2.5rem; padding-bottom: 3rem; }
.entry__layout.has-aside { grid-template-columns: 17rem minmax(0, 1fr); }
.entry__aside { display: grid; gap: 1.25rem; align-content: start; }
.entry__layout.has-aside .entry__aside { position: sticky; top: 96px; }
.entry__content { font-size: 1.08rem; }
.toc details { border: 1px solid var(--line); border-radius: var(--r); padding: .8rem 1rem; background: var(--paper); }
.toc summary { font-weight: 600; cursor: pointer; }
.toc ol { list-style: none; padding: 0; margin: .6rem 0 0; font-size: .92rem; }
.toc li { margin: .3rem 0; }
.toc .toc__l3 { padding-left: .9rem; }
.toc a { color: var(--ink-3); text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--blue); text-decoration: underline; }
.svc-box { border-top: 6px solid var(--signal); background: var(--ink); color: #dfe3e6; border-radius: var(--r); padding: 1rem 1.1rem; font-size: .93rem; }
.svc-box p { margin: 0 0 .4rem; }
.svc-box__k { font-size: .85rem; color: #b8c0c6; }
.svc-box__t { font-family: var(--f-head); font-size: 1.35rem; line-height: 1.1; }
.svc-box a { color: var(--signal); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding-top: 2rem; padding-bottom: 3rem; }
.post-nav div:last-child { text-align: right; }
.post-nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
.post-nav a span { display: block; font-weight: 400; font-size: .88rem; color: var(--steel); }
.post-nav a:hover { color: var(--blue); }
@media (max-width: 960px) { .entry__layout.has-aside { grid-template-columns: 1fr; gap: 1.5rem; } .entry__layout.has-aside .entry__aside { display: contents; } .entry__aside .toc { order: 0; } .entry__content { order: 1; } .entry__aside .svc-box { order: 2; } }

/* ---------- 404 ---------- */
.notfound__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2.5rem; align-items: center; }
.notfound__code { font-family: var(--f-head); font-size: clamp(5rem, 16vw, 10rem); line-height: .8; margin: 0; color: var(--bench); -webkit-text-stroke: 2px var(--ink); }
.notfound__links { columns: 2; }
@media (max-width: 860px) { .notfound__grid { grid-template-columns: 1fr; } }

/* ---------- Poraštė ---------- */
.site-footer { background: var(--ink); color: #c9d0d5; padding: clamp(2.5rem, 6vw, 4rem) 0 0; font-size: .97rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 2.5rem; }
.site-footer .logo { color: var(--white); margin-bottom: 1rem; }
.site-footer .logo-mark path:first-child { fill: #2c343b; }
.footer__title { font-family: var(--f-head); font-size: 1.35rem; color: var(--white); margin-bottom: .75rem; }
.footer__links, .footer__contacts { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.footer__links--cols { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; }
.footer__contacts { margin-top: 1rem; }
.footer__contacts li { display: flex; gap: .55rem; align-items: center; }
.footer__contacts .icon { color: var(--signal); }
.site-footer a { color: #e6e9eb; text-decoration: none; }
.site-footer a:hover { color: var(--signal); text-decoration: underline; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; margin-top: 2.5rem; padding-top: 1.25rem; padding-bottom: 1.5rem; border-top: 1px solid var(--ink-3); font-size: .88rem; color: #9fa9b1; }
.site-footer__bottom p { margin: 0; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ---------- Mobili juosta ir „į viršų“ ---------- */
.mobile-bar { display: none; }
@media (max-width: 700px) {
	.mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom)); background: var(--ink); border-top: 3px solid var(--signal); }
	.mobile-bar .btn { justify-content: center; color: var(--white); }
	.mobile-bar .btn--signal { color: var(--ink); }
	body { padding-bottom: 4.5rem; }
}
.to-top { position: fixed; right: 1rem; bottom: 1rem; z-index: 50; width: 3.1rem; height: 3.1rem; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--ink-2); color: var(--signal); }
.to-top .icon { position: relative; z-index: 1; }
.to-top__ring { position: absolute; inset: 0; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke: var(--signal); stroke-width: 3; stroke-dasharray: 100; stroke-dashoffset: 100; }
@media (max-width: 700px) { .to-top { bottom: 5.25rem; right: .75rem; } }

@media print {
	.site-header, .mobile-bar, .to-top, .site-footer, .estimator, .calc, .map { display: none !important; }
	.hero, .phero { background: none; }
	a { color: inherit; }
}
