/* ============================================================
   Smash Boy — Smash Burgers Tulcea
   Optimizat pentru viteză: fără blur la scroll, animații doar pe
   transform/opacity, un singur font (subset ~12 KB), text pe fontul sistemului.
   ============================================================ */

@font-face {
  font-family: "Big Shoulders Display"; font-style: normal; font-weight: 900; font-display: swap;
  src: url(../fonts/bsd-900-latin.woff2) format("woff2");
  unicode-range: U+0020-007E, U+00A0-00FF, U+2013-2014, U+2018-201E, U+2022, U+2026, U+20AC;
}
@font-face {
  font-family: "Big Shoulders Display"; font-style: normal; font-weight: 900; font-display: swap;
  src: url(../fonts/bsd-900-ro.woff2) format("woff2");
  unicode-range: U+0102-0103, U+015E-015F, U+0162-0163, U+0218-021B;
}

:root {
  --bg: #0e0c0a;
  --bg-2: #14100d;
  --surface: #1b1612;
  --line: rgba(246, 239, 230, .09);
  --line-2: rgba(246, 239, 230, .18);
  --text: #f6efe6;
  --muted: #b4a797;
  --dim: #9a8d7e;
  --red: #dc2229;
  --red-hi: #ec3037;
  --yellow: #ffc21a;

  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);

  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
