/* generat de site/build.mjs din docs/design-tokens.json (doar tema luminoasa) */
:root { --c-bg: #FAF5EA; --c-surface: #FFFDF8; --c-surfaceSunken: #F2EBDC; --c-line: #E2D8C3; --c-lineStrong: #8C7F68; --c-ink: #1D2A22; --c-inkMuted: #5C665D; --c-inkInverse: #FAF5EA; --c-surfaceInverse: #1D2A22; --c-primary: #1F5C3F; --c-onPrimary: #FFFFFF; --c-primarySoft: #DDEBDF; --c-onPrimarySoft: #143D2A; --c-cta: #F26A2E; --c-ctaPressed: #DB5A20; --c-onCta: #2B1003; --c-ctaStrong: #C2491A; --c-selected: #FFE6D6; --c-onSelected: #1D2A22; --c-selectedBorder: #C2491A; --c-post: #5A3D72; --c-postSoft: #EFE6F4; --c-holiday: #7A4F00; --c-holidaySoft: #FBEFC8; --c-gold: #E8B23A; --c-warn: #9A3412; --c-warnSoft: #FCE4D6; --c-danger: #B3261E; --c-dangerSoft: #FBE1DE; --c-success: #256B43; --c-successSoft: #DDEFE2; --c-tileBreakfast: #FBEFC8; --c-tileLunch: #FCE0D6; --c-tileDinner: #DDEBDF; --c-focusRing: #C2491A; --c-toastAction: #FFB08A; --c-scrim: rgba(29,42,34,0.45); --c-skeleton: #ECE3D1; --c-skeletonHighlight: #F7F1E4; --s-low: 0 1px 2px rgba(29,42,34,0.06), 0 1px 1px rgba(29,42,34,0.04); --s-mid: 0 6px 16px -6px rgba(29,42,34,0.18), 0 2px 4px rgba(29,42,34,0.06); --s-high: 0 18px 40 -12px rgba(29,42,34,0.28), 0 4px 10 rgba(29,42,34,0.08); --s-cta: 0 8px 18px -8px rgba(194,73,26,0.55); --stergar: url("/assets/img/stergar.svg"); }
/* Cratița - site static, o singura pagina de prezentare + paginile legale.
   Mereu tema luminoasa (ca aplicatia pe luminos). Culorile vin din docs/design-tokens.json:
   build.mjs pune variabilele --c-* si --s-* deasupra acestui fisier. Aici NU se scriu culori hex. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/BricolageGrotesque_700Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("/assets/fonts/BricolageGrotesque_800ExtraBold.woff") format("woff"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/Figtree_400Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/Figtree_600SemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/assets/fonts/Figtree_700Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --f-display: "Bricolage Grotesque", ui-rounded, "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", ui-sans-serif, "Segoe UI", system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4.5vw, 32px);
  --max: 1200px;
  --text: 68ch;
  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 18px; --r-xl: 24px; --r-xxl: 32px; --r-pill: 999px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --sticla: color-mix(in srgb, var(--c-bg) 90%, transparent);
  --pe-verde-slab: color-mix(in srgb, var(--c-inkInverse) 14%, transparent);
  --pe-verde-linie: color-mix(in srgb, var(--c-inkInverse) 30%, transparent);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 20px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-ink);
  font: 400 1.0625rem/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; line-height: 1.04; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd { margin: 0; }
a { color: var(--c-primary); text-decoration-thickness: 0.08em; text-underline-offset: 0.18em; }
a:hover { color: var(--c-ink); }
:focus-visible { outline: 3px solid var(--c-focusRing); outline-offset: 3px; border-radius: var(--r-xs); }
::selection { background: var(--c-selected); color: var(--c-onSelected); }
main:focus { outline: none; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.ascuns { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.sari {
  position: absolute; left: 12px; top: -200px; z-index: 60;
  background: var(--c-surfaceInverse); color: var(--c-inkInverse);
  padding: 12px 16px; border-radius: var(--r-sm); font-weight: 700; text-decoration: none;
}
.sari:focus { top: 12px; color: var(--c-inkInverse); }
.stergar { height: 8px; background: var(--stergar) repeat-x left center / 16px 8px; }
.stergar-mic { width: 128px; margin-top: 28px; }

/* ---------- antet ---------- */
.antet { position: relative; z-index: 20; background: var(--sticla); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); }
.antet-rand { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "logo limba" "nav nav"; align-items: center; column-gap: 12px; padding-block: 6px 2px; }
.logo { grid-area: logo; display: inline-flex; align-items: center; min-height: 48px; border-radius: var(--r-sm); justify-self: start; }
.logo img { height: 30px; width: auto; }
.nav { grid-area: nav; margin-inline: calc(var(--gutter) * -1); }
.nav ul { display: flex; gap: 2px; list-style: none; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
.nav ul::-webkit-scrollbar { display: none; }
.nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; white-space: nowrap;
  border-radius: var(--r-pill); color: var(--c-ink); text-decoration: none; font-weight: 600; font-size: 0.9375rem;
}
.nav li:first-child a { margin-left: -12px; }
.nav a:hover { background: var(--c-surfaceSunken); color: var(--c-ink); }
.limba {
  grid-area: limba; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 52px; padding: 0 14px;
  border: 1.5px solid var(--c-lineStrong); border-radius: var(--r-pill); color: var(--c-ink); text-decoration: none; font-weight: 700; letter-spacing: 0.04em; font-size: 0.875rem;
}
.limba:hover { background: var(--c-ink); color: var(--c-inkInverse); border-color: var(--c-ink); }
@media (min-width: 800px) {
  html { scroll-padding-top: 96px; }
  .antet { position: sticky; top: 0; }
  .antet-rand { grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav limba"; min-height: 76px; padding-block: 0; }
  .logo img { height: 34px; }
  .nav { margin: 0; justify-self: end; }
  .nav ul { padding: 0; overflow: visible; }
  .nav li:first-child a { margin-left: 0; }
  .nav a { padding: 0 16px; }
}

/* ---------- elemente comune ---------- */
.supra {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 0.75rem/1.2 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--c-onPrimarySoft); background: var(--c-primarySoft);
  padding: 8px 12px; border-radius: var(--r-pill);
}
.sectiune { padding-block: clamp(72px, 11vw, 144px); }
.cap { max-width: 44rem; }
.cap h2 { font-size: clamp(2.125rem, 1.2rem + 3.6vw, 4rem); letter-spacing: -0.035em; margin-top: 18px; }
.cap-p { color: var(--c-inkMuted); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); margin-top: 18px; max-width: 40rem; }
.cap-p + .cap-p { margin-top: 12px; }

