/* =====================================================================
   Studija Aura – plaukų studija (DEMO)
   ===================================================================== */
:root {
  --background: #FFFFFF;
  --foreground: #17161A;
  --card: #FAF9F6;
  --muted: #F2F1EC;
  --muted-foreground: #56534B;
  --primary: #1F343B;
  --gold: #A8834A;
  --gold-strong: #7A5C2E;
  --border: #E7E4DC;
  --hero-bg: #141317;
  --radius: 14px;

  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --script: 'Great Vibes', 'Brush Script MT', cursive;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: 190ms;
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font: 400 16px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(40px, 5.2vw, 60px); line-height: 1.05; }
h2 { font-size: clamp(30px, 3.4vw, 36px); line-height: 1.12; }
h3 { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.15; }
p { margin: 0; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { 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 { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--foreground); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none; transition: top var(--t); }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.ic { width: 18px; height: 18px; flex: none; }

/* ---------- Etiketė su auksine linija (pagrindinis motyvas) ---------- */
.eyebrow {
  display: flex; align-items: center; gap: 14px;
  font: 500 12px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .22em;
  color: var(--gold-strong); margin-bottom: 20px;
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--gold); flex: none; }
.eyebrow--light { color: #D4B680; }
.eyebrow--light::before { background: #C9A86E; }

/* ---------- Mygtukai ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
  font: 500 15px/1 var(--sans); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 14px; }
.btn--light { background: #fff; color: var(--foreground); }
.btn--light:hover { background: var(--muted); }
.btn--dark { background: var(--foreground); color: #fff; }
.btn--dark:hover { background: var(--primary); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--outline { background: transparent; color: var(--foreground); border-color: var(--border); }
.btn--outline:hover { border-color: var(--foreground); }

/* ---------- Antraštė ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: #fff; border-bottom: 1px solid transparent;
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.site-header.is-solid { background: #fff; color: var(--foreground); border-bottom-color: var(--border); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; color: inherit; text-decoration: none; margin-right: auto; }
.brand__logo { width: 108px; height: 40px; }
.nav { display: flex; gap: 34px; }
.nav a {
  position: relative; font-size: 14px; font-weight: 500; text-decoration: none; padding: 8px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform var(--t) var(--ease);
}
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.header__book { display: none; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; }
.burger__bars, .burger__bars::before, .burger__bars::after {
  display: block; width: 22px; height: 1.5px; background: currentColor; margin: 0 auto; position: relative;
  transition: transform var(--t) var(--ease), background var(--t);
}
.burger__bars::before, .burger__bars::after { content: ""; position: absolute; left: 0; }
.burger__bars::before { top: -7px; }
.burger__bars::after { top: 7px; }
.burger[aria-expanded="true"] .burger__bars { background: transparent; }
.burger[aria-expanded="true"] .burger__bars::before { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__bars::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--hero-bg); color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 32px) var(--gutter) 32px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font: 400 36px/1.2 var(--serif); text-decoration: none; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.mobile-menu__foot { display: grid; gap: 12px; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--hero-bg); color: #fff; border-bottom-color: transparent; }
body.menu-open .header__book { visibility: hidden; }

/* ---------- Herojus ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; background: var(--hero-bg); color: #fff;
  display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__media.no-video .hero__video { animation: slowzoom 20s ease-in-out infinite alternate; }
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.05); } }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(20,19,23,.86) 0%, rgba(20,19,23,.55) 45%, rgba(20,19,23,.12) 100%),
    linear-gradient(0deg, rgba(20,19,23,.75) 0%, rgba(20,19,23,0) 55%);
}
.hero__inner { padding-top: calc(var(--header-h) + 48px); padding-bottom: clamp(48px, 8vh, 88px); }
.hero__content { max-width: 640px; }
.hero__title { margin-bottom: 22px; }
.hero__lead { font-size: 17px; color: rgba(255,255,255,.82); max-width: 540px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }
.hero__facts {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); font-size: 14px; color: rgba(255,255,255,.78);
}
.hero__facts strong { color: #fff; font-weight: 600; }
.hero__dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* Herojaus įėjimas – vieną kartą */
.hero__content > * { animation: rise .76s var(--ease) both; }
.hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__content > :nth-child(3) { animation-delay: .16s; }
.hero__content > :nth-child(4) { animation-delay: .24s; }
.hero__content > :nth-child(5) { animation-delay: .32s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.video-toggle {
  position: absolute; right: var(--gutter); bottom: clamp(48px, 8vh, 88px); z-index: 2;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px;
  background: rgba(20,19,23,.45); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 999px;
  font-size: 13px; cursor: pointer; transition: background var(--t), border-color var(--t);
}
.video-toggle:hover { background: rgba(20,19,23,.7); border-color: #fff; }
.video-toggle .ic { width: 16px; height: 16px; }

/* ---------- Apie ---------- */
.about { position: relative; padding: clamp(80px, 11vw, 140px) 0; overflow: hidden; }
.about__deco { position: absolute; right: -60px; top: 40px; width: 460px; height: 460px; color: var(--gold); opacity: .07; pointer-events: none; }
.about__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 7vw, 110px); align-items: center; position: relative; }
.about__media { position: relative; max-width: 440px; width: 100%; padding: 0 22px 22px 0; }
.about__frame { position: absolute; inset: 22px 0 0 22px; border: 1px solid var(--gold); border-radius: 20px; }
.about__photo { position: relative; aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: var(--muted); }
.about__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; transition: transform .6s var(--ease); }
.about__photo:hover .about__video { transform: scale(1.025); }
.about__note { position: absolute; left: 4px; bottom: -14px; font-size: 12px; color: var(--muted-foreground); }
.mini-toggle {
  position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(255,255,255,.88); color: var(--foreground); border: 0; transition: background var(--t);
}
.mini-toggle:hover { background: #fff; }
.mini-toggle .ic { width: 16px; height: 16px; }
.about__text h2 { margin-bottom: 26px; max-width: 520px; }
.about__body { display: grid; gap: 16px; color: var(--muted-foreground); max-width: 540px; }
.signature { display: flex; align-items: center; gap: 18px; margin-top: 34px; }
.signature__line { width: 48px; height: 1px; background: var(--gold); }
.signature__name { font: 400 40px/1 var(--script); color: var(--foreground); }

/* ---------- Kainos ---------- */
.prices { padding: clamp(80px, 10vw, 128px) 0; border-top: 1px solid var(--border); }
.section-head { margin-bottom: 32px; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--muted); border-radius: 999px; margin-bottom: 28px; max-width: 100%; overflow-x: auto; }
.tab {
  min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--muted-foreground); white-space: nowrap;
  transition: background var(--t), color var(--t);
}
.tab:hover { color: var(--foreground); }
.tab[aria-selected="true"] { background: #fff; color: var(--foreground); box-shadow: 0 1px 3px rgba(23,22,26,.08); }
.price-stage { min-height: 400px; }
.price-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(23,22,26,.03), 0 8px 24px -16px rgba(23,22,26,.12);
  padding: 8px clamp(16px, 3vw, 36px);
}
.price-table { width: 100%; border-collapse: collapse; }
.price-table thead th { padding: 22px 0 18px; border-bottom: 1px solid var(--border); text-align: left; vertical-align: bottom; }
.th-price { width: 22%; font: 500 12px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .18em; color: var(--gold-strong); }
.th-price small { display: block; margin-top: 6px; font-size: 12px; letter-spacing: 0; text-transform: none; color: var(--muted-foreground); font-weight: 400; }
.price-row { cursor: pointer; transition: background var(--t); }
.price-row:hover { background: rgba(168,131,74,.06); }
.price-row > * { padding: 18px 0; border-bottom: 1px solid var(--border); vertical-align: middle; }
.price-row:last-child > * { border-bottom: 0; }
.price-row th { text-align: left; font-weight: 400; display: flex; align-items: center; gap: 18px; padding-right: 24px; }
.sic { width: 24px; height: 24px; color: var(--gold); flex: none; }
.pr-name { display: flex; flex-direction: column; gap: 2px; }
.row-btn { all: unset; cursor: pointer; font: 500 16px/1.35 var(--sans); color: var(--foreground); }
.row-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.price-row:hover .row-btn { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.pr-dur { font-size: 14px; color: var(--muted-foreground); }
.price-row td { font: 400 20px/1.2 var(--serif); white-space: nowrap; }
.price-row td.na { color: var(--muted-foreground); }
.pr-note { display: block; font: 400 12px/1.3 var(--sans); color: var(--muted-foreground); white-space: normal; max-width: 180px; margin-top: 4px; }
.fineprint { margin-top: 16px; font-size: 13px; color: var(--muted-foreground); max-width: 720px; }

.prices__after { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); margin-top: 56px; align-items: start; }
.consult-card { background: var(--primary); color: #fff; border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); }
.consult-card h3 { margin-bottom: 14px; }
.consult-card p:not(.eyebrow) { color: rgba(255,255,255,.78); margin-bottom: 28px; max-width: 440px; }
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: 26px; }
.points li { display: grid; grid-template-columns: 32px 1fr; gap: 18px; }
.points__line { width: 32px; height: 1px; background: var(--gold); margin-top: 12px; }
.points__t { font: 500 16px/1.4 var(--sans); letter-spacing: 0; margin-bottom: 4px; }
.points p { color: var(--muted-foreground); font-size: 15px; }