[hidden] { display: none !important; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure, blockquote { margin: 0; }
address { font-style: normal; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 200; background: var(--yellow); color: #000; padding: 8px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { left: 8px; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }
[data-fallback].is-empty { display: none; }

/* ---------- Tipografie ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); border-radius: 2px; }
.h2 { margin-top: 1rem; font: 900 clamp(2.7rem, 6.4vw, 5rem)/.96 var(--display); text-transform: uppercase; letter-spacing: -.005em; }
.lede { margin-top: 1.25rem; max-width: 34rem; color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.125rem); }
.accent { color: var(--red); }

/* ---------- Butoane ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: var(--h); padding: 0 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: .95rem; font-weight: 650; letter-spacing: .01em; white-space: nowrap;
  cursor: pointer; transition: transform .2s var(--ease), background-color .2s, border-color .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:active { transform: scale(.98); }
.btn--sm { --h: 42px; padding: 0 18px; font-size: .88rem; }
.btn--lg { --h: 58px; padding: 0 28px; font-size: 1rem; }
.btn--red { background: var(--red); color: #fff; box-shadow: 0 14px 34px -14px rgba(220, 34, 41, .75); }
.btn--glovo { background: var(--yellow); color: #1a1208; box-shadow: 0 14px 34px -16px rgba(255, 194, 26, .5); }
.btn--ghost { background: rgba(246, 239, 230, .05); border-color: var(--line-2); color: var(--text); }
.btn__sub { padding-left: .75rem; margin-left: .15rem; border-left: 1px solid rgba(255, 255, 255, .35); font-weight: 500; }
@media (hover: hover) {
  .btn--red:hover { background: var(--red-hi); transform: translateY(-2px); }
  .btn--glovo:hover { background: #ffcf45; transform: translateY(-2px); }
  .btn--ghost:hover { border-color: rgba(246, 239, 230, .4); transform: translateY(-2px); }
}

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.header.is-scrolled { background: rgba(14, 12, 10, .95); border-color: var(--line); }
.header__inner { display: flex; align-items: center; gap: 2rem; height: 72px; }
.brand { flex: none; }
.brand img { height: 48px; width: auto; }
.nav { display: flex; gap: 2rem; margin-left: auto; }
.nav a { position: relative; font-size: .92rem; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-bottom: clamp(40px, 7vw, 80px); background: radial-gradient(60% 50% at 75% 45%, rgba(220, 34, 41, .14), transparent 70%); }
.hero__grid { display: grid; }
.hero__media { position: relative; order: -1; margin: 0 calc(var(--gutter) * -1); }
.hero__media img { width: 100%; aspect-ratio: 1; object-fit: cover; animation: settle 1.2s var(--ease) both;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent); mask-image: radial-gradient(closest-side, #000 72%, transparent); }
.hero__tag {
  position: absolute; right: var(--gutter); bottom: 22%;
  display: grid; gap: 2px; padding: 10px 14px; border-radius: 12px;
  background: rgba(14, 12, 10, .72); border: 1px solid var(--line-2);
  font-size: .78rem; color: var(--muted); animation: rise .7s .5s var(--ease) both;
}
.hero__tag b { font: 900 1.1rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--text); }
.hero__content { position: relative; z-index: 2; margin-top: -64px; }
.hero__title { margin-top: 1rem; font: 900 clamp(3.3rem, 6.4vw, 6.6rem)/.94 var(--display); text-transform: uppercase; letter-spacing: -.01em; text-wrap: balance; }
.hero__lede { margin-top: 1.25rem; max-width: 31rem; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: rgba(246, 239, 230, .82); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
.fact { display: inline-flex; align-items: center; gap: .5rem; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(246, 239, 230, .04); font-size: .84rem; color: rgba(246, 239, 230, .88); }
.fact svg { width: 15px; height: 15px; color: var(--yellow); }
.fact b { color: var(--text); }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #3ecf6e; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #3ecf6e; animation: ping 2.4s var(--ease) infinite; }
.fact--status.is-closed .dot { background: var(--dim); }
.fact--status.is-closed .dot::after { display: none; }
.hero__in { animation: rise .6s var(--ease) both; animation-delay: calc(var(--d) * 60ms + 60ms); }

@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 80%, 100% { transform: scale(2.6); opacity: 0; } }

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); padding: 18px 0; }
.ticker__track { display: flex; align-items: center; gap: 2.2rem; width: max-content; animation: marquee 48s linear infinite; will-change: transform; }
.ticker.is-paused .ticker__track { animation-play-state: paused; }
.ticker span { font: 900 clamp(1.3rem, 2.4vw, 1.8rem)/1 var(--display); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.ticker i { font-style: normal; font-size: .8rem; color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secțiuni ---------- */
.section { padding: var(--section) 0; }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.25rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section__aside { color: var(--muted); max-width: 24rem; font-size: .92rem; }

/* ---------- Meniu: carduri ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.card__img { aspect-ratio: 1; overflow: hidden; background: #000; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card__body { display: flex; flex-direction: column; gap: .35rem; padding: .9rem 1rem 1.1rem; flex: 1; }
.card__name { font: 900 clamp(1.15rem, 2vw, 1.45rem)/1.05 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.card__desc { color: var(--muted); font-size: .84rem; line-height: 1.45; }
.card__price { margin-top: auto; padding-top: .4rem; font: 900 1.35rem/1 var(--display); color: var(--yellow); }
.card__price small { font: 500 .78rem var(--body); color: var(--muted); margin-left: .2rem; }
@media (hover: hover) { .card:hover .card__img img { transform: scale(1.05); } }

/* ---------- Meniu complet ---------- */
.menu__panel { margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1.25rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-2); }
.menu__title { margin-bottom: 1.25rem; font: 900 clamp(1.6rem, 3vw, 2.2rem)/1 var(--display); text-transform: uppercase; }
.tabs { display: flex; gap: .4rem; padding: 5px; margin-bottom: 1rem; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 1 0 auto; min-height: 42px; padding: 0 16px; border: 0; border-radius: 999px; background: none; font-size: .88rem; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; white-space: nowrap; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--red); color: #fff; }
.items { animation: rise .4s var(--ease) both; }
.items__note { margin: .25rem 0 .5rem; font-size: .86rem; color: var(--yellow); }
.items ul { display: grid; column-gap: 3rem; }
.item { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.item__row { display: flex; align-items: baseline; gap: .8rem; }
.item__name { font: 900 clamp(1.15rem, 2vw, 1.35rem)/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.item__tag { margin-left: .5rem; vertical-align: 2px; }
.item__lead { flex: 1; min-width: 1rem; border-bottom: 1px dotted var(--line-2); transform: translateY(-5px); }
.item__price { font: 900 1.3rem/1 var(--display); white-space: nowrap; }
.item__price small { font: 500 .78rem var(--body); color: var(--muted); margin-left: .2rem; }
.item__desc { margin-top: .3rem; color: var(--muted); font-size: .88rem; }
.tag { display: inline-block; padding: 4px 9px; border-radius: 999px; background: var(--yellow); color: #1a1208; font: 700 .64rem/1.2 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.menu__ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }
.menu__ctas .btn { flex: 1 1 220px; }

/* ---------- Cum facem ---------- */
.craft { background: var(--bg-2); }
.craft__grid { display: grid; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.craft__media { aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; }
.craft__media img { width: 100%; height: 100%; object-fit: cover; }
.steps { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 4rem 1fr; gap: 1rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.step__n { font: 900 1.9rem/1 var(--display); color: var(--red); }
.step h3 { font: 900 1.45rem/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.step p { margin-top: .35rem; color: var(--muted); font-size: .96rem; }

/* ---------- Recenzii ---------- */
.reviews__top { display: grid; gap: 2rem; align-items: center; margin-bottom: 2.5rem; }
.score { display: flex; align-items: center; gap: 1.5rem; }
.score__num { font: 900 clamp(6rem, 15vw, 10rem)/.8 var(--display); color: var(--red); letter-spacing: -.02em; }
.score__label { display: grid; gap: .3rem; font-size: 1rem; line-height: 1.35; }
.score__label em { font-style: normal; color: var(--muted); font-size: .9rem; }
.stars { --pct: 90%; font-size: 1.3rem; letter-spacing: .1em; width: max-content; background: linear-gradient(90deg, var(--yellow) var(--pct), rgba(246, 239, 230, .22) var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.reviews__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 12px; }
.review { display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.review__stars { color: var(--yellow); letter-spacing: .15em; }
.review__text { font-size: 1.05rem; line-height: 1.6; }
.review__who { margin-top: auto; font-size: .88rem; color: var(--muted); }
.review__who b { color: var(--text); font-weight: 600; }
.review--cta { justify-content: center; background: linear-gradient(160deg, rgba(220, 34, 41, .18), transparent 60%), var(--surface); transition: border-color .25s, transform .25s var(--ease); }
.review__big { font: 900 4.5rem/.85 var(--display); }
.review__more { display: inline-flex; gap: .5rem; font-weight: 650; border-bottom: 1px solid var(--line-2); padding-bottom: 4px; width: max-content; }
@media (hover: hover) { .review--cta:hover { transform: translateY(-3px); border-color: var(--line-2); } }

/* ---------- Comandă ---------- */
.order__box {
  position: relative; overflow: hidden;
  display: grid; gap: 2rem; align-items: center;
  padding: clamp(1.75rem, 5vw, 4rem);
  border: 1px solid var(--line); border-radius: calc(var(--radius-lg) + 6px);
  background: radial-gradient(80% 120% at 100% 0%, rgba(220, 34, 41, .22), transparent 60%), radial-gradient(60% 90% at 0% 100%, rgba(255, 194, 26, .07), transparent 60%), var(--surface);
}
.order__mascot { position: absolute; right: -8px; top: -14px; width: clamp(110px, 16vw, 170px); transform: rotate(8deg); pointer-events: none; }
.order__head { position: relative; }
.order__options { position: relative; display: grid; gap: 10px; }
.opt { display: flex; align-items: center; gap: 1rem; min-height: 74px; padding: 1rem 1.25rem; border: 1px solid var(--line-2); border-radius: var(--radius); background: rgba(14, 12, 10, .6); transition: transform .2s var(--ease), border-color .2s, background-color .2s; }
.opt > svg { width: 22px; height: 22px; flex: none; color: var(--yellow); }
.opt b { display: block; font-size: 1.02rem; }
.opt small { display: block; color: var(--muted); font-size: .86rem; }
.opt__arrow { margin-left: auto; font-size: 1.2rem; }
.opt--primary { background: var(--red); border-color: var(--red); }
.opt--primary > svg { color: #fff; }
.opt--primary small { color: rgba(255, 255, 255, .88); }
@media (hover: hover) {
  .opt:hover { transform: translateY(-2px); border-color: rgba(246, 239, 230, .4); }
  .opt--primary:hover { background: var(--red-hi); border-color: var(--red-hi); }
}

/* ---------- Locație ---------- */
.location__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.addr { margin-top: 1.5rem; font-size: 1.2rem; line-height: 1.5; }
.hours { margin-top: 1.75rem; max-width: 26rem; }
.hours__none { color: var(--muted); }
.hours__none a { color: var(--text); border-bottom: 1px solid var(--line-2); }
.hours__row { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; color: var(--muted); }
.hours__row.is-today { color: var(--text); font-weight: 600; }
.hours__row.is-today span:first-child::after { content: " · azi"; color: var(--red); font-weight: 500; }
.location__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.map { position: relative; aspect-ratio: 3 / 4; max-height: 640px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.map__photo { width: 100%; height: 100%; object-fit: cover; }
.map__btn { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); background: rgba(14, 12, 10, .8); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(.9) hue-rotate(180deg) saturate(.55) brightness(.95) contrast(.9); }

/* ---------- Footer ---------- */
.footer { padding: clamp(56px, 8vw, 88px) 0 calc(28px + var(--dock-h, 0px)); border-top: 1px solid var(--line); background: var(--bg-2); }
.footer__grid { display: grid; gap: 2.5rem; }
.footer__brand img { height: 72px; width: auto; }
.footer__brand p { margin-top: 1rem; color: var(--muted); }
.footer__h { margin-bottom: .75rem; font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--dim); }
.footer p { color: var(--muted); line-height: 1.8; }
.footer a:hover { color: var(--text); }
.socials { display: flex; gap: .6rem; }
.socials a { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--muted); transition: color .2s, border-color .2s, background-color .2s; }
.socials a:hover { color: #fff; border-color: var(--red); background: var(--red); }
.socials svg { width: 19px; height: 19px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .84rem; color: var(--dim); }
.footer__bottom a { color: var(--muted); border-bottom: 1px solid var(--line-2); }

/* ---------- Bară acțiuni mobil ---------- */
.dock {
  position: fixed; inset: auto 0 0; z-index: 60;
  display: grid; grid-template-columns: 1.25fr 1.1fr 1fr; gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(14, 12, 10, .97); border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.dock.is-visible { transform: none; }
.dock__btn { display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 50px; border-radius: 12px; border: 1px solid var(--line-2); font-size: .9rem; font-weight: 650; }
.dock__btn svg { width: 18px; height: 18px; }
.dock__btn--call { background: var(--red); border-color: var(--red); color: #fff; }
.dock__btn--glovo { background: var(--yellow); border-color: var(--yellow); color: #1a1208; }

/* ---------- Reveal la scroll ---------- */
.reveal-on .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
.reveal-on .reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }

/* ---------- Responsive ---------- */
@media (max-width: 859px) {
  :root { --dock-h: 72px; }
  .nav { display: none; }
  .header__call { margin-left: auto; padding: 0; width: 44px; }
  .header__call span { display: none; }
  .brand img { height: 40px; }
  .hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(14, 12, 10, .55), transparent 22%, transparent 70%, var(--bg)); pointer-events: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
}
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards .card:nth-child(n+7) { display: none; }
}
@media (min-width: 860px) {
  .dock { display: none; }
  .hero { display: grid; align-items: center; min-height: min(100vh, 900px); min-height: min(100svh, 900px); padding: 96px 0 56px; }
  .hero__grid { grid-template-columns: 1.05fr .95fr; gap: clamp(1rem, 3vw, 3rem); align-items: center; }
  .hero__media { order: 0; margin: 0 calc(var(--gutter) * -1) 0 0; }
  .hero__tag { right: 12%; bottom: 14%; }
  .hero__content { margin-top: 0; }
  .cards { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .cards .card:nth-child(n+7) { display: flex; }
  .items ul { grid-template-columns: 1fr 1fr; }
  .reviews__top { grid-template-columns: auto 1fr; gap: 5rem; }
  .order__box { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .footer__grid { grid-template-columns: 2fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .craft__grid { grid-template-columns: 1fr 1fr; }
  .location__grid { grid-template-columns: 1.1fr 1fr; }
  .map { justify-self: end; width: min(100%, 460px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .ticker__track { animation: none; }
}
