/* =========================================================
   VEM.lt — rangovų paieškos platforma
   Vizualinė sistema: pušies žalia + ruletės geltona,
   kalkių tinko fonas, ruletės juosta kaip pagrindinis motyvas.
   ========================================================= */

:root {
  --pine: #123C32;
  --pine-2: #1C5446;
  --pine-3: #0A2620;
  --lime: #EEF0EA;
  --paper: #FAFBF8;
  --concrete: #CDD1C9;
  --line: #DCE0D8;
  --ink: #0F1F1A;
  --muted: #56635C;
  --on-pine: #E9F0EC;
  --on-pine-muted: #A9BDB4;
  --tape: #FFC21A;
  --tape-2: #EBAE00;
  --ok: #1F7A4D;
  --err: #B42318;

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

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-s: 4px;
  --r-m: 8px;
  --r-l: 16px;

  --step--1: 0.8125rem;  /* 13 */
  --step-0: 1.0625rem;   /* 17 */
  --step-1: 1.3125rem;   /* 21 */
  --step-2: 1.625rem;    /* 26 */
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.25rem);
  --step-4: clamp(2.25rem, 1.5rem + 3vw, 3.5rem);
  --step-5: clamp(2.75rem, 1.4rem + 5.4vw, 5.5rem);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 750;
  font-variation-settings: "wdth" 80;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.15; }
h4 { font-size: var(--step-1); line-height: 1.2; }
p { margin: 0; text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--tape);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-tape :focus-visible,
.tape-band :focus-visible { outline-color: var(--pine); }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute; left: 16px; top: -60px;
  background: var(--tape); color: var(--ink);
  padding: 10px 16px; z-index: 100; font-weight: 600;
}
.skip:focus { top: 12px; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid transparent;
  border-radius: var(--r-s);
  font-family: var(--f-display);
  font-weight: 650;
  font-variation-settings: "wdth" 88;
  font-size: 1.0625rem;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-pine { background: var(--pine); color: var(--on-pine); }
.btn-pine:hover { background: var(--pine-2); }
.btn-tape { background: var(--tape); color: var(--ink); }
.btn-tape:hover { background: var(--tape-2); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--lime); }
.btn-line-light { background: transparent; color: var(--on-pine); border-color: var(--on-pine-muted); }
.btn-line-light:hover { border-color: var(--on-pine); background: rgba(255,255,255,.06); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

.link {
  color: var(--pine);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  text-decoration-color: var(--tape);
}
.link:hover { text-decoration-color: var(--pine); }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(238, 240, 234, .92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 72px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  color: var(--pine);
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "wdth" 75;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.logo-mark {
  position: relative;
  padding-bottom: 7px;
}
/* liniuotės padalos po logotipu */
.logo-mark::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 6px;
  background:
    linear-gradient(90deg, currentColor 2px, transparent 2px) 0 0 / 10px 6px repeat-x,
    linear-gradient(90deg, currentColor 1px, transparent 1px) 5px 3px / 10px 3px repeat-x;
}
.logo-tld {
  font-size: 1.125rem;
  font-weight: 600;
  margin-left: 2px;
  color: var(--muted);
}
.site-footer .logo { color: var(--on-pine); }
.site-footer .logo-tld { color: var(--on-pine-muted); }

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}
.nav a:not(.btn) {
  padding: 8px 14px;
  text-decoration: none;
  font-weight: 500;
  border-radius: var(--r-s);
  color: var(--ink);
}
.nav a:not(.btn):hover { background: rgba(18, 60, 50, .07); }
.nav a[aria-current="page"] {
  color: var(--pine);
  box-shadow: inset 0 -3px 0 var(--tape);
  border-radius: 0;
}
.nav .nav-login { margin-left: auto; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 2px solid var(--ink);
  border-radius: var(--r-s);
  padding: 6px 14px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 20px;
    background: var(--lime);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--tape); padding-left: 14px; }
  .nav .nav-login { margin-left: 0; }
  .nav .btn { margin-top: 16px; }
}

/* ---------- Herojus su rulete ---------- */

.hero {
  background: var(--pine);
  color: var(--on-pine);
  padding: clamp(36px, 4.5vw, 64px) 0 0;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: end;
}
.hero h1 {
  font-size: var(--step-5);
  font-weight: 800;
  font-variation-settings: "wdth" 75;
  line-height: 0.95;
  letter-spacing: -0.025em;
  max-width: 18ch;
}
.hero-lead {
  margin-top: 20px;
  max-width: 52ch;
  font-size: 1.1875rem;
  color: var(--on-pine-muted);
}
.hero-lead strong { color: var(--on-pine); font-weight: 600; }

.live {
  border-left: 1px solid rgba(233, 240, 236, .2);
  padding-left: clamp(20px, 3vw, 36px);
}
.live h2 {
  font-size: 1.0625rem;
  font-family: var(--f-body);
  font-weight: 600;
  font-variation-settings: normal;
  letter-spacing: 0;
  color: var(--on-pine-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.live h2::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--tape);
  box-shadow: 0 0 0 4px rgba(255, 194, 26, .2);
}
.live ol { list-style: none; margin: 14px 0 0; padding: 0; }
.live li { padding: 14px 0; border-top: 1px solid rgba(233, 240, 236, .14); }
.live li:first-child { border-top: 0; }
.live a { text-decoration: none; display: block; }
.live a:hover .live-title { text-decoration: underline; text-decoration-color: var(--tape); text-underline-offset: 3px; }
.live-title { font-weight: 600; color: var(--on-pine); line-height: 1.35; display: block; }
.live-meta { font-size: 0.9375rem; color: var(--on-pine-muted); }

