/* ============================================================
   Кафе «Торшер» — основной стиль
   Палитра: тёмно-зелёный, крем, латунь, вино
   ============================================================ */

@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/playfair-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/playfair-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/playfair-italic-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/playfair-italic-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-cyr.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('/assets/fonts/manrope-lat.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #15231d;
  --ink-soft: #21342b;
  --ink-2: #2d4438;
  --cream: #f6f0e4;
  --cream-2: #efe5d3;
  --paper: #fbf7ef;
  --brass: #b98a4b;
  --brass-light: #d3ad72;
  --wine: #6e2b2f;
  --wine-light: #8b3a3e;
  --sage: #a9b7a3;
  --muted: #6d7368;
  --line: rgba(21, 35, 29, .14);
  --line-light: rgba(246, 240, 228, .18);
  --serif: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --container: 1240px;
  --radius: 18px;
  --shadow: 0 24px 60px -30px rgba(21, 35, 29, .35);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17.5px;
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }

img, picture, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.25em; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 700; line-height: 1.06; letter-spacing: -.032em; }
::selection { background: var(--brass); color: var(--ink); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 32px;
}
@media (max-width: 700px) { .container { padding-inline: 20px; } }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.muted { color: var(--muted); }
.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 1000;
  background: var(--ink); color: var(--cream); padding: 12px 20px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ------------------------------------------------------------ кнопки */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
  line-height: 1.2;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn--small { min-height: 42px; padding: 10px 20px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--dark { background: var(--ink); color: var(--cream); }
.btn--dark:hover { background: var(--wine); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: var(--brass-light); }
.btn--ghost { color: var(--cream); border-color: rgba(246, 240, 228, .45); background: rgba(246, 240, 228, .04); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(246, 240, 228, .14); border-color: var(--cream); }
.btn--outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline-dark:hover { background: var(--ink); color: var(--cream); }
.btn--outline-light { border-color: rgba(246, 240, 228, .4); color: var(--cream); background: transparent; }
.btn--outline-light:hover { background: var(--cream); color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 650; color: var(--ink);
  border-bottom: 1px solid var(--brass); padding-bottom: 3px;
  transition: color .2s, gap .2s;
}
.link-arrow .icon { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--wine); gap: 14px; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ------------------------------------------------------------ шапка */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .3s var(--ease), box-shadow .3s;
}
.topbar {
  background: var(--ink);
  color: rgba(246, 240, 228, .78);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: height .3s var(--ease), opacity .3s;
  overflow: hidden;
  height: 38px;
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 38px; gap: 20px; }
.topbar__inner span, .topbar__inner a { display: inline-flex; align-items: center; gap: 7px; }
.topbar .icon { width: 14px; height: 14px; opacity: .75; }
.topbar a:hover { color: var(--cream); }
.header__inner {
  display: flex; align-items: center; gap: 28px;
  height: 86px;
  transition: height .3s var(--ease);
}
.header.is-scrolled { background: rgba(246, 240, 228, .94); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.header.is-scrolled .topbar { height: 0; opacity: 0; }
.header.is-scrolled .header__inner { height: 72px; }
.header.is-scrolled .logo__name, .header.is-scrolled .nav__link { color: var(--ink); }
.header.is-scrolled .logo__sub { color: var(--muted); }

.logo { display: inline-flex; align-items: center; gap: 13px; flex: none; }
.logo__mark {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid rgba(246, 240, 228, .35);
  display: grid; place-items: center; color: var(--cream);
  transition: border-color .3s, color .3s, transform .4s var(--ease);
}
.logo:hover .logo__mark { transform: rotate(-6deg); border-color: var(--brass-light); }
.logo__mark .icon { width: 26px; height: 26px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--serif); font-weight: 800; font-size: 24px; letter-spacing: .02em; text-transform: uppercase; color: var(--cream); transition: color .3s; }
.logo__sub { font-size: 9.5px; text-transform: uppercase; letter-spacing: .3em; color: rgba(246, 240, 228, .6); margin-top: 5px; transition: color .3s; }

.nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.nav__link {
  font-size: 13px; font-weight: 550; color: rgba(246, 240, 228, .86);
  position: relative; padding: 6px 0; white-space: nowrap;
  transition: color .2s;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--brass); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link:hover, .nav__link.is-active { color: var(--cream); }
.header__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.header__phone { font-size: 14px; font-weight: 650; color: var(--cream); white-space: nowrap; transition: color .2s; }
.header__phone:hover { color: var(--brass-light); }
.burger {
  display: none; width: 44px; height: 44px; border: 1px solid rgba(246, 240, 228, .3);
  border-radius: 50%; background: transparent; color: var(--cream); cursor: pointer;
  align-items: center; justify-content: center;
}
.burger .icon { width: 22px; height: 22px; }
.header.is-scrolled .burger { border-color: var(--line); color: var(--ink); }

