/* Маслина: бистро вечер, свещи и зехтин. Тъмен фон, кремав текст, едно златно (цветът на зехтина) */
:root {
  --bg: #0f0e0c;
  --bg-2: #17150f;
  --bg-3: #211e17;
  --ink: #f2ebdf;
  --ink-2: #aaa194;
  --line: rgba(242, 235, 223, .13);
  --acc: #d9a441;
  --acc-ink: #1a1103;
  --cursor: #f2ebdf;
  --pad: clamp(16px, 2.6vw, 40px);
  --display: "Cormorant Garamond", Georgia, serif;
  --text: "Onest", system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--acc); color: var(--acc-ink); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* филмово зърно върху целия екран */
body::after { content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .6s steps(4) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 25% { transform: translate(-4%, 3%); } 50% { transform: translate(3%, -5%); } 75% { transform: translate(-2%, 4%); } }

/* ---------- бутони ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px;
  background: var(--acc); color: var(--acc-ink); font: 600 16px/1 var(--text); text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); border-radius: inherit; transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn-lg { min-height: 64px; padding: 0 40px; font-size: 18px; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .55em; padding: 6px 0; border: 0; background: none; font: 600 16px/1.2 var(--text); color: var(--ink); text-decoration: none; cursor: pointer;
  background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s var(--ease); }
.link-arrow:hover, .link-arrow:focus-visible { background-size: 100% 1.5px; }
.link-arrow span { transition: transform .4s var(--ease); }
.link-arrow:hover span { transform: translateX(4px); }

/* ---------- навигация ---------- */
.nav { position: fixed; z-index: 80; left: 0; right: 0; top: 0; display: flex; align-items: center; gap: 32px; padding: 14px var(--pad);
  transition: background-color .4s, transform .6s var(--ease); }
.nav.solid { background: rgba(11, 12, 13, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.nav.away { transform: translateY(-110%); }
.brand { font: italic 700 30px/1 var(--display); letter-spacing: -.01em; text-decoration: none; }
.nav-links { display: flex; gap: 28px; margin-left: auto; }
.nav-links a { font-weight: 500; font-size: 15px; text-decoration: none; color: var(--ink-2); transition: color .3s; }
.nav-links a:hover { color: var(--ink); }

/* ---------- сцената ---------- */
.stage { position: relative; isolation: isolate; }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60vw 60vh at 50% 48vh, #2a2216 0%, transparent 70%); background-attachment: fixed; }
.stage-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; z-index: 1; pointer-events: none; }
.stage-sticky .three-fallback { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.stage-flow { position: relative; margin-top: -100vh; margin-top: -100svh; }

.hero { position: relative; overflow: clip; min-height: 100vh; min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; padding: calc(96px + var(--ribbon-h, 0px)) var(--pad) 36px; }
.monument { position: absolute; z-index: 0; inset: 0; display: flex; align-items: center; justify-content: center; padding: 0 var(--pad) 12vh;
  font: italic 600 clamp(96px, 23vw, 440px)/.8 var(--display); letter-spacing: -.035em; color: var(--ink); pointer-events: none; white-space: nowrap; }
.monument > span { display: block; }
.hero-top, .hero-foot, .scroll-cue { position: relative; z-index: 2; }
.hero-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; }
.hero h1 { max-width: 13em; font: italic 600 clamp(24px, 2.4vw, 36px)/1.1 var(--display); }
.open { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); white-space: nowrap; }
.open i { width: 9px; height: 9px; border-radius: 50%; background: #6b6f74; }
.open.on i { background: #8fd16a; box-shadow: 0 0 0 0 rgba(143, 209, 106, .6); animation: ping 2s infinite; }
.open.on span { color: var(--ink); }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(143, 209, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(143, 209, 106, 0); } }
.hero-foot { grid-row: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.hero-say { max-width: 27em; font-size: 18px; color: var(--ink); }
.hero-act { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: flex-end; }
.scroll-cue { position: absolute; left: 50%; bottom: 36px; width: 1.5px; height: 56px; background: var(--line); overflow: hidden; }
.scroll-cue i { position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--ink); animation: cue 2s var(--ease) infinite; }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* частите: текстът отляво, колелото отдясно */
.part { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px var(--pad); }
.part-text { width: min(40vw, 560px); }
.part-count { font: 600 14px/1 var(--text); color: var(--ink-2); margin-bottom: 24px; }
.part-count b { color: var(--acc); font-weight: 600; }
.part h2 { font: italic 600 clamp(48px, 6vw, 112px)/.9 var(--display); letter-spacing: -.025em; max-width: 7em; }
.part-price { margin-top: 18px; font: 500 clamp(26px, 2.4vw, 36px)/1 var(--display); color: var(--ink-2); }
.part-price b { color: var(--acc); font-weight: 700; font-size: 1.6em; }
.part-price small { font: 500 15px/1 var(--text); margin-left: 8px; }
.part-say { margin-top: 28px; max-width: 27em; font-size: 19px; }
.part-list { margin: 26px 0 30px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.part-list li { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-2); display: flex; gap: 14px; align-items: baseline; }
.part-list li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--acc); border-radius: 50%; transform: translateY(-2px); }

