/* ============================================================
   Argument Barbershop — Tyumen
   Palette: deep emerald / cream / ink / warm wood
   ============================================================ */

:root {
  --green-950: #121a15;
  --green-900: #16251d;
  --green-800: #1b3a2c;
  --green-700: #27503d;
  --green-600: #35624b;
  --green-100: #dfe9e1;
  --cream: #f2e6d2;
  --cream-2: #e6d5ba;
  --paper: #f8f0e1;
  --ink: #17130e;
  --muted: #6e6253;
  --wood: #c88c4f;
  --wood-light: #e3b17c;
  --rust: #a54a2f;
  --line: rgba(35, 25, 15, 0.16);
  --line-light: rgba(242, 230, 210, 0.2);
  --radius: 2px;
  --container: 1240px;
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Arial, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-num: "Playfair Display", Georgia, "Times New Roman", serif;
  --shadow: 0 18px 50px rgba(7, 30, 23, 0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

section[id] {
  scroll-margin-top: 96px;
}

body {
  margin: 0;
  font-variant-numeric: lining-nums;
  background-color: var(--paper);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E"),
    radial-gradient(1100px 650px at 88% -5%, rgba(200, 140, 79, 0.1), transparent 62%);
  background-repeat: repeat, no-repeat;
  background-size: 160px 160px, auto;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--wood), var(--rust));
  transform: scaleX(0);
  transform-origin: 0 50%;
  pointer-events: none;
}

body.menu-open,
body.lightbox-open {
  overflow: hidden;
}

body.menu-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 89;
  background: rgba(7, 30, 23, 0.45);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

em {
  font-style: italic;
}

::selection {
  background: var(--green-800);
  color: var(--cream);
}

:focus-visible {
  outline: 2px solid var(--wood);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 18px;
  background: var(--green-800);
  color: var(--cream);
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------------------------- Typography ---------------------------- */

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.7rem, 5.1vw, 4.9rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  text-transform: uppercase;
}

h1 em,
h2 em {
  font-family: var(--font-serif);
  font-weight: 600;
  font-style: italic;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--green-700);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--green-700);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.65;
}

.eyebrow--light {
  color: var(--cream-2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--green-800);
  transition: gap 0.25s var(--ease), color 0.25s;
}

.text-link svg {
  width: 16px;
  height: 16px;
}

.text-link:hover {
  gap: 14px;
  color: var(--green-600);
}

/* ---------------------------- Buttons ---------------------------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 24px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--green-800);
  color: var(--cream);
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: -2px;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.18) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--ease);
  pointer-events: none;
}

.btn--primary:hover::after {
  transform: translateX(120%);
}

.btn--primary:hover {
  background: var(--green-600);
  transform: translateY(-1px);
}

.btn--cream {
  background: var(--cream);
  color: var(--green-900);
}

.btn--cream:hover {
  background: #fffdf7;
  transform: translateY(-1px);
}

.btn--outline {
  border-color: var(--green-800);
  color: var(--green-800);
}

.btn--outline:hover {
  background: var(--green-800);
  color: var(--cream);
}

.btn--ghost-light {
  border-color: rgba(244, 240, 230, 0.38);
  color: var(--cream);
}

.btn--ghost-light:hover {
  border-color: var(--cream);
  background: rgba(244, 240, 230, 0.08);
}

.btn--sm {
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.7rem;
}

.btn--lg {
  min-height: 56px;
  padding: 17px 30px;
  font-size: 0.8rem;
}

.btn--full {
  width: 100%;
}

/* ---------------------------- Topbar ---------------------------- */

.topbar {
  background: #1b140e;
  color: rgba(242, 230, 210, 0.76);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 38px;
}

.topbar__info,
.topbar__links {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.topbar__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--wood);
  opacity: 0.9;
}

.topbar__links {
  gap: 18px;
}

.topbar__phone {
  color: var(--cream);
  font-weight: 600;
}

.topbar__social {
  color: rgba(244, 240, 230, 0.65);
  transition: color 0.2s;
}

.topbar__social:hover,
.topbar__phone:hover {
  color: #fff;
}

