/* Atelier Tim Pizza: jar, fum, făină și Bruno.
   Mișcarea vine din motion.css/motion.js (Velvet), neschimbate. Aici doar
   culoarea de accent pentru --gold și cele două lucruri proprii: flacăra care
   respiră și cifra din coș. */

:root {
  --gold: #FFB020;
  --gold-soft: #FFD27A;

  --ember: #D9381E;        /* Jar */
  --ember-deep: #B42D16;   /* text roșu pe făină, 5,5:1 */
  --coal: #7A1A0C;         /* gura cuptorului, contact */
  --soot: #3A1206;         /* text pe flacără */
  --smoke: #2E4A7D;        /* Fum */
  --smoke-deep: #223A66;
  --flour: #FFF1DC;        /* Făină */
  --flame: #FFB020;        /* Flacără */
  --basil: #3E8E41;        /* Busuioc, doar decor */

  --gutter: 20px;
  --head-h: 64px;
  --bar-h: 64px;
  --radius: 20px;

  --f-head: "Bricolage Grotesque", "Arial Narrow", sans-serif;
  --f-text: "Public Sans", system-ui, sans-serif;
}
@media (min-width: 768px) { :root { --gutter: clamp(28px, 5vw, 72px); --head-h: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ember);
  color: #fff;
  font: 400 17px/1.6 var(--f-text);
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--f-head);
  font-stretch: 80%;
  font-weight: 800;
  font-variation-settings: "wdth" 80;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 3px solid var(--flame); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--flour); color: var(--soot); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

/* ---- banda demo ---- */
.demo-band {
  background: var(--coal);
  color: #FFD9CC;
  font-size: 13px;
  line-height: 1.4;
  padding: 7px var(--gutter);
  text-align: center;
}

