/* Demo site of a fictional bar «Тёплый свет». Restaurant look (warm, dark by default); light theme via data-theme. */
@font-face{font-family:Manrope;font-style:normal;font-weight:200 800;font-display:swap;src:url("../assets/manrope-cyrillic.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:200 800;font-display:swap;src:url("../assets/manrope-latin.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+20AC,U+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--bg:#0f0c0a;--surface:#1a1612;--surface-2:#241e18;--line:rgba(255,240,220,.12);--text:#f4ede3;--muted:#c2b6a5;--accent:#e2b26a;--accent-ink:#1b130b;--accent-text:#f0c584;--ok:#9ddbb0;--shade-1:rgba(10,7,5,.92);--shade-2:rgba(10,7,5,.6);--radius:18px;--serif:Georgia,"Times New Roman",serif;color-scheme:dark}
:root[data-theme="light"]{--bg:#faf6ef;--surface:#ffffff;--surface-2:#f2eadf;--line:rgba(40,25,10,.14);--text:#1f1a14;--muted:#5f5446;--accent:#8a5a1c;--accent-ink:#ffffff;--accent-text:#7a4f17;--ok:#1f6b3a;color-scheme:light}
[hidden]{display:none!important}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:76px}@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}
body{margin:0;background:var(--bg);color:var(--text);font:16px/1.55 Manrope,Arial,sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{display:block;max-width:100%;height:auto}a{color:inherit}button,input,select{font:inherit;color:inherit}
.wrap{width:min(1180px,100% - 32px);margin-inline:auto}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-999px;top:8px;z-index:50;background:var(--accent);color:var(--accent-ink);padding:8px 12px;border-radius:8px}.skip:focus{left:8px}
:focus-visible{outline:3px solid var(--accent-text);outline-offset:2px}
.ribbon{background:var(--accent);color:var(--accent-ink);text-align:center;font-size:13px;font-weight:700;padding:6px 16px}
.top{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.top-in{display:flex;align-items:center;gap:16px;min-height:60px}
.brand{display:flex;align-items:baseline;gap:8px;text-decoration:none;font:700 22px/1 var(--serif)}.brand small{font:500 12px Manrope,Arial,sans-serif;color:var(--muted)}.brand-mark{color:var(--accent-text)}
.nav{display:flex;gap:20px;margin-left:auto}.nav a{text-decoration:none;color:var(--muted);font-weight:600;font-size:15px}.nav a:hover{color:var(--text)}
.top-actions{display:flex;gap:8px;align-items:center}
.theme-btn{width:40px;height:40px;border-radius:12px;border:1px solid var(--line);background:var(--surface);cursor:pointer}
.cart-btn{display:inline-flex;gap:8px;align-items:center;padding:9px 14px;border-radius:12px;background:var(--surface-2);text-decoration:none;font-weight:700;font-size:14px}.cart-btn b{background:var(--accent);color:var(--accent-ink);border-radius:20px;padding:0 8px;min-width:24px;text-align:center}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;border-radius:16px;border:1px solid transparent;background:var(--accent);color:var(--accent-ink);font-weight:700;text-decoration:none;cursor:pointer}
.btn:hover{filter:brightness(1.08)}.btn.ghost{background:transparent;color:var(--text);border-color:var(--line)}.btn.wide{width:100%}
.row{display:flex;flex-wrap:wrap;gap:12px}
.kicker{display:block;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-text);font-weight:700;margin-bottom:10px}
h1,h2,h3{font-family:var(--serif);font-weight:700;line-height:1.1;margin:0 0 14px}
h1{font-size:clamp(34px,6vw,64px)}h2{font-size:clamp(28px,4vw,42px)}h3{font-size:clamp(24px,3vw,34px)}
.section{padding:clamp(48px,8vw,96px) 0}.section-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:end;gap:12px;margin-bottom:22px}.section-head p,.muted{color:var(--muted);margin:0}
/* Block b: full-bleed image with heading, text and button over a gradient shade */
.bleed{position:relative;isolation:isolate;min-height:clamp(440px,70vh,640px);display:flex;align-items:flex-end;overflow:hidden;color:#fff7ec}
.bleed>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.bleed-shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,var(--shade-1,rgba(10,7,5,.92)) 0%,rgba(10,7,5,.82) 55%,var(--shade-2,rgba(10,7,5,.6)) 100%)}
.bleed-copy{padding:56px 0;max-width:min(1180px,100% - 32px)}.bleed-copy p{max-width:560px;font-size:18px;color:#f3e7d6}.bleed .kicker{color:#ffd79a}
.bleed .btn.ghost{color:#fff7ec;border-color:rgba(255,247,236,.5)}
.bleed-cta{min-height:clamp(420px,60vh,560px);align-items:center}
/* Block a: image + text, alternating sides */
.split{display:grid;grid-template-columns:1fr 1.25fr;gap:clamp(24px,5vw,64px);align-items:center}.split+.split{margin-top:clamp(40px,7vw,88px)}
.split--reverse{grid-template-columns:1.25fr 1fr}.split--reverse .split-copy{order:2}.split--reverse .split-media{order:1}
.split-copy p{color:var(--muted);font-size:17px}.link{color:var(--accent-text);font-weight:700;text-decoration:none}.link:hover{text-decoration:underline}
.split-media{margin:0;border-radius:var(--radius);overflow:hidden;box-shadow:0 30px 60px -30px rgba(0,0,0,.6)}.split-media img{width:100%;aspect-ratio:4/3;object-fit:cover}
@media (max-width:760px){.split{grid-template-columns:1fr}.split .split-copy{order:2}.split .split-media{order:1}}
/* Menu */
.cats{display:flex;gap:8px;overflow-x:auto;padding:4px 0 12px;position:sticky;top:61px;z-index:5;background:var(--bg);scrollbar-width:thin}
.cats button{flex:none;padding:9px 16px;border-radius:20px;border:1px solid var(--line);background:var(--surface);cursor:pointer;font-weight:600;font-size:14px}
.cats button[aria-selected="true"]{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.menu-layout{display:grid;grid-template-columns:1fr 340px;gap:28px;align-items:start}
.dishes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 18px}
.dish{display:flex;flex-direction:column;border-radius:var(--radius);background:var(--surface);box-shadow:inset 0 0 0 1px var(--line);overflow:hidden}
.dish img{width:100%;aspect-ratio:4/5;object-fit:cover}.dish-body{display:flex;flex-direction:column;gap:6px;padding:12px 14px 14px;flex:1}
.dish h3{font:700 16px/1.3 Manrope,Arial,sans-serif;margin:0}.dish .weight{color:var(--muted);font-size:13px}.dish p{margin:0;color:var(--muted);font-size:13px;flex:1}
.price-btn{margin-top:8px;align-self:flex-start;padding:9px 14px;border-radius:12px;border:1px solid var(--line);background:var(--surface-2);font-weight:800;cursor:pointer}.price-btn:hover{background:var(--accent);color:var(--accent-ink)}
.price-btn[data-in-cart="true"]{background:var(--accent);color:var(--accent-ink)}
.cart{position:sticky;top:120px;background:var(--surface);border-radius:var(--radius);box-shadow:inset 0 0 0 1px var(--line);padding:20px}
.cart h3{font-size:24px}.seg{display:grid;grid-template-columns:repeat(3,1fr);gap:4px;background:var(--surface-2);padding:4px;border-radius:14px;margin-bottom:12px}
.seg button{border:0;background:transparent;padding:8px 4px;border-radius:10px;font-size:13px;font-weight:700;cursor:pointer;color:var(--muted)}.seg button[aria-pressed="true"]{background:var(--surface);color:var(--text);box-shadow:0 2px 8px rgba(0,0,0,.2)}
.cart-list{list-style:none;margin:0;padding:0;display:grid;gap:10px}.cart-list li{display:grid;grid-template-columns:1fr auto;gap:4px 10px;align-items:center;font-size:14px}
.qty{display:inline-flex;align-items:center;gap:6px}.qty button{width:28px;height:28px;border-radius:8px;border:1px solid var(--line);background:var(--surface-2);cursor:pointer}
.cart-empty{color:var(--muted);font-size:14px}
.field{display:grid;gap:6px;margin-top:12px;font-size:14px;font-weight:600}.field>span{color:var(--muted)}
.field input,.field select{width:100%;min-height:44px;border-radius:12px;border:1px solid var(--line);background:var(--surface-2);padding:10px 12px}
.field input[aria-invalid="true"]{border-color:#e0675c}
.totals{margin:14px 0;display:grid;gap:6px}.totals div{display:flex;justify-content:space-between;font-size:14px}.totals dt{color:var(--muted)}.totals dd{margin:0;font-weight:700}.totals .sum{font-size:18px;border-top:1px solid var(--line);padding-top:8px}
.note{min-height:1.2em;font-size:14px;color:var(--ok);margin:10px 0 0}.note.err{color:#e0675c}:root[data-theme="light"] .note.err{color:#a12a1f}
/* Forms */
.forms-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.card{background:var(--surface);border-radius:var(--radius);box-shadow:inset 0 0 0 1px var(--line);padding:clamp(20px,3vw,32px)}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.card .btn{margin-top:18px}
.stepper{display:inline-flex;align-items:center;gap:16px}.stepper button{width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:var(--surface-2);font-size:20px;cursor:pointer}.stepper output{min-width:2ch;text-align:center;font-size:20px;font-weight:800}
/* Contacts */
.contacts-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:32px;align-items:center}.addr{font-size:18px}
.hours{border-collapse:collapse;margin:12px 0 18px}.hours th,.hours td{padding:6px 16px 6px 0;text-align:left}.hours th{color:var(--muted);font-weight:600}
.map{margin:0;border-radius:var(--radius);overflow:hidden;box-shadow:inset 0 0 0 1px var(--line)}.map figcaption{padding:10px 14px;font-size:13px;color:var(--muted);background:var(--surface)}
.foot{padding:28px 0 96px;color:var(--muted);font-size:14px;border-top:1px solid var(--line)}
/* Mobile cart bar */
.cart-bar{position:fixed;left:12px;right:12px;bottom:12px;z-index:30;display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-radius:16px;background:var(--accent);color:var(--accent-ink);text-decoration:none;font-weight:700;box-shadow:0 12px 30px rgba(0,0,0,.4)}
@media (min-width:981px){.cart-bar{display:none}}
/* Chat bot widget */
.chat{position:fixed;right:14px;bottom:14px;z-index:40}
.chat-fab{padding:13px 18px;border-radius:24px;border:0;background:var(--text);color:var(--bg);font-weight:800;cursor:pointer;box-shadow:0 12px 30px rgba(0,0,0,.4)}
.chat-panel{position:fixed;right:14px;bottom:76px;width:min(360px,calc(100vw - 28px));max-height:min(540px,calc(100vh - 110px));display:flex;flex-direction:column;background:var(--surface);border-radius:20px;box-shadow:0 20px 60px rgba(0,0,0,.5),inset 0 0 0 1px var(--line);overflow:hidden}
.chat-panel[hidden]{display:none}
.chat-panel header{display:grid;grid-template-columns:1fr auto;padding:12px 16px;background:var(--surface-2)}.chat-panel header small{color:var(--muted);grid-column:1}.chat-panel header button{grid-row:1/3;grid-column:2;border:0;background:none;font-size:26px;cursor:pointer;width:44px;height:44px}
.chat-log{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:8px}
.msg{max-width:85%;padding:9px 12px;border-radius:14px;font-size:14px}.msg.bot{background:var(--surface-2);align-self:flex-start;border-bottom-left-radius:4px}.msg.guest{background:var(--accent);color:var(--accent-ink);align-self:flex-end;border-bottom-right-radius:4px}
.chat-quick{display:flex;flex-wrap:wrap;gap:6px;padding:0 14px 10px}.chat-quick button{padding:7px 11px;border-radius:14px;border:1px solid var(--line);background:transparent;font-size:13px;cursor:pointer}
.chat-input{display:flex;gap:8px;padding:10px;border-top:1px solid var(--line)}.chat-input input{flex:1;min-height:44px;border-radius:12px;border:1px solid var(--line);background:var(--surface-2);padding:8px 12px}.chat-input .btn{padding:10px 16px}
@media (max-width:980px){.menu-layout{grid-template-columns:1fr}.cart{position:static}.dishes{grid-template-columns:repeat(3,minmax(0,1fr))}.chat{bottom:80px}.chat-panel{bottom:140px}}
@media (max-width:760px){.nav{display:none}.dishes{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 10px}.forms-grid,.contacts-grid{grid-template-columns:1fr}.brand small{display:none}.bleed-copy p{font-size:16px}}
@media (max-width:380px){.grid2{grid-template-columns:1fr}}
/* 2026-10-15: photos, delivery module note, placeholder for prospect dishes without a photo */
.module-note{margin:-4px 0 12px;font-size:12px;line-height:1.5;color:var(--muted);border:1px dashed var(--line);border-radius:10px;padding:8px 10px}
.dish-ph{display:flex;align-items:center;justify-content:center;aspect-ratio:4/5;width:100%;background:linear-gradient(160deg,var(--surface-2),var(--bg));color:var(--accent-text);font:700 56px/1 var(--serif)}

/* Booking in three steps: choice → contacts → request received. Own demo style, tokens only. */
.forms-grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start}
.booking{min-width:0}
@media (max-width:980px){.forms-grid{grid-template-columns:1fr}}
.bk-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px}
.bk-head h2{margin:0}
.bk-steps{display:flex;gap:6px;list-style:none;margin:0;padding:0;font-size:13px;font-weight:700;color:var(--muted)}
.bk-steps li{display:flex;align-items:center;gap:6px;padding:6px 10px;border-radius:12px;background:var(--surface-2)}
.bk-steps b{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;border:1px solid var(--line);font-size:12px}
.bk-steps li[aria-current]{color:var(--text)}
.bk-steps li[aria-current] b{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.bk-step{margin-top:20px;min-width:0}
.bk-step h3{margin:0 0 4px;font-size:20px}
.bk-step h3:focus{outline:none}
.bk-step h3:focus-visible{outline:3px solid var(--accent-text);outline-offset:4px}
.bk-venue{margin-top:14px;padding:14px 16px;border-radius:14px;background:var(--surface-2)}
.bk-venue strong{font-size:17px}
.bk-venue dl{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:6px 18px;margin:8px 0 0}
.bk-venue dt{font-size:12px;color:var(--muted)}
.bk-venue dd{margin:0;font-size:14px;font-weight:600}
.bk-dates{display:flex;gap:8px;overflow-x:auto;padding:4px 2px 8px;margin:0 -2px;scrollbar-width:thin;overscroll-behavior-x:contain}
.bk-date{flex:none;display:grid;justify-items:center;gap:1px;min-width:58px;min-height:64px;padding:6px 8px;border-radius:14px;border:1px solid var(--line);background:var(--surface-2);color:var(--text);cursor:pointer}
.bk-date small{font-size:11px;color:var(--accent-text);font-weight:700;line-height:1.2}
.bk-date b{font-size:20px;line-height:1.1}
.bk-date span{font-size:12px;color:var(--muted)}
.bk-date[aria-checked="true"]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.bk-date[aria-checked="true"] small,.bk-date[aria-checked="true"] span{color:var(--accent-ink)}
.bk-hint{margin:0;font-size:13px;font-weight:500;color:var(--muted)}
.bk-part h4{margin:12px 0 6px;font-size:13px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
.bk-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(84px,1fr));gap:8px}
.bk-slot{display:grid;align-content:center;justify-items:center;min-height:48px;padding:6px 4px;border-radius:12px;border:1px solid var(--line);background:var(--surface-2);color:var(--text);cursor:pointer;font-size:15px}
.bk-slot small{font-size:11px;color:var(--muted);font-weight:600}
.bk-slot.short small{color:var(--accent-text)}
.bk-slot[aria-checked="true"]{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}
.bk-slot[aria-checked="true"] small{color:var(--accent-ink)}
.bk-slot:disabled{cursor:not-allowed;background:transparent;border-style:dashed;color:var(--muted)}
.bk-slot:disabled b{text-decoration:line-through;font-weight:600}
.bk-empty{margin:8px 0 0;color:var(--muted)}
.field-err{min-height:0;font-size:13px;font-weight:600;color:#e0675c}
:root[data-theme="light"] .field-err{color:#a12a1f}
.field label{color:var(--muted)}
.field label small{font-weight:500}
.field select[aria-invalid="true"],.bk-consent input[aria-invalid="true"]{outline:2px solid #e0675c}
.bk-summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;margin-top:12px;padding:12px 14px;border-radius:14px;background:var(--surface-2)}
.bk-summary p{margin:0;font-weight:700}
.card .bk-edit{margin-top:0;min-height:44px;padding:8px 16px}
.bk-consent{display:flex;gap:10px;align-items:flex-start;margin-top:16px;font-size:14px}
.bk-consent input{flex:none;width:22px;height:22px;margin:2px 0 0;accent-color:var(--accent)}
.bk-consent label{padding:0;line-height:1.5}
.bk-consent a{color:var(--accent-text)}
.bk-status{display:inline-block;margin:10px 0 6px;padding:6px 12px;border-radius:12px;background:var(--surface-2);font-weight:700}
.bk-summary-line{margin:6px 0;font-weight:700}
.card .btn.ghost.wide{margin-top:10px}
.demo-privacy p{max-width:70ch;color:var(--muted)}
