/* Кристал: „най-доброто наргиле във Варна“ по думите на гостите (ъгъл A, 22.11). Само var(--...) от tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: var(--fs-2); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, blockquote, figure { margin: 0; }
ul { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--header-h) + var(--s4)); }
.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }
.skok { position: absolute; left: -999px; top: var(--s2); z-index: 100; background: var(--accent); color: var(--on-accent); padding: var(--s3) var(--s4); }
.skok:focus { left: var(--s2); }
h2 { font-size: var(--fs-4); font-weight: 800; line-height: 1.05; letter-spacing: -.022em; text-wrap: balance; }

/* Бутони */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 3.25rem; padding: 0 var(--s6); background: var(--accent); color: var(--on-accent); border: 2px solid var(--accent); border-radius: var(--radius); font-weight: 700; font-size: var(--fs-1); text-decoration: none; white-space: nowrap; }
.btn--kontur { background: transparent; color: var(--text); border-color: var(--line); }
@media (hover: hover) { .btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); } .btn--kontur:hover { background: var(--text); color: var(--bg); border-color: var(--text); } }
.btns { display: flex; gap: var(--s3); flex-wrap: wrap; }

/* Хедър */
.hd { position: sticky; top: 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; gap: var(--s8); padding-inline: var(--gutter); background: var(--dark); border-bottom: 1px solid var(--line); }
.hd__logo { font-weight: 800; font-size: 1.2rem; letter-spacing: .14em; text-decoration: none; }
.hd__logo span { color: var(--accent-ink); font-weight: 500; letter-spacing: .08em; font-size: var(--fs-0); margin-left: var(--s2); }
.hd__nav { display: flex; gap: var(--s6); }
.hd__nav a { text-decoration: none; color: var(--muted); font-size: var(--fs-1); padding-block: var(--s3); }
@media (hover: hover) { .hd__nav a:hover { color: var(--text); } }
.hd__d { margin-left: auto; display: flex; align-items: center; gap: var(--s4); }
.hd__tel { text-decoration: none; font-weight: 700; font-size: var(--fs-1); color: var(--accent-ink); }
.hd .btn { min-height: 2.75rem; padding: 0 var(--s4); }

/* Първи екран: оценката, думите на гостите, един „Запази маса“ */
.hero { position: relative; height: calc(100svh - var(--header-h)); min-height: 36rem; display: flex; align-items: flex-end; overflow: hidden; background: var(--dark); }
.hero__sn { position: absolute; inset: 0; }
.hero__sn img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--scrim-1) 0%, var(--scrim-2) 50%, var(--scrim-0) 80%), linear-gradient(to right, var(--scrim-1), var(--scrim-2) 45%, var(--scrim-0) 75%); }
.hero__t { position: relative; z-index: 2; padding-bottom: var(--s16); }
.hero__zv { display: flex; align-items: baseline; gap: var(--s3); }
.hero__zv b { font-size: var(--fs-4); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--amber); }
.hero h1 { margin-top: var(--s4); font-size: var(--fs-hero); font-weight: 800; line-height: .98; letter-spacing: -.03em; max-width: 12ch; }
.hero__koi { margin-top: var(--s6); font-size: var(--fs-3); line-height: 1.35; max-width: 30ch; }
.hero__koi b { color: var(--amber); }
.hero__fakti { margin-top: var(--s6); display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); color: var(--muted); font-size: var(--fs-1); }
.status { display: inline-flex; align-items: center; gap: var(--s2); color: var(--text); font-weight: 600; }
.status[hidden] { display: none; }
.status__t { width: .625rem; height: .625rem; border-radius: 50%; background: var(--ne); flex: none; }
.status--otv .status__t { background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 25%, transparent); }
.status--zat .status__t { box-shadow: 0 0 0 4px color-mix(in srgb, var(--ne) 25%, transparent); }
.danni .status { margin-left: var(--s2); }
.hero__fakti strong { color: var(--amber); font-weight: 600; }
.hero .btns { margin-top: var(--s8); }