/* Ruletės juosta */
.tape-zone {
  position: relative;
  margin-top: clamp(32px, 3.5vw, 48px);
  padding-bottom: clamp(40px, 4.5vw, 64px);
}
.tape-band {
  position: relative;
  color: var(--ink);
  background:
    linear-gradient(90deg, var(--ink) 2px, transparent 2px) 0 0 / 100px 30px repeat-x,
    linear-gradient(90deg, var(--ink) 1.5px, transparent 1.5px) 50px 0 / 100px 20px repeat-x,
    linear-gradient(90deg, rgba(15, 31, 26, .75) 1px, transparent 1px) 0 0 / 10px 11px repeat-x,
    linear-gradient(180deg, rgba(255,255,255,.28), transparent 18%, transparent 82%, rgba(0,0,0,.08)),
    var(--tape);
  margin-right: clamp(40px, 8vw, 140px);
  border-radius: 0 3px 3px 0;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55);
  padding: 58px 0 28px;
}
/* metalinis ruletės galo kabliukas */
.tape-band::after {
  content: "";
  position: absolute;
  top: -10px; bottom: -10px;
  right: -14px;
  width: 14px;
  background: linear-gradient(90deg, #9AA59F, #D5DBD7 45%, #87928C);
  border-radius: 0 3px 3px 0;
}
.tape-numbers {
  position: absolute;
  top: 9px; left: 0; right: 0;
  height: 22px;
  display: flex;
  overflow: hidden;
  pointer-events: none;
  font-family: var(--f-display);
  font-weight: 700;
  font-variation-settings: "wdth" 75;
  font-size: 0.9375rem;
  line-height: 1;
}
.tape-numbers span { flex: 0 0 100px; padding-left: 6px; }
.tape-numbers span:nth-child(5n) { color: var(--err); }

.tape-band .wrap { position: relative; }

.search {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) auto;
  gap: 0;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-m);
  overflow: hidden;
}
.search label { display: block; padding: 10px 18px 0; font-size: var(--step--1); font-weight: 600; color: var(--muted); }
.search .search-field + .search-field { border-left: 2px solid var(--line); }
.search input, .search select {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 2px 18px 12px;
  font-size: 1.125rem;
  font-weight: 500;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.search select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230F1F1A' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}
.search-field:focus-within { background: #fff; box-shadow: inset 0 -3px 0 var(--pine); }
.search .btn { border-radius: 0; min-height: 100%; padding: 0 30px; font-size: 1.125rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 18px;
  align-items: center;
}
.chips-label { font-size: 0.9375rem; font-weight: 600; margin-right: 4px; }
.chip {
  display: inline-block;
  padding: 5px 12px;
  border: 1.5px solid rgba(15, 31, 26, .55);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  background: rgba(255, 255, 255, .25);
}
.chip:hover { background: var(--ink); color: var(--tape); border-color: var(--ink); }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 36px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  color: var(--on-pine-muted);
  font-size: 0.9375rem;
}
.hero-facts b { color: var(--on-pine); font-weight: 600; }

/* vienas orkestruotas judesys: ruletė išsitraukia */
@media (prefers-reduced-motion: no-preference) {
  .tape-band { animation: tape-out 1.1s cubic-bezier(.2, .8, .2, 1) .15s both; }
  .tape-band .wrap { animation: fade-in .5s ease-out .95s both; }
}
@keyframes tape-out {
  from { clip-path: inset(-20px 100% -20px 0); }
  to   { clip-path: inset(-20px -30px -20px 0); }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .live { border-left: 0; padding-left: 0; border-top: 1px solid rgba(233,240,236,.2); padding-top: 20px; }
}
@media (max-width: 720px) {
  /* telefone paieška svarbiau už naujausių užsakymų sąrašą */
  .live { display: none; }
  .hero-facts { flex-direction: column; gap: 2px; }
  .tape-band { margin-right: 18px; padding-top: 52px; }
  .search { grid-template-columns: 1fr; }
  .search .search-field + .search-field { border-left: 0; border-top: 2px solid var(--line); }
  .search .btn { min-height: 54px; }
}

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

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section-head p { max-width: 52ch; color: var(--muted); margin-top: 12px; }

/* Kategorijų tinklelis: vientisa lentelė su plonomis linijomis */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  border-left: 1px solid var(--concrete);
  list-style: none;
  margin: 0;
  padding: 0;
}
.cat-grid li { border-right: 1px solid var(--concrete); border-bottom: 1px solid var(--concrete); }
.cat-grid a {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 4px 14px;
  padding: 22px 20px 24px;
  text-decoration: none;
  height: 100%;
  transition: background-color .15s;
}
.cat-grid a:hover { background: var(--tape); }
.cat-grid svg { grid-row: span 3; width: 34px; height: 34px; color: var(--pine); }
.cat-name { font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 85; font-size: 1.1875rem; line-height: 1.2; }
.cat-hint { font-size: 0.9375rem; color: var(--muted); line-height: 1.4; }
.cat-count { font-size: var(--step--1); font-weight: 600; color: var(--pine); margin-top: 6px; }
.cat-grid a:hover .cat-hint { color: var(--ink); }

@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px)  {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-grid a { padding: 16px 14px; }
}

/* Žingsniai (tikra seka, todėl numeruojami) */
.steps-section { background: var(--paper); border-block: 1px solid var(--line); }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  counter-reset: step;
  position: relative;
}
.steps::before {
  /* matavimo linija per visus žingsnius */
  content: "";
  position: absolute;
  left: 0; right: 0; top: 34px;
  height: 12px;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 100% 2px no-repeat,
    linear-gradient(90deg, var(--ink) 1px, transparent 1px) 0 0 / 20px 8px repeat-x;
}
.steps li { counter-increment: step; padding-right: clamp(16px, 3vw, 48px); position: relative; }
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px; height: 68px;
  background: var(--tape);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "wdth" 75;
  font-size: 2rem;
  position: relative;
  margin-bottom: 26px;
}
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); max-width: 34ch; }

@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps::before { left: 33px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: var(--ink); }
  .steps li { padding-left: 96px; padding-right: 0; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
}

/* ---------- Rangovų eilutės ---------- */

