/* ═══════════════════════════════════════════════════════════════
   ELIFE INVESTMENT — dizaino sistema v2
   Idėja: „gyvenimo liniuotė" — amžiaus ašis 0–65+, prie kurios
   pririšta kiekviena finansinė situacija. Visa kita — tylu ir tvarkinga.
   Spalvos: buhalterinės knygos žalia + popierius + žalvaris (iš Elife logotipo).
   Šriftai: Newsreader (antraštės) + Schibsted Grotesk (tekstas).
   ═══════════════════════════════════════════════════════════════ */

:root {
  --green:      #13241E;   /* pagrindinis fonas */
  --pine:       #1A2F27;   /* pakelti paviršiai */
  --pine-2:     #22392F;
  --paper:      #E8EBE4;   /* šviesūs blokai */
  --paper-2:    #DCE1D8;
  --ink:        #14201B;   /* tekstas ant popieriaus */
  --ink-mid:    #46534C;
  --brass:      #B4904F;   /* akcentas */
  --brass-lt:   #CDAE73;
  --brass-dk:   #85662F;
  --text:       #EEF0EA;
  --text-mid:   #B7C0B9;
  --text-dim:   #86928B;
  --line:       rgba(238,240,234,0.13);
  --line-ink:   rgba(20,32,27,0.14);

  --serif: 'Newsreader', Georgia, serif;
  --sans:  'Schibsted Grotesk', system-ui, sans-serif;

  --nav-h: 72px;
  --bar-h: 46px;
  --wrap:  1200px;
  --gut:   40px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img  { display: block; max-width: 100%; }
a    { color: inherit; }
button { font: inherit; color: inherit; }

body {
  background: var(--green);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
:focus-visible { outline: 2px solid var(--brass-lt); outline-offset: 3px; border-radius: 2px; }
[id] { scroll-margin-top: calc(var(--nav-h) + var(--bar-h) + 10px); }

.wrap        { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.wrap-narrow { max-width: 860px;  margin: 0 auto; padding: 0 var(--gut); }

/* ── TIPOGRAFIJA ── */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--text); letter-spacing: -0.01em; }
h1 { font-size: clamp(34px, 4.2vw, 60px); line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: clamp(27px, 2.7vw, 38px); line-height: 1.15; }
h3 { font-size: clamp(20px, 1.6vw, 23px); line-height: 1.25; }
h4 { font-size: 22px; line-height: 1.25; }
h1 em, h2 em, h3 em { font-style: normal; color: inherit; }   /* jokių paryškintų žodžių antraštėse */

.lead  { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.6; color: var(--text-mid); max-width: 62ch; }
.muted { color: var(--text-dim); }
p + p  { margin-top: 0.9em; }

/* Maža etiketė — tik ten, kur ji kažką pasako */
.eyebrow, .label {
  display: block; margin-bottom: 14px;
  font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0;
  color: var(--brass-lt);
}

.section-head { margin-bottom: 56px; max-width: 760px; }
.section-head h2 + .lead { margin-top: 18px; }
.section-head.center { margin-left: 0; text-align: left; }   /* viskas lygiuojama kairėje */

/* ── MYGTUKAI ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 50px; padding: 0 26px;
  font-family: var(--sans); font-size: 16px; font-weight: 600; line-height: 1;
  white-space: nowrap; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: 6px;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn-gold  { background: var(--brass); color: var(--ink); }
.btn-gold:hover  { background: var(--brass-lt); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(238,240,234,0.35); }
.btn-ghost:hover { border-color: var(--text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.link-arrow {
  display: inline-block; font-weight: 600; font-size: 16px; text-decoration: underline;
  text-decoration-color: rgba(205,174,115,0.5); text-underline-offset: 5px; text-decoration-thickness: 1px;
  color: var(--brass-lt);
}
.link-arrow:hover { text-decoration-color: currentColor; }

/* ── NAVIGACIJA ── */
.topnav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: background-color .3s, box-shadow .3s; }
.topnav.scrolled, .topnav.solid { background: rgba(19,36,30,0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.topnav-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--gut);
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a, .nav-links button {
  display: block; padding: 10px 14px; background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-size: 16px; font-weight: 500; color: var(--text-mid); text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover, .nav-links button:hover, .nav-links a.active, .nav-links button.active { color: var(--text); }
.nav-links .has-sub > button::after { content: ''; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.subnav {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 320px; list-style: none;
  background: var(--pine); border: 1px solid var(--line); border-radius: 8px; padding: 8px;
  box-shadow: 0 24px 48px -20px rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub:hover .subnav, .has-sub:focus-within .subnav, .has-sub.open .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { padding: 10px 14px; border-radius: 5px; font-size: 16px; color: var(--text-mid); }
.subnav a:hover, .subnav a.active { background: var(--pine-2); color: var(--text); }
.nav-burger { display: none; flex-direction: column; justify-content: center; gap: 6px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
.nav-burger span { display: block; width: 22px; height: 1.5px; margin: 0 auto; background: var(--text); transition: transform .25s, opacity .25s; }
.nav-burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav-burger { display: flex; }
  .nav-cta { display: none; }
  .topnav.menu-open { background: var(--green); backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: 0 1px 0 var(--line); }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    height: calc(100vh - var(--nav-h)); height: calc(100dvh - var(--nav-h));
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 0 40px; overflow-y: auto;
    background: var(--green); border-top: 1px solid var(--line);
  }
  .nav-links.open { display: flex; }
  .nav-links a, .nav-links button { width: 100%; text-align: left; padding: 16px var(--gut); font-size: 19px; border-bottom: 1px solid var(--line); }
  .subnav { position: static; display: none; opacity: 1; visibility: visible; transform: none; border: 0; border-radius: 0; box-shadow: none; padding: 0; background: var(--pine); }
  .has-sub.open .subnav { display: block; }
  .subnav a { padding: 13px calc(var(--gut) + 18px); border-radius: 0; }
  .nav-links .mobile-cta { padding: 24px var(--gut) 0; }
  .nav-links .mobile-cta a { border: 0; text-align: center; background: var(--brass); color: var(--ink); border-radius: 6px; font-weight: 600; }
}
@media (min-width: 1081px) { .nav-links .mobile-cta { display: none; } }

/* ── GYVENIMO LINIUOTĖ ──
   Skalė 0–70 m.; pozicija = amžius / 70. */
.ruler { position: relative; --scale: 70; padding-top: 6px; }
.ruler-zoom .ruler-track { background: linear-gradient(var(--text-dim), var(--text-dim)) bottom / 100% 1px no-repeat; height: 14px; }
.ruler-zoom .ruler-span { height: 10px; border-radius: 3px; }
.ruler-zoom .ruler-ages span:last-child { transform: translateX(-100%); }
.ruler-track {
  position: relative; height: 18px;
  background:
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px calc(100% / 14)) bottom / 100% 8px no-repeat,
    linear-gradient(var(--text-dim), var(--text-dim)) bottom / 100% 1px no-repeat;
}
.ruler-span {
  position: absolute; bottom: 0; height: 4px;
  left: calc(var(--from) / var(--scale) * 100%);
  width: calc((var(--to) - var(--from)) / var(--scale) * 100%);
  background: var(--brass); border-radius: 2px;
}
.ruler-ages { position: relative; height: 26px; margin-top: 8px; font-size: 14px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.ruler-ages span { position: absolute; left: calc(var(--a) / var(--scale) * 100%); transform: translateX(-50%); }
.ruler-ages span:first-child { transform: none; }
.ruler-caption { margin-top: 6px; font-size: 15px; color: var(--text-mid); }
.ruler-caption b { color: var(--brass-lt); font-weight: 600; }

/* Hero liniuotė su situacijomis */
.ruler-life { margin-top: auto; padding-top: 22px; }
.ruler-life .ruler-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 15px; color: var(--text-dim); }
.ruler-marks { position: relative; height: 84px; margin-top: -6px; }
.ruler-mark {
  position: absolute; top: 0; left: calc(var(--a) / var(--scale) * 100%);
  padding: 20px 0 0 12px; max-width: 172px;
  font-size: 15px; line-height: 1.3; color: var(--text); text-decoration: none;
  border-left: 1px solid var(--brass);
  transition: color .2s;
}
.ruler-mark[data-row="2"] { top: 0; padding-top: 48px; }
.ruler-mark small { display: block; color: var(--text-dim); font-size: 13px; }
.ruler-mark:hover { color: var(--brass-lt); }
.ruler-mark.span-mark { border-left: 0; padding-left: 0; }

/* Vienintelis „orkestruotas" judesys: liniuotė nusibrėžia įkeliant puslapį */
@media (prefers-reduced-motion: no-preference) {
  .ruler-life .ruler-track { animation: draw 1.4s cubic-bezier(.6,0,.2,1) .2s both; transform-origin: left; }
  .ruler-life .ruler-span  { animation: draw .9s ease 1.2s both; transform-origin: left; }
  .ruler-life .ruler-mark, .ruler-life .ruler-ages { animation: fade .6s ease 1.5s both; }
}
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ── PAGRINDINIS HERO ── */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column;
  padding: calc(var(--nav-h) + 16px) 0 14px;
  scroll-snap-align: start;
}
.hero > .wrap { width: 100%; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: stretch; flex: 1; }
.hero-text { display: flex; flex-direction: column; justify-content: center; padding: 12px 0; }
.hero h1 { margin-bottom: 22px; max-width: 14ch; font-size: clamp(34px, 3.6vw, 50px); }
.hero .lead { margin-bottom: 30px; max-width: 44ch; }
.hero-note { margin-top: 30px; font-size: 15px; color: var(--text-dim); max-width: 46ch; }
.hero-photo { position: relative; min-height: 360px; border-radius: 4px; overflow: hidden; }
.hero-photo .photo { position: absolute; inset: 0; }
.hero-content { display: flex; flex-direction: column; flex: 1; }

/* Pagrindinis ekranas su nuotrauka per visą ekraną */
.hero-photo-bg { color: var(--text); }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(19,36,30,0.92) 0%, rgba(19,36,30,0.72) 45%, rgba(19,36,30,0.25) 100%),
    linear-gradient(0deg, rgba(19,36,30,0.95) 0%, rgba(19,36,30,0) 42%),
    linear-gradient(180deg, rgba(19,36,30,0.7) 0%, rgba(19,36,30,0) 22%);
}
.hero-photo-bg > .wrap { position: relative; z-index: 1; }
.hero-photo-bg .hero-text { flex: 1; max-width: 640px; }
.hero-photo-bg h1 { font-size: clamp(36px, 4.2vw, 60px); max-width: 15ch; }
.hero-photo-bg .lead { color: #D5DBD6; }
.hero-photo-bg .ruler-ages, .hero-photo-bg .ruler-head { color: #A9B4AD; }
@media (max-width: 600px) { .ruler-life .ruler-head span:last-child { display: none; } }

/* ── NUOTRAUKOS ── */
.photo { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--pine); border-radius: 4px; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot {
  width: 100%; height: 100%; min-height: 240px; border-radius: 4px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 24px;
  background: var(--pine); border: 1px dashed rgba(180,144,79,0.45); color: var(--text-dim); font-size: 15px;
}
.photo-slot strong { color: var(--text-mid); font-weight: 600; }
.section-light .photo-slot { background: var(--paper-2); color: var(--ink-mid); }
.section-light .photo-slot strong { color: var(--ink); }

/* ── PARTNERIAI ── */
.partners { background: var(--paper); padding: 34px 0; }
.partners-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.partners-label { font-size: 16px; color: var(--ink-mid); }
.partners-logos { display: flex; align-items: center; gap: 56px; flex-wrap: wrap; }
.partners-logos .logo-ld { height: 54px; width: auto; }
.partners-logos .logo-artea { height: 32px; width: auto; }

/* ── VIDINIŲ PUSLAPIŲ HERO ── */
.page-hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 40px) 0 48px;
  scroll-snap-align: start;
}
.page-hero > .wrap { width: 100%; }
.page-hero h1 { font-size: clamp(30px, 3.2vw, 44px); max-width: 26ch; margin-bottom: 20px; }
.page-hero .lead { max-width: 56ch; }
.page-hero .btn-row { margin-top: 34px; }
.page-hero .ruler { margin-top: 44px; max-width: 760px; }
.breadcrumbs { font-size: 15px; color: var(--text-dim); }
.breadcrumbs a { color: var(--text-dim); text-decoration: none; }
.breadcrumbs a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.breadcrumbs span { margin: 0 8px; opacity: .6; }
.breadcrumbs a.current { color: var(--text-mid); }
.page-hero .breadcrumbs { margin-bottom: 28px; }
.price-tag { display: inline-flex; align-items: baseline; gap: 10px; font-size: 16px; color: var(--text-mid); padding-left: 8px; }
.price-tag strong { font-family: var(--serif); font-size: 32px; font-weight: 400; color: var(--text); }

