/* =========================================================
   Студия ногтей «Татьяна» — Подольск
   Static site. No frameworks.
   ========================================================= */

:root {
  --bg: #f6f0e8;
  --surface: #fffbf6;
  --sand: #efe4d8;
  --sand-deep: #e5d5c5;
  --ink: #2a211c;
  --ink-2: #3c2e26;
  --muted: #7c6a5e;
  --muted-2: #9c8a7d;
  --accent: #a85c45;
  --accent-dark: #8d4734;
  --rose: #d8b4a6;
  --gold: #b9926f;
  --line: rgba(42, 33, 28, .12);
  --line-light: rgba(246, 240, 232, .16);
  --shadow: 0 24px 60px rgba(42, 33, 28, .12);
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --container: 1240px;
  --radius: 18px;
}

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

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .022;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

body.no-scroll {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

::selection {
  background: rgba(168, 92, 69, .22);
  color: var(--ink);
}

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

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

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.section {
  padding: clamp(68px, 9vw, 118px) 0;
  position: relative;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -70px;
  z-index: 300;
  background: var(--ink);
  color: var(--surface);
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 12px;
  transition: top .2s ease;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .035em;
  text-align: center;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}

.btn svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform .25s ease;
}

.btn:hover .icon-arrow {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--ink);
  color: var(--surface);
}

.btn--primary:hover {
  background: var(--accent);
}

.btn--light {
  background: var(--surface);
  color: var(--ink);
}

.btn--light:hover {
  background: var(--sand);
}

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(255, 255, 255, .35);
}

.btn--lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 13px;
}

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

/* ---------- Top bar ---------- */

.topbar {
  background: var(--ink);
  color: rgba(246, 240, 232, .72);
  font-size: 10px;
  letter-spacing: .045em;
  position: relative;
  z-index: 100;
}

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

.topbar__group {
  display: flex;
  align-items: center;
  gap: 26px;
  min-width: 0;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.topbar__item svg {
  width: 13px;
  height: 13px;
  opacity: .55;
  flex: 0 0 auto;
}

.topbar a {
  transition: color .2s ease;
}

.topbar a:hover {
  color: var(--surface);
}

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

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

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(246, 240, 232, .84);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.header.is-scrolled {
  background: rgba(255, 251, 246, .95);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 32px rgba(42, 33, 28, .05);
}

.header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.logo__mark {
  position: relative;
  width: 46px;
  height: 46px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}

.logo__mark::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 4px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

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

.logo__text strong {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: .005em;
}

.logo__text small {
  margin-top: 5px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav a {
  position: relative;
  padding: 6px 0;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}

.nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.header__phone {
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s ease;
}

.header__phone:hover {
  color: var(--accent);
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}

.burger span {
  position: absolute;
  left: 50%;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transform: translateX(-50%);
  transition: top .3s ease, transform .3s ease, opacity .3s ease;
}

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

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

/* ---------- Mobile menu ---------- */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: var(--bg);
  visibility: hidden;
  transform: translateY(-102%);
  transition: transform .45s cubic-bezier(.7, 0, .2, 1), visibility .45s ease;
  overflow-y: auto;
}

.mobile-menu.is-open {
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu__inner {
  min-height: 100%;
  padding: 108px 24px 36px;
  display: flex;
  flex-direction: column;
}

.mobile-menu__nav {
  display: grid;
  margin-bottom: 30px;
}

.mobile-menu__nav a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: clamp(34px, 8vw, 46px);
  line-height: 1.1;
}

.mobile-menu__nav span {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: .12em;
  color: var(--muted-2);
}

.mobile-menu__footer {
  margin-top: auto;
  display: grid;
  gap: 12px;
  padding-top: 24px;
}

.mobile-menu__footer .btn {
  width: 100%;
}

.mobile-menu__contact {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1;
}

.mobile-menu__note {
  font-size: 11px;
  color: var(--muted);
}

.mobile-menu__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 76px) 0 clamp(64px, 8vw, 108px);
}

