:root {
  --bg: #fefae0;
  --bg-soft: #f5f0cc;
  --bg-card: #f3edc4;
  --header-bg: #98995a;
  --header-text: #fefae0;
  --header-text-muted: rgba(254, 250, 224, 0.78);
  --header-line: rgba(254, 250, 224, 0.28);
  --text: #381d03;
  --text-muted: rgba(56, 29, 3, 0.68);
  --accent: #c9a882;
  --accent-dark: #b08d67;
  --line: #e5dfbf;
  --white: #ffffff;
  --price-text: rgb(174, 66, 65);
  --price-text-dark: rgb(148, 52, 51);
  --font-heading: "Garine", sans-serif;
}

@font-face {
  font-family: "Garine";
  src:
    local("Garine Second"),
    local("Garine-Second"),
    url("../fonts/Garine-Second.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

h1,
h2,
h3,
h4,
.section-title,
.hero-subtitle,
.experience-logo {
  font-family: var(--font-heading);
  font-weight: 400;
}

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

#site-header {
  display: contents;
}

/* Header */
.header {
  background: var(--header-bg);
  border-bottom: 1px solid var(--header-line);
  color: var(--header-text);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  transition: box-shadow 0.3s ease;
}

.header.is-scrolled {
  box-shadow: 0 8px 32px rgba(56, 29, 3, 0.12);
}

.header .container {
  position: relative;
}

.header-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 18px 0 14px;
}

.brand--header {
  text-align: center;
}