/* ---------------------------- Header ---------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
}

.header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(43, 27, 14, 0.09);
  background: rgba(248, 240, 225, 0.96);
  backdrop-filter: blur(10px);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 84px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo__mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: #fff8ea;
  border: 1px solid rgba(200, 140, 79, 0.4);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease);
}

.logo:hover .logo__mark {
  transform: rotate(-6deg);
}

.logo__mark img {
  width: 88%;
  height: auto;
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo__text strong {
  font-family: var(--font-serif);
  font-size: 1.48rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: #231a12;
}

.logo__text small {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: 0.56rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}
.nav > a {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  color: #3a3128;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--green-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav > a:hover,
.nav > a.is-active {
  color: var(--green-700);
}
.nav > a.is-active::after {
  transform: scaleX(1);
}
.nav > a:hover::after {
  transform: scaleX(1);
}

.nav__foot {
  display: none;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.header__phone {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--green-900);
  white-space: nowrap;
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.burger span {
  position: absolute;
  left: 13px;
  width: 17px;
  height: 1.5px;
  background: var(--green-900);
  transition: transform 0.25s var(--ease), opacity 0.2s, top 0.25s;
}

.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 26px; }

body.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------------------------- Hero ---------------------------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  min-height: min(calc(100vh - 122px), 840px);
  background: var(--paper);
  overflow: hidden;
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 70px 40px 56px max(32px, calc((100vw - var(--container)) / 2 + 32px));
  overflow: hidden;
}

.hero__hex {
  position: absolute;
  top: 50%;
  left: -160px;
  width: 520px;
  height: 520px;
  transform: translateY(-50%);
  color: var(--green-800);
  opacity: 0.07;
  pointer-events: none;
}

.hero__hex svg {
  width: 100%;
  height: 100%;
}

.hero .eyebrow,
.hero h1,
.hero__lead,
.hero__actions,
.hero__address,
.hero__stats {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 13ch;
}

.hero__lead {
  max-width: 46ch;
  margin-top: 26px;
  font-size: 1.04rem;
  line-height: 1.65;
  color: #4a4034;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero__address {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.hero__address svg {
  width: 16px;
  height: 16px;
  color: var(--green-700);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 46px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 560px;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 16px;
  border-left: 1px solid var(--line);
}

.hero__stats li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero__stats strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--green-900);
}

.hero__stats span {
  font-size: 0.68rem;
  line-height: 1.35;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__media {
  position: relative;
  min-width: 0;
  min-height: 540px;
  background: var(--green-900);
}

.hero__media picture {
  display: contents;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
  filter: sepia(0.22) saturate(1.04) contrast(1.02) brightness(0.94);
}

.hero__media::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 5px;
  background: repeating-linear-gradient(
    135deg,
    var(--wood) 0 8px,
    var(--green-900) 8px 16px,
    var(--cream) 16px 24px
  );
  opacity: 0.9;
  pointer-events: none;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(200, 140, 79, 0.18), transparent 45%),
    linear-gradient(180deg, rgba(27, 20, 14, 0.06) 30%, rgba(27, 20, 14, 0.58) 100%);
  box-shadow: inset 0 0 140px rgba(43, 26, 12, 0.32);
  pointer-events: none;
}

.hero__stamp {
  position: absolute;
  top: 24px;
  left: 26px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 116px;
  height: 116px;
  padding: 10px;
  border: 1px dashed rgba(242, 230, 210, 0.72);
  border-radius: 50%;
  background: rgba(27, 20, 14, 0.35);
  box-shadow: inset 0 0 0 5px rgba(242, 230, 210, 0.08);
  color: var(--cream);
  text-align: center;
  transform: rotate(-9deg);
  backdrop-filter: blur(3px);
}

.hero__stamp span {
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242, 230, 210, 0.72);
}

.hero__stamp strong {
  font-family: var(--font-num);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
}

.hero__stamp small {
  font-size: 0.48rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 230, 210, 0.62);
}

.hero__award {
  position: absolute;
  top: 26px;
  right: 26px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(247, 236, 217, 0.95);
  border: 1px solid rgba(200, 140, 79, 0.35);
  color: var(--green-900);
  box-shadow: 0 12px 30px rgba(43, 27, 14, 0.28);
}

.hero__award svg {
  width: 24px;
  height: 24px;
  color: var(--wood);
  flex-shrink: 0;
}

.hero__award span {
  display: flex;
  flex-direction: column;
  font-size: 0.62rem;
  line-height: 1.35;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__award strong {
  font-family: var(--font-display);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--green-900);
}

.hero__rating {
  position: absolute;
  left: -62px;
  bottom: 34px;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  width: 322px;
  padding: 18px 20px;
  background: #1b140e;
  border: 1px solid rgba(200, 140, 79, 0.3);
  color: var(--cream);
  box-shadow: 0 18px 45px rgba(43, 27, 14, 0.35);
  transition: transform 0.3s var(--ease);
}

.hero__rating:hover {
  transform: translateY(-4px);
}

.hero__rating-score {
  font-family: var(--font-num);
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
}

.hero__rating-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__rating-body small {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: rgba(244, 240, 230, 0.68);
}

.hero__rating-arrow {
  width: 20px;
  height: 20px;
  color: rgba(244, 240, 230, 0.7);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--wood);
}

.stars svg {
  width: 13px;
  height: 13px;
}

.stars--lg svg {
  width: 19px;
  height: 19px;
}

.hero__rating .stars,
.rating-card .stars {
  color: var(--wood);
}

/* ---------------------------- Ticker ---------------------------- */

.ticker {
  position: relative;
  overflow: hidden;
  background: #1b140e;
  color: var(--cream);
  border-top: 1px solid rgba(200, 140, 79, 0.5);
  border-bottom: 1px solid rgba(200, 140, 79, 0.5);
}

.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 72px;
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, #1b140e 12%, rgba(27, 20, 14, 0));
}

.ticker::after {
  right: 0;
  background: linear-gradient(270deg, #1b140e 12%, rgba(27, 20, 14, 0));
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
  will-change: transform;
}

.ticker__group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 15px 13px;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker__hex {
  color: var(--wood);
  font-size: 0.85rem;
  letter-spacing: 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-20%); }
}

