/* ==========================================================
   «Практика кофе» — стили. Концепция «Солнце в чашке».
   ========================================================== */
@font-face { font-family: 'Unbounded'; src: url('../fonts/unbounded.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Cormorant Garamond'; src: url('../fonts/cormorant-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }

:root {
  --cream: #F6EFE3;
  --cream-2: #EFE4D2;
  --cream-3: #E6D8C1;
  --ink: #14182B;
  --ink-2: #1E2440;
  --mustard: #E2A72E;
  --sun: #F08A24;
  --brick: #D9442B;
  --navy: #233A7A;
  --espresso: #3B2418;
  --text: #2A1D14;
  --text-mute: #7D7062;
  --text-light: #F6EFE3;
  --line: rgba(20, 24, 43, .12);
  --line-light: rgba(246, 239, 227, .16);

  --display: 'Unbounded', 'Arial Black', sans-serif;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Manrope', 'Segoe UI', Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --wrap: 1280px;
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
*, *::before, *::after { font-variant-numeric: lining-nums; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }
em { font-family: var(--serif); font-style: italic; font-weight: 500; letter-spacing: 0; }
::selection { background: var(--mustard); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sun); outline-offset: 3px; }
.wrap { position: relative; z-index: 1; width: min(100% - 48px, var(--wrap)); margin-inline: auto; }

.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Типографика ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; font: 600 12px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--sun); }
.eyebrow::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--mustard); box-shadow: 0 0 0 4px rgba(226, 167, 46, .22); }
.eyebrow--light { color: var(--mustard); }
.h2 { font: 600 clamp(36px, 5.2vw, 72px)/1.02 var(--display); letter-spacing: -.02em; color: var(--ink); }
.h2 em { font-size: 1.12em; font-weight: 500; color: var(--sun); }
.h2--light { color: var(--text-light); }
.h2--light em { color: var(--mustard); }
.section { position: relative; padding: clamp(96px, 12vw, 170px) 0; }
.section__head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 900px; }
.section__head--split { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.section__lead { color: var(--text-mute); font-size: 18px; max-width: 420px; }

/* ---------- Кнопки ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 58px; padding: 0 30px; border-radius: 100px;
  font: 600 14px/1 var(--sans); letter-spacing: .02em; border: 0; cursor: pointer; white-space: nowrap; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), background-color .4s, color .4s, box-shadow .4s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .45s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .55s var(--ease); }
.btn:hover::before { transform: none; }
.btn--sun { background: var(--sun); color: #fff; box-shadow: 0 14px 34px -14px rgba(240, 138, 36, .8); }
.btn--sun::before { background: var(--brick); }
.btn--ink { background: var(--ink); color: var(--text-light); }
.btn--ink::before { background: var(--navy); }
.btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--line::before { background: var(--ink); }
.btn--line:hover { color: var(--text-light); }
.btn--sm { height: 44px; padding: 0 22px; font-size: 13px; }

/* ---------- Статус ---------- */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-mute); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #9a8f80; }
.status.is-open { color: #2F7A3E; }
.status.is-open i { background: #3FAE55; box-shadow: 0 0 0 0 rgba(63, 174, 85, .5); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(63, 174, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 174, 85, 0); } }

/* ---------- Прелоадер ---------- */
.preloader { position: fixed; inset: 0; z-index: 200; display: grid; place-content: center; justify-items: center; gap: 20px; background: var(--cream); }
.preloader[hidden] { display: none; }
.no-preloader .preloader { display: none; }

/* ---------- Шапка ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h); transition: background-color .5s, box-shadow .5s, height .4s var(--ease); }
.header.is-scrolled { background: rgba(246, 239, 227, .82); backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 1px 0 var(--line); height: 70px; }
.header__inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo__word { font: 700 14px/1.05 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.logo--light { color: var(--text-light); }
.nav { display: flex; gap: 34px; margin-left: auto; }
.nav a { position: relative; font-size: 14px; font-weight: 600; color: var(--ink); }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='6' viewBox='0 0 24 6'%3E%3Cpath d='M0 3c3 0 3-2.5 6-2.5S9 3 12 3s3-2.5 6-2.5S21 3 24 3' fill='none' stroke='%23F08A24' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x 0 0 / 24px 6px;
  clip-path: inset(0 100% 0 0); transition: clip-path .5s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { clip-path: inset(0 0 0 0); }
.nav__phone { display: none; }
.header__right { display: flex; align-items: center; gap: 22px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 30px) 0 70px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; }
.hero__title { font: 700 clamp(46px, 7.2vw, 112px)/.98 var(--display); letter-spacing: -.035em; color: var(--ink); margin-bottom: 28px; }
.hero__title em { display: inline-block; font-size: 1.1em; font-weight: 500; color: var(--sun); letter-spacing: -.01em; }
.hero__lead { max-width: 520px; font-size: 18.5px; color: #54473B; margin-bottom: 38px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 100px; background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; color: #54473B; }
.badges svg { width: 16px; height: 16px; color: var(--mustard); }
.badges b { color: var(--ink); }
.badges__status i { width: 8px; height: 8px; }

@keyframes spin { to { transform: rotate(360deg); } }
.steam { position: absolute; left: 30%; top: -6%; width: 40%; overflow: visible; pointer-events: none; }
.steam path { fill: none; stroke: rgba(255, 255, 255, .9); stroke-width: 7; stroke-linecap: round; filter: blur(5px); opacity: 0; animation: steam 5.5s ease-in-out infinite; }
.steam path:nth-child(2) { animation-delay: 1.6s; } .steam path:nth-child(3) { animation-delay: 3.2s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(30px) scaleY(.8); } 30% { opacity: .75; } 100% { opacity: 0; transform: translateY(-40px) scaleY(1.15) skewX(-8deg); } }

/* ---------- Бегущая строка ---------- */
.marquee { position: relative; z-index: 2; overflow: hidden; background: var(--ink); color: var(--text-light); padding: 22px 0; transform: rotate(-1.2deg) scale(1.02); }
.marquee__track { display: flex; align-items: center; gap: 34px; width: max-content; will-change: transform; }
.marquee span { font: 600 clamp(22px, 2.6vw, 34px)/1 var(--display); letter-spacing: -.01em; white-space: nowrap; }
.marquee em { color: var(--mustard); font-size: 1.15em; }

/* ---------- О кофейне ---------- */
.about__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.manifesto { font: 500 clamp(26px, 3.1vw, 44px)/1.22 var(--display); letter-spacing: -.02em; color: var(--ink); margin-bottom: 48px; }
.manifesto em { color: var(--sun); font-size: 1.12em; }
.manifesto .ln { display: block; overflow: hidden; }
.manifesto .ln > span { display: inline-block; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding-top: 28px; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--sun); margin-bottom: 6px; font-weight: 600; }
.facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.about__media { position: relative; margin: 0; }
.arch { border-radius: 400px 400px 24px 24px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -40px rgba(59, 36, 24, .5); }
.arch img { width: 100%; height: 115%; object-fit: cover; }

/* ---------- Фирменные напитки ---------- */
.drinks { position: relative; background: #2B2016; color: var(--text-light); transition: background-color .9s var(--ease); overflow: hidden; }
.drinks__pin { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 100px 0 50px; }
.drinks__head { margin-bottom: 36px !important; }
.drinks__head { margin-bottom: 50px; }
.drinks__track { display: flex; gap: 40px; padding: 0 max(24px, calc((100vw - var(--wrap)) / 2)); will-change: transform; }
.drink { flex: none; width: clamp(260px, 40vh, 380px); }
.drink__visual { position: relative; aspect-ratio: 1; margin-bottom: 28px; }
.drink__photo { position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); }
.drink__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.drink:hover .drink__photo img { transform: scale(1.06); }
.drink__note { position: absolute; left: 0; top: 6%; padding: 8px 14px; border-radius: 100px; background: var(--cream); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transform: rotate(-6deg); }
.drink h3 { font: 600 clamp(24px, 2.2vw, 30px)/1.12 var(--display); letter-spacing: -.01em; margin-bottom: 12px; }
.drink p { color: rgba(246, 239, 227, .72); font-size: 16px; margin-bottom: 18px; min-height: 3.3em; }
.drink__meta { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line-light); font-size: 14px; color: rgba(246, 239, 227, .6); }
.drink__meta b { font: 600 22px/1 var(--display); color: var(--mustard); }
.drinks__progress { margin-top: 34px; height: 2px; background: var(--line-light); border-radius: 2px; overflow: hidden; }
.drinks__progress span { display: block; height: 100%; width: 100%; background: var(--mustard); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Меню ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.tab { height: 46px; padding: 0 22px; border-radius: 100px; border: 0; background: var(--cream-2); color: var(--ink); font-weight: 600; font-size: 14.5px; cursor: pointer; transition: background-color .35s, color .35s, transform .35s var(--ease); }
.tab:hover { transform: translateY(-2px); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--text-light); }
.menu__panel { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 70px; min-height: 260px; }
.mi { position: relative; padding: 22px 0; border-bottom: 1px solid var(--line); }
.mi__row { display: flex; align-items: baseline; gap: 12px; }
.mi__name { font: 600 20px/1.2 var(--display); letter-spacing: -.01em; color: var(--ink); }
.mi__dots { flex: 1; border-bottom: 2px dotted rgba(20, 24, 43, .25); transform: translateY(-5px); }
.mi__price { font: 600 20px/1 var(--display); color: var(--ink); white-space: nowrap; }
.mi__desc { margin-top: 6px; display: flex; justify-content: space-between; gap: 16px; color: var(--text-mute); font-size: 15px; }
.mi__vol { white-space: nowrap; }
.mi::after { content: ''; position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: var(--sun); transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.mi:hover::after { transform: scaleX(1); }
.mi--todo .mi__price { color: var(--text-mute); font-size: 15px; }
.menu__note { margin-top: 36px; color: var(--text-mute); font-size: 14.5px; }

/* ---------- Место ---------- */
.place { background: var(--cream-2); }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 18px; }
.g { position: relative; margin: 0; overflow: hidden; cursor: zoom-in; background: var(--cream-3); }
.g img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.g:hover img { transform: scale(1.05); }
.g figcaption { position: absolute; left: 50%; bottom: 26px; white-space: nowrap; padding: 7px 14px; border-radius: 100px; background: rgba(30, 20, 14, .82); color: #F6EFE3; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: 0 6px 20px -6px rgba(0, 0, 0, .45); font-size: 13px; font-weight: 600; letter-spacing: .01em; transform: translate(-50%, 8px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.g:hover figcaption, .g:focus-within figcaption { transform: translate(-50%, 0); opacity: 1; }
.g--a { grid-column: 1 / 8; grid-row: span 4; border-radius: 24px; }
.g--b { grid-column: 8 / 13; grid-row: span 4; border-radius: 300px 300px 24px 24px; }
.g--c { grid-column: 1 / 5; grid-row: span 3; border-radius: 50%; aspect-ratio: auto; }
.g--d { grid-column: 5 / 9; grid-row: span 3; border-radius: 24px; }
.g--e { grid-column: 9 / 13; grid-row: span 3; border-radius: 24px 24px 300px 300px; }
.g--f { grid-column: 1 / 13; grid-row: span 3; border-radius: 24px; }
.g--f img { object-position: 50% 70%; }
.amenities { list-style: none; padding: 0; margin: clamp(56px, 7vw, 90px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.amenity { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; background: var(--cream); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; color: var(--ink); transition: translate .5s var(--ease), box-shadow .5s; }
.amenity:hover { translate: 0 -4px; box-shadow: inset 0 0 0 1px rgba(240, 138, 36, .5), 0 18px 30px -20px rgba(59, 36, 24, .4); }
.amenity span.ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(226, 167, 46, .18); color: var(--sun); }
.amenity svg { width: 24px; height: 24px; }

/* ---------- Рейтинг ---------- */
.rating { background: var(--ink); color: var(--text-light); overflow: hidden; }
.rating__duo { position: absolute; right: -6%; top: 0; bottom: 0; width: 50%; background: url('../img/duo-espresso.webp') center / cover; opacity: .28; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.rating__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.rating__score { display: flex; align-items: center; gap: 24px; margin-bottom: 18px; }
.rating__num { font: 700 clamp(96px, 13vw, 180px)/.9 var(--display); letter-spacing: -.05em; color: var(--mustard); }
.rating__stars { display: flex; gap: 4px; }
.rating__stars svg { width: 28px; height: 28px; color: var(--sun); }
.rating__meta { font-size: 18px; color: rgba(246, 239, 227, .75); margin-bottom: 30px; }
.rating__meta b { color: var(--text-light); }
.rating__main .btn { display: flex; width: max-content; }
.award { display: inline-flex; align-items: center; gap: 16px; padding: 16px 22px 16px 16px; border-radius: 20px; background: rgba(246, 239, 227, .06); box-shadow: inset 0 0 0 1px var(--line-light); margin-bottom: 34px; }
.award svg { width: 46px; height: 46px; color: var(--mustard); }
.award b { display: block; font: 600 17px/1.3 var(--display); }
.award span { font-size: 14px; color: rgba(246, 239, 227, .65); }
.topic { margin-bottom: 26px; }
.topic__row { display: flex; justify-content: space-between; margin-bottom: 10px; font-weight: 600; }
.topic__row b { font: 600 20px/1 var(--display); color: var(--mustard); }
.topic__bar { height: 10px; border-radius: 10px; background: rgba(246, 239, 227, .1); overflow: hidden; }
.topic__bar span { display: block; height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--sun), var(--mustard)); transform-origin: 0 50%; }
.rating__src { margin-top: 50px; font-size: 13px; color: rgba(246, 239, 227, .45); }

/* ---------- Как добраться ---------- */
.visit__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: stretch; }
.visit__info .h2 { margin-bottom: 36px; }
.contacts { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 22px; }
.contacts li { display: flex; gap: 16px; }
.contacts svg { width: 24px; height: 24px; color: var(--sun); flex: none; margin-top: 3px; }
.contacts span { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); font-weight: 600; margin-bottom: 4px; }
.contacts b { font: 600 20px/1.35 var(--display); color: var(--ink); letter-spacing: -.01em; }
.contacts small { display: block; margin-top: 4px; color: var(--text-mute); font-size: 14.5px; }
.hours { padding: 22px 24px; border-radius: 20px; background: var(--cream-2); margin-bottom: 30px; }
.hours__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mute); font-weight: 600; }
.hours__head .status { letter-spacing: 0; text-transform: none; }
.hours__table { width: 100%; border-collapse: collapse; }
.hours__table td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours__table tr:last-child td { border-bottom: 0; }
.hours__table td:last-child { text-align: right; font-weight: 700; color: var(--ink); }
.hours__table tr.is-today td { color: var(--sun); }
.visit__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.map { position: relative; display: block; min-height: 520px; border-radius: 28px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.map__img { position: absolute; inset: 0; background: url('../img/map.webp') center / cover; transform: scale(1.04); transition: transform 1.6s var(--ease); }
.map:hover .map__img { transform: scale(1.09); }
.map::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 80px 0 rgba(246, 239, 227, .45); }
.map__marker { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 2; }
.map__pin { position: absolute; left: -32px; top: -32px; width: 64px; height: 64px; border-radius: 50%; background: var(--sun); display: grid; place-items: center; box-shadow: 0 16px 30px -10px rgba(217, 68, 43, .7), 0 0 0 6px rgba(246, 239, 227, .9); }
.map__pin svg { width: 36px; height: 36px; color: #fff; animation: spin 20s linear infinite; }
.map__pulse { position: absolute; left: -32px; top: -32px; width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--sun); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
.map__card { position: absolute; left: 0; bottom: 50px; transform: translateX(-50%); white-space: nowrap; text-align: center; padding: 12px 20px; border-radius: 16px; background: var(--ink); color: var(--text-light); box-shadow: 0 20px 40px -16px rgba(20, 24, 43, .6); }
.map__card::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 12px; height: 12px; margin-left: -6px; background: var(--ink); transform: rotate(45deg); border-radius: 2px; }
.map__card b { display: block; font: 600 16px/1.2 var(--display); }
.map__card span { font-size: 13px; color: var(--mustard); }
.map__open { position: absolute; right: 18px; bottom: 18px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 100px; background: var(--cream); color: var(--ink); font-size: 13px; font-weight: 700; box-shadow: 0 10px 24px -12px rgba(20, 24, 43, .5); }
.map__open svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.map:hover .map__open svg { transform: translateX(3px); }
.map__credit { position: absolute; left: 16px; bottom: 12px; z-index: 3; font-size: 10.5px; color: rgba(42, 29, 20, .6); }