/* ---------- Atsiliepimai ---------- */
.reviews { background: var(--card); padding: clamp(80px, 10vw, 128px) 0; border-top: 1px solid var(--border); overflow: hidden; }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.rating-cards { display: flex; gap: 12px; flex-wrap: wrap; }
.rating-card {
  display: flex; align-items: center; gap: 14px; min-width: 230px; padding: 16px 20px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none;
  transition: transform var(--t) var(--ease), border-color var(--t);
}
.rating-card:hover { transform: translateY(-2px); border-color: var(--gold); }
.rating-card__logo { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 600 17px/1 var(--sans); color: #fff; flex: none; }
.rating-card__logo--g { background: #4285F4; }
.rating-card__logo--t { background: #FF5C39; }
.rating-card__t { display: block; font-weight: 500; font-size: 15px; }
.rating-card__l { display: block; font-size: 13px; color: var(--gold-strong); }

.marquee { display: grid; gap: 18px; }
.marquee__row { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; }
.marquee__row[data-dir="right"] .marquee__track { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 9px)); } }
.review {
  width: 340px; flex: none; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 6px 20px -16px rgba(23,22,26,.2);
}
.review__top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--muted); color: var(--gold-strong); display: grid; place-items: center; font: 400 18px/1 var(--serif); flex: none; }
.review__name { font-weight: 500; font-size: 15px; }
.review__meta { font-size: 13px; color: var(--muted-foreground); }
.badge { margin-left: auto; font-size: 11px; font-weight: 500; letter-spacing: .06em; padding: 4px 10px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted-foreground); }
.review__q { font-size: 15px; color: var(--foreground); }
.reviews__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; flex-wrap: wrap; }
.reviews__demo { font-size: 13px; color: var(--muted-foreground); }
.pause-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px 0 12px;
  border: 1px solid var(--border); border-radius: 999px; background: #fff; cursor: pointer; font-size: 13px;
  transition: border-color var(--t);
}
.pause-btn:hover { border-color: var(--foreground); }
.pause-btn .ic { width: 16px; height: 16px; }

