:root {
  --black: #0b0b0b;
  --black-2: #151515;
  --black-3: #1e1e1e;
  --ink: #f4f1ec;
  --ink-dim: #b4aea5;
  --paper: #f6f4f0;
  --paper-ink: #1b1a19;
  --paper-dim: #5c5853;
  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(0, 0, 0, 0.12);
  --red: #c62a2f;
  --blue: #2f4f9e;
  --f-main: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --f-ui: "Work Sans", var(--f-main);
  --hdr-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--hdr-h); }

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--f-main);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.1; }
p { margin: 0 0 1em; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--black); padding: 10px 16px;
  font-family: var(--f-ui); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.light :focus-visible { outline-color: var(--paper-ink); }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }
.center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--f-ui); font-weight: 700; font-size: 13px;
  letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  padding: 14px 26px; border: 1px solid transparent; border-radius: 0;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  cursor: pointer; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 18px 34px; font-size: 14px; }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: var(--ink); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #2a2a2a; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; flex: none; }
.ico .fill, .rail .fill { fill: currentColor; stroke: none; }

/* Header */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--hdr-h);
  transition: background .35s var(--ease), box-shadow .35s var(--ease);
}
.hdr.solid { background: rgba(20, 20, 20, .94); box-shadow: 0 1px 0 var(--line-dark); backdrop-filter: blur(8px); }
.hdr-in {
  width: min(1240px, 100% - 32px); height: 100%; margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.logo-pin { width: 26px; height: 36px; flex: none; }
.logo-txt { display: flex; flex-direction: column; line-height: 1; }
.logo-txt b { font-weight: 700; font-size: 22px; letter-spacing: .06em; }
.logo-txt small { font-family: var(--f-ui); font-weight: 700; font-size: 9.5px; letter-spacing: .42em; margin-top: 4px; color: var(--ink-dim); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  font-family: var(--f-ui); font-weight: 500; font-size: 13px; letter-spacing: .14em;
  text-transform: uppercase; text-decoration: none; color: rgba(255, 255, 255, .82);
  position: relative; padding: 6px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: #fff;
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav-book { display: none; }
.hdr-book { padding: 12px 22px; }

.burger {
  display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent;
  cursor: pointer; position: relative;
}
.burger span {
  position: absolute; left: 11px; right: 11px; height: 2px; background: #fff;
  transition: transform .3s var(--ease), opacity .2s;
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Social rail */
.rail {
  position: fixed; left: 0; top: 50%; transform: translateY(-50%); z-index: 40;
  display: none; flex-direction: column; background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(6px);
}
.rail a { display: grid; place-items: center; width: 46px; height: 46px; color: #fff; transition: background .2s; }
.rail a:hover { background: rgba(255, 255, 255, .14); }
.rail svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (min-width: 1300px) { .rail { display: flex; } }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center;
  padding: calc(var(--hdr-h) + 40px) 16px 110px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(120% 70% at 50% 0%, #2a2a2a 0%, #141414 45%, #0b0b0b 80%);
  background-size: cover; background-position: center;
}
.hero.has-img { background-image: var(--photo); }
.hero.has-img .hero-ceiling { display: none; }
.hero-ceiling {
  position: absolute; inset: -6% -20% auto -20%; height: 72%; z-index: -2;
  perspective: 700px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 35%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 35%, transparent 100%);
}
.hex {
  width: 100%; height: 100%;
  transform: rotateX(52deg) scale(1.25); transform-origin: 50% 0%;
  filter: drop-shadow(0 0 3px #fff) drop-shadow(0 0 12px rgba(255, 255, 255, .55));
  opacity: .82;
  animation: flicker 7s 1.2s ease-in-out both;
}
@keyframes flicker {
  0% { opacity: 0; } 6% { opacity: .7; } 8% { opacity: .1; } 12% { opacity: .82; } 14% { opacity: .35; } 18%, 100% { opacity: .82; }
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(52% 34% at 50% 50%, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, .35) 45%, rgba(11, 11, 11, .92) 100%);
}
.hero.has-img .hero-shade { background: linear-gradient(to bottom, rgba(0, 0, 0, .55), rgba(0, 0, 0, .62) 60%, rgba(11, 11, 11, .95)); }
.hero-in { text-align: center; max-width: 920px; }
.eyebrow {
  font-family: var(--f-ui); font-weight: 500; font-size: 13px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--ink-dim); margin-bottom: 22px;
}
.hero h1 {
  font-weight: 600; text-transform: uppercase; letter-spacing: -.01em;
  font-size: clamp(42px, 8.4vw, 104px); line-height: .98; margin-bottom: 26px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .5);
}
.hero-lead { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255, 255, 255, .82); max-width: 560px; margin: 0 auto 36px; }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.scroll-cue {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 14px;
}
.scroll-cue span {
  position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px;
  background: #fff; animation: cue 1.8s ease-in-out infinite;
}
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Sections */
.sec { padding: clamp(80px, 11vw, 140px) 0; }
.light { background: var(--paper); color: var(--paper-ink); }
.dark { background: var(--black); color: var(--ink); }
.label {
  font-family: var(--f-main); font-weight: 400; font-size: 14px; letter-spacing: .24em; text-transform: uppercase;
  margin-bottom: 14px; display: inline-flex; align-items: center; gap: 14px;
}
.label::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.center .label::after, .center > .label::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }
.sec h2, .band h2 {
  font-size: clamp(34px, 4.6vw, 54px); font-weight: 500; letter-spacing: -.035em; margin-bottom: 28px;
}
.light p { color: #33302d; }
.dark p { color: var(--ink-dim); }

#paslaugos .label, #paslaugos h2, #galerija .label, #galerija h2, .steps-sec .label, .steps-sec h2 { text-align: center; }
#paslaugos .wrap, #galerija .wrap, .steps-sec .wrap { text-align: center; }
#paslaugos .label::after, #galerija .label::after, .steps-sec .label::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .6; }

/* About */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split-txt p { font-size: 16.5px; max-width: 540px; }
.facts { list-style: none; padding: 0; margin: 38px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); }
.facts li { padding: 22px 12px 0 0; }
.facts b { display: block; font-weight: 600; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.03em; line-height: 1.1; }
.facts span { font-size: 13.5px; color: var(--paper-dim); }