/* ---------- Футер ---------- */
.footer { position: relative; background: var(--ink); color: var(--text-light); padding: clamp(90px, 11vw, 150px) 0 34px; overflow: hidden; }
.footer__big { position: relative; font: 700 clamp(44px, 8vw, 120px)/.95 var(--display); letter-spacing: -.04em; max-width: 900px; margin-bottom: 80px; }
.footer__big em { color: var(--mustard); font-size: 1.1em; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.footer__label { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mustard); font-weight: 600; margin-bottom: 10px; }
.footer__grid p { color: rgba(246, 239, 227, .8); font-size: 15.5px; }
.footer__grid a:hover { color: var(--mustard); }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 13px; color: rgba(246, 239, 227, .5); }

/* ---------- Мобильная панель, лайтбокс ---------- */
.mobile-bar { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 30px; background: rgba(20, 24, 43, .92); backdrop-filter: blur(6px); }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 86vh; width: auto; border-radius: 18px; }
.lightbox__close { position: absolute; top: 18px; right: 22px; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--cream); color: var(--ink); font-size: 28px; cursor: pointer; }

/* ---------- Состояния до анимации (только при JS + GSAP) ---------- */
.anim-ready [data-anim="fade"], .anim-ready [data-anim="scale"] { opacity: 0; }
.anim-ready [data-anim="reveal"] { clip-path: inset(100% 0 0 0); }
.split-w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-w > span { display: inline-block; }

