:root {
  --ns-header-h: 84px;
  --accent: #47594c;
  --accent-hover: #5a705f;
  --accent-deep: #36443b;
  --ink: #0c0e0d;
  --ink-soft: #141816;
  --panel: #1a1f1c;
  --line: rgba(71, 89, 76, 0.45);
  --text: #eceeea;
  --muted: #a7afa9;
  --white: #ffffff;
  --paper: #f3f1ea;
  --paper-panel: #ffffff;
  --paper-text: #1b1f1c;
  --paper-muted: #5e6661;
  --paper-line: rgba(71, 89, 76, 0.22);
  --reviews: #fffef8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PT Sans", "Helvetica Neue", Arial, sans-serif;
  background: var(--ink);
  color: var(--text);
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
.uk-logo,
.uk-navbar-nav > li > a,
.ns-display,
.ns-btn,
.ns-price,
.ns-label {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

a {
  color: var(--text);

  &:hover {
    color: var(--white);
    text-decoration: none;
  }
}

.uk-h1,
.uk-h2,
.uk-h3,
.uk-heading-medium,
h1,
h2,
h3 {
  color: var(--white);
}

.ns-page {
  overflow-x: hidden;
}

/* Header */
.ns-header {
  background: rgba(12, 14, 13, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);

  &.uk-sticky-fixed {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

.ns-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
  color: var(--white);
  text-decoration: none;

  &:hover {
    color: var(--white);
  }
}

.ns-logo-mark {
  width: 55px;
  height: 55px;
  display: block;
  object-fit: cover;
  border-radius: 50%;
}

.ns-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;

  strong {
    font-family: "Oswald", sans-serif;
    font-size: 22px;
    letter-spacing: 0.18em;
  }

  span {
    font-size: 10px;
    letter-spacing: 0.28em;
    color: var(--muted);
  }
}

.ns-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: var(--ns-header-h);
}

.ns-header-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0 26px;

  a {
    position: relative;
    flex: 0 0 auto;
    padding: 8px 0;
    font-family: "Oswald", "Arial Narrow", sans-serif;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
    white-space: nowrap;

    &:hover {
      color: var(--white);
    }

    &::after {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      bottom: 0;
      height: 2px;
      background: var(--accent);
      opacity: 0;
      transition: opacity 0.2s ease;
    }

    &:hover::after {
      opacity: 1;
    }
  }
}

.ns-header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 20px;
}

.header-locales ul {
	margin:0px;
	border-left: 1px solid #333;
	
	a {
		font-size:16px !important;
	}
}

.ns-header-phone {
  color: var(--white);
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.06em;
  white-space: nowrap;

  &:hover {
    color: var(--white);
  }
}

.ns-header-toggle {
  background: transparent;
  border: 0;
  color: var(--white);
  padding: 0;
}

/* Buttons */
.ns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  background: var(--accent);
  color: var(--white) !important;
  border: 1px solid var(--accent);
  font-size: 13px;
  transition: 0.25s ease;

  &:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: var(--white) !important;
  }
}

.ns-btn-ghost {
  background: transparent;
  color: var(--white) !important;

  &:hover {
    background: var(--accent);
  }
}

.ns-btn-wide {
  width: 100%;
}

.ns-btn-lg {
  min-height: 60px;
  padding: 0 40px;
  font-size: 16px;
  letter-spacing: 0.12em;
}

/* Hero */
.ns-hero {
  position: relative;
  height: 70vh;
  max-height: 620px;
  min-height: 480px;

  h1 {
    font-size: clamp(34px, 5.4vw, 64px);
    line-height: 1.26;
    margin: 0 0 16px;
  }

  p {
    max-width: 520px;
    margin: 0;
    font-size: 16px;
    color: var(--muted);
  }

  .uk-slideshow-items {
    height: 100%;
    min-height: 100%;
  }
}

.ns-hero-slider {
  height: 100%;
  min-height: 100%;
}

.ns-hero-slide {
  background-size: cover;
  background-position: center center;
}

.ns-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 14, 13, 0.40) 0%, rgba(12, 14, 13, 0.70) 100%),
    linear-gradient(90deg, rgba(12, 14, 13, 0.55) 0%, rgba(12, 14, 13, 0.45) 60%);
}

.ns-hero-layer {
 /* z-index: 2; */
}

.ns-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 24px 0;
}

