/* Salonas Jolanta – telefono versija. „Rūkas ir eukaliptas“: vėsi šviesi migla, gilus žalsvas tekstas, vienas akcentas.
   Natyvus slinkimas + scroll-snap, tik transform / opacity. Arkos formos nuotraukos – kaip kompiuterio versijoje. */
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; src: url("../fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --bg: #F2F4F1; --surface: #E5EBE7; --paper: #FAFBFA; --ink: #1E2925; --ink-2: #4E5B56; --line: rgba(30, 41, 37, .14);
  --acc: #3D6A5B; --acc-2: #2F5548; --on-acc: #F7F9F7; --err: #9B3B32;
  --display: "Outfit", system-ui, "Segoe UI", sans-serif; --sans: "Hanken Grotesk", system-ui, "Segoe UI", sans-serif;
  --edge: 1.375rem; --hd: 56px; --bar: 74px; --safe: env(safe-area-inset-bottom, 0px); --r: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-snap-type: y mandatory; scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 99; padding: .7rem 1rem; background: var(--ink); color: var(--bg); font-weight: 600; border-radius: 999px; text-decoration: none; }
.skip:focus { top: .6rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 50px; padding: .8rem 1.15rem; border: 0; border-radius: 999px; font: 500 .98rem/1 var(--sans); text-decoration: none; cursor: pointer; touch-action: manipulation; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn--acc { background: var(--acc); color: var(--on-acc); }
.btn--acc:active { background: var(--acc-2); }
.btn--line { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(30, 41, 37, .22); }
.btn--wide { width: 100%; margin-top: 1.2rem; }

/* Viršus – plonas, be šešėlio */
.hd { position: fixed; inset: 0 0 auto; z-index: 20; height: calc(var(--hd) + env(safe-area-inset-top, 0px)); padding: env(safe-area-inset-top, 0px) var(--edge) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--bg); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; min-height: 44px; font: 400 1.45rem/1 var(--display); letter-spacing: -.02em; text-decoration: none; }
.hd__ch { font-size: .84rem; color: var(--ink-2); }

/* Scenos */
.sc { position: relative; min-height: 100vh; min-height: 100svh; scroll-snap-align: start; overflow: hidden;
  padding: calc(var(--hd) + env(safe-area-inset-top, 0px)) 0 calc(var(--bar) + var(--safe)); display: flex; flex-direction: column; }
.tx { position: relative; padding: 0 var(--edge); }
.js .tx > * { opacity: 0; transform: translate3d(0, 16px, 0); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .tx > :nth-child(2) { transition-delay: 70ms; } .js .tx > :nth-child(3) { transition-delay: 140ms; } .js .tx > :nth-child(4) { transition-delay: 210ms; }
.js .on .tx > * { opacity: 1; transform: none; }
.ttl { font: 300 3.1rem/1 var(--display); letter-spacing: -.04em; }
.ttl em { font-style: normal; font-weight: 500; color: var(--acc); }
.ttl--m { font-size: 2.4rem; line-height: 1.04; }
.kicker { font-size: .86rem; color: var(--ink-2); margin-bottom: .7rem; }
.lead { margin-top: .9rem; color: var(--ink-2); font-size: 1.04rem; max-width: 26rem; }

/* 1. Hero: arka + tekstas po ja (LCP – h1 matomas iškart) */
.sc--hero { justify-content: flex-start; }
.arka { margin: 1rem var(--edge) 0; height: 50svh; min-height: 260px; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; background: var(--surface); }
.arka img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.sc--hero .tx { margin-top: auto; padding-top: 1.2rem; padding-bottom: 1rem; }
.sc--hero .tx > * { opacity: 1; transform: none; }
.rate { margin-top: 1rem; font-size: .9rem; color: var(--ink-2); }
.rate b { color: var(--acc); font-weight: 600; }

/* 2. Kas yra limfodrenažas – tekstas viršuje ant baltos nuotraukos dalies */
.sc__m { position: absolute; inset: auto 0 0; height: 46%; z-index: 0; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%); mask-image: linear-gradient(to bottom, transparent, #000 30%); }
.sc__m img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 38%; }
.tx--top { padding-top: 1.6rem; }
.kada { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .9rem; }
.kada li { position: relative; padding-left: 2.2rem; font-weight: 500; }
.kada li::before { content: ""; position: absolute; left: 0; top: .72em; width: 1.4rem; height: 2px; border-radius: 2px; background: var(--acc); }

/* 3. Procedūros – CSS 3D kaladė */
.sc--proc { background: var(--surface); }
.deck { list-style: none; margin: 1.4rem 0 0; padding: 0; position: relative; height: min(96vw, 58svh, 470px); perspective: 1000px; touch-action: pan-y; }
.deck li { position: absolute; left: 50%; top: 0; width: min(66vw, 290px); margin-left: calc(min(66vw, 290px) / -2); backface-visibility: hidden; }
.deck a { display: block; text-decoration: none; background: var(--paper); border-radius: var(--r); padding: 8px 8px 14px; box-shadow: 0 22px 40px -24px rgba(30, 54, 46, .5); }
.deck img { width: 100%; aspect-ratio: 3 / 4; height: auto; max-height: calc(min(96vw, 58svh, 470px) - 80px); object-fit: cover; border-radius: calc(var(--r) - 8px) calc(var(--r) - 8px) 8px 8px; background: var(--surface); }
.deck b { display: block; margin: .7rem .4rem 0; font: 500 1.08rem/1.2 var(--display); }
.deck span { display: block; margin: .15rem .4rem 0; font-size: .86rem; color: var(--ink-2); }
.deck-nav { display: flex; align-items: center; justify-content: center; gap: 1.1rem; margin-top: auto; padding-top: 1rem; }
.rnd { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(30, 41, 37, .22); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; touch-action: manipulation; }
.rnd svg { width: 20px; height: 20px; }
.deck-cnt { min-width: 4ch; text-align: center; font-variant-numeric: tabular-nums; font-size: .9rem; color: var(--ink-2); }
.kaina { padding: .8rem var(--edge) 0; text-align: center; font-size: .86rem; color: var(--ink-2); }
/* reduced-motion / be JS – horizontali juosta */
.no-deck .deck, html:not(.js) .deck { height: auto; display: flex; gap: .8rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--edge) .5rem; perspective: none; }
.no-deck .deck li, html:not(.js) .deck li { position: static; flex: 0 0 72vw; margin: 0; scroll-snap-align: center; }
.no-deck .deck-nav, html:not(.js) .deck-nav { display: none; }

