:root {
  --ivory: #f6f1eb;
  --milk: #fbf7f2;
  --paper: #fffdfa;
  --blush: #f3e3de;
  --blush-deep: #e4cdc6;
  --rose: #c48b86;
  --rose-deep: #8d5d58;
  --gold: #a68456;
  --gold-soft: #e6d3b4;
  --ink: #2a221c;
  --muted: #6e5e54;
  --line: rgba(42, 34, 28, 0.12);
  --shadow: 0 24px 60px rgba(74, 48, 40, 0.12);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --header: 92px;
  --radius: 28px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(228, 205, 198, 0.7), transparent 60%),
    radial-gradient(700px 380px at 100% 8%, rgba(230, 211, 180, 0.45), transparent 55%),
    var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

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

a { color: inherit; }

button, input { font: inherit; color: inherit; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(46px, 6vw, 84px); margin: 0 0 16px; }
.is-typing { position: relative; }
.type__ghost { visibility: hidden; }
.type__live {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
}
.type__char {
  animation: appear 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.type__live::after {
  content: "";
  display: inline-block;
  width: 2px;
  height: 0.72em;
  margin-left: 4px;
  background: var(--gold);
  vertical-align: 0.04em;
  animation: caret 1.4s ease-in-out infinite;
}
.is-typed .type__live::after {
  animation: caret-fade 0.7s ease forwards;
}
@keyframes appear {
  from { opacity: 0; filter: blur(8px); }
  to { opacity: 1; filter: blur(0); }
}
@keyframes caret {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}
@keyframes caret-fade {
  to { opacity: 0; }
}
h2 { font-size: clamp(36px, 4.4vw, 62px); margin: 0 0 12px; }
h3 { font-size: clamp(26px, 2vw, 34px); margin: 0; }

p { margin: 0 0 14px; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: var(--paper);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.eyebrow span {
  display: inline;
  letter-spacing: 0.08em;
  text-transform: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: transform 0.35s ease, background 0.35s ease, color 0.35s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); background: var(--rose-deep); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(42, 34, 28, 0.28);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: var(--header);
  transition: height 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.header.is-stuck {
  height: 72px;
  background: rgba(246, 241, 235, 0.88);
  box-shadow: 0 10px 30px rgba(42, 34, 28, 0.05);
}
.header.is-stuck::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(16px);
  pointer-events: none;
}
.header__inner {
  max-width: 1240px;
  margin: 0 auto;
  height: 100%;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 78px; width: auto; }
.header.is-stuck .logo img { height: 56px; }
.nav {
  display: flex;
  gap: 18px;
  margin-left: auto;
}
.nav a {
  text-decoration: none;
  font-size: 14px;
  color: var(--muted);
}
.nav a:hover { color: var(--ink); }
.header__actions { display: flex; align-items: center; gap: 14px; }
.header__phone, .header__tg {
  text-decoration: none;
  font-size: 14px;
  white-space: nowrap;
}
.header__tg { letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px; color: var(--rose-deep); }
.burger {
  display: none;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  overflow: hidden;
  padding: 12px 24px 72px;
}
.hero__glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: 8%;
  top: 10%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 139, 134, 0.28), transparent 68%);
  animation: float 9s ease-in-out infinite;
  pointer-events: none;
}
.hero__grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  min-height: calc(100vh - 140px);
}
.hero__lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 420px;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.rating {
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 253, 250, 0.7);
  backdrop-filter: blur(8px);
}
.rating__score {
  margin: 0;
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
}
.rating__score span:last-child { color: var(--gold); font-size: 22px; }
.rating__meta { margin: 0; font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }
.hero__visual { position: relative; min-height: 620px; }
.hero__portrait {
  margin: 0 0 0 auto;
  width: min(100%, 460px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid var(--milk);
}
.hero__portrait img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  animation: drift 6.5s ease-in-out infinite alternate;
}
.hero__float {
  position: absolute;
  left: 0;
  bottom: 36px;
  margin: 0;
  width: 190px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid var(--milk);
}
.hero__float img { height: 240px; width: 100%; object-fit: cover; }