.hero__watermark {
  position: absolute;
  top: -.24em;
  right: -.04em;
  font-family: var(--font-serif);
  font-size: clamp(420px, 48vw, 760px);
  font-weight: 500;
  line-height: .7;
  color: rgba(168, 92, 69, .045);
  pointer-events: none;
  user-select: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: center;
}

.hero__content {
  max-width: 660px;
  animation: fadeUp .9s .05s both;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow__line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: .6;
  flex: 0 0 auto;
}

.hero__title {
  margin: 22px 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(50px, 6.2vw, 92px);
  font-weight: 500;
  line-height: .92;
  letter-spacing: -.035em;
}

.hero__title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  white-space: nowrap;
}

.hero__lead {
  max-width: 500px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
}

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

.hero__facts {
  display: flex;
  gap: clamp(22px, 4vw, 44px);
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__facts strong {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

.hero__facts span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__media {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
  animation: fadeUp 1s .18s both;
}

.hero__media::before {
  content: "";
  position: absolute;
  inset: -16px 16px 16px -16px;
  border: 1px solid rgba(185, 146, 111, .55);
  border-radius: 270px 270px 22px 22px;
  pointer-events: none;
}

.hero__photo {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 260px 260px 18px 18px;
  overflow: hidden;
  border: 7px solid rgba(255, 251, 246, .55);
  box-shadow: 0 40px 80px rgba(42, 33, 28, .18);
  background: var(--sand);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero__badge {
  position: absolute;
  left: -28px;
  bottom: 72px;
  max-width: 220px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--surface);
  border: 1px solid rgba(42, 33, 28, .06);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(42, 33, 28, .14);
}

.hero__badge-label {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__badge strong {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.1;
}

.hero__badge span:last-child {
  font-size: 10px;
  color: var(--muted);
}

.hero__stamp {
  position: absolute;
  top: -22px;
  right: -18px;
  width: 118px;
  height: 118px;
  color: var(--accent);
  animation: spin 32s linear infinite;
}

.hero__stamp text {
  font-family: var(--font-sans);
  font-size: 8.6px;
  font-weight: 600;
  letter-spacing: 2.2px;
  fill: currentColor;
}

.hero__stamp .stamp-center {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0;
  fill: var(--ink);
}

.hero__stamp circle {
  fill: var(--bg);
  stroke: rgba(168, 92, 69, .35);
  stroke-width: .8;
}

.hero__review {
  position: absolute;
  right: -26px;
  bottom: 0;
  max-width: 220px;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid rgba(42, 33, 28, .06);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(42, 33, 28, .14);
}

.stars {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
}

.hero__review p {
  margin: 8px 0 6px;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.25;
}

.hero__review span {
  font-size: 9px;
  color: var(--muted);
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden;
  padding: 15px 0;
  background: var(--ink);
  color: var(--surface);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.marquee__group span {
  padding: 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.2;
  white-space: nowrap;
}

.marquee__group .marquee__star {
  padding: 0;
  font-family: var(--font-sans);
  font-size: 12px;
  color: var(--rose);
}

/* ---------- Section headings ---------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(32px, 4vw, 52px);
}

.section-head__main {
  max-width: 740px;
}

.section-title {
  margin-top: 15px;
  font-family: var(--font-serif);
  font-size: clamp(36px, 4.4vw, 58px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.03em;
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

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

/* ---------- Benefits ---------- */

.benefits {
  padding-top: clamp(54px, 7vw, 88px);
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.benefit {
  position: relative;
  padding: 30px 26px 34px;
  border-right: 1px solid var(--line);
  transition: background .3s ease;
}

.benefit:last-child {
  border-right: 0;
}

.benefit:hover {
  background: rgba(255, 251, 246, .55);
}

.benefit__num {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--muted-2);
}

.benefit__icon {
  width: 28px;
  height: 28px;
  margin: 26px 0 18px;
  color: var(--accent);
}

.benefit h3 {
  margin-bottom: 9px;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.12;
}

.benefit p {
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

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

.services {
  background: var(--sand);
}

.price-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.price-tab {
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--muted);
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.price-tab:hover {
  color: var(--ink);
  background: rgba(255, 251, 246, .55);
}

.price-tab[aria-selected="true"] {
  background: var(--ink);
  color: var(--surface);
}

.price-panel {
  display: none;
}

.price-panel.is-active {
  display: block;
  animation: fadeIn .35s ease;
}

.price-list {
  padding: 4px 32px;
  background: var(--surface);
  border: 1px solid rgba(42, 33, 28, .08);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(42, 33, 28, .05);
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 26px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row__main h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}

.price-row__main p {
  max-width: 540px;
  margin-top: 5px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(168, 92, 69, .1);
  color: var(--accent);
  font-family: var(--font-sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  line-height: 1;
  text-transform: uppercase;
}

.badge--gift {
  background: rgba(185, 146, 111, .16);
  color: #856243;
}

.price-row__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  min-width: 92px;
}

.price-row__time {
  font-size: 9px;
  letter-spacing: .05em;
  color: var(--muted-2);
  white-space: nowrap;
}

.price-row__price {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.price-row__price small {
  margin-left: 2px;
  font-family: var(--font-sans);
  font-size: 9px;
  font-weight: 500;
  color: var(--muted);
}

.price-row__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .05em;
  white-space: nowrap;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.price-row__btn svg {
  width: 12px;
  height: 12px;
  transition: transform .25s ease;
}

.price-row__btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
}

.price-row__btn:hover svg {
  transform: translateX(2px);
}

.price-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}

.price-note svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--accent);
}

.services__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid rgba(42, 33, 28, .12);
}

.services__cta p {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 1.2;
}

/* ---------- Promo ---------- */

.promo {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 72px) 0;
  background: var(--accent);
  color: var(--surface);
}