/* 4. Vizitas – apvali nuotrauka + eiga */
.sc--viz .viz-img { margin: 1.4rem var(--edge) 0; width: 7.5rem; height: 7.5rem; border-radius: 50%; overflow: hidden; background: var(--surface); flex: none; }
.viz-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.sc--viz .tx { padding-top: 1.2rem; }
.eiga { list-style: none; margin: 1.4rem 0 0; padding: 0 0 0 1.6rem; border-left: 1px solid var(--line); display: grid; gap: 1.3rem; }
.eiga li { position: relative; }
.eiga li::before { content: ""; position: absolute; left: calc(-1.6rem - 6px); top: .42em; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 2px solid var(--acc); }
.eiga h3 { font: 400 1.35rem/1.2 var(--display); letter-spacing: -.01em; }
.eiga p { margin-top: .25rem; color: var(--ink-2); font-size: .95rem; }
.pastaba { margin-top: 1.4rem; padding: .85rem 1rem; border-radius: 14px; background: var(--surface); font-size: .86rem; color: var(--ink-2); }

/* 5. Registracija */
.sc--reg { background: var(--surface); }
.kont { margin: 1.2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.kont dt { font-size: .8rem; color: var(--ink-2); }
.kont dd { margin: .15rem 0 0; font-weight: 500; font-size: .95rem; }
.kont a { color: var(--acc); text-underline-offset: 3px; font-weight: 500; display: inline-block; padding: .3rem 0; }
.form { margin: 1.4rem var(--edge) 0; padding: 1.2rem; background: var(--paper); border-radius: var(--r); }
.chip[hidden] { display: none; }
.chip { display: inline-block; margin-bottom: .9rem; padding: .45rem .8rem; border-radius: 999px; background: var(--surface); color: var(--acc-2); font-size: .86rem; font-weight: 600; }
.field { display: grid; gap: .35rem; margin-top: .85rem; }
.field:first-of-type { margin-top: 0; }
.field label { font-weight: 600; font-size: .92rem; }
.field input { width: 100%; min-height: 50px; padding: 0 1rem; border: 1px solid rgba(30, 41, 37, .3); border-radius: 14px; background: #fff; color: var(--ink); font: inherit; font-size: 1rem; }
.field input:focus-visible { outline: 2px solid var(--acc); outline-offset: 1px; border-color: var(--acc); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.err { font-size: .84rem; color: var(--err); font-weight: 500; }
.err:empty { display: none; }
.priv { margin-top: .8rem; font-size: .8rem; color: var(--ink-2); }
.ok h3 { font: 400 1.5rem/1.2 var(--display); }
.ok p { margin-top: .5rem; color: var(--ink-2); }
.ft { margin-top: auto; padding: 1.6rem var(--edge) 1rem; display: grid; gap: .5rem; font-size: .8rem; color: var(--ink-2); }
.ft a { color: var(--ink); text-underline-offset: 3px; display: inline-block; padding: .35rem 0; }

/* Apatinė juosta */
.bar { position: fixed; inset: auto 0 0; z-index: 20; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .7rem var(--edge) calc(.7rem + var(--safe));
  background: var(--bg); border-top: 1px solid var(--line); }
.bar .btn { padding-inline: .6rem; font-size: .93rem; }

@media (prefers-reduced-motion: no-preference) {
  .arka img { animation: kvep 9s ease-in-out infinite alternate; } /* ramus „kvėpavimas“, tik transform */
  @keyframes kvep { from { transform: scale(1); } to { transform: scale(1.04); } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .tx > * { opacity: 1; transform: none; transition: none; } }
@media (max-height: 700px) { .ttl { font-size: 2.6rem; } .ttl--m { font-size: 2.05rem; } .arka { height: 40svh; } .kada { gap: .6rem; } }
@media (max-width: 360px) { :root { --edge: 1.1rem; } .bar .btn { font-size: .86rem; } .kont { grid-template-columns: 1fr; } }
@media (min-width: 600px) { .tx, .form { max-width: 560px; } .arka { max-width: 520px; } }