/* ---------- Kontaktai ---------- */
.contacts { background: var(--primary); color: #fff; padding: clamp(80px, 10vw, 128px) 0; }
.contacts__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.contacts__text h2 { margin-bottom: 18px; }
.contacts__text > p:not(.eyebrow) { color: rgba(255,255,255,.78); max-width: 460px; margin-bottom: 30px; }
.contacts__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.socials { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); display: grid; place-items: center; transition: border-color var(--t), background var(--t); }
.socials a:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.socials svg { width: 19px; height: 19px; }
.contacts__cards { display: grid; gap: 16px; }
.glass-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 26px 28px; }
.glass-card__t { display: flex; align-items: center; gap: 10px; font: 500 12px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .22em; color: #D4B680; margin-bottom: 18px; }
.hours { margin: 0; display: grid; gap: 10px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.1); }
.hours div:last-child { border-bottom: 0; padding-bottom: 0; }
.hours dt { color: rgba(255,255,255,.75); }
.hours dd { margin: 0; font-weight: 500; }
.glass-card address { font: 400 24px/1.25 var(--serif); margin-bottom: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; text-decoration: none; color: #fff; }
.link-arrow .ic { transition: transform var(--t) var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }
.glass-card__req { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.6); }

/* ---------- Poraštė ---------- */
.site-footer { background: var(--primary); color: rgba(255,255,255,.7); font-size: 13px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Plaukiojantis mygtukas ---------- */
.fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 60px; height: 60px; border-radius: 50%;
  background: var(--primary); color: #fff; border: 1px solid rgba(255,255,255,.4); cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 10px 28px -10px rgba(31,52,59,.6); transition: transform var(--t) var(--ease), background var(--t);
}
.fab svg { width: 24px; height: 24px; }
.fab:hover { transform: translateY(-2px); background: #172a30; }

/* =====================================================================
   Rezervacijos langas
   ===================================================================== */
.booking {
  width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  padding: 0; border: 0; border-radius: 2rem; background: #fff; color: var(--foreground);
  overflow-y: auto; overscroll-behavior: contain;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.4);
}
.booking::backdrop { background: rgba(0,0,0,.55); }
.booking[open] { animation: pop .22s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.booking > div { padding: 32px 28px 28px; }
.booking__close {
  position: sticky; float: right; top: 14px; margin: 14px 14px -58px 0; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--muted); cursor: pointer;
  display: grid; place-items: center; transition: background var(--t);
}
.booking__close:hover { background: var(--border); }
.booking__close svg { width: 20px; height: 20px; }
.booking__title { font-size: 28px; line-height: 1.15; margin-bottom: 6px; padding-right: 48px; }
.booking__service { font: 500 12px/1.4 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--gold-strong); margin-bottom: 16px; min-height: 17px; }

