/* GretaBrigita – spausdintuvų remontas Šiauliuose
   Spalvos: rašalas (navy), magenta – veiksmas, žydra – nuorodos/informacija, geltona – būsena,
   „plastikas“ – puslapio fonas, „popierius“ – turinio lapai. */

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dmsans-var.woff") format("woff");
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1B2340;
  --ink-2: #39425F;
  --muted: #58627A;
  --plastic: #E9EDF1;
  --plastic-2: #DDE3EA;
  --paper: #FFFFFF;
  --line: #CDD5DF;
  --mag: #C8156A;
  --mag-d: #A30F55;
  --cy: #0089BF;
  --link: #006A96;
  --yel: #F2B705;
  --ok: #1D7F52;
  --bad: #B4283A;
  --radius: 10px;
  --wrap: 1160px;
  --shadow-sheet: 0 1px 0 rgba(27, 35, 64, .06), 0 14px 30px -12px rgba(27, 35, 64, .28);
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--mag-d); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--cy); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.012em; text-wrap: balance; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
code { font-family: var(--font); font-variant-numeric: tabular-nums; font-weight: 650; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 8px; z-index: 100; }
.skip:focus { top: 0; color: #fff; }
.notice { background: var(--yel); color: var(--ink); text-align: center; padding: .5rem 1rem; font-weight: 600; }

/* ---------- Mygtukai ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .72em 1.15em; border-radius: var(--radius); border: 2px solid transparent;
  font: inherit; font-weight: 650; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn--call { background: var(--mag); color: #fff; font-variant-numeric: tabular-nums; }
.btn--call::before {
  content: ""; width: 1.05em; height: 1.05em; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.9v3a2 2 0 0 1-2.2 2 19.8 19.8 0 0 1-8.6-3.1 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.1 4.2 2 2 0 0 1 4.1 2h3a2 2 0 0 1 2 1.7c.1.9.4 1.8.7 2.7a2 2 0 0 1-.5 2.1L8 9.8a16 16 0 0 0 6 6l1.3-1.3a2 2 0 0 1 2.1-.4c.9.3 1.8.6 2.7.7a2 2 0 0 1 1.7 2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn--call:hover { background: var(--mag-d); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--lg { font-size: 1.1rem; padding: .85em 1.35em; }
.btn--block { display: flex; width: 100%; }
.link { font-weight: 650; }

/* ---------- Antraštė ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); }
.site-header__in { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.logo { display: flex; align-items: center; gap: .7rem; color: var(--ink); text-decoration: none; flex: none; }
.logo:hover { color: var(--ink); }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-weight: 760; font-size: 1.28rem; letter-spacing: -.02em; }
.logo__sub { font-size: .78rem; color: var(--muted); }
.site-nav { margin-left: auto; }
.site-nav ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; white-space: nowrap; padding: .5rem .6rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 560; font-size: .98rem; }
.site-nav a:hover { background: var(--plastic); color: var(--ink); }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--mag); border-radius: 8px 8px 0 0; }
.site-header__call { display: flex; align-items: center; gap: .8rem; }
.nav-toggle { display: none; }
.cmyk { display: grid; grid-template-columns: 1fr 1fr 1fr 6fr; height: 4px; }
.cmyk i:nth-child(1) { background: var(--cy); } .cmyk i:nth-child(2) { background: var(--mag); }
.cmyk i:nth-child(3) { background: var(--yel); } .cmyk i:nth-child(4) { background: var(--ink); }

.status { display: inline-flex; align-items: center; gap: .45em; font-size: .86rem; font-weight: 620; color: var(--ink-2); white-space: nowrap; }
.status::before { content: ""; width: .6em; height: .6em; border-radius: 50%; background: var(--muted); }
.status.is-open::before { background: var(--ok); box-shadow: 0 0 0 4px rgba(29, 127, 82, .18); }
.status.is-closed::before { background: var(--bad); }
.status--inline { font-size: inherit; }

@media (max-width: 1180px) {
  .logo__sub { display: none; }
}
@media (max-width: 960px) {
  .site-header__in { min-height: 64px; gap: .8rem; }
  .nav-toggle { display: inline-flex; margin-left: auto; width: 46px; height: 46px; border: 0; background: var(--plastic); border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; }
  .nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s; }
  .nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle__bars::before { top: -6px; } .nav-toggle__bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(27, 35, 64, .4); display: none; margin: 0; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; padding: .6rem 1.25rem 1.2rem; }
  .site-nav a { padding: .8rem .4rem; font-size: 1.05rem; border-bottom: 1px solid var(--plastic); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--mag); padding-left: .9rem; }
  .site-header__call { display: none; }
  .logo__sub { display: none; }
}

/* ---------- Hero su „būsenos lapu“ ---------- */
.hero {
  background:
    radial-gradient(circle at 1px 1px, rgba(27, 35, 64, .13) 1px, transparent 1.6px) 0 0 / 14px 14px,
    var(--plastic);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem);
  -webkit-mask: none;
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero__h { font-size: clamp(2.4rem, 5.4vw, 4.25rem); font-weight: 780; letter-spacing: -.035em; line-height: 1; margin-bottom: .45em; max-width: 12ch; }
.hero__lead { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 46ch; margin-bottom: 1.6em; }
.hero__act { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__printer { position: relative; padding-top: 6px; }
.printer { position: relative; height: 46px; background: linear-gradient(#2A3456, var(--ink)); border-radius: 14px 14px 6px 6px; box-shadow: 0 10px 20px -12px rgba(27, 35, 64, .6); z-index: 2; }
.printer__slot { position: absolute; left: 7%; right: 7%; bottom: 10px; height: 6px; border-radius: 3px; background: #0B1022; }
.printer__led { position: absolute; right: 18px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: #3DDC8C; box-shadow: 0 0 8px #3DDC8C; }
.sheet {
  position: relative; z-index: 1; margin: -12px 8% 0; background: var(--paper); padding: 2.1rem 1.6rem 1.4rem;
  box-shadow: var(--shadow-sheet); transform-origin: top center;
}
@media (prefers-reduced-motion: no-preference) {
  .sheet { animation: feed 1.1s cubic-bezier(.2, .7, .2, 1) .15s both; }
  @keyframes feed { from { transform: translateY(-78%); clip-path: inset(78% 0 0 0); } to { transform: none; clip-path: inset(0 0 0 0); } }
}
.sheet__marks i { position: absolute; width: 14px; height: 14px; border: 0 solid var(--ink); opacity: .55; }
.sheet__marks i:nth-child(1) { left: 8px; top: 8px; border-left-width: 1.5px; border-top-width: 1.5px; }
.sheet__marks i:nth-child(2) { right: 8px; top: 8px; border-right-width: 1.5px; border-top-width: 1.5px; }
.sheet__marks i:nth-child(3) { left: 8px; bottom: 8px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.sheet__marks i:nth-child(4) { right: 8px; bottom: 8px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.sheet__title { font-weight: 720; font-size: 1.02rem; margin: 0 0 .9rem; padding-bottom: .6rem; border-bottom: 2px solid var(--ink); }
.sheet__rows { margin: 0; font-variant-numeric: tabular-nums; }
.sheet__rows div { display: flex; align-items: baseline; gap: .5rem; padding: .42rem 0; font-size: .97rem; }
.sheet__rows dt { color: var(--muted); flex: none; }
.sheet__rows div::after { content: none; }
.sheet__rows dd { margin: 0 0 0 auto; font-weight: 650; text-align: right; }
.sheet__rows dt::after { content: ""; }
.sheet__rows div { background: linear-gradient(to right, var(--line) 33%, transparent 0) 0 calc(100% - 0px) / 6px 1px repeat-x; }
.sheet__bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 1.2rem 0 .7rem; }
.sheet__bars i { height: 10px; }
.sheet__bars i:nth-child(1) { background: var(--cy); } .sheet__bars i:nth-child(2) { background: var(--mag); }
.sheet__bars i:nth-child(3) { background: var(--yel); } .sheet__bars i:nth-child(4) { background: var(--ink); }
.sheet__foot { font-size: .82rem; color: var(--muted); margin: 0; }
@media (max-width: 860px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__h { max-width: 14ch; }
  .sheet { margin-inline: 4%; }
}

/* ---------- Sekcijos ---------- */
.section { padding: clamp(3rem, 6vw, 5rem) 0; background: var(--plastic); }
.section--plain { background: var(--paper); }
.section--inset { background: var(--plastic); padding: 2rem; border-radius: 16px; margin: 2.5rem 0; }
.section__head { max-width: 62ch; margin-bottom: 2rem; }
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.section__h { font-size: clamp(1.65rem, 2.8vw, 2.35rem); letter-spacing: -.025em; font-weight: 740; }
.section__h--sm { font-size: 1.15rem; font-weight: 650; color: var(--ink-2); letter-spacing: 0; }
.section__p { color: var(--ink-2); font-size: 1.08rem; }
.section__more { margin-top: 2rem; display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--top { align-items: start; margin-top: 3rem; }
.split--faq { align-items: start; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); }
.split--calc { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
@media (max-width: 860px) { .split, .split--faq, .split--calc { grid-template-columns: 1fr; } }

/* Kainoraščio stiliaus paslaugų sąrašas */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4.5rem); }
.service { border-top: 1px solid var(--line); }
.service__link { display: block; padding: 1.1rem 0 1.2rem; color: var(--ink); text-decoration: none; }
.service__row { display: flex; align-items: baseline; gap: .6rem; }
.service__name { font-weight: 700; font-size: 1.15rem; }
.service__dots { flex: 1; border-bottom: 2px dotted var(--line); transform: translateY(-.3em); min-width: 1rem; }
.service__price { font-weight: 700; color: var(--mag); font-variant-numeric: tabular-nums; white-space: nowrap; }
.service__text { display: block; color: var(--muted); margin-top: .35rem; max-width: 52ch; }
.service__link:hover .service__name { text-decoration: underline; text-decoration-color: var(--mag); text-underline-offset: .2em; }
.section--plain .service, .page-body .service { border-color: var(--plastic-2); }
@media (max-width: 760px) { .services { grid-template-columns: 1fr; } }

.brands { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 1.9rem; }
.brands a { font-size: clamp(1.35rem, 2.4vw, 1.85rem); font-weight: 760; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.brands a:hover { color: var(--mag); }
.section--brands { padding: 2.5rem 0; background: var(--paper); border-top: 1px solid var(--plastic-2); border-bottom: 1px solid var(--plastic-2); }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 1.5rem 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 1.2rem 3.3rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -.1rem; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 2px solid var(--mag); color: var(--mag); display: grid; place-items: center; font-weight: 750; font-variant-numeric: tabular-nums; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 1.08rem; top: 2.3rem; bottom: .2rem; width: 2px; background: var(--plastic-2); }

.laser { list-style: none; counter-reset: l; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem 2.5rem; }
.laser__step { counter-increment: l; border-top: 2px solid var(--ink); padding-top: 1rem; }
.laser__h { font-size: 1.15rem; display: flex; gap: .6rem; align-items: baseline; }
.laser__h::before { content: counter(l); color: var(--mag); font-variant-numeric: tabular-nums; }
.laser__step p { color: var(--ink-2); margin-bottom: .6rem; }
.laser__fault { font-size: .94rem; color: var(--muted) !important; padding-left: .9rem; border-left: 3px solid var(--yel); }
@media (max-width: 860px) { .laser { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .laser { grid-template-columns: 1fr; } }

.codes-teaser { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.codes-teaser a { display: block; background: var(--paper); padding: 1.1rem 1.2rem; text-decoration: none; color: var(--ink); border-left: 4px solid var(--cy); height: 100%; }
.codes-teaser li:nth-child(4n+2) a { border-left-color: var(--mag); }
.codes-teaser li:nth-child(4n+3) a { border-left-color: var(--yel); }
.codes-teaser li:nth-child(4n+4) a { border-left-color: var(--ink); }
.codes-teaser__b { display: block; font-weight: 740; font-size: 1.2rem; }
.codes-teaser__c { display: block; color: var(--muted); font-size: .92rem; font-variant-numeric: tabular-nums; }
.codes-teaser a:hover .codes-teaser__b { color: var(--mag); }

.tips { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 2.5rem; }
.tips__h { font-size: 1.1rem; }
.tips p { color: var(--ink-2); margin: 0; }
@media (max-width: 860px) { .tips { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .tips { grid-template-columns: 1fr; } }

/* ---------- Gedimų asistentas ---------- */
.assistant { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem; align-items: start; }
.assistant__pick { border: 0; margin: 0; padding: 0; min-width: 0; }
.assistant__legend { font-weight: 650; margin-bottom: .9rem; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span { display: inline-block; padding: .6rem .95rem; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line); font-weight: 580; transition: border-color .15s, background-color .15s; }
.section--plain .chip span { background: var(--plastic); border-color: transparent; }
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--cy); outline-offset: 2px; }
.diag { background: var(--paper); padding: 1.6rem 1.7rem; box-shadow: var(--shadow-sheet); border-top: 5px solid var(--ink); }
.section--plain .diag { background: var(--paper); border: 1px solid var(--plastic-2); border-top: 5px solid var(--ink); box-shadow: none; }
.diag__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: baseline; }
.diag__title { font-size: 1.35rem; margin: 0; }
.urgency { font-size: .85rem; font-weight: 680; padding: .2rem .6rem; border-radius: 6px; }
.urgency--1 { background: #E4F3EB; color: #145C3B; }
.urgency--2 { background: #FDF3D3; color: #6E5200; }
.urgency--3 { background: #FBE3E7; color: #8E1C2C; }
.diag__cause { margin: 1rem 0; font-size: 1.05rem; }
.diag__h { font-size: 1rem; margin: 1rem 0 .4rem; }
.diag__list { margin: 0 0 1rem; }
.diag__list li { margin-bottom: .3rem; }
.diag__meta { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 1rem 0; padding-top: 1rem; border-top: 1px dashed var(--line); }
.diag__meta dt { font-size: .85rem; color: var(--muted); }
.diag__meta dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.diag__more { margin: 0; font-weight: 650; }
@media (max-width: 860px) { .assistant { grid-template-columns: 1fr; } }

/* ---------- Skaičiuoklė ---------- */
.calc { background: var(--paper); padding: 1.6rem; box-shadow: var(--shadow-sheet); }
.section--plain .calc { box-shadow: none; border: 1px solid var(--plastic-2); }
.calc__inputs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: end; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field__label { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.field__input { font: inherit; font-variant-numeric: tabular-nums; padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.field__input:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(0, 137, 191, .25); }
.field__input--lg { font-size: 1.15rem; padding: .85rem 1rem; }
.calc__out { margin-top: 1.4rem; }
.meter { height: 12px; background: var(--plastic); border-radius: 6px; overflow: hidden; }
.meter__bar { display: block; height: 100%; width: 33%; background: var(--ok); transition: width .3s, background-color .3s; }
.meter__bar.is-mid { background: var(--yel); } .meter__bar.is-bad { background: var(--bad); }
.calc__verdict { font-weight: 740; font-size: 1.25rem; margin: .9rem 0 .2rem; }
.calc__note { color: var(--muted); margin: 0; }
@media (max-width: 600px) { .calc__inputs { grid-template-columns: 1fr; } }

/* ---------- DUK ---------- */
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { cursor: pointer; list-style: none; padding: 1.05rem 2.5rem 1.05rem 0; font-weight: 650; font-size: 1.08rem; position: relative; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: ""; position: absolute; right: .3rem; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat; transition: transform .2s; }
.faq__item[open] .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 0 1.1rem; color: var(--ink-2); max-width: 68ch; }

/* ---------- Kortelės ---------- */
.cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; }
.card__link { display: block; color: var(--ink); text-decoration: none; }
.card__img img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; background: var(--plastic); }
.card__body { display: block; padding-top: .8rem; }
.card__title { display: block; font-weight: 680; font-size: 1.08rem; line-height: 1.3; }
.card__date { display: block; color: var(--muted); font-size: .9rem; margin-top: .3rem; }
.card__link:hover .card__title { color: var(--mag-d); text-decoration: underline; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Kontaktai ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: stretch; }
.kv { margin: 0 0 1.2rem; }
.kv div { padding: .75rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.kv__phone { font-size: 1.25rem; font-weight: 740; color: var(--mag); text-decoration: none; font-variant-numeric: tabular-nums; }
.contact__closed, .contact__note { color: var(--ink-2); }
.map { position: relative; min-height: 340px; background:
  linear-gradient(90deg, rgba(27, 35, 64, .06) 1px, transparent 1px) 0 0 / 32px 32px,
  linear-gradient(rgba(27, 35, 64, .06) 1px, transparent 1px) 0 0 / 32px 32px, var(--paper); border: 1px solid var(--line); }
.section .map { background-color: var(--paper); }
.map__load { position: absolute; inset: 0; margin: auto; width: max-content; height: max-content; padding: 1rem 1.4rem; border: 2px solid var(--ink); border-radius: var(--radius); background: #fff; font: inherit; font-weight: 700; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.map__load:hover { background: var(--ink); color: #fff; }
.map__hint { font-size: .8rem; font-weight: 500; color: inherit; opacity: .75; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .kv div { grid-template-columns: 1fr; gap: .1rem; } }

/* ---------- CTA ir poraštė ---------- */
.cta { background: var(--ink); color: #fff; padding: clamp(2.5rem, 5vw, 3.5rem) 0; position: relative; }
.cta::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--cy) 0 12%, var(--mag) 12% 24%, var(--yel) 24% 36%, transparent 36%); }
.cta__in { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.cta__h { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .3em; }
.cta__p { color: #C9CEDA; margin: 0; max-width: 52ch; }
.cta__act { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.cta__addr { color: #fff; font-size: .95rem; }
.cta__addr:hover { color: var(--yel); }
.site-footer { background: #141A31; color: #C9CEDA; padding: 3.5rem 0 1rem; font-size: .96rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yel); text-decoration: underline; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer__h { font-size: 1rem; color: #fff; margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer__cols { columns: 2; }
.site-footer__phone { font-size: 1.2rem; font-weight: 720; font-variant-numeric: tabular-nums; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1rem; font-size: .85rem; }
@media (max-width: 860px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } }

.callbar { display: none; }
@media (max-width: 760px) {
  .callbar { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; padding: .6rem .8rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); box-shadow: 0 -8px 20px -12px rgba(27, 35, 64, .5); }
  body { padding-bottom: 76px; }
}
.totop { position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 46; width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); box-shadow: 0 8px 22px -8px rgba(27, 35, 64, .55); cursor: pointer; display: grid; place-items: center; padding: 0; opacity: 0; transform: translateY(10px); transition: opacity .2s, transform .2s; }
.totop.is-visible { opacity: 1; transform: none; }
.totop svg { width: 52px; height: 52px; }
.totop__track { fill: none; stroke: var(--plastic-2); stroke-width: 3; }
.totop__ring { fill: none; stroke: var(--mag); stroke-width: 3; stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; stroke-dasharray: 132; stroke-dashoffset: 132; }
.totop:hover { background: var(--ink); color: #fff; }
@media (max-width: 760px) { .totop { bottom: 88px; right: .9rem; } }

/* ---------- Vidiniai puslapiai ---------- */
.page-head { background: var(--plastic); padding: 1.6rem 0 2.4rem; }
.page-head__h { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 770; letter-spacing: -.03em; line-height: 1.05; max-width: 22ch; margin-top: .6rem; }
.page-head__lead { font-size: 1.15rem; color: var(--ink-2); max-width: 62ch; margin: 0; }
.page-head__grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 2.5rem; align-items: end; }
.page-head__grid--single { grid-template-columns: 1fr; }
@media (max-width: 860px) { .page-head__grid { grid-template-columns: 1fr; } }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem .5rem; padding: 0; margin: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.crumbs a { color: var(--ink-2); }
.crumbs [aria-current] { color: var(--muted); }
.facts { background: var(--paper); padding: 1.3rem 1.4rem; box-shadow: var(--shadow-sheet); }
.facts dl { margin: 0 0 1rem; }
.facts div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); font-size: .97rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 680; text-align: right; font-variant-numeric: tabular-nums; }
.page-body { padding: 2.5rem 0 4rem; }
.page-body--narrow { max-width: 820px; }
.figure { margin: 0 0 2rem; }
.figure figcaption { font-size: .9rem; color: var(--muted); margin-top: .6rem; max-width: 70ch; }
.figure--wide img { width: 100%; }
.page-body > .figure--wide { max-width: 920px; }
.page-faq { margin-top: 3rem; max-width: 820px; }
.related { margin-top: 3rem; padding-top: 1.5rem; border-top: 2px solid var(--ink); }
.related__h { font-size: 1.1rem; }
.related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.related a { display: inline-block; padding: .45rem .8rem; border-radius: 8px; background: var(--plastic); color: var(--ink); text-decoration: none; font-weight: 580; }
.related a:hover { background: var(--ink); color: #fff; }

/* Tekstas */
.prose { max-width: 70ch; overflow-wrap: break-word; min-width: 0; }
.prose h2, .prose h3, .prose p, .prose li { overflow-wrap: anywhere; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 2.2rem 0 .7rem; letter-spacing: -.02em; }
.prose h3 { font-size: 1.22rem; margin: 1.8rem 0 .5rem; }
.prose li { margin-bottom: .45rem; }
.prose li::marker { color: var(--mag); }
.prose ol li::marker { font-weight: 700; }
.prose blockquote { margin: 1.5rem 0; padding: .4rem 0 .4rem 1.2rem; border-left: 4px solid var(--cy); color: var(--ink-2); }
.prose figure { margin: 2rem 0; }
.prose figcaption { font-size: .9rem; color: var(--muted); margin-top: .5rem; }
.prose strong { font-weight: 700; }
.table-wrap { overflow-x: auto; margin: 1.5rem 0; -webkit-overflow-scrolling: touch; }
.table-wrap table, .prose table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table-wrap th, .table-wrap td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap thead th { background: var(--ink); color: #fff; font-weight: 650; font-size: .92rem; }
.table-wrap tbody tr:nth-child(even) { background: #F5F7F9; }

/* Kainoraštis */
.pricelist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3.5rem; margin-bottom: 3rem; }
.pricelist__h { font-size: 1.2rem; padding-bottom: .5rem; border-bottom: 2px solid var(--ink); }
.pricelist__rows { list-style: none; padding: 0; margin: 0; }
.price { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: .5rem; padding: .7rem 0; border-bottom: 1px solid var(--plastic-2); }
.price__name { color: var(--ink); text-decoration: none; font-weight: 560; }
.price__name:hover { color: var(--mag-d); text-decoration: underline; }
.price__dots { border-bottom: 2px dotted var(--line); transform: translateY(-.3em); }
.price__val { font-weight: 720; white-space: nowrap; font-variant-numeric: tabular-nums; }
.price__note { grid-column: 1 / -1; color: var(--muted); font-size: .9rem; }
@media (max-width: 860px) { .pricelist { grid-template-columns: 1fr; } .price { grid-template-columns: 1fr auto; } .price__dots { display: none; } }

/* Klaidų kodai */
.codes-search { background: var(--plastic); padding: 1.4rem; margin-bottom: 2rem; position: sticky; top: 78px; z-index: 5; }
.codes-search__count { margin: .5rem 0 0; font-size: .9rem; color: var(--muted); min-height: 1.3em; }
.codes { margin-bottom: 2.5rem; }
.codes__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.codes__h { font-size: 1.6rem; }
.codes-table code { font-size: 1.02rem; white-space: nowrap; }
.codes-table td:nth-child(2) { font-weight: 560; min-width: 12rem; }
.tag { display: inline-block; font-size: .78rem; font-weight: 680; padding: .1rem .5rem; border-radius: 5px; margin-left: .3rem; white-space: nowrap; }
.tag--diy { background: #E4F3EB; color: #145C3B; }
.tag--svc { background: #FBE3E7; color: #8E1C2C; }
.codes-empty { padding: 1.4rem; background: #FDF3D3; }
@media (max-width: 960px) { .codes-search { top: 64px; } }

/* Tinklaraštis */
.catnav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.catnav a { padding: .45rem .9rem; border-radius: 999px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 580; font-size: .95rem; }
.catnav a:hover { background: var(--ink); color: #fff; }
.catnav a[aria-current] { background: var(--ink); color: #fff; }
.postlist { list-style: none; margin: 0; padding: 0; }
.postlist__item { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 1.8rem; padding: 1.6rem 0; border-bottom: 1px solid var(--plastic-2); }
.postlist__img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--plastic); }
.postlist__h { font-size: 1.35rem; margin-bottom: .4rem; }
.postlist__h a { color: var(--ink); text-decoration: none; }
.postlist__h a:hover { color: var(--mag-d); text-decoration: underline; }
.postlist__ex { color: var(--ink-2); margin-bottom: .5rem; }
.postlist__date { color: var(--muted); font-size: .9rem; margin: 0; }
@media (max-width: 700px) { .postlist__item { grid-template-columns: 1fr; gap: .9rem; } }
.pager { display: flex; gap: .4rem; margin-top: 2rem; flex-wrap: wrap; }
.pager a { min-width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 8px; background: var(--plastic); color: var(--ink); text-decoration: none; font-weight: 650; }
.pager a[aria-current] { background: var(--ink); color: #fff; }

/* Įrašas */
.post-head__h { max-width: 28ch; font-size: clamp(1.85rem, 3.6vw, 2.75rem); }
.post-head__meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: var(--muted); font-size: .95rem; margin: .8rem 0 0; }
.post-body { padding: 2rem 0 3.5rem; }
.post-figure { max-width: 1100px; }
.post-figure img { max-height: 560px; width: 100%; object-fit: cover; }
.post-grid { display: grid; grid-template-columns: 220px minmax(0, 70ch) 1fr; gap: 2.5rem; align-items: start; }
.toc { position: sticky; top: 100px; font-size: .92rem; }
.toc__h { font-weight: 700; margin-bottom: .5rem; }
.toc ol { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--plastic-2); }
.toc a { display: block; padding: .3rem 0 .3rem .8rem; color: var(--ink-2); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; line-height: 1.35; }
.toc a:hover, .toc a.is-active { color: var(--ink); border-left-color: var(--mag); }
.post-content { grid-column: 2; }
.post-aside { grid-column: 3; position: sticky; top: 100px; }
.aside-card { background: var(--plastic); padding: 1.3rem; max-width: 300px; }
.aside-card__h { font-weight: 720; font-size: 1.05rem; margin-bottom: .4rem; }
.aside-card p { font-size: .95rem; }
.aside-card__addr { margin: .8rem 0 0; color: var(--ink-2); }
@media (max-width: 1180px) {
  .post-grid { grid-template-columns: minmax(0, 70ch) 1fr; }
  .toc { display: none; }
  .post-content { grid-column: 1; }
  .post-aside { grid-column: 2; }
}
@media (max-width: 860px) {
  .post-grid { grid-template-columns: 1fr; }
  .post-aside { grid-column: 1; position: static; }
  .aside-card { max-width: none; }
}

/* Paslaugų tinklelis */
.services--full { margin-bottom: 3rem; }
.linkgrid { list-style: none; padding: 0; margin: 0 0 3rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.linkgrid a { display: block; padding: 1.1rem 1.2rem; background: var(--plastic); color: var(--ink); text-decoration: none; height: 100%; border-bottom: 3px solid transparent; }
.linkgrid a:hover { border-bottom-color: var(--mag); }
.linkgrid__t { display: block; font-weight: 700; margin-bottom: .3rem; }
.linkgrid__d { display: block; color: var(--muted); font-size: .92rem; line-height: 1.45; }
@media (max-width: 860px) { .linkgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .linkgrid { grid-template-columns: 1fr; } }

/* Galerija */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery__item { display: block; color: var(--ink); text-decoration: none; }
.gallery__item img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.gallery__cap { display: block; font-size: .9rem; color: var(--muted); padding-top: .45rem; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } }
.lightbox { border: 0; padding: 0; max-width: min(1100px, 94vw); background: transparent; }
.lightbox::backdrop { background: rgba(20, 26, 49, .88); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; }
.lightbox__cap { color: #fff; text-align: center; margin: .6rem 0 0; }
.lightbox__close { position: fixed; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; }

/* 404 */
.notfound { background: var(--plastic); padding: 4rem 0 5rem; }
.notfound__sheet { background: var(--paper); max-width: 640px; padding: 2.5rem; box-shadow: var(--shadow-sheet); }
.notfound__code { font-size: 4.5rem; font-weight: 800; letter-spacing: -.04em; color: var(--mag); line-height: 1; margin: 0 0 .5rem; }
.notfound__links { columns: 2; }

@media print {
  .site-header, .site-footer, .callbar, .totop, .cta, .toc, .post-aside { display: none !important; }
  body { padding: 0; }
}
