/* ============================================================
   TACTUS v2 — konversijai optimizuota versija
   Šriftai: Bricolage Grotesque (antraštės) + Manrope (tekstas)
   ============================================================ */

:root {
  --ink: #22302A;          /* tamsi pušies žalia — tekstas */
  --pine: #2F5747;         /* gili žalia — antriniai blokai */
  --bone: #F6F3EC;         /* šiltas fonas */
  --card: #FFFFFF;
  --sage: #E4EAE0;         /* švelni žalsva — sekcijos */
  --sage-deep: #9DB48C;    /* dekoratyvinė piliulė */
  --clay: #C96F4A;         /* molio — dekoras, akcentai */
  --cta: #D6532F;          /* CTA — šilta oranžinė-molio */
  --cta-dark: #B94526;
  --ink-soft: rgba(34, 48, 42, 0.72);
  --line: rgba(34, 48, 42, 0.12);

  --fd: "Bricolage Grotesque", "Arial Black", sans-serif;
  --fb: "Manrope", "Helvetica Neue", sans-serif;

  --wrap: 1140px;
  --r: 20px;
  --shadow: 0 20px 45px -22px rgba(34, 48, 42, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--fb);
  font-size: 1.03rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
s { opacity: 0.55; font-weight: 500; }

h1, h2, h3 { font-family: var(--fd); line-height: 1.06; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.1rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); font-weight: 700; max-width: 26ch; }
h3 { font-size: 1.3rem; font-weight: 600; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.4rem; }
.wrap.narrow { max-width: 780px; }

.kicker {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 1.1rem;
}

.section { padding: clamp(3.8rem, 7.5vw, 6.2rem) 0; }
.section-tight { padding: clamp(1.8rem, 3vw, 2.6rem) 0; }

.sec-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.sec-sub { color: var(--ink-soft); max-width: 58ch; margin-top: 0.8rem; }
.sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ---------- Mygtukai ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--fb);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-cta { background: var(--cta); color: #fff; box-shadow: 0 10px 24px -12px rgba(214, 83, 47, 0.65); }
.btn-cta:hover { background: var(--cta-dark); }

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

.btn-quiet { background: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.btn-ghost-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.35); }
.btn-ghost-light:hover { border-color: #fff; }

.btn-price { font-weight: 800; background: rgba(255,255,255,0.18); padding: 0.15em 0.7em; border-radius: 999px; font-size: 0.92em; }
.btn-price s { opacity: 0.7; margin-right: 0.25em; }

.linklike { background: none; border: none; font: inherit; color: inherit; cursor: pointer; text-align: left; padding: 0; }

:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; border-radius: 6px; }

/* ---------- Antraštė ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.7rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.logo { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--ink); }
.logo-word { font-family: var(--fd); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.logo-pebble {
  width: 26px; height: 22px;
  background: var(--clay);
  border-radius: 46% 54% 58% 42% / 55% 48% 52% 45%;
}

.nav { display: flex; gap: 1.4rem; margin-left: auto; }
.nav a {
  font-size: 0.94rem; font-weight: 600; white-space: nowrap;
  color: var(--ink-soft); text-decoration: none; transition: color 0.2s;
}
.nav a:hover { color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { font-weight: 700; font-size: 0.92rem; color: var(--ink); text-decoration: none; white-space: nowrap; }

.my-visits-btn {
  background: none; border: 2px solid var(--line); border-radius: 999px;
  font: inherit; font-size: 0.88rem; font-weight: 700; color: var(--ink);
  padding: 0.45rem 1rem; cursor: pointer; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0.45rem;
  transition: border-color 0.2s;
}
.my-visits-btn:hover { border-color: var(--ink); }
.visits-count {
  background: var(--pine); color: #fff; border-radius: 999px;
  font-size: 0.75rem; min-width: 1.35em; height: 1.35em;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 0.3em;
}
.visits-count[hidden] { display: none; }

.header-book { padding: 0.55rem 1.3rem; font-size: 0.92rem; white-space: nowrap; }

.burger { display: none; flex-direction: column; gap: 6px; background: none; border: none; padding: 8px 4px; margin-left: auto; cursor: pointer; }
.burger span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mnav { display: none; flex-direction: column; gap: 1rem; padding: 1.2rem 1.4rem 1.6rem; border-top: 1px solid var(--line); }
.mnav a, .mnav button { color: var(--ink); text-decoration: none; font-size: 1.05rem; font-weight: 600; }
.mnav.open { display: flex; }

/* ---------- Herojus ---------- */