/* ---------------------------- Sections ---------------------------- */

.section {
  padding: 104px 0;
}

.section--green {
  position: relative;
  background:
    radial-gradient(900px 520px at 85% 0%, rgba(200, 140, 79, 0.13), transparent 62%),
    var(--green-800);
  color: var(--cream);
}

.section--ink,
.section--espresso {
  background:
    radial-gradient(900px 520px at 20% 0%, rgba(200, 140, 79, 0.1), transparent 62%),
    #17110b;
  color: var(--cream);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 52px;
}

.section-head h2 {
  max-width: 17ch;
}

.section-head__text {
  max-width: 390px;
  padding-bottom: 6px;
  font-size: 0.94rem;
  line-height: 1.7;
  color: var(--muted);
}

.section-head--dark .section-head__text {
  color: rgba(244, 240, 230, 0.64);
}

/* ---------------------------- About ---------------------------- */

.about__inner {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 80px;
  align-items: center;
}

.about__copy h2 {
  max-width: 15ch;
}

.about__lead {
  margin-top: 26px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #2c342e;
}

.about__copy p + p {
  margin-top: 16px;
  color: var(--muted);
}

.about__copy .text-link {
  margin-top: 26px;
}

.about__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 186px;
  padding: 26px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background 0.25s;
}

.fact:hover {
  background: var(--cream);
}

.fact strong {
  font-family: var(--font-num);
  font-size: 3.4rem;
  font-weight: 600;
  line-height: 1;
  color: var(--green-800);
}

.fact strong span {
  margin-left: 4px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact p {
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--muted);
}

/* ---------------------------- Services ---------------------------- */

.services .section-head h2 {
  max-width: 22ch;
}

.services__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line-light);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab {
  padding: 9px 18px;
  border: 1px solid rgba(244, 240, 230, 0.26);
  border-radius: 40px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(244, 240, 230, 0.78);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.tab:hover {
  border-color: rgba(244, 240, 230, 0.6);
  color: var(--cream);
}

.tab.is-active {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--green-900);
}

.services__hint {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(244, 240, 230, 0.5);
  white-space: nowrap;
}

.price-groups {
  display: flex;
  flex-direction: column;
}

.price-group {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr);
  gap: 48px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-light);
}

.price-group:first-child {
  border-top: 1px solid var(--line-light);
}

.price-group[hidden] {
  display: none;
}

.price-group__head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.price-group__num {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--wood);
}

.price-group__head h3 {
  font-size: 1.45rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.price-group__head p {
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(244, 240, 230, 0.58);
}

.price-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 46px;
  align-content: start;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px dotted rgba(244, 240, 230, 0.22);
}

.price-name {
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(244, 240, 230, 0.94);
}

.price-name em {
  display: block;
  margin-top: 3px;
  font-size: 0.72rem;
  font-style: normal;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: rgba(244, 240, 230, 0.5);
}

.price {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.price-row--accent .price-name {
  color: #fff;
}

.price-row--accent .price {
  color: var(--wood-light);
}

.services__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 34px;
}

.services__foot p {
  max-width: 460px;
  font-size: 0.88rem;
  color: rgba(244, 240, 230, 0.62);
}

.services__foot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------------------------- Masters ---------------------------- */

.masters__grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 56px;
  align-items: stretch;
}

.masters__photo {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--green-900);
}

.masters__photo picture {
  display: contents;
}

.masters__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 26%;
  transition: transform 0.7s var(--ease);
}

.masters__photo:hover .masters__photo-img {
  transform: scale(1.025);
}

.masters__photo figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 44px 24px 22px;
  background: linear-gradient(180deg, rgba(7, 30, 23, 0) 0%, rgba(7, 30, 23, 0.78) 100%);
  color: var(--cream);
}

.masters__photo figcaption span {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.masters__photo figcaption small {
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: rgba(244, 240, 230, 0.65);
}

.masters__list {
  border-top: 1px solid var(--line);
}

.master {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 18px;
  padding: 15px 12px 15px 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.25s, padding 0.25s;
}

.master:hover {
  background: var(--cream);
  padding-left: 12px;
}

.master__num {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--wood);
}

.master__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.master__body strong {
  font-family: var(--font-display);
  font-size: 1.06rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.master__body small {
  font-size: 0.78rem;
  color: var(--muted);
}

.master__link {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--green-800);
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.master__link svg {
  width: 17px;
  height: 17px;
}

.master__link:hover {
  background: var(--green-800);
  border-color: var(--green-800);
  color: var(--cream);
  transform: translateX(3px);
}

.masters__note {
  margin-top: 26px;
  font-size: 0.74rem;
  color: var(--muted);
}

/* ---------------------------- Ritual ---------------------------- */

.ritual {
  position: relative;
  overflow: hidden;
  padding: 78px 0 80px;
  background:
    radial-gradient(800px 420px at 12% 25%, rgba(200, 140, 79, 0.12), transparent 62%),
    #1b140e;
  color: var(--cream);
}

.ritual__stripe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: repeating-linear-gradient(
    135deg,
    var(--wood) 0 8px,
    var(--green-800) 8px 16px,
    var(--cream) 16px 24px
  );
  opacity: 0.9;
}

