/* Dovis Pizza — v5
   Făină (fundal), cărbune (text), roșu Dovis (brand). O singură familie: Archivo, cu axa de lățime. */
:root {
  --flour: #F1EEE8;
  --paper: #FAF8F4;
  --char: #231A15;
  --ash: #6E645C;
  --red: #D91712;
  --red-deep: #B3110D;
  --line: rgba(35, 26, 21, .14);
  --open: #2F7D4F;

  --header-h: 72px;
  --wrap: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --font: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--flour);
  color: var(--char);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: .95; text-wrap: balance; }
p { margin: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--char); color: var(--flour); padding: 10px 16px; }
.skip:focus { left: 8px; }

/* Butoane */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 26px; border-radius: 6px;
  font-weight: 700; font-size: 16px; font-stretch: 90%; letter-spacing: .01em;
  text-decoration: none; border: 2px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-line { border-color: var(--char); color: var(--char); }
.btn-line:hover { background: var(--char); color: var(--flour); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 0 var(--gutter);
  background: rgba(241, 238, 232, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand img { width: 104px; }
.nav { display: flex; gap: 36px; }
.nav a, .top-call { text-decoration: none; font-weight: 600; font-size: 15px; font-stretch: 90%; }
.nav a:hover { color: var(--red); }
.top-call {
  justify-self: end; padding: 9px 16px; border: 1.5px solid var(--char); border-radius: 6px;
  font-variant-numeric: tabular-nums; transition: background-color .2s, color .2s;
}
.top-call:hover { background: var(--char); color: var(--flour); }
.nav-toggle { display: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  min-height: min(calc(100vh - var(--header-h)), 820px);
  min-height: max(640px, min(calc(100vh - var(--header-h)), 820px));
  padding: 56px 0 72px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
  padding-right: 0;
}
.hero-text { position: relative; z-index: 2; max-width: 600px; }
.status {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 15px; font-weight: 500; color: var(--ash); margin-bottom: 28px;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ash); }
.status.is-open { color: var(--char); }
.status.is-open::before { background: var(--open); box-shadow: 0 0 0 4px rgba(47, 125, 79, .16); }
.hero h1 {
  font-size: clamp(68px, 10.5vw, 164px);
  font-stretch: 62%; font-weight: 850; line-height: .88; letter-spacing: -.005em;
  margin-bottom: 32px;
}
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--ash); max-width: 30em; margin-bottom: 36px; }
.hero-art { position: relative; height: 100%; min-height: 520px; }
.hero-pizza {
  position: absolute; top: 50%; left: 6%;
  width: min(50vw, 700px); max-width: none;
  transform: translateY(-50%);
  filter: drop-shadow(0 40px 50px rgba(35, 26, 21, .22));
}

