/* =============================================================
   NovaWebDesign — „Construiește-ți site-ul, live” (prima pagină, înaintea pachetelor)
   Macheta (browser pe laptop, telefon pe mobil) se recompune după alegeri. Toate dimensiunile machetei
   sunt rezervate aici (aspect-ratio + unități de container), deci pornirea scriptului nu mută pagina.
   Logica: js/surpriza.js. Flag: NOVA_SURPRIZA în js/site-config.js.
   ============================================================= */
html:not(.nv-surpriza-on) [data-nv-surpriza] { display: none !important; }

@property --b-acc { syntax: '<color>'; inherits: true; initial-value: #4DBA8F; }

.nvb { position: relative; overflow: clip; }
.nvb .section-header { margin-bottom: clamp(1.6rem, 3vw, 2.6rem); }

.nvb-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 3.4vw, 3.5rem);
  align-items: center;
}

/* ---------- macheta ---------- */
.nvb-view { position: relative; min-width: 0; }
.nvb-lantern {
  position: absolute; inset: -12% -8% -14% -10%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(42% 46% at 22% 30%, rgba(var(--nv-glow-rgb), .2), transparent 70%),
    radial-gradient(50% 50% at 78% 78%, rgba(var(--nv-fog-rgb), .16), transparent 72%);
  opacity: .9;
}
html[data-sezon="halloween"] .nvb-lantern {
  background:
    radial-gradient(30% 34% at 16% 22%, rgba(255, 176, 103, .3), transparent 70%),
    radial-gradient(50% 50% at 80% 80%, rgba(var(--nv-fog-rgb), .2), transparent 72%);
}
html[data-sezon="halloween"] .nvb.nvb-on .nvb-lantern { animation: nvb-flicker 4.6s ease-in-out infinite; }
@keyframes nvb-flicker { 0%, 100% { opacity: .9; } 18% { opacity: .72; } 22% { opacity: .95; } 47% { opacity: .8; } 63% { opacity: 1; } 81% { opacity: .76; } }

.nvb-mode {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: .55rem;
  margin: 0 0 .9rem; min-height: 1.5rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--nv-tx2);
}
.nvb-mode i { width: 8px; height: 8px; border-radius: 50%; background: var(--nv-acc-hi); box-shadow: 0 0 0 4px rgba(var(--nv-acc-rgb), .18); }
.nvb.nvb-on:not(.is-user) .nvb-mode i { animation: nvb-dot 1.3s ease-in-out infinite; }
@keyframes nvb-dot { 50% { opacity: .35; } }
.nvb-mode__b { display: none; }
.nvb.is-user .nvb-mode__a { display: none; }
.nvb.is-user .nvb-mode__b { display: inline; }