.ns-label {
  display: inline-block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 14px;

  &::before,
  &::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 1px;
    background: var(--accent);
    vertical-align: middle;
    margin: 0 12px;
  }
}

.ns-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;

  span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid var(--line);
    background: rgba(12, 14, 13, 0.45);
    font-family: "Oswald", sans-serif;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

.ns-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.ns-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 14px;

  strong {
    display: block;
    color: var(--white);
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.06em;
    text-transform: uppercase;
  }
}

/* Offer bar */
.ns-offer {
  background: var(--accent);
  padding: 22px 0;

  .ns-btn {
    background: var(--ink);
    border-color: var(--ink);
    flex-shrink: 0;

    &:hover {
      background: #080a09;
      border-color: #080a09;
    }
  }
}

.ns-offer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.ns-offer-copy {
  display: flex;
  align-items: center;
  gap: 16px;

  strong {
    display: block;
    font-family: "Oswald", sans-serif;
    font-size: 20px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
  }

  span:not(.ns-offer-icon) {
    color: rgba(255, 255, 255, 0.82);
  }
}

.ns-offer-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  background: rgba(12, 14, 13, 0.18);
}

/* Ritual */
.ns-ritual-section {
  position: relative;
  background-color: var(--ink);
  background-image: url("../img/ritual.jpg");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  background-attachment: scroll;
  color: var(--text);

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 14, 13, 0.28) 0%, rgba(12, 14, 13, 0.52) 100%);
    pointer-events: none;
  }

  > .uk-container {
    position: relative;
    z-index: 1;
  }

  .ns-section-head {
    h2 {
      color: var(--white);
    }

    p {
      color: var(--muted);
    }
  }

  .ns-label {
    color: var(--muted);
  }
}

.ns-ritual {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.ns-ritual-step {
  padding: 24px 20px;
  border: 1px solid var(--line);
  background: rgba(26, 31, 28, 0.88);
  backdrop-filter: blur(6px);

  span {
    display: block;
    margin-bottom: 12px;
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.14em;
    color: var(--accent-hover);
  }

  h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--white);
  }

  p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
  }
}

.ns-ritual-section .ns-feature {
  background: rgba(26, 31, 28, 0.88);
  backdrop-filter: blur(6px);

  h3 {
    color: var(--white);
  }

  p {
    color: var(--muted);
  }

  &:hover {
    background: rgba(31, 38, 34, 0.95);
  }
}

/* Service category tiles */
.ns-cats {
  display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.ns-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 180px;
  padding: 18px;
  border: 1px solid var(--paper-line);
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: left;
  cursor: pointer;

  &::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(12, 14, 13, 0.1), rgba(12, 14, 13, 0.82));
  }

  span,
  small {
    position: relative;
    z-index: 1;
  }

  span {
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  small {
    margin-top: 8px;
    color: var(--white);
    font-family: "Oswald", sans-serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.06em;
    line-height: 1;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);

    em {
      display: inline-block;
      margin-right: 6px;
      font-style: normal;
      font-size: 12px;
      font-weight: 400;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.78);
      vertical-align: 3px;
    }
  }

  &.is-active,
  &:hover {
    border-color: var(--accent);
  }
}

/* Sticky mobile CTA */
.ns-sticky-cta {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 90;
  display: flex;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(12, 14, 13, 0.94);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);

  .ns-btn,
  .ns-sticky-cta-phone {
    flex: 1 1 0;
    width: 50%;
    min-width: 0;
    padding-left: 10px;
    padding-right: 10px;
    gap: 8px;
  }

  svg [stroke] {
    stroke: currentColor;
  }

  svg [fill]:not([fill="none"]) {
    fill: currentColor;
  }
}

.ns-sticky-cta-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  min-height: 48px;
  border: 1px solid var(--line);
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

/* Sections */
.ns-section {
  padding: 100px 0;
  position: relative;
}

.ns-section-alt {
  background: var(--ink-soft);
}