.pro-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.pro-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 180px auto;
  gap: 20px 28px;
  align-items: start;
  padding: 26px 0;
  border-bottom: 1px solid var(--concrete);
}
.avatar {
  width: 64px; height: 64px;
  border-radius: var(--r-m);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "wdth" 75;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--paper);
  background: var(--pine);
  flex: none;
}
.avatar-lg { width: 112px; height: 112px; font-size: 2.75rem; border-radius: var(--r-l); }
.pro-name {
  font-family: var(--f-display);
  font-weight: 700;
  font-variation-settings: "wdth" 85;
  font-size: 1.5rem;
  line-height: 1.15;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
}
.pro-name a { text-decoration: none; }
.pro-name a:hover { text-decoration: underline; text-decoration-color: var(--tape); text-decoration-thickness: 3px; text-underline-offset: 4px; }
.pro-legal { font-family: var(--f-body); font-size: 0.9375rem; font-weight: 500; color: var(--muted); }
.pro-cats { margin-top: 4px; font-size: 0.9375rem; color: var(--pine); font-weight: 600; }
.pro-about { margin-top: 10px; color: var(--muted); max-width: 62ch; font-size: 1rem; }
.pro-tags { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; font-size: 0.9375rem; }
.pro-tags span { display: inline-flex; align-items: center; gap: 6px; }
.pro-tags svg { width: 16px; height: 16px; color: var(--muted); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px 3px 7px;
  border-radius: 999px;
  background: rgba(31, 122, 77, .1);
  color: var(--ok);
  font-family: var(--f-body);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
}
.badge svg { width: 14px; height: 14px; }
.badge-tape { background: var(--tape); color: var(--ink); }
.badge-muted { background: rgba(15, 31, 26, .07); color: var(--muted); }

.score { text-align: left; }
.score-num {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "wdth" 75;
  font-size: 2.25rem;
  line-height: 1;
}
.stars { display: inline-flex; gap: 2px; color: var(--tape-2); vertical-align: middle; }
.stars svg { width: 16px; height: 16px; }
.stars .off { color: var(--concrete); }
.score-meta { font-size: 0.875rem; color: var(--muted); margin-top: 4px; line-height: 1.45; }

.pro-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }

@media (max-width: 960px) {
  .pro-row { grid-template-columns: 56px minmax(0, 1fr); }
  .pro-row .avatar { width: 56px; height: 56px; font-size: 1.25rem; }
  .pro-row .score, .pro-row .pro-actions { grid-column: 2; }
  .score { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
  .score-meta { margin-top: 0; }
  .pro-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .pro-row { grid-template-columns: 1fr; }
  .pro-row .score, .pro-row .pro-actions { grid-column: 1; }
  .pro-actions .btn { flex: 1; }
}

/* ---------- Užsakymų eilutės ---------- */

.job-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.job-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 8px 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--concrete);
  align-items: start;
}
.job-icon {
  width: 48px; height: 48px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--pine);
  background: var(--paper);
}
.job-icon svg { width: 24px; height: 24px; }
.job-title { font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 85; font-size: 1.3125rem; line-height: 1.2; }
.job-desc { color: var(--muted); margin-top: 8px; max-width: 70ch; font-size: 1rem; }
.job-meta { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 10px; font-size: 0.9375rem; }
.job-meta b { font-weight: 600; }
.job-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.job-offers { font-size: 0.9375rem; color: var(--muted); }
.job-offers b {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "wdth" 75;
  font-size: 1.75rem;
  color: var(--ink);
  margin-right: 4px;
}
.job-row.is-mine { background: linear-gradient(90deg, rgba(255,194,26,.18), transparent 60%); }

@media (max-width: 720px) {
  .job-row { grid-template-columns: 40px minmax(0, 1fr); }
  .job-icon { width: 40px; height: 40px; }
  .job-side { grid-column: 2; text-align: left; align-items: flex-start; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 14px; }
}

/* ---------- Dvi kolonos: rangovams juosta ---------- */

.pros-band { background: var(--pine); color: var(--on-pine); }
.pros-band-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.pros-band h2 { max-width: 16ch; }
.pros-band p { color: var(--on-pine-muted); margin-top: 18px; max-width: 48ch; }
.pros-band .actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid rgba(233, 240, 236, .16);
}
.ticks li:first-child { border-top: 0; }
.ticks svg { width: 24px; height: 24px; color: var(--tape); margin-top: 2px; }
.ticks b { display: block; color: var(--on-pine); font-weight: 600; }
.ticks span { color: var(--on-pine-muted); font-size: 0.9375rem; }
.ticks-dark li { border-top-color: var(--line); }
.ticks-dark svg { color: var(--pine); }
.ticks-dark b { color: var(--ink); }
.ticks-dark span { color: var(--muted); }

@media (max-width: 860px) { .pros-band-grid { grid-template-columns: 1fr; } }

/* ---------- Atsiliepimai ---------- */

.quotes {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
}
.quote { margin: 0; }
.quote blockquote {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 500;
  font-variation-settings: "wdth" 90;
  font-size: 1.3125rem;
  line-height: 1.35;
}
.quote:first-child blockquote { font-size: var(--step-2); font-weight: 600; }
.quote figcaption { margin-top: 16px; font-size: 0.9375rem; color: var(--muted); padding-top: 12px; border-top: 2px solid var(--tape); display: inline-block; }
.quote figcaption b { color: var(--ink); font-weight: 600; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Puslapio antraštė (vidiniai puslapiai) ---------- */

.page-head { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(28px, 4vw, 40px); }
.page-head h1 { font-size: var(--step-4); font-weight: 800; font-variation-settings: "wdth" 75; }
.page-head p { margin-top: 14px; color: var(--muted); max-width: 60ch; font-size: 1.125rem; }
.crumbs { font-size: 0.9375rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--ink); }

/* ---------- Katalogas ---------- */

.catalog {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 96px;
}
.filters {
  align-self: start;
  position: sticky;
  top: 96px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: 22px;
}
.filters h2 { font-size: 1.375rem; margin-bottom: 6px; }
.filters .field { margin-top: 16px; }
.filters-toggle { display: none; }

.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.toolbar .field { flex: 1 1 260px; margin: 0; }
.toolbar .field-sort { flex: 0 0 210px; }
.result-count { font-size: 0.9375rem; color: var(--muted); margin-bottom: 10px; }
.result-count b { color: var(--ink); }

@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: block; }
  .filters-toggle { display: inline-flex; }
  .toolbar .field-sort { flex: 1 1 160px; }
}

.empty {
  padding: 48px 28px;
  border: 2px dashed var(--concrete);
  border-radius: var(--r-l);
  text-align: center;
}
.empty h3 { margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 18px; }

/* ---------- Formos ---------- */