.nvb-dev {
  --b-acc: #4DBA8F;
  position: relative; z-index: 1;
  width: 100%; aspect-ratio: 16 / 10.6;
  border-radius: 14px;
  background: #0C0B0D;
  border: 1px solid rgba(var(--nv-tx-rgb), .12);
  box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 0, 0, .4), 0 0 70px -30px color-mix(in srgb, var(--b-acc) 55%, transparent);
  overflow: hidden;
  isolation: isolate;
  transition: --b-acc .7s ease, box-shadow .7s ease;
}
html[data-sezon="halloween"] .nvb-dev { --b-acc: #E07A32; }
.nvb-bar {
  position: absolute; left: 0; right: 0; top: 0; height: 6%;
  display: flex; align-items: center; gap: 6px; padding: 0 2.2%;
  background: linear-gradient(#1A181C, #141215);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.nvb-bar > i { width: 9px; height: 9px; border-radius: 50%; background: #3A3539; flex: 0 0 auto; }
.nvb-bar > i:first-child { background: #E0605A; } .nvb-bar > i:nth-child(2) { background: #E5B74F; } .nvb-bar > i:nth-child(3) { background: #5DBB72; }
.nvb-url {
  margin: 0 auto; display: inline-flex; align-items: center; gap: 6px;
  min-width: 34%; justify-content: center;
  padding: 3px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06);
  font-size: 11.5px; color: #B9B2B6; white-space: nowrap;
}
.nvb-url b { font-weight: 500; transition: opacity .16s ease; }
.nvb-island { display: none; }

/* ecranul: unitățile cqi țin proporțiile la orice lățime */
.nvb-scr {
  position: absolute; left: 0; right: 0; bottom: 0; top: 6%;
  container: nvb / inline-size;
  overflow: hidden;
  background: var(--s-bg);
  color: var(--s-tx);
  /* fundalul și textul se schimbă în același cadru cu restul machetei (fără tranziție proprie) */
  font-family: var(--font-body);
}
.nvb-in { position: absolute; inset: 0; display: flex; flex-direction: column; }

/* stilurile (doar variabile; schimbarea de așezare e animată FLIP din JS) */
.nvb-dev[data-stil="minimal"] {
  --s-bg: #F3F0E9; --s-tx: #1C1A17; --s-tx2: #6E695F; --s-card: #FFFFFF; --s-line: rgba(28, 26, 23, .1);
  --s-rad: 7px; --s-brad: 6px; --s-hf: var(--font-body); --s-hw: 650; --s-hs: normal; --s-tt: none; --s-hz: 1; --s-ls: -.025em;
}
.nvb-dev[data-stil="elegant"] {
  --s-bg: #15110E; --s-tx: #F2EADD; --s-tx2: #B3A794; --s-card: #1E1915; --s-line: rgba(242, 234, 221, .13);
  --s-rad: 2px; --s-brad: 1px; --s-hf: var(--font-display); --s-hw: 480; --s-hs: italic; --s-tt: none; --s-hz: 1.06; --s-ls: -.01em;
}
.nvb-dev[data-stil="indraznet"] {
  --s-bg: color-mix(in srgb, var(--b-acc) 26%, #100D0C); --s-tx: #FFF8F0; --s-tx2: rgba(255, 248, 240, .74); --s-card: rgba(255, 255, 255, .09); --s-line: rgba(255, 255, 255, .16);
  --s-rad: 18px; --s-brad: 999px; --s-hf: var(--font-body); --s-hw: 800; --s-hs: normal; --s-tt: uppercase; --s-hz: 1.12; --s-ls: -.035em;
}
.nvb-dev[data-stil="indraznet"] .nvb-scr { background-image: radial-gradient(60% 80% at 85% 20%, color-mix(in srgb, var(--b-acc) 55%, transparent), transparent 70%); }

/* antetul machetei */
.nvb-nav {
  flex: 0 0 auto; height: 7.5cqi;
  display: flex; align-items: center; gap: 3cqi;
  padding: 0 4.6cqi;
  border-bottom: 1px solid var(--s-line);
  font-size: 1.45cqi;
}
.nvb-logo { display: inline-flex; align-items: center; gap: .9cqi; font-family: var(--s-hf); font-style: var(--s-hs); font-weight: 700; font-size: 1.8cqi; white-space: nowrap; }
.nvb-logo i { width: 2cqi; height: 2cqi; border-radius: 50%; background: var(--b-acc); box-shadow: 0 0 1.4cqi color-mix(in srgb, var(--b-acc) 70%, transparent); }
.nvb-dev[data-stil="elegant"] .nvb-logo i { border-radius: 0; transform: rotate(45deg) scale(.8); }
.nvb-links { display: flex; gap: 2.6cqi; margin-left: auto; color: var(--s-tx2); white-space: nowrap; }
.nvb-links b { font-weight: 500; }
.nvb-lang, .nvb-cart {
  display: inline-flex; align-items: center; gap: .6cqi; height: 3.6cqi; padding: 0 1.3cqi;
  border-radius: 999px; border: 1px solid var(--s-line); color: var(--s-tx); white-space: nowrap; font-weight: 600;
  opacity: 0; transform: scale(.6); transition: opacity .35s ease, transform .5s cubic-bezier(.34, 1.56, .64, 1);
}
.nvb-lang i { font-style: normal; color: var(--b-acc); }
.nvb-cart { position: relative; padding: 0 1cqi; }
.nvb-cart svg { width: 2cqi; height: 2cqi; }
.nvb-cart em { position: absolute; top: -1cqi; right: -1cqi; min-width: 2.4cqi; height: 2.4cqi; border-radius: 999px; background: var(--b-acc); color: #15110d; font: 700 1.3cqi/2.4cqi var(--font-body); text-align: center; }
.nvb-dev.is-lim .nvb-lang, .nvb-dev.is-com .nvb-cart { opacity: 1; transform: none; }
.nvb-dev:not(.is-lim) .nvb-lang { width: 0; padding: 0; border: 0; margin-left: -3cqi; }
.nvb-dev:not(.is-com) .nvb-cart { width: 0; padding: 0; border: 0; margin-left: -3cqi; }
.nvb-burger { display: none; }

/* hero */
.nvb-hero {
  position: relative; flex: 0 0 auto; height: 34cqi;
  display: grid; align-items: center; gap: 4cqi;
  padding: 2.6cqi 5.4cqi 1.6cqi;
  grid-template-columns: 1.1fr .9fr; grid-template-areas: "copy art";
}
.nvb-dev[data-stil="elegant"] .nvb-hero { grid-template-columns: .82fr 1.18fr; grid-template-areas: "art copy"; }
.nvb-dev[data-stil="indraznet"] .nvb-hero { grid-template-columns: 1.4fr .6fr; grid-template-areas: "copy art"; gap: 2cqi; }
.nvb-copy { grid-area: copy; min-width: 0; }
.nvb-art { grid-area: art; min-width: 0; height: 100%; display: grid; place-items: center; color: var(--b-acc); }
.nvb-art svg { width: auto; height: 100%; max-width: 100%; overflow: visible; }
.nvb-dev[data-stil="indraznet"] .nvb-art svg { height: 112%; }
.nvb-kick { margin: 0 0 1.2cqi; font-size: 1.3cqi; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--b-acc); }
.nvb-dev[data-stil="minimal"] .nvb-kick { color: color-mix(in srgb, var(--b-acc) 70%, #1C1A17); }
.nvb-h {
  margin: 0; min-height: calc(2 * 1.06em);
  font-family: var(--s-hf); font-weight: var(--s-hw); font-style: var(--s-hs); text-transform: var(--s-tt);
  font-size: calc(4.3cqi * var(--s-hz)); line-height: 1.04; letter-spacing: var(--s-ls);
  color: var(--s-tx); text-wrap: balance;
}
.nvb-dev[data-stil="indraznet"] .nvb-h { font-size: 4.5cqi; line-height: .98; }
.nvb-caret { display: inline-block; width: .07em; height: .9em; margin-left: .06em; vertical-align: -.08em; background: var(--b-acc); opacity: 0; }
.nvb-dev.is-typing .nvb-caret, .nvb.nvb-on .nvb-caret { opacity: 1; }
.nvb.nvb-on .nvb-dev:not(.is-typing) .nvb-caret { animation: nvb-blink 1s steps(1) infinite; }
@keyframes nvb-blink { 50% { opacity: 0; } }
.nvb-sub { margin: 1.4cqi 0 2.2cqi; max-width: 40cqi; font-size: 1.68cqi; line-height: 1.45; color: var(--s-tx2); }
.nvb-ctas { display: flex; gap: 1.2cqi; flex-wrap: wrap; }
.nvb-ctas b {
  position: relative; display: inline-flex; align-items: center; height: 4cqi; padding: 0 2.2cqi;
  border-radius: var(--s-brad); font-size: 1.35cqi; font-weight: 700; white-space: nowrap;
  /* fără tranziții de culoare proprii: culoarea urmează doar --b-acc (animată pe rădăcina machetei), deci totul se schimbă în același cadru */
}
.nvb-b1 { background: var(--b-acc); color: #15110d; }
.nvb-dev[data-stil="minimal"] .nvb-b1 { color: #15110d; }
.nvb-b2 { border: 1px solid var(--s-line); color: var(--s-tx); }
.nvb-ctas b::after {
  content: ''; position: absolute; inset: -3px; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--b-acc) 70%, transparent), 0 0 2.4cqi color-mix(in srgb, var(--b-acc) 80%, transparent);
  opacity: 0;
}
.nvb-dev.is-lit .nvb-ctas b::after { animation: nvb-lit .9s ease-out; }
.nvb-dev.is-lit .nvb-b2::after { animation-delay: .12s; }
@keyframes nvb-lit { 0% { opacity: 0; } 30% { opacity: 1; } 100% { opacity: 0; } }

/* rezervări / programări: card plutitor */
.nvb-book {
  position: absolute; right: 4.6cqi; bottom: -3cqi; z-index: 2;
  width: 25cqi; padding: 1.6cqi;
  border-radius: calc(var(--s-rad) + 2px); background: var(--s-card); color: var(--s-tx);
  border: 1px solid var(--s-line);
  box-shadow: 0 2cqi 4cqi -1.5cqi rgba(0, 0, 0, .45);
  opacity: 0; transform: translateY(2cqi) scale(.94); transform-origin: 80% 100%;
  transition: opacity .4s ease, transform .55s cubic-bezier(.22, 1, .36, 1);
}
.nvb-dev.is-rez .nvb-book { opacity: 1; transform: none; }
.nvb-dev[data-stil="elegant"] .nvb-book { right: auto; left: 4.6cqi; transform-origin: 20% 100%; }
.nvb-book__t { margin: 0 0 1cqi; font-size: 1.35cqi; font-weight: 700; }
.nvb-days { display: flex; gap: .6cqi; margin-bottom: 1.1cqi; }
.nvb-days i { flex: 1; display: grid; place-items: center; height: 3.2cqi; border-radius: calc(var(--s-brad) / 2 + 2px); border: 1px solid var(--s-line); font: 600 1.1cqi/1 var(--font-body); color: var(--s-tx2); font-style: normal; }
.nvb-days i.is-on { background: var(--b-acc); border-color: transparent; color: #15110d; }
.nvb-book__b { display: grid; place-items: center; height: 3.4cqi; border-radius: var(--s-brad); background: var(--s-tx); color: var(--s-bg); font-size: 1.2cqi; font-weight: 700; }

/* modulele (meniu / servicii / produse) */
.nvb-mods {
  flex: 1 1 auto; min-height: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2cqi;
  padding: 2cqi 5.4cqi 3cqi;
  align-content: start;
}
.nvb-card {
  position: relative; display: flex; flex-direction: column; gap: .8cqi;
  padding: 1.3cqi; border-radius: var(--s-rad);
  background: var(--s-card); border: 1px solid var(--s-line);
  transition: border-radius .4s ease;
}
.nvb-card b { font-size: 1.4cqi; font-weight: 700; font-family: var(--s-hf); font-style: var(--s-hs); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nvb-card s { display: block; height: .7cqi; border-radius: 1cqi; background: var(--s-line); text-decoration: none; }
.nvb-card s + s { width: 62%; }
.nvb-im { display: block; height: 7.4cqi; border-radius: calc(var(--s-rad) - 1px); background: color-mix(in srgb, var(--b-acc) 30%, var(--s-card)); position: relative; overflow: hidden; }
.nvb-im::before, .nvb-im::after { content: ''; position: absolute; border-radius: 50%; }
.nvb-dev[data-nisa="restaurant"] .nvb-im::before { width: 5.6cqi; height: 5.6cqi; left: 50%; top: 50%; margin: -2.8cqi; background: radial-gradient(circle, #C8412B 52%, #E8B46C 54% 70%, transparent 72%); }
.nvb-dev[data-nisa="restaurant"] .nvb-im::after { width: 1.2cqi; height: 1.2cqi; left: 46%; top: 40%; background: #F6E7C1; box-shadow: 1.6cqi 1.2cqi 0 #F6E7C1, -.4cqi 2cqi 0 #3F8F4E; }
.nvb-dev[data-nisa="salon"] .nvb-im::before { inset: 22% 32%; border-radius: 50% 50% 0 0; border: .35cqi solid var(--b-acc); border-bottom: 0; }
.nvb-dev[data-nisa="salon"] .nvb-im::after { width: 2cqi; height: 2cqi; left: calc(50% - 1cqi); top: 46%; background: color-mix(in srgb, var(--b-acc) 80%, #fff); }
.nvb-dev[data-nisa="firma"] .nvb-im::before { left: 22%; right: 22%; bottom: 18%; height: 56%; border-radius: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--b-acc) 55%, transparent) 0 22%, transparent 22% 39%, var(--b-acc) 39% 61%, transparent 61% 78%, color-mix(in srgb, var(--b-acc) 75%, transparent) 78%); clip-path: polygon(0 45%, 22% 45%, 22% 100%, 39% 100%, 39% 0, 61% 0, 61% 100%, 78% 100%, 78% 25%, 100% 25%, 100% 100%, 0 100%); }
.nvb-dev[data-nisa="magazin"] .nvb-im::before { width: 3.4cqi; height: 4.6cqi; left: calc(50% - 1.7cqi); top: 22%; border-radius: 40% 40% 30% 30%; background: #F4F1EA; opacity: .9; }
.nvb-dev[data-nisa="magazin"] .nvb-im::after { width: 6cqi; height: 1cqi; left: calc(50% - 3cqi); bottom: 14%; background: rgba(0, 0, 0, .25); filter: blur(.4cqi); }
.nvb-add {
  position: absolute; right: 1.1cqi; top: 1.1cqi;
  padding: .5cqi 1.1cqi; border-radius: var(--s-brad); background: var(--b-acc); color: #15110d;
  font: 700 1.1cqi/1.4 var(--font-body); font-style: normal; white-space: nowrap;
  opacity: 0; transform: translateY(-.8cqi) scale(.85); transition: opacity .3s ease, transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.nvb-dev.is-com .nvb-add { opacity: 1; transform: none; }
.nvb-dev.is-com .nvb-card:nth-child(2) .nvb-add { transition-delay: .06s; }
.nvb-dev.is-com .nvb-card:nth-child(3) .nvb-add { transition-delay: .12s; }

/* ilustrațiile: o singură nișă vizibilă */
.nvb-a { opacity: 0; transform: scale(.86) translateY(6px); transform-box: fill-box; transform-origin: 50% 60%; transition: opacity .45s ease, transform .7s cubic-bezier(.22, 1, .36, 1); }
.nvb-dev[data-nisa="restaurant"] .nvb-a[data-a="restaurant"],
.nvb-dev[data-nisa="salon"] .nvb-a[data-a="salon"],
.nvb-dev[data-nisa="firma"] .nvb-a[data-a="firma"],
.nvb-dev[data-nisa="magazin"] .nvb-a[data-a="magazin"] { opacity: 1; transform: none; }
.nvb.nvb-on .nvb-steam path { animation: nvb-steam 2.8s ease-in-out infinite; }
.nvb.nvb-on .nvb-steam path:nth-child(2) { animation-delay: .5s; }
.nvb.nvb-on .nvb-steam path:nth-child(3) { animation-delay: 1s; }
@keyframes nvb-steam { 0% { opacity: 0; transform: translateY(6px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-8px); } }
.nvb.nvb-on .nvb-spark path { transform-box: fill-box; transform-origin: center; animation: nvb-tw 2.4s ease-in-out infinite; }
.nvb.nvb-on .nvb-spark path + path { animation-delay: 1.1s; }
@keyframes nvb-tw { 50% { transform: scale(.5); opacity: .4; } }
.nvb.nvb-on .nvb-flame { transform-box: fill-box; transform-origin: 50% 100%; animation: nvb-fl 1.6s ease-in-out infinite; }
@keyframes nvb-fl { 50% { transform: scale(.85, 1.12); } }
.nvb-line { stroke-dasharray: 200; stroke-dashoffset: 0; }

/* schimbarea textelor: scurtă estompare */
[data-nvb-t] { transition: opacity .16s ease; }
.nvb-dev.is-swap [data-nvb-t] { opacity: 0; }

/* etichetele de lângă telefon (doar pe mobil) */
.nvb-tags { display: none; }

/* ---------- alegerile ---------- */
.nvb-ctrl { min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.nvb-tabs { display: none; }
.nvb-panes { display: flex; flex-direction: column; gap: 1rem; }
.nvb-g__t { margin: 0 0 .55rem; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nv-tx2); }
.nvb-g__v { margin-left: .45rem; letter-spacing: .02em; text-transform: none; font-weight: 600; color: var(--nv-acc-hi); }
.nvb-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.nvb-chip {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  min-height: 44px; padding: .5rem 1rem;
  border-radius: 999px; border: 1px solid rgba(var(--nv-tx-rgb), .16);
  background: rgba(var(--nv-tx-rgb), .035); color: var(--nv-tx);
  font: 600 .92rem/1.2 var(--font-body);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .2s ease, box-shadow .3s ease;
}
.nvb-chip:active { transform: scale(.97); }
.nvb-chip[aria-pressed="true"] {
  background: rgba(var(--nv-acc-rgb), .16); border-color: rgba(var(--nv-acc-hi-rgb), .75); color: var(--nv-tx);
  box-shadow: 0 0 0 1px rgba(var(--nv-acc-hi-rgb), .35) inset, 0 8px 22px -12px rgba(var(--nv-acc-rgb), .8);
}
@media (hover: hover) { .nvb-chip:hover { border-color: rgba(var(--nv-acc-hi-rgb), .5); } }
.nvb-chip:focus-visible, .nvb-sw:focus-visible, .nvb-real:focus-visible, .nvb-go:focus-visible { outline: 2px solid var(--nv-acc-hi); outline-offset: 3px; }
.nvb-chip--min { font-weight: 500; letter-spacing: .01em; }
.nvb-chip--ele { font-family: var(--font-display); font-style: italic; font-weight: 500; font-size: 1rem; }
.nvb-chip--bold { font-weight: 800; text-transform: uppercase; font-size: .82rem; letter-spacing: .02em; }
.nvb-chip--f { justify-content: flex-start; padding-left: .8rem; }
.nvb-chip--f i {
  flex: 0 0 auto; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid rgba(var(--nv-tx-rgb), .35);
  display: grid; place-items: center; transition: background-color .2s ease, border-color .2s ease;
}
.nvb-chip--f i::after { content: ''; width: 9px; height: 5px; border: solid var(--nv-on-acc); border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.nvb-chip--f[aria-pressed="true"] i { background: var(--nv-acc-hi); border-color: var(--nv-acc-hi); }
.nvb-chip--f[aria-pressed="true"] i::after { transform: translateY(-1px) rotate(-45deg) scale(1); }

.nvb-row--sw { gap: .65rem; }
.nvb-sw {
  position: relative; width: 44px; height: 44px; border-radius: 50%; padding: 0; cursor: pointer;
  border: 2px solid transparent; background: transparent; -webkit-tap-highlight-color: transparent;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), border-color .25s ease;
}
.nvb-sw::before { content: ''; position: absolute; inset: 5px; border-radius: 50%; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 4px 14px -4px var(--sw); }
.nvb-sw[aria-pressed="true"] { border-color: var(--nv-tx); transform: scale(1.06); }
.nvb-sw[data-nvb-acc="sezon"] { --sw: #4DBA8F; }
html[data-sezon="halloween"] .nvb-sw[data-nvb-acc="sezon"] { --sw: #E07A32; }
.nvb-sw[data-nvb-acc="rubin"] { --sw: #E3566C; }
.nvb-sw[data-nvb-acc="azur"] { --sw: #4D8EF2; }
.nvb-sw[data-nvb-acc="ametist"] { --sw: #9A7CF2; }
.nvb-sw[data-nvb-acc="auriu"] { --sw: #D6AE45; }

/* rezultatul */
.nvb-res {
  position: relative; overflow: hidden;
  margin-top: .3rem; padding: 1.15rem 1.25rem 1.2rem;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(var(--nv-acc-rgb), .14), rgba(var(--nv-card-rgb), .9) 60%);
  border: 1px solid rgba(var(--nv-acc-hi-rgb), .3);
  box-shadow: 0 24px 50px -30px rgba(var(--nv-acc-rgb), .7);
}
.nvb-res::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(var(--nv-tx-rgb), .12), transparent);
  transform: translateX(-120%);
}
.nvb-res.is-new::after { animation: nvb-sheen .9s ease-out; }
@keyframes nvb-sheen { to { transform: translateX(320%); } }
.nvb-res__k { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--nv-tx2); }
.nvb-res__pkg { margin: .2rem 0 .1rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .7rem; }
.nvb-res__pkg b { font-family: var(--font-display); font-size: 1.75rem; font-weight: 600; letter-spacing: .02em; color: var(--nv-tx); }
.nvb-res__why { font-size: .9rem; color: var(--nv-acc-hi); }
.nvb-res__price { margin: 0; font-size: .98rem; color: var(--nv-tx2); }
.nvb-res__price b { font-size: 1.3rem; font-weight: 700; color: var(--nv-tx); font-variant-numeric: tabular-nums; }
.nvb-res__was { color: var(--nv-tx3); }
.nvb-res__deal { margin: .2rem 0 0; font-size: .8rem; color: var(--nv-acc-hi); }
.nvb-res__btns { display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; margin-top: .9rem; }
.nvb-go { display: inline-flex; align-items: center; gap: .4rem; min-height: 48px; padding: .7rem 1.4rem; border-radius: 999px; font-weight: 700; text-decoration: none; }
.nvb-real { display: inline-block; min-height: 44px; padding: .7rem 0; line-height: 1.35; color: var(--nv-tx); font-size: .92rem; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(var(--nv-acc-hi-rgb), .5); text-underline-offset: 4px; }


/* ---------- laptop îngust ---------- */
@media (min-width: 768px) and (max-width: 1100px) {
  .nvb-stage { grid-template-columns: 1fr; }
  .nvb-view { max-width: 760px; margin: 0 auto; width: 100%; }
}

/* ---------- telefon: macheta sus (~45vh), alegerile dedesubt ---------- */
@media (max-width: 767px) {
  .nvb-stage { grid-template-columns: 1fr; gap: 1.1rem; }
  .nvb-view { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 1rem; }
  /* foaia cu file: o grupă odată, înălțime fixă (fără salturi la schimbarea filei) */
  .nvb-tabs {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px;
    border-radius: 16px; background: rgba(var(--nv-tx-rgb), .05); border: 1px solid rgba(var(--nv-tx-rgb), .1);
  }
  .nvb-tab {
    min-height: 44px; padding: 0 .2rem; border: 0; border-radius: 12px; background: transparent; color: var(--nv-tx2);
    font: 600 .86rem/1.1 var(--font-body); cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: background-color .25s ease, color .25s ease;
  }
  .nvb-tab[aria-selected="true"] { background: rgba(var(--nv-acc-rgb), .2); color: var(--nv-tx); box-shadow: inset 0 0 0 1px rgba(var(--nv-acc-hi-rgb), .5); }
  .nvb-tab:focus-visible { outline: 2px solid var(--nv-acc-hi); outline-offset: 2px; }
  .nvb-panes { min-height: 100px; }
  .nvb-g:not(.is-on) { display: none; }
  .nvb-g__t { display: none; }
  .nvb-g.is-on { animation: nvb-pane .35s cubic-bezier(.22, 1, .36, 1); }
  @keyframes nvb-pane { from { opacity: 0; transform: translateY(6px); } }
  .nvb-mode { grid-column: 1 / -1; margin-bottom: .6rem; font-size: .76rem; }
  .nvb-dev {
    width: auto; height: clamp(300px, 45vh, 420px); height: clamp(300px, 45svh, 420px); aspect-ratio: 9 / 18.4;
    border-radius: 30px; border: 5px solid #1B181C; background: #1B181C;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(var(--nv-tx-rgb), .14), 0 0 60px -24px color-mix(in srgb, var(--b-acc) 60%, transparent);
  }
  .nvb-bar { display: none; }
  .nvb-island { display: block; position: absolute; z-index: 4; top: 7px; left: 50%; width: 30%; height: 13px; margin-left: -15%; border-radius: 999px; background: #000; }
  .nvb-scr { top: 0; border-radius: 25px; }
  .nvb-tags {
    display: flex; flex-direction: column; justify-content: center; gap: .5rem;
    margin: 0; padding: 0; list-style: none; min-width: 0;
  }
  .nvb-tags li {
    display: flex; align-items: center; gap: .4rem; align-self: flex-start; max-width: 100%;
    padding: .38rem .7rem; border-radius: 999px;
    background: rgba(var(--nv-tx-rgb), .05); border: 1px solid rgba(var(--nv-tx-rgb), .12);
    font-size: .8rem; font-weight: 600; color: var(--nv-tx2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    transition: border-color .3s ease, color .3s ease;
  }
  .nvb-tags li i { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; background: var(--b-acc-tag, var(--nv-acc)); }
  .nvb-tags li span { overflow: hidden; text-overflow: ellipsis; }
  .nvb-tags li[data-nvb-tag="pkg"] { color: var(--nv-tx); border-color: rgba(var(--nv-acc-hi-rgb), .55); background: rgba(var(--nv-acc-rgb), .14); font-family: var(--font-display); letter-spacing: .04em; }
  .nvb-tags li.is-new { animation: nvb-pop .5s cubic-bezier(.34, 1.56, .64, 1); }
  @keyframes nvb-pop { 0% { transform: scale(.88); opacity: .4; } 100% { transform: none; opacity: 1; } }
  .nvb-row--4, .nvb-row--f { display: grid; grid-template-columns: 1fr 1fr; }
  .nvb-row--3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nvb-row--3 .nvb-chip { padding-left: .4rem; padding-right: .4rem; }
  .nvb-chip { font-size: .88rem; }
  .nvb-chip--f { font-size: .84rem; text-align: left; }
  .nvb-row--sw { justify-content: space-between; max-width: 320px; }
  .nvb-ctrl { gap: .8rem; }
  .nvb-res__btns { align-items: stretch; }
  .nvb-res__btns .nvb-go { justify-content: center; }
  .nvb-real { text-align: center; }
}

/* ecranul îngust (telefonul din machetă): totul pe o coloană */
@container nvb (max-width: 420px) {
  .nvb-nav { height: 20cqi; padding: 10cqi 5.5cqi 0; gap: 2cqi; font-size: 3.6cqi; border-bottom: 0; }
  .nvb-logo { font-size: 4.6cqi; gap: 1.6cqi; }
  .nvb-logo i { width: 3.6cqi; height: 3.6cqi; }
  .nvb-links { display: none; }
  .nvb-lang, .nvb-cart { height: 7cqi; padding: 0 2cqi; font-size: 3.2cqi; margin-left: auto; }
  .nvb-cart { padding: 0 1.6cqi; }
  .nvb-cart svg { width: 4cqi; height: 4cqi; }
  .nvb-cart em { top: -2cqi; right: -2cqi; min-width: 4.6cqi; height: 4.6cqi; font-size: 2.6cqi; line-height: 4.6cqi; }
  .nvb-dev.is-lim .nvb-lang + .nvb-cart { margin-left: 0; }
  .nvb-dev:not(.is-lim) .nvb-lang, .nvb-dev:not(.is-com) .nvb-cart { margin-left: 0; }
  .nvb-burger { display: flex; flex-direction: column; gap: 1.3cqi; margin-left: auto; width: 5.5cqi; flex: 0 0 auto; }
  .nvb-dev.is-lim .nvb-burger, .nvb-dev.is-com .nvb-burger { margin-left: 0; }
  .nvb-burger i { height: .7cqi; border-radius: 1cqi; background: var(--s-tx); }
  .nvb-hero {
    height: 110cqi; padding: 2cqi 6.5cqi 0; gap: 3cqi;
    grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); grid-template-areas: "copy" "art"; align-items: start;
  }
  .nvb-dev[data-stil="elegant"] .nvb-hero { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; grid-template-areas: "art" "copy"; align-items: stretch; }
  .nvb-dev[data-stil="indraznet"] .nvb-hero { grid-template-columns: 1fr; grid-template-areas: "copy" "art"; gap: 1cqi; }
  .nvb-art { min-height: 0; }
  .nvb-art { position: relative; height: auto; align-self: stretch; }
  .nvb-art svg, .nvb-dev[data-stil="indraznet"] .nvb-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
  .nvb-kick { font-size: 3cqi; margin-bottom: 2.4cqi; letter-spacing: .1em; }
  .nvb-h { font-size: calc(8.6cqi * var(--s-hz)); }
  .nvb-dev[data-stil="indraznet"] .nvb-h { font-size: 9cqi; }
  .nvb-sub { margin: 2.6cqi 0 4cqi; font-size: 3.6cqi; max-width: none; }
  .nvb-ctas { gap: 2.4cqi; }
  .nvb-ctas b { height: 9cqi; padding: 0 4cqi; font-size: 3.3cqi; }
  /* pe telefon, rezervarea e o foaie fixă jos, ca pe un site mobil real */
  .nvb-hero { position: static; }
  .nvb-book { left: 4.5cqi; right: 4.5cqi; width: auto; bottom: 4.5cqi; padding: 3.2cqi; box-shadow: 0 -2cqi 8cqi -2cqi rgba(0, 0, 0, .55); transform-origin: 50% 100%; }
  .nvb-book__t { font-size: 3.4cqi; margin-bottom: 2cqi; }
  .nvb-days { gap: 1.4cqi; margin-bottom: 2.4cqi; }
  .nvb-days i { height: 7.4cqi; font-size: 2.8cqi; }
  .nvb-book__b { height: 7.4cqi; font-size: 3cqi; }
  .nvb-mods { grid-template-columns: repeat(3, 60cqi); gap: 4cqi; padding: 5cqi 6.5cqi; }
  .nvb-card { padding: 3cqi; gap: 2cqi; }
  .nvb-card b { font-size: 3.6cqi; }
  .nvb-card s { height: 1.6cqi; }
  .nvb-im { height: 28cqi; }
  .nvb-dev[data-stil="elegant"] .nvb-book { left: 4.5cqi; right: 4.5cqi; }
  .nvb-add { right: 2.6cqi; top: 2.6cqi; font-size: 2.8cqi; padding: 1.2cqi 2.4cqi; }
}

/* mișcare redusă: fără animații, schimbări pe loc */
@media (prefers-reduced-motion: reduce) {
  .nvb *, .nvb *::before, .nvb *::after { animation: none !important; transition: none !important; }
  .nvb-dev { transition: none !important; }
}

/* ---------- Runda 7 · după juriu ----------
   PC: macheta pornește sus, aliniată cu alegerile (nu centrată pe verticală, fără gol deasupra);
   telefon: o singură coloană — telefonul centrat, apoi rândul „live” (domeniu · stil · culoare · pachet) sub el */
@media (min-width: 1101px) { .nvb-stage { align-items: start; } }
@media (max-width: 767px) {
  .nvb-view { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; justify-items: center; }
  .nvb-mode { justify-self: start; }
  .nvb-tags { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: .4rem; margin-top: .85rem; width: 100%; }
  .nvb-tags li { align-self: auto; }
}

/* ---------- Runda 8: telefon ----------
   rezultatul la vedere: bară compactă, lipicioasă în secțiune (sticky), sub telefon */
.nvb-stick { display: none; }
@media (max-width: 767px) {
  .nvb-stick {
    position: sticky; top: calc(env(safe-area-inset-top, 0px) + 10px); z-index: 6;
    display: flex; align-items: center; justify-content: space-between; gap: .6rem;
    padding: .45rem .45rem .45rem .9rem; border-radius: 16px;
    background: rgba(var(--nv-card-rgb), .94); border: 1px solid rgba(var(--nv-acc-hi-rgb), .4);
    box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .85), 0 0 30px -14px rgba(var(--nv-acc-rgb), .7);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .nvb-stick__t { margin: 0; min-width: 0; font-size: .86rem; line-height: 1.3; color: var(--nv-tx2); }
  .nvb-stick__t b { color: var(--nv-tx); font-weight: 700; white-space: nowrap; }
  .nvb-stick__t b[data-nvb-s-pkg] { font-family: var(--font-display); letter-spacing: .03em; }
  .nvb-stick__go { flex: 0 0 auto; min-height: 44px; padding: 0 1rem; font-size: .92rem; white-space: nowrap; }
  /* ilustrațiile din machetă: două carduri întregi pe un rând (fără al treilea tăiat), cu desenul SVG/CSS mare */
  .nvb-mods { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4cqi; padding: 5cqi 6.5cqi; }
  .nvb-card:nth-child(3) { display: none; }
  .nvb-im { height: 30cqi; }
  .nvb-dev[data-nisa="restaurant"] .nvb-im::before, .nvb-dev[data-nisa="restaurant"] .nvb-im::after,
  .nvb-dev[data-nisa="salon"] .nvb-im::after,
  .nvb-dev[data-nisa="magazin"] .nvb-im::before, .nvb-dev[data-nisa="magazin"] .nvb-im::after { transform: scale(2.8); }
  .nvb-dev[data-nisa="salon"] .nvb-im::before { border-width: 1cqi; }
}
@media (max-width: 359px) { .nvb-stick__k { display: none; } }
.nvb-stick__p { white-space: nowrap; }
@media (max-width: 420px) { .nvb-stick__k { display: block; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--nv-acc-hi); } }