.ns-section-light {
  background: var(--paper);
  color: var(--paper-text);

  h1,
  h2,
  h3,
  h4 {
    color: var(--ink);
  }

  .ns-section-head p,
  .ns-about-copy p,
  .ns-feature p,
  .ns-master-body p,
  .ns-master-role,
  .ns-product-body p,
  .ns-review p,
  .ns-contact-card p,
  .ns-contact-card a,
  .ns-stat span,
  .ns-label {
    color: var(--paper-muted);
  }

  a {
    color: var(--paper-text);

    &:hover {
      color: var(--accent-deep);
    }
  }

  .ns-feature,
  .ns-master,
  .ns-product,
  .ns-review,
  .ns-stat,
  .ns-services-shell {
    background: var(--paper-panel);
    border-color: var(--paper-line);
  }

  .ns-feature:hover {
    background: #ece9e0;
    border-color: var(--accent);
  }

  .ns-price,
  .ns-price-name,
  .ns-review-author,
  .ns-stat b {
    color: var(--ink);
  }

  .ns-price-tabs.uk-tab,
  .ns-price-tabs.uk-tab > * + *,
  .ns-price-item {
    border-color: var(--paper-line);
  }

  .ns-price-tabs.uk-tab > * > a {
    color: var(--paper-muted);

    &:hover {
      color: var(--ink);
      background: rgba(71, 89, 76, 0.08);
    }
  }

  .ns-price-tabs.uk-tab > .uk-active > a,
  .ns-price-tabs.uk-tab > .uk-active > a:hover {
    background: var(--accent);
    color: var(--white);
  }

  .ns-price-dots {
    border-bottom-color: rgba(71, 89, 76, 0.4);
  }

  .ns-btn-ghost {
    color: var(--ink) !important;
    border-color: var(--accent);

    &:hover {
      color: var(--white) !important;
      background: var(--accent);
    }
  }
}

.ns-reviews-section {
  background: var(--reviews);
  box-shadow: inset 0 1px 0 rgba(71, 89, 76, 0.08);
}

.ns-services-section {
  isolation: isolate;
  overflow: hidden;

	background-image: url(../img/services-bg.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	background-attachment: scroll;

  > .uk-container {
    position: relative;
    z-index: 1;
  }
}

.ns-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;

  h2 {
    font-size: clamp(32px, 4vw, 48px);
    margin: 0 0 16px;
  }

  p {
    color: var(--muted);
    margin: 0;
  }
}

.ns-about-grid {
  align-items: stretch;

  > * {
    display: flex;
  }
}

.ns-about-photo {
  flex: 1;
  width: 100%;
  min-height: 560px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--line);
}

.ns-about-copy {
  width: 100%;

  h3 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  p {
    color: var(--muted);
  }
}

.ns-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.ns-stat {
  border: 1px solid var(--line);
  padding: 18px 14px;
  text-align: center;
  background: rgba(71, 89, 76, 0.08);

  b {
    display: block;
    font-family: "Oswald", sans-serif;
    font-size: 28px;
    letter-spacing: 0.04em;
    color: var(--white);
  }

  span {
    color: var(--muted);
    font-size: 13px;
  }
}

/* Features */
.ns-feature {
  display: flex;
  flex-direction: column;
  padding: 28px 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  height: 100%;
  transition: border-color 0.25s ease, background 0.25s ease;

  &:hover {
    border-color: var(--accent);
    background: #1f2622;
  }

  h3 {
    font-size: 18px;
    margin: 0 0 8px;
  }

  p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
  }
}

.ns-feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--accent);
  color: var(--white);
  margin-bottom: 18px;
}

/* Services / prices */
.ns-services-shell {
  border: 1px solid var(--line);
  background: var(--panel);
}

.ns-price-tabs.uk-tab {
  display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
  margin: 0;
  padding: 0;
  border: 0;

  &::before {
    display: none;
  }

  > * {
    padding: 0;
    flex: none;
  }

  > * {
    border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
  }

  > * > a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    margin: 0;
    padding: 12px 10px;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;

    &:hover {
      color: var(--white);
      background: rgba(71, 89, 76, 0.18);
    }
  }

  > .uk-active > a,
  > .uk-active > a:hover {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
  }
}

.ns-services-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.5fr) 1.5fr;
  min-height: 520px;
}

.ns-services-photo {
  height: 100%;
  min-height: 520px;
  background-size: cover;
  background-position: center;
}

.ns-price-list {
  display: grid;
  align-content: start;
  padding: 28px 32px;
  
  table th {
	font-family: "Oswald", sans-serif;
	font-size: 17px;
	color: var(--accent);
	font-weight:500;
  } 
  
}

.ns-price-item {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 14px 0;
}

