:root {
  --navy: #0b1f33;
  --navy-2: #123047;
  --white: #ffffff;
  --accent: #2f8f6b;
  --accent-2: #24785a;
  --accent-soft: #e8f5ef;
  --bg: #f5f7f8;
  --text: #17212b;
  --muted: #5c6b78;
  --line: #e3e9ee;
  --line-2: #d5dee5;
  --shadow: 0 18px 50px rgba(11, 31, 51, 0.07);
  --shadow-sm: 0 8px 24px rgba(11, 31, 51, 0.05);
  --radius: 20px;
  --header: 78px;
  --max: 1160px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
}
.skip:focus {
  left: 8px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.12;
  font-weight: 800;
  color: var(--navy);
}

h1 {
  font-size: clamp(2.15rem, 5.4vw, 4.35rem);
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
}

h3 {
  font-size: 1.15rem;
}

.lead {
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  color: var(--muted);
  max-width: 58ch;
}

.tiny {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 14px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.22s var(--ease);
  white-space: nowrap;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-accent:hover {
  background: var(--accent-2);
  transform: translateY(-1px);
}
.btn-accent:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover {
  background: var(--navy-2);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--navy);
}

.btn-white {
  background: #fff;
  color: var(--navy);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.section {
  padding: 88px 0;
  scroll-margin-top: 88px;
}

#pensiju-1,
#pensiju-2,
#pensiju-3,
#kontakti,
#sakt,
#pieteikties {
  scroll-margin-top: 88px;
}

.section.alt {
  background: var(--bg);
}

.section-head {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.04em;
  font-size: 1.05rem;
  color: var(--navy);
}
.logo img {
  height: 40px;
  width: auto;
  display: block;
}
.logo-mark {
  width: 34px;
  height: 34px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-2);
}
.site-nav a:hover {
  color: var(--accent);
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

/* Hero */
.hero {
  position: relative;
  padding: 28px 0 84px;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(47, 143, 107, 0.1), transparent 55%),
    linear-gradient(180deg, #f7fafb 0%, #ffffff 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero p.lead {
  margin-top: 18px;
}

.trust-line {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 36px;
}
.hero-points article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: var(--shadow-sm);
}
.hero-points b {
  display: block;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.hero-points span {
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-art {
  position: relative;
  min-height: 460px;
  border-radius: 32px;
  background:
    linear-gradient(165deg, #10263d 0%, #0b1f33 55%, #14384a 100%);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(11, 31, 51, 0.18);
}
.hero-art svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.hero-art-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: #eaf1f4;
}
.hero-art-copy small {
  display: block;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  opacity: 0.7;
  margin-bottom: 8px;
}
.hero-art-copy p {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.35;
}

/* Cards */
.grid-6,
.grid-3,
.grid-2 {
  display: grid;
  gap: 16px;
}
.grid-6 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-2 {
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: 0.25s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card .num {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 12px;
}
.card p {
  margin-top: 8px;
  color: var(--muted);
}

.interest-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.interest-card {
  text-align: left;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 18px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 650;
  color: var(--navy);
  min-height: 72px;
  box-shadow: var(--shadow-sm);
  transition: 0.2s var(--ease);
}
.interest-card .box {
  width: 22px;
  height: 22px;
  border: 1.5px solid var(--line-2);
  border-radius: 6px;
  flex: 0 0 22px;
  margin-top: 1px;
  display: grid;
  place-items: center;
  color: transparent;
}
.interest-card.is-on {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.interest-card.is-on .box {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
.split-panel {
  background: var(--navy);
  color: #e8eef2;
  border-radius: 28px;
  padding: 42px 36px;
  min-height: 100%;
}
.split-panel h2,
.split-panel h3 {
  color: #fff;
}
.split-panel p {
  color: rgba(232, 238, 242, 0.78);
  margin: 14px 0 0;
}
.benefits {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}
.benefits li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.benefits i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  flex: 0 0 18px;
  margin-top: 4px;
  font-style: normal;
  font-size: 11px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 26px 22px 28px;
  position: relative;
}
.step-card em {
  display: block;
  font-style: normal;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 14px;
}
.step-card p {
  color: var(--muted);
  margin-top: 8px;
}

/* Booking */
.book-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  align-items: start;
}
.book-intro p {
  margin-top: 12px;
  color: var(--muted);
}
.book-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.book-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 26px;
}
.prog {
  border-top: 3px solid var(--line);
  padding-top: 10px;
}
.prog span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}
.prog b {
  display: block;
  font-size: 0.78rem;
  margin-top: 4px;
  color: var(--navy);
  font-weight: 700;
}
.prog.is-now {
  border-top-color: var(--accent);
}
.prog.is-done {
  border-top-color: var(--navy);
}
fieldset.step {
  border: 0;
}
fieldset.step legend {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  color: var(--navy);
}
.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.choice-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.choice {
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  min-height: 64px;
  font-weight: 650;
}
.choice input {
  accent-color: var(--accent);
}
.choice.is-on {
  border-color: var(--accent);
  background: var(--accent-soft);
}
.cal-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}
.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.cal-head p {
  font-weight: 800;
  text-transform: capitalize;
  color: var(--navy);
}
.cal-nav {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 1.2rem;
}
.cal-week,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}
.cal-week span {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}
.cal-cell {
  aspect-ratio: 1;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  font-weight: 700;
}
.cal-cell.is-open {
  background: var(--bg);
}
.cal-cell.is-open:hover {
  border-color: var(--accent);
}
.cal-cell.is-selected {
  background: var(--navy);
  color: #fff;
}
.cal-cell.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1.5px var(--accent);
}
.cal-cell.is-closed,
.cal-cell:disabled {
  color: #b7c1c9;
  background: transparent;
  cursor: not-allowed;
}
.cal-cell.is-empty {
  visibility: hidden;
}
.duration-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-weight: 700;
}
.chip,
.time-slot {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-weight: 700;
}
.chip.is-on,
.time-slot.is-on {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.time-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.hint {
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-grid label,
.field {
  display: grid;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--navy);
}
.form-grid .full {
  grid-column: 1 / -1;
}
.opt {
  font-weight: 500;
  color: var(--muted);
}
input,
select,
textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  font-weight: 500;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
.check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  font-weight: 500;
  color: var(--text);
}
.check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
  flex: 0 0 18px;
}
.check a {
  color: var(--accent-2);
  text-decoration: underline;
}
.book-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}
.form-error {
  color: #9b2c2c;
  background: #fdecec;
  border-radius: 12px;
  padding: 10px 12px;
  margin-top: 12px;
}
.confirm-card {
  text-align: center;
  padding: 48px 32px;
}
.confirm-mark {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
}
.confirm-meta {
  list-style: none;
  text-align: left;
  max-width: 420px;
  margin: 22px auto;
  display: grid;
  gap: 8px;
}
.confirm-card .cta-row {
  justify-content: center;
}