.field { display: block; }
.field > span:not(.field-error),
.field-label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.field small { display: block; color: var(--muted); font-size: 0.875rem; margin-top: 6px; }
.input, .select, .textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  background: #fff;
  border: 1.5px solid var(--concrete);
  border-radius: var(--r-s);
  font-size: 1rem;
  transition: border-color .15s;
}
.textarea { min-height: 140px; resize: vertical; line-height: 1.5; }
.select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230F1F1A' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.input:hover, .select:hover, .textarea:hover { border-color: #A9AEA6; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--pine); box-shadow: 0 0 0 3px rgba(255, 194, 26, .6); }
.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: var(--err); }
.field-error { display: none; color: var(--err); font-size: 0.875rem; font-weight: 500; margin-top: 6px; }
.field.has-error .field-error { display: block; }
.form-error { color: var(--err); font-size: 0.9375rem; font-weight: 500; margin-top: 14px; }

.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9375rem;
  cursor: pointer;
  line-height: 1.45;
}
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--pine); flex: none; }

.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stack > * + * { margin-top: 18px; }
@media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }

.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: inline-block;
  padding: 8px 14px;
  border: 1.5px solid var(--concrete);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
}
.seg input:checked + span { background: var(--pine); border-color: var(--pine); color: var(--on-pine); }
.seg input:focus-visible + span { outline: 3px solid var(--tape); outline-offset: 2px; }

/* ---------- Užsakymo vedlys ---------- */

.wizard {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding-bottom: 96px;
}
.wizard-steps { list-style: none; margin: 0; padding: 0; counter-reset: ws; align-self: start; position: sticky; top: 100px; }
.wizard-steps li {
  counter-increment: ws;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  color: var(--muted);
  font-weight: 500;
  position: relative;
}
.wizard-steps li::before {
  content: counter(ws);
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--concrete);
  border-radius: 50%;
  font-family: var(--f-display);
  font-weight: 700;
  background: var(--lime);
  flex: none;
  position: relative;
  z-index: 1;
}
.wizard-steps li + li::after {
  content: "";
  position: absolute;
  left: 17px; top: -12px;
  width: 2px; height: 24px;
  background: var(--concrete);
}
.wizard-steps li.is-current { color: var(--ink); font-weight: 600; }
.wizard-steps li.is-current::before { background: var(--tape); border-color: var(--ink); }
.wizard-steps li.is-done { color: var(--ink); }
.wizard-steps li.is-done::before { content: "✓"; background: var(--pine); border-color: var(--pine); color: var(--on-pine); }

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  padding: clamp(22px, 4vw, 40px);
}
.panel h2 { font-size: var(--step-3); margin-bottom: 8px; }
.panel > p { color: var(--muted); margin-bottom: 24px; }
.wizard-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }

