:root{
  --background:#fcfcfc;
  --foreground:#0e142b;
  --card:#fafafa;
  --border:#e7e4e4;
  --input:#cccccc;
  --primary:#2e67ff;
  --primary-light:#6f93ff;
  --primary-foreground:#ffffff;
  --secondary:#0e142b;
  --secondary-foreground:#ffffff;
  --muted-foreground:#5b6478;
  --muted-on-dark:#aab4d1;
  --accent-tint:rgba(46,103,255,0.08);
  --teal:#00cdcc;
  --destructive:#ff6c35;
  --success:#1a9e6b;
  --stamp:#c1272d;
  --radius:1.3rem;
  --radius-sm:0.85rem;
  --ease-out:cubic-bezier(0.23,1,0.32,1);
  --ease-in-out:cubic-bezier(0.77,0,0.175,1);
  --font-display:'Abril Fatface', Georgia, serif;
  --font-sans:'Lato', -apple-system, sans-serif;
  --font-serif: Georgia, 'Times New Roman', serif;
  --font-mono:'Space Mono', Menlo, ui-monospace, monospace;
  --max:1340px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--background);
  color:var(--foreground);
  font-family:var(--font-sans);
  font-size:17px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img,svg{ max-width:100%; display:block; }
a{ color:inherit; }
h1,h2{
  font-family:var(--font-display);
  font-weight:400; /* Abril Fatface turi tik vieną storį — sintetinis bold jį gadintų */
  line-height:1.12;
  margin:0;
  letter-spacing:0.005em;
}
h3{
  font-family:var(--font-sans);
  font-weight:700;
  line-height:1.25;
  margin:0;
  letter-spacing:-0.005em;
}
p{ margin:0; }
button{ font-family:inherit; }
.wrap{ max-width:var(--max); margin:0 auto; padding:0 32px; }
.eyebrow{
  font-family:var(--font-mono);
  font-size:0.74rem;
  letter-spacing:0.14em;
  text-transform:uppercase;
  color:var(--primary);
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--accent-tint);
  padding:6px 14px;
  border-radius:999px;
}
.eyebrow--dark{ color:var(--primary-light); background:rgba(111,147,255,0.12); }
section{ padding:110px 0; }
@media (max-width:720px){ section{ padding:70px 0; } .wrap{ padding:0 22px; } }

/* ---------- brand mark: four interlocking diamonds, one per broker's color ---------- */
.mark{
  width:var(--mark-size,36px); height:var(--mark-size,36px);
  flex-shrink:0; display:block;
}

/* ---------- header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(252,252,252,0.86);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
}
.site-header .wrap{ display:flex; align-items:center; justify-content:space-between; height:82px; }
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.brand-name{ font-family:var(--font-display); font-weight:400; font-size:1.3rem; color:var(--foreground); }
.brand-name b{ color:var(--primary); font-weight:400; }

.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:var(--font-sans); font-weight:700; font-size:0.95rem;
  padding:13px 26px; border-radius:var(--radius-sm); border:1px solid transparent;
  text-decoration:none; cursor:pointer; transition:transform 0.16s var(--ease-out), background 0.2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space:nowrap;
}
.btn:disabled{ opacity:0.6; cursor:not-allowed; }
.btn--primary{ background:var(--primary); color:var(--primary-foreground); box-shadow:0 8px 20px -8px rgba(46,103,255,0.6); }
.btn--primary:hover{ background:#2255e0; transform:translateY(-1px); }
.btn--ghost{ background:transparent; color:var(--foreground); border-color:var(--border); }
.btn--ghost:hover{ background:var(--accent-tint); border-color:var(--primary); }
.btn--onDark{ background:var(--primary-foreground); color:var(--secondary); }
.btn--onDark:hover{ background:var(--primary-light); color:var(--secondary); transform:translateY(-1px); }
.btn--ghostDark{ background:transparent; color:var(--secondary-foreground); border-color:rgba(255,255,255,0.25); }
.btn--ghostDark:hover{ background:rgba(255,255,255,0.08); }
.btn--danger{ background:transparent; color:var(--destructive); border-color:rgba(255,108,53,0.4); }
.btn--danger:hover{ background:rgba(255,108,53,0.08); }
/* press feedback: instant, physical -- overrides the hover lift while held */
.btn:active{ transform:scale(0.97); }
.btn--sm{ padding:9px 16px; font-size:0.85rem; }
.btn--wide{ width:100%; }

.nav-cta{ display:flex; align-items:center; gap:20px; }
@media (max-width:880px){ .nav-cta .btn--ghost{ display:none; } }

/* ---------- menu trigger + side drawer (replaces old horizontal nav at all sizes) ---------- */
.menu-trigger{
  display:flex; align-items:center; gap:16px;
  background:none; border:1px solid var(--border); border-radius:999px; cursor:pointer;
  padding:11px 20px 11px 24px;
  font-family:var(--font-mono); font-size:0.8rem; font-weight:700;
  letter-spacing:0.1em; text-transform:uppercase; color:var(--foreground);
  transition:border-color 0.2s ease, background 0.2s ease;
}
.menu-trigger:hover{ border-color:var(--primary); background:var(--accent-tint); }
.menu-trigger-icon{ display:flex; flex-direction:column; gap:5px; width:21px; flex-shrink:0; }
.menu-trigger-icon span{
  height:2px; background:var(--foreground); display:block; transform-origin:center;
  transition:transform 0.3s ease, opacity 0.3s ease;
}
.menu-trigger[aria-expanded="true"] .menu-trigger-icon span:first-child{ transform:translateY(3.5px) rotate(45deg); }
.menu-trigger[aria-expanded="true"] .menu-trigger-icon span:last-child{ transform:translateY(-3.5px) rotate(-45deg); }

.drawer-backdrop{
  position:fixed; inset:0; background:rgba(6,9,20,0.55); backdrop-filter:blur(2px);
  z-index:200; opacity:0; pointer-events:none; transition:opacity 0.35s ease;
}
.drawer-backdrop.is-open{ opacity:1; pointer-events:auto; }

.drawer{
  position:fixed; top:0; right:0; bottom:0; z-index:201;
  width:100%; max-width:560px; height:100dvh;
  background:var(--secondary); color:var(--secondary-foreground);
  display:flex; flex-direction:column; justify-content:space-between;
  padding:32px 44px 34px;
  transform:translateX(100%); transition:transform 0.45s cubic-bezier(.16,1,.3,1);
  overflow-y:auto;
}
.drawer.is-open{ transform:translateX(0); }

.drawer-top{ display:flex; align-items:center; justify-content:space-between; }
.drawer-label{
  font-family:var(--font-mono); font-size:0.78rem; font-weight:700;
  letter-spacing:0.12em; text-transform:uppercase; color:var(--muted-on-dark);
}
.drawer-close{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,0.18);
  background:none; color:#fff; cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition:background 0.2s ease, border-color 0.2s ease, transform 0.16s var(--ease-out); flex-shrink:0;
}
.drawer-close:hover{ background:rgba(255,255,255,0.08); border-color:rgba(255,255,255,0.35); }
.drawer-close:active{ transform:scale(0.92); }
.drawer-close svg{ width:15px; height:15px; }