.sek { padding: var(--s24) 0; }
/* Секция от менюто горе заема целия екран: при цъкване се вижда само тя */
.sek[id] { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; scroll-margin-top: var(--header-h); }

/* Числата от отзивите */
.chisla { background: var(--bg); }
.chisla h2 { max-width: 18ch; }
.chisla__s { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s8); margin-top: var(--s12); }
.chisla__s li { padding-top: var(--s6); border-top: 3px solid var(--accent); }
.chisla__s b { display: block; font-size: var(--fs-hero); font-weight: 800; line-height: 1; letter-spacing: -.04em; color: var(--amber); }
.chisla__s h3 { margin-top: var(--s2); font-size: var(--fs-3); line-height: 1.2; }
.chisla__s p { margin-top: var(--s4); font-weight: 600; line-height: 1.4; }
.chisla__s span { display: block; margin-top: var(--s3); font-size: var(--fs-0); color: var(--muted); }

/* Наргилето: как се прави, по думите на гостите */
.narg { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s16); align-items: center; }
.narg__sn img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.narg__l { margin-top: var(--s6); color: var(--muted); font-size: var(--fs-3); line-height: 1.45; max-width: 34ch; }
.stapki { counter-reset: st; margin: var(--s8) 0 0; padding: 0; list-style: none; display: grid; gap: var(--s8); }
.stapki li { counter-increment: st; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 0 var(--s4); }
.stapki li::before { content: counter(st); grid-row: span 2; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 2px solid var(--accent); color: var(--amber); font-weight: 800; font-size: var(--fs-2); }
.stapki h3 { font-size: var(--fs-3); line-height: 1.2; align-self: center; }
.stapki blockquote { margin-top: var(--s2); color: var(--muted); font-size: var(--fs-1); }
.stapki cite { display: block; margin-top: var(--s1); font-style: normal; font-size: var(--fs-0); }

/* Мачът: две снимки и текст на тъмна лента */
.mach { background: var(--surface); }
.pie { background: var(--surface); }
.mach__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s16); align-items: center; }
.mach__sn { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.mach__sn img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.mach__sn picture:last-child { margin-top: var(--s16); }
.mach p { margin-top: var(--s6); color: var(--muted); font-size: var(--fs-3); line-height: 1.45; max-width: 32ch; }
.chips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s6); }
.chips li { padding: var(--s3) var(--s4); border: 1px solid var(--line); border-radius: 999px; font-size: var(--fs-1); font-weight: 600; }
.mach .btns { margin-top: var(--s8); }

/* Компания: запитване за маса със SMS */
.komp { background: var(--bg); }
.komp__in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s16); align-items: center; }
.komp__l { margin-top: var(--s4); font-size: var(--fs-3); line-height: 1.4; max-width: 34ch; }
.komp__l span { display: block; margin-top: var(--s2); font-size: var(--fs-0); color: var(--muted); }
.komp__sn img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.izb fieldset { margin: var(--s8) 0 0; padding: 0; border: 0; min-width: 0; }
.izb legend { padding: 0; margin-bottom: var(--s3); font-weight: 700; font-size: var(--fs-1); }
.izb__r { display: flex; flex-wrap: wrap; gap: var(--s2); }
.izb__r label { position: relative; }
.izb__r input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.izb__r span { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 var(--s4); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: var(--fs-1); }
.izb__r input:checked + span { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.izb__r input:focus-visible + span { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.izb__k { margin-top: var(--s8); padding: var(--s6); background: var(--surface); border-radius: var(--radius); }
.izb__k p { font-weight: 600; }
.izb__k .btns { margin-top: var(--s4); }

/* Напитките: довод с цени и връзка към тяхното меню */
.pie__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s16); align-items: center; }
.pie__sn { display: grid; grid-template-columns: 1.3fr 1fr; gap: var(--s3); align-items: end; }
.pie__sn img { width: 100%; object-fit: cover; border-radius: var(--radius); }
.pie__sn picture:first-child img { aspect-ratio: 4 / 3; }
.pie__sn picture:last-child img { aspect-ratio: 2 / 3; }
.ceni { margin-top: var(--s8); border-top: 1px solid var(--line); }
.ceni li { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.ceni span:last-child { color: var(--amber); font-variant-numeric: tabular-nums; white-space: nowrap; }
.pie__l { margin-top: var(--s4); color: var(--muted); font-size: var(--fs-3); line-height: 1.45; max-width: 32ch; }
.pie__dr { margin-top: var(--s4); color: var(--muted); font-size: var(--fs-1); }
.pie .btns { margin-top: var(--s8); }

/* Как да стигнете */
.pat { background: var(--surface); }
.pat__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: var(--s16); align-items: start; }
.danni { margin-top: var(--s8); border-top: 1px solid var(--line); }
.danni div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.danni dt { color: var(--muted); font-size: var(--fs-1); }
.danni dd { font-weight: 600; }
.pat .btns { margin-top: var(--s8); }
.pat__sn img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }

/* Футър */
.ft { padding: var(--s16) 0 var(--s12); background: var(--dark); border-top: 1px solid var(--line); color: var(--muted); font-size: var(--fs-1); }
.ft__tel { display: inline-block; font-size: var(--fs-4); font-weight: 800; letter-spacing: -.03em; color: var(--text); text-decoration: none; }
.ft p { margin-top: var(--s3); }
.ft__demo { font-size: var(--fs-0); max-width: 62ch; }
.felixbg-credit { margin-top: var(--s6); font-size: var(--fs-0); }
.felixbg-credit a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; min-height: 2.75rem; }
.felixbg-credit img { border-radius: 4px; flex: none; }
.felixbg-credit span { text-decoration: underline; text-underline-offset: 3px; }

/* Телефон */
.lipkav { display: none; }
@media (max-width: 899px) {
  .hd { gap: var(--s4); }
  .hd__nav, .hd .btn { display: none; }
  .hd__tel { color: var(--accent-ink); }
  .hero { min-height: 32rem; }
  .hero__t { padding-bottom: var(--s12); }
  .btns .btn { flex: 1 1 0; padding: 0 var(--s3); }
  .sek { padding: var(--s16) 0; }
  .pie__sn { order: 2; }
  .narg, .mach__in, .pie__in, .pat__in, .komp__in { grid-template-columns: minmax(0, 1fr); gap: var(--s8); }
  .narg__sn img { aspect-ratio: 4 / 3; }
  .danni div { grid-template-columns: 7rem minmax(0, 1fr); }
  .mach__sn { order: -1; grid-template-columns: minmax(0, 1fr); }
  .mach__sn img { aspect-ratio: 4 / 5; }
  .mach__sn picture:last-child { display: none; }
  .chisla__s { grid-template-columns: minmax(0, 1fr); gap: var(--s12); margin-top: var(--s8); }
  .komp__sn { order: -1; }
  .komp__sn img { aspect-ratio: 4 / 3; }
  .lipkav { display: flex; position: fixed; left: max(var(--s3), env(safe-area-inset-left)); right: max(var(--s3), env(safe-area-inset-right)); bottom: max(var(--s3), env(safe-area-inset-bottom)); z-index: 45; min-height: 3.25rem; align-items: center; justify-content: center; background: var(--accent); color: var(--on-accent); font-weight: 700; text-decoration: none; border-radius: var(--radius); box-shadow: var(--shadow); }
  .js .lipkav { transform: translateY(160%); visibility: hidden; }
  .js .lipkav.vidim { transform: none; visibility: visible; }
  .ft { padding-bottom: calc(var(--s12) + 4.5rem); }
}
@media (prefers-reduced-motion: no-preference) { .lipkav { transition: transform var(--dur) var(--ease), visibility var(--dur); } }