.promo::before {
  content: "✦";
  position: absolute;
  top: -42%;
  right: 5%;
  font-family: var(--font-serif);
  font-size: 420px;
  line-height: 1;
  color: rgba(255, 251, 246, .07);
  pointer-events: none;
}

.promo__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.promo__content {
  max-width: 720px;
}

.promo .eyebrow {
  color: rgba(255, 251, 246, .72);
}

.promo h2 {
  margin: 12px 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
}

.promo h2 em {
  font-style: italic;
  font-weight: 400;
  color: #f3d9cc;
}

.promo p {
  max-width: 470px;
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255, 251, 246, .78);
}

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

.gallery__grid {
  columns: 3;
  column-gap: 16px;
}

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--sand);
  break-inside: avoid;
  cursor: zoom-in;
}

.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .35s ease;
}

.gallery__item--muted img {
  filter: grayscale(.9) sepia(.28) contrast(.95);
}

.gallery__item--muted:hover img {
  filter: grayscale(.65) sepia(.18) contrast(.97);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(24, 17, 13, .58), transparent 55%);
  opacity: 0;
  transition: opacity .35s ease;
}

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

.gallery__item:hover::after {
  opacity: 1;
}

.gallery__caption {
  position: absolute;
  left: 18px;
  bottom: 15px;
  z-index: 1;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--surface);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}

.gallery__item:hover .gallery__caption {
  opacity: 1;
  transform: none;
}

.gallery__footer {
  margin-top: 26px;
  text-align: right;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .25s ease, border-color .25s ease;
}

.link-arrow svg {
  width: 14px;
  height: 14px;
}

.link-arrow:hover {
  color: var(--accent);
  border-color: var(--accent);
}

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

.about {
  overflow: hidden;
  background: var(--surface);
}

.about__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}

.about__media {
  position: relative;
  width: 100%;
  max-width: 430px;
}