.drawer-nav{ display:flex; flex-direction:column; margin:8px 0 32px; }
.drawer-nav a{
  font-family:var(--font-display); font-weight:400;
  font-size:clamp(1.2rem,2.8vw,1.8rem); line-height:1.2;
  color:#fff; text-decoration:none; padding:12px 0;
  display:flex; align-items:baseline; gap:18px;
  transition:color 0.25s ease, gap 0.3s ease;
}
.drawer-nav-num{
  font-family:var(--font-mono); font-size:0.7rem; font-weight:700;
  letter-spacing:0.04em; color:var(--muted-on-dark); opacity:0.7;
  transition:color 0.25s ease, opacity 0.25s ease;
}
.drawer-nav a:hover, .drawer-nav a:focus-visible{ color:var(--teal); gap:24px; }
.drawer-nav a:hover .drawer-nav-num, .drawer-nav a:focus-visible .drawer-nav-num{ color:var(--teal); opacity:1; }
.drawer-nav a.is-active{ color:var(--primary-light); }
.drawer-nav a.is-active .drawer-nav-num{ color:var(--primary-light); opacity:1; }

.drawer-bottom{ display:flex; flex-direction:column; gap:20px; }
.drawer-talk{ padding-top:22px; border-top:1px solid rgba(255,255,255,0.1); }
.drawer-cta{
  font-family:var(--font-display); font-weight:400; color:#fff; text-decoration:none;
  font-size:clamp(1.2rem,2.8vw,1.5rem); display:inline-flex; align-items:center; gap:12px;
  margin-top:8px; transition:color 0.2s ease, gap 0.2s ease;
}
.drawer-cta:hover{ color:var(--teal); gap:17px; }
.drawer-cta svg{ width:18px; height:18px; flex-shrink:0; }

.drawer-meta{ display:flex; align-items:center; gap:9px; font-family:var(--font-mono); font-size:0.82rem; color:var(--muted-on-dark); }
.drawer-meta .drawer-dot{ width:6px; height:6px; border-radius:50%; background:var(--teal); flex-shrink:0; }

.drawer-foot{
  display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap;
  padding-top:14px; border-top:1px solid rgba(255,255,255,0.1);
  font-size:0.78rem; color:var(--muted-on-dark);
}
.drawer-foot a{ color:var(--muted-on-dark); text-decoration:underline; }

@media (max-width:640px){
  .drawer{ max-width:100%; padding:24px 26px 28px; }
  .drawer-nav{ margin:8px 0 26px; }
  .drawer-nav a{ gap:14px; padding:13px 0; }
}
@media (prefers-reduced-motion: reduce){
  .drawer, .drawer-backdrop, .menu-trigger-icon span{ transition:none; }
}

/* reveal-on-scroll */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}