/* ---------- лента ---------- */
.band { overflow: hidden; padding: 34px 0; background: var(--acc); color: var(--acc-ink); }
.band p { display: flex; width: max-content; }
.band span { font: italic 600 clamp(44px, 6.4vw, 104px)/1.05 var(--display); letter-spacing: -.02em; padding: 0 .35em; display: flex; align-items: center; gap: .7em; }
.band span::after { content: ""; width: .32em; height: .32em; border-radius: 50%; background: currentColor; margin-left: .35em; }

/* ---------- меню ---------- */
.menu { padding: clamp(110px, 14vw, 200px) var(--pad) clamp(90px, 10vw, 160px); }
.menu-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px, 6vw, 90px); }
.menu-head h2 { font: italic 600 clamp(52px, 7vw, 124px)/.9 var(--display); letter-spacing: -.02em; }
.menu-head p { max-width: 24em; font-size: 18px; color: var(--ink-2); }
.menu-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.cats { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; position: sticky; top: 110px; }
.cats button { position: relative; border: 0; background: none; padding: 4px 0; cursor: pointer; font: italic 600 clamp(36px, 3.8vw, 64px)/1.1 var(--display); color: var(--ink-2); opacity: .55; transition: opacity .4s, color .4s, transform .5s var(--ease); }
.cats button:hover { opacity: 1; transform: translateX(8px); }
.cats button[aria-selected="true"] { opacity: 1; color: var(--ink); }
.cats button::after { content: ""; position: absolute; left: calc(100% + 14px); top: 52%; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); transform: scale(0); transition: transform .4s var(--ease); }
.cats button[aria-selected="true"]::after { transform: scale(1); }
.panel { min-height: 420px; }
.dishes { border-top: 1px solid var(--line); }
.dishes li { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.dishes span { font: 600 clamp(24px, 2.2vw, 34px)/1.1 var(--display); }
.dishes small { display: block; margin-top: 6px; font: 400 15px/1.4 var(--text); color: var(--ink-2); }
.dishes b { font: 600 clamp(20px, 1.8vw, 26px)/1 var(--display); color: var(--acc); white-space: nowrap; font-variant-numeric: tabular-nums; }
.panel-note { margin-top: 22px; color: var(--ink-2); font-size: 15px; }


/* ---------- как работим ---------- */
.how { background: var(--bg-2); }
.how-pin { height: 100vh; height: 100svh; overflow: hidden; display: flex; align-items: center; }
.how-track { display: flex; gap: clamp(20px, 2vw, 32px); padding: 0 var(--pad); will-change: transform; }
.how-intro { flex: none; width: min(34vw, 480px); display: flex; flex-direction: column; justify-content: center; gap: 24px; padding-right: 3vw; }
.how-intro h2 { font: italic 600 clamp(48px, 5.4vw, 96px)/.92 var(--display); letter-spacing: -.02em; }
.how-intro p { font-size: 19px; color: var(--ink-2); max-width: 20em; }
.step { flex: none; width: min(62vw, 860px); height: min(72vh, 640px); position: relative; overflow: hidden; border-radius: 28px; background: var(--bg-3); }
.step img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.step::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 9, 10, 0) 35%, rgba(8, 9, 10, .88) 100%); }
.step div { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: clamp(24px, 3vw, 44px); display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; align-items: end; }
.step span { grid-row: 1 / span 2; font: italic 600 clamp(56px, 6.5vw, 112px)/.8 var(--display); letter-spacing: -.02em; color: var(--acc); }
.step h3 { font: italic 600 clamp(28px, 2.8vw, 44px)/1.05 var(--display); }
.step p { max-width: 30em; color: var(--ink); opacity: .85; }