.ritual__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.ritual h2 {
  max-width: 20ch;
  color: var(--cream);
}

.ritual__lead {
  max-width: 46ch;
  margin-top: 18px;
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(242, 230, 210, 0.68);
}

.ritual__quote {
  margin-top: 28px;
  padding-left: 20px;
  border-left: 2px solid var(--wood);
}

.ritual__quote p {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--cream);
}

.ritual__quote cite {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 230, 210, 0.48);
}

.ritual__list {
  display: flex;
  flex-direction: column;
}

.ritual__item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(242, 230, 210, 0.14);
}

.ritual__item:last-child {
  border-bottom: 1px solid rgba(242, 230, 210, 0.14);
}

.ritual__num {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-style: italic;
  color: var(--wood);
}

.ritual__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
}

.ritual__item p {
  margin-top: 4px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(242, 230, 210, 0.56);
}

/* ---------------------------- Gallery ---------------------------- */

.gallery .section-head {
  margin-bottom: 40px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 196px;
  gap: 10px;
}

.gallery__item {
  position: relative;
  display: block;
  overflow: hidden;
  padding: 0;
  background: #1b140e;
  text-align: left;
}

.gallery__item--hero {
  grid-column: span 7;
  grid-row: span 2;
}

.gallery__item:nth-child(2),
.gallery__item:nth-child(3) {
  grid-column: span 5;
}

.gallery__item:nth-child(4),
.gallery__quote {
  grid-column: span 6;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  filter: sepia(0.07) saturate(1.04) contrast(1.02);
  transition: transform 0.7s var(--ease);
}

.gallery__item--hero img {
  object-position: 50% 28%;
}

.gallery__item:hover img {
  transform: scale(1.045);
}

.gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 16px 13px;
  background: linear-gradient(180deg, rgba(27, 20, 14, 0) 0%, rgba(27, 20, 14, 0.78) 100%);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}

.gallery__item:hover .gallery__caption,
.gallery__item:focus-visible .gallery__caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery__quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 22px 26px;
  background:
    radial-gradient(300px 200px at 90% 10%, rgba(200, 140, 79, 0.15), transparent 70%),
    #22170f;
  border: 1px solid rgba(200, 140, 79, 0.2);
  color: var(--cream);
  overflow: hidden;
}

.gallery__quote-mark {
  margin-bottom: -6px;
  font-family: var(--font-serif);
  font-size: 2.8rem;
  line-height: 0.7;
  color: var(--wood);
}

.gallery__quote blockquote {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-style: italic;
  line-height: 1.35;
}

.gallery__quote cite {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-style: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 230, 210, 0.48);
}

/* ---------------------------- Reviews ---------------------------- */

.reviews__grid {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 32px;
  align-items: stretch;
}

.rating-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background:
    radial-gradient(300px 200px at 90% 8%, rgba(200, 140, 79, 0.16), transparent 70%),
    #1b140e;
  border: 1px solid rgba(200, 140, 79, 0.22);
  color: var(--cream);
}

.rating-card__label {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(244, 240, 230, 0.6);
}

.rating-card__score {
  margin: 16px 0 14px;
  font-family: var(--font-num);
  font-size: 5.4rem;
  font-weight: 600;
  line-height: 1;
}

.rating-card .stars {
  display: flex;
  margin-top: 2px;
}

.rating-card__body {
  display: flex;
  flex-direction: column;
}

.rating-card__count {
  margin-top: 12px;
  font-size: 0.82rem;
  color: rgba(244, 240, 230, 0.7);
}

.rating-card__award {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid rgba(200, 140, 79, 0.28);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--cream-2);
}

.rating-card .btn {
  margin-top: auto;
}

.reviews__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.review {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: #f5e9d6;
  border: 1px solid rgba(35, 25, 15, 0.1);
  transition:
    transform 0.35s var(--ease),
    border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.review:hover {
  transform: translateY(-4px);
  border-color: rgba(200, 140, 79, 0.38);
  box-shadow: 0 18px 40px rgba(43, 27, 14, 0.09);
}

.review__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.review__source {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.review blockquote {
  font-family: var(--font-serif);
  font-size: 1.17rem;
  font-style: italic;
  line-height: 1.45;
  color: #1d241f;
}

.review figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: auto;
  padding-top: 20px;
}

.review figcaption strong {
  font-size: 0.8rem;
  font-weight: 600;
}

.review figcaption span {
  font-size: 0.7rem;
  color: var(--muted);
}

/* ---------------------------- Booking ---------------------------- */

.booking {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 88% 10%, rgba(200, 140, 79, 0.16), transparent 62%),
    var(--green-800);
  color: var(--cream);
}

.booking__hex {
  position: absolute;
  top: 50%;
  right: -70px;
  width: 480px;
  height: 480px;
  transform: translateY(-50%);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%23f4f0e6' stroke-opacity='0.16'%3E%3Cpath d='M210 8 388 110v204L210 416 32 314V110L210 8Z'/%3E%3Cpath d='M210 58 348 138v146L210 366 72 284V138L210 58Z'/%3E%3Cpath d='M210 108 308 166v92l-98 58-98-58v-92l98-58Z'/%3E%3Cpath d='M32 110 210 212l178-102M32 314l178-102 178 102M210 8v204M210 212v204'/%3E%3C/g%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.6;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  pointer-events: none;
}