.pick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.pick-grid label { cursor: pointer; display: block; }
.pick-grid input { position: absolute; opacity: 0; pointer-events: none; }
.pick-grid .pick {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1.5px solid var(--concrete);
  border-radius: var(--r-m);
  background: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
  height: 100%;
}
.pick-grid svg { width: 26px; height: 26px; color: var(--pine); flex: none; }
.pick-grid label:hover .pick { border-color: var(--ink); }
.pick-grid input:checked + .pick { background: var(--tape); border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pick-grid input:focus-visible + .pick { outline: 3px solid var(--pine); outline-offset: 2px; }
@media (max-width: 760px) { .pick-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .pick-grid { grid-template-columns: 1fr; } }

@media (max-width: 860px) {
  .wizard { grid-template-columns: 1fr; }
  .wizard-steps { position: static; display: flex; gap: 6px; overflow-x: auto; }
  .wizard-steps li { padding: 0; font-size: 0; gap: 0; }
  .wizard-steps li + li::after { display: none; }
  .wizard-steps li:not(:last-child) { margin-right: 20px; }
}

.summary { margin: 0; display: grid; grid-template-columns: 160px 1fr; gap: 10px 20px; }
.summary dt { color: var(--muted); font-size: 0.9375rem; }
.summary dd { margin: 0; font-weight: 500; }
@media (max-width: 520px) { .summary { grid-template-columns: 1fr; gap: 2px; } .summary dd { margin-bottom: 10px; } }

.done {
  text-align: left;
}
.done-mark {
  width: 72px; height: 72px;
  display: grid;
  place-items: center;
  background: var(--tape);
  border: 2px solid var(--ink);
  border-radius: 50%;
  margin-bottom: 22px;
}
.done-mark svg { width: 34px; height: 34px; }
.done .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

/* ---------- Rangovo profilis ---------- */

.profile-head {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: clamp(32px, 5vw, 56px) 0;
}
.profile-id {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}
.profile-id h1 { font-size: var(--step-4); font-weight: 800; font-variation-settings: "wdth" 75; }
.profile-id .pro-cats { font-size: 1.0625rem; margin-top: 8px; }
.profile-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.profile-score { text-align: right; }
.profile-score .score-num { font-size: 3.5rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 32px 0 0;
  border-top: 1px solid var(--concrete);
}
.facts div { padding: 16px 16px 0 0; }
.facts div + div { padding-left: 16px; border-left: 1px solid var(--concrete); }
.facts dt { font-size: 0.875rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-family: var(--f-display); font-weight: 700; font-variation-settings: "wdth" 85; font-size: 1.375rem; }

@media (max-width: 760px) {
  .profile-id { grid-template-columns: auto minmax(0, 1fr); }
  .profile-score { grid-column: 1 / -1; text-align: left; display: flex; align-items: center; gap: 14px; }
  .profile-id .avatar-lg { width: 80px; height: 80px; font-size: 2rem; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
}

.profile-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: clamp(32px, 5vw, 72px);
  padding: clamp(40px, 6vw, 72px) var(--gutter) 96px;
}
.profile-body section + section { margin-top: 56px; }
.profile-body h2 { font-size: var(--step-3); margin-bottom: 18px; }
.profile-body .about { font-size: 1.1875rem; max-width: 60ch; }
.services { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.services li { break-inside: avoid; padding: 10px 0 10px 26px; border-bottom: 1px solid var(--line); position: relative; }
.services li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 2px; background: var(--pine); }
.price-line { margin-top: 18px; font-weight: 600; }
.price-line span { background: var(--tape); padding: 2px 8px; border-radius: 3px; }
@media (max-width: 600px) { .services { columns: 1; } }

.portfolio { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.portfolio figure { margin: 0; }
.portfolio .swatch { aspect-ratio: 4 / 3; border-radius: var(--r-m); border: 1px solid rgba(0,0,0,.08); }
.portfolio figcaption { margin-top: 10px; font-weight: 600; line-height: 1.35; font-size: 0.9375rem; }
.portfolio figcaption span { display: block; color: var(--muted); font-weight: 400; }

.reviews { list-style: none; margin: 0; padding: 0; }
.reviews li { padding: 22px 0; border-top: 1px solid var(--concrete); }
.review-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.review-head b { font-weight: 600; }
.review-head time { color: var(--muted); font-size: 0.9375rem; }
.reviews p { margin-top: 10px; max-width: 64ch; }

.aside-card {
  position: sticky;
  top: 96px;
  align-self: start;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: var(--r-l);
  overflow: hidden;
}
.aside-card .tape-strip {
  height: 22px;
  background:
    linear-gradient(90deg, var(--ink) 1.5px, transparent 1.5px) 0 0 / 50px 14px repeat-x,
    linear-gradient(90deg, rgba(15,31,26,.7) 1px, transparent 1px) 0 0 / 10px 7px repeat-x,
    var(--tape);
}
.aside-card .inner { padding: 24px; }
.aside-card h2 { font-size: 1.625rem; margin-bottom: 6px; }
.aside-card .inner > p { color: var(--muted); font-size: 0.9375rem; margin-bottom: 18px; }
.aside-note { font-size: 0.8125rem; color: var(--muted); margin-top: 12px; }

@media (max-width: 960px) {
  .profile-body { grid-template-columns: 1fr; }
  .aside-card { position: static; }
}

/* ---------- Medžiagų pavyzdžiai (vietoj nuotraukų) ---------- */

.swatch { background-color: #B9BCB6; }
.sw-brick {
  background-color: #A3553A;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28'%3E%3Cpath d='M0 1H56M0 15H56M14 0V14M42 14V28' stroke='%23E5DACB' stroke-width='2.5'/%3E%3C/svg%3E");
}
.sw-paving {
  background-color: #8B8E89;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 1H40M0 21H40M10 0V20M30 20V40' stroke='%23605F5A' stroke-width='2'/%3E%3Crect x='11' y='2' width='18' height='18' fill='%23999C96'/%3E%3C/svg%3E");
}
.sw-tile {
  background-color: #DCE2E3;
  background-image:
    linear-gradient(#B9C2C4 2px, transparent 2px),
    linear-gradient(90deg, #B9C2C4 2px, transparent 2px);
  background-size: 48px 48px;
}
.sw-wood {
  background-color: #B98A5A;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 22px, #8D6238 22px 24px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 3px, transparent 3px 11px),
    linear-gradient(90deg, rgba(0,0,0,.06), transparent 40%, rgba(0,0,0,.08));
}
.sw-timber {
  background-color: #E6D3AE;
  background-image: repeating-linear-gradient(90deg, #C9A66B 0 14px, transparent 14px 60px);
}
.sw-concrete {
  background-color: #B5B8B2;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(0,0,0,.12) 1px, transparent 2px),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.25) 1px, transparent 2px),
    radial-gradient(circle at 40% 80%, rgba(0,0,0,.08) 1.5px, transparent 2.5px);
  background-size: 17px 17px, 23px 23px, 31px 31px;
}
.sw-roof {
  background-color: #39414A;
  background-image: repeating-linear-gradient(90deg, #39414A 0 26px, #5B646D 26px 29px, #2E353C 29px 31px);
}
.sw-plaster {
  background-color: #E7E2D6;
  background-image:
    radial-gradient(circle at 30% 40%, rgba(0,0,0,.05) 1px, transparent 2px),
    radial-gradient(circle at 80% 20%, rgba(0,0,0,.04) 1px, transparent 2px);
  background-size: 9px 9px, 13px 13px;
}
.sw-insulation {
  background-color: #D7E3D0;
  background-image: repeating-linear-gradient(45deg, rgba(18,60,50,.18) 0 2px, transparent 2px 14px);
}
.sw-solar {
  background-color: #1C2A4C;
  background-image:
    linear-gradient(#7F93BC 1px, transparent 1px),
    linear-gradient(90deg, #7F93BC 1px, transparent 1px);
  background-size: 28px 44px;
}

/* ---------- Kainodara ---------- */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 2px solid var(--ink);
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--paper);
}
.plan { padding: 32px 28px; display: flex; flex-direction: column; }
.plan + .plan { border-left: 1px solid var(--concrete); }
.plan.is-featured { background: var(--tape); }
.plan h3 { font-size: var(--step-2); }
.plan .price { margin: 18px 0 4px; font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: 3rem; line-height: 1; }
.plan .price small { font-size: 1.0625rem; font-weight: 500; font-family: var(--f-body); font-variation-settings: normal; }
.plan > p { color: var(--muted); font-size: 0.9375rem; }
.plan.is-featured > p { color: var(--ink); }
.plan ul { list-style: none; margin: 22px 0 28px; padding: 0; flex: 1; }
.plan li { padding: 8px 0 8px 24px; position: relative; font-size: 0.9375rem; border-top: 1px solid rgba(15,31,26,.12); }
.plan li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 6px; border-left: 2px solid var(--pine); border-bottom: 2px solid var(--pine); transform: rotate(-45deg); }
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--concrete); }
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Dialogas ---------- */

dialog {
  border: 2px solid var(--ink);
  border-radius: var(--r-l);
  padding: 0;
  width: min(560px, calc(100vw - 32px));
  background: var(--paper);
  color: var(--ink);
}
dialog::backdrop { background: rgba(10, 38, 32, .6); }
dialog .inner { padding: 28px; }
dialog h2 { font-size: var(--step-3); margin-bottom: 4px; padding-right: 40px; }
dialog .sub { color: var(--muted); margin-bottom: 20px; }
dialog .dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.dialog-close {
  position: absolute; right: 14px; top: 14px;
  width: 40px; height: 40px;
  border: 0; background: none; cursor: pointer;
  border-radius: 50%;
  display: grid; place-items: center;
}
.dialog-close:hover { background: rgba(15,31,26,.07); }

/* ---------- Pranešimas ---------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 140%);
  background: var(--ink);
  color: var(--lime);
  padding: 14px 20px;
  border-radius: var(--r-m);
  border-left: 6px solid var(--tape);
  font-weight: 500;
  z-index: 200;
  max-width: calc(100vw - 32px);
  transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.toast.is-on { transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* ---------- Prisijungimas ---------- */

.auth {
  max-width: 480px;
  margin: 0 auto;
  padding: clamp(40px, 7vw, 88px) var(--gutter) 96px;
}
.tabs { display: flex; border-bottom: 2px solid var(--ink); margin-bottom: 26px; }
.tabs button {
  flex: 1;
  background: none;
  border: 0;
  padding: 14px 0;
  font-weight: 600;
  cursor: pointer;
  color: var(--muted);
  border-bottom: 4px solid transparent;
  margin-bottom: -2px;
}
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--tape); }
.notice {
  margin-top: 18px;
  padding: 12px 16px;
  background: rgba(255, 194, 26, .22);
  border-left: 4px solid var(--tape);
  font-size: 0.9375rem;
  border-radius: 0 var(--r-s) var(--r-s) 0;
}

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

.site-footer {
  background: var(--pine-3);
  color: var(--on-pine-muted);
  padding: 64px 0 32px;
  font-size: 0.9375rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px;
}
.footer-grid p { margin-top: 14px; max-width: 34ch; }
.footer-grid h2 {
  font-family: var(--f-body);
  font-variation-settings: normal;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--on-pine);
  letter-spacing: 0;
  margin-bottom: 12px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li + li { margin-top: 8px; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: var(--tape); }
.footer-base {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid rgba(233, 240, 236, .14);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

/* pagalbiniai */
.mt-s { margin-top: 12px; }
.mt-m { margin-top: 24px; }
.mt-l { margin-top: 48px; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* =========================================================
   Pagalbininkai
   ========================================================= */

/* Pradžios puslapio CTA: vienas aiškus veiksmas žmogui, kuriam reikia pagalbininko */
.helper-cta {
  position: relative;
  margin-top: clamp(48px, 7vw, 88px);
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: var(--r-l);
  overflow: hidden;
}
.helper-cta .tape-strip {
  height: 22px;
  background:
    linear-gradient(90deg, var(--ink) 1.5px, transparent 1.5px) 0 0 / 50px 14px repeat-x,
    linear-gradient(90deg, rgba(15,31,26,.7) 1px, transparent 1px) 0 0 / 10px 7px repeat-x,
    var(--tape);
}
.helper-cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 4.5vw, 56px);
  align-items: center;
}
.helper-cta h2 { font-size: var(--step-4); font-weight: 800; font-variation-settings: "wdth" 75; max-width: 19ch; }
.helper-cta p { color: var(--muted); margin-top: 14px; max-width: 50ch; font-size: 1.125rem; }
.helper-cta .btn { margin-top: 26px; min-height: 58px; padding: 0 32px; font-size: 1.25rem; }
.helper-cta-side { list-style: none; margin: 0; padding: 0; }
.helper-cta-side li {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-weight: 500;
}
.helper-cta-side li:first-child { border-top: 0; }
.helper-cta-side svg { width: 24px; height: 24px; color: var(--pine); }
.helper-cta-side span:last-child { color: var(--muted); font-size: 0.9375rem; }
.helper-cta-foot {
  border-top: 1px solid var(--line);
  padding: 16px clamp(28px, 4.5vw, 56px);
  background: var(--lime);
  font-size: 0.9375rem;
}
@media (max-width: 860px) { .helper-cta-grid { grid-template-columns: 1fr; } }

/* Pagalbininkų eilutės */
.helper-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 176px;
  gap: 18px 26px;
  padding: 26px 0;
  border-bottom: 1px solid var(--concrete);
  align-items: start;
}
.helper-row .pro-actions { margin-top: 14px; }
.filters { max-height: calc(100vh - 112px); overflow: auto; overscroll-behavior: contain; }
@media (max-width: 900px) { .filters { max-height: none; } }
.helper-row.is-me { background: linear-gradient(90deg, rgba(255,194,26,.18), transparent 60%); }
.avatar-round { border-radius: 50%; }
.works { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.work-tag {
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid var(--concrete);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  background: #fff;
}
.work-tag.is-hit { background: var(--tape); border-color: var(--tape-2); }
.rate {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "wdth" 75;
  font-size: 2rem;
  line-height: 1;
}
.rate small { font-family: var(--f-body); font-variation-settings: normal; font-size: 0.9375rem; font-weight: 500; color: var(--muted); }
@media (max-width: 960px) {
  .helper-row { grid-template-columns: 56px minmax(0, 1fr); }
  .helper-row .avatar { width: 56px; height: 56px; font-size: 1.25rem; }
  .helper-row > .score { grid-column: 2; }
  .helper-row .pro-actions { margin-top: 0; }
}
@media (max-width: 480px) {
  .helper-row { grid-template-columns: 1fr; }
  .helper-row > .score { grid-column: 1; }
}

/* Žymimi darbai (kelių pasirinkimas) */
.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chips label { cursor: pointer; }
.check-chips input { position: absolute; opacity: 0; pointer-events: none; }
.check-chips span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1.5px solid var(--concrete);
  border-radius: 999px;
  background: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
}
.check-chips input:checked + span { background: var(--pine); border-color: var(--pine); color: var(--on-pine); }
.check-chips input:checked + span::before { content: "✓"; font-weight: 700; }
.check-chips input:focus-visible + span { outline: 3px solid var(--tape); outline-offset: 2px; }
.filters .check-chips span { font-size: 0.875rem; padding: 5px 10px; }
.filters .check + .check { margin-top: 10px; }

.filter-group { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.filter-group .field-label { margin-bottom: 10px; }
.range-out { font-weight: 600; }
input[type="range"] { width: 100%; accent-color: var(--pine); }

/* Pagalbininko puslapio herojus su „užrakintomis“ užklausomis */
.lock-board {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(233, 240, 236, .2);
  border-radius: var(--r-l);
  padding: 24px;
}
.lock-count {
  font-family: var(--f-display);
  font-weight: 800;
  font-variation-settings: "wdth" 75;
  font-size: 4rem;
  line-height: 1;
  color: var(--tape);
}
.lock-board > p { color: var(--on-pine-muted); margin-top: 6px; }
.lock-list { list-style: none; margin: 18px 0 0; padding: 0; }
.lock-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(233, 240, 236, .14);
  font-size: 0.9375rem;
}
.lock-list b { color: var(--on-pine); font-weight: 600; }
.blur { filter: blur(4px); user-select: none; color: var(--on-pine-muted); }
.lock-note { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-size: 0.875rem; color: var(--on-pine-muted); }
.lock-note svg { width: 18px; height: 18px; color: var(--tape); flex: none; }

/* Kas įskaičiuota į narystę */
.membership {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  border: 2px solid var(--ink);
  border-radius: var(--r-l);
  overflow: hidden;
  background: var(--paper);
}
.membership-price { background: var(--tape); padding: clamp(24px, 4vw, 44px); }
.membership-price .price { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: clamp(3.5rem, 2rem + 5vw, 6rem); line-height: .9; margin: 10px 0 8px; }
.membership-price .price small { font-size: 1.25rem; font-family: var(--f-body); font-variation-settings: normal; font-weight: 600; }
.membership-price p { max-width: 32ch; }
.membership-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: clamp(24px, 4vw, 44px); }
.membership-lists h3 { font-size: 1.25rem; margin-bottom: 10px; }
.membership-lists ul { list-style: none; margin: 0; padding: 0; }
.membership-lists li { padding: 9px 0 9px 26px; border-top: 1px solid var(--line); position: relative; font-size: 0.9375rem; }
.membership-lists .yes li::before { content: "✓"; position: absolute; left: 2px; color: var(--ok); font-weight: 700; }
.membership-lists .no li::before { content: "✕"; position: absolute; left: 2px; color: var(--err); font-weight: 700; }
@media (max-width: 900px) { .membership { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .membership-lists { grid-template-columns: 1fr; } }

/* DUK */
.faq { border-top: 2px solid var(--ink); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--concrete); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 40px 20px 0;
  position: relative;
  font-family: var(--f-display);
  font-weight: 700;
  font-variation-settings: "wdth" 85;
  font-size: 1.25rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 12px; height: 12px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 66ch; }