/* ---------- снимката до целия екран ---------- */
.reveal { position: relative; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }
.reveal-frame { position: absolute; inset: 0; clip-path: inset(18% 22% round 28px); }
.reveal-frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); }
.reveal-frame::after { content: ""; position: absolute; inset: 0; background: rgba(8, 9, 10, .5); }
.reveal-text { position: relative; z-index: 1; padding: 0 var(--pad); text-align: center; }
.reveal h2 { font: italic 600 clamp(40px, 6vw, 108px)/.95 var(--display); letter-spacing: -.02em; max-width: 13em; margin: 0 auto; }

/* ---------- резервация ---------- */
.reserve { padding: clamp(110px, 13vw, 190px) var(--pad); }
.reserve-head { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.reserve-head h2 { font: italic 600 clamp(52px, 7vw, 124px)/.9 var(--display); letter-spacing: -.02em; }
.reserve-head p { max-width: 24em; font-size: 18px; color: var(--ink-2); }
.slip { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; background: var(--bg-2); border-radius: 28px; overflow: hidden; }
.slip-main { padding: clamp(24px, 3vw, 48px); display: grid; gap: 28px; }
.slip fieldset { border: 0; margin: 0; padding: 0; }
.slip legend { padding: 0; margin-bottom: 14px; font: italic 600 26px/1 var(--display); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 0; border-radius: 999px; padding: 12px 18px; background: var(--bg-3); cursor: pointer; font-weight: 500; font-size: 15px; display: grid; gap: 2px; text-align: center; transition: background-color .3s, color .3s; }
.chip small { font-size: 12px; color: var(--ink-2); }
.chip:hover { background: #2c2820; }
.chip[aria-pressed="true"] { background: var(--acc); color: var(--acc-ink); }
.chip[aria-pressed="true"] small { color: #4a3509; }
.chip:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.stepper { display: inline-flex; align-items: center; gap: 4px; background: var(--bg-3); border-radius: 999px; padding: 6px; }
.stepper button { width: 46px; height: 46px; border: 0; border-radius: 50%; background: var(--bg-2); font-size: 22px; cursor: pointer; }
.stepper button:hover { background: var(--ink); color: var(--bg); }
.stepper output { min-width: 56px; text-align: center; font: 600 30px/1 var(--display); }
.slip-stub { padding: clamp(24px, 3vw, 48px); border-left: 1px dashed var(--line); display: flex; flex-direction: column; gap: 14px; }
.stub-title { font: italic 600 34px/1 var(--display); }
.stub-lines div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); }
.stub-lines dt { color: var(--ink-2); }
.stub-lines dd { font-weight: 600; }
.field { display: grid; gap: 6px; font-size: 14px; color: var(--ink-2); }
.field input { min-height: 52px; padding: 0 16px; border: 1px solid transparent; border-radius: 14px; background: var(--bg); color: var(--ink); font-size: 16px; transition: border-color .3s; }
.field input:focus { outline: none; border-color: var(--acc); }
.field input::placeholder { color: #66604f; }
.stub-msg { min-height: 1.4em; font-size: 15px; }
.done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; text-align: center; padding: 32px; background: var(--bg-2); }
.done[hidden] { display: none; }
.done svg { width: 72px; height: 72px; fill: none; stroke: var(--acc); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.done h3 { font: italic 600 44px/1 var(--display); }
.done-note { color: var(--ink-2); font-size: 14px; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 40px; font-size: clamp(17px, 1.4vw, 21px); }
.hours th, .hours td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; }
.hours th { color: var(--ink-2); font-weight: 400; }
.hours td { text-align: right; }
.hours .today th, .hours .today td { color: var(--acc); }
.contact-photo figcaption { position: absolute; left: 20px; bottom: 18px; font: italic 600 22px/1 var(--display); color: var(--ink); text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }


/* ---------- контакт ---------- */
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 96px); padding: 0 var(--pad) clamp(100px, 12vw, 180px); align-items: stretch; }
.contact h2 { font: italic 600 clamp(52px, 7vw, 128px)/.9 var(--display); letter-spacing: -.02em; max-width: 8em; margin-bottom: clamp(36px, 4vw, 64px); }
.info { display: grid; margin-bottom: 0; border-top: 1px solid var(--line); }
.info div { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 1.6vw, 24px); }
.info dt { color: var(--ink-2); font-size: 16px; align-self: center; }
.info dd { font-weight: 500; }
.info a { text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s var(--ease); }
.info a:hover { background-size: 100% 1.5px; }
.info .today dt, .info .today dd { color: var(--acc); }
.note { margin-top: 18px; font-size: 14px; color: var(--ink-2); }
.contact-photo { position: relative; overflow: hidden; border-radius: 28px; min-height: 520px; }
.contact-photo img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; }