.bife { display: grid; gap: 10px; list-style: none; padding: 0; margin-top: 28px; font-weight: 600; }
.bife li { display: flex; align-items: flex-start; gap: 12px; }
.bife svg { width: 22px; height: 22px; flex: none; color: var(--c-onCta); background: var(--c-cta); border-radius: 50%; padding: 4px; margin-top: 1px; }

/* „În curând” - nu sunt butoane: aplicatia nu e inca in magazine */
.magazine { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin-top: 32px; }
.magazin {
  display: flex; align-items: center; gap: 12px; min-height: 60px; flex: 1 1 168px; max-width: 220px;
  padding: 10px 18px 10px 14px; border-radius: var(--r-lg);
  background: var(--c-surfaceInverse); color: var(--c-inkInverse);
}
.magazin svg { width: 26px; height: 26px; flex: none; }
.magazin small { display: block; font: 700 0.6875rem/1.2 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.85; }
.magazin strong { display: block; font: 800 1.1875rem/1.15 var(--f-display); letter-spacing: -0.01em; }
@media (max-width: 420px) {
  .magazin { padding: 10px 12px; gap: 10px; flex-basis: 130px; }
  .magazin strong { font-size: 1.0625rem; white-space: nowrap; }
  .nav a { padding: 0 10px; font-size: 0.875rem; }
  .nav li:first-child a { margin-left: -10px; }
}