.about, .services, .prices, .why, .reviews, .contacts, .showcase, .steps, .gallery, .journal {
  max-width: 1240px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.services { padding-bottom: 16px; }
.services .catalog:last-child { margin-bottom: 0; }
.prices { padding-top: 20px; }
.about__layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  column-gap: 64px;
  row-gap: 0;
  align-items: center;
}
.about__visual { position: relative; grid-column: 1; grid-row: 1 / span 2; }
.about__photo { margin: 0; }
.about__intro { grid-column: 2; grid-row: 1; align-self: end; }
.about__text { grid-column: 2; grid-row: 2; align-self: start; }
.about__photo {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid var(--milk);
}
.about__photo img {
  width: 100%;
  height: 640px;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  animation: drift 6.5s ease-in-out infinite alternate;
}
.about__float {
  position: absolute;
  left: -72px;
  bottom: 36px;
  margin: 0;
  width: 190px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 4px solid var(--milk);
}
.about__float img { height: 240px; width: 100%; object-fit: cover; display: block; }
.about__text p { color: var(--muted); max-width: 560px; }
blockquote {
  margin: 28px 0;
  padding-left: 22px;
  border-left: 1px solid var(--gold);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.2;
  color: var(--ink);
}
.about__points {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.about__points li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--gold);
  margin-right: 10px;
  vertical-align: middle;
}

.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head__note, .catalog__phrase { color: var(--muted); }

