/* Лами Студия — стили сайта
   Палитра взята с логотипа: серо-бежевая бумага + чернильный #1a1a1a.
   Один акцент (малиновый неон вывески студии) — только для звёзд и мелких отметок. */

@font-face { font-family: "Golos Text"; src: url("../fonts/golos-cyrillic.woff2") format("woff2"); font-weight: 400 600; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; src: url("../fonts/golos-latin.woff2") format("woff2"); font-weight: 400 600; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Tenor Sans"; src: url("../fonts/tenor-cyrillic.woff2") format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Tenor Sans"; src: url("../fonts/tenor-latin.woff2") format("woff2"); font-weight: 400; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --paper: #efeae5;       /* фон логотипа */
  --paper-light: #f7f4f1; /* светлые секции, карточки */
  --ink: #1a1a1a;         /* цвет надписи ЛАМИ */
  --ink-soft: #57504b;    /* второстепенный текст */
  --line: #d9d0c9;        /* тонкие линии */
  --rose: #b0256b;        /* неон вывески, приглушён до читаемого */
  --on-dark: #efeae5;
  --on-dark-soft: #b9b0a9;

  --font-display: "Tenor Sans", "Didot", "Bodoni 72", Georgia, serif;
  --font-text: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(72px, 10vw, 140px);
  --radius-photo: 28px;
  --radius-small: 14px;
  --header-h: 72px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-text); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--on-dark); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 999px; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(44px, 5.6vw, 84px); line-height: 1.02; }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.05; }