.insure-card b {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 820px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-weight: 750;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq-item button::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent);
}
.faq-item.is-open button::after {
  content: "–";
}
.faq-item .ans {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
}
.faq-item.is-open .ans {
  display: block;
}

.final-cta {
  background: var(--navy);
  color: #fff;
  padding: 96px 0;
  text-align: center;
}
.final-cta h2,
.final-cta p {
  color: #fff;
}
.final-cta p {
  margin: 14px auto 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.74);
}
.final-cta .btn {
  margin-top: 28px;
}

.disclaimer {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 28px;
}

footer {
  background: #081624;
  color: #c5d0d8;
  padding: 56px 0 28px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 28px;
}
footer .logo {
  width: fit-content;
  margin-bottom: 4px;
}
footer h4 {
  color: #fff;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
footer a {
  display: block;
  padding: 4px 0;
  color: #c5d0d8;
}
footer a:hover {
  color: #fff;
}
.foot-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
}

.mobile-cta {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(11, 31, 51, 0.08);
}
.mobile-cta .btn {
  width: 100%;
}
.mobile-cta.is-hidden {
  display: none !important;
}

.legal-page {
  padding: 48px 0 88px;
  max-width: 760px;
}
.legal-page h1 {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.legal-page h2 {
  font-size: 1.25rem;
  margin: 28px 0 10px;
}
.legal-page p,
.legal-page li {
  color: var(--muted);
  margin-bottom: 10px;
}
.legal-page ul {
  padding-left: 18px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .card,
  .btn {
    transition: none;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .book-layout,
  .split,
  .grid-6,
  .grid-3,
  .steps,
  .foot-grid,
  .cal-wrap,
  .choice-grid.three {
    grid-template-columns: 1fr;
  }
  .hero-points,
  .interest-grid,
  .choice-grid,
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-art {
    min-height: 340px;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 24px;
    border-bottom: 1px solid var(--line);
    gap: 4px;
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a,
  .site-nav .btn {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .menu-btn {
    display: grid;
    place-items: center;
  }
  .mobile-cta {
    display: block;
  }
  body {
    padding-bottom: 76px;
  }
  .book-progress {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .wrap,
  .header-inner {
    width: min(100% - 28px, var(--max));
  }
  .section {
    padding: 64px 0;
  }
  .hero-points,
  .interest-grid,
  .choice-grid,
  .form-grid,
  .grid-2,
  .time-grid {
    grid-template-columns: 1fr;
  }
  .cta-row .btn,
  .book-actions .btn {
    width: 100%;
  }
  h1 {
    font-size: 2.05rem;
  }
  .hero-art {
    min-height: 280px;
    border-radius: 24px;
  }
  .book-card,
  .split-panel {
    padding: 22px 18px;
    border-radius: 22px;
  }
  .btn {
    min-height: 50px;
  }
}