.showcase__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}
.shot {
  position: relative;
  display: block;
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  scroll-snap-align: start;
}
.shot img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.shot span {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 18px;
  right: 18px;
  color: #fffdf8;
  font-family: var(--serif);
  font-size: 32px;
  line-height: 1;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42, 34, 28, 0.45), transparent 48%);
}
.shot:hover img { transform: scale(1.06); }
.showcase__scroller { position: relative; }
.swipe-hint {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
}
.swipe-hint.is-on { opacity: 1; visibility: visible; }
.swipe-hint.is-gone {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.swipe-hint__cursor {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: 34%;
  padding: 10px 14px 10px 12px;
  border-radius: 999px;
  color: #fffdf8;
  background: rgba(42, 34, 28, 0.58);
  box-shadow: 0 14px 30px rgba(42, 34, 28, 0.28);
  animation: swipe-live 1.8s ease-in-out infinite;
}
.swipe-hint.is-gone .swipe-hint__cursor { animation: none; }
@keyframes swipe-live {
  0% { transform: translateX(78px); opacity: 0; }
  16% { opacity: 1; }
  70% { transform: translateX(-78px); opacity: 1; }
  100% { transform: translateX(-96px); opacity: 0; }
}

.catalog {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 72px;
}
.catalog--flip .catalog__media { order: 2; }
.catalog__media {
  position: sticky;
  top: 96px;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.catalog__media img { width: 100%; height: 620px; object-fit: cover; }
.catalog__kicker {
  position: absolute;
  left: 18px;
  bottom: 18px;
  margin: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.86);
  backdrop-filter: blur(8px);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.catalog__media { position: sticky; }
.catalog__sub { margin-top: 36px; }
.menu { list-style: none; margin: 18px 0 0; padding: 0; }
.menu li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.menu small { display: block; color: var(--muted); font-size: 13px; margin-top: 4px; }
.menu span {
  font-family: var(--serif);
  font-size: 28px;
  white-space: nowrap;
}
.menu button {
  border: 0;
  background: transparent;
  color: var(--rose-deep);
  cursor: pointer;
  padding: 8px 0;
}
.menu button:hover { color: var(--ink); }

.prices__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.prices__head h2 { margin-bottom: 0; }
.prices__toggle {
  position: relative;
  display: none;
  width: 48px;
  height: 48px;
  flex: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.prices__toggle [data-plus] {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.prices__toggle::before,
.prices__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transform: translate(-50%, -50%);
}
.prices__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.prices.is-open .prices__toggle::after { content: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filters button {
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  min-height: 42px;
  padding: 0 16px;
  cursor: pointer;
}
.filters button.is-active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (min-width: 981px) {
  .filters [data-filter="all"] { display: none; }
}
.price-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.price-card {
  background: rgba(255, 253, 250, 0.72);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  min-height: 160px;
  transition: transform 0.35s ease, opacity 0.35s ease, box-shadow 0.35s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card p { color: var(--muted); font-size: 14px; min-height: 44px; }
.price-card strong {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
}
.price-card.is-hidden {
  opacity: 0;
  transform: scale(0.98);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
}

.why__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.why__grid li {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 253, 250, 0.8), rgba(243, 227, 222, 0.45));
  border: 1px solid var(--line);
}
.why__grid span {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 22px;
}
.why__grid p { color: var(--muted); margin: 8px 0 0; }
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.facts li {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 14px;
}

.steps__panel {
  padding: 36px;
  border-radius: 32px;
  background:
    linear-gradient(120deg, rgba(255, 253, 250, 0.4), rgba(255, 253, 250, 0.05)),
    url("../images/skincare-still.webp") center/cover;
  box-shadow: var(--shadow);
}
.steps__panel > div,
.steps ol,
.steps .btn { position: relative; z-index: 1; }
.steps__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(246, 241, 235, 0.88);
}
.steps__panel { position: relative; }
.steps ol {
  list-style: none;
  margin: 28px 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.steps li span {
  font-family: var(--serif);
  font-size: 42px;
  color: var(--rose);
}
.steps p { color: var(--muted); }

.rating-line { color: var(--muted); }
.rating-line b { font-family: var(--serif); font-size: 42px; font-weight: 500; color: var(--ink); }
.reviews__slider { position: relative; }
.reviews__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--rose-deep);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}
.reviews__nav--prev { left: 0; }
.reviews__nav--next { right: 0; }
.reviews__nav:disabled { opacity: 0.35; cursor: default; }
.reviews__grid {
  display: flex;
  align-items: stretch;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.reviews__grid::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 100%;
  height: 340px;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 28px 22px 22px;
  border-radius: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.review__stars { flex: none; margin: 0 0 12px; letter-spacing: 0.14em; font-size: 15px; line-height: 1; }
.review__stars span:first-child { color: var(--gold); }
.review__stars span:last-child { color: rgba(166, 132, 86, 0.35); }
.review blockquote {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  overflow: hidden;
}
.review blockquote p {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.4;
  color: var(--ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review figcaption { flex: none; margin: 0; color: var(--muted); font-size: 13px; letter-spacing: 0.04em; }
@media (min-width: 700px) {
  .review { flex-basis: calc((100% - 16px) / 2); }
}
@media (min-width: 981px) {
  .reviews__slider { padding: 0 58px; }
  .review { flex-basis: calc((100% - 32px) / 3); }
}
@media (max-width: 980px) {
  .reviews__nav { display: none; }
}
.reviews__more { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px; }

.films {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.film, .mosaic button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 24px;
  overflow: hidden;
}
.film img, .mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.film { height: 420px; }
.film:hover img, .mosaic button:hover img { transform: scale(1.04); }
.film span {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 253, 250, 0.9);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mosaic {
  columns: 4 220px;
  column-gap: 12px;
}
.mosaic button {
  margin: 0 0 12px;
  break-inside: avoid;
}
.mosaic img { height: auto; }
.gallery__more { margin: 18px 0 0; }

.slider {
  overflow: hidden;
  margin: 0 -24px;
  padding: 8px 0 12px;
  touch-action: pan-y;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.slider__track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: glide 180s linear infinite;
}
.slider:hover .slider__track,
.slider.is-paused .slider__track { animation-play-state: paused; }
.slider button {
  flex: none;
  width: 260px;
  height: 360px;
  padding: 0;
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  touch-action: pan-y;
  cursor: pointer;
  background: var(--blush);
}
.slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.slider button:hover img { transform: scale(1.06); }
@keyframes glide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.journal__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.85fr;
  gap: 16px;
}
.note {
  background: rgba(255, 253, 250, 0.78);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}
.note--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 0.85fr; }
.note img, .note video { width: 100%; display: block; object-fit: cover; }
.note--wide video { height: 360px; background: #1c1613; }
.note--wide .note__media img { height: 220px; }
.note > img { height: 280px; }
.note > div, .note--film > div { padding: 22px 24px 26px; }
.note a { color: var(--rose-deep); }
.note__meta { color: var(--muted); }
.note--film {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 280px 1fr;
  align-items: center;
}
.note--film video { height: 360px; background: #1c1613; }
.journal .note h3 { margin-bottom: 10px; }
.viewer {
  width: min(920px, calc(100vw - 24px));
  height: min(88vh, 900px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
  touch-action: none;
}
.viewer::backdrop { background: rgba(42, 34, 28, 0.72); }
.viewer img, .viewer iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: 0;
  border-radius: 20px;
  background: #1c1613;
  touch-action: none;
  -webkit-user-drag: none;
  user-select: none;
}
body.viewer-open { overflow: hidden; }
.viewer__close, .viewer__nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 253, 250, 0.32);
  border-radius: 999px;
  background: rgba(141, 93, 88, 0.46);
  color: var(--paper);
  backdrop-filter: blur(10px);
  cursor: pointer;
}
.viewer__close {
  top: 12px;
  right: 12px;
  min-height: 40px;
  padding: 0 14px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.viewer__nav {
  top: 50%;
  width: 44px;
  height: 44px;
  transform: translateY(-50%);
  font-size: 28px;
  line-height: 1;
}
.viewer__nav--prev { left: 12px; }
.viewer__nav--next { right: 12px; }
.viewer.is-video .viewer__nav { display: none; }

.contacts {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}
.contacts__card, .contacts__map {
  border-radius: 32px;
  overflow: hidden;
}
.contacts__card {
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.contacts__brand { font-family: var(--serif); font-size: 28px; }
.contacts__list { list-style: none; margin: 0 0 22px; padding: 0; }
.contacts__list li { padding: 12px 0; border-top: 1px solid var(--line); }
.contacts__list span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-deep);
}
.contacts__map img { height: 220px; width: 100%; object-fit: cover; }
.contacts__map iframe { width: 100%; height: 320px; border: 0; }
.map-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px 18px;
}
.map-link { color: var(--rose-deep); }
.map-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.taxi-link, .route-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  text-decoration: none;
}
.taxi-link img, .route-link img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
}
.taxi-link:hover, .route-link:hover { color: var(--rose-deep); }