h3 { font-size: clamp(22px, 2.1vw, 28px); line-height: 1.2; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.55; color: var(--ink-soft); max-width: 34em; }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid var(--ink);
  font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.btn-light:hover { background: #fff; }
.btn-small { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; flex: none; }

.text-link { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.text-link:hover { text-decoration-color: var(--rose); }

/* ---------- Шапка ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40; height: var(--header-h);
  background: rgba(239, 234, 229, .88); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-row { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; flex-direction: column; gap: 5px; text-decoration: none; flex: none; }
.brand img { width: 118px; height: auto; }
.brand-sub { font-size: 8.5px; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: clamp(16px, 2.2vw, 32px); margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-size: 15px; color: var(--ink-soft); padding: 6px 0; }
.main-nav a:hover { color: var(--ink); }
.header-cta { flex: none; }
.menu-toggle { display: none; }

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .brand img { width: 100px; }
  .brand-sub { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer;
  }
  .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; transition: transform .2s ease; }
  .menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
  .menu-toggle span::before { top: -5px; } .menu-toggle span::after { top: 5px; }
  .menu-open .menu-toggle span { background: transparent; }
  .menu-open .menu-toggle span::before { transform: translateY(5px) rotate(45deg); }
  .menu-open .menu-toggle span::after { transform: translateY(-5px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px; display: none;
  }
  .menu-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { display: block; padding: 14px 0; font-size: 20px; font-family: var(--font-display); color: var(--ink); border-bottom: 1px solid var(--line); }
}
@media (max-width: 400px) { .header-cta { padding: 0 14px; font-size: 14px; } }

/* ---------- Первый экран ---------- */
.hero { position: relative; padding-block: clamp(36px, 6vw, 80px) clamp(120px, 14vw, 200px); overflow: hidden; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 28px; }
.hero-place { font-size: 15px; color: var(--ink-soft); }
.hero h1 { max-width: none; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.proof { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-top: 8px; font-size: 15px; color: var(--ink-soft); }
.proof a { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.proof a:hover .proof-score { text-decoration: underline; text-underline-offset: 3px; }
.proof-score { font-family: var(--font-display); font-size: 28px; color: var(--ink); line-height: 1; }
.stars { display: inline-flex; gap: 2px; color: var(--rose); }
.stars svg { width: 15px; height: 15px; }
.award { display: inline-flex; align-items: center; gap: 8px; }
.award svg { width: 20px; height: 20px; color: var(--rose); }

.hero-media { position: relative; padding-bottom: 12%; }
.hero-photo-main { border-radius: var(--radius-photo); overflow: hidden; aspect-ratio: 4 / 5; background: var(--line); box-shadow: 0 30px 60px -30px rgba(40, 28, 20, .35); }
.hero-photo-main img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 45%; }
.hero-photo-second {
  position: absolute; left: -12%; bottom: 0; width: 42%; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden;
  border: 6px solid var(--paper); background: var(--line);
}
.hero-photo-second img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* Волна из буквы «Л»: тонкая линия через весь экран, рисуется один раз */
.hero-curl { position: absolute; left: 0; right: 0; bottom: clamp(12px, 2vw, 28px); width: 100%; height: clamp(90px, 11vw, 160px); pointer-events: none; z-index: 0; color: var(--ink); opacity: .6; }
.hero-curl path { fill: none; stroke: currentColor; stroke-width: 1.4; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.js .hero-curl path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw-curl 2.6s cubic-bezier(.65, 0, .25, 1) .3s forwards; }
@keyframes draw-curl { to { stroke-dashoffset: 0; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 520px; width: 100%; margin-left: auto; padding-bottom: 18%; }
  .hero-photo-second { left: -4%; width: 40%; }
  .hero-actions .btn { flex: 1 1 220px; }
}

/* ---------- Общие секции ---------- */
.section { padding-block: var(--section); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head p { color: var(--ink-soft); max-width: 32em; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }
.section-light { background: var(--paper-light); }

/* ---------- Процедуры ---------- */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.service {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); gap: 16px 48px;
  padding: clamp(28px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); align-items: start;
}
.service h3 { padding-top: 2px; }
.service-desc { color: var(--ink-soft); max-width: 36em; }
.service-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.service-time { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.service-time svg { width: 16px; height: 16px; color: var(--ink-soft); }
.service-note { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 860px) {
  .service { grid-template-columns: 1fr; gap: 12px; }
  .service-meta { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; width: 100%; }
}
.extras { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 16px 48px; padding-top: 36px; }
.extras h3 { font-size: 20px; }
.extras ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.extras li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; background: var(--paper-light); }
.extras li span { color: var(--ink-soft); }
.price-note { margin-top: 36px; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 860px) { .extras { grid-template-columns: 1fr; } }

/* ---------- Работы ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 42px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 15px;
}
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.works { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .works { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.work { margin: 0; }
.work[hidden], .works.is-collapsed .work.is-extra { display: none; }
.work button { display: block; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; background: var(--line); border-radius: var(--radius-small); overflow: hidden; cursor: zoom-in; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.work button:hover img { transform: scale(1.025); }
.work figcaption { font-size: 14px; color: var(--ink-soft); padding-top: 8px; }
.works-toggle { margin-top: 28px; }
.works-toggle[hidden] { display: none; }
.works-more { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; color: var(--ink-soft); font-size: 15px; }

/* Просмотр фото */
.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(20, 16, 14, .9); }
.lightbox-inner { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; padding: 64px 16px 24px; }
.lightbox img { max-width: min(1100px, 100%); max-height: 100%; width: auto; height: auto; border-radius: 12px; }
.lightbox-close, .booking-close {
  position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(239, 234, 229, .4); background: transparent; color: var(--on-dark); cursor: pointer; display: grid; place-items: center;
}
.lightbox-close svg, .booking-close svg { width: 18px; height: 18px; }

/* ---------- Тёмный блок «Студия» ---------- */
.dark { background: var(--ink); color: var(--on-dark); }
.dark .lead, .dark .muted { color: var(--on-dark-soft); }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.studio-text { display: flex; flex-direction: column; gap: 28px; position: sticky; top: calc(var(--header-h) + 32px); }
.rituals { list-style: none; margin: 8px 0 0; padding: 0; border-top: 1px solid rgba(239, 234, 229, .18); }
.rituals li { padding: 18px 0; border-bottom: 1px solid rgba(239, 234, 229, .18); display: grid; grid-template-columns: 150px 1fr; gap: 16px; }
.rituals b { font-weight: 500; }
.rituals span { color: var(--on-dark-soft); }
@media (max-width: 520px) { .rituals li { grid-template-columns: 1fr; gap: 4px; } }
.studio-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.studio-photos figure { margin: 0; border-radius: var(--radius-small); overflow: hidden; background: #2a2725; }
.studio-photos img { width: 100%; height: 100%; object-fit: cover; }
.studio-photos .tall { grid-row: span 2; }
.studio-photos .wide { grid-column: span 2; aspect-ratio: 16 / 10; }
.studio-numbers { display: flex; flex-wrap: wrap; gap: 24px 48px; margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid rgba(239, 234, 229, .18); }
.studio-numbers div { display: flex; flex-direction: column; gap: 4px; }
.studio-numbers strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(34px, 4vw, 48px); line-height: 1; }
.studio-numbers span { color: var(--on-dark-soft); font-size: 15px; }
@media (max-width: 860px) {
  .studio-grid { grid-template-columns: 1fr; }
  .studio-text { position: static; }
}

/* ---------- Как проходит визит ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps li { counter-increment: step; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--ink); }
.steps li::before { content: counter(step); font-family: var(--font-display); font-size: 44px; line-height: 1; }
.steps p { color: var(--ink-soft); }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Мастера ---------- */
.masters { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.master { background: var(--paper-light); border-radius: var(--radius-photo); padding: clamp(28px, 3vw, 40px); display: flex; flex-direction: column; gap: 18px; }
.master-mark {
  width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--ink); display: grid; place-items: center;
  font-family: var(--font-display); font-size: 40px; line-height: 1;
}
.master-role { color: var(--ink-soft); font-size: 15px; margin-top: -10px; }
.master blockquote { margin: 0; padding-left: 16px; border-left: 2px solid var(--rose); color: var(--ink-soft); font-size: 16px; }
.master .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Отзывы ---------- */
.reviews-wrap { position: relative; }
.reviews {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, 380px); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 20px; scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.review { scroll-snap-align: start; background: var(--paper-light); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 16px; margin: 0; }
.review blockquote { margin: 0; font-size: 16px; line-height: 1.6; }
.review figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 12px; border-top: 1px solid var(--line); }
.review-name { font-weight: 500; }
.review-meta { font-size: 14px; color: var(--ink-soft); }
.reviews-nav { display: flex; gap: 8px; }
.round-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; cursor: pointer; display: grid; place-items: center; }
.round-btn:hover { background: var(--ink); color: var(--paper); }
.round-btn svg { width: 18px; height: 18px; }
.reviews-foot { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; margin-top: 24px; }
.reviews-source { font-size: 14px; color: var(--ink-soft); max-width: 40em; }
@media (max-width: 640px) { .reviews-nav { display: none; } .reviews { grid-auto-columns: 86%; } }