/* ── KELIO JUOSTA (prilipusi) ── */
.crumbbar {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 95;
  background: rgba(26,47,39,0.97); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-110%); opacity: 0; pointer-events: none; transition: transform .3s, opacity .3s;
}
.crumbbar.show { transform: none; opacity: 1; pointer-events: auto; }
.crumbbar-inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--gut); height: var(--bar-h); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.crumbbar .breadcrumbs { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; font-size: 14px; }
.jump { position: relative; flex-shrink: 0; }
.jump-btn { background: none; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; padding: 6px 12px; font-size: 14px; font-weight: 600; color: var(--text); }
.jump-btn::after { content: ''; display: inline-block; width: 5px; height: 5px; margin: 0 0 3px 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); }
.jump-btn:hover, .jump.open .jump-btn { border-color: var(--text-dim); }
.jump-list {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 300px; max-height: 70vh; overflow-y: auto; list-style: none;
  background: var(--pine); border: 1px solid var(--line); border-radius: 8px; padding: 6px;
  box-shadow: 0 24px 48px -20px rgba(0,0,0,0.5);
  opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .18s, transform .18s, visibility .18s;
}
.jump.open .jump-list { opacity: 1; visibility: visible; transform: none; }
.jump-list a { display: block; padding: 9px 12px; border-radius: 5px; font-size: 15px; color: var(--text-mid); text-decoration: none; }
.jump-list a:hover { background: var(--pine-2); color: var(--text); }
.jump-list a.active { color: var(--text); box-shadow: inset 2px 0 0 var(--brass); }
@media (max-width: 600px) {
  .crumbbar .breadcrumbs a:not(.current), .crumbbar .breadcrumbs span { display: none; }
  .jump-list { position: fixed; left: 12px; right: 12px; top: calc(var(--nav-h) + 54px); min-width: 0; }
}