/* Apmokėjimo žingsnis */
.order {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-m);
  background: #fff;
}
.order b { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: 2rem; }
.order span { color: var(--muted); font-size: 0.9375rem; }
.banks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.banks label { cursor: pointer; }
.banks input { position: absolute; opacity: 0; pointer-events: none; }
.banks span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 8px;
  border: 1.5px solid var(--concrete);
  border-radius: var(--r-m);
  background: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: center;
}
.banks input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--tape); }
.banks input:focus-visible + span { outline: 3px solid var(--pine); outline-offset: 2px; }
@media (max-width: 520px) { .banks { grid-template-columns: 1fr 1fr; } }
.paid-line { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--r-m); background: rgba(31,122,77,.1); color: var(--ok); font-weight: 600; }
.paid-line svg { width: 22px; height: 22px; }

/* Pagalbininko skydelis */
.dash-head {
  background: var(--pine);
  color: var(--on-pine);
  padding: clamp(32px, 5vw, 56px) 0 clamp(28px, 4vw, 40px);
}
.dash-head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.dash-head h1 { font-size: var(--step-4); font-weight: 800; font-variation-settings: "wdth" 75; }
.dash-head p { color: var(--on-pine-muted); margin-top: 8px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 28px 0 0;
  border-top: 1px solid rgba(233, 240, 236, .2);
}
.stats div { padding: 18px 18px 0 0; }
.stats div + div { padding-left: 18px; border-left: 1px solid rgba(233, 240, 236, .2); }
.stats dt { font-size: 0.875rem; color: var(--on-pine-muted); order: 2; }
.stats dd { margin: 0 0 4px; font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: 2.75rem; line-height: 1; }
.stats div:first-child dd { color: var(--tape); }
.stats div { display: flex; flex-direction: column; }
@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; row-gap: 18px; }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
}