/* ---------- generic page header (subpages) ---------- */
.page-head{ background:var(--secondary); color:#fff; padding:64px 0 56px; position:relative; overflow:hidden; }
.page-head .eyebrow{ margin-bottom:16px; }
.page-head h1{ font-size:clamp(2rem,4vw,3rem); margin-bottom:14px; }
.page-head p{ color:var(--muted-on-dark); max-width:56ch; font-size:1.05rem; }
.page-head::after{
  content:""; position:absolute; top:-40%; right:-6%; width:40%; height:160%;
  background:radial-gradient(ellipse at center, rgba(46,103,255,0.25), transparent 65%);
  filter:blur(10px); pointer-events:none;
}
.page-head .wrap{ position:relative; z-index:1; }

/* ---------- legal pages (privatumo-politika.html, slapuku-politika.html) ---------- */
.legal-content{ max-width:760px; }
.legal-updated{ color:var(--muted-foreground); font-size:0.85rem; margin-bottom:40px; }
.legal-content h2{ font-size:1.4rem; margin:44px 0 14px; }
.legal-content h2:first-of-type{ margin-top:0; }
.legal-content h3{ font-size:1.05rem; margin:26px 0 10px; }
.legal-content p{ line-height:1.7; margin-bottom:16px; }
.legal-content ul{ margin:0 0 16px; padding-left:22px; }
.legal-content li{ line-height:1.7; margin-bottom:8px; }
.legal-content a{ color:var(--primary); }

/* ---------- cookie consent banner (injected by site.js on every
   public page) ---------- */
.cookie-banner{
  position:fixed; left:16px; right:16px; bottom:16px; z-index:200;
  max-width:640px; margin:0 auto;
  background:var(--secondary); color:var(--secondary-foreground);
  border-radius:var(--radius); padding:22px 26px;
  display:flex; align-items:center; gap:20px; flex-wrap:wrap;
  box-shadow:0 24px 48px -20px rgba(10,15,32,0.5);
  transform:translateY(140%); opacity:0; pointer-events:none;
  transition:transform 0.32s var(--ease-out), opacity 0.32s ease;
}
.cookie-banner.is-open{ transform:translateY(0); opacity:1; pointer-events:auto; }
.cookie-banner-text{ flex:1 1 280px; }
.cookie-banner-text p{ font-size:0.85rem; line-height:1.5; color:#d3daed; margin:0; }
.cookie-banner-text a{ color:var(--primary-light); text-decoration:underline; }
.cookie-banner-actions{ display:flex; gap:10px; flex-wrap:nowrap; flex:0 0 auto; }
@media (prefers-reduced-motion: reduce){ .cookie-banner{ transition:opacity 0.2s ease; } }
/* on phones this used to stack into a tall card (full-width paragraph +
   two full-width buttons, each on its own row) that covered the hero.
   Keep it a slim strip instead: smaller type, tighter padding, and the
   two buttons stay side by side. */
@media (max-width:640px){
  .cookie-banner{ left:10px; right:10px; bottom:10px; padding:14px 16px; gap:10px; flex-direction:column; align-items:stretch; }
  /* flex-basis:280px (set above for the row layout) would otherwise
     apply to *height* now that the main axis has turned vertical */
  .cookie-banner-text{ flex:none; }
  .cookie-banner-text p{ font-size:0.78rem; line-height:1.4; }
  .cookie-banner-actions{ width:100%; gap:8px; }
  .cookie-banner-actions .btn{ flex:1; padding:9px 6px; font-size:0.78rem; white-space:nowrap; }
}

/* ---------- about-hero: photo-led page head (apie.html), matches the
   homepage hero's card/photo/copy treatment -- simplified (no stat
   strip, CTAs or team card, those belong to the homepage specifically) */
.about-hero-shell{ padding:32px 24px 0; }
.about-hero{
  position:relative; overflow:hidden;
  background:var(--secondary); color:var(--secondary-foreground);
  border-radius:calc(var(--radius) + 0.4rem);
  max-width:1800px; margin:0 auto; padding:0;
  display:flex; flex-direction:column;
}
.about-hero-photo{ position:relative; overflow:hidden; aspect-ratio:3/1; }
.about-hero-photo img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.about-hero-copy{ position:relative; z-index:2; padding:32px 40px 36px 48px; max-width:760px; }
.about-hero-copy .eyebrow{ margin-bottom:16px; }
.about-hero-copy h1{ font-size:clamp(2.05rem,3vw,3rem); line-height:1.1; color:#fff; letter-spacing:-0.015em; margin-bottom:14px; }
.about-hero-copy p{ color:#d3daed; font-size:1.05rem; max-width:56ch; }
@media (min-width:1100px){ .about-hero-copy{ padding-left:64px; } }
@media (max-width:1040px){
  .about-hero-copy h1{ font-size:clamp(1.9rem,3.6vw,2.6rem); }
  .about-hero-copy{ padding:28px 32px 32px; }
  .about-hero-photo{ aspect-ratio:16/9; }
}
@media (max-width:880px){
  .about-hero-shell{ padding:16px 12px 0; }
  .about-hero-photo{ aspect-ratio:3/2; }
  .about-hero-copy{ padding:36px 24px 32px; }
}

.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}

/* ---------- about / values (index) ---------- */
.about-lede{ color:var(--muted-foreground); max-width:62ch; font-size:1.05rem; margin:18px 0 60px; }
.value-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.value{ background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:30px 26px; }
.value-mark{ width:14px; height:14px; border-radius:4px; margin-bottom:20px; }
.value h3{ font-size:1.05rem; color:var(--foreground); margin-bottom:10px; font-weight:700; }
.value p{ color:var(--muted-foreground); font-size:0.92rem; }
@media (max-width:880px){ .value-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .value-grid{ grid-template-columns:1fr; } }

/* ---------- team ---------- */
.team-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:40px; margin-bottom:52px; flex-wrap:wrap; }
.team-head h2{ font-size:clamp(1.9rem,3.4vw,2.6rem); color:var(--foreground); margin-top:16px; max-width:16ch; }
.team-intro{ max-width:38ch; color:var(--muted-foreground); font-size:1rem; }

.team-grid{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.card{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:36px;
  display:flex; flex-direction:column; gap:16px; transition:box-shadow 0.25s ease, transform .25s ease;
}
.card:hover{ box-shadow:0 20px 40px -20px rgba(14,20,43,0.18); transform:translateY(-3px); }
.card-top{ display:flex; align-items:center; justify-content:space-between; }
.card-role{ font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.08em; text-transform:uppercase; color:var(--muted-foreground); }
.card h3{ font-size:1.4rem; color:var(--foreground); }
.card p{ color:var(--muted-foreground); font-size:0.96rem; }
.card-contact{
  margin-top:auto; padding-top:16px; border-top:1px solid var(--border);
  display:flex; flex-direction:column; gap:6px; font-family:var(--font-mono); font-size:0.85rem;
}
.card-contact a{ text-decoration:none; color:var(--foreground); }
.card-contact a:hover{ color:var(--primary); }

@media (max-width:720px){
  .team-grid{ grid-template-columns:1fr; }
  .card{ padding:28px; }
}

/* ---------- testimonials ---------- */
.testi{ background:var(--card); }
.testi-head{ text-align:center; max-width:560px; margin:0 auto 48px; }
.testi-head .eyebrow{ margin-bottom:16px; }
.testi-head h2{ font-size:clamp(1.9rem,3.4vw,2.6rem); color:var(--foreground); margin-bottom:14px; }
.testi-head p{ color:var(--muted-foreground); font-size:1.05rem; }

.testi-grid{
  display:flex; justify-content:center; gap:20px; max-height:680px; overflow:hidden;
  -webkit-mask-image:linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
  mask-image:linear-gradient(to bottom, transparent, black 12%, black 88%, transparent);
}
.testi-col{ display:flex; flex-direction:column; gap:20px; flex:0 0 320px; animation:scrollUp linear infinite; }
.testi-col:hover{ animation-play-state:paused; }
.testi-col--b{ display:none; }
.testi-col--c{ display:none; }
@media (min-width:760px){ .testi-col--b{ display:flex; } }
@media (min-width:1040px){ .testi-col--c{ display:flex; } }
@keyframes scrollUp{ to{ transform:translateY(-50%); } }
@media (prefers-reduced-motion: reduce){
  .testi-col{ animation:none; }
  .testi-grid{ max-height:none; overflow:visible; mask-image:none; -webkit-mask-image:none; }
}

.t-card{
  background:var(--background); border:1px solid var(--border); border-radius:var(--radius);
  padding:28px; transition:transform 0.25s ease, box-shadow 0.25s ease;
}
.t-card:hover{ transform:translateY(-4px); box-shadow:0 20px 40px -18px rgba(14,20,43,0.16); }
.t-card p{ color:var(--foreground); font-size:0.96rem; line-height:1.55; margin-bottom:20px; }
.t-foot{ display:flex; align-items:center; gap:12px; }
.t-ava{
  width:40px; height:40px; border-radius:50%; display:flex; align-items:center; justify-content:center;
  color:#fff; font-family:var(--font-mono); font-weight:600; font-size:0.8rem; flex-shrink:0;
}
.t-name{ font-weight:700; font-size:0.92rem; color:var(--foreground); }
.t-role{ font-size:0.82rem; color:var(--muted-foreground); }

/* star rating display */
.stars{ display:inline-flex; gap:2px; margin-bottom:10px; }
.stars .star{ font-size:var(--star-size, 15px); line-height:1; color:var(--border); }
.stars .star.is-filled{ color:var(--primary); }

/* broker chip on a review card */
.t-broker{
  display:inline-flex; align-items:center; gap:8px; margin-top:16px; padding-top:14px;
  border-top:1px solid var(--border); text-decoration:none;
  font-family:var(--font-mono); font-size:0.78rem; color:var(--muted-foreground);
}
.t-broker img{ width:22px; height:22px; border-radius:50%; object-fit:cover; }
a.t-broker:hover{ color:var(--primary); }

/* moderation status badges (admin + used generically) */
.badge--status-pending{ background:rgba(255,108,53,0.12); color:#c9531f; }
.badge--status-rejected{ background:rgba(14,20,43,0.08); color:var(--muted-foreground); }
.badge--status-published{ background:rgba(26,158,107,0.12); color:#157a53; }

.admin-row--review{ align-items:flex-start; }
.admin-row--review .admin-row-title{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.admin-row--review .stars{ margin-bottom:0; }

/* ---------- accessible star-rating input (public review form) ----------
   Built from real radio inputs (native keyboard support, screen readers
   announce them as a standard radio group) laid out 5→4→3→2→1 in the DOM
   and visually reversed with row-reverse, so the ~ sibling combinator can
   fill "this star and everything before it" on both hover and :checked. */
fieldset.star-input{ border:0; padding:0; margin:0 0 4px; }
fieldset.star-input legend{
  /* mirrors .field label's caption style -- this fieldset intentionally has no
     separate <label>, since a <legend> already is its accessible name */
  font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.06em;
  text-transform:uppercase; color:var(--muted-on-dark); padding:0; margin-bottom:8px;
}
.star-input-row{ display:flex; flex-direction:row-reverse; justify-content:flex-end; gap:4px; }
fieldset.star-input input{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0;
}
fieldset.star-input label{
  cursor:pointer; font-size:30px; line-height:1; color:var(--border);
  transition:color 0.15s ease; border-radius:6px; font-family:initial;
}
fieldset.star-input label::before{ content:"★"; }
fieldset.star-input label:hover,
fieldset.star-input label:hover ~ label,
fieldset.star-input input:checked ~ label{ color:var(--primary); }
fieldset.star-input input:focus-visible + label{ outline:2px solid var(--primary); outline-offset:3px; }

/* ---------- services ---------- */
.service-list{ margin-top:52px; border-top:1px solid var(--border); }
.service-row{
  display:grid; grid-template-columns:1fr 2fr; gap:40px; padding:32px 0;
  border-bottom:1px solid var(--border); align-items:baseline;
}
.service-row h3{ font-size:1.2rem; color:var(--foreground); font-weight:700; }
.service-row p{ color:var(--muted-foreground); max-width:52ch; }
@media (max-width:720px){ .service-row{ grid-template-columns:1fr; gap:10px; } }

/* ---------- consultation ---------- */
.consult .wrap{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; }
.consult h2{ font-size:clamp(1.9rem,3.4vw,2.6rem); color:var(--foreground); margin:16px 0 20px; max-width:14ch; }
.consult-copy p{ color:var(--muted-foreground); max-width:44ch; margin-bottom:26px; }
.consult-note{
  font-family:var(--font-mono); font-size:0.82rem; color:var(--muted-foreground);
  border-left:2px solid var(--primary); padding-left:14px;
}

.form-card{ background:var(--secondary); color:var(--secondary-foreground); padding:40px; border-radius:var(--radius); }
.field{ margin-bottom:18px; display:flex; flex-direction:column; gap:8px; }
.field label{ font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.06em; text-transform:uppercase; color:var(--muted-on-dark); }
.field input, .field select, .field textarea{
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.16); color:#fff;
  font-family:var(--font-sans); font-size:0.98rem; padding:13px 14px; border-radius:var(--radius-sm);
  outline:none; transition:border-color 0.2s ease; width:100%;
}
.field input::placeholder, .field textarea::placeholder{ color:rgba(255,255,255,0.35); }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--primary-light); }
/* The <option> list is a native OS popup on Windows -- it ignores the
   select's own (semi-transparent) background and falls back to opaque
   white, but still inherits our color:#fff text. Result: invisible
   white-on-white options. Force readable colors on the options
   themselves (safe everywhere, not just Windows). */
.field select option{ background:#fff; color:var(--foreground); }
.field textarea{ resize:vertical; min-height:90px; }
.field-row{ display:flex; gap:8px; }
.field-row input{ flex:1 1 auto; min-width:0; }
.field-row select{ flex:0 0 auto; width:auto; }
.form-foot{ display:flex; align-items:center; justify-content:space-between; gap:16px; margin-top:6px; flex-wrap:wrap; }
.form-msg{ font-family:var(--font-mono); font-size:0.8rem; color:var(--primary-light); min-height:1.2em; }
.form-msg.is-error{ color:#ff9d78; }

/* light variant of the field/form styling, used on admin page (light background) */
.field--light label{ color:var(--muted-foreground); }
.field--light input, .field--light select, .field--light textarea{
  background:#fff; border:1px solid var(--border); color:var(--foreground);
}
.field--light input::placeholder, .field--light textarea::placeholder{ color:#9aa1b0; }
.field--light input:focus, .field--light select:focus, .field--light textarea:focus{ border-color:var(--primary); }

@media (max-width:880px){
  .consult .wrap{ grid-template-columns:1fr; }
  .form-card{ padding:26px; }
}

/* ---------- footer ---------- */
footer{ background:var(--secondary); color:var(--muted-on-dark); padding:76px 0 30px; }
.foot-top{
  display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px;
  padding-bottom:52px; border-bottom:1px solid rgba(255,255,255,0.12);
}
.foot-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.foot-brand .brand-name{ color:#fff; }
.foot-tag{ color:var(--muted-on-dark); font-size:0.92rem; max-width:32ch; }
.foot-col h4{
  font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--primary-light); margin:0 0 16px;
}
.foot-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:12px; }
.foot-col a{ text-decoration:none; color:var(--muted-on-dark); font-size:0.95rem; }
.foot-col a:hover{ color:#fff; }
.foot-bottom{
  display:flex; justify-content:space-between; align-items:center; padding-top:26px;
  font-family:var(--font-mono); font-size:0.76rem; color:rgba(170,180,209,0.65); flex-wrap:wrap; gap:12px;
}
@media (max-width:880px){ .foot-top{ grid-template-columns:1fr 1fr; row-gap:34px; } }
@media (max-width:560px){ .foot-top{ grid-template-columns:1fr; } }

/* ==================================================================
   LISTINGS (skelbimai.html)
   ================================================================== */
.listings-toolbar{
  display:flex; flex-wrap:wrap; gap:14px; align-items:flex-end;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  padding:22px; margin:-40px 0 48px; position:relative; z-index:5;
}
.listings-toolbar .field{ margin-bottom:0; flex:1 1 160px; }
.listings-toolbar .field label{ color:var(--muted-foreground); }
.listings-toolbar .field input, .listings-toolbar .field select{
  background:#fff; border:1px solid var(--border); color:var(--foreground);
}
.listings-toolbar .btn{ flex:0 0 auto; }

.listings-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
@media (max-width:960px){ .listings-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){ .listings-grid{ grid-template-columns:1fr; } }

.listing-card{
  position:relative;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  overflow:hidden; cursor:pointer; transition:transform 0.25s ease, box-shadow 0.25s ease;
  display:flex; flex-direction:column;
}
.listing-card:hover{ transform:translateY(-4px); box-shadow:0 24px 44px -22px rgba(14,20,43,0.2); }
.listing-photo{
  aspect-ratio:4/3; width:100%; object-fit:cover; background:var(--border);
}
.listing-photo--empty{
  display:flex; align-items:center; justify-content:center;
  color:var(--muted-foreground); font-family:var(--font-mono); font-size:0.78rem;
}
.listing-body{ padding:20px; display:flex; flex-direction:column; gap:10px; flex:1; }
.listing-badges{ display:flex; gap:8px; flex-wrap:wrap; }
.badge{
  font-family:var(--font-mono); font-size:0.68rem; letter-spacing:0.06em; text-transform:uppercase;
  padding:4px 10px; border-radius:999px; background:var(--accent-tint); color:var(--primary);
}
.badge--deal-nuoma{ background:rgba(0,205,204,0.12); color:#00807f; }
.badge--status-rezervuota{ background:rgba(255,108,53,0.12); color:#c9531f; }
.badge--status-parduota, .badge--status-isnuomotas{ background:var(--secondary); color:#fff; }

/* Sold and rented-out listings stay visible (social proof / track record),
   distinct from the quieter rezervuota badge treatment. Applied via the
   .is-sold class (see isUnavailableStatus() in supabase-client.js).
   Deliberately NOT desaturated/dimmed -- a grayscale photo read as "dead"
   listings rather than a completed, successful deal. Instead: full-color
   photo + a rotated ink-stamp mark (a familiar real-estate motif), so a
   sold/rented listing reads as an achievement, not a graveyard. The stamp
   text itself is set dynamically per status, not hardcoded. */
.listing-card.is-sold:hover{ transform:none; box-shadow:none; }
.listing-photo-wrap, .modal-gallery-main-wrap{ position:relative; }
.status-stamp{
  position:absolute; z-index:2; pointer-events:none;
  top:50%; left:50%;
  transform:translate(-50%,-50%) rotate(-10deg);
  border:3px solid var(--stamp);
  border-radius:8px;
  padding:7px 20px;
  background:rgba(255,255,255,0.88);
  color:var(--stamp);
  font-family:var(--font-mono); font-weight:700; font-size:1.02rem;
  letter-spacing:0.16em; text-transform:uppercase;
  white-space:nowrap;
  box-shadow:0 6px 18px -6px rgba(0,0,0,0.35);
}
.status-stamp::before{
  content:""; position:absolute; inset:3px;
  border:1px solid var(--stamp); border-radius:5px; opacity:0.55;
}
.modal .status-stamp{ font-size:1.3rem; padding:9px 26px; }
.listing-price{ font-family:var(--font-display); font-weight:400; font-size:1.55rem; color:var(--foreground); font-variant-numeric:tabular-nums; }
.listing-price-unit{
  font-family:var(--font-mono); font-weight:400; font-size:0.72rem;
  color:var(--muted-foreground); letter-spacing:0.02em; margin-left:9px;
}
.modal-body .listing-price-unit{ font-size:0.85rem; }
.listing-title{ font-size:1rem; font-weight:700; color:var(--foreground); text-transform:uppercase; letter-spacing:0.01em; }
.listing-meta{ font-size:0.86rem; color:var(--muted-foreground); }

.listings-empty, .listings-loading{
  text-align:center; padding:60px 20px; color:var(--muted-foreground);
  border:1px dashed var(--border); border-radius:var(--radius); font-size:0.95rem;
}

/* ---------- listing detail modal ---------- */
.modal-backdrop{
  position:fixed; inset:0; background:rgba(14,20,43,0.62); z-index:100;
  display:flex; align-items:flex-start; justify-content:center; padding:40px 20px;
  overflow-y:auto;
  opacity:0; pointer-events:none; transition:opacity 0.25s ease;
}
.modal-backdrop.is-open{ opacity:1; pointer-events:auto; }
.modal{
  background:var(--background); border-radius:var(--radius); max-width:760px; width:100%;
  padding:0; position:relative; margin:auto;
  /* modals aren't anchored to a trigger, so unlike popovers they scale from
     their own center, not var(--sx)/var(--sy) or a transform-origin */
  transform:scale(0.96); opacity:0;
  transition:transform 0.25s var(--ease-out), opacity 0.2s ease;
}
.modal-backdrop.is-open .modal{ transform:scale(1); opacity:1; }
@media (prefers-reduced-motion: reduce){
  .modal-backdrop, .modal{ transition:opacity 0.2s ease; }
  .modal{ transform:none; }
}
.modal-close{
  position:absolute; top:16px; right:16px; z-index:2; width:36px; height:36px; border-radius:50%;
  background:rgba(14,20,43,0.55); color:#fff; border:none; cursor:pointer; font-size:1.1rem; line-height:1;
  transition:transform 0.16s var(--ease-out), background 0.2s ease;
}
.modal-close:hover{ background:rgba(14,20,43,0.75); }
.modal-close:active{ transform:scale(0.92); }
.modal-gallery-main{ width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:var(--radius) var(--radius) 0 0; background:var(--border); display:block; }
.modal-arrows{ display:none; }
.modal-arrow{
  position:absolute; top:50%; transform:translateY(-50%); z-index:2;
  width:40px; height:40px; border-radius:50%; border:none; cursor:pointer;
  background:rgba(14,20,43,0.5); color:#fff;
  display:flex; align-items:center; justify-content:center;
  transition:background 0.2s ease, transform 0.16s var(--ease-out);
}
.modal-arrow svg{ width:20px; height:20px; }
.modal-arrow:hover{ background:rgba(14,20,43,0.75); }
.modal-arrow:active{ transform:translateY(-50%) scale(0.92); }
.modal-arrow--prev{ left:14px; }
.modal-arrow--next{ right:14px; }
.modal-thumbs{ display:flex; gap:8px; padding:12px 28px 0; overflow-x:auto; }
.modal-thumbs img{ width:64px; height:48px; object-fit:cover; border-radius:8px; cursor:pointer; border:2px solid transparent; flex-shrink:0; }
.modal-thumbs img.is-active{ border-color:var(--primary); }
.modal-body{ padding:28px; }
.modal-body .listing-price{ font-size:1.8rem; }
.modal-body .listing-title{ font-size:1.3rem; margin:6px 0 4px; }
.modal-address{ font-size:0.92rem; color:var(--muted-foreground); margin-bottom:10px; }
.modal-meta-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:18px 0; padding:18px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); }
.modal-meta-grid div{ font-size:0.9rem; }
.modal-meta-grid b{ display:block; font-size:1rem; color:var(--foreground); }
.modal-meta-grid span{ color:var(--muted-foreground); font-size:0.78rem; text-transform:uppercase; letter-spacing:0.05em; font-family:var(--font-mono); }
.modal-desc{ color:var(--muted-foreground); line-height:1.6; margin-bottom:20px; white-space:pre-line; }

.modal-broker{
  display:flex; align-items:center; gap:12px;
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:12px 16px; margin-bottom:20px; text-decoration:none;
  transition:border-color 0.2s ease, background 0.2s ease;
}
.modal-broker:hover{ border-color:var(--primary); background:var(--accent-tint); }
.modal-broker img{
  width:44px; height:44px; border-radius:50%; object-fit:cover; flex-shrink:0;
}
.modal-broker span{ font-size:0.7rem; letter-spacing:0.08em; text-transform:uppercase; font-family:var(--font-mono); color:var(--muted-foreground); display:block; }
.modal-broker b{ display:block; font-family:var(--font-sans); font-weight:700; font-size:0.98rem; color:var(--foreground); margin-top:2px; }

/* ==================================================================
   ADMIN (admin.html)
   ================================================================== */
.admin-shell{ max-width:1360px; margin:0 auto; padding:32px 24px 100px; }
.admin-login{ max-width:420px; margin:80px auto; }
.admin-login .form-card{ }
.admin-bar{ display:flex; align-items:center; justify-content:space-between; margin-bottom:28px; gap:16px; flex-wrap:wrap; }
.admin-bar h1{ font-size:1.6rem; }

/* ---------- layout: sidebar nav + single visible section ----------
   The old page stacked every card (leads, add-listing form, all
   listings, add-review form, all reviews) in one column, so opening it
   meant scrolling through everything just to reach "atsiliepimai" --
   collapsing the lists behind <details> helped a little but the page
   was still fundamentally one long column. This is a real dashboard
   instead: a sidebar switches which <section> is visible, so each view
   is only ever as long as its own content. */
.admin-layout{ display:flex; align-items:flex-start; gap:32px; }
.admin-nav{
  flex:0 0 220px; position:sticky; top:24px;
  display:flex; flex-direction:column; gap:4px;
  background:var(--secondary); border-radius:var(--radius);
  padding:20px 14px;
}
.admin-nav-who{
  font-family:var(--font-mono); font-size:0.68rem; letter-spacing:0.05em;
  color:var(--muted-on-dark); padding:2px 12px 16px; word-break:break-all;
}
.admin-nav-item{
  display:flex; align-items:center; gap:12px; width:100%;
  background:none; border:none; cursor:pointer; text-align:left;
  font-family:var(--font-sans); font-size:0.92rem; font-weight:700;
  color:var(--muted-on-dark); padding:11px 12px; border-radius:var(--radius-sm);
  transition:background 0.16s ease, color 0.16s ease;
}
.admin-nav-item svg{ width:18px; height:18px; flex-shrink:0; }
.admin-nav-item:hover{ background:rgba(255,255,255,0.06); color:#fff; }
.admin-nav-item.is-active{ background:var(--primary); color:#fff; }
.admin-nav-item:focus-visible{ outline:2px solid var(--primary-light); outline-offset:2px; }
.admin-nav-count{
  margin-left:auto; background:var(--destructive); color:#fff;
  font-family:var(--font-mono); font-size:0.68rem; font-weight:700;
  min-width:18px; height:18px; padding:0 5px; border-radius:999px;
  display:flex; align-items:center; justify-content:center;
}
.admin-nav-item.is-active .admin-nav-count{ background:rgba(255,255,255,0.25); }
.admin-nav-count[hidden]{ display:none; }

.admin-main{ flex:1; min-width:0; }
.admin-section{ display:none; animation:adminSectionIn 0.28s var(--ease-out) both; }
.admin-section.is-active{ display:block; }
@keyframes adminSectionIn{ from{ opacity:0; transform:translateY(6px); } to{ opacity:1; transform:translateY(0); } }
@media (prefers-reduced-motion: reduce){ .admin-section{ animation:none; } }
.admin-section-desc{ color:var(--muted-foreground); font-size:0.9rem; margin-bottom:20px; max-width:70ch; }

/* four stat cards echo the brand mark's four diamonds -- one accent per
   card, tying the overview back to "four brokers, one team" instead of
   a generic uniform stat-grid. */
.admin-stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:28px; }
.admin-stat{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius-sm);
  padding:20px 22px; border-left:3px solid var(--border);
  display:flex; flex-direction:column; gap:6px;
}
.admin-stat strong{ font-family:var(--font-display); font-size:2rem; line-height:1; font-variant-numeric:tabular-nums; }
.admin-stat span{ font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.05em; text-transform:uppercase; color:var(--muted-foreground); }
.admin-stat--c1{ border-left-color:var(--primary); }
.admin-stat--c2{ border-left-color:var(--teal); }
.admin-stat--c3{ border-left-color:var(--secondary); }
.admin-stat--c4{ border-left-color:var(--primary-light); }
.admin-overview-hint{ color:var(--muted-foreground); font-size:0.9rem; }

@media (max-width:900px){
  .admin-stats{ grid-template-columns:repeat(2,1fr); }
}

@media (max-width:820px){
  .admin-layout{ flex-direction:column; gap:20px; }
  .admin-nav{
    position:static; flex:none; width:100%; flex-direction:row;
    overflow-x:auto; padding:10px; gap:6px;
  }
  .admin-nav-who{ display:none; }
  .admin-nav-item{ width:auto; white-space:nowrap; flex-shrink:0; }
}

@media (max-width:480px){
  .admin-stats{ grid-template-columns:1fr 1fr; }
}

.admin-card{ background:var(--card); border:1px solid var(--border); border-radius:var(--radius); padding:32px; margin-bottom:32px; }
.admin-card h2{ font-size:1.2rem; margin-bottom:22px; }
.admin-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0 20px; }
.admin-grid .field.full{ grid-column:1 / -1; }
@media (max-width:640px){ .admin-grid{ grid-template-columns:1fr; } }

.admin-photo-picker{
  border:2px dashed var(--border); border-radius:var(--radius-sm); padding:20px; text-align:center;
  color:var(--muted-foreground); font-size:0.9rem; cursor:pointer; transition:border-color .2s ease;
}
.admin-photo-picker:hover{ border-color:var(--primary); }
.admin-photo-previews{ display:flex; gap:10px; flex-wrap:wrap; margin-top:12px; }
.admin-photo-item{ position:relative; width:96px; }
.admin-photo-item img{ width:96px; height:74px; object-fit:cover; border-radius:8px; border:1px solid var(--border); display:block; }
.admin-photo-item.is-cover img{ border-color:var(--primary); border-width:2px; }
.admin-photo-badge{
  position:absolute; top:4px; left:4px; background:var(--primary); color:#fff;
  font-family:var(--font-mono); font-size:0.6rem; font-weight:700; letter-spacing:0.04em;
  padding:2px 6px; border-radius:5px; text-transform:uppercase; pointer-events:none;
}
.admin-photo-actions{ display:flex; justify-content:space-between; gap:4px; margin-top:4px; }
.admin-photo-btn{
  flex:1; background:var(--card); border:1px solid var(--border); border-radius:6px;
  cursor:pointer; font-size:0.8rem; line-height:1; padding:4px 0; color:var(--foreground);
  transition:background 0.15s ease, border-color 0.15s ease;
}
.admin-photo-btn:hover{ background:var(--accent-tint); border-color:var(--primary); }
.admin-photo-btn:disabled{ opacity:0.3; cursor:not-allowed; }
.admin-photo-btn--remove{ color:var(--destructive); }

.admin-list{ display:flex; flex-direction:column; gap:14px; }
.admin-row{
  display:flex; align-items:center; gap:16px; background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius-sm); padding:14px 16px;
}
.admin-row img{ width:64px; height:48px; object-fit:cover; border-radius:8px; background:var(--border); flex-shrink:0; }
.admin-row-info{ flex:1; min-width:0; }
.admin-row-title{ font-weight:700; font-size:0.95rem; }
.admin-row-meta{ font-size:0.8rem; color:var(--muted-foreground); }
.admin-row-actions{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.admin-row-actions select{
  font-family:var(--font-mono); font-size:0.78rem; padding:7px 10px; border-radius:8px; border:1px solid var(--border); background:#fff;
}
.admin-empty{ text-align:center; padding:40px; color:var(--muted-foreground); }

/* the shared .listings-toolbar (from objektai.html) normally overlaps
   upward into a dark hero band -- there's no hero here, so it just sits
   inline above the list instead. */
.admin-main .listings-toolbar{ margin:0 0 20px; }

.admin-pagination{ display:flex; justify-content:center; align-items:center; gap:6px; margin-top:24px; flex-wrap:wrap; }
.admin-page-btn{
  min-width:36px; height:36px; padding:0 8px; border-radius:var(--radius-sm);
  border:1px solid var(--border); background:var(--card); color:var(--foreground);
  font-family:var(--font-mono); font-size:0.82rem; cursor:pointer;
  transition:background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.admin-page-btn:hover:not(:disabled){ border-color:var(--primary); color:var(--primary); }
.admin-page-btn.is-active{ background:var(--primary); border-color:var(--primary); color:#fff; }
.admin-page-btn:disabled{ opacity:0.35; cursor:not-allowed; }
.admin-page-nav{ font-family:var(--font-sans); font-weight:700; }

/* ==================================================================
   SHARED PAGE COMPONENTS (index + subpages)
   ================================================================== */

/* team photo cards (index teaser + brokeres links) */
.team-grid--photos{ grid-template-columns:repeat(4,1fr); }
.team-grid--photos .card{ padding:0 0 24px; overflow:hidden; gap:12px; }
.card-photo{
  width:100%; height:auto; aspect-ratio:4/5; object-fit:cover; display:block;
  border-radius:var(--radius) var(--radius) 0 0;
  transition:transform 0.45s ease;
}
.team-grid--photos .card:hover .card-photo{ transform:scale(1.04); }
.team-grid--photos .card-top,
.team-grid--photos h3,
.team-grid--photos .card-contact,
.team-grid--photos .card-link{ padding:0 22px; }
.team-grid--photos h3{ font-size:1.15rem; }
.team-grid--photos .card-role{ font-size:0.66rem; }
.card-link{
  margin-top:auto; font-family:var(--font-mono); font-size:0.85rem; font-weight:500;
  color:var(--primary); text-decoration:none;
}
.card-link:hover{ text-decoration:underline; }
@media (max-width:960px){ .team-grid--photos{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){
  .team-grid--photos{ grid-template-columns:1fr; }
  .team-grid--photos h3{ font-size:1.3rem; }
}

/* photo collage (apie) */
.about-top{
  display:grid; grid-template-columns:1.05fr 0.95fr;
  gap:56px; align-items:center; margin-bottom:64px;
}
.about-media{ position:relative; padding-bottom:56px; }
.about-photo-main{
  width:100%; height:auto; aspect-ratio:3/2; object-fit:cover;
  border-radius:var(--radius); display:block;
}
.about-photo-accent{
  position:absolute; left:-72px; bottom:0;
  width:38%; height:auto; aspect-ratio:2/3; object-fit:cover;
  border-radius:var(--radius-sm);
  border:5px solid var(--background);
  box-shadow:0 20px 40px -18px rgba(14,20,43,0.35);
}
.about-badge{
  position:absolute; top:20px; right:-16px;
  background:var(--secondary); color:#fff;
  border-radius:var(--radius-sm); padding:14px 20px;
  box-shadow:0 18px 36px -16px rgba(14,20,43,0.45);
  transform:rotate(3deg);
}
.about-badge b{ display:block; font-family:var(--font-display); font-weight:400; font-size:1.9rem; line-height:1.1; color:var(--primary-light); }
.about-badge span{ font-size:0.78rem; color:var(--muted-on-dark); }
@media (max-width:880px){
  .about-top{ grid-template-columns:1fr; gap:36px; }
  .about-photo-accent{ left:0; }
  .about-badge{ right:0; }
}

.consult-photo{
  width:100%; height:auto; aspect-ratio:3/2; object-fit:cover;
  border-radius:var(--radius); margin-top:32px; display:block;
}

/* value cards hover life */
.value{ transition:transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
.value:hover{ transform:translateY(-4px); border-color:var(--primary); box-shadow:0 16px 32px -20px rgba(46,103,255,0.4); }

/* numbered process steps (index + paslaugos) */
.process-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:52px; }
.process-step{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  padding:32px 28px; position:relative;
}
.process-num{
  font-family:var(--font-mono); font-size:0.8rem; color:var(--primary);
  display:inline-flex; align-items:center; gap:10px; margin-bottom:18px;
}
.process-num::after{ content:""; width:26px; height:2px; background:var(--primary); display:inline-block; }
.process-step h3{ font-size:1.1rem; margin-bottom:10px; }
.process-step p{ color:var(--muted-foreground); font-size:0.94rem; }
@media (max-width:880px){ .process-grid{ grid-template-columns:1fr; } }

/* broker profile blocks (brokeres.html) */
.profile{
  display:grid; grid-template-columns:0.85fr 1.15fr; gap:56px;
  align-items:start; padding:72px 0; border-top:1px solid var(--border);
  scroll-margin-top:100px;
}
.profile:first-of-type{ border-top:none; padding-top:0; }
.profile--flip .profile-media{ order:2; }
.profile-media img{
  width:100%; height:auto; aspect-ratio:4/5; object-fit:cover;
  border-radius:var(--radius); display:block;
  position:sticky; top:106px;
}
.profile-body h2{ font-size:clamp(1.6rem,2.6vw,2.2rem); margin:14px 0 18px; }
.profile-quote{
  font-family:var(--font-serif); font-size:1.15rem; font-style:italic; line-height:1.5;
  color:var(--foreground); border-left:3px solid var(--primary);
  padding-left:18px; margin:0 0 22px;
}
.profile-body > p{ color:var(--muted-foreground); margin-bottom:16px; max-width:60ch; }
.rating-summary{ display:flex; align-items:center; gap:10px; margin:14px 0; font-size:0.9rem; color:var(--muted-foreground); }
.rating-summary .stars{ margin-bottom:0; }
.rating-summary b{ color:var(--foreground); font-family:var(--font-sans); }

.profile-extra{
  display:grid; grid-template-columns:1fr 1fr; gap:28px;
  margin-top:32px; padding-top:28px; border-top:1px solid var(--border);
}
.profile-extra-h{
  font-family:var(--font-mono); font-size:0.72rem; letter-spacing:0.08em; text-transform:uppercase;
  color:var(--muted-foreground); margin-bottom:14px; font-weight:400;
}
.mini-list{ display:flex; flex-direction:column; gap:10px; }
.mini-empty{ color:var(--muted-foreground); font-size:0.88rem; }
.mini-listing{
  display:flex; align-items:center; gap:12px; text-decoration:none;
  padding:8px; border-radius:var(--radius-sm); transition:background 0.2s ease;
}
.mini-listing:hover{ background:var(--card); }
.mini-listing img, .mini-listing .mini-listing-noimg{
  width:52px; height:44px; border-radius:8px; object-fit:cover; flex-shrink:0; background:var(--border);
}
.mini-listing b{ display:block; font-size:0.88rem; color:var(--foreground); font-family:var(--font-sans); }
.mini-listing small{ display:block; font-size:0.78rem; color:var(--muted-foreground); margin-top:2px; }
.mini-review{ padding:12px 14px; background:var(--card); border-radius:var(--radius-sm); }
.mini-review .stars{ margin-bottom:6px; }
.mini-review p{ font-size:0.86rem; color:var(--foreground); margin-bottom:6px; line-height:1.5; }
.mini-review span{ font-size:0.78rem; color:var(--muted-foreground); }
.mini-list-more{ font-size:0.82rem; font-family:var(--font-mono); color:var(--primary); text-decoration:none; }
@media (max-width:640px){ .profile-extra{ grid-template-columns:1fr; gap:24px; } }
.facts{
  display:grid; grid-template-columns:repeat(3,1fr); gap:16px;
  margin:28px 0; padding:22px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border);
}
.facts div{ margin:0; }
.facts dt{
  font-family:var(--font-mono); font-size:0.68rem; letter-spacing:0.1em;
  text-transform:uppercase; color:var(--muted-foreground); margin-bottom:6px;
}
.facts dd{ margin:0; font-weight:700; font-size:0.95rem; color:var(--foreground); }
.profile-actions{ display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.profile-contact{ display:flex; flex-direction:column; gap:4px; font-family:var(--font-mono); font-size:0.85rem; }
.profile-contact a{ text-decoration:none; color:var(--foreground); }
.profile-contact a:hover{ color:var(--primary); }
.profile-contact-note{ font-family:var(--font-sans); font-size:0.8rem; color:var(--muted-foreground); margin-top:4px; }
@media (max-width:880px){
  .profile{ grid-template-columns:1fr; gap:32px; padding:56px 0; }
  .profile--flip .profile-media{ order:0; }
  .profile-media img{ position:static; }
  .facts{ grid-template-columns:1fr 1fr; }
}

/* FAQ (paslaugos) */
.faq{ margin-top:56px; border-top:1px solid var(--border); }
.faq details{ border-bottom:1px solid var(--border); }
.faq summary{
  cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center;
  gap:20px; padding:24px 4px; font-weight:700; font-size:1.05rem; color:var(--foreground);
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:"+"; font-family:var(--font-mono); font-size:1.3rem; color:var(--primary);
  transition:transform 0.25s ease; flex-shrink:0;
}
.faq details[open] summary::after{ transform:rotate(45deg); }
.faq details p{ color:var(--muted-foreground); padding:0 4px 24px; max-width:70ch; }

/* service detail blocks (paslaugos) */
.service-block{
  display:grid; grid-template-columns:120px 1fr; gap:32px;
  padding:52px 0; border-top:1px solid var(--border);
}
.service-block:first-of-type{ border-top:none; padding-top:0; }
.service-block-num{
  font-family:var(--font-mono); font-size:1rem; color:var(--primary); padding-top:8px;
}
.service-block h2{ font-size:clamp(1.4rem,2.4vw,1.9rem); margin-bottom:14px; }
.service-block > div > p{ color:var(--muted-foreground); max-width:66ch; margin-bottom:18px; }
.service-includes{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:10px 28px; max-width:640px; }
.service-includes li{
  position:relative; padding-left:22px; font-size:0.95rem; color:var(--foreground);
}
.service-includes li::before{
  content:""; position:absolute; left:0; top:0.42em; width:10px; height:10px;
  border-radius:3px; background:var(--primary);
}
@media (max-width:720px){
  .service-block{ grid-template-columns:1fr; gap:8px; padding:40px 0; }
  .service-includes{ grid-template-columns:1fr; }
}

/* stats band (apie) */
.numbers-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; margin-top:56px; }
.numbers-grid div{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  padding:28px 24px; text-align:center;
}
.numbers-grid b{ display:block; font-family:var(--font-display); font-weight:400; font-size:2.5rem; color:var(--primary); line-height:1.1; margin-bottom:6px; font-variant-numeric:tabular-nums; }
.numbers-grid span{ font-size:0.88rem; color:var(--muted-foreground); }
@media (max-width:880px){ .numbers-grid{ grid-template-columns:1fr 1fr; } }
.numbers-grid--3{ grid-template-columns:repeat(3,1fr); max-width:760px; margin-left:auto; margin-right:auto; }
@media (max-width:640px){ .numbers-grid--3{ grid-template-columns:1fr; } }

/* CTA band (subpage closer) */
.cta-band-wrap{ padding:0 24px 110px; }
.cta-band{
  position:relative; overflow:hidden;
  background:var(--secondary); color:#fff;
  border-radius:calc(var(--radius) + 0.4rem);
  max-width:var(--max); margin:0 auto;
  padding:72px 40px; text-align:center;
}
.cta-band::before{
  content:""; position:absolute; inset:0;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.04) 0 1px, transparent 1px 120px);
}
.cta-band::after{
  content:""; position:absolute; left:-8%; bottom:-45%; width:55%; height:100%;
  background:radial-gradient(ellipse at center, rgba(46,103,255,0.3), transparent 65%);
  filter:blur(10px);
}
.cta-band > *{ position:relative; z-index:1; }
.cta-band h2{ font-size:clamp(1.7rem,3vw,2.4rem); margin-bottom:14px; }
.cta-band p{ color:var(--muted-on-dark); max-width:52ch; margin:0 auto 30px; }
.cta-band .btn{ margin:0 8px 8px 0; }
@media (max-width:720px){ .cta-band-wrap{ padding:0 12px 70px; } .cta-band{ padding:52px 24px; } }

/* contact cards (kontaktai) */
.contact-stack{ display:flex; flex-direction:column; gap:18px; }
.contact-card{
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  padding:26px 28px;
}
.contact-card h3{ font-size:1.02rem; margin-bottom:14px; }
.contact-card ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; }
.contact-card li{ display:flex; justify-content:space-between; gap:16px; font-size:0.92rem; flex-wrap:wrap; }
.contact-multi{ display:flex; flex-direction:column; align-items:flex-end; gap:4px; }
.contact-card li span{ color:var(--muted-foreground); }
.contact-card a{ font-family:var(--font-mono); font-size:0.86rem; text-decoration:none; color:var(--foreground); }
.contact-card a:hover{ color:var(--primary); }

/* ==================================================================
   LIVELINESS COMPONENTS (adapted from shadcn registry patterns)
   ================================================================== */

/* scroll progress bar (shadcn: progress) */
.scroll-progress{
  position:fixed; top:0; left:0; height:3px; width:0;
  background:linear-gradient(90deg, var(--primary), var(--teal));
  z-index:120; pointer-events:none;
}

/* back-to-top */
.to-top{
  position:fixed; right:22px; bottom:22px; z-index:110;
  width:46px; height:46px; border-radius:50%;
  background:var(--secondary); color:#fff; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 28px -10px rgba(14,20,43,0.5);
  opacity:0; transform:translateY(12px); pointer-events:none;
  transition:opacity 0.3s ease, transform 0.3s var(--ease-out), background 0.2s ease;
}
.to-top.is-on{ opacity:1; transform:none; pointer-events:auto; }
.to-top.is-on:active{ transform:scale(0.92); }
.to-top:hover{ background:var(--primary); }
.to-top svg{ width:18px; height:18px; }
@media (max-width:880px){ .to-top{ bottom:86px; right:14px; } }

/* sticky mobile CTA bar */
.mobile-cta{
  position:fixed; left:12px; right:12px; bottom:12px; z-index:100;
  display:none; opacity:0; transform:translateY(16px); pointer-events:none;
  transition:opacity 0.3s ease, transform 0.3s ease;
}
.mobile-cta .btn{ width:100%; box-shadow:0 16px 32px -12px rgba(46,103,255,0.55); }
@media (max-width:880px){
  .mobile-cta{ display:block; }
  .mobile-cta.is-on{ opacity:1; transform:none; pointer-events:auto; }
}

/* toast (shadcn: sonner) */
.toast{
  position:fixed; bottom:24px; right:24px; z-index:130;
  display:flex; align-items:center; gap:12px;
  background:var(--secondary); color:#fff;
  padding:14px 20px; border-radius:14px;
  box-shadow:0 20px 44px -16px rgba(14,20,43,0.55);
  opacity:0; transform:translateY(16px);
  transition:opacity 0.3s ease, transform 0.3s ease;
  max-width:calc(100vw - 48px);
}
.toast.is-on{ opacity:1; transform:none; }
.toast-ico{
  width:26px; height:26px; border-radius:50%; background:var(--success);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.toast-ico svg{ width:14px; height:14px; }
.toast p{ font-size:0.92rem; }
@media (max-width:880px){ .toast{ left:12px; right:auto; bottom:74px; } }

/* skeleton loaders (shadcn: skeleton) */
.skel-card{
  background:var(--card); border:1px solid var(--border);
  border-radius:var(--radius); overflow:hidden; padding-bottom:20px;
}
.skel{
  background:linear-gradient(90deg, #ececec 25%, #f7f7f7 45%, #ececec 65%);
  background-size:300% 100%;
  animation:skelWave 1.3s ease-in-out infinite;
}
@keyframes skelWave{ from{ background-position:100% 0; } to{ background-position:-100% 0; } }
.skel-photo{ aspect-ratio:4/3; width:100%; }
.skel-line{ height:13px; border-radius:7px; margin:16px 20px 0; }
.skel-line--w40{ width:40%; }
.skel-line--w70{ width:70%; }
.skel-line--w55{ width:55%; }
@media (prefers-reduced-motion: reduce){ .skel{ animation:none; } }

/* stagger reveal for grids */
.reveal.stagger{ transform:none; }
.stagger > *{ opacity:0; transform:translateY(16px); transition:opacity 0.55s ease, transform 0.55s ease; }
.stagger.is-visible > *{ opacity:1; transform:none; }
.stagger.is-visible > *:nth-child(1){ transition-delay:0.05s; }
.stagger.is-visible > *:nth-child(2){ transition-delay:0.13s; }
.stagger.is-visible > *:nth-child(3){ transition-delay:0.21s; }
.stagger.is-visible > *:nth-child(4){ transition-delay:0.29s; }
.stagger.is-visible > *:nth-child(5){ transition-delay:0.37s; }
.stagger.is-visible > *:nth-child(6){ transition-delay:0.45s; }
.stagger.is-visible > *:nth-child(7){ transition-delay:0.53s; }
.stagger.is-visible > *:nth-child(8){ transition-delay:0.61s; }
@media (prefers-reduced-motion: reduce){
  .stagger > *{ opacity:1; transform:none; transition:none; }
}

/* mouse-follow spotlight glow on cards (shadcn: hover-card spirit) */
.value, .process-step, .contact-card{ position:relative; overflow:hidden; }
.value::after, .process-step::after, .listing-card::after, .contact-card::after{
  content:""; position:absolute; inset:0; opacity:0; pointer-events:none;
  transition:opacity 0.35s ease;
  background:radial-gradient(240px circle at var(--sx,50%) var(--sy,40%), rgba(46,103,255,0.13), transparent 65%);
}
.value:hover::after, .process-step:hover::after,
.listing-card:hover::after, .contact-card:hover::after{ opacity:1; }

/* button shine sweep */
.btn--primary, .btn--onDark{ position:relative; overflow:hidden; }
.btn--primary::before, .btn--onDark::before{
  content:""; position:absolute; top:0; bottom:0; left:-80%; width:55%;
  transform:skewX(-20deg); pointer-events:none;
  transition:left 0.55s ease;
}
.btn--primary::before{ background:linear-gradient(100deg, transparent, rgba(255,255,255,0.4), transparent); }
.btn--onDark::before{ background:linear-gradient(100deg, transparent, rgba(111,147,255,0.35), transparent); }
.btn--primary:hover::before, .btn--onDark:hover::before{ left:130%; }
@media (prefers-reduced-motion: reduce){
  .btn--primary::before, .btn--onDark::before{ display:none; }
}

/* typewriter caret */
.type-caret{
  display:inline-block; width:2px; height:1em;
  background:var(--primary-light); margin-left:3px; vertical-align:-0.15em;
  animation:caretBlink 1s steps(1) infinite;
}
@keyframes caretBlink{ 50%{ opacity:0; } }
@media (prefers-reduced-motion: reduce){ .type-caret{ display:none; } }

/* group photo band (brokeres) */
.band-photo{ margin-top:24px; }
.band-photo img{
  width:100%; height:auto; aspect-ratio:21/9; object-fit:cover;
  border-radius:var(--radius); display:block;
}
.band-photo figcaption{
  font-family:var(--font-mono); font-size:0.78rem; color:var(--muted-foreground);
  margin-top:12px; text-align:right;
}