@media (max-width: 1500px) {
  .header__phone { display: none; }
}
@media (max-width: 1280px) {
  .nav { gap: 16px; }
  .nav__link { font-size: 12px; }
}
@media (max-width: 1120px) {
  .nav__link:nth-child(7), .nav__link:nth-child(8) { display: none; }
}
@media (max-width: 940px) {
  .nav, .header__actions .btn { display: none; }
  .burger { display: inline-flex; }
  .topbar__inner > span:nth-child(2) { display: none; }
}

.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--cream);
  padding: 22px 24px 32px;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.mobile-menu__head .burger { border-color: var(--line); color: var(--ink); }
.logo__name--dark { color: var(--ink); }
.mobile-menu__nav { display: flex; flex-direction: column; padding: 26px 0; gap: 2px; }
.mobile-menu__nav a {
  font-family: var(--serif); font-size: clamp(26px, 6vw, 34px); line-height: 1.45;
  color: var(--ink); border-bottom: 1px solid var(--line); padding: 8px 0;
}
.mobile-menu__nav a.is-active { color: var(--wine); }
.mobile-menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 12px; padding-top: 24px; }

/* ------------------------------------------------------------ герой */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: 150px 0 54px; color: var(--cream); overflow: hidden; background: var(--ink);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transform: scale(1.03); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 20, 15, .82) 0%, rgba(10, 20, 15, .6) 40%, rgba(10, 20, 15, .72) 78%, rgba(10, 20, 15, .97) 100%),
    linear-gradient(90deg, rgba(10, 20, 15, .72) 0%, rgba(10, 20, 15, .42) 55%, rgba(10, 20, 15, .3) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__content { max-width: 880px; }
.hero__title { margin: 22px 0 24px; display: flex; flex-direction: column; }
.hero__title-main {
  font-size: clamp(48px, 7.6vw, 98px); line-height: .94; letter-spacing: -.052em;
  font-weight: 800; text-wrap: balance;
  text-shadow: 0 2px 22px rgba(10, 20, 15, .55);
}
.hero__title-sub {
  font-size: clamp(19px, 2.4vw, 30px); font-style: normal; font-weight: 500;
  color: var(--brass-light); margin-top: 12px; letter-spacing: -.01em;
  text-shadow: 0 2px 16px rgba(10, 20, 15, .5);
}
.hero__lead {
  max-width: 610px; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.72;
  color: rgba(246, 240, 228, .96); margin-bottom: 32px;
  text-shadow: 0 1px 12px rgba(10, 20, 15, .6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__meta {
  display: grid; grid-template-columns: repeat(4, auto); justify-content: start;
  gap: 40px; margin-top: 54px; padding-top: 26px;
  border-top: 1px solid rgba(246, 240, 228, .22);
}
.hero__meta-item { display: flex; flex-direction: column; gap: 2px; }
.hero__meta-item span { font-size: 10px; text-transform: uppercase; letter-spacing: .22em; color: rgba(246, 240, 228, .55); }
.hero__meta-item strong { font-weight: 600; font-size: 14px; color: var(--cream); }
.hero__scroll {
  position: absolute; right: 32px; bottom: 42px; z-index: 3;
  width: 54px; height: 54px; border: 1px solid rgba(246, 240, 228, .3); border-radius: 50%;
  display: grid; place-items: center; color: var(--cream);
  transition: background .25s, color .25s, transform .25s;
}
.hero__scroll .icon { transform: rotate(90deg); }
.hero__scroll:hover { background: var(--cream); color: var(--ink); transform: translateY(3px); }
@media (max-width: 900px) {
  .hero { padding-top: 120px; min-height: 92svh; }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(10, 20, 15, .86) 0%, rgba(10, 20, 15, .7) 45%, rgba(10, 20, 15, .98) 100%),
      linear-gradient(90deg, rgba(10, 20, 15, .6) 0%, rgba(10, 20, 15, .42) 100%);
  }
  .hero__lead { max-width: 100%; }
  .hero__meta { grid-template-columns: repeat(2, 1fr); gap: 18px 26px; margin-top: 36px; }
  .hero__scroll { display: none; }
}
@media (max-width: 760px) {
  .hero { padding-bottom: 104px; }
}
@media (max-width: 560px) {
  .hero__title-main { font-size: clamp(44px, 13.5vw, 64px); }
  .hero__title-sub { font-size: 21px; }
  .hero__actions .btn { width: 100%; }
}

/* ------------------------------------------------------------ манифест */
.manifesto { background: var(--paper); border-bottom: 1px solid var(--line); padding: 76px 0; }
.manifesto__inner { display: grid; grid-template-columns: 80px minmax(0, 1fr) 260px; gap: 44px; align-items: start; }
.manifesto__mark { color: var(--brass); padding-top: 8px; }
.manifesto__mark .icon { width: 54px; height: 54px; }
.manifesto__text {
  font-family: var(--serif); font-size: clamp(21px, 2.2vw, 29px); line-height: 1.45; font-weight: 500;
  letter-spacing: -.025em; color: var(--ink); margin-bottom: 22px; text-wrap: pretty;
}
.manifesto__sign { font-size: 12px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.manifesto__facts { border-left: 1px solid var(--line); padding-left: 28px; display: flex; flex-direction: column; gap: 18px; }
.manifesto__facts div { display: flex; flex-direction: column; }
.manifesto__facts span { font-size: 10px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.manifesto__facts strong { font-weight: 650; font-size: 15px; margin-top: 3px; }
@media (max-width: 980px) {
  .manifesto__inner { grid-template-columns: 48px 1fr; }
  .manifesto__facts { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 24px 48px; border-left: 0; border-top: 1px solid var(--line); padding: 22px 0 0; }
  .manifesto__mark .icon { width: 40px; height: 40px; }
}
@media (max-width: 600px) {
  .manifesto { padding: 54px 0; }
  .manifesto__inner { grid-template-columns: 1fr; gap: 22px; }
  .manifesto__mark { display: none; }
}

/* ------------------------------------------------------------ секции */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--tint { background: var(--paper); border-block: 1px solid var(--line); }
.section--dark { background: var(--ink); color: var(--cream); }
.section--dark .eyebrow { color: var(--brass-light); }
.section--dark .section-head__intro { color: rgba(246, 240, 228, .72); }
.section--quote { background: var(--cream-2); }
.section--faq { background: var(--paper); border-block: 1px solid var(--line); }
.section--related { padding-top: 0; }
.section--gallery { padding-top: 0; }
.section--blog { padding-top: 60px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .24em;
  color: var(--brass); margin: 0 0 18px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--light { color: var(--brass-light); }

.h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.06; letter-spacing: -.04em; margin-bottom: 20px; text-wrap: balance; font-weight: 700; }
.section-head { max-width: 760px; margin-bottom: 46px; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.section-head__intro { font-size: 17.5px; color: var(--muted); max-width: 620px; margin: 0; }
.section-head__aside { max-width: 360px; font-size: 14px; color: var(--muted); margin: 0 0 6px; }
@media (max-width: 800px) { .section-head--row { display: block; } .section-head__aside { margin-top: 16px; } }

.prose { max-width: 760px; }
.prose--wide { max-width: 880px; }
.prose p { font-size: clamp(17px, 1.2vw, 19px); line-height: 1.78; color: #2c3830; }
.prose > p:first-of-type { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.68; color: var(--ink); }
.prose .h2 { margin-top: 8px; }
.lead-text { font-family: var(--serif); font-size: clamp(20px, 2vw, 26px) !important; line-height: 1.5 !important; color: var(--ink) !important; }

.check-list { display: flex; flex-direction: column; gap: 12px; margin: 26px 0 6px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: #2c3830; }
.check-list .icon { width: 20px; height: 20px; color: var(--brass); margin-top: 3px; }

.note {
  display: flex; gap: 12px; align-items: flex-start;
  margin: 28px 0 0; padding: 18px 22px;
  background: var(--cream-2); border-left: 2px solid var(--brass);
  font-size: 14.5px; line-height: 1.65; color: #3b453d;
}
.note .icon { width: 20px; height: 20px; color: var(--brass); margin-top: 2px; flex: none; }
.note p { margin: 0; }

/* карточки */
.card-grid { display: grid; gap: 22px; }
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  display: flex; flex-direction: column; gap: 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 26px; min-height: 100%;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s, background .35s;
}
a.card:hover { transform: translateY(-6px); border-color: var(--brass); box-shadow: var(--shadow); background: #fffdf8; }
.card__icon {
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--brass); margin-bottom: 10px;
  transition: background .3s, color .3s, border-color .3s;
}
.card__icon .icon { width: 22px; height: 22px; }
a.card:hover .card__icon { background: var(--ink); color: var(--brass-light); border-color: var(--ink); }
.card__title { font-size: 22px; line-height: 1.2; font-weight: 700; }
.card__text { font-size: 15px; line-height: 1.65; color: var(--muted); margin: 0; flex: 1; }
.card__link { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 650; margin-top: 8px; color: var(--ink); }
.card__link .icon { width: 17px; height: 17px; transition: transform .25s; }
a.card:hover .card__link .icon { transform: translateX(4px); }
@media (max-width: 900px) { .card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid--2, .card-grid--3 { grid-template-columns: 1fr; } .card { padding: 24px 22px; } }

/* особенности */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.feature { display: flex; gap: 16px; padding: 30px 30px 30px 0; border-bottom: 1px solid var(--line); }
.feature:nth-child(3n+2), .feature:nth-child(3n+3) { padding-left: 30px; border-left: 1px solid var(--line); }
.feature__icon { color: var(--brass); margin-top: 2px; }
.feature__icon .icon { width: 26px; height: 26px; }
.feature__title { font-family: var(--sans); font-size: 15px; font-weight: 700; margin-bottom: 5px; }
.feature__text { font-size: 14px; line-height: 1.62; color: var(--muted); margin: 0; }
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(n) { padding: 24px 18px 24px 0; border-left: 0; }
  .feature:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line); }
}
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } .feature:nth-child(n) { padding: 20px 0; border-left: 0; } }