/* ---------- telefonul (rama desenata in CSS, captura reala inauntru) ---------- */
.telefon { container-type: inline-size; position: relative; width: 100%; }
.telefon img {
  width: 100%; height: auto; background: var(--c-bg);
  border: 3.4cqi solid var(--c-surfaceInverse); border-radius: 16cqi;
  box-shadow: 0 0 0 1px var(--c-lineStrong), 0 40px 70px -30px var(--c-scrim), var(--s-high);
}
/* butoanele laterale ale ramei */
.telefon::before, .telefon::after { content: ""; position: absolute; z-index: -1; width: 1.4%; border-radius: 3px; background: var(--c-surfaceInverse); }
.telefon::before { left: -0.9%; top: 20%; height: 6%; }
.telefon::after { right: -0.9%; top: 27%; height: 10%; }

/* ---------- erou ---------- */
.erou { padding-block: clamp(32px, 6vw, 72px) clamp(56px, 8vw, 96px); overflow: clip; }
.erou-grid { display: grid; gap: 48px; align-items: center; }
.erou h1 { font-size: clamp(3rem, 1.3rem + 7.4vw, 6.75rem); letter-spacing: -0.045em; line-height: 0.95; margin-top: 22px; }
.erou h1 .accent { color: var(--c-ctaStrong); }
.lead { font-size: clamp(1.125rem, 1rem + 0.6vw, 1.4375rem); line-height: 1.5; color: var(--c-inkMuted); margin-top: 24px; max-width: 32ch; }
.erou .bife { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: 0.9375rem; color: var(--c-inkMuted); }
.erou .bife li { align-items: center; gap: 8px; }
.erou .bife svg { width: 20px; height: 20px; padding: 3px; }

.erou-scena { position: relative; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1 / 1.22; }
.farfurie { position: absolute; left: 12%; right: -4%; top: 22%; aspect-ratio: 1; border-radius: 50%; background: var(--c-tileLunch); }
.farfurie::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 2px dashed var(--c-cta); opacity: 0.45; }
.erou-scena .telefon { position: absolute; }
.erou-scena .fata { width: 58%; left: 8%; top: 0; z-index: 2; rotate: -3deg; }
.erou-scena .spate { width: 48%; right: 2%; top: 13%; z-index: 1; rotate: 7deg; }
@media (min-width: 960px) {
  .erou-grid { grid-template-columns: 1.05fr 0.95fr; gap: 32px; }
}
@media (max-width: 599px) {
  .erou-scena { aspect-ratio: 1 / 1.62; }
  .erou-scena .fata { width: 70%; left: 0; }
  .erou-scena .spate { width: 56%; right: -2%; top: 15%; }
  .farfurie { left: 6%; right: -10%; top: 24%; }
  .duo-scena { aspect-ratio: 1 / 1.48; }
  .duo-scena .telefon { width: 64%; }
}

/* ---------- cifrele catalogului ---------- */
.cifre { background: var(--c-primary); color: var(--c-inkInverse); padding-block: clamp(40px, 6vw, 64px); }
.cifre-lista { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; padding: 0; }
.cifre-lista li { display: flex; flex-direction: column; gap: 4px; padding-inline: clamp(8px, 3vw, 40px); border-left: 2px dotted var(--pe-verde-linie); }
.cifre-lista li:first-child { border-left: 0; padding-left: 0; }
.cifre-lista b { font: 800 clamp(2.5rem, 1rem + 7.6vw, 6.5rem)/0.95 var(--f-display); letter-spacing: -0.05em; font-variant-numeric: tabular-nums lining-nums; }
.cifre-lista span { font: 700 clamp(0.9375rem, 0.85rem + 0.5vw, 1.25rem)/1.25 var(--f-body); }
.cifre-nota { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--pe-verde-linie); font-size: 0.9375rem; }

/* ---------- cum functioneaza ---------- */
.pasi { display: grid; gap: 20px; list-style: none; padding: 0; margin-top: clamp(40px, 6vw, 64px); }
.pas { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-xxl); overflow: hidden; box-shadow: var(--s-low); display: flex; flex-direction: column; }
.pas-vizual { position: relative; height: 300px; overflow: hidden; display: grid; place-items: center; padding: 24px; }
.vizual-1 { background: var(--c-tileBreakfast); place-items: start center; padding-bottom: 0; }
.vizual-2 { background: var(--c-tileLunch); }
.vizual-3 { background: var(--c-tileDinner); }
.telefon.taiat { width: 66%; max-width: 250px; margin-top: 8px; }
.pas-text { padding: 24px 26px 30px; }
.pas-nr { display: block; font: 800 3.25rem/1 var(--f-display); color: var(--c-ctaStrong); letter-spacing: -0.04em; }
.pas h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.15; letter-spacing: -0.015em; margin-top: 10px; }
.pas-text p { color: var(--c-inkMuted); margin-top: 10px; }
@media (min-width: 900px) { .pasi { grid-template-columns: repeat(3, 1fr); } .pas-vizual { height: 340px; } }