.ns-price-name {
  flex: 0 1 auto;
  max-width: 72%;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  
  small {
	font-size: 12px;
	color: #999;
  }
}

.ns-price-dots {
  flex: 1 1 auto;
  border-bottom: 1px dotted rgba(236, 238, 234, 0.32);
  transform: translateY(-5px);
}

.ns-price {
  color: var(--white);
  font-size: 18px;
  white-space: nowrap;
}

/* Masters */

.ns-master-slider {

	position:relative;
	padding-bottom: 70px; 

	/* ==== Навигация внизу справа ==== */
	
	.barber-dots { display: none; }
	
	.barber-nav {
		position: absolute;
		right: 0;
		bottom: 0;
		display: flex;
		align-items: center;
		gap: 12px;

		p {
			text-transform: uppercase;
			margin-bottom:0;
			color: var(--muted);
		}
	}


	.barber-nav__btn {
		width: 46px;
		height: 46px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		border-radius: 50%;
		border: 1px solid rgba(212,212,212,.45);
		background: transparent;
		color: #fff;
		transition: background .3s ease, color .3s ease,
					transform .3s ease, box-shadow .3s ease,
					border-color .3s ease;
		cursor: pointer;
	}
	.barber-nav__btn:hover,
	.barber-nav__btn:focus-visible {
		background: var(--accent);
		border-color: var(--accent);
		transform: translateY(-2px);
		outline: none;
	}
}

.ns-master {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}

.ns-master-photo {
  height: 420px;
  flex-shrink: 0;
  background-size: cover;
  background-position: center top;
}

.ns-master-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px;

  h3 {
    margin: 0 0 6px;
    font-size: 22px;
  }

  p {
    color: var(--muted);
    margin: 0 0 18px;
    font-size: 15px;
    flex: 1;
  }
}

.ns-master-role {
  color: var(--muted);
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 12px;
  margin-bottom: 12px;
}

.ns-master-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ns-master-desc.is-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}

.ns-master-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin: 0 0 14px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    font: inherit;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #d4af37;
    transition: color .25s ease;
}
.ns-master-toggle:hover,
.ns-master-toggle:focus-visible {
    color: #f5efe3;
    outline: none;
}
.ns-master-toggle[hidden] { display: none; }

/* Шеврон */
.ns-master-toggle-icon {
    width: 10px;
    height: 10px;
    flex: none;
    transition: transform .3s ease;
}

/* Раскрыто — шеврон переворачивается */
.ns-master-toggle.is-open .ns-master-toggle-icon {
    transform: rotate(180deg);
}

/* Shop */
.ns-product {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}

.ns-product-photo {
  height: 220px;
  flex-shrink: 0;
  background: #101311;
  background-size: cover;
  background-position: center;
}

.ns-product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px;

  h3 {
    margin: 0 0 8px;
    font-size: 18px;
  }

  p {
    color: var(--muted);
    margin: 0 0 18px;
    font-size: 14px;
    flex: 1;
  }
}

.ns-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

/* Gallery */
.ns-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 220px);
  gap: 10px;
}

.ns-gallery-item {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border: 1px solid transparent;
  transition: border-color 0.25s ease;

  &:hover {
    border-color: var(--accent);
  }
}

.ns-gallery-a {
  grid-column: 1 / 3;
  grid-row: 1 / 3;
}

/* Works */
.ns-works-panel {
  padding: 40px 12px 12px;
}

.ns-works {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 10px;
}

.ns-works-even {
  grid-auto-rows: 260px;
}

.ns-work {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border: 1px solid transparent;

  &:hover,
  &:focus-within {
    border-color: var(--accent);

    .ns-work-media {
      filter: grayscale(0) contrast(1.02);
      transform: scale(1.04);
    }

    .ns-work-meta {
      opacity: 1;
      transform: translateY(0);
    }

    .ns-work-book {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }
  }
}

.ns-work-wide {
  grid-column: span 2;
  grid-row: span 2;
}

.ns-work-media {
  position: absolute;
  inset: 0;
  display: block;
  background-size: cover;
  background-position: center top;
  filter: grayscale(1) contrast(1.05);
  transform: scale(1);
  transition: filter 0.35s ease, transform 0.45s ease;
}