/* ---------- Адаптив ---------- */
@media (max-width: 1100px) {
  .nav { gap: 24px; }
  .header__right .status { display: none; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .burger { display: block; }
  .header__right .btn { display: none; }
  .nav { position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: flex-start; padding: 0 32px; gap: 18px;
    background: var(--mustard); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
  .nav.is-open { opacity: 1; visibility: visible; }
  .nav a { font: 700 40px/1.1 var(--display); letter-spacing: -.02em; }
  .nav a::after { display: none; }
  .nav__phone { display: block; margin-top: 18px; font: 600 18px/1 var(--sans) !important; }
  .header__right { margin-left: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .mosaic { width: min(100%, 460px); order: -1; margin-top: 30px; justify-self: center; }
  .about__grid, .visit__grid, .rating__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; }
  .section__head--split { grid-template-columns: 1fr; }
  .menu__panel { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 90px; gap: 12px; }
  .g--a { grid-column: 1 / 13; } .g--b { grid-column: 1 / 7; } .g--c { grid-column: 7 / 13; }
  .g--d { grid-column: 1 / 7; } .g--e { grid-column: 7 / 13; } .g--f { grid-column: 1 / 13; }
  .g--b, .g--c, .g--d, .g--e { grid-row: span 3; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .drinks__pin { min-height: 0; }
  .drinks__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
  .drinks__track::-webkit-scrollbar { display: none; }
  .drink { scroll-snap-align: center; }
}
@media (max-width: 600px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .wrap { width: min(100% - 36px, var(--wrap)); }
  .hero { padding-top: calc(var(--header-h) + 10px); }
  .hero__lead { font-size: 16.5px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr; gap: 14px; }
  .amenities { grid-template-columns: 1fr 1fr; gap: 10px; }
  .amenity { flex-direction: column; align-items: flex-start; padding: 16px; font-size: 14.5px; }
  .map { min-height: 380px; }
  .rating__score { gap: 14px; flex-wrap: wrap; }
  .footer__grid { grid-template-columns: 1fr; }
  .mobile-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 70; padding: 6px; border-radius: 100px;
    background: rgba(20, 24, 43, .94); backdrop-filter: blur(12px); box-shadow: 0 16px 40px -14px rgba(20, 24, 43, .6); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 50px; border-radius: 100px; color: var(--text-light); font-size: 13.5px; font-weight: 700; }
  .mobile-bar a:nth-child(2) { background: var(--sun); }
  .mobile-bar svg { width: 18px; height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .anim-ready [data-anim] { opacity: 1 !important; clip-path: none !important; transform: none !important; }
  .preloader { display: none; }
  .wipe__panel { display: none; }
}

/* ==========================================================
   ВАРИАНТ «ПАТТЕРН»: геометрия фирменного стакана
   ========================================================== */

/* ---------- Плитки и фигуры ---------- */
.tile { position: relative; overflow: hidden; background: var(--bg, var(--sun)); }
.sh { position: absolute; display: block; background: var(--fg, var(--cream)); transition: transform 1.1s var(--ease); transform: rotate(var(--r, 0deg)); }
.sh--half { inset: 0 0 50% 0; border-radius: 0 0 999px 999px; transform-origin: 50% 100%; }
.sh--half.sh--down { inset: 50% 0 0 0; border-radius: 999px 999px 0 0; transform-origin: 50% 0; }
.sh--quarter { inset: 0; border-radius: 100% 0 0 0; transform-origin: 50% 50%; }
.sh--quarter.sh--br { border-radius: 0 0 100% 0; }
.sh--dot { inset: 22%; border-radius: 50%; }
.sh--ring { inset: 14%; border-radius: 50%; background: transparent; border: clamp(10px, 2.4vw, 22px) solid var(--fg); }
.sh--waves { inset: -10% -10%; background: none;
  --w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='20' viewBox='0 0 48 20'%3E%3Cpath d='M0 10c6 0 6-7 12-7s6 7 12 7 6-7 12-7 6 7 12 7' fill='none' stroke='black' stroke-width='3.2'/%3E%3C/svg%3E");
  -webkit-mask: var(--w) 0 0 / 48px 20px repeat; mask: var(--w) 0 0 / 48px 20px repeat; background-color: var(--fg); animation: waveflow 6s linear infinite; }
@keyframes waveflow { to { -webkit-mask-position: 48px 0; mask-position: 48px 0; } }

/* ---------- Прелоадер ---------- */
.pl-grid { display: grid; grid-template-columns: 1fr 1fr; width: 120px; height: 120px; }
.pl-t { position: relative; overflow: hidden; background: var(--bg); }

/* ---------- Логотип ---------- */
.logo__mark { width: 40px; height: 40px; border-radius: 8px; transition: transform .8s var(--ease); }
.logo:hover .logo__mark { transform: rotate(90deg); }

/* ---------- Hero-мозаика ---------- */
.hero { background: radial-gradient(45% 55% at 82% 50%, rgba(226, 167, 46, .16), transparent 70%); }
.mosaic { position: relative; justify-self: end; width: min(100%, 560px); aspect-ratio: 1; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 10px; }
.mosaic .tile { border-radius: 4px; }
.tile--photo { grid-column: 1 / 3; grid-row: 1 / 3; background: var(--sun); border-radius: 999px 999px 999px 4px !important; overflow: visible; }
.tile__photo { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; }
.tile__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; transform: scale(1.04); }
.tile--label { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 16px; color: var(--text-light); }
.tile--label span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mustard); line-height: 1.4; }
.tile--label { padding: 14px; } .tile--label b { font: 600 clamp(10px, 1vw, 13.5px)/1.18 var(--display); overflow-wrap: anywhere; }
.steam { position: absolute; left: 30%; top: -10%; width: 40%; overflow: visible; pointer-events: none; z-index: 2; }