/* ---------- футър ---------- */
.foot { position: relative; overflow: hidden; background: #060707; padding: clamp(60px, 8vw, 120px) var(--pad) 0; }
.foot-plan { width: min(100%, 720px); margin: 0 auto clamp(48px, 6vw, 90px); border-radius: 28px; opacity: .9; }
.foot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.foot-links { display: grid; gap: 10px; font-size: 18px; }
.foot-links a { text-decoration: none; color: var(--ink-2); transition: color .3s; }
.foot-links a:hover { color: var(--ink); }
.foot-legal { font-size: 14px; color: var(--ink-2); justify-self: end; max-width: 34em; }
.foot-legal summary { cursor: pointer; margin-top: 10px; color: var(--ink); }
.foot-legal details p { margin-top: 10px; }
.foot-word { font: italic 600 clamp(80px, 24vw, 460px)/.8 var(--display); letter-spacing: -.035em; white-space: nowrap; text-align: center; margin: 4vw -1vw 0; color: var(--ink); transform: translateY(18%); }

/* ---------- телефон ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav .btn-sm { margin-left: auto; }
  .hero { padding-top: calc(84px + var(--ribbon-h, 0px)); padding-bottom: 28px; }
  .hero-top { flex-direction: column; gap: 14px; }
  .hero h1 { font-size: 21px; }
  .monument { align-items: center; padding-bottom: 14vh; font-size: 30vw; }
  .menu-head, .menu-grid, .contact, .foot-row, .slip { grid-template-columns: 1fr; }
  .cats { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin: 0 calc(var(--pad) * -1); padding: 0 var(--pad) 8px; scrollbar-width: none; }
  .cats button { flex: none; font-size: 30px; padding: 6px 4px; }
  .cats button::after { display: none; }
  .chips { gap: 6px; }
  .slip-stub { border-left: 0; border-top: 1px dashed var(--line); }
  .hero-foot { flex-direction: column; align-items: stretch; gap: 22px; }
  .hero-say { font-size: 16px; }
  .hero-act { justify-content: space-between; }
  .scroll-cue { display: none; }
  .part { align-items: flex-end; padding: 54vh var(--pad) 56px; }
  .part-text { width: 100%; padding: 22px 0 0; }
  .part-count { margin-bottom: 14px; }
  .part h2 { font-size: min(10.4vw, 72px); }
  .part-say { margin-top: 16px; font-size: 17px; }
  .part-list { margin: 18px 0 18px; }
  .part-list li { padding: 10px 0; font-size: 15px; }
  .how-pin { height: auto; overflow: visible; display: block; padding: 100px 0; }
  .how-track { flex-direction: column; }
  .how-intro { width: auto; padding: 0 0 12px; }
  .step { width: 100%; height: 72vh; max-height: 560px; }
  .reveal { height: 80vh; }
  .contact-photo { min-height: 380px; }
  .info div { grid-template-columns: 6.5em 1fr; }
  .foot-legal { justify-self: start; }
}
@media (max-width: 480px) {
  .hero-act .link-arrow { display: none; }
  .hero-act .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; }
  .reveal-frame { clip-path: none; }
  .step img, .reveal-frame img { transform: none; }
  .foot-word { transform: none; }
}

/* без анимации (или без JS): таблата на „Как работим“ се подреждат в мрежа, вместо да се плъзгат */
html:not(.fx-on) .how-pin { height: auto; overflow: visible; display: block; padding: clamp(90px, 10vw, 160px) 0; }
html:not(.fx-on) .how-track { flex-wrap: wrap; }
html:not(.fx-on) .how-intro { width: 100%; padding-bottom: 24px; }
html:not(.fx-on) .step { width: calc(50% - 16px); height: 520px; }
@media (max-width: 900px) { html:not(.fx-on) .step { width: 100%; } }

/* „Всяка сутрин“: думите са дълги (Несебър, 40 вина), затова стоят над заглавието */
.step div { grid-template-columns: 1fr; gap: 8px; }
.step span { grid-row: auto; margin-bottom: 6px; }
.contact-photo figcaption { top: 20px; bottom: auto; }