.about__media::before {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(185, 146, 111, .5);
  border-radius: 230px 230px 20px 20px;
  pointer-events: none;
}

.about__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 220px 220px 16px 16px;
  overflow: hidden;
  border: 1px solid rgba(42, 33, 28, .08);
  box-shadow: var(--shadow);
  background: var(--sand);
}

.about__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  filter: sepia(.12) saturate(.88) contrast(1.02);
}

.about__exp {
  position: absolute;
  right: -28px;
  bottom: 56px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 18px 36px rgba(42, 33, 28, .2);
}

.about__exp strong {
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
}

.about__exp span {
  margin-top: 4px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 251, 246, .68);
}

.about__signature {
  margin: 18px 0 0 10px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
}

.about__content .section-title {
  margin-bottom: 22px;
}

.about__content p {
  max-width: 620px;
  margin-bottom: 15px;
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}

.about__list {
  display: grid;
  gap: 9px;
  margin: 24px 0 28px;
}

.about__list li {
  display: flex;
  gap: 9px;
  font-size: 12px;
  line-height: 1.55;
}

.about__list svg {
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--accent);
}

.about__stats {
  display: flex;
  gap: 38px;
  margin-bottom: 28px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about__stats strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
}

.about__stats span {
  font-size: 8px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.reviews {
  background: var(--sand);
}

.reviews__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 44px;
}

.rating-summary {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 13px 17px;
  background: rgba(255, 251, 246, .6);
  border: 1px solid rgba(42, 33, 28, .08);
  border-radius: 14px;
  flex: 0 0 auto;
}

.rating-summary__value {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
}

.rating-summary__stars {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--accent);
}

.rating-summary__text {
  margin-top: 3px;
  font-size: 9px;
  color: var(--muted);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.review-card {
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 23px;
  background: var(--surface);
  border: 1px solid rgba(42, 33, 28, .07);
  border-radius: 16px;
  transition: transform .3s ease, box-shadow .3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(42, 33, 28, .08);
}

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.review-card__stars {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--accent);
}

.review-card__service {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  text-align: right;
}

.review-card blockquote {
  flex: 1;
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-2);
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.review-card__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sand-deep);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-dark);
}

.review-card__author strong {
  display: block;
  font-size: 10px;
  font-weight: 700;
}

.review-card__author div span {
  display: block;
  margin-top: 2px;
  font-size: 8px;
  color: var(--muted);
}

/* ---------- FAQ ---------- */

.faq__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.faq__aside p {
  max-width: 360px;
  margin: 18px 0 26px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

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

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 19px 0;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__icon {
  position: relative;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: 0 0 auto;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: background .3s ease;
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item[open] summary {
  color: var(--accent);
}

.faq__item[open] .faq__icon {
  background: var(--ink);
  border-color: var(--ink);
  transform: rotate(45deg);
}

.faq__item[open] .faq__icon::before,
.faq__item[open] .faq__icon::after {
  background: var(--surface);
}

.faq__item p {
  max-width: 620px;
  padding: 0 0 20px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}

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

.booking {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--surface);
}

.booking::before {
  content: "Т";
  position: absolute;
  right: -4%;
  bottom: -32%;
  font-family: var(--font-serif);
  font-size: 640px;
  font-weight: 500;
  line-height: 1;
  color: rgba(246, 240, 232, .035);
  pointer-events: none;
}

.booking__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.booking .eyebrow {
  color: var(--rose);
}

.booking h2 {
  margin: 16px 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(38px, 4.6vw, 60px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--surface);
}

.booking h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--rose);
  white-space: nowrap;
}

.booking__lead {
  max-width: 460px;
  font-size: 13px;
  line-height: 1.8;
  color: rgba(246, 240, 232, .64);
}

.booking__list {
  display: grid;
  gap: 11px;
  margin: 28px 0;
}