/* ---------- Вопросы ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px 80px; align-items: start; }
.faq-grid .section-intro { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 32px); }
.faq-grid .section-intro p { color: var(--ink-soft); }
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: 19px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink);
  transform: translateY(-4px) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq .answer { padding: 0 0 24px; color: var(--ink-soft); max-width: 40em; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .section-intro { position: static; } }

/* ---------- Как найти ---------- */
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: route; }
.route li { counter-increment: route; display: flex; flex-direction: column; gap: 14px; }
.route .route-photo { border-radius: var(--radius-small); overflow: hidden; aspect-ratio: 4 / 3; background: var(--line); }
.route img { width: 100%; height: 100%; object-fit: cover; }
.route h3 { font-size: 21px; display: flex; gap: 12px; align-items: baseline; }
.route h3::before { content: counter(route); font-size: 15px; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--ink); display: inline-grid; place-items: center; flex: none; font-family: var(--font-text); transform: translateY(-2px); }
.route p { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 860px) { .route { grid-template-columns: 1fr; } .route .route-photo { aspect-ratio: 16 / 10; } }

/* ---------- Финальный призыв ---------- */
.final-cta { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.final-cta h2 { max-width: 12em; }
.final-cta p { color: var(--ink-soft); max-width: 30em; }
.final-cta .hero-actions { justify-content: center; }

/* ---------- Подвал ---------- */
.site-footer { background: var(--ink); color: var(--on-dark); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-block: clamp(56px, 7vw, 96px) 48px; }
.footer-brand img { width: 150px; filter: invert(1) brightness(1.4); }
.footer-brand p { margin-top: 16px; color: var(--on-dark-soft); font-size: 15px; max-width: 22em; }
.footer-col h3 { font-family: var(--font-text); font-size: 13px; font-weight: 500; color: var(--on-dark-soft); margin-bottom: 14px; letter-spacing: .02em; }
.footer-col p, .footer-col li { font-size: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-col .muted { color: var(--on-dark-soft); font-size: 15px; }
.footer-map { position: relative; height: clamp(360px, 45vw, 520px); background: #2a2725; }
.footer-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.footer-map iframe.map-osm { filter: grayscale(.5) sepia(.12) contrast(.97); }
.footer-map-links { position: absolute; left: var(--gutter); top: 20px; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; padding-right: 60px; }
.footer-map-link {
  background: var(--paper); color: var(--ink); border-radius: 999px; padding: 12px 20px; font-size: 15px; font-weight: 500;
  text-decoration: none; box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
}
.footer-map-link:last-child { background: var(--ink); color: var(--paper); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-block: 24px; font-size: 14px; color: var(--on-dark-soft); }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Окно онлайн-записи (YCLIENTS) ---------- */
/* Закрытое окно НЕ display:none: иначе браузер не грузит «ленивые» фото внутри формы YCLIENTS.
   Оно лежит на месте, но невидимо и не ловит нажатия; форма и фото подгружаются заранее. */
.booking { position: fixed; inset: 0; z-index: 90; visibility: hidden; pointer-events: none; }
.booking.is-open { visibility: visible; pointer-events: auto; }
.booking-backdrop { position: absolute; inset: 0; background: rgba(20, 16, 14, .55); }
.booking.is-open .booking-backdrop { animation: fade-in .25s ease; }
.booking-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: var(--paper-light);
  display: flex; flex-direction: column; box-shadow: -20px 0 60px rgba(0, 0, 0, .25);
}
.booking.is-open .booking-panel { animation: slide-in .35s cubic-bezier(.2, .8, .2, 1); }
.booking-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 14px 14px 24px; border-bottom: 1px solid var(--line); }
.booking-head h2 { font-size: 24px; }
.booking-close { position: static; border-color: var(--line); color: var(--ink); }
.booking-body { position: relative; flex: 1; }
.booking-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.booking-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-soft); font-size: 15px; }
.booking-foot { padding: 10px 24px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
@media (max-width: 640px) {
  .booking-panel { width: 100%; top: 0; }
  .booking.is-open .booking-panel { animation-name: slide-up; }
  .booking-head { padding-left: 20px; padding-top: calc(10px + env(safe-area-inset-top)); }
}
body.no-scroll { overflow: hidden; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
@keyframes slide-up { from { transform: translateY(40px); opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
