/* Токени — з дизайн-системи «Димарня» (Claude Design, Handoff) */
:root {
  --bg: #F8F4EE;
  --surface: #FFFDF9;
  --surface-2: #F3EDE4;
  --border: #E6DDD0;
  --border-strong: #CFC2B1;
  --text: #4A2E20;
  --text-2: #6E5848;
  --text-3: #7E6857;
  --flame: #D9542C;
  --flame-text: #B8441F;
  --selected: #FCEBE3;
  --night: #17110E;
  --night-2: #211915;
  --night-3: #2B211C;
  --night-border: #3A2E27;
  --night-border-2: #54443A;
  --cream: #F3E6D3;
  --cream-2: #CDBBA7;
  --cream-3: #A08D7B;
  --ember: #F5874F;
  --fire: #C2481F;
  --fire-hover: #A93D18;
  --cta: #E85F33;
  --cta-hover: #F07547;
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: var(--flame-text); }
a:hover { color: #92340F; }
:focus-visible { outline: 2px solid var(--flame); outline-offset: 3px; }
section[id] { scroll-margin-top: 16px; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--surface); color: var(--text); padding: 12px 16px; border-radius: 8px; font-weight: 700;
}
.skip:focus { top: 16px; }

.ic { flex: none; display: block; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 56px); }
.night { background: var(--night); color: var(--cream); }