/* cartile desenate (aceleasi forme ca in aplicatie) */
.carte { width: 100%; max-width: 300px; background: var(--c-surface); border-radius: var(--r-xl); box-shadow: var(--s-high); padding: 18px; }
.carte-titlu { display: flex; align-items: center; gap: 8px; font: 700 0.6875rem/1.2 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-inkMuted); }
.carte-titlu svg { width: 16px; height: 16px; }
.mese { list-style: none; padding: 0; margin-top: 12px; display: grid; gap: 10px; }
.mese li { display: flex; align-items: center; gap: 12px; }
.placa { width: 46px; height: 46px; border-radius: var(--r-md); display: grid; place-items: center; font-size: 1.375rem; flex: none; }
.placa.mic { background: var(--c-tileBreakfast); }
.placa.pranz { background: var(--c-tileLunch); }
.placa.cina { background: var(--c-tileDinner); }
.mese small { display: block; font: 700 0.6875rem/1.2 var(--f-body); letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-inkMuted); }
.mese b { display: block; font: 700 0.9375rem/1.25 var(--f-body); }
.schimba { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 8px 14px; border-radius: var(--r-pill); background: var(--c-primary); color: var(--c-onPrimary); font: 700 0.875rem/1 var(--f-body); }
.schimba svg { width: 16px; height: 16px; }
.raion { font: 700 0.8125rem/1.2 var(--f-body); color: var(--c-primary); margin-top: 14px; }
.produse { list-style: none; padding: 0; margin-top: 8px; display: grid; gap: 8px; }
.produse li { display: flex; align-items: center; gap: 10px; font: 600 0.9375rem/1.2 var(--f-body); }
.produse .bifa { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--c-lineStrong); display: grid; place-items: center; flex: none; color: var(--c-onPrimary); }
.produse .bifa svg { width: 14px; height: 14px; opacity: 0; }
.produse .cant { margin-left: auto; font-weight: 600; font-size: 0.8125rem; color: var(--c-inkMuted); white-space: nowrap; }
.produse li.da .bifa { background: var(--c-primary); border-color: var(--c-primary); }
.produse li.da .bifa svg { opacity: 1; }
.produse li.da .nume { color: var(--c-inkMuted); background: linear-gradient(currentColor, currentColor) no-repeat 0 55% / 100% 2px; }

/* ---------- sectiuni cu doi telefoane ---------- */
.duo { display: grid; gap: clamp(48px, 7vw, 80px); align-items: center; }
.duo-scena { position: relative; width: 100%; max-width: 500px; margin-inline: auto; aspect-ratio: 1 / 1.36; }
.duo-scena .telefon { position: absolute; width: 58%; }
.duo-scena .stanga { left: 0; top: 0; rotate: -4deg; z-index: 1; }
.duo-scena .dreapta { right: 0; top: 10%; rotate: 4deg; z-index: 2; }
@media (min-width: 900px) {
  .duo { grid-template-columns: 1fr 1fr; }
  .duo.invers .duo-text { order: 2; }
}
.sarbatori { background: var(--c-tileLunch); }
.sarbatori .supra { background: var(--c-surface); color: var(--c-ctaStrong); }
.sarbatori .cap-p, .sarbatori .bife { color: var(--c-ink); }
.sarbatori .bife svg { background: var(--c-post); color: var(--c-onPrimary); }