.ns-work-meta {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 22px 16px 16px;
  background: linear-gradient(180deg, transparent, rgba(12, 14, 13, 0.9));
  color: var(--white);
  opacity: 0;
  transform: translateY(8px);
  transition: 0.25s ease;
  pointer-events: none;

  small {
    display: block;
    color: var(--white);
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
  }

  b {
    display: block;
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    margin: 3px 0 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

}

.ns-work-book {
  pointer-events: auto;
  min-height: 40px;
  padding: 0 16px;
  font-size: 12px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

/* Reviews */
.ns-reviews .uk-slider-items {
  align-items: stretch;
}

.ns-review {
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 32px;
  height: 100%;

  p {
    color: var(--muted);
    margin: 0 0 20px;
    flex: 1;
  }
}

.ns-stars {
  color: var(--accent);
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.ns-review-author {
  margin-top: auto;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Promo */
.ns-promo {
  background:
    linear-gradient(90deg, rgba(12, 14, 13, 0.88), rgba(71, 89, 76, 0.55)),
    url("https://images.unsplash.com/photo-1622286342621-4bd786c22792?auto=format&fit=crop&w=1800&q=80")
      center / cover;
  padding: 90px 0;
  text-align: center;

  h2 {
    font-size: clamp(32px, 5vw, 56px);
    margin-bottom: 12px;
  }

  p {
    color: var(--text);
    font-size: 18px;
    margin-bottom: 28px;
  }
}

/* Contacts */
#contacts.ns-section {
  padding-bottom: 0;
}

.ns-map {
  width: 100%;
  border: 0;
  border-top: 1px solid var(--paper-line);

  #yandex-map {
    width: 100%;
	height: 480px;
    border: 0;
	
	[class*="copyrights-promo"] {
	  display: none !important;
	}
	
	[class*="ground-pane"] {
		filter: grayscale(0.90);
	}
	
	
  }
}

.ns-contact-card {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 14px;
  background: transparent;
  border: 0;
  padding: 8px 8px 16px 0;
  height: auto;

  .ns-contact-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    margin-top: 2px;
    color: var(--accent);

    svg [stroke] {
      stroke: currentColor;
    }

    svg [fill]:not([fill="none"]) {
      fill: currentColor;
    }
  }

  .ns-contact-body {
    min-width: 0;
  }

  h3 {
    font-size: 18px;
    margin: 0 0 8px;
  }

  p,
  a {
    color: var(--muted);
    margin: 0;
  }

  a:hover {
    color: var(--white);
  }
}

.ns-section-light .ns-contact-card {
  background: transparent;
  border: 0;

  a:hover {
    color: var(--accent-deep);
  }
}

/* Footer */
.ns-footer {
  background: #24201c;
  border-top: 1px solid var(--line);
  padding: 48px 0 24px;
  color: var(--muted);

  a {
    color: var(--white);

    &:hover {
      color: var(--muted);
    }
  }
  
  .uk-icon svg {
	  width:25px;
	  height:25px;
	  fill: var(--white);
	  margin-right:5px;
	
		&:hover {
			fill: var(--muted);
		}	
	}
}
.ns-footer-title {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 18px;
  letter-spacing: 0.16em;
}

.ns-footer-phone,
.ns-footer-mail {
  color: var(--white) !important;
  font-family: "Oswald", sans-serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  text-transform: none;

  &:hover {
    color: var(--muted) !important;
  }
}

.ns-footer-copy {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}

/* Modal / form */
.ns-modal {
  background: var(--ink-soft);
  color: var(--text);

  .uk-modal-header,
  .uk-modal-body,
  .uk-modal-footer {
    background: var(--ink-soft);
    border-color: var(--line);
    color: var(--text);
  }

  .uk-modal-title,
  h2,
  .uk-form-label {
    color: var(--white);
  }

  .uk-modal-close-default {
    color: var(--text);

    &:hover {
      color: var(--white);
    }
  }

  .uk-input,
  .uk-select,
  .uk-textarea {
    background: var(--ink);
    border: 1px solid var(--line);
    color: var(--white);
    border-radius: 0;

    &:focus {
      border-color: var(--accent);
      background: var(--ink);
    }
  }
}

.ns-form-note {
  color: var(--muted);
  font-size: 13px;
}

.ns-success {
  display: none;
  text-align: center;
  padding: 24px 8px;

  &.is-visible {
    display: block;
  }
}

.ns-form.is-hidden {
  display: none;
}

/* Offcanvas */
.ns-offcanvas {
  background: #0c0e0da8;

  .uk-nav-default > li > a {
    color: var(--text);
    font-family: "Oswald", sans-serif;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    &:hover {
      color: var(--white);
    }
  }
  
  .phone {
	font-weight: 700;
	font-size:18px;	
  }
}

/* Slider nav */
.uk-slidenav {
  color: var(--white);
}

.uk-dotnav {
  > * > * {
    background: rgba(255, 255, 255, 0.25);
    border: 0;
  }

  > .uk-active > * {
    background: var(--accent);
  }
}

.ns-section-light .uk-dotnav {
  > * > * {
    background: rgba(71, 89, 76, 0.28);
  }

  > .uk-active > * {
    background: var(--accent);
  }
}

@media (max-width: 959px) {
  .ns-section {
    padding: 72px 0;
  }

  #contacts.ns-section {
    padding-bottom: 0;
  }

  .ns-about-photo,
  .ns-services-photo {
    min-height: 360px;
  }

  .ns-services-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .ns-price-tabs.uk-tab {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, 1fr);
  }

  .ns-works {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }

  .ns-work-wide {
    grid-column: span 2;
    grid-row: span 1;
  }

  .ns-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 220px 220px 180px 180px;
  }

  .ns-gallery-a {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  .ns-stats {
    grid-template-columns: 1fr;
  }

  .ns-ritual,
  .ns-cats {
        grid-auto-flow: row;
        grid-template-columns: 1fr 1fr;
  }

  .ns-offer {
    padding: 28px 0;
  }

  .ns-offer-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .ns-offer-copy {
    align-items: flex-start;

    strong {
      font-size: 18px;
      line-height: 1.25;
    }
  }

  .ns-offer .ns-btn {
    width: 100%;
  }

  .ns-ritual-section {
    background-size: cover;
    background-position: center center;
    background-attachment: scroll;
  }
  
  .ns-map #yandex-map {
    height: 350px;
  }
}