/* шаги */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; counter-reset: step; }
.step { position: relative; padding-top: 24px; border-top: 1px solid var(--line-light); }
.step__num { font-family: var(--serif); font-weight: 700; font-size: 38px; color: var(--brass); line-height: 1; display: block; margin-bottom: 16px; }
.step__title { font-family: var(--sans); font-size: 16px; font-weight: 700; color: var(--cream); margin-bottom: 8px; }
.step__text { font-size: 14px; line-height: 1.62; color: rgba(246, 240, 228, .68); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* сплит */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__media { position: relative; }
.split__media picture { position: relative; display: block; overflow: hidden; border-radius: 240px 240px var(--radius) var(--radius); }
.split__media img { width: 100%; height: clamp(380px, 42vw, 540px); object-fit: cover; transition: transform .8s var(--ease); }
.split:hover .split__media img { transform: scale(1.03); }
.split__body p { font-size: 16.5px; line-height: 1.75; color: #2c3830; }
.split__body .h2 { margin-bottom: 18px; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 36px; }
  .split__media { order: -1; }
  .split__media img { height: 340px; }
  .split__media::before { inset: 12px -10px -10px 12px; }
}

/* цитата */
.quote { max-width: 960px; margin: 0 auto; text-align: center; }
.quote p {
  font-family: var(--serif); font-style: normal; font-weight: 500; font-size: clamp(24px, 3.4vw, 42px);
  line-height: 1.3; letter-spacing: -.035em; color: var(--ink); margin-bottom: 22px; text-wrap: balance;
}
.quote footer { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--muted); }

