/* ===== Šriftai (laikomi pas save – nesiunčiami Google duomenys) ===== */
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("../fonts/source-sans-3-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ===== Spalvos ir dydžiai =====
   Visos teksto/fono poros atitinka WCAG AAA (≥ 7:1) kontrastą. */
:root {
  --page: #e3e6d3;
  --panel: #ffffff;
  --panel-peach: #fff1e8;
  --panel-soft: #f1f3e6;
  --text: #28301f;
  --text-muted: #3e4731;
  --line: #dde1cc;
  --dark: #3f4a2c;
  --on-dark: #ffffff;
  --on-dark-muted: #e3e6d3;
  --coral: #f6b29f;
  --coral-hover: #f9c6b7;
  --on-coral: #28301f;
  --coral-deco: #e8806a;
  --hero-a: #e1e7cc;
  --hero-b: #fde3d6;
  --fig: #a8b090;
  --fig-hl: #d65a3d;
  --focus: #b3410e;
  --focus-light: #ffd27a;

  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --script: "Cormorant Garamond", Georgia, serif;

  --radius: 28px;
  --gap: 0.75rem;
  --pad: 1.5rem;
  --call-bar-h: 5rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #161812;
    --panel: #20231b;
    --panel-peach: #2a2422;
    --panel-soft: #2a2e23;
    --text: #f1f3ea;
    --text-muted: #d0d5c2;
    --line: #363b2d;
    --dark: #34402a;
    --hero-a: #2a3220;
    --hero-b: #2e2a26;
    --fig: #6f7a5c;
    --fig-hl: #f6b29f;
    --focus: #ffb38a;
  }
}

/* ===== Bazė ===== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 1rem;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.1875rem;   /* 19px – lengviau skaityti */
  line-height: 1.65;
  padding-bottom: var(--call-bar-h);
}

h1, h2, h3 {
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1, h2 { font-family: var(--script); font-weight: 500; }
h1 {
  font-size: clamp(3.2rem, 9vw, 5.6rem);
  line-height: 1.02;
  margin-bottom: 0.2em;
}
h2 { font-size: clamp(2.3rem, 5vw, 3.3rem); line-height: 1.1; }
h3 { font-size: 1.4rem; font-weight: 600; margin-bottom: 0.35em; }

p { margin: 0 0 1em; }

a { color: inherit; text-underline-offset: 0.2em; }

/* Ryškus, storas fokusas klaviatūros naudotojams */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: absolute;
  left: 1rem; top: -100%;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--panel);
  color: var(--text);
  font-weight: 700;
  border-radius: 999px;
}
.skip-link:focus { top: 1rem; }

main:focus { outline: none; }

.icon { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }

.label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.label::before {
  content: "";
  width: 0.55rem; height: 0.55rem;
  border-radius: 50%;
  background: var(--coral-deco);
  flex: none;
}
.lead { font-size: 1.3rem; line-height: 1.5; }

/* ===== Puslapio rėmas: baltos plokštės ant šilto fono ===== */
.page {
  max-width: 90rem;
  margin: 0 auto;
  padding: var(--gap);
  display: grid;
  gap: var(--gap);
}
main { display: grid; gap: var(--gap); }
.panel {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 2.5rem var(--pad);
}
.panel-peach { background: var(--panel-peach); }
.panel-dark { background: var(--dark); color: var(--on-dark); }
.panel-dark .label { color: var(--on-dark-muted); }
.panel-dark :focus-visible { outline-color: var(--focus-light); }

.split { display: grid; gap: 2rem 3.5rem; align-items: center; }
.split-top { align-items: start; }
.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}
.panel-head h2 { margin: 0; }
.panel-head .lead { margin: 0; max-width: 28rem; color: var(--text-muted); }
.panel-dark .panel-head { border-color: rgb(255 255 255 / 0.25); }

.photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 8px);
}
.arch {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 999px 999px calc(var(--radius) - 8px) calc(var(--radius) - 8px);
}