.summary {
  position: sticky; top: 0; z-index: 2; margin: 0 -28px 20px; padding: 10px 28px;
  background: rgba(255,255,255,.96); border-block: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 4px 6px; font-size: 12.5px; color: var(--muted-foreground);
}
.summary span:not(:last-child)::after { content: " ·"; color: var(--gold); }
.summary .is-set { color: var(--foreground); font-weight: 500; }

.field { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.field__label { display: block; font: 600 10px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .2em; color: var(--muted-foreground); margin-bottom: 9px; padding: 0; }
.opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.input {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 12px;
  background: #fff; font: 400 16px/1.3 var(--sans); color: var(--foreground);
  transition: border-color var(--t), box-shadow var(--t);
}
textarea.input { resize: vertical; min-height: 64px; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2356534B' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168,131,74,.18); }
.input[aria-invalid="true"] { border-color: #A3392B; }
.input-icon { position: relative; }
.input-icon svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted-foreground); pointer-events: none; }
.input-icon .input { padding-left: 42px; }
.field__err { color: #A3392B; font-size: 13px; margin-top: 6px; min-height: 0; }
.field__err:empty { display: none; }
.field__hint { font-size: 13px; color: var(--muted-foreground); margin-top: 8px; }

.notice { background: #F7F0E3; border: 1px solid #E8D9BC; border-radius: 12px; padding: 12px 14px; margin: -6px 0 20px; font-size: 14px; color: #5B4421; }
.notice__link { all: unset; cursor: pointer; margin-top: 4px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; display: inline-block; }
.notice__link:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--border); font-size: 14px; transition: background var(--t), border-color var(--t), color var(--t);
}
.pill input:hover + span { border-color: var(--foreground); }
.pill input:checked + span { background: var(--foreground); color: #fff; border-color: var(--foreground); }
.pill input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.pill input:disabled + span { opacity: .4; text-decoration: line-through; cursor: not-allowed; }

/* Flatpickr pritaikymas */
.calendar .flatpickr-calendar.inline { width: 100%; max-width: 100%; box-shadow: none; border: 1px solid var(--border); border-radius: 14px; padding: 6px 4px 10px; font-family: var(--sans); }
.calendar .flatpickr-innerContainer, .calendar .flatpickr-rContainer, .calendar .flatpickr-days, .calendar .dayContainer { width: 100%; max-width: 100%; min-width: 0; }
.calendar .flatpickr-months .flatpickr-month { height: 40px; }
.calendar .flatpickr-current-month { font-size: 15px; font-weight: 500; padding-top: 10px; }
.calendar .flatpickr-current-month .cur-month { font-weight: 500; text-transform: capitalize; }
.calendar .flatpickr-months .flatpickr-prev-month, .calendar .flatpickr-months .flatpickr-next-month { padding: 12px; }
.calendar span.flatpickr-weekday { color: var(--muted-foreground); font-weight: 500; font-size: 12px; }
.calendar .flatpickr-day { max-width: none; flex-basis: 14.2857%; height: 40px; line-height: 38px; border-radius: 999px; font-size: 14px; color: var(--foreground); }
.calendar .flatpickr-day.today { border-color: var(--gold); }
.calendar .flatpickr-day:hover, .calendar .flatpickr-day:focus { background: var(--muted); border-color: var(--muted); }
.calendar .flatpickr-day.selected, .calendar .flatpickr-day.selected:hover { background: var(--foreground); border-color: var(--foreground); color: #fff; }
.calendar .flatpickr-day.flatpickr-disabled, .calendar .flatpickr-day.flatpickr-disabled:hover { color: rgba(23,22,26,.22); background: none; border-color: transparent; }
.calendar .flatpickr-day.prevMonthDay, .calendar .flatpickr-day.nextMonthDay { color: rgba(23,22,26,.25); }
.native-date { margin-top: 0; }
.calendar > input.flatpickr-input { display: none; }

.slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.slots__hint { grid-column: 1 / -1; font-size: 14px; color: var(--muted-foreground); }
.slots__hint a { color: var(--foreground); }
.slot { position: relative; }
.slot input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.slot > span { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--border); border-radius: 999px; font-size: 14px; font-variant-numeric: tabular-nums; transition: background var(--t), border-color var(--t); }
.slot input:hover + span { border-color: var(--foreground); }
.slot input:checked + span { background: var(--foreground); border-color: var(--foreground); color: #fff; }
.slot input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.slot input:disabled { cursor: not-allowed; }
.slot input:disabled + span { color: rgba(23,22,26,.3); text-decoration: line-through; background: var(--muted); border-color: var(--muted); }
.skeleton { height: 44px; border-radius: 999px; background: linear-gradient(90deg, var(--muted) 0%, #fafaf7 50%, var(--muted) 100%); background-size: 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.slots__retry { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: #A3392B; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted-foreground); margin-bottom: 20px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--foreground); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-error { background: #FBEDEA; border: 1px solid #EFC9C1; color: #7D2A1F; border-radius: 12px; padding: 14px; margin-bottom: 16px; font-size: 14px; }
.form-error__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }

.btn-submit {
  position: relative; width: 100%; min-height: 54px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--foreground); color: #fff; font: 600 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: background var(--t) var(--ease), transform var(--t) var(--ease);
}
.btn-submit:hover { background: var(--primary); transform: translateY(-2px); }
.btn-submit:active { transform: translateY(0); }
.btn-submit[aria-busy="true"] { cursor: progress; background: var(--primary); }
.spinner { display: none; width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
.btn-submit[aria-busy="true"] .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.booking__fine { font-size: 12px; color: var(--muted-foreground); margin-top: 12px; text-align: center; }
.booking__fine a { color: var(--foreground); }

.demo-ctl { margin-top: 22px; border-top: 1px dashed var(--border); padding-top: 14px; font-size: 13px; color: var(--muted-foreground); }
.demo-ctl summary { cursor: pointer; min-height: 32px; }
.demo-ctl__opts { display: grid; gap: 6px; margin-top: 8px; }
.demo-ctl label { display: flex; gap: 8px; align-items: center; }

.booking__success { text-align: center; }
.success__mark { display: grid; place-items: center; width: 56px; height: 56px; margin: 8px auto 16px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 24px; }
.booking__success .booking__title { padding-right: 0; outline: none; font-size: 34px; }
.success__lead { color: var(--muted-foreground); margin: 8px 0 20px; }
.success__sum { text-align: left; margin: 0 0 22px; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 6px 18px; }
.success__sum div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.success__sum div:last-child { border-bottom: 0; }
.success__sum dt { color: var(--muted-foreground); }
.success__sum dd { margin: 0; font-weight: 500; text-align: right; }
.booking__success .btn--outline { width: 100%; margin-top: 10px; }

.iti { width: 100%; }
.iti__country-list { z-index: 10; }

/* =====================================================================
   Planšetė / telefonas
   ===================================================================== */
@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 400px; }
  .contacts__grid { grid-template-columns: 1fr; }
  .prices__after { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  :root { --header-h: 64px; }
  .nav { display: none; }
  .header__book { display: inline-flex; }
  .burger { display: block; }
  .site-header .header__book { background: var(--foreground); color: #fff; }
  .site-header:not(.is-solid) .header__book { background: #fff; color: var(--foreground); }
  body.menu-open .header__book { visibility: hidden; }
  .brand__logo { width: 92px; height: 34px; }

  .hero__video { object-position: 50% 30%; }
  .hero__shade { background: linear-gradient(0deg, rgba(20,19,23,.92) 0%, rgba(20,19,23,.6) 50%, rgba(20,19,23,.25) 100%); }
  .hero__inner { padding-bottom: 96px; }
  .video-toggle { bottom: 24px; left: var(--gutter); right: auto; }
  .hero__lead { font-size: 16px; }

  /* Kainų lentelė → kortelės */
  .price-card { padding: 4px 16px; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody { display: block; }
  .price-row { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 18px 0; border-bottom: 1px solid var(--border); }
  .price-row:last-child { border-bottom: 0; }
  .price-row > * { padding: 0; border: 0; }
  .price-row th { grid-column: 1 / -1; padding: 0 0 8px; gap: 14px; }
  .price-row td { display: contents; }
  .price-row td::before {
    content: attr(data-label); font: 500 11px/1.2 var(--sans); text-transform: uppercase; letter-spacing: .16em;
    color: var(--gold-strong); align-self: center; padding-left: 38px;
  }
  .price-row td { font-size: 18px; }
  .pr-note { grid-column: 1 / -1; max-width: none; padding-left: 38px; }
  .price-stage { min-height: 0; }
}

@media (max-width: 560px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { font-size: 13px; flex-direction: column; align-items: flex-start; }
  .hero__dot { display: none; }
  .tabs { display: flex; width: 100%; }
  .tab { flex: 1; padding: 0 10px; }
  .review { width: 280px; }
  .rating-card { min-width: 0; flex: 1 1 100%; }
  .rating-cards { width: 100%; }
  .contacts__actions .btn { flex: 1 1 100%; }
  .fab { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .footer__inner { padding-bottom: 88px; }

  /* Rezervacija – iš apačios iššokantis lapas */
  .booking {
    width: 100%; max-width: 100%; margin: auto 0 0; border-radius: 2rem 2rem 0 0;
    max-height: 92vh; max-height: 92dvh;
  }
  .booking[open] { animation: sheet .26s var(--ease); }
  @keyframes sheet { from { transform: translateY(40px); opacity: .6; } to { transform: none; opacity: 1; } }
  .booking > div { padding: 28px 20px 24px; }
  .summary { margin-inline: -20px; padding-inline: 20px; }
  .slots { grid-template-columns: repeat(3, 1fr); }
}

/* Judesio mažinimas */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__row { -webkit-mask: none; mask: none; overflow: visible; }
  .marquee__track { width: auto; flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); animation: none !important; }
  .marquee__track [aria-hidden="true"] { display: none; }
  .marquee__row[data-dir="right"] { display: contents; }
  [data-marquee-toggle] { display: none; }
}