/* факты */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; border-top: 1px solid var(--line); }
.fact { padding-top: 22px; display: flex; flex-direction: column; gap: 3px; }
.fact__label { font-size: 10px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.fact__value { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: -.03em; }
.fact__note { font-size: 12.5px; color: var(--muted); }

/* галерея */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery__item { margin: 0; }
.gallery__item picture { display: block; overflow: hidden; border-radius: var(--radius); }
.gallery__item img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption { font-size: 12.5px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq-head { position: sticky; top: 110px; }
.faq-head__text { font-size: 15px; color: var(--muted); max-width: 320px; margin-bottom: 22px; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item__q {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 17px; font-weight: 600; line-height: 1.4;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__icon { width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; flex: none; transition: background .25s, color .25s, transform .3s; }
.faq-item__icon .icon { width: 16px; height: 16px; }
.faq-item[open] .faq-item__icon { background: var(--ink); color: var(--cream); transform: rotate(45deg); }
.faq-item__a { padding: 0 46px 24px 0; }
.faq-item__a p { margin: 0; font-size: 15px; line-height: 1.7; color: var(--muted); }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-head { position: static; } }

/* связанные */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.related-card {
  display: flex; flex-direction: column; gap: 8px;
  padding: 26px 24px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper); transition: background .3s, color .3s, transform .3s, border-color .3s;
  position: relative;
}
.related-card:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-4px); }
.related-card__kicker { font-size: 10px; text-transform: uppercase; letter-spacing: .2em; color: var(--brass); }
.related-card__title { font-family: var(--serif); font-size: 21px; line-height: 1.22; font-weight: 700; letter-spacing: -.03em; }
.related-card__text { font-size: 13px; line-height: 1.6; color: var(--muted); transition: color .3s; }
.related-card:hover .related-card__text { color: rgba(246, 240, 228, .7); }
.related-card__arrow { margin-top: auto; padding-top: 10px; }
.related-card__arrow .icon { width: 20px; height: 20px; transition: transform .25s; }
.related-card:hover .related-card__arrow .icon { transform: translateX(5px); }
@media (max-width: 860px) { .related-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }

/* CTA */
.cta {
  background: var(--wine); color: var(--cream); padding: clamp(60px, 8vw, 100px) 0;
  position: relative; overflow: hidden;
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(1200px 500px at 15% 0%, rgba(255, 255, 255, .08), transparent 60%);
  pointer-events: none;
}
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; position: relative; }
.cta__title { font-size: clamp(34px, 4.2vw, 52px); line-height: 1.04; margin-bottom: 18px; font-weight: 800; letter-spacing: -.045em; }
.cta__lead { color: rgba(246, 240, 228, .82); font-size: 16px; max-width: 430px; }
.cta__contacts { display: flex; flex-direction: column; gap: 4px; margin: 26px 0 18px; }
.cta__phone { font-family: var(--serif); font-weight: 700; font-size: clamp(23px, 2.8vw, 32px); color: var(--cream); letter-spacing: -.03em; }
.cta__contacts span { font-size: 13px; color: rgba(246, 240, 228, .65); }
.cta__note { font-size: 12px; line-height: 1.6; color: rgba(246, 240, 228, .55); max-width: 420px; }
.cta__form { background: var(--paper); color: var(--ink); border-radius: 22px; padding: 28px; box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .5); }
.cta-link { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.cta-link__note { font-size: 11.5px; color: var(--muted); text-align: center; margin: 0; }
@media (max-width: 900px) { .cta__inner { grid-template-columns: 1fr; } .cta__form { padding: 22px; } }

/* формы */
.booking-form { display: flex; flex-direction: column; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-weight: 650; }
.field__label .optional { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .7; }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--line); background: #fffdf8; color: var(--ink);
  border-radius: 10px; padding: 12px 14px; font-family: var(--sans); font-size: 14.5px;
  transition: border-color .2s, box-shadow .2s; appearance: none;
}
.field textarea { resize: vertical; min-height: 64px; }
.field input::placeholder, .field textarea::placeholder { color: #a5a89f; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(185, 138, 75, .14); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: #b44; }
.field--wide { grid-column: 1 / -1; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 11.5px; line-height: 1.5; color: var(--muted); }
.consent input { margin-top: 2px; accent-color: var(--ink); flex: none; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.booking-form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.booking-form__hint { font-size: 12px; color: var(--muted); }
.booking-form__hint a { color: var(--ink); font-weight: 650; }
.form-status { display: none; font-size: 13.5px; line-height: 1.55; padding: 12px 14px; border-radius: 10px; }
.form-status.is-error { display: block; background: #f7e9e7; color: #7c2b25; border: 1px solid #e3c2bd; }
.form-status.is-success { display: block; background: #e9f0e6; color: #2c4a2a; border: 1px solid #c5d6be; }
.booking-form.is-sending .btn[type="submit"] { opacity: .6; pointer-events: none; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
@media (max-width: 520px) { .form-grid { grid-template-columns: 1fr; } }

/* подвал */
.footer { background: var(--ink); color: rgba(246, 240, 228, .72); padding: 72px 0 26px; }
.footer__top { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1fr; gap: 44px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.logo--footer .logo__name { font-size: 30px; }
.logo--footer .logo__mark { width: 50px; height: 50px; }
.footer__desc { font-size: 14px; line-height: 1.7; max-width: 330px; margin: 18px 0 20px; }
.footer__social { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__social a { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: rgba(246, 240, 228, .8); }
.footer__social a:hover { color: var(--brass-light); }
.footer__social .icon { width: 17px; height: 17px; }
.footer__title { font-family: var(--sans); font-size: 10.5px; text-transform: uppercase; letter-spacing: .2em; color: var(--brass-light); margin-bottom: 18px; }
.footer__list { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.footer__list a:hover { color: var(--cream); }
.footer__contacts p { font-size: 13.5px; line-height: 1.6; margin-bottom: 12px; }
.footer__contacts a:hover { color: var(--cream); }
.footer__contacts .btn { margin-top: 8px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; font-size: 11px; line-height: 1.6; color: rgba(246, 240, 228, .42); }
.footer__bottom p { margin: 0; }
.footer__note { max-width: 520px; text-align: right; }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) {
  .footer__top { grid-template-columns: 1fr; gap: 30px; }
  .footer__bottom { flex-direction: column; }
  .footer__note { text-align: left; }
}

/* ------------------------------------------------------------ страницы */
.page-hero {
  position: relative; padding: 168px 0 54px; color: var(--ink);
  border-bottom: 1px solid var(--line); overflow: hidden; background: var(--paper);
}
.page-hero__media { position: absolute; inset: 0 0 0 auto; width: 52%; }
.page-hero__media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--paper) 0%, rgba(251, 247, 239, .35) 38%, rgba(251, 247, 239, .05) 100%);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__inner { position: relative; z-index: 2; max-width: 780px; }
.page-hero__title { font-size: clamp(38px, 5.4vw, 68px); line-height: 1; margin-bottom: 22px; max-width: 760px; text-wrap: balance; font-weight: 800; letter-spacing: -.045em; }
.page-hero__lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.7; color: #3a463e; max-width: 560px; }
.page-hero__actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.page-hero__phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 650; }
.page-hero__phone .icon { width: 17px; height: 17px; color: var(--brass); }
@media (max-width: 900px) {
  .page-hero { padding-top: 132px; }
  .page-hero__media { width: 100%; opacity: .22; }
  .page-hero__media::after { background: linear-gradient(180deg, rgba(251, 247, 239, .3), var(--paper) 75%); }
  .page-hero__title { font-size: clamp(38px, 9vw, 58px); }
}
.page-hero--menu, .page-hero--blog { padding-bottom: 64px; }

.breadcrumbs { margin-bottom: 28px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: var(--muted); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: '/'; opacity: .5; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs [aria-current] { color: var(--ink); }

.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: clamp(36px, 5vw, 72px); padding-top: 64px; padding-bottom: 20px; align-items: start; }
.page-main > .section { padding: 0 0 54px; }
.page-main > .section--tint { padding: 44px 34px; margin-bottom: 54px; border-radius: var(--radius); }
.page-main > .section--dark { padding: 44px 34px; margin-bottom: 54px; border-radius: var(--radius); }
.page-main .section-head { margin-bottom: 30px; }
.page-intro { margin-bottom: 46px; }
.page-aside { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 16px; }
.aside-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.aside-card__kicker { font-size: 10px; text-transform: uppercase; letter-spacing: .2em; color: var(--brass); margin-bottom: 16px; }
.aside-card__list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.aside-card__list li { display: flex; gap: 11px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.aside-card__list .icon { width: 18px; height: 18px; color: var(--brass); margin-top: 2px; flex: none; }
.aside-card__list strong { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink); font-weight: 700; margin-bottom: 1px; }
.aside-card__list a { color: var(--ink); }
.aside-card__text { font-size: 13.5px; color: var(--muted); line-height: 1.6; }
.aside-card__link { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 650; margin-top: 14px; }
.aside-card__link .icon { width: 16px; height: 16px; color: var(--brass); }
.aside-note { border-left: 2px solid var(--brass); padding: 4px 0 4px 16px; }
.aside-note p { font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.aside-note .link-arrow { font-size: 12px; }
@media (max-width: 980px) {
  .page-layout { grid-template-columns: 1fr; }
  .page-aside { position: static; }
  .page-main > .section--tint, .page-main > .section--dark { padding: 30px 22px; }
}

/* меню */
.menu-section { padding: 54px 0 24px; }
.menu-tabs {
  display: flex; gap: 8px; flex-wrap: wrap; position: sticky; top: 80px; z-index: 20;
  background: var(--cream); padding: 14px 0; margin-bottom: 20px; border-bottom: 1px solid var(--line);
}
.menu-tabs a {
  font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); transition: background .2s, color .2s, border-color .2s;
}
.menu-tabs a:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.menu-cat { padding: 34px 0 26px; border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
.menu-cat__head { display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.menu-cat__title { font-size: clamp(26px, 2.8vw, 34px); font-weight: 700; letter-spacing: -.035em; }
.menu-cat__note { font-size: 12.5px; color: var(--muted); margin: 0; }
.menu-items { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; }
.menu-item { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px dotted var(--line); }
.menu-item__name-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.menu-item__name { font-family: var(--sans); font-size: 15.5px; font-weight: 700; line-height: 1.3; }
.menu-item__desc { font-size: 12.5px; line-height: 1.55; color: var(--muted); margin: 4px 0 0; max-width: 340px; }
.menu-item__price { font-family: var(--serif); font-weight: 600; font-size: 18px; white-space: nowrap; color: var(--ink); }
.menu-item.is-off { opacity: .45; }
.tag { font-size: 9px; text-transform: uppercase; letter-spacing: .12em; padding: 3px 7px; border-radius: 999px; background: var(--cream-2); color: var(--wine); font-weight: 700; }
.menu-note {
  display: flex; gap: 10px; align-items: flex-start; margin: 26px 0 0;
  font-size: 12px; line-height: 1.6; color: var(--muted); max-width: 760px;
}
.menu-note .icon { width: 16px; height: 16px; color: var(--brass); flex: none; margin-top: 2px; }
@media (max-width: 760px) { .menu-items { grid-template-columns: 1fr; } .menu-tabs { top: 64px; } }

/* контакты */
.contacts { padding: 46px 0 10px; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.contact-card {
  display: flex; flex-direction: column; gap: 4px; padding: 24px 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .25s, transform .25s;
}
a.contact-card:hover { border-color: var(--brass); transform: translateY(-3px); }
.contact-card__icon { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--brass); margin-bottom: 12px; }
.contact-card__icon .icon { width: 19px; height: 19px; }
.contact-card__label { font-size: 9.5px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); }
.contact-card strong { font-size: 16px; line-height: 1.35; }
.contact-card__note { font-size: 11.5px; color: var(--muted); line-height: 1.5; margin-top: 2px; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-grid { grid-template-columns: 1fr; } }
.page-layout--contacts { padding-top: 40px; }
.map-section { padding: 30px 0 80px; }
.map { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; background: var(--cream-2); border: 1px solid var(--line); }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }
.map__placeholder {
  min-height: 420px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; padding: 30px;
  background:
    radial-gradient(circle at 30% 30%, rgba(185, 138, 75, .12), transparent 40%),
    repeating-linear-gradient(0deg, transparent 0 39px, rgba(21, 35, 29, .05) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(21, 35, 29, .05) 39px 40px),
    var(--cream-2);
}
.map__pin { width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: var(--brass-light); display: grid; place-items: center; }
.map__pin .icon { width: 26px; height: 26px; }
.map__placeholder p { font-family: var(--serif); font-size: 22px; line-height: 1.35; margin: 0; }
.map__placeholder p span { font-family: var(--sans); font-size: 12px; color: var(--muted); }
.map__placeholder .link-arrow { font-size: 12px; }

/* блог */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--brass); }
.post-card__media { display: block; overflow: hidden; aspect-ratio: 16 / 10; background: var(--cream-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.04); }
.post-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { display: flex; gap: 12px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.post-card__title { font-size: 22px; line-height: 1.22; margin-bottom: 8px; font-weight: 700; letter-spacing: -.03em; }
.post-card__title a:hover { color: var(--wine); }
.post-card__text { font-size: 13.5px; line-height: 1.6; color: var(--muted); flex: 1; }
.post-card .link-arrow { font-size: 12px; margin-top: 8px; align-self: flex-start; }
@media (max-width: 980px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }
.empty-state { max-width: 560px; padding: 40px 0 20px; }
.empty-state p { font-family: var(--serif); font-size: 24px; line-height: 1.45; margin-bottom: 24px; }

/* статья */
.article-hero { position: relative; min-height: 64svh; display: flex; align-items: flex-end; padding: 170px 0 50px; color: var(--cream); overflow: hidden; background: var(--ink); }
.article-hero__media { position: absolute; inset: 0; }
.article-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.article-hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 20, 15, .5), rgba(10, 20, 15, .9)); }
.article-hero__inner { position: relative; z-index: 2; }
.article-hero .breadcrumbs a, .article-hero .breadcrumbs [aria-current] { color: rgba(246, 240, 228, .8); }
.article-hero .breadcrumbs [aria-current] { color: var(--cream); }
.article-hero__meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .14em; color: rgba(246, 240, 228, .65); margin-bottom: 18px; }
.article-hero__title { font-size: clamp(34px, 5vw, 62px); line-height: 1.03; max-width: 900px; margin-bottom: 18px; text-wrap: balance; font-weight: 800; letter-spacing: -.045em; }
.article-hero__lead { max-width: 660px; font-size: 16.5px; line-height: 1.7; color: rgba(246, 240, 228, .8); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; padding-top: 60px; align-items: start; }
.article-body { max-width: 740px; }
.article-body p { font-size: clamp(16px, 1.15vw, 18px); line-height: 1.8; color: #2c3830; }
.article-body .h2 { margin: 44px 0 16px; font-size: clamp(27px, 3vw, 36px); }
.article-body > p:first-of-type { font-size: 20px; line-height: 1.7; color: var(--ink); }
.article-quote { margin: 36px 0; padding: 26px 30px; background: var(--cream-2); border-left: 3px solid var(--brass); }
.article-quote p { font-family: var(--serif); font-size: 22px; line-height: 1.42; font-style: normal; font-weight: 500; margin-bottom: 8px; color: var(--ink); letter-spacing: -.025em; }
.article-quote footer { font-size: 11px; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); }
.article-figure { margin: 32px 0; }
.article-figure img { border-radius: var(--radius); width: 100%; }
.article-figure figcaption { font-size: 12px; color: var(--muted); margin-top: 8px; }
.article-footer { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.article-footer p { font-size: 13px; color: var(--muted); }
.article-footer a { color: var(--ink); font-weight: 650; }
.article-aside { position: sticky; top: 100px; }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; gap: 36px; } .article-aside { position: static; } }