.booking__list li {
  display: flex;
  gap: 9px;
  font-size: 11px;
  line-height: 1.5;
  color: rgba(246, 240, 232, .78);
}

.booking__list svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 1px;
  color: var(--rose);
}

.booking__contact {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
}

.booking__contact p {
  margin-bottom: 7px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(246, 240, 232, .42);
}

.booking__phone {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 1;
  color: var(--surface);
  transition: color .25s ease;
}

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

.booking__contact small {
  display: block;
  margin-top: 7px;
  font-size: 10px;
  color: rgba(246, 240, 232, .46);
}

.booking__card {
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .25);
}

.booking__card h3 {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.1;
}

.booking__card > p {
  margin: 4px 0 20px;
  font-size: 10px;
  color: var(--muted);
}

/* ---------- Forms ---------- */

.form {
  display: grid;
  gap: 13px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.field {
  display: grid;
  gap: 6px;
}

.field > span {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.field textarea {
  min-height: 78px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #b8aa9e;
}

.field select {
  cursor: pointer;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(168, 92, 69, .1);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: #b54235;
}

.field__error {
  display: none;
  font-size: 9px;
  line-height: 1.4;
  color: #b54235;
}

.field.is-invalid .field__error {
  display: block;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 9px;
  line-height: 1.5;
  color: var(--muted);
  cursor: pointer;
}

.check input {
  width: 14px;
  height: 14px;
  margin-top: 1px;
  flex: 0 0 auto;
  accent-color: var(--accent);
}

.check a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

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

.form__submit {
  margin-top: 3px;
}

.form__note {
  font-size: 8px;
  line-height: 1.5;
  color: var(--muted-2);
  text-align: center;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-success {
  padding: 30px 8px;
  text-align: center;
}

.form-success__icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(168, 92, 69, .1);
  color: var(--accent);
  display: grid;
  place-items: center;
}

.form-success__icon svg {
  width: 24px;
  height: 24px;
}

.form-success h3 {
  margin-bottom: 7px;
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.1;
}

.form-success p {
  max-width: 320px;
  margin: 0 auto 20px;
  font-size: 11px;
  line-height: 1.6;
  color: var(--muted);
}

.booking__card.is-success > h3,
.booking__card.is-success > p,
.feedback-card.is-success > h3,
.feedback-card.is-success > p,
.modal__body.is-success > h3,
.modal__body.is-success > p {
  display: none;
}

.form-success__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.form-success__actions .btn {
  width: 100%;
}

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

.contacts__grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

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

.contact-row {
  display: flex;
  gap: 15px;
  padding: 19px 0;
  border-bottom: 1px solid var(--line);
}

.contact-row__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sand);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--accent);
}

.contact-row__icon svg {
  width: 16px;
  height: 16px;
}

.contact-row h3 {
  margin-bottom: 4px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-row p,
.contact-row a {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}

.contact-row a {
  transition: color .2s ease;
}

.contact-row a:hover {
  color: var(--accent);
}

.contact-row--big a {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 1.1;
}

.contact-row small {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  line-height: 1.5;
  color: var(--muted);
}

.copy-address {
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  cursor: pointer;
}

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

.contacts__note {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
}

.contacts__note svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--accent);
}

.contacts__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.social-btn svg {
  width: 14px;
  height: 14px;
}

.social-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
}

.feedback-card {
  padding: clamp(24px, 3.5vw, 36px);
  background: var(--surface);
  border: 1px solid rgba(42, 33, 28, .08);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(42, 33, 28, .06);
}

.feedback-card h3 {
  font-family: var(--font-serif);
  font-size: 29px;
  font-weight: 600;
  line-height: 1.1;
}

.feedback-card > p {
  margin: 6px 0 20px;
  font-size: 11px;
  line-height: 1.65;
  color: var(--muted);
}

.map-wrap {
  margin-top: clamp(32px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow);
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
  filter: grayscale(.22) contrast(1.02);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s ease;
}