/* Load: un singur moment — textul apare, pizza intră rotindu-se */
@media (prefers-reduced-motion: no-preference) {
  .hero-text > * { animation: rise .45s cubic-bezier(.2, .7, .2, 1) both; }
  .hero-text > :nth-child(2) { animation-delay: .03s; }
  .hero-text > :nth-child(3) { animation-delay: .07s; }
  .hero-text > :nth-child(4) { animation-delay: .1s; }
  .hero-pizza { animation: roll 1.4s cubic-bezier(.16, .8, .24, 1) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes roll {
  from { opacity: 0; transform: translate(18%, -50%) rotate(40deg); }
  to { opacity: 1; transform: translate(0, -50%) rotate(0); }
}

/* Secțiuni: titluri */
.favs h2, .menu-head h2, .kitchen h2, .visit h2 {
  font-size: clamp(44px, 6vw, 84px); font-stretch: 66%; font-weight: 850;
}

/* Favorite */
.favs { padding: 96px 0 112px; }
.favs h2 { margin-bottom: 44px; }
.fav-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
.fav { display: flex; flex-direction: column; }
.fav .price { margin-top: auto; }
.fav img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 4px; margin-bottom: 18px; background: #E4DED5; }
.fav h3 { font-size: 24px; font-stretch: 78%; font-weight: 750; margin-bottom: 6px; }
.fav p { font-size: 15px; line-height: 1.5; color: var(--ash); margin-bottom: 10px; }
.fav .price { font-weight: 700; font-size: 17px; color: var(--red); font-variant-numeric: tabular-nums; }

/* Aplicația */
.app-band { padding: 0 0 112px; }
.app-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; padding-top: 88px; border-top: 1px solid var(--line); }
.app-band h2 { font-size: clamp(56px, 8vw, 120px); font-stretch: 62%; font-weight: 850; line-height: .96; margin-bottom: 28px; }
.app-band .lede { margin-bottom: 24px; }
.app-points { list-style: none; margin: 0 0 32px; padding: 0; max-width: 30em; }
.app-points li { padding: 10px 0 10px 26px; border-top: 1px solid var(--line); position: relative; font-weight: 600; font-stretch: 92%; }
.app-points li:last-child { border-bottom: 1px solid var(--line); }
.app-points li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.app-band button.btn { cursor: pointer; font-family: inherit; }
.app-hint { margin-top: 18px; padding: 14px 18px; border-left: 3px solid var(--red); background: var(--paper); font-size: 15px; line-height: 1.5; max-width: 32em; }
.app-note { margin-top: 20px; font-size: 14px; color: var(--ash); max-width: 32em; }
.app-phone { justify-self: center; width: min(100%, 340px); padding: 12px; border-radius: 44px; background: var(--char); box-shadow: 0 40px 60px -24px rgba(35, 26, 21, .45); }
.app-phone img { width: 100%; border-radius: 32px; }
.menu-order { color: var(--red); font-weight: 700; text-underline-offset: 4px; }
.nav .nav-order { color: var(--red); }

/* Vatra — momentul îndrăzneț */
.hearth {
  background: var(--char); color: var(--flour);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center;
}
.hearth-bg { width: 100%; height: min(92vh, 860px); object-fit: cover; object-position: 50% 65%; }
.hearth-text { padding: 72px var(--gutter); max-width: 620px; }
.hearth h2 {
  font-size: clamp(64px, 9vw, 148px); font-stretch: 62%; font-weight: 850; line-height: .96;
  margin-bottom: 36px; color: #fff;
}
.hearth p { font-size: 19px; line-height: 1.65; color: rgba(241, 238, 232, .78); max-width: 32em; }
.hearth p + p { margin-top: 18px; }

/* Meniu */
.menu { padding: 112px 0 96px; background: var(--paper); }
.menu-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 32px; margin-bottom: 28px; }
.menu-head p { color: var(--ash); }
.menu-nav {
  position: sticky; top: var(--header-h); z-index: 30;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  margin: 0 calc(var(--gutter) * -1) 48px; padding: 12px var(--gutter);
  background: rgba(250, 248, 244, .94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.menu-nav::-webkit-scrollbar { display: none; }
.menu-nav a {
  flex: none; padding: 8px 14px; border-radius: 6px;
  font-size: 15px; font-weight: 600; font-stretch: 88%; text-decoration: none; color: var(--ash);
  transition: color .2s, background-color .2s;
}
.menu-nav a:hover { color: var(--char); }
.menu-nav a[aria-current] { background: var(--char); color: var(--flour); }

.menu-cols { columns: 2; column-gap: 88px; column-rule: 1px solid var(--line); }
.menu-cat { break-inside: avoid-column; padding-bottom: 56px; scroll-margin-top: calc(var(--header-h) + 76px); }
.menu-cat h3 { font-size: 40px; font-stretch: 66%; font-weight: 850; color: var(--red); margin-bottom: 6px; }
.cat-note { color: var(--ash); font-size: 15px; margin-bottom: 4px; }
.menu-cat ul { list-style: none; margin: 18px 0 0; padding: 0; }
.menu-cat li { padding: 12px 0; }
.menu-cat li + li { border-top: 1px solid rgba(35, 26, 21, .07); }
.row { display: flex; align-items: baseline; gap: 10px; }
.row .n { min-width: 0; font-size: 19px; font-weight: 700; font-stretch: 84%; }
.row .dots { flex: 1; min-width: 16px; border-bottom: 1.5px dotted rgba(35, 26, 21, .28); transform: translateY(-4px); }
.row .w { font-size: 13px; color: var(--ash); font-variant-numeric: tabular-nums; white-space: nowrap; }
.row .p { font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.menu-cat li p { font-size: 15px; line-height: 1.5; color: var(--ash); margin-top: 3px; max-width: 46ch; }
.cat-extra {
  margin-top: 16px; padding: 14px 18px; border-left: 3px solid var(--red);
  background: var(--flour); font-size: 15px; line-height: 1.5;
}
.cat-extra strong { color: var(--red); }

/* Galerie */
.kitchen { padding: 112px 0; }
.kitchen h2 { margin-bottom: 44px; }
.kitchen-grid {
  display: grid; gap: 14px;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 330px 330px;
  grid-template-areas: "k1 k2 k3" "k5 k4 k3";
}
.kitchen-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.k1 { grid-area: k1; } .k2 { grid-area: k2; } .k3 { grid-area: k3; } .k4 { grid-area: k4; } .k5 { grid-area: k5; }

/* Vizită */
.visit { padding: 104px 0 120px; border-top: 1px solid var(--line); }
.visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.visit h2 { margin-bottom: 32px; }
.visit address { font-size: 22px; line-height: 1.4; font-weight: 600; font-stretch: 90%; margin-bottom: 28px; }
.hours { margin: 0 0 44px; max-width: 360px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.hours div:last-child { border-bottom: 1px solid var(--line); }
.hours dt { color: var(--ash); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.hours .is-today dt { color: var(--char); font-weight: 700; }
.hours .is-today dt::after { content: " · azi"; color: var(--red); font-weight: 600; }
.visit h3 { font-size: 28px; font-stretch: 70%; font-weight: 850; margin-bottom: 10px; }
.visit-text > p { color: var(--ash); max-width: 30em; margin-bottom: 32px; }
.visit-media { display: grid; gap: 14px; }
.visit-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.visit-media iframe { width: 100%; height: 300px; border: 0; border-radius: 4px; filter: saturate(.75); }

/* Footer */
.foot { background: var(--char); color: rgba(241, 238, 232, .7); padding: 44px 0; font-size: 15px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.foot img { width: 96px; filter: brightness(0) invert(1); opacity: .92; }
.foot nav { display: flex; gap: 28px; }
.foot a { color: var(--flour); text-decoration: none; font-weight: 600; }
.foot a:hover { text-decoration: underline; text-underline-offset: 4px; }

.call-bar { display: none; }

/* Tabletă */
@media (max-width: 1000px) {
  .nav { display: none; }
  .top { grid-template-columns: 1fr auto auto; column-gap: 10px; }
  .nav-toggle {
    display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
    background: transparent; border: 1.5px solid var(--char); border-radius: 6px; color: var(--char); cursor: pointer;
  }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s, background-color .2s;
  }
  .nav-toggle span { position: relative; }
  .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after { top: 6px; }
  .nav-open .nav-toggle span { background: transparent; }
  .nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
  .nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }
  .nav-open .nav {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: 8px var(--gutter) 16px; background: var(--flour);
    border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(35, 26, 21, .35);
  }
  .nav-open .nav a { padding: 14px 0; font-size: 20px; font-stretch: 80%; font-weight: 750; border-bottom: 1px solid var(--line); }
  .nav-open .nav a:last-child { border-bottom: 0; }
  .hero { grid-template-columns: 1fr; padding: 40px var(--gutter) 0; min-height: 0; }
  .hero-art { min-height: 0; height: 72vw; margin: 32px calc(var(--gutter) * -1) 0; }
  .hero-pizza { width: 72vw; left: 34%; }
  .fav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hearth { grid-template-columns: 1fr; }
  .hearth-bg { height: 62vh; }
  .menu-cols { columns: 1; }
  .app-grid { grid-template-columns: 1fr; gap: 48px; }
  .visit-grid { grid-template-columns: 1fr; gap: 48px; }
  .kitchen-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 300px 300px 240px; grid-template-areas: "k1 k1" "k2 k3" "k4 k3" "k5 k5"; }
}

/* Telefon */
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  body { font-size: 16px; padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  .brand img { width: 84px; }
  .top-call { font-size: 14px; padding: 7px 12px; }
  .hero h1 { font-size: 19.5vw; }
  .hero .actions .btn { flex: 1 1 100%; }
  .hero-art { height: 96vw; }
  .hero-pizza { width: 96vw; left: 22%; }
  .favs, .kitchen { padding: 72px 0; }
  .app-band { padding-bottom: 72px; }
  .app-grid { padding-top: 64px; }
  .app-band .actions .btn { flex: 1 1 100%; }
  .app-phone { width: min(78%, 300px); }
  .fav-grid { gap: 28px 14px; }
  .fav h3 { font-size: 20px; }
  .fav p { font-size: 14px; }
  .hearth-text { padding: 56px var(--gutter) 64px; }
  .menu { padding: 80px 0 48px; }
  .menu-nav { margin-bottom: 32px; }
  .row .n { font-size: 18px; }
  .kitchen-grid { grid-template-rows: 220px 240px 240px 200px; }
  .visit { padding: 72px 0 80px; }
  .visit .actions .btn { flex: 1 1 100%; }
  .call-bar {
    display: flex; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 50;
  }
  .call-bar a {
    display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 20px; border-radius: 8px;
    text-decoration: none; font-weight: 700; font-stretch: 90%;
  }
  .cb-order { flex: 1; background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(179, 17, 13, .35); }
  .cb-call { background: var(--paper); color: var(--char); border: 2px solid var(--char); box-shadow: 0 10px 30px rgba(35, 26, 21, .3); }
  .app-note-desk { display: none; }
  .foot nav { flex-wrap: wrap; gap: 4px 24px; }
  .foot nav a, .foot .foot-links a { display: inline-block; padding: 10px 0; }
  .foot-legal .foot-firm a { padding: 10px 0; white-space: nowrap; }
  .foot-legal .foot-firm { line-height: 1.8; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.menu-cat li.is-off .n, .menu-cat li.is-off .p { color: var(--ash); text-decoration: line-through; }
.menu-cat li .off-tag { color: var(--red); font-weight: 700; font-size: 14px; }

.zones { list-style: none; margin: 4px 0 14px; padding: 0; }
.zones li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.45; }
.zones b { font-stretch: 88%; }
.zones-note { font-size: 14px; color: var(--ash); }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* PRIMA20 */
.promo-line { margin-top: 18px; font-size: 16px; }
.promo-line a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--char); text-decoration: none; }
.promo-line a span { border-bottom: 2px solid var(--red); padding-bottom: 1px; }
.promo-line strong { color: #fff; background: var(--red); padding: 2px 8px; border-radius: 4px; letter-spacing: .05em; }
.promo-box { display: flex; gap: 18px; align-items: center; margin: 0 0 28px; padding: 16px 18px; border: 2px dashed var(--red); border-radius: 6px; background: var(--paper); max-width: 34em; }
.promo-box .promo-code { flex: none; font-size: 26px; font-weight: 850; font-stretch: 70%; letter-spacing: .05em; color: #fff; background: var(--red); padding: 8px 12px; border-radius: 4px; }
.promo-box b { display: block; font-stretch: 90%; font-size: 17px; }
.promo-box span { font-size: 14px; color: var(--ash); }
@media (max-width: 640px) {
  .promo-box { flex-direction: column; align-items: flex-start; gap: 12px; }
  .promo-box .promo-code { font-size: 22px; }
}

/* Cum comanzi + verificare zonă */
.how { padding: 96px 0; border-top: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.how h2, .reviews h2 { font-size: clamp(44px, 6vw, 84px); font-stretch: 66%; font-weight: 850; line-height: .9; margin-bottom: 36px; }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: 1 / 3; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps b { font-size: 22px; font-stretch: 80%; font-weight: 800; }
.steps span { color: var(--ash); max-width: 32em; }
.check { background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 26px; }
.check h3 { font-size: 30px; font-stretch: 70%; font-weight: 850; margin-bottom: 14px; }
.check label { display: block; font-size: 14px; color: var(--ash); margin-bottom: 6px; }
.check select {
  width: 100%; min-height: 52px; padding: 0 46px 0 14px; font: inherit; font-size: 16px; color: var(--char); cursor: pointer;
  -webkit-appearance: none; appearance: none; border: 1.5px solid var(--line); border-radius: 6px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%23231A15' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center;
}
.check select:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.check-out { margin: 16px 0 6px; font-size: 17px; font-weight: 600; font-stretch: 92%; }
.check-out strong { color: var(--red); font-size: 28px; font-stretch: 70%; font-weight: 850; }
.check-pick { margin: 0; font-size: 14px; color: var(--ash); }

/* Recenzii */
.reviews { padding: 96px 0; border-top: 1px solid var(--line); }
.reviews[hidden] { display: none; }
.rev-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.rev { margin: 0; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: 6px; display: flex; flex-direction: column; gap: 12px; }
.rev .st { color: var(--red); letter-spacing: 3px; font-size: 18px; }
.rev blockquote { margin: 0; font-size: 17px; line-height: 1.5; }
.rev figcaption { margin-top: auto; font-size: 14px; color: var(--ash); }
.rev figcaption b { color: var(--char); font-stretch: 90%; }
.rev-more { margin-top: 22px; }
.rev-more a { color: var(--char); font-weight: 600; text-underline-offset: 4px; }
.rev-more { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.rev-more a + a { color: var(--red); }
.rev-score { margin: -18px 0 26px; font-size: 17px; color: var(--ash); }
.rev-score b { color: var(--char); font-size: 22px; font-stretch: 80%; font-weight: 850; }
.rev-score .st { color: var(--red); letter-spacing: 2px; margin: 0 6px; }
.rev-grid > .rev:only-child { max-width: 560px; }

@media (min-width: 1001px) {
  /* caseta stă în dreptul pașilor, nu deasupra unui gol */
  .check { align-self: end; }
  /* poza și harta rămân în vedere cât timp se citește coloana lungă */
  .visit-media { position: sticky; top: calc(var(--header-h) + 32px); }
}
@media (max-width: 1000px) { .how-grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 640px) { .how, .reviews { padding: 72px 0; } .check { padding: 20px; } }

/* Intrare premium: fotografie pe toată înălțimea, cu card „Pizza Dovis” */
.hero-art { position: relative; align-self: stretch; margin: -56px 0 -72px; min-height: 520px; height: auto; }
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 28% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24%); mask-image: linear-gradient(90deg, transparent 0, #000 24%);
}
.hero-card {
  position: absolute; left: 4%; bottom: 44px; z-index: 3; display: flex; align-items: center; gap: 16px;
  padding: 10px 22px 10px 10px; background: rgba(250, 248, 244, .94); border: 1px solid var(--line); border-radius: 999px;
  text-decoration: none; color: var(--char); box-shadow: 0 18px 40px rgba(35, 26, 21, .16);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .25s;
}
.hero-card:hover { transform: translateY(-3px); }
.hero-card img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; }
.hero-card small { display: block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); font-weight: 700; }
.hero-card b { display: block; font-size: 24px; font-stretch: 72%; font-weight: 850; line-height: 1.1; }
.hero-card em { font-style: normal; font-size: 14px; color: var(--ash); }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo { animation: photoin .6s cubic-bezier(.16, .8, .24, 1) both; }
  .hero-card { animation: rise .5s .2s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes photoin { from { opacity: .4; transform: scale(1.03); } }
@media (max-width: 1000px) {
  /* textul păstrează marginea din dreapta; doar fotografia merge până la marginea ecranului */
  .hero { padding-right: var(--gutter); padding-bottom: 0; }
  .hero-art { height: 118vw; min-height: 0; margin: 28px calc(var(--gutter) * -1) 0; width: auto; }
  .hero-photo { object-position: 30% 40%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 16%); mask-image: linear-gradient(180deg, transparent 0, #000 16%); }
  .hero-card { left: var(--gutter); bottom: 22px; }
}
@media (max-width: 640px) { .hero-card img { width: 60px; height: 60px; } .hero-card b { font-size: 21px; } }


/* v19 — informații legale în subsol și paginile legale */
.foot-legal { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(241, 238, 232, .16); font-size: 13px; line-height: 1.6; color: rgba(241, 238, 232, .66); }
.foot-legal .foot-firm b { color: var(--flour); font-weight: 700; }
.foot-legal .foot-firm a { font-weight: 500; color: rgba(241, 238, 232, .85); }
.foot-legal-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 16px; }
.foot .foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot .foot-links a { font-size: 14px; }
.foot .sal { display: inline-flex; flex: none; border-radius: 4px; }
.foot .sal img { width: auto; height: 50px; max-width: 100%; filter: none; opacity: 1; background: #fff; border-radius: 4px; }
.foot .sal .sal-fb { display: none; }
.foot .sal.sal-text .sal-fb { display: flex; flex-direction: column; justify-content: center; width: 250px; height: 50px; padding: 0 14px; border-radius: 4px; background: #fff; color: #1E2A78; font-weight: 800; font-size: 15px; line-height: 1.15; text-decoration: none; }
.foot .sal.sal-text .sal-fb small { font-weight: 600; font-size: 11.5px; }
.lg-page { padding: 56px 0 112px; }
.lg-wrap { max-width: 860px; }
.lg-page h1 { font-size: clamp(34px, 9.6vw, 104px); overflow-wrap: break-word; font-stretch: 62%; font-weight: 850; line-height: .86; margin-bottom: 14px; }
.lg-upd { font-size: 14px; color: var(--ash); font-weight: 600; }
.lg-intro { font-size: 18px; color: var(--ash); max-width: 40em; margin-top: 14px; }
.lg-toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 26px 0 8px; padding: 16px 0; border-block: 1px solid var(--line); }
.lg-toc a { padding: 6px 11px; border-radius: 6px; border: 1.5px solid var(--line); font-size: 13.5px; font-weight: 600; font-stretch: 90%; text-decoration: none; color: var(--char); }
.lg-toc a:hover { border-color: var(--char); }
.lg-body section { padding-top: 34px; scroll-margin-top: calc(var(--header-h) + 20px); }
.lg-body h2 { font-size: 34px; font-stretch: 70%; font-weight: 850; line-height: 1.05; color: var(--red); margin-bottom: 12px; }
.lg-body p, .lg-body li { font-size: 16.5px; line-height: 1.65; }
.lg-body p + p { margin-top: 12px; }
.lg-body ul, .lg-body ol { padding-left: 22px; margin: 10px 0; }
.lg-body li { margin: 6px 0; }
.lg-body a { color: var(--red); font-weight: 600; }
.lg-id { margin: 14px 0; padding: 16px 18px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); font-size: 15.5px; line-height: 1.7; }
.lg-tab { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 15px; background: var(--paper); border: 1px solid var(--line); }
.lg-tab th, .lg-tab td { text-align: left; vertical-align: top; padding: 11px 13px; border-bottom: 1px solid var(--line); }
.lg-tab th { font-size: 13px; color: var(--ash); background: var(--flour); }
@media (max-width: 640px) { .lg-page { padding: 40px 0 88px; } .lg-body h2 { font-size: 28px; } .lg-tab th, .lg-tab td { padding: 9px; font-size: 14px; } }

/* v21.2: mențiunea despre update-ul aplicației */
.app-update { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; max-width: 34em; margin: 0 0 18px; padding: 12px 16px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--red); font-size: 15px; line-height: 1.5; }
.app-update span { flex: none; padding: 2px 8px; border-radius: 4px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