/* 404 */
.notfound { min-height: 86svh; display: flex; align-items: center; padding: 160px 0 80px; background: var(--paper); }
.notfound__inner { max-width: 760px; }
.notfound__title { font-size: clamp(44px, 8vw, 96px); line-height: .94; margin-bottom: 20px; font-weight: 800; letter-spacing: -.05em; }
.notfound__text { font-size: 17px; color: var(--muted); max-width: 560px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 40px; align-items: center; }
.notfound__phone { display: inline-flex; gap: 8px; align-items: center; font-weight: 650; font-size: 14px; }
.notfound__phone .icon { width: 17px; height: 17px; color: var(--brass); }
.notfound__links { display: flex; flex-wrap: wrap; gap: 10px 22px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.notfound__links a:hover { color: var(--ink); }

/* ------------------------------------------------------------ модалка, cookie, бары */
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal__overlay { position: absolute; inset: 0; background: rgba(10, 20, 15, .66); backdrop-filter: blur(4px); }
.modal__panel {
  position: relative; width: min(680px, 100%); max-height: calc(100svh - 40px); overflow-y: auto;
  background: var(--cream); border-radius: 22px; padding: 34px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .5);
  animation: modalIn .3s var(--ease);
}
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; display: grid; place-items: center; cursor: pointer; }
.modal__close .icon { width: 18px; height: 18px; }
.modal__title { font-size: clamp(30px, 4vw, 42px); margin-bottom: 8px; }
.modal__text { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.modal .form-grid { gap: 12px; }
@media (max-width: 560px) { .modal__panel { padding: 26px 20px; } }

.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  display: none; grid-template-columns: 1fr 1.2fr; gap: 1px;
  background: var(--line); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar__call, .mobile-bar__book {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; background: var(--cream); font-size: 13px; font-weight: 700; border: 0; cursor: pointer;
}
.mobile-bar__book { background: var(--ink); color: var(--cream); }
.mobile-bar .icon { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; transform: translateY(110%); transition: transform .28s var(--ease); }
  .mobile-bar.is-visible { transform: none; }
  body { padding-bottom: 56px; }
}