.map-link svg {
  width: 13px;
  height: 13px;
}

.map-link:hover {
  color: var(--accent);
}

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

.footer {
  padding: 60px 0 26px;
  background: var(--ink);
  color: rgba(246, 240, 232, .62);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line-light);
}

.footer__brand .logo {
  margin-bottom: 0;
}

.footer__brand .logo__mark {
  color: var(--surface);
  border-color: rgba(246, 240, 232, .4);
}

.footer__brand .logo__mark::after {
  background: var(--rose);
}

.footer__brand .logo__text strong {
  color: var(--surface);
}

.footer__brand .logo__text small {
  color: rgba(246, 240, 232, .42);
}

.footer__brand > p {
  max-width: 280px;
  margin-top: 18px;
  font-size: 11px;
  line-height: 1.7;
}

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

.footer__socials .social-btn {
  border-color: rgba(246, 240, 232, .18);
  color: rgba(246, 240, 232, .7);
}

.footer__socials .social-btn:hover {
  background: var(--surface);
  border-color: var(--surface);
  color: var(--ink);
}

.footer h4 {
  margin-bottom: 15px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(246, 240, 232, .4);
}

.footer__links {
  display: grid;
  gap: 8px;
}

.footer__links a {
  font-size: 11px;
  color: rgba(246, 240, 232, .72);
  transition: color .2s ease;
}

.footer__links a:hover {
  color: var(--surface);
}

.footer__contacts p,
.footer__contacts a {
  font-size: 11px;
  line-height: 1.7;
  color: rgba(246, 240, 232, .72);
}

.footer__contacts a:hover {
  color: var(--surface);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  font-size: 9px;
  color: rgba(246, 240, 232, .38);
}

.footer__bottom a {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .2s ease;
}

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

/* ---------- Legal page ---------- */

.legal {
  padding-top: clamp(48px, 6vw, 78px);
}

.legal__wrap {
  max-width: 820px;
}

.legal__title {
  margin: 16px 0 6px;
  font-family: var(--font-serif);
  font-size: clamp(38px, 5vw, 58px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.03em;
}

.legal__meta {
  margin-bottom: 28px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.legal h2 {
  margin: 32px 0 10px;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
}

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

.legal p {
  margin-bottom: 12px;
}

.legal ul {
  margin: 0 0 14px;
  padding-left: 20px;
  list-style: disc;
}

.legal li {
  margin-bottom: 5px;
}

.legal a:not(.btn) {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.legal__note {
  margin: 24px 0;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--sand);
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.7;
}

.legal__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s ease;
}

.legal-back svg {
  width: 14px;
  height: 14px;
}

.legal-back:hover {
  color: var(--accent);
}

@media (max-width: 720px) {
  .legal__footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal__footer .btn {
    width: 100%;
  }
}

/* ---------- Mobile bar ---------- */

.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  grid-template-columns: .8fr 1.2fr;
  gap: 8px;
  padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
  background: rgba(246, 240, 232, .95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}

.mobile-bar .btn {
  min-height: 46px;
  padding: 0 12px;
  font-size: 11px;
}

/* ---------- Modal ---------- */

.modal {
  width: min(980px, calc(100% - 32px));
  max-height: 90vh;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .35);
  overflow: auto;
}

.modal::backdrop {
  background: rgba(24, 17, 13, .62);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.modal[open] {
  animation: modalIn .3s ease both;
}

.modal__inner {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  min-height: 560px;
}

.modal__aside {
  position: relative;
  padding: 34px;
  display: flex;
  flex-direction: column;
  color: var(--surface);
  background:
    linear-gradient(180deg, rgba(42, 33, 28, .58), rgba(42, 33, 28, .92)),
    url('../assets/img/hero.jpg') center / cover;
}

.modal__aside::after {
  content: "Т";
  position: absolute;
  right: 16px;
  bottom: -38px;
  font-family: var(--font-serif);
  font-size: 220px;
  line-height: 1;
  color: rgba(255, 255, 255, .06);
  pointer-events: none;
}

.modal__aside .eyebrow {
  color: var(--rose);
}

.modal__aside h2 {
  margin: 14px 0 13px;
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.02em;
}

.modal__aside > p {
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255, 251, 246, .7);
}