/* ---------- impreuna ---------- */
.impreuna { background: var(--c-primary); color: var(--c-inkInverse); }
.impreuna .supra { background: var(--pe-verde-slab); color: var(--c-inkInverse); }
.impreuna .cap-p { color: var(--c-inkInverse); }
.mozaic { display: grid; gap: 16px; margin-top: clamp(40px, 6vw, 64px); }
.placa-imp { background: var(--c-surface); color: var(--c-ink); border-radius: var(--r-xl); padding: 22px; box-shadow: var(--s-high); }
.imp-text { font: 700 1.125rem/1.35 var(--f-display); margin-top: 12px; }
.imp-link { display: inline-block; margin-top: 12px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--c-surfaceSunken); color: var(--c-inkMuted); font-size: 0.875rem; font-weight: 600; }
.imp-buton { margin-top: 16px; display: flex; justify-content: center; align-items: center; min-height: 48px; border-radius: var(--r-lg); background: var(--c-cta); color: var(--c-onCta); font-weight: 700; box-shadow: var(--s-cta); }
.vot ul, .aduce ul { list-style: none; padding: 0; margin-top: 14px; display: grid; gap: 12px; }
.vot-rand { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; font-size: 0.9375rem; }
.vot-rand b { font: 800 1rem/1.2 var(--f-display); }
.bara { display: block; height: 10px; margin-top: 6px; border-radius: var(--r-pill); background: var(--c-surfaceSunken); overflow: hidden; }
.bara-plin { display: block; height: 100%; border-radius: inherit; background: var(--c-lineStrong); }
.castiga .bara-plin { background: var(--c-cta); }
.w1 { width: 25%; } .w2 { width: 50%; } .w3 { width: 75%; } .w4 { width: 100%; }
.lista-comuna .produse { margin-top: 14px; gap: 12px; }
.cine { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 800 0.8125rem/1 var(--f-display); flex: none; }
.cine-a, .av2 { background: var(--c-tileLunch); color: var(--c-warn); }
.cine-m, .av1 { background: var(--c-tileBreakfast); color: var(--c-holiday); }
.av0 { background: var(--c-postSoft); color: var(--c-post); }
.aduce li { display: flex; align-items: center; gap: 12px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 1rem/1 var(--f-display); flex: none; }
.aduce small { display: block; font-size: 0.8125rem; color: var(--c-inkMuted); font-weight: 600; }
.aduce b { display: block; font-weight: 700; }
.imp-nota { margin-top: 28px; display: inline-flex; padding: 10px 16px; border-radius: var(--r-pill); border: 1.5px solid var(--pe-verde-linie); font-weight: 600; }
@media (min-width: 640px) { .mozaic { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
  .mozaic { grid-template-columns: repeat(4, 1fr); align-items: start; }
  .mozaic .placa-imp:nth-child(even) { margin-top: 40px; }
}

/* ---------- pretul, pe fata ---------- */
.pret { background: var(--c-surfaceSunken); }
.bon {
  position: relative; width: 100%; max-width: 420px; justify-self: center;
  background: var(--c-surface); padding: 32px 28px; border-radius: var(--r-sm) var(--r-sm) 0 0;
  filter: drop-shadow(0 18px 26px color-mix(in srgb, var(--c-ink) 18%, transparent));
  margin-bottom: 10px; rotate: 1.5deg;
}
.bon::after {
  content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px;
  background: conic-gradient(from -45deg at 50% 100%, var(--c-surface) 90deg, transparent 0) 0 0 / 20px 10px repeat-x;
}
.bon h3 { font: 700 0.75rem/1.2 var(--f-body); letter-spacing: 0.14em; text-transform: uppercase; color: var(--c-inkMuted); text-align: center; }
.bon dl { margin-top: 18px; }
.bon .rand { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-block: 9px; }
.bon dt { font-weight: 600; }
.bon dd { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bon .linie { border-top: 2px dashed var(--c-line); margin-block: 10px; }
.bon .total dt { font-weight: 700; font-size: 1.0625rem; }
.bon .total dd { font: 800 2.25rem/1 var(--f-display); color: var(--c-primary); letter-spacing: -0.02em; }
.bon .apoi dt { font-weight: 600; color: var(--c-inkMuted); font-size: 0.9375rem; max-width: 24ch; }
.bon .apoi dd { font: 800 1.5rem/1 var(--f-display); color: var(--c-ctaStrong); }
.stampila {
  display: block; width: max-content; margin: 22px auto 0; transform: rotate(-6deg);
  border: 2.5px solid var(--c-primary); color: var(--c-primary); border-radius: var(--r-sm);
  padding: 7px 14px; font: 800 0.9375rem/1 var(--f-display); letter-spacing: 0.08em; text-transform: uppercase;
}

/* ---------- povestea ---------- */
.poveste-grid { display: grid; gap: 32px; }
.poveste h2 { font-size: clamp(2.75rem, 1.2rem + 6.4vw, 6rem); letter-spacing: -0.045em; line-height: 0.98; margin-top: 20px; color: var(--c-ctaStrong); }
.poveste-text { max-width: 40rem; display: grid; gap: 18px; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); }
.poveste-text p:first-child { font: 700 clamp(1.25rem, 1.05rem + 0.9vw, 1.625rem)/1.4 var(--f-display); letter-spacing: -0.01em; }
.poveste .pofta { font: 800 1.75rem/1.2 var(--f-display); color: var(--c-primary); margin-top: 8px; }
.poveste .semnatura { color: var(--c-inkMuted); font-weight: 600; margin-top: -10px; }
@media (min-width: 900px) { .poveste-grid { grid-template-columns: 0.9fr 1.1fr; gap: 64px; } .poveste-cap { position: sticky; top: 120px; align-self: start; } }

/* ---------- intrebari + contact ---------- */
.intrebari-sectiune { padding-top: 0; }
.intrebari-grid { display: grid; gap: 24px; margin-top: 40px; }
.intrebari { display: grid; gap: 10px; }
.intrebare { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.intrebare summary {
  list-style: none; cursor: pointer; min-height: 60px; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 20px; font: 700 1.0625rem/1.35 var(--f-body); border-radius: var(--r-lg);
}
.intrebare summary::-webkit-details-marker { display: none; }
.intrebare summary:hover { color: var(--c-primary); }
.intrebare .raspuns { padding: 0 20px 20px; color: var(--c-inkMuted); }
.intrebare .raspuns p + p { margin-top: 10px; }
.intrebare[open] { box-shadow: var(--s-mid); }
.cuprins-ingust summary::after, .intrebare summary::after {
  content: ""; width: 10px; height: 10px; flex: none; margin-left: 16px;
  border-right: 2.5px solid var(--c-primary); border-bottom: 2.5px solid var(--c-primary);
  transform: translateY(-25%) rotate(45deg);
}
.cuprins-ingust[open] summary::after, .intrebare[open] summary::after { transform: translateY(25%) rotate(225deg); }
.scrie-ne { background: var(--c-tileBreakfast); border-radius: var(--r-xxl); padding: 28px; display: grid; gap: 10px; align-self: start; justify-items: start; }
.scrie-ico { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--c-surface); color: var(--c-holiday); display: grid; place-items: center; }
.scrie-ico svg { width: 26px; height: 26px; }
.scrie-ne h2 { font-size: 1.75rem; margin-top: 6px; }
.scrie-ne .email { font: 800 clamp(1.25rem, 1.05rem + 1vw, 1.5rem)/1.2 var(--f-display); color: var(--c-ink); overflow-wrap: anywhere; display: inline-flex; align-items: center; min-height: 44px; }
.scrie-ne .email:hover { color: var(--c-primary); }
.scrie-ne .mic { font-size: 0.9375rem; color: var(--c-holiday); font-weight: 600; }
@media (min-width: 960px) { .intrebari-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; } .scrie-ne { position: sticky; top: 112px; } }