.hero { padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3.4rem, 6vw, 5.5rem); overflow: clip; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.hero-sub { margin-top: 1.3rem; max-width: 50ch; color: var(--ink-soft); font-size: 1.1rem; }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; align-items: center; }

.next-slot { margin-top: 1.2rem; font-size: 0.92rem; font-weight: 600; color: var(--pine); }
.next-slot strong { font-weight: 800; }

.trust-row {
  list-style: none;
  display: flex; flex-wrap: wrap;
  gap: 0.5rem 1.6rem;
  margin-top: 1.7rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.trust-row strong { color: var(--ink); }

/* nuotraukos „akmenėlio“ formos rėmas */
.ph {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 20% 15%, #DCE5DA 0%, transparent 55%),
    radial-gradient(110% 100% at 85% 90%, #E9DCCB 0%, transparent 50%),
    linear-gradient(150deg, #EEF0E8, #D8E0D4);
}
.ph img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ph.noimg img { display: none; }
.ph-label {
  display: none;
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  color: var(--ink-soft); background: rgba(255,255,255,0.75);
  padding: 0.3em 0.9em; border-radius: 999px; white-space: nowrap;
}
.ph.noimg .ph-label { display: block; }

.hero-visual { position: relative; min-height: 420px; }
.ph-hero {
  width: min(100%, 460px);
  aspect-ratio: 0.92;
  margin-left: auto;
  border-radius: 43% 57% 52% 48% / 46% 44% 56% 54%;
}

/* dekoratyvinės formos kaip referencinėje nuotraukoje */
.shape { position: absolute; pointer-events: none; }
.shape-pill { width: 54px; height: 150px; background: var(--sage-deep); border-radius: 999px; top: -28px; right: 6%; }
.shape-hook {
  width: 120px; height: 120px;
  border-left: 34px solid #D9A08B;
  border-bottom: 34px solid #D9A08B;
  border-bottom-left-radius: 48px;
  left: -4%; bottom: 2%;
  transform: rotate(8deg);
  opacity: 0.9;
}

.float-card {
  position: absolute;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 0.9rem 1.1rem;
  max-width: 250px;
  font-size: 0.85rem;
  line-height: 1.45;
}
.float-review { left: 0; bottom: 14%; }
.float-review .stars { color: var(--clay); font-size: 0.8rem; letter-spacing: 0.12em; }
.float-name { display: block; margin-top: 0.35rem; font-weight: 700; color: var(--ink-soft); font-size: 0.78rem; }

.float-slot { right: 2%; bottom: -4%; display: flex; align-items: center; gap: 0.6rem; font-weight: 600; }
.dot-live { width: 10px; height: 10px; border-radius: 50%; background: #4CAF6E; box-shadow: 0 0 0 4px rgba(76,175,110,0.2); flex: none; }

/* ---------- Segmentacijos juosta ---------- */

.chips-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.9rem; color: var(--ink-soft); }
.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.chip {
  text-decoration: none;
  color: var(--ink);
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.chip:hover { border-color: var(--pine); background: var(--sage); }

/* ---------- Kaip veikia ---------- */

.section-how { background: var(--sage); border-radius: 32px; margin: 0 clamp(0.6rem, 1.5vw, 1.4rem); }

.how-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  counter-reset: none;
}
.how-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 40px;
  background: var(--pine); color: #fff;
  font-family: var(--fd); font-weight: 700; font-size: 1.15rem;
  border-radius: 46% 54% 58% 42% / 55% 48% 52% 45%;
  margin-bottom: 1rem;
}
.how-grid h3 { margin-bottom: 0.55rem; }
.how-grid p { color: var(--ink-soft); font-size: 0.97rem; max-width: 40ch; }

/* ---------- Paslaugos ---------- */

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.svc {
  background: var(--card);
  border-radius: var(--r);
  padding: 1.7rem 1.6rem 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  position: relative;
}

.svc h3 { font-size: 1.28rem; }
.svc p { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }

.svc-featured { grid-column: span 3; flex-direction: row; align-items: center; gap: 2rem; background: var(--pine); color: #fff; }
.svc-featured h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); color: #fff; }
.svc-featured p { color: rgba(255,255,255,0.82); font-size: 1rem; }
.svc-featured .svc-foot { margin-left: auto; flex-direction: column; align-items: flex-end; gap: 0.8rem; flex: none; }
.svc-featured .svc-price { color: #fff; }
.svc-featured .svc-price span { color: rgba(255,255,255,0.7); }

.svc-tag {
  position: absolute; top: -12px; left: 1.4rem;
  background: var(--clay); color: #fff;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.28em 0.9em; border-radius: 999px;
}
.svc-tag-new { background: var(--sage-deep); color: var(--ink); }

.svc-loc { font-size: 0.7em; font-weight: 700; color: var(--clay); text-transform: uppercase; letter-spacing: 0.06em; vertical-align: 0.2em; margin-left: 0.3em; }

.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 0.4rem; }
.svc-price { font-family: var(--fd); font-size: 1.35rem; font-weight: 700; white-space: nowrap; }
.svc-price span { font-family: var(--fb); font-size: 0.78rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- Kainos / paketai ---------- */

.section-pricing { background: var(--ink); border-radius: 32px; margin: 0 clamp(0.6rem, 1.5vw, 1.4rem); color: var(--bone); }
.section-pricing h2 { color: #fff; }
.section-pricing .sec-sub { color: rgba(246,243,236,0.72); }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
  align-items: stretch;
}

.plan {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r);
  padding: 1.9rem 1.7rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan h3 { font-size: 1.35rem; color: #fff; }
.plan-desc { font-size: 0.9rem; color: rgba(246,243,236,0.65); margin-top: 0.25rem; }
.plan-price { font-family: var(--fd); font-size: 2.5rem; font-weight: 700; margin-top: 1.1rem; color: #fff; }
.plan-per { font-size: 0.88rem; font-weight: 700; color: var(--sage-deep); margin-bottom: 1.1rem; }
.plan-list { list-style: none; margin-bottom: 1.5rem; flex: 1; }
.plan-list li {
  font-size: 0.93rem; color: rgba(246,243,236,0.85);
  padding: 0.4rem 0 0.4rem 1.5rem; position: relative;
}
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 0.78em;
  width: 12px; height: 10px; background: var(--sage-deep);
  border-radius: 46% 54% 58% 42% / 55% 48% 52% 45%;
}

.plan-popular { background: var(--card); border-color: transparent; color: var(--ink); transform: scale(1.03); }
.plan-popular h3, .plan-popular .plan-price { color: var(--ink); }
.plan-popular .plan-desc { color: var(--ink-soft); }
.plan-popular .plan-per { color: var(--cta); }
.plan-popular .plan-list li { color: var(--ink-soft); }
.plan-popular .plan-list li::before { background: var(--clay); }
.plan-popular .btn-line { color: var(--ink); }

.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--cta); color: #fff;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 0.35em 1.1em; border-radius: 999px; white-space: nowrap;
}

.section-pricing .btn-line { border-color: rgba(255,255,255,0.3); color: #fff; }
.section-pricing .btn-line:hover { border-color: #fff; }
.section-pricing .plan-popular .btn-cta { color: #fff; }

.plans-note { margin-top: 1.8rem; font-size: 0.86rem; color: rgba(246,243,236,0.6); text-align: center; }

/* ---------- Apie ---------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-visual { position: relative; }
.ph-about { width: min(100%, 420px); aspect-ratio: 0.85; border-radius: 52% 48% 45% 55% / 44% 52% 48% 56%; }
.shape-pill-b { top: auto; bottom: -20px; right: 12%; background: var(--clay); height: 110px; width: 44px; }

.about-lead { margin-top: 1.1rem; font-size: 1.08rem; color: var(--ink-soft); max-width: 54ch; }

.about-facts { list-style: none; margin-top: 1.5rem; border-top: 1px solid var(--line); }
.about-facts li { padding: 0.7rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-soft); }
.about-facts strong { color: var(--ink); }

.about-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.6rem; }

/* ---------- Atsiliepimai ---------- */

.rating-badge {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0 0.7rem;
  align-items: center;
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 0.9rem 1.3rem;
}
.rating-num { font-family: var(--fd); font-size: 2rem; font-weight: 700; grid-row: span 2; }
.rating-badge .stars { color: var(--clay); letter-spacing: 0.1em; font-size: 0.85rem; }
.rating-src { font-size: 0.75rem; font-weight: 700; color: var(--ink-soft); }

.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; }

.review {
  background: var(--card);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.7rem;
}
.review .stars { color: var(--clay); font-size: 0.85rem; letter-spacing: 0.14em; }
.review p { margin-top: 0.7rem; font-size: 0.99rem; }
.review footer { margin-top: 0.9rem; font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); }

/* ---------- Dovanų kuponas ---------- */

.gift-band {
  position: relative;
  overflow: clip;
  background: var(--sage);
  border-radius: 32px;
  padding: clamp(2.2rem, 5vw, 3.6rem);
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.gift-copy { flex: 1 1 380px; }
.gift-copy p { color: var(--ink-soft); margin-top: 0.7rem; max-width: 48ch; }
.shape-hook-b { right: -30px; top: -46px; left: auto; bottom: auto; transform: rotate(215deg); opacity: 0.55; }

/* ---------- B2B ---------- */

.b2b-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}
.b2b-band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); max-width: 30ch; }
.b2b-band .sec-sub { margin-top: 0.6rem; }

/* ---------- DUK ---------- */

.faq details {
  background: var(--card);
  border-radius: 16px;
  box-shadow: var(--shadow);
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 3.4rem 1.15rem 1.5rem;
  font-weight: 700; font-size: 1rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 1.5rem; top: 50%;
  width: 10px; height: 10px;
  border-right: 2.5px solid var(--clay); border-bottom: 2.5px solid var(--clay);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 1.5rem 1.3rem; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- Finalinis CTA ---------- */

.section-final { background: var(--pine); border-radius: 32px; margin: 0 clamp(0.6rem, 1.5vw, 1.4rem) clamp(0.6rem, 1.5vw, 1.4rem); color: #fff; }
.final-band { text-align: center; max-width: 720px; }
.final-band h2 { color: #fff; margin: 0 auto; }
.final-band > p { margin: 1.1rem auto 0; color: rgba(255,255,255,0.82); max-width: 52ch; }
.final-band strong { color: #fff; font-weight: 800; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2rem; }
.final-note { margin-top: 1.5rem; font-size: 0.86rem; color: rgba(255,255,255,0.6); }

/* ---------- Poraštė ---------- */

.footer { padding: 3rem 0 1.6rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.7rem; }
.footer-grid p { font-size: 0.92rem; color: var(--ink-soft); }
.footer-grid a { color: var(--ink); }
.logo-footer { margin-bottom: 0.7rem; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 1.3rem;
  border-top: 1px solid var(--line);
  font-size: 0.84rem; color: var(--ink-soft);
}
.footer-demo { font-weight: 700; color: var(--clay); }

/* ---------- Lipni mobili CTA ---------- */

.sticky-cta {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  background: var(--card);
  box-shadow: 0 -10px 30px -12px rgba(34,48,42,0.3);
  padding: 0.7rem 1.2rem calc(0.7rem + env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sticky-cta-price { font-family: var(--fd); font-size: 1.25rem; font-weight: 700; line-height: 1.1; }
.sticky-cta-price span { display: block; font-family: var(--fb); font-size: 0.72rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- Modalas ---------- */

.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(34, 48, 42, 0.55); }
.modal-card {
  position: relative;
  background: var(--bone);
  width: min(560px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 24px 24px 0 0;
  padding: 1.8rem 1.6rem 2rem;
  animation: slide-up 0.35s var(--ease);
}
@media (min-width: 640px) {
  .modal { align-items: center; padding: 2rem; }
  .modal-card { border-radius: 24px; padding: 2.2rem 2.2rem 2.4rem; }
}
@keyframes slide-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }

.modal-x {
  position: absolute; top: 0.9rem; right: 1rem;
  background: none; border: none; font-size: 1.9rem; line-height: 1;
  color: var(--ink-soft); cursor: pointer; padding: 0.2rem 0.5rem;
}

.m-steps { display: flex; gap: 0.4rem; margin-bottom: 1.4rem; }
.m-step-dot { height: 5px; flex: 1; border-radius: 999px; background: var(--line); }
.m-step-dot.on { background: var(--cta); }

.m-title { font-family: var(--fd); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.3rem; }
.m-sub { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 1.3rem; }

.m-field { margin-bottom: 1rem; }
.m-field label { display: block; font-size: 0.83rem; font-weight: 800; margin-bottom: 0.35rem; }
.m-field input, .m-field select, .m-field textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  color: var(--ink);
}
.m-field input:focus, .m-field select:focus, .m-field textarea:focus { outline: 2px solid var(--cta); outline-offset: 0; border-color: transparent; }
.m-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }

.m-summary {
  background: var(--sage);
  border-radius: 14px;
  padding: 0.9rem 1.1rem;
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}
.m-summary strong { font-weight: 800; }
.m-summary .m-sum-price { float: right; font-family: var(--fd); font-weight: 700; font-size: 1.1rem; }

.day-scroll { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.6rem; margin-bottom: 1rem; scrollbar-width: thin; }
.day-btn {
  flex: none; text-align: center;
  border: 1.5px solid var(--line); background: var(--card);
  border-radius: 12px; padding: 0.5rem 0.85rem; cursor: pointer;
  font: inherit; font-size: 0.82rem; font-weight: 700; color: var(--ink);
  min-width: 74px;
}
.day-btn small { display: block; font-weight: 600; color: var(--ink-soft); font-size: 0.72rem; }
.day-btn.sel { border-color: var(--cta); background: rgba(214, 83, 47, 0.08); }

.slot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.55rem; margin-bottom: 0.6rem; }
.slot-btn {
  border: 1.5px solid var(--line); background: var(--card);
  border-radius: 10px; padding: 0.55rem 0.3rem; cursor: pointer;
  font: inherit; font-size: 0.88rem; font-weight: 700; color: var(--ink);
}
.slot-btn:disabled { opacity: 0.32; cursor: not-allowed; text-decoration: line-through; }
.slot-btn.sel { border-color: var(--cta); background: var(--cta); color: #fff; }

.m-actions { display: flex; gap: 0.8rem; margin-top: 1.4rem; }
.m-actions .btn { flex: 1; }
.m-back { flex: 0 0 auto !important; }

.pay-badges { display: flex; align-items: center; gap: 0.7rem; margin: 0.9rem 0 0.2rem; font-size: 0.78rem; color: var(--ink-soft); }
.pay-badges .pb { border: 1.5px solid var(--line); border-radius: 8px; padding: 0.25em 0.7em; font-weight: 800; font-size: 0.75rem; background: var(--card); }

.m-note { font-size: 0.8rem; color: var(--ink-soft); margin-top: 0.9rem; }
.m-note-demo { color: var(--clay); font-weight: 700; }
.m-error { color: #B3261E; font-size: 0.88rem; font-weight: 700; margin: 0.2rem 0 0.6rem; }

.m-success { text-align: center; padding: 1rem 0 0.4rem; }
.m-success-mark {
  width: 74px; height: 64px; margin: 0 auto 1.2rem;
  background: var(--pine);
  border-radius: 46% 54% 58% 42% / 55% 48% 52% 45%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2rem;
}
.m-success h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.m-success p { color: var(--ink-soft); font-size: 0.95rem; }

.visit-item {
  background: var(--card); border-radius: 14px; box-shadow: var(--shadow);
  padding: 1rem 1.2rem; margin-bottom: 0.8rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.visit-item h4 { font-size: 0.98rem; }
.visit-item p { font-size: 0.85rem; color: var(--ink-soft); }
.visit-cancel {
  background: none; border: none; font: inherit; font-size: 0.82rem; font-weight: 700;
  color: var(--cta); cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
  white-space: nowrap;
}
.visits-empty { text-align: center; color: var(--ink-soft); padding: 1.5rem 0; }

.gift-amounts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.55rem; margin-bottom: 1rem; }

/* ---------- Teisiniai puslapiai ---------- */

.legal-page .header-in { justify-content: space-between; }
.legal-back { padding: 0.5rem 1.2rem; font-size: 0.88rem; }

.legal { max-width: 760px; padding-top: clamp(2.5rem, 5vw, 4rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.legal-meta { font-size: 0.85rem; font-weight: 700; color: var(--ink-soft); margin: 0.8rem 0 2rem; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 0.7rem; max-width: none; }
.legal p, .legal li { font-size: 0.97rem; color: var(--ink-soft); }
.legal p + p { margin-top: 0.7rem; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: 0.5rem; }
.legal li::marker { color: var(--clay); }
.legal a { color: var(--ink); font-weight: 600; }
.legal strong { color: var(--ink); }
.footer-bottom a { color: var(--ink); }

/* ---------- Atsiskleidimas ---------- */

.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .modal-card { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Prisitaikymas ---------- */

@media (max-width: 1080px) {
  .header-phone { display: none; }
  .nav { gap: 1rem; }
}

@media (max-width: 960px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-featured { grid-column: span 2; flex-direction: column; align-items: flex-start; }
  .svc-featured .svc-foot { margin-left: 0; flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
  .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .plan-popular { transform: none; }
  .how-grid { grid-template-columns: 1fr; max-width: 520px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 0; margin-top: 1rem; }
  .ph-hero { margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { order: 2; margin-top: 1rem; }
  .reviews { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav, .header-actions { display: none; }
  .burger { display: flex; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-featured { grid-column: span 1; }
  .sticky-cta { display: flex; }
  body { padding-bottom: 76px; }
  .slot-grid { grid-template-columns: repeat(3, 1fr); }
  .gift-amounts { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .b2b-band .btn { width: 100%; }
}