.dash-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 4vw, 56px);
  padding-top: clamp(28px, 4vw, 48px);
  padding-bottom: 96px;
}
@media (max-width: 960px) { .dash-body { grid-template-columns: minmax(0, 1fr); } }
.dash-tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--ink); margin-bottom: 4px; overflow-x: auto; overflow-y: hidden; }
.dash-tabs button {
  background: none;
  border: 0;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 4px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
}
.dash-tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--tape); }
.dash-tabs .count {
  display: inline-block;
  min-width: 22px;
  margin-left: 6px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(15,31,26,.08);
  font-size: 0.8125rem;
  text-align: center;
}
.dash-tabs button[aria-selected="true"] .count { background: var(--ink); color: var(--tape); }

.req { padding: 24px 0; border-bottom: 1px solid var(--concrete); }
.req.is-new { box-shadow: inset 4px 0 0 var(--tape); padding-left: 18px; }
.req.is-done { opacity: .85; }
.req-top { display: flex; justify-content: space-between; gap: 12px; align-items: start; flex-wrap: wrap; }
.req h3 { font-size: 1.3125rem; }
.req-pay { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 80; font-size: 1.375rem; white-space: nowrap; }
.req-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; font-size: 0.9375rem; color: var(--muted); }
.req-meta b { color: var(--ink); font-weight: 600; }
.req p { margin-top: 10px; max-width: 70ch; }
.match { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: 0.875rem; }
.match span { display: inline-flex; gap: 5px; align-items: center; white-space: nowrap; font-weight: 500; }
.match svg { width: 16px; height: 16px; flex: none; }
.match .ok { color: var(--ok); }
.match .no { color: var(--err); }
.req-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; align-items: center; }
.contact-reveal {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--r-m);
  background: rgba(31,122,77,.1);
  font-weight: 500;
}
.contact-reveal a { font-weight: 700; color: var(--ok); }

.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-l); padding: 22px; }
.side-card + .side-card { margin-top: 18px; }
.side-card h2 { font-size: 1.375rem; margin-bottom: 12px; }
.kv { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: 0.9375rem; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; text-align: right; }
.side-card .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.btn-danger { background: transparent; color: var(--err); border-color: rgba(180, 35, 24, .35); }
.btn-danger:hover { background: rgba(180, 35, 24, .08); }