/* ---------- chemare finala ---------- */
.chemare { background: var(--c-primary); color: var(--c-inkInverse); padding-block: clamp(56px, 8vw, 96px); }
.chemare-grid { display: grid; gap: 28px; align-items: center; }
.chemare h2 { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.5rem); letter-spacing: -0.035em; }
.chemare p { margin-top: 14px; font-size: 1.125rem; }
.chemare a { color: var(--c-inkInverse); font-weight: 700; overflow-wrap: anywhere; }
.chemare :focus-visible { outline-color: var(--c-inkInverse); }
.magazine.pe-verde { margin-top: 0; }
.pe-verde .magazin { background: var(--c-bg); color: var(--c-ink); }
@media (min-width: 900px) { .chemare-grid { grid-template-columns: 1.2fr auto; } .pe-verde .magazin { flex-basis: 200px; } }

/* ---------- subsol ---------- */
.subsol { background: var(--c-surfaceSunken); }
.subsol .wrap { padding-block: 40px 36px; display: grid; gap: 24px; }
.subsol .logo img { height: 28px; }
.subsol .slogan { color: var(--c-inkMuted); margin-top: 8px; max-width: 32ch; }
.subsol nav ul { display: flex; flex-wrap: wrap; gap: 0 4px; list-style: none; padding: 0; margin-left: -10px; }
.subsol nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--c-ink); font-weight: 600; text-decoration: none; border-radius: var(--r-sm); }
.subsol nav a:hover { text-decoration: underline; }
.subsol .jos { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 0.875rem; color: var(--c-inkMuted); border-top: 1px solid var(--c-line); padding-top: 20px; }
.subsol .jos .fara { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--c-ink); }
.subsol .jos svg { width: 16px; height: 16px; color: var(--c-success); }
@media (min-width: 900px) { .subsol .wrap { grid-template-columns: 1fr auto; align-items: start; } .subsol .jos { grid-column: 1 / -1; } }

