/* VARVAR — сайт-візитка (темний, як меню) */
:root { color-scheme: only dark; --bg: #121212; --card: #1c1c1c; --card2: #252525; --line: #2e2e2e; --text: #f1f1f1; --muted: #9c9c9c; --accent: #f2c14e; --ink: #1a1400; --r: 18px; --gut: 16px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 70px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 Rubik, system-ui, sans-serif; -webkit-tap-highlight-color: transparent; }
h1, h2, .brand { font-family: 'Rubik Dirt', Rubik, sans-serif; font-weight: 400; letter-spacing: .02em; }
h2 { font-size: 30px; margin: 0 0 14px; }
a { color: var(--accent); }
.muted { color: var(--muted); }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }

.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; padding: 10px var(--gut); background: rgba(18,18,18,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { color: var(--text); text-decoration: none; font-size: 26px; }
.links { display: none; gap: 18px; margin-left: 18px; }
.links a { color: var(--muted); text-decoration: none; font-weight: 500; } .links a:hover { color: var(--text); }
.me-btn, .lng { margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 99px; padding: 6px 12px; font-weight: 600; font-size: 14px; }
.lng { margin-left: 0; }
@media (min-width: 820px) { .links { display: flex; } }

.hero { position: relative; display: grid; align-items: end; overflow: hidden; }
.hero.ph { min-height: 62vh; }
.hero-bg { position: absolute; inset: 0; background: #222 url('../img/bg.jpg') center/cover; transform: scale(1.03); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(18,18,18,.25) 0%, rgba(18,18,18,.55) 45%, var(--bg) 100%); }
.hero-in { position: relative; padding: 28px var(--gut) 26px; max-width: 1100px; width: 100%; margin: 0 auto; }
.hero h1 { font-size: clamp(42px, 9vw, 86px); line-height: 1; margin: 10px 0 8px; }
.tag { font-size: 19px; max-width: 640px; margin: 0 0 6px; }
.addr { color: #ddd; margin: 0 0 18px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; font-size: 14px; font-weight: 600; background: #1f3a22; color: #8fe39a; }
.badge.off { background: #3d1515; color: #ff6b5e; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; border-radius: 14px; border: 0; background: var(--accent); color: var(--ink); font-weight: 700; text-decoration: none; font-size: 16px; }
.btn.alt { background: var(--card2); color: var(--text); }
.btn.ghost { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18); color: var(--text); }
.btn:active { transform: scale(.97); }

main { max-width: 1100px; margin: 0 auto; padding: 0 var(--gut); }
main > section { margin: 40px 0; }
.about p { font-size: 17px; max-width: 760px; color: #ddd; }
.feats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 18px; }
.feats div { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; display: grid; gap: 6px; }
.feats b { font-size: 28px; }
.sec-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; } .more { white-space: nowrap; font-weight: 600; text-decoration: none; }

.promos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.promo { background: linear-gradient(135deg, #3a2c0c, #1e1a10); border: 1px solid #5a4614; border-radius: var(--r); padding: 18px; }
.promo b { font-size: 19px; color: var(--accent); display: block; margin-bottom: 4px; }

.hits { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
@media (min-width: 700px) { .hits { grid-template-columns: repeat(4, 1fr); } }
.hit { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.hit .ph { aspect-ratio: 1; background: #222 center/contain no-repeat; }
.hit div { padding: 10px 12px 12px; display: grid; gap: 2px; } .hit b { font-size: 15px; } .hit span { color: var(--accent); font-weight: 700; } .hit small { color: var(--muted); font-size: 12px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.gal { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .gal::-webkit-scrollbar { display: none; }
.gal img { flex: none; width: min(78vw, 420px); aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); scroll-snap-align: start; }

.two { display: grid; gap: 14px; } @media (min-width: 760px) { .two { grid-template-columns: 1fr 1fr; } }
.box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; } .box h2 { font-size: 24px; } .box p { color: #ddd; }

.formbox { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px; max-width: 720px; }
form { display: grid; gap: 10px; }
input, textarea { width: 100%; background: var(--card2); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; font: inherit; font-size: 16px; outline: none; } input:focus, textarea:focus { border-color: var(--accent); }
input[type=date], input[type=time] { color-scheme: dark; }
.row2 { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; } .row3 { display: grid; gap: 10px; grid-template-columns: 1.4fr 1fr .7fr; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.seg { display: flex; gap: 6px; flex-wrap: wrap; } .seg button { flex: 1; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card2); font-weight: 600; white-space: nowrap; padding: 0 10px; }
.seg button.on { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.msg { min-height: 20px; color: var(--accent); }
.done { display: grid; gap: 10px; text-align: center; } .done .big { font-size: 54px; }

.quotes { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-bottom: 14px; }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; font-style: italic; color: #ddd; } .quote small { display: block; font-style: normal; color: var(--muted); margin-top: 8px; }
.rate { font-size: 20px; font-weight: 700; color: var(--accent); white-space: nowrap; }

.contacts { display: grid; gap: 16px; } @media (min-width: 760px) { .contacts { grid-template-columns: 1fr 1.3fr; align-items: start; } }
.contacts p { margin: 6px 0; } .socials a { margin-right: 14px; font-weight: 600; }
.map { width: 100%; height: 340px; border: 0; border-radius: var(--r); filter: grayscale(.3) contrast(1.05); }
.foot { text-align: center; color: var(--muted); padding: 30px var(--gut) 20px; font-size: 14px; }

.dock { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30; display: grid; grid-template-columns: 56px 1fr 56px; gap: 8px; }
.dock a { display: grid; place-items: center; min-height: 54px; border-radius: 16px; background: rgba(37,37,37,.94); backdrop-filter: blur(8px); border: 1px solid var(--line); text-decoration: none; font-size: 22px; color: var(--text); }
.dock a.main { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: var(--ink); font-weight: 700; font-size: 17px; }
@media (min-width: 820px) { .dock { display: none; } body { padding-bottom: 0; } }

.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: var(--gut); }
.modal .bg { position: absolute; inset: 0; background: rgba(0,0,0,.65); }
.modal .card { position: relative; width: min(100%, 520px); max-height: 88vh; overflow: auto; background: #1b1b1b; border-radius: 22px; padding: 22px; display: grid; gap: 12px; }
.modal .x { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 22px; color: var(--muted); }
.me-k { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; } .me-k div { background: var(--card2); border-radius: 14px; padding: 12px; display: grid; } .me-k b { font-size: 20px; color: var(--accent); } .me-k span { font-size: 12px; color: var(--muted); }
.me-l { display: grid; gap: 6px; } .me-l div { background: var(--card2); border-radius: 12px; padding: 10px 12px; font-size: 14px; }

/* 🎟 сторінка-сертифікат */
.certpage { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.certcard { width: min(100%, 560px); aspect-ratio: 1.6; border-radius: 26px; padding: 28px; display: grid; align-content: space-between; background: radial-gradient(circle at 80% 10%, #6b5216, transparent 55%), linear-gradient(135deg, #2a2210, #121212); border: 1px solid #6b5216; box-shadow: 0 30px 80px #0009; }
.certcard .v { font-family: 'Rubik Dirt', Rubik; font-size: 30px; } .certcard .s { font-size: 54px; font-weight: 700; color: var(--accent); line-height: 1; } .certcard .c { font-family: ui-monospace, monospace; font-size: 20px; letter-spacing: .1em; }
@media print { .nav, .dock, .foot, .noprint { display: none !important; } body { background: #fff; } }

/* ===== 🎨 Конструктор (js/about-design.js) — діє лише коли власник зберіг дизайн (html[data-site]) ===== */
html[data-site] body { background: var(--pagebg, var(--bg)); font-family: var(--fb); font-size: var(--fz); }
html[data-site] h1, html[data-site] h2, html[data-site] .brand { font-family: var(--fh); }
html[data-site][data-caps="1"] h1, html[data-site][data-caps="1"] h2 { text-transform: uppercase; letter-spacing: .03em; }
html[data-site][data-mode="light"] { color-scheme: only light; }
html[data-site][data-mode="light"] input[type=date], html[data-site][data-mode="light"] input[type=time] { color-scheme: light; }
html[data-site] .nav { background: var(--navbg); }
html[data-site][data-nav="solid"] .nav { background: var(--card); backdrop-filter: none; }
html[data-site][data-nav="none"] .nav { position: absolute; left: 0; right: 0; background: transparent; border: 0; backdrop-filter: none; }
html[data-site] .about p, html[data-site] .box p, html[data-site] .quote, html[data-site] .addr { color: var(--soft); }
html[data-site] .promo { background: color-mix(in srgb, var(--accent) 14%, var(--card)); border-color: color-mix(in srgb, var(--accent) 38%, var(--card)); }
html[data-site] .hit .ph { background-color: var(--card2); }
html[data-site] .btn { border-radius: var(--r); }
html[data-site] .btn.ghost { background: color-mix(in srgb, var(--text) 6%, transparent); border-color: color-mix(in srgb, var(--text) 20%, transparent); }
html[data-site][data-btn="pill"] .btn { border-radius: 99px; }
html[data-site][data-btn="line"] .btn:not(.alt):not(.ghost) { background: transparent; color: var(--accent); border: 2px solid var(--accent); }
html[data-site] .formbox, html[data-site] .modal .card { border-radius: calc(var(--r) + 4px); }
html[data-site] .modal .card { background: var(--card); }
html[data-site] .dock a { background: color-mix(in srgb, var(--card2) 94%, transparent); }
html[data-site][data-cards="shadow"] :is(.feats div, .hit, .box, .formbox, .quote, .promo, .evc, .adr) { border-color: transparent; box-shadow: 0 10px 30px rgba(0,0,0,.28); }
html[data-site][data-mode="light"][data-cards="shadow"] :is(.feats div, .hit, .box, .formbox, .quote, .promo, .evc, .adr) { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
html[data-site][data-cards="flat"] :is(.feats div, .hit, .box, .formbox, .quote, .promo, .evc, .adr) { border-color: transparent; }
html[data-site] .hero-bg::after { background: linear-gradient(180deg, rgba(0,0,0,calc(var(--dim, .4) * .6)) 0%, rgba(0,0,0,var(--dim, .4)) 45%, var(--bg) 100%); }
html[data-site][data-mode="light"]:not([data-hero="plain"]):not([data-hero="logo"]):not([data-hero="split"]) .hero.ph .hero-in { color: #fff; } html[data-site][data-mode="light"]:not([data-hero="plain"]):not([data-hero="logo"]):not([data-hero="split"]) .hero.ph .addr { color: #eee; }

/* 🏠 головний екран */
html[data-hero] .hero.ph, html[data-hero="full"] .hero { min-height: var(--hh, 62vh); }
.hero[data-al="c"] .hero-in { text-align: center; } .hero[data-al="c"] .cta { justify-content: center; } .hero[data-al="c"] .tag { margin-inline: auto; }
#hLogo { width: 84px; height: 84px; object-fit: contain; border-radius: 20px; display: block; margin: 8px 0; } .hero[data-al="c"] #hLogo { margin-inline: auto; }
html[data-hero="plain"] .hero-bg { display: none; } html[data-hero="plain"] .hero, html[data-hero="plain"] .hero.ph { min-height: 0; padding-top: 30px; } html[data-hero="plain"] .hero-in { color: var(--text); } html[data-hero="plain"] .addr { color: var(--muted) !important; }
html[data-hero="logo"] .hero-bg { display: none; } html[data-hero="logo"] .hero, html[data-hero="logo"] .hero.ph { min-height: var(--hh, 62vh); align-items: center; } html[data-hero="logo"] .hero-in { text-align: center; color: var(--text); } html[data-hero="logo"] .cta { justify-content: center; } html[data-hero="logo"] #hLogo { width: 140px; height: 140px; margin: 0 auto 10px; } html[data-hero="logo"] .tag { margin-inline: auto; }
html[data-hero="split"] .hero, html[data-hero="split"] .hero.ph { min-height: 0; display: grid; grid-template-rows: 46vh auto; align-items: stretch; }
html[data-hero="split"] .hero-bg { position: relative; inset: auto; transform: none; grid-row: 1; } html[data-hero="split"] .hero-bg::after { display: none; } html[data-hero="split"] .hero-in { grid-row: 2; color: var(--text); } html[data-hero="split"] .addr { color: var(--muted) !important; }
@media (min-width: 820px) { html[data-hero="split"] .hero, html[data-hero="split"] .hero.ph { grid-template-columns: 1fr 1fr; grid-template-rows: none; min-height: var(--hh, 62vh); } html[data-hero="split"] .hero-bg { grid-column: 2; grid-row: 1; border-radius: var(--r); margin: 20px 20px 20px 0; } html[data-hero="split"] .hero-in { grid-column: 1; grid-row: 1; align-self: center; padding-left: max(var(--gut), calc((100vw - 1100px) / 2)); } }

/* 🧱 власні блоки */
.cb-txt { font-size: 17px; max-width: 760px; color: var(--soft, #ddd); margin: 0; }
.cb-media { display: grid; gap: 18px; align-items: center; } .cb-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r); }
@media (min-width: 760px) { .cb-media { grid-template-columns: 1fr 1fr; } .cb-media.r img { order: 2; } }
.cb-q { margin: 0; padding: 22px 24px; border-left: 4px solid var(--accent); background: var(--card); border-radius: var(--r); font-size: 20px; font-style: italic; color: var(--text); } .cb-q small { display: block; font-size: 14px; font-style: normal; color: var(--muted); margin-top: 8px; }
.cb-sep { display: flex; align-items: center; gap: 14px; color: var(--accent); } .cb-sep::before, .cb-sep::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.soc.big { display: flex; flex-wrap: wrap; gap: 10px; } .soc.big a { padding: 10px 16px; border-radius: 99px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-weight: 600; }
/* 🎵 афіша */
.evs { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.evc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: grid; } .evc img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.evc > div { padding: 14px 16px; display: grid; gap: 6px; } .evc small { color: var(--accent); font-weight: 700; text-transform: capitalize; } .evc b { font-size: 18px; } .evc p { margin: 0; color: var(--soft, #ddd); font-size: 15px; } .evc .btn { justify-self: start; min-height: 42px; }
/* 📍 адреси, 🕐 години */
.addrs { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin: -20px 0 40px; } .addrs h3 { grid-column: 1/-1; margin: 0; }
.adr { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: grid; gap: 4px; } .adr span { color: var(--muted); font-size: 14px; } .adr a { font-weight: 600; text-decoration: none; }
.hrs { display: inline-flex; flex-wrap: wrap; gap: 4px 12px; font-weight: 400; } .hrs span.on { color: var(--accent); font-weight: 700; }
#vvChatB { margin-left: 8px; }
/* 📣 оголошення */
#vvAnn { padding: 9px var(--gut); text-align: center; font-weight: 600; font-size: 14px; }
/* 🧲 панель на телефоні */
body.has-dock { padding-bottom: calc(80px + env(safe-area-inset-bottom)); } @media (min-width: 820px) { body.has-dock { padding-bottom: 0; } }
/* ✨ поява блоків */
html[data-anim="fade"] main > section { opacity: 0; transition: opacity .7s ease; } html[data-anim="up"] main > section { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html[data-anim] main > section.in { opacity: 1; transform: none; }
html[data-site] .btn { transition: transform .15s ease, filter .15s ease; } @media (hover: hover) { html[data-site] .btn:hover { filter: brightness(1.08); transform: translateY(-1px); } }
@media (prefers-reduced-motion: reduce) { html[data-anim] main > section { opacity: 1 !important; transform: none !important; transition: none; } }
/* 🎉 сезон */
html[data-season]:not([data-season=""]) { --accent: var(--season); }
#vvSeason { position: fixed; inset: 0; pointer-events: none; z-index: 5; overflow: hidden; } #vvSeason i { position: absolute; top: -40px; font-style: normal; font-size: 22px; opacity: .55; animation: vvfall linear infinite; }
@keyframes vvfall { to { transform: translateY(110vh) rotate(260deg); } }
@media (prefers-reduced-motion: reduce) { #vvSeason { display: none; } }

/* 🍽 хіти — точно як картки меню: текстура під фото, PNG страви цілком */
.hit .ph { display: grid; place-items: center; background: #1a1a1a url('../img/bg.jpg?v=3') center/cover; } .hit .ph img { width: 100%; height: 100%; object-fit: contain; display: block; }
@media (min-width: 700px) { .hits { grid-template-columns: repeat(4, 1fr); } }
/* шапка: 👤 і мова — однакові кружечки; 4 кнопки головного екрана — по центру */
.nav .me-btn, .nav .lng { width: 40px; height: 40px; padding: 0; display: inline-grid; place-items: center; border-radius: 50%; font-size: 14px; flex: none; }
.nav .me-btn { font-size: 18px; }
.hero .cta { justify-content: center; }