.footer { padding: 28px 24px 110px; border-top: 1px solid var(--line); }
.footer__top {
  max-width: 1240px;
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: auto 1.2fr 1fr auto;
  gap: 24px;
  align-items: start;
}
.footer nav, .footer__social { display: grid; gap: 6px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--rose-deep); }
.footer__name { font-family: var(--serif); font-size: 26px; margin-bottom: 8px; }
.footer__bottom {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.footer__copy { margin: 0; color: var(--muted); font-size: 13px; }
.developer__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #6c6c6c;
  font-size: 13px;
}
.developer__icon { width: 14px; height: 14px; }
@media (min-width: 981px) {
  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.dock {
  display: none;
  position: fixed;
  left: 12px;
  right: 64px;
  bottom: 12px;
  z-index: 25;
  gap: 8px;
}
.dock a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
}
.dock a:first-child { background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.max-fab {
  display: flex;
  position: fixed;
  z-index: 26;
  right: 12px;
  bottom: 16px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  filter: drop-shadow(0 8px 12px rgba(70, 60, 180, 0.35));
  animation: max-live 2.4s ease-in-out infinite;
}
.max-fab img { display: block; width: 40px; height: 40px; }
@keyframes max-live {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-4px) scale(1.05); }
}
@media (min-width: 981px) {
  .max-fab {
    right: 28px;
    bottom: 28px;
    width: 68px;
    height: 68px;
  }
  .max-fab img { width: 68px; height: 68px; }
}