.locked {
  max-width: 640px;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gutter);
  text-align: left;
}
.locked .done-mark svg { width: 30px; height: 30px; }
.locked .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

dialog { max-height: calc(100vh - 32px); overflow: auto; }
.check.has-error span { color: var(--err); }
.steps-section .panel { background: #fff; }
.steps.steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 800px) { .steps.steps-4 { grid-template-columns: 1fr; } }
.stats div:first-child dd { color: var(--tape); }
dialog.dialog-wide { width: min(720px, calc(100vw - 32px)); }

/* =========================================================
   Pagalbininkų platforma: darbų grupės, paslėpta paieška, skydelis
   ========================================================= */

.header-note { color: var(--muted); font-weight: 600; font-size: 0.9375rem; }

.work-groups { display: grid; gap: 14px; }
fieldset.work-group { border: 0; padding: 0; margin: 0; }
fieldset.work-group legend { font-weight: 600; font-size: 0.875rem; color: var(--pine); margin-bottom: 8px; padding: 0; }
details.work-group { border-bottom: 1px solid var(--line); padding: 4px 0 10px; }
details.work-group summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 0.9375rem;
  padding: 8px 24px 6px 0; position: relative;
}
details.work-group summary::-webkit-details-marker { display: none; }
details.work-group summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
}
details.work-group[open] summary::after { transform: translateY(-30%) rotate(225deg); }
details.work-group .check-chips { margin-top: 6px; }
.filters .work-groups { gap: 0; }

.one-of-hint { font-size: 0.875rem; color: var(--muted); margin-top: 6px; }
.one-of.has-one-error .input { border-color: var(--err); }
.one-of.has-one-error .one-of-hint { color: var(--err); font-weight: 600; }

.seg-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border: 1.5px solid var(--concrete); border-radius: 999px;
  background: #fff; font-size: 0.9375rem; font-weight: 600; cursor: pointer; color: var(--ink);
}
.seg-btn[aria-selected="true"] { background: var(--pine); border-color: var(--pine); color: var(--on-pine); }
.seg-btn .count { font-size: 0.8125rem; opacity: .8; }
.dash-tabs button { font-size: 1rem; }
.hero .actions .btn-line-light { color: var(--on-pine); }
.tape-band .chips .chip { cursor: default; }
.job-filter { display: flex; gap: 8px; flex-wrap: wrap; }

.client-cta { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(233, 240, 236, .16); }
.client-cta p { color: var(--on-pine-muted); font-size: 0.9375rem; margin-bottom: 12px; }
.client-cta b { color: var(--on-pine); font-weight: 600; }

/* Rangovo kortelė pradžioje (vietoj atvirų darbų skaičiaus) */
.contractor-card { padding: clamp(22px, 3vw, 32px); }
.contractor-card h2 {
  font-size: var(--step-2); color: var(--on-pine); font-weight: 800;
  font-variation-settings: "wdth" 80; line-height: 1.1; margin-bottom: 10px;
}
.contractor-card > p { color: var(--on-pine-muted); }
.cc-points { list-style: none; margin: 16px 0 22px; padding: 0; }
.cc-points li { position: relative; padding: 6px 0 6px 26px; color: var(--on-pine); font-size: 0.9375rem; }
.cc-points li::before {
  content: ""; position: absolute; left: 2px; top: 12px; width: 11px; height: 6px;
  border-left: 2px solid var(--tape); border-bottom: 2px solid var(--tape); transform: rotate(-45deg);
}
.contractor-card .btn { min-height: 54px; font-size: 1.125rem; }
.nav-contractor { font-weight: 600 !important; color: var(--pine) !important; }

/* Teisiniai puslapiai */
.legal { max-width: 780px; padding-top: clamp(32px, 5vw, 56px); padding-bottom: 96px; }
.legal h1 { font-size: var(--step-4); font-weight: 800; font-variation-settings: "wdth" 75; }
.legal h2 { font-size: var(--step-1); margin: 32px 0 10px; }
.legal p, .legal li { color: var(--ink); line-height: 1.65; }
.legal ul { padding-left: 20px; margin: 0; }
.legal li + li { margin-top: 6px; }
.legal-meta { color: var(--muted); font-size: 0.9375rem; margin-top: 8px; }
.legal-lead { margin-top: 22px; padding: 16px 18px; background: var(--paper); border-left: 4px solid var(--tape); border-radius: 0 var(--r-m) var(--r-m) 0; }

/* Sutikimai formose */
.consents { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--paper); }
.consents .field-label { margin-bottom: 0; }
.consents .req { font-style: normal; font-weight: 600; font-size: 0.8125rem; color: var(--err); white-space: nowrap; }
.consents .opt { font-style: normal; font-size: 0.8125rem; color: var(--muted); white-space: nowrap; }
.consent-note { font-size: 0.8125rem; color: var(--muted); }

/* Patvirtinimo puslapis */
#confirm-box h1 { font-size: var(--step-3); font-weight: 800; font-variation-settings: "wdth" 80; }

/* Administratoriaus skydelis */
.admin-meta { color: var(--on-pine-muted); font-size: 0.9375rem; margin-top: 18px; }
.admin-meta b { color: var(--on-pine); }
.admin-bar { display: flex; gap: 16px; align-items: end; justify-content: space-between; flex-wrap: wrap; }
.admin-bar .dash-tabs { flex: 1 1 auto; margin-bottom: 0; }
.admin-setting { margin: 16px 0 4px; padding: 12px 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); }
.admin-item { padding-left: 0; }
.admin-contact { font-size: 0.9375rem; color: var(--muted); margin-top: 10px; }
.admin-contact a { color: var(--pine); font-weight: 600; }

/* Kontaktai partnerių paieškoje */
.helper-contacts { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
.helper-contacts a {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px;
  border-radius: 999px; background: rgba(31, 122, 77, .1); color: var(--ok);
  font-weight: 600; font-size: 0.9375rem; text-decoration: none;
}
.helper-contacts a:hover { background: rgba(31, 122, 77, .18); }
.helper-contacts svg { width: 16px; height: 16px; }