.split-img {
  margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: #121212; color: var(--ink);
}
.split-img img { width: 100%; height: 100%; object-fit: cover; }
.split-img.has-img .ph { display: none; }
.ph {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px;
  background:
    repeating-linear-gradient(135deg, rgba(198, 42, 47, .9) 0 18px, #f4f1ec 18px 30px, rgba(47, 79, 158, .9) 30px 48px, #f4f1ec 48px 60px);
}
.ph::before { content: ""; position: absolute; inset: 14px; background: #121212; }
.ph svg, .ph span { position: relative; }
.ph svg { width: 76px; height: 76px; color: var(--ink); }
.ph span { font-family: var(--f-ui); font-weight: 700; letter-spacing: .4em; text-transform: uppercase; font-size: 13px; color: var(--ink-dim); }

/* Prices */
.price-list { list-style: none; padding: 0; margin: 20px 0 0; text-align: left; }
.price { padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.price:first-child { border-top: 1px solid var(--line-dark); }
.price-main { display: flex; align-items: baseline; gap: 16px; }
.price h3 { font-size: clamp(19px, 2.2vw, 24px); font-weight: 500; letter-spacing: -.01em; }
.dots { flex: 1; border-bottom: 1px dotted rgba(255, 255, 255, .3); transform: translateY(-6px); min-width: 24px; }
.price strong { font-weight: 600; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; }
.price-sub { display: flex; justify-content: space-between; margin-top: 6px; font-size: 14px; color: var(--ink-dim); }
.price-sub a {
  font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; color: #fff;
}
.price-sub a span { display: inline-block; transition: transform .25s var(--ease); }
.price-sub a:hover span { transform: translateX(4px); }
.note { margin: 30px 0 0; font-size: 14px; text-align: center; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 30px 0 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; }
.steps li { background: #fff; padding: 36px 30px 30px; border: 1px solid var(--line-light); }
.step-n { display: block; font-weight: 600; font-size: 46px; letter-spacing: -.04em; line-height: 1; margin-bottom: 22px; color: transparent; -webkit-text-stroke: 1.2px var(--paper-ink); }
.steps h3 { font-size: 20px; margin-bottom: 10px; }
.steps p { margin: 0; font-size: 15px; color: var(--paper-dim); }

/* Gallery */
.gallery { display: none; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 44px; }
.gallery.filled { display: grid; }
.gallery.filled .tile:not(.has-img) { display: none; }
.gallery-empty { max-width: 520px; margin: 0 auto 34px; }
.gallery.filled + .gallery-empty { display: none; }
.tile {
  position: relative; aspect-ratio: 1; overflow: hidden; display: block;
  background: var(--black-2) center / cover no-repeat;
  transition: transform .5s var(--ease);
}
.tile.has-img { background-image: var(--photo); }
.tile::before {
  content: ""; position: absolute; inset: 0;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='34.64' viewBox='0 0 60 34.64'%3E%3Cpath d='M0 17.32L10 0h20l10 17.32L30 34.64H10z M40 17.32h20' fill='none' stroke='%23ffffff' stroke-opacity='.08' stroke-width='1.2'/%3E%3C/svg%3E");
}
.tile:not(.has-img)::after {
  content: "@localbarbers_kaunas"; position: absolute; left: 0; right: 0; bottom: 18px; text-align: center;
  font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .28em; color: rgba(255, 255, 255, .35);
}
.tile.has-img::before { background: linear-gradient(to top, rgba(0, 0, 0, .45), transparent 50%); opacity: 0; transition: opacity .3s; }
.tile:hover { transform: scale(.985); }
.tile.has-img:hover::before { opacity: 1; }

/* Review */
.quote { margin: 10px auto 26px; max-width: 640px; }
.stars { color: #c9a227; letter-spacing: .25em; font-size: 20px; margin-bottom: 18px; }
.quote blockquote { margin: 0 0 18px; font-size: clamp(21px, 2.6vw, 28px); font-weight: 400; line-height: 1.45; letter-spacing: -.01em; color: var(--paper-ink); }
.quote figcaption { font-size: 14px; color: var(--paper-dim); letter-spacing: .04em; }
.link-under {
  font-family: var(--f-ui); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px;
}

/* Band */
.band {
  background:
    repeating-linear-gradient(135deg, var(--red) 0 22px, #f4f1ec 22px 34px, var(--blue) 34px 56px, #f4f1ec 56px 68px);
  padding: 6px 0;
}
.band-in {
  background: var(--black); width: 100%; max-width: none; margin: 0;
  display: flex; align-items: center; justify-content: center; gap: 28px 44px; flex-wrap: wrap;
  padding: clamp(56px, 8vw, 90px) 16px; text-align: center;
}
.band h2 { margin: 0; text-transform: uppercase; font-weight: 600; }

/* Map */
.map-sec {
  position: relative; height: 380px; overflow: hidden;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07'%3E%3Cpath d='M0 60h240M0 170h240M70 0v240M185 0v240' stroke-width='6'/%3E%3Cpath d='M0 115h240M125 0v240M0 0l240 240' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E"),
    var(--black-2);
}
.map-sec iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.map-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 24px 16px;
  background: radial-gradient(50% 60% at 50% 50%, rgba(21, 21, 21, .92), rgba(21, 21, 21, .55));
}
.map-sec.loaded .map-ph { display: none; }
.map-pin { width: 38px; height: 38px; fill: none; stroke: #fff; stroke-width: 1.6; margin-bottom: 10px; }
.map-addr { font-size: clamp(17px, 2vw, 20px); font-weight: 500; color: var(--ink); margin-bottom: 22px; }
.map-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.map-note { margin: 16px 0 0; font-size: 12.5px; color: #8a857e; }

/* Footer */
.ftr { background: #141414; color: var(--ink); padding: 72px 0 0; }
.ftr-grid { display: grid; grid-template-columns: 1.3fr 1fr .8fr; gap: 40px; padding-bottom: 56px; }
.ftr h3 { font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; margin-bottom: 22px; }
.ftr p { color: var(--ink-dim); margin-bottom: 22px; }
.ftr-list, .ftr-links { list-style: none; padding: 0; margin: 0; }
.ftr-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 16px; color: var(--ink-dim); }
.ftr-list .ico { margin-top: 4px; color: var(--ink); }
.ftr a { text-decoration: none; }
.ftr-list a:hover, .ftr-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.ftr-links li { margin-bottom: 10px; }
.ftr-links a { color: var(--ink-dim); }
.ftr-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line-dark); padding: 22px 0 26px; font-size: 13px; color: #8a857e;
}
.ftr-bottom a:hover { color: #fff; }

/* Mobile booking bar */
.book-bar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45;
  display: none; align-items: center; justify-content: space-between;
  background: #fff; color: #000; text-decoration: none; padding: 15px 20px;
  font-family: var(--f-ui); font-weight: 700; font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
  transform: translateY(140%); transition: transform .35s var(--ease);
}
.book-bar small { font-size: 12px; letter-spacing: .06em; color: #555; text-transform: none; font-weight: 500; }
.book-bar.show { transform: none; }

/* Hero load animation (pure CSS, so the title shows even before JS runs) */
.rise { animation: rise .9s var(--ease) both; }
.hero-in .rise:nth-child(2) { animation-delay: .08s; }
.hero-in .rise:nth-child(3) { animation-delay: .16s; }
.hero-in .rise:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Reveal animation */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .nav { gap: 22px; }
  .split { grid-template-columns: 1fr; }
  .split-img { max-width: 520px; width: 100%; margin-inline: auto; aspect-ratio: 4 / 4.4; }
}

@media (max-width: 860px) {
  :root { --hdr-h: 66px; }
  .hdr { background: rgba(20, 20, 20, .0); }
  .burger { display: block; }
  .hdr-book { display: none; }
  .nav {
    position: fixed; inset: var(--hdr-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #0e0e0e; padding: 12px 16px 26px; border-top: 1px solid var(--line-dark); overflow-y: auto;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav a:not(.btn) { padding: 16px 4px; font-size: 15px; border-bottom: 1px solid var(--line-dark); }
  .nav a:not(.btn)::after { display: none; }
  .nav-book { display: inline-flex; margin-top: 22px; }
  .hdr.menu-open { background: #0e0e0e; }
  body.no-scroll { overflow: hidden; }
  .rail { display: none; }
  .steps { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .ftr-grid > div:first-child { grid-column: 1 / -1; }
  .book-bar { display: flex; }
  .ftr { padding-bottom: 76px; }
}

@media (max-width: 520px) {
  body { font-size: 15.5px; }
  .hero { padding-bottom: 120px; }
  .hero-cta .btn { width: 100%; }
  .eyebrow { letter-spacing: .22em; font-size: 12px; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .facts li { padding-right: 8px; }
  .facts span { font-size: 12.5px; line-height: 1.4; display: block; }
  .price-main { gap: 10px; }
  .price h3 { font-size: 18px; }
  .ftr-grid { grid-template-columns: 1fr; gap: 34px; }
  .map-sec { height: 320px; }
  .scroll-cue { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