.booking__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  padding-top: 68px;
  padding-bottom: 68px;
}

.booking h2 {
  max-width: 22ch;
}

.booking__text {
  max-width: 480px;
  margin-top: 18px;
  font-size: 0.94rem;
  color: rgba(244, 240, 230, 0.66);
}

.booking__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex-shrink: 0;
}

.booking__phone {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.34rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--cream);
}

.booking__phone:hover {
  color: var(--wood);
}

.booking__actions > span {
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: rgba(244, 240, 230, 0.55);
}

/* ---------------------------- Contacts ---------------------------- */

.contacts__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: stretch;
}

.contact-list {
  border-top: 1px solid var(--line);
}

.contact-list__row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list dt {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 3px;
}

.contact-list dd {
  font-size: 0.98rem;
  line-height: 1.55;
  color: #1d241f;
}

.contact-list dd a {
  border-bottom: 1px solid rgba(20, 80, 60, 0.35);
  transition: border-color 0.2s, color 0.2s;
}

.contact-list dd a:hover {
  color: var(--green-700);
  border-color: var(--green-700);
}

.contact-list__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.contacts__perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  margin-top: 26px;
}

.contacts__perks li {
  position: relative;
  padding-left: 18px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--muted);
}

.contacts__perks li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--wood);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.contacts__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.contacts__map {
  display: flex;
  flex-direction: column;
  min-height: 470px;
}

.map {
  position: relative;
  flex: 1;
  min-height: 440px;
  background: #dfe5dd;
  border: 1px solid var(--line);
  overflow: hidden;
  z-index: 0;
}

.map__fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--muted);
  background: var(--cream);
}

.map__fallback a {
  color: var(--green-700);
  border-bottom: 1px solid currentColor;
}

.map .leaflet-container {
  font-family: var(--font-body);
  background: #dfe5dd;
}

.map .leaflet-control-attribution {
  font-size: 10px;
  background: rgba(251, 248, 241, 0.85);
}

.map .leaflet-control-attribution a {
  color: var(--green-700);
}

.map-pin {
  background: none;
  border: 0;
}

.map-pin span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--green-800);
  border: 3px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(7, 30, 23, 0.45);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
}