/* ── SEKCIJOS ── */
.section { position: relative; padding: 120px 0; }
.section-mid { background: var(--pine); }
.section-tight { padding: 80px 0; }
.section-light { background: var(--paper); color: var(--ink); }
.section-light h1, .section-light h2, .section-light h3, .section-light h4 { color: var(--ink); }
.section-light .lead, .section-light .muted { color: var(--ink-mid); }
.section-light .eyebrow, .section-light .label { color: var(--brass-dk); }
.section-light .link-arrow { color: var(--brass-dk); text-decoration-color: rgba(133,102,47,0.45); }
.section-light .btn-ghost { color: var(--ink); border-color: rgba(20,32,27,0.35); }

/* Vieno ekrano blokai + švelnus prisitraukimas */
.section.screen {
  min-height: calc(100vh - var(--nav-h) - var(--bar-h));
  min-height: calc(100svh - var(--nav-h) - var(--bar-h));
  padding: 28px 0; display: flex; align-items: center;
  scroll-snap-align: start; scroll-margin-top: calc(var(--nav-h) + var(--bar-h));
}
.section.screen > .wrap, .section.screen > .wrap-narrow { width: 100%; }
.screen .section-head { margin-bottom: 34px; }
@media (min-width: 901px) and (min-height: 620px) { html { scroll-snap-type: y proximity; } }