/* ---------- Бегущая строка ---------- */
.marquee { background: var(--espresso); color: var(--text-light); transform: none; padding: 20px 0; }
.mq { display: block; width: 28px; height: 28px; flex: none; }
.mq--half { background: var(--sun); border-radius: 999px 999px 0 0; height: 14px; }
.mq--dot { background: var(--mustard); border-radius: 50%; width: 18px; height: 18px; }
.mq--quarter { background: var(--brick); border-radius: 100% 0 0 0; width: 22px; height: 22px; }
.marquee em { color: var(--mustard); }

/* ---------- О нас ---------- */
.about__media { position: relative; }
.about__tiles { position: absolute; left: -48px; bottom: 40px; display: grid; grid-template-columns: 1fr; gap: 8px; }
.tile--sm { width: 96px; height: 96px; border-radius: 4px; }

/* ---------- Шторки-фигуры поверх фото ---------- */
.wipe { position: relative; }
.wipe__panel { position: absolute; inset: 0; z-index: 4; transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; border-radius: inherit; }
.anim-ready .wipe img, .anim-ready .wipe .map__img { opacity: 0; }

/* ---------- Волны-переходы ---------- */
.wave { position: relative; z-index: 2; height: 80px; margin: -1px 0; line-height: 0; }
.wave svg { width: 100%; height: 100%; display: block; }
.wave--to-dark { background: var(--cream); }
.wave--to-dark .wave__path { fill: #2B2016; transition: fill .9s var(--ease); }
.wave--from-dark { background: var(--cream); }
.wave--from-dark .wave__path { fill: #14182B; transition: fill .9s var(--ease); }

/* ---------- Напитки: плитка вместо диска ---------- */
.drink__visual { position: relative; aspect-ratio: 1; margin-bottom: 28px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 8px; }
.drink__q { position: relative; overflow: hidden; border-radius: 4px; background: var(--disc); }
.drink__q .sh { --fg: rgba(246, 239, 227, .9); }
.drink__photo { position: absolute; inset: 14%; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); z-index: 2; }
.drink__note { z-index: 3; }

/* ---------- Галерея с плитками ---------- */
.gallery { grid-auto-rows: 110px; }
.g--a { grid-column: 1 / 8; grid-row: span 4; border-radius: 4px; }
.g--b { grid-column: 8 / 13; grid-row: span 4; border-radius: 999px 999px 4px 4px; }
.g--t { grid-column: 1 / 4; grid-row: span 3; border-radius: 4px; cursor: default; }
.g--c { grid-column: 4 / 7; grid-row: span 3; border-radius: 50%; }
.g--d { grid-column: 7 / 10; grid-row: span 3; border-radius: 4px; }
.g--e { grid-column: 10 / 13; grid-row: span 3; border-radius: 4px 4px 999px 999px; }
.g--u { grid-column: 1 / 4; grid-row: span 3; border-radius: 4px; }
.g--f { grid-column: 4 / 13; grid-row: span 3; border-radius: 4px; }
.amenity { border-radius: 4px; }
.amenity span.ic { border-radius: 4px 4px 4px 999px; background: var(--mustard); color: var(--ink); }

/* ---------- Рейтинг ---------- */
.rating__duo { display: none; }
.rating__tiles { position: absolute; right: 0; top: 0; display: grid; grid-template-columns: repeat(2, 140px); grid-template-rows: repeat(2, 140px); opacity: .9; }
.rating__tiles .tile { border-radius: 0; }

/* ---------- Карта ---------- */
.map { border-radius: 4px; }
.map__pin { background: none; border-radius: 8px; box-shadow: 0 16px 30px -10px rgba(20, 24, 43, .6), 0 0 0 6px rgba(246, 239, 227, .95); overflow: hidden; }
.map__pin svg { width: 64px; height: 64px; animation: none; }
.map__pulse { border-radius: 8px; border-color: var(--navy); }

/* ---------- Футер: лента плиток ---------- */
.footer { padding-top: 0; }
.footer__band { display: grid; grid-template-columns: repeat(12, 1fr); height: 120px; margin-bottom: clamp(70px, 9vw, 120px); }
.footer__band .tile { border-radius: 0; }
.hero__grid { gap: 70px; }

/* ---------- Карточки и кнопки — меньше скруглений, строже ---------- */
.hours, .award, .badges li { border-radius: 4px; }
.tab { border-radius: 4px; }

@media (max-width: 1100px) {
  .rating__tiles { grid-template-columns: repeat(2, 90px); grid-template-rows: repeat(2, 90px); }
}
@media (max-width: 900px) {
  .about__tiles { left: auto; right: -14px; bottom: -30px; grid-template-columns: 1fr 1fr; }
  .tile--sm { width: 70px; height: 70px; }
  .gallery { grid-auto-rows: 80px; }
  .g--a { grid-column: 1 / 13; } .g--b { grid-column: 1 / 7; } .g--t { grid-column: 7 / 13; grid-row: span 4; }
  .g--c { grid-column: 1 / 7; } .g--d { grid-column: 7 / 13; } .g--e { grid-column: 1 / 7; } .g--u { grid-column: 7 / 13; }
  .g--f { grid-column: 1 / 13; }
  .footer__band { grid-template-columns: repeat(6, 1fr); height: 70px; }
  .rating__tiles { display: none; }
  .wave { height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .wipe img, .wipe .map__img { opacity: 1 !important; }
}
