/* FotoBucurie – Cadouri sub brad · Crăciun 2026
   Design original. Fonturi găzduite local (SIL OFL), cu diacritice românești ș, ț, ă, â, î. */

@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/playfair-display-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/playfair-display-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/playfair-display-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/playfair-display-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/source-sans-3-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/fonts/source-sans-3-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/source-sans-3-latin-ext-600-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/fonts/source-sans-3-latin-600-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/source-sans-3-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Source Sans 3"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(/fonts/source-sans-3-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --green-950: #06140d;
  --green-900: #0a1f15;
  --green-800: #0f2b1d;
  --green-700: #164030;
  --cream: #fbf5e9;
  --cream-dim: #e3d8c2;
  --cream-mute: #c4b89f;
  --ink: #2a1d14;
  --ink-soft: #5a4636;
  --red: #c0282f;
  --red-deep: #8e1b22;
  --wine: #6d1a26;
  --gold: #d9b46a;
  --gold-bright: #f0d28c;
  --gold-deep: #9a7330;
  --wa: #17784a;
  --wa-dark: #11603a;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--cream);
  background: var(--green-900);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-bright); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 3px; border-radius: 6px; }
button { font: inherit; }
h1, h2 { font-family: var(--serif); font-weight: 600; }

/* ------------------------------------------------------------------ fundal */
.page-lp {
  background:
    radial-gradient(120% 60% at 50% 18%, #1b4b33 0%, rgba(15, 43, 29, 0) 62%),
    radial-gradient(80% 50% at 50% 100%, #0c2418 0%, var(--green-950) 100%),
    var(--green-900);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
}
.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(3px 3px at 12% 22%, rgba(240, 210, 140, .35), transparent 70%),
    radial-gradient(2px 2px at 82% 14%, rgba(240, 210, 140, .4), transparent 70%),
    radial-gradient(4px 4px at 90% 48%, rgba(240, 210, 140, .18), transparent 70%),
    radial-gradient(3px 3px at 6% 64%, rgba(240, 210, 140, .2), transparent 70%),
    radial-gradient(40% 30% at 50% 46%, rgba(255, 214, 140, .10), transparent 70%);
}
.snow { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }

/* ------------------------------------------------------------------ previzualizare */
.preview-bar {
  position: relative; z-index: 20;
  display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: center; justify-content: center;
  padding: 8px 16px; font-size: .88rem; line-height: 1.35;
  background: var(--gold-bright); color: var(--ink);
}
.preview-bar a { color: var(--ink); font-weight: 600; }
.preview-bar button {
  border: 1px solid var(--ink); background: transparent; color: var(--ink);
  border-radius: 999px; padding: 3px 10px; cursor: pointer; font-size: .85rem;
}

/* ------------------------------------------------------------------ conținut */
.lp {
  position: relative; z-index: 1;
  width: 100%; max-width: 600px; margin: 0 auto;
  padding: 4px 16px 8px;
}
.lp-head { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 4px; text-align: center; }
.brand-link { color: var(--cream); text-decoration: none; }
.brand-logo { display: block; line-height: 0; }
.brand-logo img { display: block; width: auto; height: 46px; aspect-ratio: 600 / 248; }
.lp-head .brand-logo img { height: clamp(72px, 23vw, 92px); }

/* „—— CRĂCIUN 2026 ——” */
.badge-line {
  display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0;
  font-size: .86rem; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: var(--gold);
}
.badge-line span { margin-right: -.34em; } /* compensează spațierea după ultima literă */
.badge-line::before, .badge-line::after { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .85; }

/* recenzii Google (brand proof) */
.g-proof {
  display: inline-flex; align-items: center; gap: 12px; margin: 4px 0 0; padding: 8px 18px 8px 14px;
  border: 1.5px solid rgba(217, 180, 106, .8); border-radius: 999px;
  background: rgba(6, 20, 13, .35); color: var(--cream); text-decoration: none; text-align: left;
  transition: border-color .2s ease, background .2s ease;
}
a.g-proof:hover { color: var(--cream); border-color: var(--gold-bright); background: rgba(6, 20, 13, .55); }
.g-logo { display: block; height: 22px; width: auto; }
.g-proof:not(.has-logo) { padding: 8px 20px; }
.g-proof:not(.has-logo) .g-text { align-items: center; text-align: center; }
.g-sep { align-self: stretch; width: 1px; background: rgba(217, 180, 106, .6); }
.g-text { display: flex; flex-direction: column; font-size: .88rem; line-height: 1.25; }
.g-text strong { color: var(--gold-bright); font-weight: 700; }
@media (max-width: 359px) {
  .g-proof { gap: 8px; padding: 7px 12px 7px 10px; }
  .g-logo { height: 18px; }
  .g-text { font-size: .8rem; }
}
.brand-link { display: inline-block; border-radius: 6px; }
.badge {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-bright); padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(217, 180, 106, .55); background: rgba(217, 180, 106, .08);
  white-space: nowrap;
}