.modal__aside ul {
  display: grid;
  gap: 9px;
  margin-top: 22px;
  font-size: 10px;
  line-height: 1.5;
  color: rgba(255, 251, 246, .8);
}

.modal__aside li {
  display: flex;
  gap: 8px;
}

.modal__aside li svg {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
  margin-top: 1px;
  color: var(--rose);
}

.modal__aside-contact {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 251, 246, .45);
}

.modal__aside-contact a {
  display: block;
  margin-top: 5px;
  font-family: var(--font-serif);
  font-size: 23px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--surface);
}

.modal__body {
  position: relative;
  padding: 34px;
}

.modal__body h3 {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
}

.modal__body > p {
  margin: 4px 0 18px;
  font-size: 10px;
  color: var(--muted);
}

.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 251, 246, .92);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}

.modal__close:hover {
  background: var(--ink);
  color: var(--surface);
}

.modal__close svg {
  width: 15px;
  height: 15px;
}

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

.lightbox {
  width: min(1100px, calc(100% - 32px));
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--surface);
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(15, 11, 9, .92);
}

.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 13px;
}

.lightbox__img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}

.lightbox__caption {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255, 251, 246, .7);
  text-align: center;
}

.lightbox__close,
.lightbox__nav {
  position: fixed;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--surface);
  color: var(--ink);
}

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

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

.lightbox__nav--prev {
  left: 22px;
}

.lightbox__nav--next {
  right: 22px;
}

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

/* ---------- Toast ---------- */

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 200;
  max-width: 360px;
  padding: 13px 17px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--surface);
  font-size: 11px;
  line-height: 1.5;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .25);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.toast a {
  color: var(--rose);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--delay, 0ms);
}

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

/* ---------- Keyframes ---------- */

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

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1180px) {
  .nav {
    gap: 18px;
  }

  .header__actions {
    gap: 12px;
  }

  .header__phone {
    display: none;
  }
}

@media (max-width: 1024px) {
  .hero__badge {
    left: -14px;
  }

  .hero__review {
    right: -12px;
  }

  .hero__stamp {
    right: -8px;
  }

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

  .footer__top {
    grid-template-columns: 1.2fr 1fr 1fr;
  }

  .footer__contacts {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .burger {
    display: block;
  }

  .header__actions .btn {
    display: none;
  }

  .header__inner {
    min-height: 70px;
  }

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

  .benefit:nth-child(2) {
    border-right: 0;
  }

  .benefit:nth-child(1),
  .benefit:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }

  .about__grid,
  .booking__grid,
  .contacts__grid,
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .about__media {
    margin: 0 auto;
  }

  .reviews__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-bar {
    display: grid;
  }

  body {
    padding-bottom: 74px;
  }

  .booking__card {
    max-width: 720px;
  }

  .feedback-card {
    max-width: 720px;
  }

  .map-wrap {
    margin-top: 36px;
  }

  .footer__bottom {
    flex-wrap: wrap;
  }
}