.split-prices .arch { aspect-ratio: 1 / 1; object-position: 40% center; }
.sketch {
  display: block; width: 100%; max-width: 34rem; height: auto; margin: 0 auto;
  mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 50% 50% at center, #000 75%, transparent 100%);
  mask-image: radial-gradient(ellipse 50% 50% at center, #000 75%, transparent 100%);
}
@media (prefers-color-scheme: dark) {
  .sketch { mix-blend-mode: normal; border-radius: calc(var(--radius) - 8px); -webkit-mask-image: none; mask-image: none; }
}
.split-services .video-wrap { max-width: 26rem; justify-self: end; width: 100%; }

/* Piešta animacija su sustabdymo mygtuku */
.video-wrap { position: relative; margin: 0; }
.video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 8px);
  background: #fbf8f2;
}
.video-toggle {
  position: absolute;
  right: 0.75rem; bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.45rem 1rem;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  color: #28301f;
  font: 600 0.95rem var(--sans);
  cursor: pointer;
}
.video-toggle:hover { background: #fff; }
.video-toggle .icon-play, .video-toggle.is-paused .icon-pause { display: none; }
.video-toggle.is-paused .icon-play { display: block; }

/* ===== Mygtukai ===== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.5rem;
  padding: 0.8rem 1.9rem;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}
.button-coral { background: var(--coral); color: var(--on-coral); }
.button-coral:hover { background: var(--coral-hover); color: var(--on-coral); }
.button-small { min-height: 3rem; padding: 0.6rem 1.4rem; font-size: 1.05rem; flex: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
}
.text-link:hover { text-decoration-thickness: 2px; }
.icon-line { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.text-link:hover .icon-line { transform: translateX(3px); }

/* ===== Viršus: šviesi spalvota plokštė, nuotrauka arkos formos ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 1.25rem var(--pad) 2.5rem;
  background:
    radial-gradient(ellipse 50% 60% at 90% 10%, rgb(246 178 159 / 0.35), transparent 70%),
    linear-gradient(150deg, var(--hero-a), var(--hero-b));
}
.hero-grid { display: grid; gap: 2rem 3rem; align-items: center; margin-top: 1.5rem; }
.hero-photo { display: block; width: 100%; height: auto; object-position: center 40%; }
.hero-photo.arch { aspect-ratio: 4 / 3; }

.hero-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  line-height: 1.1;
  text-decoration: none;
  font-family: var(--script);
  font-size: 1.6rem;
  font-weight: 600;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.6rem; height: 2.6rem;
  border-radius: 50%;
  background: var(--dark);
  color: var(--on-dark);
  font-size: 1.4rem;
}
.nav-list { display: flex; flex-wrap: wrap; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  font-weight: 600;
}
.nav-list a:hover { text-decoration: underline; }
.pill {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--panel);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.pill:hover { background: var(--panel-soft); }

.hero-body { max-width: 52rem; }
.motto {
  font-family: var(--script);
  font-style: italic;
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  line-height: 1.25;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.hero-role {
  margin: 0.4rem 0 1rem;
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  font-weight: 600;
}
.motto::before { content: "„"; }
.motto::after { content: "“"; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgb(40 48 31 / 0.18);
  color: var(--text-muted);
}
.hero-facts strong { color: var(--text); margin-right: 0.35rem; }

/* ===== Iliustracija ir akcentai ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.features p { margin: 0; color: var(--text-muted); }
.feature-icon {
  display: grid;
  place-items: center;
  width: 4.25rem; height: 4.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--panel);
  color: var(--dark);
}
@media (prefers-color-scheme: dark) {
  .feature-icon { color: var(--text-muted); }
}
.feature-icon svg { width: 2rem; height: 2rem; }

/* ===== Masažai ===== */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: 0 3rem;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}
.services li {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
}
.services p { margin: 0; color: var(--text-muted); }
.services .service-wide { grid-column: 1 / -1; }
.figure {
  width: 4.25rem; height: 4.25rem;
  padding: 0.55rem 0;
  flex: none;
  border-radius: 50%;
  background: var(--panel-soft);
  fill: var(--fig);
}
.figure .hl { fill: var(--fig-hl); }

/* ===== Kainos ===== */
.prices { list-style: none; margin: 0; padding: 0; }
.prices li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}
.prices li:first-child { padding-top: 0; }
.prices h3 { font-weight: 400; font-size: 1.5rem; margin-bottom: 0.25rem; }
.price-note { color: var(--text-muted); margin-bottom: 0.5rem; }
.price-sum { font-size: 1.6rem; font-weight: 700; margin: 0; }