.header-logo {
  position: absolute;
  left: 180px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  flex-shrink: 0;
  line-height: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.header-logo:hover {
  opacity: 0.88;
  transform: translateY(calc(-50% - 1px));
}

.header-logo img {
  display: block;
  height: 58px;
  width: auto;
  filter:
    drop-shadow(0 0 0.35px rgba(255, 255, 255, 0.45))
    drop-shadow(1px 0 0 rgba(255, 255, 255, 0.35))
    drop-shadow(-1px 0 0 rgba(255, 255, 255, 0.35))
    drop-shadow(0 1px 0 rgba(255, 255, 255, 0.35))
    drop-shadow(0 -1px 0 rgba(255, 255, 255, 0.35));
}

.nav-toggle {
  display: none;
}

.header-right {
  position: absolute;
  right: 0;
  top: 0;
  min-height: 104px;
  padding: 18px 0 14px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 28px;
  z-index: 1;
}

.header-top .header-contacts {
  position: absolute;
  right: 168px;
  top: 0;
  min-height: 104px;
  padding: 18px 0 14px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  z-index: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-text h1 {
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header .brand-text h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
}

.brand-text p {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.header .brand-text p {
  color: var(--header-text-muted);
}

.header-contacts {
  text-align: right;
  font-size: 12px;
  color: var(--text-muted);
}

.header .header-contacts {
  color: var(--header-text-muted);
}

.header-city {
  display: block;
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1.35;
  margin-bottom: 0;
  color: var(--header-text-muted);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.25s ease;
}

.header-city-line {
  display: inline;
}

.header-city:hover {
  color: var(--white);
}

.header-phone {
  display: block;
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 0;
  transition: color 0.25s ease;
}

.header-contacts .social-row {
  margin-top: 2px;
}

.header-contacts .social-link img {
  width: 24px;
  height: 24px;
}

.header .header-phone {
  color: var(--header-text);
}

.header-phone:hover {
  color: var(--accent-dark);
}

.header .header-phone:hover {
  color: var(--white);
}

.social-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.social-link {
  display: block;
  flex-shrink: 0;
  line-height: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.social-link:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.social-link img {
  display: block;
  width: 28px;
  height: 28px;
}

.header-actions {
  display: flex;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn small {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  opacity: 0.92;
}

.nav {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.header .nav {
  border-top-color: var(--header-line);
}

.nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(14px, 1.6vw, 22px);
}

.nav a {
  font-size: clamp(9px, 0.95vw, 11px);
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.header .nav a {
  color: var(--header-text-muted);
}

.nav a:hover {
  color: var(--accent-dark);
}

.nav a.is-active {
  color: var(--accent-dark);
}

.header .nav a:hover {
  color: var(--header-text);
}

.header .nav a.is-active {
  color: var(--header-text);
}

.nav-mobile-booking {
  display: none;
}

/* Legal page */
.legal-page {
  padding: 56px 0 72px;
}

.legal-content {
  max-width: 760px;
}

.legal-title {
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.legal-updated {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.legal-section + .legal-section {
  margin-top: 28px;
}

.legal-section h2 {
  font-size: 18px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.legal-section p,
.legal-section li {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-muted);
}

.legal-section ul {
  margin: 10px 0 0 20px;
}

.legal-section a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contacts page */
.contacts-page {
  padding: 56px 0 40px;
}

.contacts-content {
  max-width: 880px;
}

.contacts-title {
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.contacts-lead {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 640px;
}

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

.contacts-card {
  padding: 22px 24px;
  border: 1px solid rgba(139, 115, 85, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.55);
}

.contacts-card--wide {
  grid-column: 1 / -1;
}

.contacts-card-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}

.contacts-card-value {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
}

.contacts-card-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

.contacts-card-value a:hover {
  color: var(--accent-dark);
}

.contacts-address {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts-messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.contacts-messenger {
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contacts-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

/* Stub page */
.stub-page {
  padding: 0;
}

body[data-page="price"] .stub-page {
  background-color: var(--bg);
  background-image: repeating-linear-gradient(
    to right,
    var(--header-bg) 0,
    var(--header-bg) 20px,
    var(--bg) 20px,
    var(--bg) 60px
  );
}

body[data-page="price"] .stub-content {
  max-width: min(1040px, 100%);
}

.price-mobile-booking {
  display: none;
}

@media (max-width: 980px) {
  .price-mobile-booking {
    display: flex;
    justify-content: center;
    padding: 16px 16px 24px;
  }

  .btn--price-booking {
    width: min(100%, 320px);
    padding: 14px 24px;
    text-align: center;
  }

  .btn--price-booking span {
    text-align: center;
  }

  body[data-page="price"] .price-card {
    cursor: default;
  }

  body[data-page="price"] .price-card:hover {
    z-index: 1;
    transform: none;
    filter: none;
  }

  body[data-page="price"] .price-card:focus-visible {
    outline: none;
  }
}

.price-card {
  flex: 0 1 480px;
  width: 100%;
  max-width: 480px;
  position: relative;
  z-index: 1;
  overflow: visible;
  padding-bottom: 12%;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.price-card:hover {
  z-index: 3;
  transform: scale(1.02);
  filter: drop-shadow(0 8px 20px rgba(56, 29, 3, 0.18));
}

.price-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.price-gallery {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 72px;
  overflow: visible;
}

.price-banner-wrap {
  position: relative;
  width: 100%;
  overflow: visible;
}

.price-banner {
  display: block;
  width: 100%;
  height: auto;
}

.price-banner--flip {
  transform: scaleX(-1);
}

.price-banner-wrap--menu .price-menu {
  position: absolute;
  top: 17%;
  right: 18%;
  bottom: 23%;
  left: 17%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  color: rgb(174, 66, 65);
  text-align: center;
}

.price-menu-head {
  text-align: center;
  margin-bottom: 0;
  flex-shrink: 0;
  width: 100%;
}

.price-menu-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  color: rgb(174, 66, 65);
}

.price-menu-section + .price-menu-section {
  margin-top: 0;
}

.price-menu-section {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  width: 100%;
  min-height: 0;
}

.price-menu-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(174, 66, 65);
}

.price-menu-section-title::before,
.price-menu-section-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(174, 66, 65, 0.25);
}

.price-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

.price-menu-item {
  width: 100%;
}

.price-menu-item + .price-menu-item {
  margin-top: 0;
}

.price-menu-item-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
  width: 100%;
  margin-bottom: 4px;
}

.price-menu-item-name {
  flex: 1;
  min-width: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.2;
  color: rgb(174, 66, 65);
}

.price-menu-item-leader {
  flex: 0 1 24px;
  min-width: 8px;
  height: 1px;
  margin-bottom: 2px;
  background-image: radial-gradient(circle, rgba(174, 66, 65, 0.45) 1px, transparent 1px);
  background-size: 4px 1px;
  background-repeat: repeat-x;
  background-position: left bottom;
}

.price-menu-item-price {
  flex-shrink: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  color: rgb(174, 66, 65);
}

.price-menu-note {
  margin: 0;
  padding-top: 4px;
  flex-shrink: 0;
  width: 100%;
  border-top: 1px solid rgba(174, 66, 65, 0.2);
  font-family: "Montserrat", sans-serif;
  font-size: 8px;
  font-style: italic;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: rgb(174, 66, 65);
  text-align: center;
}

.price-banner-wrap--contraindications {
  overflow: visible;
}

.price-gallery .price-card:first-child {
  z-index: 2;
}

.price-contraindications-corner {
  position: absolute;
  top: auto;
  bottom: 22%;
  right: 19%;
  left: 19%;
  z-index: 2;
  margin: 0;
  padding-right: 3px;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  font-size: 8.2px;
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-align: right;
  color: rgb(174, 66, 65);
  overflow-wrap: anywhere;
  word-break: break-word;
  pointer-events: none;
}

.price-banner-wrap--contraindications .price-contraindications {
  position: absolute;
  top: 16%;
  right: 17%;
  bottom: 24%;
  left: 18%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  color: rgb(174, 66, 65);
  text-align: left;
}

.price-contraindications-head {
  flex-shrink: 0;
  margin-bottom: 2px;
  text-align: center;
  width: 100%;
}

.price-banner-wrap--contraindications .price-contraindications-head .price-menu-title {
  font-size: 21.1px;
  line-height: 1.1;
  letter-spacing: 0.06em;
}

.price-contraindications-list {
  list-style: none;
  margin: 0;
  padding: 0 2px 0 2%;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.price-contraindications-list::-webkit-scrollbar {
  display: none;
}

.price-contraindications-item {
  margin: 0;
  flex-shrink: 0;
  min-height: 0;
}

.price-contraindications-item-title {
  margin: 0 0 1px;
  font-family: "Montserrat", sans-serif;
  font-size: 11.2px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
  color: rgb(174, 66, 65);
}

.price-contraindications-item-text {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 9.8px;
  font-weight: 400;
  line-height: 1.32;
  letter-spacing: 0.01em;
  color: rgba(174, 66, 65, 0.92);
  overflow-wrap: anywhere;
}

.price-decor {
  position: absolute;
  left: 50%;
  top: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 33.33%;
  transform: translate(-50%, -36%);
  pointer-events: none;
  z-index: 20;
}

.price-pimple {
  display: block;
  width: 27.5%;
  height: auto;
  position: relative;
  z-index: 22;
}

.price-brushes {
  display: block;
  width: 100%;
  height: auto;
  margin-top: -8%;
  position: relative;
  z-index: 21;
  transform-origin: top center;
  animation: price-brushes-sway 3.2s ease-in-out infinite;
}

.price-brushes--flip {
  animation: price-brushes-sway-flip 3.2s ease-in-out infinite;
}

.price-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.price-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.price-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(56, 29, 3, 0.88);
}

.price-lightbox-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(254, 250, 224, 0.35);
  border-radius: 50%;
  background: rgba(56, 29, 3, 0.55);
  color: var(--header-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.price-lightbox-close:hover {
  background: rgba(56, 29, 3, 0.75);
  transform: scale(1.05);
}

.price-lightbox-stage {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: 100%;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.price-lightbox-stage .price-card {
  flex: none;
  width: 100%;
  max-width: none;
  margin: 0;
  padding-bottom: 12%;
  cursor: default;
  transform: none;
  filter: none;
  pointer-events: none;
}

.price-lightbox-stage .price-card:hover {
  transform: none;
  filter: none;
}

.price-lightbox .price-menu-title {
  font-size: 22px;
}

.price-lightbox .price-menu-section-title {
  font-size: 12px;
  margin-bottom: 10px;
}

.price-lightbox .price-menu-item-name {
  font-size: 11px;
}

.price-lightbox .price-menu-item-price {
  font-size: 14px;
  font-weight: 700;
}

.price-lightbox .price-menu-note {
  font-size: 10px;
}

.price-lightbox .price-banner-wrap--menu .price-menu {
  top: 17%;
  right: 18%;
  bottom: 23%;
  left: 17%;
}

.price-lightbox .price-banner-wrap--contraindications .price-menu-title {
  font-size: 21.1px;
  letter-spacing: 0.06em;
}

.price-lightbox .price-contraindications-item-title {
  font-size: 11.2px;
}

.price-lightbox .price-contraindications-item-text {
  font-size: 9.8px;
}

.price-lightbox .price-contraindications-list {
  gap: 8px;
  padding-left: 2%;
  overflow-y: hidden;
}

.price-lightbox .price-banner-wrap--contraindications .price-contraindications {
  top: 16%;
  right: 17%;
  bottom: 24%;
  left: 18%;
}

.price-lightbox .price-banner-wrap--contraindications .price-contraindications-head .price-menu-title {
  font-size: 21.1px;
  line-height: 1.1;
  letter-spacing: 0.06em;
}

.price-lightbox .price-contraindications-corner {
  font-size: 8.2px;
  bottom: 22%;
  right: 19%;
  left: 19%;
}

body.is-price-lightbox-open {
  overflow: hidden;
}

@keyframes price-brushes-sway {
  0%,
  100% {
    transform: rotate(-3.5deg);
  }

  50% {
    transform: rotate(3.5deg);
  }
}

@keyframes price-brushes-sway-flip {
  0%,
  100% {
    transform: scaleX(-1) rotate(3.5deg);
  }

  50% {
    transform: scaleX(-1) rotate(-3.5deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .price-brushes,
  .price-brushes--flip {
    animation: none;
  }

  .experience-item.is-visible:hover {
    transform: translateY(0);
  }

  .price-card:hover {
    transform: none;
    filter: none;
  }
}

@media (min-width: 981px) {
  .price-gallery .price-contraindications-list {
    overflow-y: auto;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .price-gallery .price-contraindications-list::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 980px) {
  .price-gallery {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .price-card {
    max-width: min(480px, 100%);
  }

  .price-banner--flip {
    transform: none;
  }

  .price-banner-wrap--contraindications .price-contraindications {
    top: 15%;
    right: 19%;
    bottom: 27%;
    left: 19%;
  }

  .price-banner-wrap--contraindications .price-contraindications-head .price-menu-title {
    font-size: clamp(10.4px, 3.25vw, 12.8px);
    line-height: 1.05;
  }

  .price-contraindications-head {
    margin-bottom: 2px;
  }

  .price-contraindications-corner {
    font-size: clamp(6.4px, 1.91vw, 7.5px);
    bottom: 24%;
    right: 20%;
    left: 20%;
  }

  .price-contraindications-item-title {
    font-size: clamp(8.7px, 2.5vw, 10.4px);
    margin-bottom: 2px;
    line-height: 1.25;
  }

  .price-contraindications-item-text {
    font-size: clamp(7.5px, 2.2vw, 9.3px);
    line-height: 1.35;
  }

  .price-contraindications-list {
    gap: 3px;
    padding-left: 2%;
    overflow-y: auto;
    overflow-x: hidden;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .price-contraindications-list::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 640px) {
  .price-lightbox {
    padding: max(10px, env(safe-area-inset-top)) 10px max(10px, env(safe-area-inset-bottom)) 10px;
  }

  .price-lightbox-stage {
    width: 100%;
    max-height: calc(100dvh - 20px);
  }

  .price-banner-wrap--contraindications .price-contraindications {
    top: 14%;
    right: 19%;
    bottom: 28%;
    left: 19%;
  }

  .price-banner-wrap--contraindications .price-contraindications-head .price-menu-title {
    font-size: clamp(9.9px, 3.02vw, 11.6px);
  }

  .price-contraindications-item-title {
    font-size: clamp(8.1px, 2.32vw, 9.9px);
    margin-bottom: 2px;
    line-height: 1.2;
  }

  .price-contraindications-item-text {
    font-size: clamp(7px, 2.03vw, 8.7px);
    line-height: 1.3;
  }

  .price-contraindications-list {
    gap: 3px;
    overflow-y: auto;
    overflow-x: hidden;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .price-contraindications-list::-webkit-scrollbar {
    display: none;
  }

  .price-contraindications-corner {
    font-size: clamp(5.8px, 1.74vw, 7px);
    bottom: 23%;
  }

  .price-lightbox .price-menu-title {
    font-size: clamp(13px, 3.7vw, 16px);
    letter-spacing: 0.04em;
  }

  .price-lightbox .price-menu-section-title {
    font-size: clamp(7px, 2.15vw, 9px);
    margin-bottom: 6px;
    gap: 4px;
  }

  .price-lightbox .price-menu-item-name {
    font-size: clamp(6px, 1.9vw, 7.5px);
    line-height: 1.15;
  }

  .price-lightbox .price-menu-item-price {
    font-size: clamp(7.5px, 2.25vw, 9.5px);
  }

  .price-lightbox .price-menu-note {
    font-size: clamp(5.5px, 1.65vw, 7px);
    padding-top: 2px;
    line-height: 1.25;
  }

  .price-lightbox .price-banner-wrap--menu .price-menu {
    top: 16%;
    right: 20%;
    bottom: 25%;
    left: 18%;
  }

  .price-lightbox .price-menu-item-row {
    gap: 2px;
    margin-bottom: 2px;
  }

  .price-lightbox .price-menu-item-leader {
    flex: 0 1 10px;
    min-width: 4px;
  }

  .price-lightbox .price-banner-wrap--contraindications .price-menu-title {
    font-size: clamp(12.9px, 3.74vw, 16.4px);
    letter-spacing: 0.05em;
  }

  .price-lightbox .price-contraindications-item-title {
    font-size: clamp(9.4px, 2.69vw, 11.7px);
    line-height: 1.2;
  }

  .price-lightbox .price-contraindications-item-text {
    font-size: clamp(8.2px, 2.34vw, 10.5px);
    line-height: 1.3;
  }

  .price-lightbox .price-contraindications-corner {
    font-size: clamp(7px, 2.05vw, 8.8px);
    bottom: 21%;
    right: 20%;
    left: 20%;
  }

  .price-lightbox .price-contraindications-list {
    gap: 5px;
    overflow-y: auto;
  }

  .price-lightbox .price-banner-wrap--contraindications .price-contraindications {
    top: 14%;
    right: 19%;
    bottom: 27%;
    left: 19%;
  }
}

@media (max-width: 400px) {
  .price-gallery {
    gap: 20px;
  }

  .price-card {
    padding-bottom: 10%;
  }

  .price-banner-wrap--menu .price-menu {
    top: 16%;
    right: 20%;
    bottom: 24%;
    left: 18%;
  }

  .price-menu-title {
    font-size: clamp(11px, 3.6vw, 14px);
    letter-spacing: 0.04em;
  }

  .price-menu-section-title {
    font-size: clamp(6.5px, 2.1vw, 8px);
    letter-spacing: 0.1em;
    gap: 4px;
    margin-bottom: 6px;
  }

  .price-menu-item-name {
    font-size: clamp(5.5px, 1.85vw, 7px);
    line-height: 1.15;
  }

  .price-menu-item-price {
    font-size: clamp(7px, 2.2vw, 9px);
    font-weight: 700;
  }

  .price-menu-item-row {
    gap: 2px;
    margin-bottom: 2px;
  }

  .price-menu-item-leader {
    flex: 0 1 10px;
    min-width: 4px;
  }

  .price-menu-note {
    font-size: clamp(5px, 1.6vw, 6.5px);
    padding-top: 2px;
    line-height: 1.25;
  }

  .price-banner-wrap--contraindications .price-contraindications {
    top: 14%;
    right: 20%;
    bottom: 28%;
    left: 20%;
  }

  .price-banner-wrap--contraindications .price-contraindications-head .price-menu-title {
    font-size: clamp(9.3px, 3.02vw, 11.6px);
  }

  .price-contraindications-corner {
    bottom: 23%;
    right: 21%;
    left: 21%;
    font-size: clamp(5.8px, 1.68vw, 7px);
  }

  .price-contraindications-item-title {
    font-size: clamp(7.9px, 2.44vw, 9.3px);
    margin-bottom: 1px;
    line-height: 1.2;
  }

  .price-contraindications-item-text {
    font-size: clamp(7px, 1.97vw, 8.4px);
    line-height: 1.3;
  }

  .price-contraindications-list {
    gap: 2px;
    padding-left: 2%;
    overflow-y: auto;
    overflow-x: hidden;
    justify-content: flex-start;
    scrollbar-width: none;
  }

  .price-contraindications-list::-webkit-scrollbar {
    display: none;
  }

  .price-lightbox .price-menu-title {
    font-size: clamp(11px, 3.3vw, 13px);
  }

  .price-lightbox .price-menu-section-title {
    font-size: clamp(6.5px, 2vw, 7.5px);
    margin-bottom: 5px;
  }

  .price-lightbox .price-menu-item-name {
    font-size: clamp(5.5px, 1.8vw, 6.5px);
  }

  .price-lightbox .price-menu-item-price {
    font-size: clamp(7px, 2.1vw, 8.5px);
  }

  .price-lightbox .price-menu-note {
    font-size: clamp(5px, 1.55vw, 6px);
  }

  .price-lightbox .price-banner-wrap--menu .price-menu {
    top: 15%;
    right: 21%;
    bottom: 26%;
    left: 19%;
  }

  .price-lightbox .price-banner-wrap--contraindications .price-contraindications {
    top: 14%;
    right: 20%;
    bottom: 28%;
    left: 20%;
  }

  .price-lightbox .price-banner-wrap--contraindications .price-menu-title {
    font-size: clamp(11.7px, 3.51vw, 14px);
    letter-spacing: 0.04em;
  }

  .price-lightbox .price-contraindications-item-title {
    font-size: clamp(8.8px, 2.57vw, 10.5px);
    line-height: 1.2;
  }

  .price-lightbox .price-contraindications-item-text {
    font-size: clamp(7.6px, 2.22vw, 9.4px);
    line-height: 1.3;
  }

  .price-lightbox .price-contraindications-list {
    gap: 4px;
    overflow-y: auto;
  }

  .price-lightbox .price-contraindications-corner {
    bottom: 22%;
    right: 21%;
    left: 21%;
    font-size: clamp(6.4px, 1.87vw, 7.6px);
  }
}

@media (max-width: 350px) {
  .price-banner-wrap--contraindications .price-contraindications {
    top: 14%;
    right: 20%;
    bottom: 30%;
    left: 20%;
  }

  .price-contraindications-head {
    margin-bottom: 1px;
  }

  .price-banner-wrap--contraindications .price-contraindications-head .price-menu-title {
    font-size: 7px;
    line-height: 1;
    letter-spacing: 0.03em;
  }

  .price-contraindications-corner {
    bottom: 20%;
    right: 20%;
    left: 20%;
    font-size: 4.9px;
    line-height: 1.12;
  }

  .price-contraindications-list {
    gap: 1px;
    padding-left: 1%;
    overflow-y: auto;
    overflow-x: hidden;
    justify-content: flex-start;
    font-size: 4.7px;
    scrollbar-width: none;
  }

  .price-contraindications-list::-webkit-scrollbar {
    display: none;
  }

  .price-contraindications-item-title {
    font-size: 1.1em;
    margin-bottom: 0;
    line-height: 1.14;
  }

  .price-contraindications-item-text {
    font-size: 1em;
    line-height: 1.16;
  }
}

.stub-content {
  max-width: 640px;
  text-align: center;
}

.stub-title {
  font-size: clamp(30px, 4vw, 42px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.stub-lead {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.stub-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.stub-actions .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.stub-actions .btn-outline:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  padding: 56px 0 0;
  overflow: hidden;
  background: var(--header-bg);
  color: var(--header-text);
}

body[data-page="home"] .hero {
  background: #2b2b11;
}

.hero-candle-smoke-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-candle-smoke-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-candle-holder {
  position: relative;
  width: 100%;
  overflow: visible;
}

.hero-candle-image {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.hero-candle-wick {
  position: absolute;
  top: 4.5%;
  left: calc(50% - 4px);
  width: 4px;
  height: 10px;
  transform: translateX(-50%);
  z-index: 3;
}

.hero-candle-fire {
  position: absolute;
  left: 50%;
  bottom: 100%;
  width: 20px;
  height: 52px;
  transform: translateX(-50%);
}

.hero-candle-flame {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 18px;
  height: 52px;
  transform-origin: 50% 100%;
  transform: translateX(-50%);
  border-radius: 50% 50% 20% 20%;
  background: linear-gradient(white 80%, transparent);
  z-index: 2;
  animation: hero-move-flame 6s linear infinite, hero-enlarge-flame 5s linear infinite;
}

.hero-candle-flame::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 50% 50% 20% 20%;
  box-shadow:
    0 0 12px 0 rgba(247, 93, 0, 0.4),
    0 -5px 3px 0 rgba(247, 128, 0, 0.7);
}

@keyframes hero-move-flame {
  0%,
  100% {
    transform: translateX(-50%) rotate(-2deg);
  }

  50% {
    transform: translateX(-50%) rotate(2deg);
  }
}

@keyframes hero-enlarge-flame {
  0%,
  100% {
    height: 52px;
  }

  50% {
    height: 62px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-candle-flame {
    animation: none;
  }
}

.hero-stage {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: flex-end;
  gap: 48px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.hero-copy-col {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  width: auto;
  max-width: min(640px, 100%);
  min-width: 0;
  flex: 0 1 auto;
}

.hero-candles {
  display: flex;
  align-items: flex-end;
  gap: 0;
  flex-shrink: 0;
}

.hero-candle {
  position: relative;
  align-self: end;
  flex-shrink: 0;
  width: clamp(70px, 7.5vw, 115px);
  pointer-events: none;
  overflow: visible;
}

.hero-candle--tall {
  width: clamp(78px, 8vw, 128px);
}

.hero-candle--tall .hero-candle-holder {
  transform: scaleY(1.75);
  transform-origin: bottom center;
}

.hero-candle--tall .hero-candle-wick {
  top: 3.6%;
  left: calc(50% - 3px);
}

.hero-photo-col {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 0;
}

.hero-photo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  vertical-align: bottom;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: fit-content;
  max-width: min(560px, 100%);
  min-width: 0;
  padding: 20px 0 56px;
}

.hero-title {
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--header-text);
  white-space: nowrap;
}

.hero-subtitle {
  font-size: 18px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--header-text-muted);
  margin-top: 10px;
}

.hero-subtitle-line {
  display: block;
}

@media (min-width: 1101px) {
  .hero-subtitle-line {
    white-space: nowrap;
  }

  .hero-subtitle {
    letter-spacing: 0.14em;
  }
}

.hero-divider {
  width: 72px;
  height: 1px;
  background: var(--header-line);
  margin: 28px 0 22px;
}

.hero-lead {
  max-width: 520px;
  font-size: 14px;
  color: var(--header-text-muted);
  margin-bottom: 14px;
}

.hero-contact,
.page-contact {
  max-width: 520px;
  margin: 0 0 28px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--header-text-muted);
}

.stub-content .page-contact {
  max-width: none;
  text-align: center;
  margin-bottom: 24px;
}

.contacts-content .page-contact {
  text-align: center;
  margin-bottom: 16px;
}

.hero-actions {
  margin-top: 28px;
}

.hero-contact a,
.page-contact a {
  color: var(--header-text);
  text-decoration: none;
  transition: color 0.25s ease;
}

.hero-contact a:hover,
.page-contact a:hover {
  color: var(--accent-dark);
}

.hero-contact-sep,
.page-contact-sep {
  margin: 0 0.35em;
  opacity: 0.65;
}

.services {
  display: grid;
  gap: 18px;
}

.service-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  align-items: start;
}

.hero-content .service-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--header-line);
  display: grid;
  place-items: center;
  color: var(--header-text-muted);
  font-size: 14px;
}

.hero-content .service-item h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--header-text);
}

.hero-content .service-item p {
  font-size: 12px;
  color: var(--header-text-muted);
  line-height: 1.55;
}

.hero--plain {
  padding: 56px 0 64px;
  overflow: visible;
  background: var(--bg);
  color: var(--text);
}

.hero--plain .hero-photo {
  border-radius: 16px;
}

.hero-photo-trigger {
  display: inline-flex;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.hero-photo-trigger:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 8px 20px rgba(56, 29, 3, 0.18));
}

.hero-photo-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 16px;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.photo-lightbox.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(56, 29, 3, 0.88);
}

.photo-lightbox-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(254, 250, 224, 0.35);
  border-radius: 50%;
  background: rgba(56, 29, 3, 0.55);
  color: var(--header-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.photo-lightbox-close:hover {
  background: rgba(56, 29, 3, 0.75);
  transform: scale(1.05);
}

.photo-lightbox-stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(920px, 100%);
  max-height: 100%;
}

.photo-lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100dvh - 32px);
  object-fit: contain;
  border-radius: 12px;
}

body.is-photo-lightbox-open {
  overflow: hidden;
}

.mentoring-section-divider {
  width: 100%;
  height: 1px;
  margin: 12px 0 48px;
  background: var(--line);
}

.hero-stage--stacked {
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.hero-stage--stacked .hero-photo-col,
.hero-stage--stacked .hero-copy-col {
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-stage--stacked .hero-photo-col {
  display: flex;
}

.hero-stage--stacked .hero-photo-trigger {
  margin: 0 auto;
}

.hero-stage--stacked .hero-photo {
  margin: 0 auto;
  object-position: center center;
}

.hero-stage--stacked .hero-content {
  width: 100%;
  max-width: min(520px, 100%);
  padding: 0;
  margin: 0 auto;
  text-align: center;
}

.hero-stage--stacked .hero-content--wide {
  max-width: min(700px, 100%);
}

.mentoring-block-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text);
}

.hero-photo.hero-photo--compact {
  max-width: min(700px, 100%);
  height: auto !important;
}

.hero--plain .hero-title {
  color: var(--text);
  white-space: normal;
}

body[data-page="mentoring"] .container > .hero-stage:first-child .hero-title {
  margin-bottom: 51px;
}

.hero--plain .hero-divider {
  background: var(--line);
}

.hero-copy-col--solo {
  gap: 0;
}

.mentoring-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.mentoring-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: start;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-muted);
}

.mentoring-list li::before {
  content: "✦";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1px solid var(--line);
  font-size: 11px;
  line-height: 1;
  color: var(--accent-dark);
}

.mentoring-note {
  margin: 24px 0 0;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  color: var(--text);
}

.mentoring-gallery {
  width: 100%;
  max-width: min(1080px, 100%);
  margin: 0 auto;
}

.mentoring-gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 28px 18px;
  align-items: start;
}

.mentoring-gallery-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.mentoring-gallery-caption {
  text-align: center;
  padding: 0 2px;
}

.mentoring-gallery-title {
  margin: 0 0 6px;
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--text);
}

.mentoring-gallery-text {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-muted);
}

.mentoring-gallery-item {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  background: var(--bg-card);
  cursor: zoom-in;
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.25s ease;
}

.mentoring-gallery-item.hero-photo-trigger {
  display: block;
}

.mentoring-gallery-item:hover {
  transform: translateY(-2px);
}

.mentoring-gallery-item:focus-visible {
  outline: 2px solid var(--accent-dark);
  outline-offset: 3px;
}

.mentoring-gallery-photo {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border-radius: 14px;
  object-fit: cover;
  object-position: center center;
}

.mentoring-social {
  width: 100%;
  padding: 8px 0 24px;
  text-align: center;
}

.mentoring-social-title {
  margin: 0 auto 32px;
  max-width: min(640px, 100%);
  font-family: "Montserrat", sans-serif;
  font-size: clamp(18px, 2.6vw, 26px);
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--price-text);
}