/* Hero */
.hero { position: relative; overflow: hidden; }
.smoke { position: absolute; right: -80px; top: 40px; width: 760px; height: 640px; opacity: .09; pointer-events: none; color: var(--cream); }
.top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand:hover { color: var(--cream); }
.wm { display: block; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: .04em; line-height: 1; }
.wm-sub { display: block; font-size: 10px; font-weight: 800; letter-spacing: .22em; color: var(--ember); margin-top: 6px; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a { color: var(--cream-2); text-decoration: none; font-weight: 700; font-size: 15px; padding: 0 14px; min-height: 44px; display: inline-flex; align-items: center; border-radius: 8px; }
.nav a:hover { color: var(--cream); background: var(--night-3); }

.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; padding: 48px 0 104px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--ember); }
.eyebrow-l { color: var(--flame-text); }
.h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 5.2vw, 70px); line-height: 1.05; letter-spacing: -.02em; margin: 18px 0 24px; }
.h1 em { font-style: normal; color: var(--ember); }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--cream-2); max-width: 520px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--night-border); color: var(--cream-2); font-weight: 600; font-size: 15px; }
.fact { display: flex; align-items: center; gap: 10px; }
.fact .ic { color: var(--ember); }
.hero-photo { aspect-ratio: 4 / 5; border-radius: 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 10px; font-weight: 800; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn-cta { background: var(--cta); color: #1A100B; }
.btn-cta:hover { background: var(--cta-hover); color: #1A100B; }
.btn-ghost { border: 1.5px solid var(--night-border-2); color: var(--cream); }
.btn-ghost:hover { background: var(--night-3); color: var(--cream); }
.btn-fire { background: var(--fire); color: #FFFFFF; }
.btn-fire:hover { background: var(--fire-hover); color: #FFFFFF; }
.btn-line { border: 1.5px solid var(--border-strong); color: var(--text); background: var(--surface); }
.btn-line:hover { border-color: var(--text-3); color: var(--text); }
.btn-white { background: #FFFFFF; color: var(--text); }
.btn-white:hover { background: #F7E7CC; color: var(--text); }
.btn-wline { border: 1.5px solid rgba(255, 255, 255, .7); color: #FFFFFF; }
.btn-wline:hover { background: rgba(255, 255, 255, .12); color: #FFFFFF; }

/* Плейсхолдери: прибрати, коли будуть фото й дані від замовника */
.ph { display: grid; place-items: center; text-align: center; padding: 16px; border: 1.5px dashed; border-radius: 18px; font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.ph-d { border-color: var(--night-border-2); color: var(--cream-3); background: repeating-linear-gradient(135deg, #211915 0 14px, #261D18 14px 15px); }
.ph-l { border-color: var(--border-strong); color: var(--text-3); background: repeating-linear-gradient(135deg, #F3EDE4 0 14px, #EDE5DA 14px 15px); }
.tbd { font-family: var(--font-mono); font-size: .86em; font-weight: 600; background: var(--surface-2); color: var(--text-3); padding: 1px 6px; border-radius: 5px; }
.tbd-d { background: var(--night-3); color: var(--cream-3); }
.tbd-w { background: rgba(255, 255, 255, .16); color: #FFFFFF; }

/* Sections */
.sec { padding: clamp(64px, 8vw, 112px) 0; }
.sec-tight { padding-top: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -.01em; margin-top: 14px; }
.sec-lead { color: var(--text-2); max-width: 560px; font-size: 17px; margin-top: 14px; }
.night .sec-lead { color: var(--cream-2); }
.h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.25; }
.muted { color: var(--text-2); }

.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.badge { width: 52px; height: 52px; border-radius: 14px; background: var(--selected); color: var(--flame-text); display: grid; place-items: center; }

.dishes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.dish { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.dish .ph { aspect-ratio: 4 / 3; border-radius: 0; border-width: 0 0 1.5px 0; }
.dish-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }

.delivery { padding-bottom: clamp(64px, 8vw, 112px); }
.band { background: var(--fire); color: #FFFFFF; border-radius: 28px; padding: clamp(28px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.band .eyebrow { color: #FFE2D2; }
.band .h2 { color: #FFFFFF; }
.band-text { font-size: 18px; color: #FFF3EA; margin-top: 16px; max-width: 520px; }
.band .ph { aspect-ratio: 1 / 1; border-color: rgba(255, 255, 255, .5); color: #FFFFFF; background: repeating-linear-gradient(135deg, #B5421C 0 14px, #AD3F1B 14px 15px); }

.locs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.loc { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.loc .ph { aspect-ratio: 16 / 8; border-radius: 0; border-width: 0 0 1.5px 0; }
.loc-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 16px; }
.loc-body .h3 { margin-top: 8px; }
.rows { display: flex; flex-direction: column; gap: 10px; font-size: 16px; font-weight: 600; }
.row { display: flex; align-items: center; gap: 12px; }
.row .ic { color: var(--flame-text); }
.loc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gallery .ph { aspect-ratio: 1 / 1; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.soc { display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 20px 0 16px; border-radius: 12px; border: 1.5px solid var(--night-border-2); color: var(--cream); text-decoration: none; font-weight: 700; }
.soc:hover { background: var(--night-3); color: var(--cream); }
.soc small { display: block; font-size: 12px; font-weight: 600; color: var(--cream-3); }

/* Footer */
.foot { background: var(--night-2); color: var(--cream-2); font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; padding: 56px 0 40px; }
.foot .wm { color: var(--cream); }
.foot-about { margin-top: 16px; max-width: 320px; }
.foot h2 { font-family: var(--font-body); font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-3); margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.foot a { color: var(--cream-2); text-decoration: none; display: inline-flex; min-height: 32px; align-items: center; }
.foot a:hover { color: var(--cream); }
.foot-bottom { border-top: 1px solid var(--night-border); padding: 20px 0 28px; font-size: 13px; color: var(--cream-3); }

@media (max-width: 1000px) {
  .dishes, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 20px 0 64px; }
  .hero-photo { aspect-ratio: 4 / 3; }
  .grid3, .locs, .band { grid-template-columns: minmax(0, 1fr); }
  .band .ph { aspect-ratio: 16 / 9; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}
@media (max-width: 520px) {
  .dishes { grid-template-columns: minmax(0, 1fr); }
  .actions .btn { flex: 1 1 100%; }
  .loc-actions .btn { flex: 1 1 140px; }
  .soc { flex: 1 1 100%; }
  .top .btn-sm { padding: 0 14px; }
  .btn { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Заглушка (index.html), поки не заповнені плейсхолдери повного лендінгу (preview.html) */
.soon { display: flex; min-height: 100vh; min-height: 100svh; }
.soon-wrap { position: relative; flex: 1; display: flex; flex-direction: column; width: 100%; }
.soon-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 40px 0 56px; }
.soon .lead { max-width: 560px; }
.soon-h { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-3); margin: 48px 0 14px; }
.soon-locs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 980px; }
.soon-loc { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 20px 20px; border: 1.5px solid var(--night-border-2); border-radius: 16px; background: rgba(33, 25, 21, .7); }
.soon-loc .ic { color: var(--ember); }
.soon-loc-text { display: flex; flex-direction: column; gap: 2px; color: var(--cream-2); }
.soon-loc-text b { color: var(--cream); font-size: 17px; }
.soon .socials { margin-top: 28px; }
.soon-foot { border-top: 1px solid var(--night-border); padding: 20px 0 28px; font-size: 13px; color: var(--cream-3); }
@media (max-width: 860px) {
  .soon-locs { grid-template-columns: minmax(0, 1fr); }
  .soon-loc { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .soon-loc-text { flex: 1 1 160px; }
}