@media (max-width: 860px) {
  .hero {
    padding-top: 34px;
  }

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

  .hero__content {
    max-width: none;
  }

  .hero__title {
    max-width: 700px;
  }

  .hero__media {
    max-width: 420px;
    margin: 0 auto;
  }

  .hero__review {
    display: none;
  }

  .hero__stamp {
    right: 4px;
  }

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

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

  .promo__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .services__cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .modal__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .modal__aside {
    display: none;
  }

  .modal__body {
    padding: 30px 24px;
  }

  .modal {
    max-height: 92vh;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), 100% - 32px);
  }

  .topbar__inner {
    min-height: 34px;
  }

  .topbar__group {
    gap: 14px;
  }

  .topbar__item:first-child {
    display: none;
  }

  .topbar__item:nth-child(2) {
    display: none;
  }

  .logo__text strong {
    font-size: 22px;
  }

  .gallery__grid {
    columns: 2;
  }

  .price-list {
    padding: 2px 20px;
  }

  .price-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 18px;
    padding: 18px 0;
  }

  .price-row__meta {
    align-items: flex-end;
  }

  .price-row__btn {
    grid-column: 1 / -1;
    justify-self: start;
  }

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

  .review-card {
    padding: 20px;
  }

  .about__stats {
    gap: 24px;
    flex-wrap: wrap;
  }

  .booking__phone {
    font-size: 28px;
  }

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

  .footer {
    padding-top: 44px;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }

  .footer__contacts {
    grid-column: 1 / -1;
  }

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

  .map-wrap iframe {
    height: 300px;
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: 86px;
    max-width: none;
  }

  .lightbox__nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .lightbox__nav--prev {
    left: 50%;
    margin-left: -54px;
  }

  .lightbox__nav--next {
    right: 50%;
    margin-right: -54px;
  }

  .lightbox__img {
    max-height: 72vh;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-bottom: 58px;
  }

  .hero__title {
    font-size: clamp(44px, 12.5vw, 60px);
  }

  .hero__lead {
    font-size: 14px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__facts {
    gap: 20px;
    justify-content: space-between;
  }

  .hero__facts strong {
    font-size: 26px;
  }

  .hero__facts span {
    font-size: 8px;
  }

  .hero__badge {
    left: -8px;
    bottom: 20px;
    padding: 12px 14px;
    max-width: 190px;
  }

  .hero__badge strong {
    font-size: 17px;
  }

  .hero__stamp {
    width: 94px;
    height: 94px;
    top: -16px;
    right: 2px;
  }

  .hero__photo {
    border-width: 5px;
    border-radius: 200px 200px 14px 14px;
  }

  .hero__media::before {
    inset: -10px 10px 10px -10px;
    border-radius: 210px 210px 18px 18px;
  }

  .price-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }

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

  .price-tab {
    flex: 0 0 auto;
    padding: 10px 15px;
  }

  .price-list {
    padding: 0 16px;
    border-radius: 16px;
  }

  .price-row__main h3 {
    font-size: 20px;
  }

  .price-row__price {
    font-size: 24px;
  }

  .price-row__main p {
    font-size: 10px;
  }

  .services__cta p {
    font-size: 20px;
  }

  .about__exp {
    right: -8px;
    bottom: 30px;
    width: 96px;
    height: 96px;
  }

  .about__exp strong {
    font-size: 30px;
  }

  .about__signature {
    font-size: 28px;
  }

  .gallery__grid {
    columns: 1;
  }

  .section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .booking__card,
  .feedback-card {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .form__row {
    gap: 11px;
  }

  .field input,
  .field select,
  .field textarea {
    font-size: 13px;
  }

  .modal {
    width: calc(100% - 16px);
    border-radius: 18px;
  }

  .modal__body {
    padding: 28px 18px 22px;
  }

  .modal__body h3 {
    font-size: 26px;
  }

  .lightbox {
    width: calc(100% - 16px);
  }

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

  .mobile-menu__inner {
    padding-top: 98px;
  }
}

/* ---------- Touch ---------- */

@media (hover: none) {
  .gallery__item::after {
    opacity: 1;
    background: linear-gradient(to top, rgba(24, 17, 13, .5), transparent 45%);
  }

  .gallery__caption {
    opacity: 1;
    transform: none;
  }

  .review-card:hover {
    transform: none;
  }
}

/* ---------- Reduced motion ---------- */

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

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

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

  .hero__content,
  .hero__media {
    animation: none;
  }
}