/* ---------- paginile legale ---------- */
.pagina .wrap { padding-block: clamp(32px, 5vw, 64px) clamp(64px, 9vw, 112px); }
.pagina-cap { max-width: var(--text); }
.inapoi { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; text-decoration: none; }
.pagina-cap h1 { font-size: clamp(2.375rem, 1.5rem + 3.6vw, 4rem); letter-spacing: -0.04em; margin-top: 12px; }
.document { display: grid; gap: 32px; margin-top: 40px; }
@media (min-width: 960px) {
  .document { grid-template-columns: 248px minmax(0, var(--text)); gap: 64px; }
  .document.fara-cuprins { grid-template-columns: minmax(0, var(--text)); }
}
.cuprins { font-size: 0.9375rem; }
.cuprins-lat { display: none; }
@media (min-width: 960px) {
  .cuprins-lat { display: block; position: sticky; top: 112px; align-self: start; }
  .cuprins-ingust { display: none; }
}
.cuprins h2, .cuprins summary { font: 700 0.75rem/1.2 var(--f-body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-inkMuted); }
.cuprins ol { list-style: none; padding: 0; margin-top: 10px; border-left: 2px solid var(--c-line); }
.cuprins li a { display: flex; align-items: center; min-height: 44px; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--c-ink); text-decoration: none; line-height: 1.3; }
.cuprins li a:hover { border-left-color: var(--c-primary); color: var(--c-primary); }
.cuprins-ingust { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--r-lg); }
.cuprins-ingust summary { list-style: none; cursor: pointer; min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; border-radius: var(--r-lg); }
.cuprins-ingust summary::-webkit-details-marker { display: none; }
.cuprins-ingust ol { margin: 0 18px 14px; }
.continut { max-width: var(--text); }
.continut > p { margin-top: 18px; }
.continut > p:first-child { margin-top: 0; }
.continut h2 { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.75rem); letter-spacing: -0.02em; margin-top: 44px; scroll-margin-top: 112px; }
.continut h2 + p { margin-top: 12px; }
.continut .intro { font-size: 1.125rem; background: var(--c-primarySoft); color: var(--c-onPrimarySoft); border-radius: var(--r-lg); padding: 20px 22px; }
.continut .intro a { color: inherit; }
.continut .actualizat { font-size: 0.875rem; color: var(--c-inkMuted); margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--c-line); }
.continut .in-lucru { font-size: 0.875rem; color: var(--c-inkMuted); margin-top: 6px; }
.continut a { overflow-wrap: anywhere; }