.mentoring-social-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 560px;
  margin: 0 auto;
}

.mentoring-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 220px;
  max-width: 260px;
  min-height: 58px;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mentoring-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(56, 29, 3, 0.16);
}

.mentoring-social-btn img {
  display: block;
  width: 40px;
  height: 40px;
}

.mentoring-social-btn--vk {
  background: #5181b8;
  border: none;
}

.mentoring-social-btn--vk img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.mentoring-social-btn--max {
  background: #5181b8;
  border: none;
}

.mentoring-cta {
  width: 100%;
  padding: 8px 0 32px;
  text-align: center;
}

.mentoring-cta-title {
  margin: 0 0 24px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(42px, 8vw, 64px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: 0.04em;
  color: var(--text);
}

.mentoring-cta-text {
  margin: 0 auto 32px;
  max-width: min(560px, 100%);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-muted);
}

.mentoring-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: min(320px, 100%);
  min-height: 58px;
  padding: 16px 36px;
  border: 0;
  border-radius: 999px;
  background: var(--price-text);
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(174, 66, 65, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mentoring-cta-btn:hover {
  transform: translateY(-2px);
  background: var(--price-text-dark);
  box-shadow: 0 16px 32px rgba(174, 66, 65, 0.34);
}

.application-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right))
    max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.application-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.application-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(56, 29, 3, 0.72);
}