/* ── LAIKO KAINA: sąsiuvinio lapas ── */
.nb {
  --hand: 'Caveat', 'Segoe Print', cursive;
  --ink-blue: #2F4A6B; --pen-red: #C2463A; --pencil: #6E7C74;
  position: relative; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center;
  padding: 34px 44px 30px 96px; border-radius: 4px; color: var(--ink);
  background-color: #FFFEFA;
  background-image:
    linear-gradient(90deg, transparent 63px, rgba(194,70,58,0.45) 63px, rgba(194,70,58,0.45) 65px, transparent 65px),
    linear-gradient(rgba(70,120,170,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70,120,170,0.10) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px, 24px 24px;
  box-shadow: 0 1px 0 rgba(20,32,27,0.06), 0 28px 50px -30px rgba(20,32,27,0.45);
}
.nb::before { /* skylutės kaip sąsiuvinyje */
  content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 14px;
  background: radial-gradient(circle at 7px 7px, var(--paper) 6px, rgba(20,32,27,0.12) 6.5px, transparent 7.5px) 0 40px / 14px 120px repeat-y;
}
.nb h2 { color: var(--ink); margin-bottom: 6px; }
.nb-hand { font-family: var(--hand); font-weight: 500; font-size: 25px; line-height: 1.2; color: var(--ink-blue); }
.nb-intro { margin-bottom: 18px; }
.nb-people { display: grid; gap: 4px; }
.nb-person { display: grid; grid-template-columns: 1fr auto; gap: 0 16px; align-items: center; padding: 10px 0; border-bottom: 1px dashed rgba(20,32,27,0.18); }
.nb-name { font-weight: 600; font-size: 16px; color: var(--ink); }
.nb-name small { display: block; font-weight: 400; font-size: 14px; color: var(--ink-mid); }
.nb-sum { grid-row: span 2; font-family: var(--hand); font-weight: 700; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; }
.nb-tomas .nb-sum { color: #9A7330; }
.nb-darius .nb-sum { color: var(--pencil); }
.nb-paid { font-size: 13.5px; color: var(--ink-mid); }
.nb-paid b { font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.nb-result { margin-top: 18px; }
.nb-result .nb-hand { color: var(--pen-red); margin-bottom: 16px; }
.nb-replay { background: none; border: 0; cursor: pointer; font-family: var(--hand); font-size: 22px; color: var(--ink-blue); padding: 6px 4px; }
.nb-replay:hover { text-decoration: underline; text-underline-offset: 4px; }
.nb-chart { width: 100%; height: auto; overflow: visible; }
.nb-axes { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nb-ticks text { font-family: var(--hand); font-size: 20px; fill: var(--ink-mid); }
.nb-ticks line { stroke: var(--ink); stroke-width: 1.6; }
.nb-line-t { fill: none; stroke: #A27A33; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.nb-line-d { fill: none; stroke: var(--pencil); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.nb-dot-t { fill: #A27A33; } .nb-dot-d { fill: var(--pencil); }
.nb-arrow { fill: none; stroke: var(--pencil); stroke-width: 1.8; stroke-linecap: round; }
.nb-bracket { fill: none; stroke: var(--pen-red); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nb-circle { fill: none; stroke: var(--pen-red); stroke-width: 2.4; }
.nb-note, .nb-label, .nb-gap, .nb-age { font-family: var(--hand); }
.nb-note { font-size: 21px; fill: var(--pencil); }
.nb-label { font-size: 24px; font-weight: 700; }
.nb-label-t { fill: #9A7330; } .nb-label-d { fill: var(--pencil); }
.nb-gap { font-size: 30px; font-weight: 700; fill: var(--pen-red); }
.nb-age { font-size: 22px; fill: var(--ink-mid); }
.nb-age-num { font-size: 40px; font-weight: 700; fill: var(--ink-blue); }
.nb-disclaimer { margin-top: 4px; font-size: 12.5px; color: var(--ink-mid); }
@media (max-width: 900px) {
  .nb { grid-template-columns: 1fr; gap: 20px; padding: 26px 20px 22px 52px; background-size: 100% 100%, 20px 20px, 20px 20px;
    background-image: linear-gradient(90deg, transparent 37px, rgba(194,70,58,0.45) 37px, rgba(194,70,58,0.45) 39px, transparent 39px), linear-gradient(rgba(70,120,170,0.10) 1px, transparent 1px), linear-gradient(90deg, rgba(70,120,170,0.10) 1px, transparent 1px); }
  .nb::before { left: 10px; }
  .nb-sum { font-size: 34px; }
  .nb-text { display: contents; }
  .nb h2 { order: 1; } .nb-intro { order: 2; margin-bottom: 0; } .nb-chart-wrap { order: 3; }
  .nb-people { order: 4; } .nb-result { order: 5; margin-top: 0; }
  .nb-br { display: none; }
  .nb-hand { font-size: 23px; }
}

/* ── 3D augimo kreivė ── */
.c3d { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 40px; align-items: center; }
.c3d-text h2 { margin-bottom: 14px; }
.c3d-nums { display: grid; grid-template-columns: auto 1fr 1fr; gap: 18px; margin: 26px 0 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.c3d-nums dt { font-size: 14px; color: var(--text-dim); display: flex; align-items: center; gap: 7px; }
.c3d-nums dd { margin: 4px 0 0; font-family: var(--serif); font-size: 26px; line-height: 1; font-variant-numeric: tabular-nums; }
.c3d-sum-t { color: var(--brass-lt); } .c3d-sum-d { color: #9CC6EE; }
.c3d-key-t, .c3d-key-d { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.c3d-key-t { background: #E2B860; } .c3d-key-d { background: #8FC1F0; }
.c3d-result { margin-top: 20px; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s; }
.c3d-result.show { opacity: 1; transform: none; }
.c3d-result p { font-size: 17px; color: var(--text-mid); margin-bottom: 16px; }
.c3d-result b { color: var(--brass-lt); font-weight: 600; }
.c3d-note { margin-top: 16px; font-size: 13px; color: var(--text-dim); }
.c3d-canvas { position: relative; height: min(600px, calc(100vh - var(--nav-h) - var(--bar-h) - 40px)); overflow: hidden; background: transparent; }
.c3d-canvas canvas {
  /* kraštai ištirpsta iš visų keturių pusių — drobės ribos nesimato */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 26%, #000 84%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 24%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 26%, #000 84%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 24%, #000 80%, transparent 100%);
  mask-composite: intersect;
}
.c3d-canvas canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.c3d-tag { position: absolute; z-index: 2; pointer-events: none; font: 600 14px var(--sans); color: var(--text); padding: 4px 10px; border-radius: 20px; background: rgba(19,36,30,.8); border: 1px solid rgba(238,240,234,.2); white-space: nowrap; opacity: 0; transition: opacity .4s; }
.c3d-axis { position: absolute; z-index: 2; pointer-events: none; font: 500 13px var(--sans); color: var(--text-dim); white-space: nowrap; }
.c3d-pill { position: absolute; z-index: 3; pointer-events: none; font: 500 13px/1.35 var(--sans); color: var(--text-mid); white-space: nowrap;
  padding: 7px 11px; border-radius: 10px; background: rgba(15,30,24,.88); border: 1px solid rgba(238,240,234,.16);
  box-shadow: 0 10px 24px -14px rgba(0,0,0,.7); opacity: 0; transform: translateY(6px) scale(.96); transition: opacity .35s, transform .35s; }
.c3d-pill.on { opacity: 1; transform: none; }
.c3d-pill b { color: var(--text); font-weight: 600; }
.c3d-pill-t { border-left: 3px solid #E2B860; } .c3d-pill-d { border-left: 3px solid #8FC1F0; }
.c3d-pill-mid { font-size: 12.5px; }
@media (max-width: 600px) { .c3d-pill { font-size: 11.5px; padding: 5px 8px; } .c3d-axis { font-size: 11px; } .c3d-axis[data-a="25"], .c3d-axis[data-a="35"] { display: none; } }
.c3d-nums small { display: block; margin-top: 6px; font-size: 13px; color: var(--text-dim); font-variant-numeric: tabular-nums; }
.c3d-plus { position: absolute; z-index: 3; pointer-events: none; font: 700 13px var(--sans); white-space: nowrap; opacity: 0; text-shadow: 0 1px 6px rgba(0,0,0,.6); }
.c3d-plus-t { color: #F1CD7C; } .c3d-plus-d { color: #A9D0F5; }
.c3d-nogl .c3d-canvas { display: none; }
/* Šviesi versija */
.section-light .c3d-nums { border-color: var(--line-ink); }
.section-light .c3d-nums dt, .section-light .c3d-nums small, .section-light .c3d-note { color: var(--ink-mid); }
.section-light .c3d-nums dd { color: var(--ink); }
.section-light .c3d-sum-t { color: var(--brass-dk); } .section-light .c3d-sum-d { color: #236AAE; }
.section-light .c3d-key-t { background: #C8922E; } .section-light .c3d-key-d { background: #2F7BD0; }
.section-light .c3d-result p { color: var(--ink-mid); } .section-light .c3d-result b { color: var(--brass-dk); }
.section-light .c3d-tag, .section-light .c3d-pill { background: rgba(255,255,255,.94); color: var(--ink-mid); border-color: rgba(20,32,27,.12); box-shadow: 0 10px 24px -16px rgba(20,32,27,.45); }
.section-light .c3d-tag { color: var(--ink); }
.section-light .c3d-pill b { color: var(--ink); }
.section-light .c3d-pill-t { border-left-color: #C8922E; } .section-light .c3d-pill-d { border-left-color: #2F7BD0; }
.section-light .c3d-axis { color: var(--ink-mid); }
.section-light .c3d-plus { text-shadow: 0 1px 4px rgba(255,255,255,.9); }
.section-light .c3d-plus-t { color: #9A6B1E; } .section-light .c3d-plus-d { color: #1F5FA0; }
.c3d-nogl { grid-template-columns: 1fr; }
@media (max-width: 900px) {
  .c3d { grid-template-columns: 1fr; gap: 24px; }
  .c3d-canvas { height: 360px; order: -1; }
  .c3d-nums { grid-template-columns: auto 1fr 1fr; gap: 12px; }
  .c3d-nums dd { font-size: 21px; }
}

/* ── TURINIO ELEMENTAI (be vienodų kortelių) ── */
.grid { display: grid; gap: 34px 48px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { display: block; padding-top: 20px; border-top: 1px solid var(--line); color: inherit; text-decoration: none; }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--text-mid); line-height: 1.55; }
.section-light .card { border-top-color: var(--line-ink); }
.section-light .card p { color: var(--ink-mid); }
a.card h3 { transition: color .2s; }
a.card:hover h3 { color: var(--brass-lt); }
.section-light a.card:hover h3 { color: var(--brass-dk); }
a.card .link-arrow { margin-top: 14px; font-size: 15px; }
.card-num { display: none; }

/* Situacijos — eilutės: situacija kairėje, žmogaus žodžiai dešinėje */
.rows { border-top: 1px solid var(--line-ink); }
.row {
  display: grid; grid-template-columns: 5fr 6fr 2fr; gap: 32px; align-items: baseline;
  padding: 20px 0; border-bottom: 1px solid var(--line-ink); text-decoration: none; color: inherit;
}
.row h3 { font-size: clamp(19px, 1.6vw, 22px); }
.row p { color: var(--ink-mid); font-size: 15.5px; }
.row .go { justify-self: end; font-size: 15px; font-weight: 600; color: var(--brass-dk); white-space: nowrap; }
.row:hover h3 { color: var(--brass-dk); }

/* Metodika — tikra seka, todėl su numeriais */
.method { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.method.method-4 { grid-template-columns: repeat(4, 1fr); }
.method::before { content: ''; position: absolute; left: 0; right: 0; top: 19px; height: 1px; background: var(--line); }
.method-step { position: relative; }
.method-step .n {
  position: relative; display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 22px;
  border-radius: 50%; background: var(--pine); border: 1px solid var(--brass);
  font-family: var(--serif); font-size: 19px; color: var(--brass-lt);
}
.section:not(.section-mid) .method-step .n { background: var(--green); }
.method-step h3 { margin-bottom: 8px; }
.method-step p { font-size: 15px; color: var(--text-mid); line-height: 1.55; }
.method-note { margin-top: 44px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.method-note p { font-family: var(--serif); font-size: 21px; color: var(--text); max-width: 38ch; }

/* Klausimai „Kas nutiktų, jeigu...?" — tipografija kaip vaizdas */
.whatif { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 56px; }
.whatif li { padding-top: 18px; border-top: 1px solid var(--line); }
.whatif p { font-family: var(--serif); font-size: clamp(19px, 1.7vw, 24px); line-height: 1.3; color: var(--text); }
.whatif p b { font-weight: 400; color: var(--brass-lt); }
.split .whatif { grid-template-columns: 1fr; gap: 20px; }

.cost-card { padding-top: 18px; }
.cost-card .tag { display: block; margin-bottom: 8px; font-family: var(--serif); font-size: 24px; color: var(--ink); }
.cost-card p { font-size: 15.5px; }
.quote-band { margin-top: 56px; max-width: 30ch; font-family: var(--serif); font-size: clamp(22px, 2.1vw, 30px); line-height: 1.25; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split.top { align-items: start; }
.split-media { aspect-ratio: 5/4; }

/* ── Situacijos: pagrindinis puslapio kabliukas ── */
.sit-section .section-head { margin-bottom: 22px; }
.sit-section h2 { font-size: clamp(30px, 3.1vw, 44px); }
.sit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.sit {
  display: flex; flex-direction: column; gap: 7px; padding: 14px 24px 15px 26px;
  background: #FFFFFF; color: var(--ink); text-decoration: none;
  border: 1px solid var(--line-ink); border-left: 4px solid var(--brass); border-radius: 6px;
  box-shadow: 0 14px 30px -26px rgba(20,32,27,.55);
  transition: background-color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.sit-tag { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 600; color: var(--brass-dk); }
.sit-tag i { font-style: normal; font-weight: 500; color: var(--ink-mid); }
.sit p { margin: 0; font-family: var(--serif); font-size: 19.5px; line-height: 1.28; color: var(--ink); }
.sit:hover, .sit:focus-visible { background: var(--green); border-color: var(--green); border-left-color: var(--brass-lt); transform: translateY(-2px); box-shadow: 0 18px 34px -22px rgba(20,32,27,.7); }
.sit:hover p, .sit:focus-visible p { color: var(--text); }
.sit:hover .sit-tag, .sit:focus-visible .sit-tag { color: var(--brass-lt); }
.sit:hover .sit-tag i, .sit:focus-visible .sit-tag i { color: var(--text-mid); }
@media (max-width: 900px) { .sit-grid { grid-template-columns: 1fr; } .sit p { font-size: 19px; } }

/* Kompaktiškas fotografijos blokas (maždaug perpus mažesnis) */
.section.bleed.bleed-compact { min-height: 0; display: block; padding: 0; scroll-snap-align: none; }
.bleed-compact .bleed-wrap { min-height: 300px; align-items: center; padding-top: 36px; padding-bottom: 36px; }
.bleed-compact .bleed-wrap h2 { font-size: clamp(24px, 2.2vw, 32px); }
@media (max-width: 900px) {
  .section.bleed.bleed-compact { padding: 0 0 40px; }
  .bleed-compact .bleed-media { margin: 0 0 32px; aspect-ratio: 16/9; }
  .bleed-compact .bleed-wrap { min-height: 0; padding-top: 0; padding-bottom: 0; }
}

/* Pusė ekrano nuotraukai: nuo krašto iki krašto, per visą bloko aukštį */
.bleed { position: relative; overflow: hidden; }
.bleed-media { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; }
.bleed-right .bleed-media { left: auto; right: 0; }
.bleed-media .photo, .bleed-media .photo-slot { border-radius: 0; height: 100%; }
.bleed-media .photo-slot { border: 0; }
.bleed-media .photo { position: relative; }
.bleed-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed .bleed-wrap h2 { font-size: clamp(24px, 2.2vw, 32px); }
.bleed .bleed-wrap .checklist { display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; }
.bleed .bleed-wrap .checklist li { padding-top: 8px; padding-bottom: 8px; font-size: 16px; }
@media (max-width: 600px) { .bleed .bleed-wrap .checklist { grid-template-columns: 1fr; } }
.bleed .bleed-wrap .checklist li::before { top: 17px; }
.bleed-wrap { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
.bleed-wrap > * { grid-column: 2; padding-left: 72px; }
.bleed-right .bleed-wrap > * { grid-column: 1; padding-left: 0; padding-right: 72px; }
.page-hero.bleed .bleed-media { top: var(--nav-h); }
.page-hero.bleed h1 { font-size: clamp(28px, 2.7vw, 38px); }
.page-hero.bleed .ruler { max-width: none; }
.section.bleed:not(.screen) { min-height: calc(100vh - var(--nav-h) - var(--bar-h)); display: flex; align-items: center; }
@media (max-width: 900px) {
  .bleed-media { position: relative; width: 100%; height: auto; min-height: 0; aspect-ratio: 4/3; margin: -80px 0 48px; }
  .section.bleed { padding-top: 80px; }
  .bleed-wrap { grid-template-columns: 1fr; }
  .bleed-wrap > *, .bleed-right .bleed-wrap > * { grid-column: 1; padding: 0; }
  .section.bleed:not(.screen) { display: block; min-height: 0; }
  .page-hero.bleed { display: flex; flex-direction: column; padding-top: var(--nav-h); }
  .page-hero.bleed .bleed-media { top: 0; margin: 0 0 36px; }
}

/* Žemėlapis kaip pusė ekrano */
.map-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.9) contrast(.9) hue-rotate(180deg); }
.requisites { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-mid); line-height: 1.8; }
.requisites dt { font-weight: 600; color: var(--text); margin-bottom: 4px; }
.requisites dd { margin: 0; }
.requisites a { color: var(--text-mid); text-decoration: none; }
.requisites a:hover { color: var(--brass-lt); }

/* Sutarties analizė — popieriaus lapas su tikrinimo eilutėmis */
.feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: center; }
.feature h2 { margin-bottom: 20px; }
.feature .btn { margin-top: 30px; }
.doc {
  background: var(--paper); color: var(--ink); border-radius: 4px; padding: 34px 36px 30px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
  transform: rotate(-1.2deg);
}
.doc-title { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-mid); padding-bottom: 14px; border-bottom: 1px solid var(--line-ink); margin-bottom: 6px; }
.doc ul { list-style: none; }
.doc li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--line-ink); font-size: 16px; }
.doc li span { color: var(--ink-mid); }
.doc li b { font-weight: 600; }
.doc li b.ok { color: #3D6B4F; }
.doc li b.warn { color: var(--brass-dk); }
.doc-foot { margin-top: 16px; font-family: var(--serif); font-size: 19px; line-height: 1.35; }

.checklist { list-style: none; }
.checklist li { position: relative; padding: 11px 0 11px 30px; border-bottom: 1px solid var(--line); color: var(--text-mid); }
.checklist li::before { content: ''; position: absolute; left: 2px; top: 20px; width: 11px; height: 6px; border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(-45deg); }
.checklist li strong { color: var(--text); font-weight: 600; }
.section-light .checklist li { color: var(--ink-mid); border-color: var(--line-ink); }
.section-light .checklist li strong { color: var(--ink); }
.section-light .checklist li::before { border-color: var(--brass-dk); }

.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.pill-list li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 40px; font-size: 15px; color: var(--text-mid); }
.section-light .pill-list li { border-color: var(--line-ink); color: var(--ink-mid); }

.note-box { padding: 22px 26px; border-radius: 4px; background: var(--pine-2); font-size: 15.5px; color: var(--text-mid); }
.note-box strong { color: var(--text); font-weight: 600; }
.section-light .note-box { background: var(--paper-2); color: var(--ink-mid); }
.section-light .note-box strong { color: var(--ink); }

.big-quote { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.22; color: var(--text); }
.section-light .big-quote { color: var(--ink); }

/* Laiko palyginimas (kaupimas vaikams) */
.span-compare { display: grid; gap: 26px; }
.span-compare .item h3 { font-size: 22px; margin-bottom: 4px; }
.span-compare .item p { font-size: 15px; color: var(--text-dim); margin-top: 6px; }

/* Atsiliepimai */
.story { padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; }
.story-steps { list-style: none; display: grid; gap: 14px; margin-bottom: 22px; }
.story-steps li { display: grid; grid-template-columns: 100px 1fr; gap: 14px; font-size: 16px; color: var(--text-mid); }
.story-steps li span { font-weight: 600; color: var(--text); }
.story-who { margin-top: auto; font-size: 15px; color: var(--text-dim); }
.placeholder-flag { align-self: flex-start; margin-bottom: 16px; padding: 3px 9px; border-radius: 4px; font-size: 13px; font-weight: 600; background: var(--brass); color: var(--ink); }

/* DUK */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--serif); font-size: clamp(19px, 1.6vw, 22px); color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex-shrink: 0; font-family: var(--sans); font-size: 24px; font-weight: 300; color: var(--brass-lt); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 24px 0; color: var(--text-mid); max-width: 68ch; }
.faq .answer a { color: var(--brass-lt); }
.faq-group-title { margin: 60px 0 6px; font-family: var(--serif); font-size: 28px; }
.faq-group-title:first-child { margin-top: 0; }

/* Straipsniai */
.article-card .meta { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--brass-lt); }
.article-card .soon { display: block; margin-top: 10px; font-size: 14px; color: var(--text-dim); }

/* Komanda, karjera */
.team-card .photo { aspect-ratio: 4/5; height: auto; margin-bottom: 18px; }
.team-card .photo-slot { aspect-ratio: 4/5; min-height: 0; margin-bottom: 18px; }
.team-card .role { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; color: var(--brass-lt); }
.team-card h3 { margin-bottom: 6px; }
.team-card p { font-size: 16px; color: var(--text-mid); }
.timeline { list-style: none; border-left: 1px solid var(--line); margin-left: 5px; }
.timeline li { position: relative; padding: 0 0 22px 28px; }
.timeline li::before { content: ''; position: absolute; left: -5px; top: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); border: 1px solid var(--brass); }
.timeline li:last-child::before { background: var(--brass); }
.timeline .when { font-size: 14px; font-weight: 600; color: var(--text-dim); }
.timeline h4 { font-size: 21px; margin-top: 2px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.stat strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 46px; line-height: 1; margin-bottom: 8px; }
.stat span { font-size: 15px; color: var(--text-mid); }

/* Du vienodo tono blokai iš eilės — plona skiriamoji linija */
.section-light + .section-light { border-top: 1px solid var(--line-ink); }
.section:not(.section-light):not(.section-mid) + .section:not(.section-light):not(.section-mid) { border-top: 1px solid var(--line); }

/* Šviesūs variantai: sutarties lapas, istorijos, DUK */
.section-light .doc { background: #FFFFFF; box-shadow: 0 1px 0 rgba(20,32,27,0.06), 0 28px 50px -30px rgba(20,32,27,0.45); }
.section-light .story { border-top-color: var(--line-ink); }
.section-light .story-steps li { color: var(--ink-mid); }
.section-light .story-steps li span { color: var(--ink); }
.section-light .story-who { color: #6B776F; }
.section-light .faq, .section-light .faq details { border-color: var(--line-ink); }
.section-light .faq summary { color: var(--ink); }
.section-light .faq summary::after { color: var(--brass-dk); }
.section-light .faq summary:hover { color: var(--brass-dk); }
.section-light .faq .answer { color: var(--ink-mid); }
.section-light .faq .answer a { color: var(--brass-dk); }
.section-light .faq-group-title { color: var(--ink); }

/* ── SKAIČIUOKLĖS ── */
.calc { display: grid; grid-template-columns: 1fr 1.1fr; background: var(--pine); border-radius: 8px; overflow: hidden; }
.section-mid .calc { background: var(--green); }
.calc-inputs { padding: 34px 40px; display: flex; flex-direction: column; justify-content: center; }
.calc-out { padding: 34px 40px; background: var(--pine-2); display: flex; flex-direction: column; }
.section-mid .calc-out { background: var(--pine); }
.calc-head { margin-bottom: 26px; }
.calc-head .eyebrow { margin-bottom: 8px; }
.calc-title { font-size: clamp(24px, 2.2vw, 32px); }
.calc-lead { margin-top: 8px; font-size: 15px; color: var(--text-mid); }
.field { margin-bottom: 20px; }
.field:last-child { margin-bottom: 0; }
.field label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 15px; font-weight: 500; color: var(--text-mid); line-height: 1.3; }
.field label output { font-family: var(--serif); font-size: 24px; color: var(--text); white-space: nowrap; line-height: 1.2; font-variant-numeric: tabular-nums; }
.field input[type=range] { display: block; margin: 8px 0 4px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: rgba(238,240,234,0.18); outline-offset: 6px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--brass); border: 4px solid var(--pine); box-shadow: 0 0 0 1px var(--brass); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--brass); border: 4px solid var(--pine); box-shadow: 0 0 0 1px var(--brass); cursor: pointer; }
.calc-result-label { font-size: 15px; font-weight: 500; color: var(--text-dim); }
.calc-result { font-family: var(--serif); font-size: clamp(40px, 4vw, 56px); line-height: 1.05; margin: 4px 0 4px; font-variant-numeric: tabular-nums; }
.calc-sub { font-size: 16px; color: var(--text-mid); line-height: 1.55; }
.calc-sub b { color: var(--text); font-weight: 600; }
.calc-compare .field-inline { margin: 8px 0 6px; }
.calc-compare { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.calc-bars { display: grid; gap: 8px; margin-top: 10px; }
.calc-bar { display: grid; grid-template-columns: 120px 1fr 90px; gap: 14px; align-items: center; font-size: 15px; color: var(--text-mid); }
.calc-bar em { font-style: normal; color: var(--brass-lt) !important; }
.calc-bar .track { position: relative; height: 6px; border-radius: 3px; background: rgba(238,240,234,0.08); }
.calc-bar .fill { position: absolute; inset: 0 auto 0 0; border-radius: 3px; background: var(--brass); transition: width .4s ease; }
.calc-bar .fill.dim { background: var(--text-dim); opacity: .5; }
.calc-bar b { text-align: right; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.calc-disclaimer { margin-top: auto; padding-top: 14px; font-size: 13px; line-height: 1.5; color: var(--text-dim); }
.growth-chart { width: 100%; flex: 1 1 160px; min-height: 160px; height: auto; margin-top: 14px; }
.growth-legend { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 8px; font-size: 14px; color: var(--text-mid); }
.growth-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; }

/* Skaičiuoklės šviesiame fone — aiškesni skaičiai */
.calc-section .calc { background: #FFFFFF; color: var(--ink); border: 1px solid var(--line-ink); box-shadow: 0 24px 50px -32px rgba(20,32,27,0.35); }
.calc-section .calc-out { background: #F5F7F3; border-left: 1px solid var(--line-ink); }
.calc-section .calc-title { color: var(--ink); }
.calc-section .calc-lead, .calc-section .field label, .calc-section .calc-sub { color: var(--ink-mid); }
.calc-section .field label output, .calc-section .calc-result, .calc-section .calc-sub b, .calc-section .calc-bar b { color: var(--ink); }
.calc-section .calc-result-label { color: #6B776F; }
.calc-section .accent, .calc-section .calc-bar em { color: var(--brass-dk) !important; }
.calc-section .calc-compare { border-top-color: var(--line-ink); }
.calc-section .calc-bar { color: var(--ink-mid); }
.calc-section .calc-bar .track { background: #E3E8E2; }
.calc-section .calc-bar .fill { background: var(--brass); }
.calc-section .calc-bar .fill.dim { background: #A9B5AD; opacity: 1; }
.calc-section .calc-disclaimer { color: #7A857E; }
.calc-section input[type=range] { background: #CDD5CF; height: 3px; }
.calc-section input[type=range]::-webkit-slider-thumb { border-color: #FFFFFF; box-shadow: 0 0 0 1px var(--brass), 0 2px 6px rgba(0,0,0,.15); }
.calc-section input[type=range]::-moz-range-thumb { border-color: #FFFFFF; }
.calc-section .growth-legend { color: var(--ink-mid); }
.lg-paid { background: #9DB1A5; } .lg-bal { background: var(--brass); }
.calc-section .lg-paid { background: #C3CFC7; }
.calc-more { margin-top: 6px; text-align: right; }
.calc-section .calc-inputs, .calc-section .calc-out { padding-top: 26px; padding-bottom: 24px; }
.calc-section .field { margin-bottom: 16px; }
.calc-section .calc-out { padding-top: 18px; padding-bottom: 14px; }
.calc-section .calc-result { font-size: clamp(38px, 3.6vw, 48px); }
.calc-section .calc-sub { line-height: 1.42; }
.calc-section .calc-compare { margin-top: 8px; padding-top: 7px; }
.calc-section .calc-compare .field-inline { margin: 4px 0 2px; }
.calc-section .calc-disclaimer { padding-top: 8px; font-size: 12.5px; line-height: 1.4; }
.calc-section .calc-bars { gap: 2px; margin-top: 6px; }
.calc-section .calc-bars { gap: 4px; }
.calc-section .calc-compare { margin-top: 12px; padding-top: 10px; }
.accent { color: var(--brass-lt); }

/* ── Skaičiuoklės kaip sąsiuvinio lapas (kaip „Dešimt metų skirtumo") ── */
.calc-section .calc {
  --hand: 'Caveat', cursive; --ink-blue: #2F4A6B; --pen-red: #C2463A; --pencil: #6E7C74; --gold-ink: #9A7330; --blue-ink: #236AAE;
  position: relative; border: 0; border-radius: 4px; overflow: visible;
  padding-left: 52px;
  background-color: #FFFEFA;
  background-image:
    linear-gradient(90deg, transparent 63px, rgba(194,70,58,0.45) 63px, rgba(194,70,58,0.45) 65px, transparent 65px),
    linear-gradient(rgba(70,120,170,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70,120,170,0.10) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px, 24px 24px;
  box-shadow: 0 1px 0 rgba(20,32,27,0.06), 0 28px 50px -30px rgba(20,32,27,0.45);
}
.calc-section .calc::before {
  content: ''; position: absolute; left: 24px; top: 0; bottom: 0; width: 14px;
  background: radial-gradient(circle at 7px 7px, var(--paper) 6px, rgba(20,32,27,0.12) 6.5px, transparent 7.5px) 0 40px / 14px 120px repeat-y;
}
.calc-section .calc-out { background: transparent; border-left: 1.5px dashed rgba(47,74,107,0.28); }
.calc-section .calc-lead { font-family: var(--hand); font-size: 21px; line-height: 1.15; color: var(--ink-blue); }
.calc-section .field label { color: var(--ink); font-weight: 500; }
.calc-section .field label output { font-family: var(--hand); font-weight: 700; font-size: 26px; line-height: 1; color: var(--ink-blue); }
.calc-section .calc-result-label { color: var(--pencil); }
.calc-section .calc-result { font-family: var(--hand); font-weight: 700; font-size: clamp(42px, 4vw, 54px); color: var(--ink-blue); line-height: 1; }
.calc-section #gTotal { color: var(--gold-ink); }
.calc-section .calc-sub { color: var(--ink-mid); }
.calc-section .calc-sub b { font-family: var(--hand); font-weight: 700; font-size: 22px; color: var(--ink-blue); }
.calc-section .accent, .calc-section .calc-sub b.accent { color: var(--gold-ink) !important; }
.calc-section .calc-compare { border-top: 1.5px dashed rgba(47,74,107,0.25); }
/* Juostos — tarsi žymekliu */
.calc-section .calc-bar span { color: var(--ink-mid); }
.calc-section .calc-bar em { font-family: var(--hand); font-size: 18px; color: var(--pen-red) !important; }
.calc-section .calc-bar .track { height: 12px; background: transparent; border-bottom: 1.5px solid rgba(47,74,107,0.25); border-radius: 0; }
.calc-section .calc-bar .fill { height: 10px; top: 1px; border-radius: 6px 3px 7px 2px; background: rgba(162,122,51,0.75); transform: rotate(-0.6deg); }
.calc-section .calc-bar .fill.dim { background: rgba(35,106,174,0.35); }
.calc-section .calc-bar b { font-family: var(--hand); font-weight: 700; font-size: 20px; line-height: 1; color: var(--ink-blue); }
.calc-section .calc-disclaimer { color: var(--pencil); }
/* Slankikliai — pieštuko linija ir rašalo taškas */
.calc-section input[type=range] { height: 2px; background: rgba(20,32,27,0.55); }
.calc-section input[type=range]::-webkit-slider-thumb { width: 18px; height: 18px; background: var(--blue-ink); border: 3px solid #FFFEFA; box-shadow: 0 0 0 1.5px var(--blue-ink); }
.calc-section input[type=range]::-moz-range-thumb { width: 12px; height: 12px; background: var(--blue-ink); border: 3px solid #FFFEFA; box-shadow: 0 0 0 1.5px var(--blue-ink); }
.calc-section .growth-chart { filter: url(#pencil-calc); }
.calc-section .growth-legend { color: var(--ink-mid); font-family: var(--hand); font-size: 19px; }
.calc-section .lg-paid { background: repeating-linear-gradient(45deg, rgba(35,106,174,.55) 0 2px, transparent 2px 5px); }
.calc-section .lg-bal { background: rgba(162,122,51,0.35); border: 1.5px solid #9A7330; }
@media (max-width: 900px) {
  .calc-section .calc { padding-left: 34px; background-size: 100% 100%, 20px 20px, 20px 20px;
    background-image: linear-gradient(90deg, transparent 37px, rgba(194,70,58,0.45) 37px, rgba(194,70,58,0.45) 39px, transparent 39px), linear-gradient(rgba(70,120,170,0.10) 1px, transparent 1px), linear-gradient(90deg, rgba(70,120,170,0.10) 1px, transparent 1px); }
  .calc-section .calc::before { left: 10px; }
  .calc-section .calc-out { border-left: 0; border-top: 1.5px dashed rgba(47,74,107,0.28); }
}

/* Skaičiuoklių puslapis */
.calc-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; max-width: 980px; }
.calc-pick { display: block; padding: 24px 26px; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; color: inherit; transition: border-color .2s, background-color .2s; }
.calc-pick:hover { border-color: var(--brass); background: var(--pine); }
.calc-pick h3 { margin-bottom: 6px; }
.calc-pick p { font-size: 15px; color: var(--text-mid); }
@media (max-width: 700px) { .calc-picker { grid-template-columns: 1fr; } .calc-more { text-align: left; } }
@media (max-width: 900px) { .calc-section .calc-out { border-left: 0; border-top: 1px solid var(--line-ink); } }

/* ── FORMA ── */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 72px; align-items: center; }
.contact-info h2 { margin-bottom: 16px; }
.contact-list { list-style: none; margin-top: 30px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px; }
.contact-list li:last-child { border-bottom: 1px solid var(--line); }
.contact-list span { color: var(--text-dim); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { color: var(--brass-lt); }
.todo { color: var(--text-dim); font-style: italic; }
.form { background: var(--green); border-radius: 8px; padding: 32px 36px; }
.section:not(.section-mid) .form { background: var(--pine); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 14px; }
.form-field label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 500; color: var(--text-mid); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 12px 14px; border-radius: 6px;
  background: rgba(238,240,234,0.05); border: 1px solid rgba(238,240,234,0.16); color: var(--text);
  font-family: var(--sans); font-size: 16px; transition: border-color .2s;
}
.form-field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-mid) 50%), linear-gradient(135deg, var(--text-mid) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.form-field select option { background: var(--pine); }
.form-field textarea { min-height: 72px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--brass); }
.form-consent { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 18px; font-size: 14px; color: var(--text-dim); }
.form-consent input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; accent-color: var(--brass); }
.form .btn { width: 100%; }
.form-hp { position: absolute; left: -9999px; }
.form-status { display: none; margin-top: 14px; font-size: 16px; }
.form-status.ok { display: block; color: var(--brass-lt); }
.form-status.err { display: block; color: #E3A08F; }

/* ── CTA JUOSTA ── */
.cta-band { padding: 110px 0; background: var(--pine); }
.cta-band h2 { max-width: 20ch; margin-bottom: 18px; }
.cta-band .lead { margin-bottom: 32px; }

/* ── PORAŠTĖ ── */
.footer { background: #0E1B16; padding: 72px 0 32px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: var(--text-mid); text-decoration: none; }
.footer a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.footer-about p { margin-top: 18px; max-width: 34ch; color: var(--text-dim); }
.footer .brand img { height: 40px; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--text-dim); }
.footer-disclaimer { margin-top: 14px; max-width: 90ch; font-size: 13px; line-height: 1.55; color: var(--text-dim); }

/* ── Į VIRŠŲ ── */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 44px; height: 44px; border-radius: 50%;
  background: var(--pine-2); border: 1px solid var(--line); color: var(--text); cursor: pointer; font-size: 18px;
  opacity: 0; pointer-events: none; transition: opacity .25s;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { border-color: var(--text-dim); }

/* Jokio „išplaukimo" kiekvienam blokui */
.reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ── PRISITAIKYMAS ── */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .method, .method.method-4 { grid-template-columns: 1fr 1fr; }
  .method::before { display: none; }
  .feature { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 1fr 1fr; }
  .row .go { display: none; }
}
@media (max-width: 900px), (max-height: 619px) {
  .section.screen { min-height: 0; display: block; padding: 80px 0; }
  .hero, .page-hero { min-height: 0; }
}
@media (max-width: 900px) {
  :root { --gut: 22px; }
  body { font-size: 16px; }
  .section { padding: 80px 0; }
  .hero { padding-top: calc(var(--nav-h) + 24px); }
  .hero-grid, .split, .contact-wrap { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo { min-height: 0; aspect-ratio: 4/5; max-width: 420px; }
  .grid-2, .grid-3, .whatif { grid-template-columns: 1fr; }
  .calc { grid-template-columns: 1fr; }
  .calc-inputs, .calc-out, .form { padding: 28px 22px; }
  .page-hero { padding: calc(var(--nav-h) + 40px) 0 56px; }
  .ruler-marks { height: auto; display: grid; gap: 10px; margin-top: 16px; }
  .ruler-mark, .ruler-mark[data-row="2"] { position: static; padding: 0 0 0 12px; max-width: none; border-left: 1px solid var(--brass); }
  .stats { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-4, .method, .method.method-4 { grid-template-columns: 1fr; }
  .row { grid-template-columns: 1fr; gap: 6px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .story-steps li { grid-template-columns: 1fr; gap: 0; }
  .calc-bar { grid-template-columns: 84px 1fr 80px; font-size: 14px; }
  .footer-grid { grid-template-columns: 1fr; }
  .faq .answer { padding-right: 0; }
  .btn-row .btn { width: 100%; }
  .doc { transform: none; padding: 26px 22px; }
  .ruler-ages span:nth-child(even) { display: none; }
}