.sheet { border: 0; padding: 0; background: transparent; }
.sheet::backdrop { background: rgba(42, 34, 28, 0.35); }
.sheet__card {
  width: min(440px, calc(100vw - 32px));
  margin: auto;
  padding: 28px;
  border-radius: 28px;
  background: var(--milk);
  border: 1px solid var(--line);
  display: grid;
  gap: 12px;
}
.sheet__card h2 { font-size: 34px; }
.sheet__card p { color: var(--muted); }

.hero__copy {
  animation: rise 1s ease both;
}
.reveal {
  opacity: 0;
  transform: translateY(28px);
}
.reveal.is-in {
  animation: rise 0.9s ease forwards;
}

@keyframes rise {
  to { opacity: 1; transform: none; }
}
@keyframes float {
  50% { transform: translateY(18px); }
}
@keyframes drift {
  to { transform: scale(1.28) translateY(-18px); }
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 980px) {
  .nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 22px;
    background: #f6f1eb;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
  }
  body.menu-open .logo {
    position: relative;
    z-index: 3;
  }
  .nav a { font-family: var(--serif); font-size: 36px; color: var(--ink); }
  .header__actions { position: relative; z-index: 2; margin-left: auto; }
  #hero-title .hero__line { display: block; white-space: nowrap; }
  #hero-title.is-typing { white-space: nowrap; }
  .burger { display: inline-flex; align-items: center; background: var(--ivory); }
  .burger[aria-expanded="true"] { color: var(--paper); background: var(--ink); border-color: var(--ink); }
  .header__phone { display: none; }
  .prices__toggle { display: grid; }
  .prices:not(.is-open) .prices__panel { display: none; }
  .services .catalog:last-child { margin-bottom: 0; }
  .services { padding-bottom: 8px; }
  .prices:not(.is-open) {
    padding-top: 8px;
    padding-bottom: 12px;
  }
  .prices:not(.is-open) .section-head { margin-bottom: 0; }
  .hero__grid, .about__layout, .catalog, .catalog--flip, .contacts, .footer__top, .why__grid, .reviews__grid, .steps ol, .price-grid, .films {
    grid-template-columns: 1fr;
  }
  .film { height: 460px; }
  .journal__grid, .note--wide, .note--film { grid-template-columns: 1fr; }
  .note--wide video, .note--film video, .note > img { height: 240px; }
  .showcase__track {
    display: flex;
    gap: 0;
    scroll-snap-type: x mandatory;
  }
  .showcase__track .shot {
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .slider { margin: 0 -16px; }
  .slider button { width: 210px; height: 300px; }
  .catalog--flip .catalog__media { order: 0; }
  .catalog__media { position: static; }
  .catalog__media img, .about__photo img, .hero__portrait img { height: 460px; }
  .about__layout { row-gap: 28px; }
  .about__intro,
  .about__visual,
  .about__text { grid-column: 1; grid-row: auto; align-self: start; }
  .about__intro { order: 1; }
  .about__visual { order: 2; }
  .about__text { order: 3; }
  #about-title { margin-bottom: 0; }
  .hero__visual { min-height: 0; }
  .hero__portrait { width: min(100%, 380px); margin: 0 auto; }
  .hero__float { width: 120px; bottom: 12px; left: -14px; }
  .hero__float img { height: 160px; }
  .about__float { width: 120px; bottom: 12px; left: -14px; }
  .about__float img { height: 160px; }
  .dock { display: flex; }
  .max-fab { display: flex; }
  .footer { padding-bottom: 120px; }
}

@media (max-width: 640px) {
  .header__actions .btn { display: none; }
  .hero { padding-top: 8px; }
  h1 { font-size: 42px; }
  #hero-title { font-size: min(42px, calc((100vw - 64px) * 0.122)); }
  .menu li { grid-template-columns: 1fr auto; }
  .menu button { grid-column: 1 / -1; justify-self: start; }
  .price-card strong { font-size: 30px; }
}

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