.map .leaflet-popup-content-wrapper {
  border-radius: 2px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.map .leaflet-popup-content {
  margin: 14px 16px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.map .leaflet-popup-content strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

.map .leaflet-popup-content a {
  color: var(--green-700);
  border-bottom: 1px solid currentColor;
}

.contacts__map-note {
  margin-top: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ---------------------------- Footer ---------------------------- */

.footer {
  background: #1b140e;
  color: rgba(242, 230, 210, 0.64);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 56px;
  padding-top: 64px;
  padding-bottom: 48px;
}

.logo--footer .logo__mark {
  border-color: rgba(244, 240, 230, 0.25);
}

.logo--footer .logo__text strong {
  color: var(--cream);
}

.logo--footer .logo__text small {
  color: rgba(244, 240, 230, 0.5);
}

.footer__brand p {
  max-width: 330px;
  margin-top: 20px;
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-style: italic;
  line-height: 1.45;
  color: rgba(244, 240, 230, 0.72);
}

.footer__label {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--wood);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.footer__nav a {
  width: fit-content;
  transition: color 0.2s;
}

.footer__nav a:hover,
.footer__contacts a:hover {
  color: var(--cream);
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.88rem;
}

.footer__contacts a[href^="tel"] {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
}

.footer__socials {
  display: flex;
  gap: 8px;
  margin-top: 16px;
}

.footer__socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(244, 240, 230, 0.24);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.footer__socials a:hover {
  background: var(--wood);
  border-color: var(--wood);
  color: #1b140e;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 22px;
  border-top: 1px solid rgba(244, 240, 230, 0.14);
  font-size: 0.72rem;
  color: rgba(244, 240, 230, 0.45);
}

.footer__bottom a {
  border-bottom: 1px solid rgba(244, 240, 230, 0.25);
}

.footer__bottom a:hover {
  color: var(--cream);
}

.footer__demo {
  padding: 3px 9px;
  border: 1px solid rgba(244, 240, 230, 0.25);
  border-radius: 30px;
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------------------------- Mobile CTA ---------------------------- */

.mobile-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  display: none;
  gap: 8px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 248, 241, 0.97);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.mobile-cta .btn {
  flex: 1;
  min-height: 46px;
}

/* ---------------------------- Lightbox ---------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background: rgba(20, 12, 8, 0.95);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s var(--ease), visibility 0s linear 0.35s;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.35s var(--ease), visibility 0s;
}

.lightbox__figure {
  max-width: min(1100px, 88vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.lightbox.is-open .lightbox__figure {
  opacity: 1;
  transform: scale(1);
}

.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox__caption {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244, 240, 230, 0.7);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(244, 240, 230, 0.28);
  border-radius: 50%;
  color: var(--cream);
  transition: background 0.2s, color 0.2s;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--cream);
  color: var(--green-900);
}

.lightbox__close svg,
.lightbox__nav svg {
  width: 22px;
  height: 22px;
}

.lightbox__close {
  top: 24px;
  right: 24px;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* ---------------------------- Motion ---------------------------- */

@keyframes riseIn {
  from { opacity: 0; transform: translate3d(0, 26px, 0); }
  to { opacity: 1; transform: none; }
}

@keyframes heroImageIn {
  from { opacity: 0; transform: scale(1.07); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes stampIn {
  from { opacity: 0; transform: rotate(-18deg) scale(0.86); }
  to { opacity: 1; transform: rotate(-9deg) scale(1); }
}

@keyframes drawLine {
  to { transform: scaleX(1); }
}

@keyframes hexDrift {
  from { transform: rotate(0deg) scale(1); }
  to { transform: rotate(5deg) scale(1.03); }
}

@keyframes groupIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.hero h1 em {
  position: relative;
  display: inline-block;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  right: 1%;
  bottom: -0.08em;
  left: 1%;
  height: 0.035em;
  border-radius: 999px;
  background: var(--wood);
  opacity: 0.85;
  transform: scaleX(0);
  transform-origin: left center;
}

.js .hero .eyebrow { animation: riseIn 0.75s var(--ease) 0.05s both; }
.js .hero h1 { animation: riseIn 0.85s var(--ease) 0.14s both; }
.js .hero h1 em::after { animation: drawLine 0.9s var(--ease) 1s forwards; }
.js .hero__lead { animation: riseIn 0.85s var(--ease) 0.26s both; }
.js .hero__actions { animation: riseIn 0.85s var(--ease) 0.36s both; }
.js .hero__address { animation: riseIn 0.8s var(--ease) 0.46s both; }
.js .hero__stats { animation: riseIn 0.85s var(--ease) 0.56s both; }
.js .hero__media picture img { animation: heroImageIn 1.5s var(--ease) 0.08s both; }
.js .hero__stamp { animation: stampIn 0.9s var(--ease) 0.72s both; }
.js .hero__award { animation: riseIn 0.8s var(--ease) 0.82s both; }
.js .hero__rating { animation: riseIn 0.8s var(--ease) 0.9s both; }
.js .hero__hex svg { animation: hexDrift 24s ease-in-out infinite alternate; transform-origin: center; }

.js .reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 0.85s var(--ease),
    transform 0.85s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal--left { transform: translate3d(-30px, 0, 0); }
.js .reveal--right { transform: translate3d(30px, 0, 0); }

.js .reveal--left.is-visible,
.js .reveal--right.is-visible {
  transform: none;
}

.js .masters__photo.reveal {
  opacity: 1;
  transform: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.25s var(--ease);
}

.js .masters__photo.reveal.is-visible {
  clip-path: inset(0);
}

.js .gallery__item img { transform: scale(1.06); }
.js .gallery__item.is-visible img { transform: scale(1); }
.js .gallery__item.is-visible:hover img { transform: scale(1.045); }

.js .master:nth-child(2),
.js .fact:nth-child(2),
.js .reviews__list .review:nth-child(2),
.js .gallery__grid > *:nth-child(2),
.js .ritual__item:nth-child(2) { --reveal-delay: 70ms; }

.js .master:nth-child(3),
.js .fact:nth-child(3),
.js .reviews__list .review:nth-child(3),
.js .gallery__grid > *:nth-child(3),
.js .ritual__item:nth-child(3) { --reveal-delay: 140ms; }

.js .master:nth-child(4),
.js .fact:nth-child(4),
.js .reviews__list .review:nth-child(4),
.js .gallery__grid > *:nth-child(4) { --reveal-delay: 210ms; }

.js .master:nth-child(5),
.js .gallery__grid > *:nth-child(5) { --reveal-delay: 280ms; }
.js .master:nth-child(6) { --reveal-delay: 350ms; }
.js .master:nth-child(7) { --reveal-delay: 420ms; }

.js .review:hover {
  transition-delay: 0ms;
}

.js .review.is-visible:hover {
  transform: translateY(-4px);
}

.price-group:not([hidden]) {
  animation: groupIn 0.45s var(--ease);
}

/* ---------------------------- Responsive ---------------------------- */

@media (max-width: 1180px) {
  .nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    width: min(420px, 86vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    padding: 110px 34px calc(40px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--paper);
    box-shadow: -20px 0 60px rgba(7, 30, 23, 0.2);
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    margin-left: 0;
  }

  body.menu-open .nav {
    display: flex;
    transform: translateX(0);
  }

  body.menu-open .header {
    z-index: 101;
  }

  body.menu-open .logo {
    position: relative;
    z-index: 102;
  }

  .nav__foot {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .nav__foot-phone {
    font-family: var(--font-num);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.1;
    color: var(--green-800);
  }

  .nav__foot-meta {
    margin-bottom: 14px;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--muted);
  }

  .nav__foot .btn {
    width: 100%;
  }

  .nav__foot-socials {
    display: flex;
    gap: 8px;
    margin-top: 16px;
  }

  .nav__foot-socials a {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 40px;
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--green-800);
    transition: background 0.25s, color 0.25s, border-color 0.25s;
  }

  .nav__foot-socials a:hover {
    background: var(--green-800);
    border-color: var(--green-800);
    color: var(--cream);
  }
.nav > a {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
.nav > a::after {
    display: none;
  }

  .burger {
    display: block;
    z-index: 101;
  }

  .header__actions {
    margin-left: auto;
  }

  .header__book {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero h1 {
    max-width: none;
  }

  .hero__media img {
    object-position: 60% 20%;
  }

  .hero__award {
    display: none;
  }

  .hero__rating {
    display: none;
  }

  .hero__content {
    padding-left: 40px;
  }

  .about__inner {
    gap: 48px;
  }

  .masters__grid {
    gap: 36px;
  }

  .reviews__grid {
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 24px;
  }

  .review {
    padding: 20px;
  }
}

@media (max-width: 980px) {
  .section {
    padding: 82px 0;
  }

  .container {
    padding: 0 26px;
  }

  .hero {
    grid-template-columns: 1fr 0.82fr;
    max-height: none;
  }

  .hero__content {
    padding: 56px 30px 44px 26px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 5.6vw, 3.6rem);
  }

  .hero__lead {
    font-size: 0.96rem;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 0;
    padding-top: 36px;
  }

  .hero__stats li:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hero__rating {
    left: 20px;
    bottom: 20px;
    width: 290px;
  }

  .hero__award {
    top: 16px;
    right: 16px;
    padding: 10px 12px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 38px;
  }

  .section-head__text {
    max-width: 540px;
    padding-bottom: 0;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about__copy h2 {
    max-width: 20ch;
  }

  .about__facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .fact {
    min-height: 150px;
    padding: 20px;
  }

  .fact strong {
    font-size: 2.6rem;
  }

  .price-group {
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 32px;
  }

  .price-list {
    grid-template-columns: 1fr;
  }

  .masters__grid {
    grid-template-columns: 1fr;
  }

  .masters__photo {
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .masters__photo-img {
    object-position: 50% 30%;
  }

  .gallery__grid {
    grid-auto-rows: 160px;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .rating-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 26px;
    padding: 24px 28px;
  }

  .rating-card__label { display: none; }
  .rating-card__score { margin-top: 0; font-size: 4rem; }
  .rating-card__body { flex: 1; }
  .rating-card__count { margin-top: 2px; }
  .rating-card__award { margin-top: 10px; padding-top: 0; border-top: 0; }
  .rating-card .btn { margin-top: 0; width: auto; flex-shrink: 0; }

  .contacts__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .contacts__map {
    min-height: 420px;
  }

  .map {
    min-height: 400px;
  }

  .footer__inner {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 32px;
  }

  .booking__inner {
    gap: 32px;
  }

  .ritual {
    padding: 64px 0 66px;
  }

  .ritual__inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .ritual h2 {
    max-width: none;
  }

  .ritual__quote {
    max-width: 600px;
  }
}

@media (max-width: 760px) {
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .container {
    padding: 0 20px;
  }

  .topbar__info span:nth-child(3),
  .topbar__info span:nth-child(4),
  .topbar__social {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
  }

  .topbar__links {
    display: none;
  }

  .topbar__info {
    justify-content: center;
  }

  .header__inner {
    min-height: 72px;
    gap: 12px;
  }

  .logo__mark {
    width: 46px;
    height: 46px;
  }

  .logo__text strong {
    font-size: 1.24rem;
  }

  .logo__text small {
    font-size: 0.5rem;
    letter-spacing: 0.2em;
  }

  .header__actions {
    margin-left: auto;
  }

  .header__phone {
    display: none;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .hero__content {
    padding: 42px 20px 36px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10.2vw, 3.1rem);
    max-width: none;
  }

  .hero__lead {
    margin-top: 20px;
    font-size: 0.94rem;
  }

  .hero__actions {
    margin-top: 26px;
  }

  .hero__actions .btn {
    flex: 1;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 0.72rem;
  }

  .hero__stats {
    padding-top: 34px;
  }

  .hero__media {
    min-height: 0;
    height: 340px;
  }

  .hero__media img {
    object-position: 50% 15%;
  }

  .hero__rating {
    display: none;
  }

  .hero__stamp {
    top: 14px;
    right: 14px;
    left: auto;
    width: 92px;
    height: 92px;
    padding: 8px;
  }

  .hero__stamp span {
    font-size: 0.44rem;
  }

  .hero__stamp strong {
    font-size: 1.22rem;
  }

  .hero__stamp small {
    font-size: 0.42rem;
    letter-spacing: 0.08em;
  }

  .hero__rating {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    padding: 14px 16px;
  }

  .hero__rating-score {
    font-size: 2rem;
  }

  .hero__award {
    top: 14px;
    right: 14px;
  }

  .ticker__group {
    padding: 12px 10px;
    font-size: 0.68rem;
    gap: 20px;
  }

  .section {
    padding: 64px 0;
  }

  .eyebrow {
    margin-bottom: 16px;
  }

  .section-head {
    margin-bottom: 30px;
  }

  .about__facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact {
    min-height: 136px;
    padding: 18px;
  }

  .fact strong {
    font-size: 2.3rem;
  }

  .fact p {
    font-size: 0.78rem;
  }

  .services__toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .services .section-head h2 {
    max-width: 26ch;
    font-size: clamp(1.65rem, 7vw, 2rem);
  }

  .services__hint {
    white-space: normal;
  }

  .tabs {
    flex-wrap: nowrap;
    gap: 5px;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tabs.is-scrollable {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent 100%);
    mask-image: linear-gradient(90deg, #000 calc(100% - 34px), transparent 100%);
  }

  .tab {
    flex: 0 0 auto;
    padding: 8px 10px;
    font-size: 0.62rem;
  }

  .price-group {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 0;
  }

  .price-group__head {
    gap: 6px;
  }

  .price-group__head h3 {
    font-size: 1.25rem;
  }

  .price-row {
    padding: 11px 0;
  }

  .price-name {
    font-size: 0.88rem;
  }

  .price {
    font-size: 0.9rem;
  }

  .services__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .services__foot-actions {
    width: 100%;
    flex-direction: column;
  }

  .services__foot-actions .btn {
    flex: none;
    width: 100%;
  }

  .masters__photo {
    aspect-ratio: 3 / 2;
  }

  .masters__grid {
    gap: 32px;
  }

  .js .masters__photo.reveal {
    clip-path: none;
  }

  .masters__photo figcaption {
    justify-content: flex-end;
    text-align: right;
  }

  .masters__photo figcaption small {
    display: none;
  }

  .master {
    grid-template-columns: 34px minmax(0, 1fr) 40px;
    gap: 12px;
    padding: 13px 0;
  }

  .master__body strong {
    font-size: 0.98rem;
  }

  .master__body small {
    font-size: 0.72rem;
  }

  .master__link {
    width: 38px;
    height: 38px;
  }

  .gallery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 130px;
    gap: 7px;
  }

  .gallery__item,
  .gallery__item--hero,
  .gallery__item:nth-child(2),
  .gallery__item:nth-child(3),
  .gallery__item:nth-child(4),
  .gallery__item:nth-child(5),
  .gallery__item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery__item--hero {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery__item:nth-child(4),
  .gallery__quote {
    grid-column: span 2;
  }

  .gallery__quote {
    padding: 14px 16px;
    gap: 4px;
  }

  .gallery__quote-mark {
    margin-bottom: -2px;
    font-size: 2rem;
  }

  .gallery__quote blockquote {
    font-size: 1rem;
    line-height: 1.3;
  }

  .gallery__quote cite {
    font-size: 0.55rem;
  }

  .gallery__caption {
    opacity: 1;
    transform: none;
    padding: 26px 10px 9px;
    font-size: 0.56rem;
  }

  .reviews__list {
    grid-template-columns: 1fr;
  }

  .rating-card {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .rating-card__label { display: block; }
  .rating-card__score { font-size: 4.4rem; }
  .rating-card__body { width: 100%; }
  .rating-card .btn {
    width: 100%;
    margin-top: 16px;
  }

  .ritual {
    padding: 52px 0 54px;
  }

  .ritual__quote p {
    font-size: 1.15rem;
  }

  .ritual__item {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 15px 0;
  }

  .booking__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
    padding-top: 52px;
    padding-bottom: 52px;
  }

  .booking__actions {
    width: 100%;
  }

  .booking__actions .btn {
    width: 100%;
  }

  .contact-list__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 13px 0;
  }

  .contacts__perks {
    grid-template-columns: 1fr;
  }

  .map {
    min-height: 360px;
  }

  .contacts__map {
    min-height: 380px;
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 48px;
    padding-bottom: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .mobile-cta {
    display: flex;
  }

  body.menu-open .mobile-cta,
  body.lightbox-open .mobile-cta {
    display: none;
  }

  .lightbox {
    padding: 14px;
  }

  .lightbox__close,
  .lightbox__nav {
    width: 40px;
    height: 40px;
  }

  .lightbox__close {
    top: 14px;
    right: 14px;
  }

  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
}

@media (max-width: 400px) {
  .tab {
    padding: 8px;
    font-size: 0.6rem;
    letter-spacing: 0.05em;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
  }

  .hero__rating {
    grid-template-columns: auto 1fr;
  }

  .hero__rating-arrow {
    display: none;
  }

  .logo__text small {
    letter-spacing: 0.14em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }

  .js .hero .eyebrow,
  .js .hero h1,
  .js .hero__lead,
  .js .hero__actions,
  .js .hero__address,
  .js .hero__stats,
  .js .hero__media picture img,
  .js .hero__stamp,
  .js .hero__award,
  .js .hero__rating {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .js .hero h1 em::after {
    animation: none;
    transform: scaleX(1);
  }

  .js .hero__hex svg,
  .js .gallery__item img {
    animation: none;
    transform: none;
  }

  .js .masters__photo.reveal {
    clip-path: inset(0);
  }

  .ticker__track {
    animation: none;
  }
}