.cookie {
  position: fixed; left: 20px; right: auto; bottom: 20px; z-index: 95;
  max-width: 430px;
  background: var(--ink); color: rgba(246, 240, 228, .8);
  border-radius: 16px; padding: 16px 18px; display: flex; align-items: center; gap: 18px;
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .5);
}
.cookie[hidden] { display: none; }
.cookie p { font-size: 11.5px; line-height: 1.55; margin: 0; flex: 1; }
.cookie a { color: var(--brass-light); text-decoration: underline; text-underline-offset: 2px; }
.cookie .btn { background: var(--cream); color: var(--ink); flex: none; }
@media (max-width: 760px) { .cookie { left: 12px; right: 12px; max-width: none; bottom: 72px; flex-direction: column; align-items: flex-start; gap: 10px; } }

.to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 80;
  width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--cream); color: var(--ink); display: grid; place-items: center;
  cursor: pointer; opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity .25s, transform .25s, background .25s, color .25s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.to-top:hover { background: var(--ink); color: var(--cream); }
.to-top .icon { width: 18px; height: 18px; }
@media (max-width: 760px) { .to-top { bottom: 74px; right: 16px; } }

/* ------------------------------------------------------------ анимации */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js [data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }


/* Светлые внутренние страницы: тёмная шапка поверх кремового фона */
body.template-page .header:not(.is-scrolled),
body.template-menu .header:not(.is-scrolled),
body.template-contacts .header:not(.is-scrolled),
body.template-blog .header:not(.is-scrolled),
body.template-404 .header:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(251, 247, 239, .96) 0%, rgba(251, 247, 239, .82) 62%, rgba(251, 247, 239, 0) 100%);
}
body.template-page .header:not(.is-scrolled) .logo__name,
body.template-menu .header:not(.is-scrolled) .logo__name,
body.template-contacts .header:not(.is-scrolled) .logo__name,
body.template-blog .header:not(.is-scrolled) .logo__name,
body.template-404 .header:not(.is-scrolled) .logo__name { color: var(--ink); }
body.template-page .header:not(.is-scrolled) .logo__sub,
body.template-menu .header:not(.is-scrolled) .logo__sub,
body.template-contacts .header:not(.is-scrolled) .logo__sub,
body.template-blog .header:not(.is-scrolled) .logo__sub,
body.template-404 .header:not(.is-scrolled) .logo__sub { color: var(--muted); }
body.template-page .header:not(.is-scrolled) .logo__mark,
body.template-menu .header:not(.is-scrolled) .logo__mark,
body.template-contacts .header:not(.is-scrolled) .logo__mark,
body.template-blog .header:not(.is-scrolled) .logo__mark,
body.template-404 .header:not(.is-scrolled) .logo__mark { color: var(--ink); border-color: var(--line); }
body.template-page .header:not(.is-scrolled) .nav__link,
body.template-menu .header:not(.is-scrolled) .nav__link,
body.template-contacts .header:not(.is-scrolled) .nav__link,
body.template-blog .header:not(.is-scrolled) .nav__link,
body.template-404 .header:not(.is-scrolled) .nav__link { color: rgba(21, 35, 29, .76); }
body.template-page .header:not(.is-scrolled) .nav__link:hover,
body.template-menu .header:not(.is-scrolled) .nav__link:hover,
body.template-contacts .header:not(.is-scrolled) .nav__link:hover,
body.template-blog .header:not(.is-scrolled) .nav__link:hover,
body.template-404 .header:not(.is-scrolled) .nav__link:hover,
body.template-page .header:not(.is-scrolled) .nav__link.is-active,
body.template-menu .header:not(.is-scrolled) .nav__link.is-active,
body.template-contacts .header:not(.is-scrolled) .nav__link.is-active,
body.template-blog .header:not(.is-scrolled) .nav__link.is-active { color: var(--ink); }
body.template-page .header:not(.is-scrolled) .burger,
body.template-menu .header:not(.is-scrolled) .burger,
body.template-contacts .header:not(.is-scrolled) .burger,
body.template-blog .header:not(.is-scrolled) .burger,
body.template-404 .header:not(.is-scrolled) .burger { color: var(--ink); border-color: var(--line); }