.application-modal-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(254, 250, 224, 0.35);
  border-radius: 50%;
  background: rgba(56, 29, 3, 0.55);
  color: var(--header-text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.application-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(440px, 100%);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 28px 24px 24px;
  border-radius: 20px;
  background: var(--white);
  color: var(--text);
}

.application-modal-title {
  margin: 0 0 20px;
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: var(--text);
}

.application-form {
  display: grid;
  gap: 16px;
}

.application-field {
  display: grid;
  gap: 8px;
}

.application-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.application-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
}

.application-input:focus {
  outline: 2px solid rgba(174, 66, 65, 0.35);
  outline-offset: 1px;
  border-color: rgba(174, 66, 65, 0.45);
}

.application-phone {
  display: flex;
  align-items: stretch;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  overflow: hidden;
}

.application-phone:focus-within {
  outline: 2px solid rgba(174, 66, 65, 0.35);
  outline-offset: 1px;
  border-color: rgba(174, 66, 65, 0.45);
}

.application-phone-prefix {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 0 0 14px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  user-select: none;
}

.application-input--phone {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 12px 14px 12px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.application-input--phone:focus {
  outline: none;
  border-color: transparent;
}

.application-textarea {
  min-height: 108px;
  resize: vertical;
}

.application-consent {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
  color: var(--text-muted);
}

.application-consent a {
  color: var(--price-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.application-error {
  margin: 0;
  font-size: 13px;
  color: #b42318;
}

.application-submit {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: var(--price-text);
  color: #ffffff;
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(174, 66, 65, 0.24);
}

.application-submit:hover {
  background: var(--price-text-dark);
}

.application-submit:disabled {
  opacity: 0.72;
  cursor: wait;
  box-shadow: none;
}

.thanks-popup {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.thanks-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.thanks-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(56, 29, 3, 0.45);
}

.thanks-popup-dialog {
  position: relative;
  z-index: 1;
  width: min(300px, 100%);
  padding: 22px 20px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(56, 29, 3, 0.18);
  text-align: center;
}

.thanks-popup-dialog p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
}

body.is-application-modal-open,
body.is-thanks-popup-open {
  overflow: hidden;
}

@media (min-width: 1101px) {
  .hero--plain .hero-content {
    max-width: min(620px, 100%);
  }
}

@media (max-width: 1100px) {
  .hero--plain {
    padding: 40px 0 56px;
  }

  .hero-photo.hero-photo--compact {
    max-width: min(700px, 100%);
  }

  .hero--plain .mentoring-list li {
    text-align: left;
  }

  .hero--plain .mentoring-note {
    text-align: center;
  }

  .mentoring-gallery-photo {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
  }

  .mentoring-gallery-item {
    width: 100%;
    aspect-ratio: 4 / 5;
  }

  .mentoring-gallery-item.hero-photo-trigger {
    display: block;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .mentoring-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    justify-items: stretch;
  }

  .mentoring-gallery-card {
    align-items: center;
    width: 100%;
    max-width: none;
  }

  .mentoring-gallery-text {
    font-size: 11px;
  }
}

@media (max-width: 640px) {
  .hero--plain {
    padding: 28px 0 44px;
  }

  .mentoring-list li {
    font-size: 13px;
    gap: 10px;
  }

  .mentoring-note {
    font-size: 13px;
  }

  .mentoring-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
    justify-items: stretch;
  }

  .mentoring-gallery-card {
    align-items: center;
    width: 100%;
    max-width: none;
  }

  .mentoring-gallery-item,
  .mentoring-gallery-item.hero-photo-trigger {
    width: 100%;
    max-width: 100%;
  }

  .mentoring-gallery-photo {
    width: 100%;
    height: 100%;
    max-width: none;
  }

  .mentoring-gallery-title {
    font-size: 14px;
  }
}

@media (max-width: 1100px) {
  .hero {
    overflow: visible;
    padding: 40px 0 56px;
  }

  .hero-candles,
  .hero-candle-smoke-stage {
    display: none;
  }

  .hero-stage {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .hero-photo-col {
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .hero-photo {
    width: auto;
    height: auto !important;
    max-width: min(340px, 100%);
    margin: 0 auto;
    object-position: center bottom;
  }

  .hero-photo.mentoring-gallery-photo {
    width: 100%;
    height: 100% !important;
    max-width: none;
    margin: 0;
    object-fit: cover;
    object-position: center center;
  }

  .hero-photo.hero-photo--compact {
    max-width: min(700px, 100%);
  }

  .hero-copy-col {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: min(440px, 100%);
    margin: 0 auto;
    padding: 0;
    text-align: center;
  }

  .hero-title {
    white-space: normal;
    overflow-wrap: break-word;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .services {
    width: 100%;
    margin: 0 auto;
  }

  .service-item {
    text-align: center;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
  }

  .hero-content .service-item h3,
  .hero-content .service-item p {
    text-align: center;
  }
}

@media (hover: none) and (pointer: coarse) and (max-width: 1100px) {
  .hero {
    overflow: visible;
  }

  .hero-candles,
  .hero-candle-smoke-stage {
    display: none;
  }

  .hero-stage {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .hero-photo-col {
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .hero-photo {
    height: auto !important;
    max-width: min(340px, 100%);
    margin: 0 auto;
    object-position: center bottom;
  }

  .hero-photo.hero-photo--compact {
    max-width: min(700px, 100%);
  }

  .hero-copy-col {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 100%;
  }

  .hero-content {
    width: 100%;
    max-width: min(440px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .services {
    width: 100%;
  }

  .service-item {
    text-align: center;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 8px;
  }

  .hero-content .service-item h3,
  .hero-content .service-item p {
    text-align: center;
  }
}

/* Experience */
.experience {
  background: var(--bg-card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 64px;
}

.experience > .container {
  width: min(1320px, calc(100% - 32px));
}

.section-title {
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 42px;
}

.experience-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
}

.experience-item {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: start;
  justify-items: center;
  flex: 0 0 236px;
  width: 236px;
  height: 400px;
  padding: 40px 26px 34px;
  text-align: center;
  border: none;
  outline: none;
  filter: drop-shadow(0 5px 14px rgba(56, 29, 3, 0.2))
    drop-shadow(0 3px 6px rgba(56, 29, 3, 0.14));
  background: url("../img/plaque-transparent.webp") center / 100% 100% no-repeat;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.35s ease,
    filter 0.35s ease;
}

.experience-item > * {
  position: relative;
  z-index: 1;
}

.experience-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.experience-item.is-visible:hover {
  transform: translateY(0) scale(1.04);
  filter: drop-shadow(0 14px 28px rgba(56, 29, 3, 0.28))
    drop-shadow(0 6px 14px rgba(56, 29, 3, 0.18));
  z-index: 2;
}

.experience-head {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: auto;
  margin-top: 8px;
  margin-bottom: 8px;
  text-align: center;
}

.experience-logo {
  display: block;
  width: 100%;
  margin-bottom: 6px;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--text);
  text-align: center;
}

.experience-place {
  width: 100%;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
}

.experience-item p,
.experience-duties {
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
  min-height: 0;
}

.experience-duties {
  list-style: none;
  width: 100%;
  text-align: center;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: start;
}

.experience-duties li {
  width: 100%;
  text-align: center;
}

.experience-duties li + li {
  margin-top: 8px;
}

.experience-year {
  width: 100%;
  margin-top: 0;
  padding-top: 12px;
  background: transparent;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0;
  text-align: center;
  align-self: end;
}

/* Location */
.location {
  padding: 56px 0 0;
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.location-head {
  padding-bottom: 28px;
}

.location-city {
  margin: -28px 0 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.location-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(320px, 560px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-card);
}

.location-map {
  overflow: hidden;
  border-right: 1px solid var(--line);
}

.location-reviews {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0 12px 12px;
}

.location-reviews-widget {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 800px;
  overflow: hidden;
}

.location-map-canvas,
.location-map-frame {
  display: block;
  width: 100%;
  height: 800px;
  border: 0;
}

.location-reviews-frame {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  box-sizing: border-box;
}

.location-reviews-credit {
  position: absolute;
  left: 0;
  bottom: 8px;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 16px;
  box-sizing: border-box;
  font-size: 10px;
  font-family: "YS Text", "Montserrat", sans-serif;
  color: #b3b3b3;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 14px;
}

.location-foot {
  display: flex;
  justify-content: center;
  padding: 18px 0 48px;
}

.location-link {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  transition: color 0.25s ease;
}

.location-link:hover {
  color: var(--text);
}

/* Footer */
.footer {
  background: var(--bg-soft);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 28px;
}

.footer-cta {
  margin-top: 20px;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-credit {
  letter-spacing: 0.04em;
}

.footer h4 {
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer p,
.footer li {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}

.footer ul {
  list-style: none;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.footer-social-link {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 10px;
  color: var(--accent-dark);
  transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.footer-social-link:hover {
  border-color: var(--accent-dark);
  transform: translateY(-1px);
}

.footer-social-link img {
  display: block;
  width: 20px;
  height: 20px;
}

.footer a {
  transition: color 0.25s ease;
}

.footer a:not(.btn):hover {
  color: var(--accent-dark);
}

.footer-email,
.contacts-email {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-email:hover,
.contacts-email:hover {
  color: var(--accent-dark);
}

body.is-nav-open {
  overflow: hidden;
}

@media (min-width: 981px) {
  .nav-mobile-booking {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .container {
    width: min(1180px, calc(100% - 32px));
  }

  .header .container {
    display: flex;
    flex-direction: column;
  }

  .header-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "logo brand toggle"
      "contacts contacts contacts";
    align-items: center;
    gap: 10px 12px;
    row-gap: 8px;
    min-height: auto;
    padding: 12px 0;
    text-align: left;
  }

  .header-top.is-contacts-inline {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "logo brand contacts toggle";
    row-gap: 0;
    align-items: center;
  }

  .header-top.is-contacts-inline .header-contacts {
    gap: 2px;
    padding: 0;
  }

  .header-top.is-contacts-inline .social-link img {
    width: 20px;
    height: 20px;
  }

  .header-top:not(.is-contacts-inline) .header-contacts {
    padding: 8px 0 10px;
    border-top: 1px solid var(--header-line);
  }

  .header-top.is-contacts-inline .brand--header {
    text-align: center;
  }

  .header-logo {
    position: static;
    transform: none;
    margin: 0;
    grid-area: logo;
  }

  .header-logo:hover {
    transform: translateY(-1px);
  }

  .header-logo img {
    height: 44px;
  }

  .brand--header {
    grid-area: brand;
    text-align: left;
    min-width: 0;
  }

  .brand-text h1 {
    font-size: 14px;
    letter-spacing: 0.12em;
    line-height: 1.2;
  }

  .brand-text p {
    font-size: 8px;
    letter-spacing: 0.08em;
    line-height: 1.35;
    margin-top: 4px;
  }

  .header-top .header-contacts {
    position: static;
    grid-area: contacts;
    min-height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-align: center;
  }

  .header-city {
    font-size: 10px;
    white-space: normal;
    margin-bottom: 0;
  }

  .header-top.is-contacts-inline .header-city-line {
    display: block;
    line-height: 1.3;
  }

  .header-top.is-contacts-inline .header-city-line:last-child {
    white-space: nowrap;
  }

  .header-top.is-contacts-inline .header-city {
    text-align: right;
    max-width: 156px;
  }

  .header-phone {
    margin-bottom: 0;
    font-size: 11px;
    white-space: nowrap;
  }

  .social-row {
    justify-content: center;
    gap: 6px;
  }

  .social-link img {
    width: 22px;
    height: 22px;
  }

  .header-right {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    grid-area: toggle;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid var(--header-line);
    border-radius: 10px;
    background: transparent;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 0 auto;
    background: var(--header-text);
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav-toggle:hover {
    background: rgba(254, 250, 224, 0.08);
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .nav {
    order: 3;
    display: none;
    padding: 0 0 8px;
  }

  .nav.is-open {
    display: block;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav li {
    border-top: 1px solid var(--header-line);
  }

  .nav a {
    display: block;
    padding: 14px 4px;
    font-size: 11px;
    letter-spacing: 0.1em;
    white-space: normal;
    line-height: 1.35;
  }

  .nav.is-open .nav-mobile-booking {
    display: flex;
    justify-content: center;
    border-top: 1px solid var(--header-line);
    padding: 16px 4px 8px;
  }

  .btn--nav-booking {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    margin: 0;
    padding: 14px 24px;
    text-align: center;
  }

  .btn--nav-booking span {
    text-align: center;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }

  .location-panel {
    grid-template-columns: 1fr;
  }

  .location-reviews {
    order: 1;
    padding: 0 0 12px;
  }

  .location-reviews-widget,
  .location-reviews-frame,
  .location-reviews-credit {
    max-width: none;
  }

  .location-map {
    order: 2;
    border-right: none;
    border-top: 1px solid var(--line);
  }

  .location-map-canvas,
  .location-map-frame {
    height: 480px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(1180px, calc(100% - 24px));
  }

  .header-logo img {
    height: 42px;
  }

  .brand-text h1 {
    font-size: 13px;
    letter-spacing: 0.1em;
  }

  .brand-text p {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .header-phone {
    font-size: 12px;
  }

  .header-top:not(.is-contacts-inline) .header-city-line {
    display: block;
    line-height: 1.3;
  }

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

  .contacts-card {
    padding: 18px 20px;
  }

  .social-link img {
    width: 24px;
    height: 24px;
  }

  .btn {
    padding: 10px 16px;
    font-size: 10px;
  }

  .nav ul {
    gap: 10px 12px;
  }

  .nav a {
    font-size: 9px;
    letter-spacing: 0.08em;
    line-height: 1.35;
  }

  .hero {
    padding: 28px 0 44px;
  }

  .hero-photo {
    max-width: min(280px, 82vw);
  }

  .hero-photo.hero-photo--compact {
    max-width: min(700px, 100%);
  }

  .hero-subtitle {
    font-size: clamp(11px, 3.2vw, 15px);
    letter-spacing: 0.08em;
  }

  .hero-lead {
    font-size: 13px;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .experience {
    padding: 44px 0 48px;
  }

  .location-map-canvas,
  .location-map-frame {
    height: 360px;
  }

  .location-foot {
    padding-bottom: 36px;
  }

  .footer {
    padding-top: 36px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .header-top.is-contacts-inline .header-city {
    max-width: 128px;
  }

  .header-top.is-contacts-inline .header-city-line:last-child {
    white-space: normal;
  }
}

/* Информер и модуль статистики Яндекс.Метрики — скрыты, счётчик работает */
a[href*="metrika.yandex.ru"],
a[href*="metrika.yandex.com"],
img[src*="informer.yandex.ru"],
iframe[src*="metrika.yandex"],
[class*="ym-informer"],
[id*="ym-informer"],
[class*="metrika-site"],
[id*="metrika-site"],
[data-metrika-informer],
[data-ym-informer] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  z-index: -1 !important;
}