@media (max-width: 639px) {
  :root {
    --ns-header-h: 68px;
  }

  .ns-hero {
    height: 100vh;
    height: 100svh;
    max-height: none;
    min-height: 100vh;
    min-height: 100svh;
    margin-top: calc(-1 * var(--ns-header-h));
    overflow: hidden;

    h1 {
      font-size: clamp(28px, 8.4vw, 36px);
      margin-bottom: 10px;
    }

    p {
      font-size: 15px;
    }

    .uk-slideshow-items {
      height: 100% !important;
      min-height: 100%;
    }

    .uk-slideshow-items > * {
      height: 100%;
    }
  }

  .ns-hero-slider {
    height: 100%;
    min-height: 100%;
  }

  .ns-hero-layer {
    /* align-items: flex-end;*/
    padding: calc(var(--ns-header-h) + 8px) 0 calc(92px + env(safe-area-inset-bottom));
    box-sizing: border-box;
  }

  .ns-hero-content {
    padding: 0 0 8px;
  }

  .ns-hero-chips {
    margin-top: 12px;
    gap: 8px;
  }

  .ns-hero-actions {
    margin-top: 14px;
    gap: 10px;
  }

  .ns-hero-meta {
    margin-top: 16px;
    gap: 14px;

    > div:last-child {
      display: none;
    }
  }

  .ns-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 220px);
  }

  .ns-gallery-a {
    grid-column: auto;
    grid-row: auto;
  }

  .ns-price-list {
    padding: 22px 18px;
  }

  .ns-ritual,
  .ns-cats {
    grid-template-columns: 1fr;
  }

  .ns-works {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .ns-work-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .ns-work-meta,
  .ns-work-book {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .ns-work-media {
    filter: grayscale(0.35);
  }

  .ns-ritual-section {
    background-size: cover;
    background-position: 58% center;
  }


	.ns-master-slider {

		padding-bottom: 0px;
		
		.barber-nav  { display: none; }
		.barber-dots {
			display: flex;
			margin-top: 16px;
			
			.uk-active a {
				background-color:#ddd;
			}
		}

	}

  .ns-master-photo {
    height: 340px;
  }

  .ns-page {
    padding-bottom: 84px;
  }

  .ns-services-section::before {
    background-size: 360px 360px;
  }

  .ns-map #yandex-map {
    height: 320px;
  }

.yButton {display:none;} 
}