/* ---------- invitatie + 404: un singur card, centrat ---------- */
.singur .wrap { min-height: 62vh; display: grid; align-items: center; }
.card-mare { max-width: 600px; margin-inline: auto; text-align: center; display: grid; gap: 18px; justify-items: center; }
.card-mare h1 { font-size: clamp(2.125rem, 1.5rem + 3vw, 3.25rem); letter-spacing: -0.035em; }
.card-mare .lead { margin-top: 0; max-width: 40ch; }
.card-mare .magazine { justify-content: center; margin-top: 4px; width: 100%; }
.card-mare .magazin { text-align: left; }
.icoana { width: 96px; height: 96px; border-radius: 26px; background: var(--c-surface); box-shadow: var(--s-mid); display: grid; place-items: center; }
.icoana img { width: 60px; height: 60px; }
.buton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px;
  border-radius: var(--r-lg); background: var(--c-cta); color: var(--c-onCta); font: 700 1.0625rem/1 var(--f-body);
  text-decoration: none; box-shadow: var(--s-cta);
}
.buton:hover { background: var(--c-ctaPressed); color: var(--c-onCta); }
.buton[hidden] { display: none; }
.separator { width: 100%; max-width: 360px; display: flex; align-items: center; gap: 12px; color: var(--c-inkMuted); font-size: 0.875rem; font-weight: 600; }
.separator::before, .separator::after { content: ""; flex: 1; border-top: 1px solid var(--c-line); }
.mesaj { background: var(--c-warnSoft); color: var(--c-warn); border-radius: var(--r-md); padding: 12px 16px; font-weight: 600; }
.mesaj[hidden] { display: none; }
.en-dedesubt { margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--c-line); color: var(--c-inkMuted); font-size: 0.9375rem; max-width: 46ch; }

/* ---------- miscare: doar daca utilizatorul nu a cerut „reduce motion”, fara JavaScript ---------- */
@media (prefers-reduced-motion: no-preference) {
  .erou-scena .fata { animation: urca 760ms var(--ease) 80ms both; }
  .erou-scena .spate { animation: urca 760ms var(--ease) 220ms both; }
  .farfurie { animation: creste 900ms var(--ease) both; }
  .intrebare summary::after, .cuprins-ingust summary::after { transition: transform 200ms var(--ease); }
  .magazin, .limba, .nav a { transition: background-color 160ms var(--ease), color 160ms var(--ease); }

  /* la derulare (Chrome / Edge / Safari noi); in rest, totul e deja vizibil */
  @supports (animation-timeline: view()) {
    .pas, .duo-scena .telefon, .placa-imp, .bon, .cifre-lista li {
      animation: urca-scroll linear both; animation-timeline: view(); animation-range: entry 0% entry 70%;
    }
    .duo-scena .dreapta, .mozaic .placa-imp:nth-child(2), .pas:nth-child(2) { animation-range: entry 10% entry 80%; }
    .mozaic .placa-imp:nth-child(3), .pas:nth-child(3) { animation-range: entry 20% entry 90%; }
    .vizual-3 .da .nume { animation: taie linear both; animation-timeline: view(); animation-range: entry 60% cover 45%; }
    .vizual-3 .da .bifa { animation: bifeaza linear both; animation-timeline: view(); animation-range: entry 50% cover 40%; }
    .castiga .bara-plin, .vot .bara-plin { animation: umple linear both; animation-timeline: view(); animation-range: entry 40% cover 40%; }
  }
}
@keyframes urca { from { opacity: 0; translate: 0 28px; } to { opacity: 1; translate: 0 0; } }
@keyframes urca-scroll { from { opacity: 0; translate: 0 48px; } to { opacity: 1; translate: 0 0; } }
@keyframes creste { from { opacity: 0; scale: 0.85; } to { opacity: 1; scale: 1; } }
@keyframes taie { from { background-size: 0 2px; color: var(--c-ink); } to { background-size: 100% 2px; } }
@keyframes bifeaza { from { background: transparent; border-color: var(--c-lineStrong); } to { background: var(--c-primary); border-color: var(--c-primary); } }
@keyframes umple { from { scale: 0 1; } to { scale: 1 1; } }
.bara-plin { transform-origin: left center; }

@media print {
  .antet .nav, .limba, .stergar, .subsol nav, .cuprins, .magazine, .erou-scena, .duo-scena, .mozaic { display: none !important; }
  body { background: #fff; color: #000; }
  .cifre, .impreuna, .chemare, .sarbatori, .pret { background: none; color: #000; }
}