.hero { text-align: center; padding: 18px 4px 4px; }
.hero h1 {
  margin: 0 auto; max-width: 15ch;
  font-size: clamp(2.15rem, 9.2vw, 3.5rem); line-height: 1.06; letter-spacing: -.01em;
  text-wrap: balance;
  color: var(--cream);
  text-shadow: 0 2px 30px rgba(0, 0, 0, .35);
}
.lead { margin: 14px auto 0; max-width: 34ch; color: var(--cream-dim); font-size: 1.08rem; text-wrap: pretty; }
.notice {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 16px auto 0; padding: 7px 14px; border-radius: 999px;
  font-size: .94rem; font-weight: 600; color: var(--gold-bright);
  background: rgba(10, 31, 21, .65); border: 1px dashed rgba(217, 180, 106, .55);
}
.notice svg { width: 14px; height: 14px; flex: none; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding: 0; margin: 12px 0 0; }
.chips li {
  font-size: .9rem; padding: 5px 12px; border-radius: 999px;
  background: rgba(251, 245, 233, .08); border: 1px solid rgba(251, 245, 233, .18);
}
.chips span { color: var(--gold); font-weight: 600; margin-right: 4px; }

/* ------------------------------------------------------------------ brad + cadouri */
.stage { position: relative; margin: 6px auto 0; max-width: 520px; }
.tree-wrap { width: 76%; max-width: 380px; margin: 0 auto; }
.tree { display: block; width: 100%; height: auto; overflow: visible; }
.light { fill: #ffe9b0; }
.lights .l1 { fill: #ffd2a0; }
.lights .l2 { fill: #fff4d6; }
.lights .l3 { fill: #ffc98a; }
@media (prefers-reduced-motion: no-preference) {
  .light { animation: twinkle 3.2s ease-in-out infinite; }
  .lights .l1 { animation-delay: -.8s; }
  .lights .l2 { animation-delay: -1.6s; animation-duration: 2.6s; }
  .lights .l3 { animation-delay: -2.3s; animation-duration: 3.8s; }
  .star-halo { animation: halo 4s ease-in-out infinite; transform-origin: 160px 36px; }
}
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes halo { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }

.gifts {
  position: relative; width: 100%;
  aspect-ratio: 100 / 38;
  margin-top: -21%;
}
.gift {
  position: absolute; aspect-ratio: 1; padding: 0; margin: 0;
  border: 0; background: none; cursor: pointer; color: inherit;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  border-radius: 14px;
}
.gift-pos-1 { left: 1%;  bottom: 0;   width: 24%; z-index: 3; }
.gift-pos-2 { left: 20%; bottom: 31%; width: 21%; z-index: 1; }
.gift-pos-3 { left: 38%; bottom: -3%; width: 24%; z-index: 4; }
.gift-pos-4 { left: 59%; bottom: 31%; width: 21%; z-index: 1; }
.gift-pos-5 { left: 75%; bottom: 0;   width: 24%; z-index: 3; }
.gift:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; z-index: 6; }
.gift-svg { display: block; width: 100%; height: 100%; overflow: visible; }

.gift--red     { --b: #bb2530; --bd: #7e141b; --bl: #d6454c; --r: #ecc97e; --rd: #b38a3e; }
.gift--cream   { --b: #efe3cb; --bd: #c3b08a; --bl: #fffaf0; --r: #c0282f; --rd: #86171d; }
.gift--gold    { --b: #d2a64c; --bd: #977027; --bl: #ecca7c; --r: #7a1c29; --rd: #4f0f18; }
.gift--emerald { --b: #2f805a; --bd: #1a5038; --bl: #45a072; --r: #ecc97e; --rd: #b38a3e; }
.gift--wine    { --b: #7f1e2d; --bd: #52111a; --bl: #a0303f; --r: #f5ecda; --rd: #cdbb98; }
.g-front { fill: var(--b); }
.g-side { fill: var(--bd); }
.g-lid-front { fill: var(--b); }
.g-lid-top { fill: var(--bl); }
.g-lid-side { fill: var(--bd); }
.g-rib { fill: var(--r); }
.g-rib-d { fill: var(--rd); }
.g-shine { fill: #fff; opacity: .13; }
.g-shadow { fill: #000; opacity: .38; }
.g-glow { opacity: 0; fill: #ffe39a; }
.g-glow circle { filter: blur(9px); }
.g-lid, .g-body, .g-glow { transform-box: view-box; }
.g-lid { transform-origin: 53px 34px; transition: transform .6s cubic-bezier(.2, .9, .25, 1.25); }
.g-glow { transform-origin: 50px 44px; transition: opacity .5s ease, transform .6s ease; transform: scale(.6); }

@media (hover: hover) {
  .gift:not(.is-open):not([disabled]):hover .gift-svg { transform: translateY(-5px); }
}
.gift .gift-svg { transition: transform .25s ease; }
@media (prefers-reduced-motion: no-preference) {
  .gifts.is-idle .gift:not(.is-open):not([disabled]) .gift-svg { animation: hint 7s ease-in-out infinite; transform-origin: 50% 90%; }
  .gifts.is-idle .gift-pos-2 .gift-svg { animation-delay: 1.4s; }
  .gifts.is-idle .gift-pos-3 .gift-svg { animation-delay: 2.8s; }
  .gifts.is-idle .gift-pos-4 .gift-svg { animation-delay: 4.2s; }
  .gifts.is-idle .gift-pos-5 .gift-svg { animation-delay: 5.6s; }
  .gift.is-opening .gift-svg { animation: shake .45s ease-in-out infinite; transform-origin: 50% 90%; }
}
@keyframes hint { 0%, 86%, 100% { transform: rotate(0); } 89% { transform: rotate(-4deg); } 92% { transform: rotate(4deg); } 95% { transform: rotate(-2deg); } }
@keyframes shake { 0%, 100% { transform: rotate(0) scale(1.02); } 25% { transform: rotate(-5deg) scale(1.04); } 75% { transform: rotate(5deg) scale(1.04); } }

.gift.is-open .g-lid { transform: translate(8px, -30px) rotate(-16deg); }
.gift.is-open .g-glow { opacity: .9; transform: scale(1.15); }
.gift.is-example .g-glow { opacity: .4; }
.gift.is-open { cursor: pointer; }

.gift-tag {
  position: absolute; left: 50%; top: -6%; transform: translate(-50%, -40%);
  white-space: nowrap; pointer-events: none;
  font-weight: 700; font-size: clamp(.72rem, 3.2vw, .92rem); line-height: 1.15;
  padding: 4px 9px; border-radius: 999px;
  opacity: 0; transition: opacity .35s ease .35s;
}
.gift.is-open .gift-tag { opacity: 1; }
.gift.is-mine .gift-tag { background: var(--gold-bright); color: var(--ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); }
.gift.is-example .gift-tag {
  background: rgba(10, 31, 21, .85); color: var(--cream); border: 1px solid rgba(251, 245, 233, .45); font-weight: 600;
}
.gift-tag small { display: block; font-size: .72em; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .8; }

/* campania reală: cadoul cu reducerea (auriu) ≠ surprizele informative (verde-crem, fără valori) */
.gift.has-surprise .gift-tag {
  opacity: 1; background: rgba(10, 31, 21, .82); color: var(--cream);
  border: 1px dashed rgba(240, 210, 140, .75); font-weight: 600; padding: 3px 10px;
}
.gift.has-surprise .gift-tag .tag-q { display: block; font-family: var(--serif); font-size: 1.15em; line-height: 1; color: var(--gold-bright); }
.gift.is-surprise .gift-tag { background: var(--green-700); border: 1px solid var(--gold-bright); color: var(--cream); }
.gift.is-surprise .gift-tag .tag-emoji { display: block; font-size: 1.25em; line-height: 1.1; }
.gift.is-surprise .g-glow { opacity: .45; fill: #cfe8c9; }
.gift.is-surprise:not(:hover) .gift-svg { filter: saturate(.8); }
.gift.is-deco { cursor: default; opacity: .8; }


.instruction {
  position: relative; z-index: 1; text-align: center; margin: 14px 0 0;
  font-family: var(--serif); font-size: 1.22rem; color: var(--gold-bright);
}
.status-msg:empty { display: none; }
.status-msg {
  position: relative; z-index: 1;
  margin: 14px auto 0; max-width: 440px; text-align: center;
  padding: 12px 16px; border-radius: 14px;
  background: rgba(10, 31, 21, .8); border: 1px solid rgba(217, 180, 106, .45);
}
.examples-note {
  margin: 14px auto 0; max-width: 460px; text-align: center; font-size: .95rem; color: var(--cream-dim);
  padding: 10px 14px; border-radius: 12px; background: rgba(251, 245, 233, .06); border: 1px solid rgba(251, 245, 233, .14);
}

/* ------------------------------------------------------------------ card voucher (dialog + pagină) */
.voucher-card {
  position: relative;
  background:
    radial-gradient(90% 50% at 50% 0%, #fffdf8 0%, rgba(255, 253, 248, 0) 70%),
    linear-gradient(180deg, #fdf8ee 0%, var(--cream) 100%);
  color: var(--ink);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
/* a doua margine aurie, fină, în interior */
.voucher-card::before {
  content: ""; position: absolute; inset: 6px; pointer-events: none;
  border: 1px solid rgba(217, 180, 106, .55); border-radius: calc(var(--radius) - 5px);
}
.v-orn { position: absolute; top: 10px; width: 38px; height: 38px; pointer-events: none; opacity: .9; }
.reveal-card .v-orn--r { display: none; } /* în dialog, colțul din dreapta e al butonului de închidere */
.v-orn--l { left: 10px; }
.v-orn--r { right: 10px; transform: scaleX(-1); }
.v-seal {
  position: relative; display: inline-grid; place-items: center;
  width: 76px; height: 76px; margin: 0 auto; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fbe7b4 0%, var(--gold) 55%, #b78d3f 100%);
  color: #4a3410; box-shadow: 0 6px 16px rgba(120, 85, 20, .28), inset 0 0 0 3px rgba(255, 246, 220, .55);
  font-family: var(--serif); font-weight: 700; font-size: .8rem; line-height: 1; letter-spacing: .02em;
  align-content: center; gap: 1px; padding-bottom: 2px;
}
.v-seal::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed rgba(74, 52, 16, .45); }
.v-seal span { display: block; }
.v-seal .v-seal-star { font-size: .62rem; line-height: 1; color: #7a5a1c; }
.voucher-kicker { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep); }
.voucher-title { margin: 8px 0 0; font-size: clamp(1.35rem, 5.6vw, 1.8rem); line-height: 1.12; color: var(--ink); }
.voucher-title .amt { display: block; font-size: 1.75em; line-height: 1.02; color: var(--red-deep); }
.v-expiry { margin: 8px 0 0; font-size: .95rem; font-weight: 600; color: var(--ink); }
.v-details { margin-top: 14px; padding-top: 10px; border-top: 1px solid rgba(217, 180, 106, .45); }
.v-details .voucher-conds { margin-top: 0; }
.code-box {
  margin: 14px auto 0; padding: 10px 14px; max-width: 300px;
  border: 2px dashed var(--gold); border-radius: 14px; background: #fffaf0;
}
.code-label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.code {
  display: block; margin-top: 2px;
  font-weight: 700; font-size: 1.45rem; letter-spacing: .08em; font-variant-numeric: tabular-nums;
  color: var(--ink); user-select: all; word-break: break-all;
}
.voucher-status { display: inline-block; margin-top: 10px; font-size: .85rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.voucher-status--expired { background: #f3d9d9; color: #7a1c1c; }
.voucher-status--used { background: #e2e8df; color: #2f4a33; }
.voucher-conds { list-style: none; padding: 0; margin: 14px 0 0; font-size: .88rem; line-height: 1.4; color: var(--ink-soft); }
.voucher-conds li { margin: 3px 0; }
.voucher-continue { margin: 12px 0 0; font-size: .98rem; line-height: 1.45; text-wrap: pretty; }
.voucher-demo { margin: 10px 0 0; font-size: .82rem; color: var(--red-deep); font-weight: 600; }
.v-nogoals { margin: 10px auto 0; max-width: 32ch; font-size: .86rem; color: var(--ink-soft); font-style: italic; }

.btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 54px; margin-top: 12px; padding: 12px 18px;
  border-radius: 14px; border: 0; text-decoration: none; cursor: pointer;
  font-weight: 700; font-size: 1.06rem; line-height: 1.2;
  color: #fff; background: var(--wa);
  box-shadow: 0 10px 24px rgba(23, 120, 74, .35);
  transition: background .2s ease, transform .15s ease;
}
.btn-wa:hover { background: var(--wa-dark); color: #fff; }
.btn-wa:active { transform: translateY(1px); }
.btn-wa svg { width: 22px; height: 22px; flex: none; }
.btn-wa:focus-visible { outline-color: var(--gold-deep); }
.voucher-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 12px; }
.btn-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 6px;
  border: 0; background: none; cursor: pointer;
  color: var(--ink-soft); font-weight: 600; font-size: .95rem; text-decoration: underline; text-underline-offset: 3px;
}
.btn-link:hover { color: var(--ink); }
.btn-link svg { width: 16px; height: 16px; }
.btn-link:focus-visible { outline-color: var(--gold-deep); }

dialog.reveal {
  width: min(440px, calc(100vw - 28px)); max-height: calc(100dvh - 28px);
  padding: 0; border: 0; background: transparent; overflow-y: auto; overscroll-behavior: contain;
  border-radius: var(--radius);
}
dialog.reveal::backdrop { background: rgba(4, 14, 9, .74); backdrop-filter: blur(3px); }

.reveal-close {
  position: absolute; top: 12px; right: 10px; width: 40px; height: 40px;
  display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: transparent; color: var(--ink-soft);
}
.reveal-close:hover { background: rgba(42, 29, 20, .08); }
.reveal-close svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: no-preference) {
  dialog.reveal[open] .voucher-card { animation: pop .45s cubic-bezier(.2, .9, .3, 1.2); }
}
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.94); } to { opacity: 1; transform: none; } }

.my-gift { position: relative; z-index: 1; margin: 18px auto 0; max-width: 440px; }
.my-gift .voucher-card { box-shadow: 0 18px 50px rgba(0, 0, 0, .4); }

/* ------------------------------------------------------------------ condiții + subsol */
.terms {
  position: relative; z-index: 1;
  margin: 26px auto 0; max-width: 460px; padding: 16px 4px 0;
  border-top: 1px solid rgba(217, 180, 106, .3);
  font-size: .94rem; color: var(--cream-dim);
}
.terms h2 { margin: 0 0 6px; font-size: 1.05rem; color: var(--cream); text-align: center; }
.terms ul { margin: 0; padding: 0; list-style: none; }
.terms li { position: relative; padding-left: 18px; margin: 4px 0; }
.terms li::before {
  content: ""; position: absolute; left: 3px; top: .62em; width: 6px; height: 6px; transform: rotate(45deg);
  background: var(--gold);
}
.terms-links { margin: 10px 0 0; text-align: center; }

.site-footer {
  position: relative; z-index: 1;
  max-width: 640px; margin: 30px auto 0; padding: 22px 16px max(26px, env(safe-area-inset-bottom));
  text-align: center; font-size: .94rem; line-height: 1.55; color: var(--cream-dim);
  border-top: 1px solid rgba(251, 245, 233, .14);
}
.site-footer p { margin: 4px 0; }
.footer-brand { display: flex; justify-content: center; margin-bottom: 10px; }
.brand-logo--footer img { height: 34px; opacity: .9; }
.footer-company strong { color: var(--cream); font-weight: 600; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; margin: 12px 0 0; font-weight: 600; }
.footer-links a { display: inline-block; padding: 6px 2px; }
.footer-sal { display: flex; justify-content: center; margin-top: 14px; }
.sal-link { display: inline-block; line-height: 0; border-radius: 6px; }
.sal-link img { display: block; width: 250px; height: 50px; max-width: 100%; object-fit: contain; }
.sal-link span {
  display: inline-flex; align-items: center; justify-content: center; min-height: 50px; width: 250px; max-width: 100%;
  padding: 6px 12px; line-height: 1.25; font-size: .86rem; font-weight: 600; text-align: center;
  border: 1px solid currentColor; border-radius: 6px;
}

/* condițiile-cheie și linkurile legale, vizibile înainte de deschiderea cadoului */
.key-terms {
  margin: 14px auto 0; max-width: 460px; font-size: .92rem; line-height: 1.5; color: var(--cream-dim);
}
.key-terms.is-demo { color: var(--gold-bright); }
.key-links { display: inline-block; margin-top: 4px; color: var(--cream-dim); }
.key-terms a { font-weight: 600; }

/* ------------------------------------------------------------------ desktop */
@media (min-width: 760px) {
  .lp { padding-top: 10px; }
  .lp-head .brand-logo img { height: 104px; }
  .badge-line { font-size: .92rem; }
  .badge-line::before, .badge-line::after { width: 48px; }
  .hero { padding-top: 22px; }
  .lead { font-size: 1.15rem; }
  .tree-wrap { width: 70%; }
}

/* ------------------------------------------------------------------ pagini legale */
.page-legal { background: var(--cream); color: var(--ink); }
.page-legal a { color: var(--red-deep); }
.page-legal :focus-visible { outline-color: var(--gold-deep); }
.legal { max-width: 760px; margin: 0 auto; padding: 24px 16px 10px; font-size: 1.0625rem; line-height: 1.65; }
.legal p, .legal li, .legal td, .legal th { font-size: 1rem; } /* minimum 16 px în document */
.legal-lead { font-size: 1.1rem !important; }
.legal-updated { color: var(--ink-soft); }
.legal-toc { margin: 18px 0 8px; padding: 14px 18px; border: 1px solid #e3d6bb; border-radius: 12px; background: #fffaf0; }
.legal .legal-toc h2 { margin: 0 0 6px; font-size: 1.1rem; }
.legal-toc ol { list-style: none; margin: 0; padding: 0; columns: 2 220px; column-gap: 24px; }
.legal-toc li { margin: 0; break-inside: avoid; }
.legal-toc a { display: inline-block; padding: 5px 0; }
.legal section { scroll-margin-top: 16px; }
.legal-top { margin-top: 28px; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 30; padding: 8px 14px; border-radius: 8px; background: var(--ink); color: #fff !important; }
.skip-link:focus { left: 8px; }
.legal-back a { color: var(--ink); text-decoration: none; }
.legal-back .brand-logo img { height: 40px; }
.legal h1 { font-size: clamp(1.7rem, 5.5vw, 2.3rem); line-height: 1.15; color: var(--red-deep); }
.legal h2 { font-size: 1.25rem; margin-top: 1.8em; }
.legal li { margin: .35em 0; }
.draft-banner { padding: 12px 16px; border-radius: 12px; background: #fff1c9; border: 1px solid #e3c37a; font-size: 1rem; }
mark.todo { background: #ffe08a; color: var(--ink); padding: 0 4px; border-radius: 4px; }
.table-wrap { overflow-x: auto; }
.legal table { border-collapse: collapse; width: 100%; }
.legal th, .legal td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #e3d6bb; }
.legal th { background: #f3e9d4; }
.page-legal .site-footer { color: var(--ink-soft); border-top-color: #e3d6bb; }
.page-legal .footer-company strong { color: var(--ink); }
.page-legal .footer-brand { color: var(--ink); }


/* ------------------------------------------------------------------ instalația luminoasă */
.garland {
  position: relative; z-index: 2; height: 38px; overflow: hidden; pointer-events: none;
  margin-top: env(safe-area-inset-top);
}
.garland svg { display: block; width: 100%; height: 100%; }
@media (min-width: 760px) { .garland { height: 48px; } }
@media (prefers-reduced-motion: no-preference) {
  .garland .gb.p0, .garland .gb.p1, .garland .gb.p2, .garland .gb.p3 { animation: bulb-glow 5.5s ease-in-out infinite; }
  .garland .gb.p1 { animation-delay: -1.4s; }
  .garland .gb.p2 { animation-delay: -2.8s; animation-duration: 6.5s; }
  .garland .gb.p3 { animation-delay: -4.1s; animation-duration: 7s; }
}
@keyframes bulb-glow { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

/* ------------------------------------------------------------------ pașii */
.steps {
  list-style: none; margin: 16px auto 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 4px;
  font-size: .9rem; font-weight: 600; color: var(--cream-dim);
}
.steps li { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.steps li:not(:last-child)::after { content: "→"; content: "→" / ""; margin: 0 4px 0 6px; color: var(--gold); font-weight: 400; }
.step-n {
  display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  font-size: .72rem; font-weight: 700; color: var(--green-900); background: var(--gold);
}

/* ------------------------------------------------------------------ deschiderea cutiei */
.gift-beam {
  position: absolute; left: 12%; right: 22%; bottom: 52%; height: 150%;
  pointer-events: none; opacity: 0; transform: scaleY(.2); transform-origin: 50% 100%;
  background: linear-gradient(0deg, rgba(255, 226, 150, .75) 0%, rgba(255, 226, 150, .25) 45%, rgba(255, 226, 150, 0) 100%);
  clip-path: polygon(32% 100%, 68% 100%, 100% 0, 0 0);
  filter: blur(2px);
}
.gift.is-open.is-mine .gift-beam { animation: beam 1.3s ease-out forwards; }
@keyframes beam {
  0% { opacity: 0; transform: scaleY(.2); }
  30% { opacity: 1; transform: scaleY(1); }
  100% { opacity: .35; transform: scaleY(1); }
}
.burst { position: absolute; left: 47%; top: 30%; width: 0; height: 0; pointer-events: none; z-index: 8; }
.spark, .confetti { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.spark {
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  background: radial-gradient(circle, #fff8dc 0 22%, rgba(255, 215, 120, .9) 23% 38%, transparent 40%);
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%);
  animation: spark .9s ease-out var(--d, 0s) forwards;
}
@keyframes spark {
  0% { opacity: 0; transform: translate(0, 0) scale(.4); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(90deg); }
}
.confetti { width: 6px; height: 9px; margin: -4px 0 0 -3px; border-radius: 1px; animation: confetti 1.2s cubic-bezier(.2, .7, .4, 1) var(--d, 0s) forwards; }
.confetti.c0 { background: var(--gold); }
.confetti.c1 { background: var(--cream); }
.confetti.c2 { background: #c23a3f; }
.confetti.c3 { background: #e9c97c; }
@keyframes confetti {
  0% { opacity: 0; transform: translate(0, 0) rotate(0); }
  12% { opacity: 1; }
  60% { opacity: 1; transform: translate(calc(var(--dx) * .8), calc(var(--dy) * .9)) rotate(calc(var(--r) * .6)); }
  100% { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 46px)) rotate(var(--r)); }
}

/* apariția graduală a voucherului (doar la prima deschidere) */
@media (prefers-reduced-motion: no-preference) {
  .voucher-card.is-fresh > .rs { opacity: 0; animation: rise .5s ease-out forwards; }
  .voucher-card.is-fresh > .rs-1 { animation-delay: .05s; }
  .voucher-card.is-fresh > .rs-2 { animation-delay: .17s; }
  .voucher-card.is-fresh > .rs-3 { animation-delay: .29s; }
  .voucher-card.is-fresh > .rs-4 { animation-delay: .41s; }
  .voucher-card.is-fresh > .rs-5 { animation-delay: .5s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card-confetti { position: absolute; inset: 0 0 auto 0; height: 0; pointer-events: none; }
.card-confetti i {
  position: absolute; top: 0; width: 5px; height: 8px; border-radius: 1px; opacity: 0;
  animation: card-confetti 1.1s ease-out var(--d, 0s) forwards;
}
@keyframes card-confetti {
  0% { opacity: 0; transform: translateY(-6px) rotate(0); }
  15% { opacity: .95; }
  100% { opacity: 0; transform: translateY(70px) rotate(var(--r, 180deg)); }
}

/* ------------------------------------------------------------------ text sub titlu + surprize */
.v-lead { margin: 8px auto 0; max-width: 34ch; font-size: 1rem; line-height: 1.45; color: var(--ink-soft); text-wrap: pretty; }
.v-surprises {
  margin-top: 14px; padding: 12px 12px 6px; border-radius: 14px;
  background: rgba(22, 64, 48, .07); border: 1px dashed rgba(22, 64, 48, .35);
}
.v-surprises p { margin: 0; font-family: var(--serif); font-size: 1.02rem; line-height: 1.35; color: var(--green-700); text-wrap: balance; }
.btn-surprises {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; margin-top: 6px; padding: 6px 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: none; color: var(--green-700); font-weight: 700; font-size: .98rem; text-decoration: underline; text-underline-offset: 3px;
}
.btn-surprises:focus-visible { outline-color: var(--gold-deep); }

.surprise-card {
  position: relative; text-align: center; color: var(--cream);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(240, 210, 140, .16) 0%, rgba(240, 210, 140, 0) 70%),
    linear-gradient(180deg, var(--green-700) 0%, var(--green-800) 100%);
  border: 1px solid rgba(240, 210, 140, .6); border-radius: var(--radius);
  padding: 26px 22px 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.surprise-card .reveal-close { color: var(--cream-dim); }
.surprise-card .reveal-close:hover { background: rgba(251, 245, 233, .1); }
.s-kicker { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-bright); }
.s-emoji { margin: 10px auto 0; font-size: 3rem; line-height: 1.1; }
.surprise-title { margin: 6px 0 0; font-size: clamp(1.35rem, 5.4vw, 1.7rem); line-height: 1.15; color: var(--cream); }
.surprise-title:focus { outline: none; }
.s-desc { margin: 10px auto 0; max-width: 34ch; font-size: 1.02rem; line-height: 1.5; color: var(--cream-dim); text-wrap: pretty; }
.surprise-card .btn-wa { margin-top: 16px; box-shadow: 0 0 0 2px var(--gold-bright), 0 10px 24px rgba(0, 0, 0, .35); }
.surprise-card .share-feedback { color: var(--gold-bright); }
.s-progress { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid rgba(240, 210, 140, .3); font-family: var(--serif); color: var(--gold-bright); }
.s-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 16px; margin-top: 6px; }
.surprise-card .btn-link { color: var(--cream); }
.surprise-card .btn-link:hover { color: #fff; }
.surprise-card .btn-link:focus-visible { outline-color: var(--gold-bright); }
@media (prefers-reduced-motion: no-preference) {
  dialog.reveal[open] .surprise-card { animation: pop .45s cubic-bezier(.2, .9, .3, 1.2); }
}

/* ------------------------------------------------------------------ distribuire */
.btn-share {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 48px; margin-top: 10px; padding: 10px 16px;
  border-radius: 14px; cursor: pointer;
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  color: var(--green-800); background: transparent; border: 1.5px solid var(--gold-deep);
  transition: background .2s ease;
}
.btn-share:hover { background: rgba(217, 180, 106, .14); }
.btn-share:focus-visible { outline-color: var(--gold-deep); }
.btn-share .emoji { margin-left: 4px; }
.share-feedback { margin: 8px 0 0; min-height: 1.4em; font-size: .92rem; font-weight: 600; color: var(--green-700); }
.share-manual { width: 100%; margin-top: 8px; padding: 8px; font: inherit; font-size: .85rem; border: 1px solid var(--gold); border-radius: 10px; resize: none; background: #fff; color: var(--ink); }

/* ------------------------------------------------------------------ mișcare redusă */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
}
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