/* ===== Prieš atvykstant ===== */
.steps { list-style: none; counter-reset: step; margin: 1.5rem 0 2rem; padding: 0; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.5rem;
  margin-bottom: 1.4rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: -0.1rem;
  display: grid;
  place-items: center;
  width: 2.4rem; height: 2.4rem;
  border-radius: 50%;
  background: var(--coral);
  color: var(--on-coral);
  font-weight: 600;
}
.note {
  background: var(--panel);
  border-left: 5px solid var(--coral-deco);
  border-radius: calc(var(--radius) - 8px);
  padding: 2rem;
}
.note p { color: var(--text-muted); }
.note p:last-child { margin: 0; }

/* ===== Kontaktai ===== */
.contact-big {
  font-size: clamp(2.2rem, 8vw, 4.2rem);
  line-height: 1.1;
  margin: 0 0 2.5rem;
}
.contact-big a { text-decoration: none; }
.contact-big a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.contact-list { display: grid; gap: 1.5rem; margin: 0; }
.contact-list dt { color: var(--on-dark-muted); margin-bottom: 0.2rem; }
.contact-list dd { margin: 0; }
.social {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.25);
}
.social-title { margin: 0 0 0.75rem; font: inherit; color: var(--on-dark-muted); }
.social-list { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.social-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.5rem 1.25rem;
  border: 1.5px solid rgb(255 255 255 / 0.55);
  border-radius: 999px;
  color: var(--on-dark);
  font-weight: 600;
  text-decoration: none;
}
.social-list a:hover { background: rgb(255 255 255 / 0.12); border-color: var(--on-dark); }
.social-list .icon { width: 1.25rem; height: 1.25rem; flex: none; }
.social-list .icon-stroke { fill: none; }
.social-list .icon-stroke circle:last-child { fill: currentColor; }

/* ===== Poraštė ===== */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 1rem var(--pad) 1.5rem;
  font-size: 1rem;
}
.site-footer p { margin: 0; }
.footer-motto { font-family: var(--script); font-style: italic; font-size: 1.2rem; }

/* ===== Apatinė skambinimo juosta (tik telefone) ===== */
.call-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 20;
  padding: 0.75rem var(--gap) calc(0.75rem + env(safe-area-inset-bottom));
  background: var(--page);
}
.call-bar .button { width: 100%; }

/* ===== Atsiradimas slenkant =====
   „backwards“ – po animacijos elementas grįžta į įprastą būseną */
.reveal-on [data-reveal]:not(.is-visible) { opacity: 0; }
.reveal-on .is-visible { animation: rise 1s cubic-bezier(0.2, 0.7, 0.2, 1) backwards; }
.reveal-on .services li.is-visible:nth-child(2n) { animation-delay: 0.12s; }

@media (prefers-reduced-motion: no-preference) {
  .hero-body > * { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero-body > :nth-child(2) { animation-delay: 0.08s; }
  .hero-body > :nth-child(3) { animation-delay: 0.16s; }
  .hero-body > :nth-child(4) { animation-delay: 0.24s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .icon-line { transition: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* ===== Platesni ekranai ===== */
@media (min-width: 48rem) {
  :root { --pad: 2.75rem; --gap: 1.25rem; }
  body { padding-bottom: 0; }
  .call-bar { display: none; }
  .pill { display: inline-flex; }
  .panel { padding: 3.5rem var(--pad); }
  .hero { padding: 1.5rem var(--pad) 3.5rem; }
  .hero-grid { grid-template-columns: 1.15fr 1fr; margin-top: 0; align-items: start; }
  .hero-body { padding-top: 2.5rem; }
  .hero-photo.arch { aspect-ratio: 1 / 1; }
  .split { grid-template-columns: 1fr 1fr; }
  .split-prices { grid-template-columns: 1.1fr 1fr; }
  .split-services { grid-template-columns: 1.5fr 1fr; }
  .contact-list { grid-template-columns: repeat(3, 1fr); }
}

/* Windows didelio kontrasto režimas */
@media (forced-colors: active) {
  .button, .pill { border: 2px solid ButtonText; }
  .label::before { background: CanvasText; }
  .figure { fill: GrayText; }
  .figure .hl { fill: Highlight; }
}

/* Telefone: meniu po pavadinimu, vienoje eilutėje */
@media (max-width: 47.99rem) {
  .hero-top { flex-wrap: nowrap; justify-content: flex-start; gap: 0.5rem; }
  .nav-list { gap: 0; flex-wrap: nowrap; }
  .nav-list a { padding: 0.5rem 0.45rem; font-size: 1.05rem; }
}