/* ---- butoane ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 13px 22px;
  border-radius: 16px; border: 2px solid transparent;
  font: 700 17px/1.15 var(--f-text);
  text-decoration: none; cursor: pointer;
  transition: transform var(--d-hover) var(--ease-state), background-color var(--d-hover) var(--ease-state), color var(--d-hover) var(--ease-state);
}
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-flame { background: var(--flame); color: var(--soot); }
.btn-flame:hover { background: #FFC14D; }
.btn-flour { background: var(--flour); color: var(--ember-deep); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }

/* ---- antet ---- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  height: var(--head-h);
  display: flex; align-items: center; gap: 16px;
  padding: 0 var(--gutter);
  background: var(--ember);
}
.site-head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: color-mix(in srgb, var(--flame) 70%, transparent);
  opacity: 0; transition: opacity var(--d-reveal) var(--ease-enter);
}
.site-head.is-condensed::after { opacity: 1; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; margin-right: auto; }
.brand-name { font: 800 23px/1 var(--f-head); font-variation-settings: "wdth" 80; letter-spacing: -.02em; color: var(--flour); }
.brand-sub { font-size: 13px; font-weight: 600; margin-top: 4px; color: #fff; }
.head-nav { display: none; gap: 28px; font-weight: 600; font-size: 16px; }
.head-nav a { text-decoration: none; }
.head-call { min-height: 44px; padding: 9px 14px; font-size: 15px; border-radius: 14px; }
.head-call svg { width: 17px; height: 17px; }
@media (min-width: 900px) {
  .head-nav { display: flex; }
  .brand-name { font-size: 27px; }
  .head-call { min-height: 50px; padding: 12px 20px; font-size: 16px; }
}

.link-wipe { position: relative; text-decoration: none; display: inline-block; padding-bottom: 2px; }
.link-wipe::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left center;
  transition: transform var(--d-hover) var(--ease-state);
}
.link-wipe:hover::after, .link-wipe:focus-visible::after { transform: scaleX(1); }

/* ---- hero: gura cuptorului ---- */
.hero {
  position: relative;
  display: grid; gap: 34px;
  padding: 18px var(--gutter) 56px;
  overflow: hidden;
  isolation: isolate;
}
.hero h1 {
  font-size: clamp(48px, 13vw, 112px);
  line-height: .95;
  letter-spacing: -.035em;
  color: var(--flour);
  max-width: 11ch;
}
.hero-sub { margin: 20px 0 26px; max-width: 40ch; font-size: 17px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn { flex: 1 1 220px; }
.hero-facts { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14.5px; font-weight: 500; }
.hero-facts strong { font-weight: 800; }

.oven { position: relative; margin: 0; width: min(86%, 440px); justify-self: center; }
.oven-mouth {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 12px solid #9C2A14;
  border-radius: 50% 50% 26px 26px / 40% 40% 26px 26px;
  overflow: hidden;
  background: var(--coal);
}
.oven-mouth > img { width: 100%; height: 100%; object-fit: cover; object-position: 42% 40%; }
.oven figcaption { margin-top: 12px; font-size: 13.5px; text-align: center; color: #fff; }

/* Momentul principal: lumina din gura cuptorului respiră.
   Doar opacitate și o deplasare de câțiva pixeli, curbă simetrică, fără scale. */
.flame {
  position: absolute; z-index: 2; pointer-events: none;
  inset: 0;
  background:
    radial-gradient(ellipse 40% 22% at 46% 38%, rgba(255, 236, 160, .95), rgba(255, 176, 32, .55) 45%, transparent 75%),
    radial-gradient(ellipse 80% 40% at 50% 48%, rgba(255, 110, 20, .55), transparent 70%);
  mix-blend-mode: screen;
  opacity: .2;
  animation: breathe 4.8s ease-in-out infinite alternate;
}
.ember-glow {
  position: absolute; z-index: -1; pointer-events: none;
  left: -20%; right: -20%; bottom: -30%; height: 75%;
  background: radial-gradient(ellipse 50% 50% at 50% 60%, rgba(255, 176, 32, .55), rgba(255, 120, 30, .2) 45%, transparent 72%);
  opacity: .35;
  animation: breathe 4.8s ease-in-out infinite alternate;
  animation-delay: -1.6s;
}
@keyframes breathe {
  0%   { opacity: .18; transform: translateY(6px); }
  55%  { opacity: .72; transform: translateY(-4px); }
  100% { opacity: .42; transform: translateY(0); }
}

/* Pe telefon cuptorul urcă imediat sub titlu, ca flacăra să se vadă fără scroll.
   Butoanele de comandă sunt oricum în bara fixă de jos. */
@media (max-width: 899px) {
  .hero { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { display: contents; }
  .hero h1 { order: 1; }
  .oven { order: 2; width: min(66%, 300px); margin-top: 22px; align-self: center; }
  .oven figcaption { display: none; }
  .hero-sub, .hero-cta, .hero-facts { order: 3; }
  .hero-sub { margin-top: 26px; }
}

@media (min-width: 900px) {
  .hero { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 56px; padding: 36px var(--gutter) 96px; }
  .hero-sub { font-size: 20px; }
  .hero-cta .btn { flex: 0 0 auto; }
  .oven { width: 100%; max-width: min(460px, calc((100vh - 170px) * .75)); justify-self: end; }
}

/* ---- banda cu nume ---- */
.names { background: var(--smoke); color: var(--flame); padding: 16px 0; }
.names .marquee-track { align-items: center; gap: 1.4rem; padding-left: 1.4rem; }
.names span { font: 800 26px/1 var(--f-head); font-variation-settings: "wdth" 80; letter-spacing: -.01em; white-space: nowrap; }
.names i { font-style: normal; color: var(--flour); font-size: 15px; }

/* ---- titluri de secțiune ---- */
.sec-head { max-width: 760px; margin-bottom: 30px; }
.sec-head h2, .bruno h2, .contact h2 {
  font-size: clamp(38px, 9.5vw, 76px);
  line-height: 1;
  letter-spacing: -.03em;
}
.sec-head p { margin-top: 14px; max-width: 54ch; }

/* ---- meniu ---- */
.menu { padding: 64px var(--gutter) 72px; }
.menu h2 { color: var(--flour); }
.menu-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
@media (min-width: 720px) { .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .menu-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; } }
.js .menu-grid.is-collapsed > .card:nth-child(n+9) { display: none; }

.card {
  background: var(--flour); color: #2B2117;
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); transition: transform var(--d-hover) var(--ease-state); }
.card.is-in:hover { transform: translateY(-3px); }
.card-photo { aspect-ratio: 1; background: var(--coal); }
.card-photo img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 12px 12px 14px; display: flex; flex-direction: column; flex: 1; }
.card .card-title { font-size: 20px; line-height: 1.05; letter-spacing: -.015em; color: var(--smoke-deep); }
.card-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: 6px; }
.price { font-weight: 800; color: var(--ember-deep); font-size: 16.5px; }
.weight { font-size: 13px; color: #6B5A48; }
.card-ing { font-size: 13px; line-height: 1.45; color: #4A3B2E; margin: 8px 0 12px; }
.card-act { margin-top: auto; }
.add, .step-btn {
  font: 700 15px/1 var(--f-text); cursor: pointer;
  border: 0; border-radius: 12px; min-height: 44px;
  background: var(--smoke); color: #fff;
  transition: background-color var(--d-hover) var(--ease-state);
}
.add { width: 100%; }
.add:hover, .step-btn:hover { background: var(--smoke-deep); }
.stepper { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 6px; }
.stepper output { text-align: center; font-weight: 800; font-size: 17px; color: var(--smoke-deep); }
.step-btn { font-size: 20px; }
@media (min-width: 720px) {
  .card-body { padding: 16px 16px 18px; }
  .card .card-title { font-size: 23px; }
  .card-ing { font-size: 14px; }
}

.menu-more { margin: 22px auto 0; display: flex; color: #fff; width: 100%; max-width: 420px; }
.menu-more[hidden] { display: none; }
.menu-extra { margin-top: 26px; font-size: 14.5px; max-width: 70ch; }

/* ---- Bruno ---- */
.bruno {
  background: var(--flour); color: var(--smoke);
  padding: 72px var(--gutter);
  display: grid; gap: 36px; align-items: center;
}
.bruno-disc {
  margin: 0; justify-self: center;
  width: min(78vw, 400px); aspect-ratio: 1; border-radius: 50%;
  background: var(--flame);
  overflow: hidden;
}
.bruno-disc picture, .bruno-disc img { display: block; width: 100%; height: 100%; }
.bruno-disc img { object-fit: cover; object-position: 50% 35%; }
.bruno h2 { max-width: 13ch; }
.bruno-copy > p { margin-top: 18px; max-width: 46ch; color: #24395F; }
.bruno-quote { margin: 22px 0 0; padding: 0 0 0 18px; border-left: 4px solid var(--flame); }
.bruno-quote p { font: 700 21px/1.35 var(--f-text); color: var(--smoke-deep); margin: 0; }
.bruno-quote footer { margin-top: 8px; font-size: 14px; color: #4A5B7A; }
.bruno .bruno-note { font-weight: 700; color: var(--ember-deep); }
@media (min-width: 900px) {
  .bruno { grid-template-columns: .85fr 1.15fr; gap: 64px; padding: 100px var(--gutter); }
  .bruno-disc { width: 100%; max-width: 440px; }
}

/* ---- livrare ---- */
.delivery { background: var(--smoke); color: #fff; padding: 72px var(--gutter); }
.delivery h2 { color: var(--flame); }
.delivery-wrap { display: grid; gap: 34px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { background: rgba(255, 255, 255, .08); border-radius: 22px; padding: 22px 22px 22px 80px; position: relative; }
.step-n {
  position: absolute; left: 20px; top: 20px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--flame); color: var(--soot);
  display: grid; place-items: center;
  font: 800 22px/1 var(--f-head);
}
.steps h3 { font-size: 25px; letter-spacing: -.015em; line-height: 1.1; margin-bottom: 6px; }
.steps a { color: #fff; font-weight: 700; }
.boxes { margin: 0; }
.boxes img { border-radius: 24px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.boxes figcaption { margin-top: 10px; font-size: 13.5px; color: #D6E0F2; }
.no-tables { margin-top: 30px; padding: 18px 20px; border: 2px solid var(--flame); border-radius: 18px; max-width: 760px; }
.no-tables strong { color: var(--flame); }
@media (min-width: 900px) {
  .delivery { padding: 100px var(--gutter); }
  .delivery-wrap { grid-template-columns: 1.15fr .85fr; align-items: start; gap: 48px; }
  .boxes { max-width: 420px; justify-self: end; }
}

/* ---- recenzii ---- */
.reviews { background: var(--flame); color: var(--soot); padding: 72px var(--gutter); }
.reviews .sec-head p { color: var(--soot); }
.quotes { display: grid; gap: 14px; }
.quote { margin: 0; background: var(--flour); border-radius: 22px; padding: 24px 22px; }
.quote p { font-size: 17px; line-height: 1.5; color: #2B2117; }
.quote-big p { font: 700 20px/1.4 var(--f-text); color: var(--soot); }
.quote footer { margin-top: 14px; font-size: 14px; color: #6B5A48; }
.quote footer b { color: var(--ember-deep); }
@media (min-width: 900px) {
  .reviews { padding: 100px var(--gutter); }
  .quotes { grid-template-columns: 1fr 1.4fr 1fr; align-items: start; gap: 20px; }
  .quote-big { margin-top: -24px; }
}

/* ---- contact ---- */
.contact { background: var(--coal); color: #fff; padding: 72px var(--gutter); display: grid; gap: 36px; }
.contact h2 { color: var(--flour); max-width: 14ch; }
.facts { margin: 26px 0 0; display: grid; gap: 14px; }
.facts div { border-top: 1px solid rgba(255, 241, 220, .25); padding-top: 12px; }
.facts dt { font-size: 14px; color: var(--flame); font-weight: 700; }
.facts dd { margin: 4px 0 0; font-size: 18px; }
.facts a { font-weight: 700; }
.contact-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.contact-cta .btn { flex: 1 1 220px; }
.fb { margin-top: 20px; font-size: 15px; }
@media (min-width: 900px) {
  .contact { grid-template-columns: 1fr 1fr; gap: 56px; padding: 100px var(--gutter); }
  .contact-cta .btn { flex: 0 0 auto; }
}


/* ---- bara fixă de comandă ---- */
.order-bar {
  position: fixed; z-index: 50; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr auto; gap: 8px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: var(--coal);
  box-shadow: 0 -1px 0 rgba(255, 176, 32, .35);
}
.order-bar a {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; border-radius: 14px; text-decoration: none;
  font: 700 16px/1 var(--f-text);
}
.order-bar svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.bar-wa { background: var(--flame); color: var(--soot); padding: 0 14px; }
.bar-call { background: var(--flour); color: var(--ember-deep); padding: 0 20px; }
@media (min-width: 768px) {
  .order-bar {
    left: auto; right: 24px; bottom: 24px;
    padding: 8px; border-radius: 20px;
    box-shadow: 0 10px 30px rgba(58, 18, 6, .35);
  }
  .bar-wa { padding: 0 20px; }
  /* pe desktop hero-ul are deja butoanele; bara apare după el */
  .js .order-bar {
    opacity: 0; transform: translateY(16px); pointer-events: none;
    transition: opacity var(--d-reveal) var(--ease-enter), transform var(--d-reveal) var(--ease-enter);
  }
  .js .order-bar.is-shown { opacity: 1; transform: none; pointer-events: auto; }
}

/* cifra din coș: se schimbă pe --ease-enter, fără să sară sau să crească */
.badge {
  display: inline-grid; min-width: 26px; height: 26px; padding: 0 7px;
  border-radius: 13px; background: var(--ember); color: #fff;
  font: 800 14px/26px var(--f-text); text-align: center;
  overflow: hidden; position: relative;
}
.badge[hidden] { display: none; }
.badge-n { grid-area: 1 / 1; transition: transform 520ms var(--ease-enter), opacity 520ms var(--ease-enter); }
.badge-n.is-leaving { transform: translateY(-100%); opacity: 0; }
.badge-n.is-coming { transform: translateY(100%); opacity: 0; transition: none; }
.badge::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: inset 0 0 0 2px var(--flour); opacity: 0;
}
.badge.is-pulse::after { animation: ring 900ms var(--ease-enter); }
@keyframes ring { 0% { opacity: .9; } 100% { opacity: 0; } }

/* ---- coșul ---- */
.cart {
  border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 520px;
  border-radius: 24px 24px 0 0; background: var(--flour); color: #2B2117;
  max-height: 88vh;
}
.cart::backdrop { background: rgba(58, 18, 6, .55); }
.cart[open] { animation: sheet 520ms var(--ease-enter); }
@keyframes sheet { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 768px) { .cart { margin: auto; border-radius: 24px; } }
.cart-in { padding: 22px 20px calc(22px + env(safe-area-inset-bottom)); }
.cart-head { display: flex; align-items: center; justify-content: space-between; }
.cart-head h2 { font-size: 34px; color: var(--smoke-deep); letter-spacing: -.02em; }
.cart-close { border: 0; background: transparent; font-size: 34px; line-height: 1; cursor: pointer; color: var(--smoke-deep); width: 44px; height: 44px; }
.cart-list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.cart-list li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid #EADBC4; }
.cart-list .ci-name { font-weight: 700; }
.cart-list .ci-price { font-size: 14px; color: #6B5A48; }
.cart-list .stepper { grid-row: span 2; grid-template-columns: 40px 32px 40px; }
.cart-list .step-btn { min-height: 40px; }
.cart-mode { border: 0; padding: 0; margin: 6px 0 14px; display: grid; gap: 8px; }
.cart-mode legend { font-weight: 700; margin-bottom: 6px; }
.cart-mode label { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.cart-mode input { width: 20px; height: 20px; accent-color: var(--smoke); }
.cart-total { font-size: 18px; margin-bottom: 14px; }
.cart-total small { display: block; font-size: 13.5px; color: #6B5A48; }
.cart-send { width: 100%; }
.cart-hint { margin-top: 10px; font-size: 13px; color: #6B5A48; }

@media (prefers-reduced-motion: reduce) {
  .flame, .ember-glow { animation: none; opacity: .4; transform: none; }
  .badge-n, .badge-n.is-leaving, .badge-n.is-coming { transition: none; transform: none; opacity: 1; }
  .badge.is-pulse::after { animation: none; }
  .cart[open] { animation: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* =====================================================================
   Lansare (22.11.2026): subsol complet, harta la click, pagini noi și
   finisajele de pe calculator. Pe telefon pagina principală rămâne la fel.
   ===================================================================== */

.btn-on-ember { color: #fff; border-color: #fff; }

/* ---- prețuri cu cifre de aceeași lățime ---- */
.price, .cart-total, .ci-price, .stepper output { font-variant-numeric: tabular-nums; }

/* ---- pizze fără poză: card doar cu text, fără pătrat de umplutură ---- */
.card-text { align-self: start; }
.card-text .card-body { padding-top: 18px; }

.card-alerg { font-size: 13px; line-height: 1.45; color: #4A3B2E; margin: -4px 0 12px; }
.allergy-note { margin-top: 10px; font-weight: 700; color: #fff; }

/* ---- coșul: gol / plin, în dialog și în panou ---- */
.cart-empty { margin: 14px 0 6px; color: #4A3B2E; }
.cart-panel { display: none; }
[data-cart-filled][hidden], .cart-empty[hidden] { display: none; }

/* ---- harta Google, încărcată doar la click ---- */
.map { border-radius: 24px; overflow: hidden; min-height: 320px; background: #5C1409; display: grid; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.map-gate { align-self: center; padding: 28px 24px; max-width: 46ch; }
.map-gate p { font-size: 15px; color: #F6E4D6; }
.map-gate .map-title { font: 800 26px/1.1 var(--f-head); font-stretch: 80%; color: var(--flour); margin-bottom: 10px; }
.map-gate a:not(.btn) { color: var(--flame); }
.map-load { margin-top: 18px; }

/* ---- subsolul ---- */
.site-foot { background: var(--soot); color: #F2DCCB; padding: 48px var(--gutter) calc(40px + var(--bar-h) + env(safe-area-inset-bottom)); font-size: 15px; }
.site-foot a { color: var(--flame); }
.foot-grid { display: grid; gap: 32px; }
.foot-about p + p { margin-top: 10px; }
.foot-name { font: 800 26px/1 var(--f-head); font-stretch: 80%; color: var(--flour); }
.foot-links { display: grid; gap: 4px; align-content: start; }
.foot-links a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.foot-anpc img { width: 250px; height: 50px; border-radius: 8px; }
.foot-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(242, 220, 203, .22); display: grid; gap: 6px; font-size: 14px; color: #E5CDBB; }
.foot-bottom a { color: #E5CDBB; }
@media (min-width: 768px) {
  .foot-grid { grid-template-columns: 1.3fr 1fr auto; gap: 48px; }
  .site-foot { padding-bottom: 110px; }
}

/* ---- pagini noi ---- */
.menu-page { padding-top: 48px; }
.menu-page h1 { color: var(--flour); font-size: clamp(42px, 11vw, 84px); line-height: 1; letter-spacing: -.03em; }
.delivery-page { padding-top: 56px; }
.delivery-page h1 { color: var(--flame); font-size: clamp(40px, 10vw, 76px); line-height: 1; letter-spacing: -.03em; max-width: 16ch; }
.h-small { font-size: 28px; color: var(--flour); margin: 8px 0 4px; }
.page-cols { display: grid; gap: 28px; margin-top: 8px; }
.lead { margin-top: 16px; font-size: 18px; max-width: 46ch; }
.contact-map { padding-top: 0; display: block; }
.delivery-page .contact-cta { margin-top: 34px; }
@media (min-width: 900px) { .page-cols { grid-template-columns: 1fr 1fr; gap: 56px; } }

.page-legal { background: var(--flour); }
.legal { color: #2B2117; padding: 56px var(--gutter) 80px; max-width: calc(68ch + 2 * var(--gutter)); margin: 0 auto; }
.legal h1 { color: var(--ember-deep); font-size: clamp(38px, 9vw, 64px); line-height: 1.02; letter-spacing: -.025em; }
.legal h2 { color: var(--smoke-deep); font-size: 26px; line-height: 1.15; margin: 40px 0 10px; scroll-margin-top: calc(var(--head-h) + 16px); }
.legal p, .legal li { max-width: 65ch; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 1.2em; margin: 10px 0 0; }
.legal li + li { margin-top: 6px; }
.legal a { color: var(--ember-deep); font-weight: 600; }
.legal-date { margin-top: 10px; color: #5A4A3B; font-size: 15px; }
.legal-toc { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 4px 20px; }
.legal-toc a { display: inline-flex; align-items: center; min-height: 40px; }

.not-found { padding: 96px var(--gutter) 120px; min-height: 60vh; }
.not-found h1 { color: var(--flour); font-size: clamp(44px, 12vw, 96px); line-height: .98; letter-spacing: -.035em; max-width: 12ch; }
.not-found p { margin: 18px 0 28px; font-size: 19px; max-width: 40ch; }

/* =====================================================================
   Calculator, de la 1024px
   ===================================================================== */
@media (min-width: 1024px) {
  /* mai mult aer între secțiuni, textul la ~65 de caractere */
  .menu, .bruno, .delivery, .reviews, .contact { padding-top: 120px; padding-bottom: 120px; }
  .contact-map { padding-top: 0; }
  .sec-head { margin-bottom: 44px; }
  .sec-head p, .bruno-copy > p, .contact-copy p { max-width: 62ch; }

  /* meniul: 3 coloane, poze 4:3, coșul lipit în dreapta */
  .menu-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
  .menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .card-photo { aspect-ratio: 4 / 3; }
  .cart-panel {
    display: block;
    position: sticky; top: calc(var(--head-h) + 20px);
    max-height: calc(100vh - var(--head-h) - 40px); overflow: auto;
    background: var(--flour); color: #2B2117;
    border-radius: var(--radius);
  }
  .cart-panel .cart-in { padding: 24px 22px; }
  .menu .cart-panel-title { font-size: 30px; color: var(--smoke-deep); letter-spacing: -.02em; line-height: 1; }
  .cart-panel .cart-list { margin: 14px 0; }

  /* Bruno: citatul mare, editorial */
  .bruno { grid-template-columns: .8fr 1.2fr; gap: 80px; }
  .bruno-quote { margin-top: 32px; padding-left: 28px; border-left-width: 5px; }
  .bruno-quote p { font: 800 clamp(30px, 2.9vw, 42px)/1.12 var(--f-head); font-stretch: 85%; letter-spacing: -.015em; color: var(--smoke-deep); max-width: 22ch; }
  .bruno-quote footer { font-size: 16px; margin-top: 14px; }

  /* recenziile: citate mari, tipografice */
  .quotes { grid-template-columns: 1fr; gap: 0; }
  .quote { background: transparent; border-radius: 0; padding: 36px 0; border-top: 2px solid rgba(58, 18, 6, .25); display: grid; grid-template-columns: minmax(0, 1fr) 200px; gap: 40px; align-items: baseline; }
  .quote:last-child { border-bottom: 2px solid rgba(58, 18, 6, .25); }
  .quote p, .quote-big p { font: 800 clamp(26px, 2.4vw, 36px)/1.2 var(--f-head); font-stretch: 85%; letter-spacing: -.01em; color: var(--soot); max-width: 34ch; }
  .quote-big { margin-top: 0; }
  .quote footer { margin: 0; font-size: 16px; color: var(--soot); text-align: right; }
  .quote footer b { color: var(--soot); }

  .contact { gap: 72px; }
}

/* ---- hero pe calculator: cuptorul în arcadă, peste ATELIER TIM uriaș în spate.
   Straturi: textul uriaș (1), lumina caldă (2), arcada (3), titlul și butoanele (4).
   Pe telefon și sub 1024px hero-ul rămâne cel de până acum.
   Metricile Bricolage la wdth 75: literele mari stau între 0,06 și 0,73 din font-size,
   iar „ATELIER TIM” are ~3,45 font-size lățime. ---- */
.hero-giant { display: none; }
@media (min-width: 1024px) {
  .hero {
    --arch-w: clamp(380px, 34.5vw, 600px);
    --arch-gap: clamp(40px, 5vw, 96px);
    --giant: min(30rem, calc((100vw - 2 * var(--gutter)) / 3.45));
    display: block;
    min-height: max(calc(100vh - var(--head-h) - 32px), calc(10px + var(--giant) * .51 + var(--arch-w) * 1.2 + 64px));
    padding: calc(10px + var(--giant) * .73 + 28px) calc(var(--gutter) + var(--arch-w) + var(--arch-gap)) 72px var(--gutter);
  }
  .hero-giant {
    display: block;
    position: absolute; z-index: 1; left: 0; right: 0; top: 10px;
    text-align: center; white-space: nowrap; pointer-events: none;
    font: 800 var(--giant)/.8 var(--f-head);
    font-stretch: 75%; font-variation-settings: "wdth" 75;
    letter-spacing: -.02em;
    color: #B42D16;
  }
  .hero-copy { position: relative; z-index: 4; max-width: 760px; }
  .hero h1 { font-size: clamp(60px, 5.6vw, 100px); max-width: 21ch; }
  .oven {
    position: absolute; z-index: 3;
    right: var(--gutter); top: calc(10px + var(--giant) * .51); bottom: 56px;
    width: var(--arch-w); max-width: none; margin: 0;
    display: flex; flex-direction: column;
    animation: arch-rise 700ms var(--ease-enter) both;
  }
  /* lumina caldă din spatele arcadei */
  .oven::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    left: -22%; right: -22%; top: 18%; height: 90%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 150, 40, .45), rgba(255, 150, 40, 0) 62%);
  }
  .oven-mouth {
    flex: 1; aspect-ratio: auto; min-height: 0;
    border-width: 10px;
    border-radius: calc(var(--arch-w) / 2) calc(var(--arch-w) / 2) 24px 24px;
    box-shadow: 0 30px 70px rgba(60, 15, 0, .45);
  }
  .oven-mouth > img { object-position: 50% 40%; }
  /* arcada urcă și apare o singură dată; reveal-ul „wipe” de pe telefon nu se aplică aici */
  .js .oven-mouth[data-reveal="wipe"] { clip-path: none; }
  .js .oven-mouth[data-reveal="wipe"] > img { transform: none; }
  .oven figcaption { flex: none; }
}
@keyframes arch-rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .oven { animation: none !important; }
}

/* =====================================================================
   Audit 24.11.2026: navigarea de pe telefon, alergenii, zonele de apăsare
   ===================================================================== */

/* ---- butonul „Meniu” și panoul de navigare, sub 900px ---- */
.nav-toggle { display: none; }
.js .nav-toggle {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  border: 2px solid #fff; border-radius: 14px; background: transparent;
  color: #fff; font: 700 15px/1 var(--f-text); cursor: pointer;
}
@media (min-width: 900px) { .js .nav-toggle { display: none; } }
/* pe ecrane înguste încap logo, telefon și „Meniu” pe un rând.
   Sub 480px telefonul din antet rămâne doar iconița; numărul e numele lui accesibil
   și apare în bara de jos. */
@media (max-width: 479px) {
  .js .site-head { gap: 10px; }
  .js .head-call, .js .nav-toggle { flex: none; }
  .js .head-call { width: 44px; padding: 0; justify-content: center; }
  .js .head-call svg { width: 20px; height: 20px; }
  .js .head-call-num { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 359px) { .js .brand-name { font-size: 20px; } }
.nav-panel {
  border: 0; padding: 0; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  background: var(--ember); color: var(--flour);
}
.nav-panel::backdrop { background: var(--ember); }
.nav-panel[open] { animation: nav-in 520ms var(--ease-enter); }
@keyframes nav-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.nav-panel-in {
  min-height: 100%; display: flex; flex-direction: column;
  padding: 10px var(--gutter) calc(32px + env(safe-area-inset-bottom));
}
.nav-close {
  align-self: flex-end; width: 48px; height: 48px; border: 0; background: transparent;
  color: var(--flour); font-size: 40px; line-height: 1; cursor: pointer;
}
.nav-main { display: grid; margin-top: 12px; }
.nav-main a {
  display: flex; align-items: center; min-height: 64px; text-decoration: none; color: var(--flour);
  font: 800 44px/1 var(--f-head); font-stretch: 80%; font-variation-settings: "wdth" 80; letter-spacing: -.02em;
  border-bottom: 1px solid rgba(255, 241, 220, .28);
}
.nav-main a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--flame); text-decoration-thickness: 4px; text-underline-offset: 8px; }
.nav-legal { display: grid; margin-top: auto; padding-top: 28px; }
.nav-legal a { display: flex; align-items: center; min-height: 44px; color: #fff; font-size: 15px; font-weight: 600; }
@media (prefers-reduced-motion: reduce) { .nav-panel[open] { animation: none; } }

/* ---- alergenii ---- */
.menu-extra-alerg { margin-top: 10px; }
.allergens { padding: 8px var(--gutter) 72px; color: var(--flour); }
.allergens h2 { font-size: clamp(30px, 7vw, 48px); line-height: 1.05; letter-spacing: -.02em; }
.allergens > p { margin-top: 8px; font-size: 15px; }
.allergens-scroll { margin-top: 20px; overflow-x: auto; border-radius: var(--radius); background: var(--flour); }
.allergens-table { width: 100%; border-collapse: collapse; color: #2B2117; font-size: 14.5px; }
.allergens-table th, .allergens-table td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid #EADBC4; }
.allergens-table thead th { color: var(--smoke-deep); font-weight: 800; }
.allergens-table tbody th { font-weight: 700; white-space: nowrap; }

/* ---- datele firmei, câte una pe rând ---- */
.legal .legal-data { list-style: none; padding-left: 0; }

/* ---- zone de apăsare de cel puțin 44px pe telefon, fără să mute textul ---- */
@media (max-width: 899px) {
  .foot-links a { min-height: 44px; }
  .foot-about a, .foot-bottom a, .map-gate a:not(.btn) {
    display: inline-block; padding-block: 12px; margin-block: -12px;
  }
}

/* =====================================================================
   Audit 26.11.2026: traducerile recenziilor, legenda alergenilor, mesajul „închis”
   ===================================================================== */
.quote .quote-tr, .bruno-quote .quote-tr { margin-top: 10px; font: 400 14px/1.5 var(--f-text); letter-spacing: 0; max-width: 60ch; color: #4A3B2E; }
.bruno-quote .quote-tr { color: #4A5B7A; }
@media (min-width: 1024px) {
  .quote .quote-tr { grid-column: 1; font-size: 16px; color: var(--soot); margin-top: -24px; }
  .quote > footer { grid-column: 2; grid-row: 1; }
  .bruno-quote .quote-tr { font-size: 15px; }
}
.allergy-legend { margin-top: 10px; font-size: 14.5px; max-width: 70ch; color: #fff; }
.allergy-legend a { color: #fff; }
.cart-closed { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--ember-deep); }

/* =====================================================================
   Runda 3 (27.11.2026): versiunea în engleză, alergenii pe card
   ===================================================================== */
/* comutatorul RO | EN: în antet de la 900px, în panoul de navigare pe telefon */
.lang { display: flex; align-items: center; gap: 2px; font: 700 14px/1 var(--f-text); color: #fff; }
.lang a, .lang .lang-cur { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; min-height: 44px; padding: 0 4px; }
.lang a { color: #fff; font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.lang a:hover { text-decoration-color: var(--flame); text-decoration-thickness: 2px; }
.lang abbr { text-decoration: none; }
.lang .lang-cur { font-weight: 800; }
.lang-sep { opacity: .7; }
.lang-head { display: none; }
@media (min-width: 900px) { .lang-head { display: flex; } }
.nav-top { display: flex; align-items: center; justify-content: space-between; }
.lang-panel { font-size: 16px; }
.lang-panel a, .lang-panel .lang-cur { min-height: 48px; min-width: 44px; }
/* „Pizza casei (house pizza)” doar pe engleză */
.card-gloss { font-size: .7em; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
/* alergenii pe card: același font și aceeași culoare ca gramajul */
.card-alerg { color: #6B5A48; }
/* nota de sub titlu pe paginile legale în engleză */
.legal .legal-note { margin-top: 12px; font-weight: 600; max-width: 62ch; }
