/* ==========================================================================
   Maty Balonas, versiunea 3D ("Atelierul de baloane")
   Element semnatura: FEREASTRA-BALON. Pozele stau in silueta unui balon
   lucios (corp + nod + sfoara); la hover balonul "se umfla" si arata poza
   intreaga. Aceeasi silueta: hero, carduri, buchetul din "Despre", galeria
   WebGL, butonul WhatsApp, pinul hartii, favicon.
   CSS scris de mana: design integral bespoke + scena WebGL (vezi CLAUDE.md).
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Fonturi self-hosted (latin + latin-ext, pentru ă ș ț)
   -------------------------------------------------------------------------- */
@font-face { font-family: "Ibarra Real Nova"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibarra-real-nova-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: "Ibarra Real Nova"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/ibarra-real-nova-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ibarra Real Nova"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/ibarra-real-nova-latin-400-italic.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: "Ibarra Real Nova"; font-style: italic; font-weight: 400; font-display: swap;
  src: url("../fonts/ibarra-real-nova-latin-ext-400-italic.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Ibarra Real Nova"; font-style: italic; font-weight: 600; font-display: swap;
  src: url("../fonts/ibarra-real-nova-latin-600-italic.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: "Ibarra Real Nova"; font-style: italic; font-weight: 600; font-display: swap;
  src: url("../fonts/ibarra-real-nova-latin-ext-600-italic.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/figtree-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: "Figtree"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/figtree-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/figtree-latin-500-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: "Figtree"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/figtree-latin-ext-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/figtree-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: "Figtree"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/figtree-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-500-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: "JetBrains Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-ext-500-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  --ivory:      #F6EFE4;
  --ivory-warm: #FBF7F0;
  --velvet:     #241F1C;
  --velvet-up:  #2E2825;
  --gold:       #A9793B;  /* titluri mari, iconite, contururi */
  --gold-deep:  #8A5F2A;  /* text mic pe ivoriu  -> 4.90:1 */
  --gold-soft:  #C9A15B;  /* text pe velvet      -> 7.0:1  */
  --rose:       #D9A9A0;
  --eucalypt:   #6B7B5E;
  --charcoal:   #3A3530;
  --wa:         #25D366;
  --ink-muted:  #6A625A;

  --font-display: "Ibarra Real Nova", Georgia, "Times New Roman", serif;
  --font-body:    Figtree, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --shell:  min(1240px, 100% - 2.5rem);
  --header-h: 4.5rem;

  /* curbe puternice: intrari ease-out, miscare pe ecran ease-in-out */
  --ease-out:    cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  /* silueta balonului (corp + nod), folosita ca masca */
  --balloon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 114' preserveAspectRatio='none'%3E%3Cpath d='M50 2C77 2 98 22 98 48C98 75 74 96 54 104L57 111Q50 114 43 111L46 104C26 96 2 75 2 48C2 22 23 2 50 2Z'/%3E%3C/svg%3E");
}
@media (min-width: 768px) { :root { --shell: min(1240px, 100% - 5rem); } }

/* --------------------------------------------------------------------------
   2. Baza
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  background: var(--velvet);
}
html:not(.smooth-js) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { html:not(.smooth-js) { scroll-behavior: auto; } }

body {
  margin: 0;
  color: var(--ivory);
  background: var(--velvet);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* previne contopirea literelor fi / fl / ff, inclusiv ligaturile proprii ale fonturilor */
  font-variant-ligatures: no-common-ligatures;
  font-feature-settings: "liga" 0, "clig" 0, "dlig" 0;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 em, h2 em { font-style: italic; color: var(--accent); }

.shell { width: var(--shell); margin-inline: auto; }

.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  padding: 0.75rem 1.1rem; border-radius: 999px;
  background: var(--ivory); color: var(--velvet); font-weight: 600; text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; border-radius: 6px; }
[data-tone="ivory"] :focus-visible { outline-color: var(--gold-deep); }

/* Tonuri: textul tine de sectiune; fundalul il da stratul .backdrop in modul 3D */
[data-tone="velvet"] { --accent: var(--gold-soft); --muted: rgba(246, 239, 228, 0.72); --line: rgba(246, 239, 228, 0.16); color: var(--ivory); background: var(--velvet); }
[data-tone="ivory"]  { --accent: var(--gold);      --muted: var(--ink-muted);           --line: rgba(58, 53, 48, 0.14);   color: var(--charcoal); background: var(--ivory); }
.is-3d body, .scene-hero body { background: transparent; }
.is-3d main [data-tone] { background: transparent; }
.scene-hero .hero { background: transparent; }

.backdrop { position: fixed; inset: 0; z-index: -3; background: var(--velvet); }
.stage, .stage-front {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; opacity: 0;
  transition: opacity 1.4s var(--ease-out);
}
.stage { z-index: -2; }
.stage-front { z-index: 40; }
.stage.is-on, .stage-front.is-on { opacity: 1; }
.stage-front.is-off { opacity: 0; transition-duration: 0.5s; }
html:not(.is-3d):not(.scene-hero) .stage, html:not(.has-front) .stage-front { display: none; }

/* --------------------------------------------------------------------------
   3. Tipografie
   -------------------------------------------------------------------------- */
.display-xl { font-size: clamp(3rem, 7.4vw, 7.6rem); line-height: 0.96; letter-spacing: -0.025em; }
.display-lg { font-size: clamp(2.3rem, 5vw, 4.6rem); line-height: 1; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 1.4rem;
}
/* marcaj: un balon mic (cerc), nu o liniuta */
.eyebrow::before {
  content: ""; width: 0.5rem; height: 0.56rem; flex: none;
  background: currentColor; border-radius: 50% 50% 48% 48% / 56% 56% 44% 44%;
}
[data-tone="ivory"] .eyebrow { color: var(--gold-deep); }

.lede { font-size: clamp(1.0625rem, 1.3vw, 1.2rem); line-height: 1.6; color: var(--muted); max-width: 46ch; }

/* linkuri cu subliniere care creste */
.link {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) no-repeat right bottom / 0% 1px;
  transition: background-size 0.35s var(--ease-out), color 0.2s ease;
  padding-bottom: 2px;
}
@media (hover: hover) {
  .link:hover { background-size: 100% 1px; background-position: left bottom; }
}

/* split pe cuvinte (titluri), stare ascunsa doar dupa ce JS a pregatit animatia */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 0.06em 0.14em 0; margin: 0 -0.06em -0.14em 0; }
.wi { display: inline-block; will-change: transform; }
.split-ready .wi { transform: translateY(108%); }
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(22px); }

/* --------------------------------------------------------------------------
   4. Butoane
   -------------------------------------------------------------------------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0 1.5rem; border-radius: 999px;
  font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.16s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s ease;
}
.btn::before {
  content: ""; position: absolute; inset: -2px; z-index: -1;
  border-radius: inherit; transform: translateY(102%);
  transition: transform 0.38s var(--ease-out);
}
@media (hover: hover) { .btn:hover::before { transform: translateY(0); } }
.btn:active { transform: scale(0.97); }
.btn .icon { width: 1.15rem; height: 1.15rem; fill: currentColor; flex: none; }
.btn--sm { min-height: 2.6rem; padding: 0 1.1rem; font-size: 0.9375rem; }

.btn--solid { background: var(--gold); color: var(--velvet); }
.btn--solid::before { background: var(--ivory); }
[data-tone="ivory"] .btn--solid { background: var(--velvet); color: var(--ivory); }
[data-tone="ivory"] .btn--solid::before { background: var(--gold); }
@media (hover: hover) { [data-tone="ivory"] .btn--solid:hover { color: var(--velvet); } }

.btn--wa { background: transparent; color: inherit; border-color: currentColor; }
.btn--wa::before { background: var(--wa); }
@media (hover: hover) { .btn--wa:hover { color: #0b2a17; border-color: var(--wa); } }

/* --------------------------------------------------------------------------
   5. Fereastra-balon (semnatura)
   -------------------------------------------------------------------------- */
.bw {
  position: relative; aspect-ratio: 100 / 114;
  -webkit-mask: var(--balloon) center / 100% 100% no-repeat;
          mask: var(--balloon) center / 100% 100% no-repeat;
  transition: -webkit-mask-size 0.6s var(--ease-out), mask-size 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  background: var(--velvet-up);
}
.bw img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 0.8s var(--ease-out); }
/* luciul latexului: reflexie sus-stanga + umbra pe margine, ca suprafata sa para rotunda */
.bw::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 13% 9% at 30% 20%, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0) 100%),
    radial-gradient(ellipse 30% 20% at 34% 26%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 100%),
    radial-gradient(ellipse 62% 56% at 50% 44%, rgba(0, 0, 0, 0) 62%, rgba(24, 16, 10, 0.42) 100%),
    linear-gradient(var(--knot, #B98D4E), var(--knot, #B98D4E)) 50% 100% / 18% 9.4% no-repeat;
  transition: opacity 0.6s var(--ease-out);
}

/* --------------------------------------------------------------------------
   6. Straturi fixe: progres, cursor, intro
   -------------------------------------------------------------------------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--gold-soft); transform-origin: 0 50%; transform: scaleX(0); }
html:not(.js) .scroll-progress { display: none; }

.cursor { position: fixed; left: 0; top: 0; z-index: 600; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--gold-soft); }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px;
  display: grid; place-items: center;
}
.cursor-ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1.5px solid var(--gold-soft);
  transition: transform 0.3s var(--ease-out), background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}
.cursor-label {
  position: relative; font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--velvet); opacity: 0; transition: opacity 0.2s ease;
}
.cursor.is-link .cursor-ring::before { transform: scale(1.55); background: rgba(201, 161, 91, 0.14); }
.cursor.is-balloon .cursor-ring::before { transform: scale(1.3); border-color: var(--rose); background: rgba(217, 169, 160, 0.22); }
.cursor.is-view .cursor-ring::before { transform: scale(2.1); background: var(--gold-soft); border-color: var(--gold-soft); }
.cursor.is-view .cursor-label { opacity: 1; }
.cursor.is-hidden { opacity: 0; }
.has-cursor body, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor iframe { cursor: auto; }

.preloader { display: none; }
.has-intro .preloader {
  position: fixed; inset: 0; z-index: 500; display: grid; place-items: center;
  background: var(--velvet); color: var(--ivory);
  /* plasa de siguranta: daca JS-ul nu termina, intro-ul dispare singur */
  animation: pl-failsafe 0.4s ease 3.4s forwards;
}
@keyframes pl-failsafe { to { opacity: 0; visibility: hidden; } }
.preloader-inner { display: grid; justify-items: center; gap: 1.2rem; }
.preloader-balloon { width: 92px; overflow: visible; transform-origin: 50% 74%; transform: scale(0.32); }
.pl-body { fill: var(--rose); }
.pl-gloss { fill: rgba(255, 255, 255, 0.5); }
.pl-string { fill: none; stroke: var(--gold-soft); stroke-width: 1.5; }
.preloader-count { font-family: var(--font-mono); font-size: 0.8125rem; letter-spacing: 0.14em; color: var(--gold-soft); }

/* --------------------------------------------------------------------------
   7. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  color: var(--ivory);
  transition: transform 0.4s var(--ease-out), background-color 0.4s ease, color 0.4s ease;
}
.site-header.is-hidden { transform: translateY(-105%); }
.site-header.is-solid { background: rgba(36, 31, 28, 0.88); }
html[data-tone="ivory"] .site-header { color: var(--charcoal); }
html[data-tone="ivory"] .site-header.is-solid { background: rgba(246, 239, 228, 0.9); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 2rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; margin-right: auto; }
.mark { flex: none; overflow: visible; }
.mark-body { fill: var(--gold-soft); }
.mark-string { fill: none; stroke: var(--gold-soft); stroke-width: 2; stroke-linecap: round; }
html[data-tone="ivory"] .site-header .mark-body { fill: var(--gold); }
html[data-tone="ivory"] .site-header .mark-string { stroke: var(--gold); }
.brand-text { display: grid; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-size: 1.3rem; }
.brand-sub { font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.7; }

.nav-list { display: none; gap: 1.6rem; font-size: 0.9375rem; }
.header-actions { display: none; align-items: center; gap: 1.1rem; }
.header-phone { font-family: var(--font-mono); font-size: 0.875rem; letter-spacing: 0.04em; }


.nav-toggle {
  position: relative; z-index: 2; width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid currentColor; background: transparent; cursor: pointer;
  display: grid; place-items: center;
  transition: transform 0.16s var(--ease-out);
}
.nav-toggle:active { transform: scale(0.95); }
.nav-toggle-bars { position: relative; width: 18px; height: 10px; }
.nav-toggle-bars span {
  position: absolute; left: 0; width: 100%; height: 1.5px; background: currentColor;
  transition: transform 0.35s var(--ease-in-out), top 0.35s var(--ease-in-out);
}
.nav-toggle-bars span:first-child { top: 0; }
.nav-toggle-bars span:last-child { top: 8.5px; }
@media (min-width: 1000px) {
  .nav-list, .header-actions { display: flex; }
  .nav-toggle { display: none; }
}
.nav-open .nav-toggle-bars span:first-child { top: 4.25px; transform: rotate(45deg); }
.nav-open .nav-toggle-bars span:last-child { top: 4.25px; transform: rotate(-45deg); }
.nav-open .site-header { color: var(--ivory) !important; background: transparent !important; transform: none !important; }
.nav-open .site-header .mark-body { fill: var(--gold-soft) !important; }

.mobile-nav {
  position: fixed; inset: 0; z-index: 90;
  background: var(--velvet); color: var(--ivory);
  display: flex; flex-direction: column; justify-content: center; gap: 2.5rem;
  padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
  clip-path: circle(0 at calc(100% - 2.75rem) 2.25rem);
  transition: clip-path 0.55s var(--ease-in-out), visibility 0s linear 0.55s;
  visibility: hidden;
}
.mobile-nav[hidden] { display: flex; }
.nav-open .mobile-nav { clip-path: circle(150% at calc(100% - 2.75rem) 2.25rem); visibility: visible; transition: clip-path 0.6s var(--ease-in-out), visibility 0s; }
.mobile-links { display: grid; gap: 0.3rem; }
.mobile-links a {
  display: flex; align-items: baseline; gap: 1rem; text-decoration: none;
  font-family: var(--font-display); font-size: clamp(2.4rem, 11vw, 3.4rem); line-height: 1.15;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}
.nav-open .mobile-links a { opacity: 1; transform: none; }
.nav-open .mobile-links li:nth-child(1) a { transition-delay: 0.16s; }
.nav-open .mobile-links li:nth-child(2) a { transition-delay: 0.21s; }
.nav-open .mobile-links li:nth-child(3) a { transition-delay: 0.26s; }
.nav-open .mobile-links li:nth-child(4) a { transition-delay: 0.31s; }
.nav-open .mobile-links li:nth-child(5) a { transition-delay: 0.36s; }
.mn-no { font-family: var(--font-mono); font-size: 0.75rem; color: var(--gold-soft); letter-spacing: 0.1em; }
.mobile-cta { display: grid; gap: 0.75rem; }
.mobile-cta .btn--wa { color: var(--ivory); }
.nav-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   8. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 2.5rem) 0 2rem;
}
.hero-grid { display: grid; gap: 3rem; align-items: center; }
.hero-copy { position: relative; z-index: 1; }
.hero-title { max-width: 13ch; margin-bottom: 1.8rem; }
.hero-title em { font-weight: 400; }
.hero-lede { margin-bottom: 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 1.8rem; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.hero-meta span + span::before { content: "·"; margin-inline: 0.7rem; color: var(--gold-soft); }
@media (max-width: 700px) {
  .hero-meta { display: grid; gap: 0.35rem; }
  .hero-meta span + span::before { content: none; }
  .pop-hint { display: none !important; }
  .wa-balloon { width: 150px; }
  .gl-on .gl-progress { display: none; }
  .gl-on .portfolio-foot { flex-wrap: wrap; gap: 0.3rem 1rem; }
  .gallery-count, .gl-caption { white-space: nowrap; }
}

.hero-figure { position: relative; justify-self: center; width: min(78vw, 360px); }
.bw--hero { transform-origin: 50% 96%; }
.bw-string { position: absolute; left: 50%; top: calc(100% - 4px); width: 26px; height: 92px; margin-left: -13px; overflow: visible; transform-origin: 50% 0; }
.bw-string path { fill: none; stroke: var(--gold-soft); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.hero-caption { position: absolute; left: 100%; bottom: 22%; margin-left: 1.2rem; white-space: nowrap; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); writing-mode: vertical-rl; }

.hero-foot { display: flex; align-items: center; justify-content: flex-start; gap: 2.2rem; margin-top: 3.5rem; }
.scroll-cue { display: inline-flex; align-items: center; gap: 0.8rem; text-decoration: none; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.scroll-cue-line { position: relative; width: 1px; height: 44px; background: var(--line); overflow: hidden; }
.scroll-cue-line::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--gold-soft); animation: cue 2.2s var(--ease-in-out) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(260%); } }
.is-3d .hero-caption, .scene-hero .hero-caption { display: none; }
.pop-hint { display: none; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.is-3d .pop-hint, .scene-hero .pop-hint { display: block; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.45fr 0.75fr; gap: 2rem; }
  .hero-figure { width: min(30vw, 430px); margin-top: -2rem; }
  .hero-title { max-width: 12ch; }
}

/* --------------------------------------------------------------------------
   9. Marquee
   -------------------------------------------------------------------------- */
.marquee { position: relative; height: clamp(170px, 22vw, 300px); overflow: hidden; z-index: 2; pointer-events: none; }
.marquee-band { position: absolute; left: -5%; width: 110%; top: 50%; padding: 0.9rem 0; }
.marquee-band--back { background: var(--velvet-up); transform: translateY(-50%) rotate(3deg); color: var(--gold-soft); }
.marquee-band--front { background: var(--rose); transform: translateY(-50%) rotate(-2.2deg); color: var(--velvet); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.5); }
.marquee-track { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.marquee-track span, .marquee-track i { font-family: var(--font-display); font-style: italic; font-size: clamp(2.4rem, 6.2vw, 5.6rem); line-height: 1; padding-inline: 0.35em; }
.marquee-track i { font-style: normal; opacity: 0.6; }
.marquee-track .o { color: transparent; -webkit-text-stroke: 1.2px currentColor; }
.marquee-band--back .marquee-track span:not(.o) { color: var(--ivory); }

/* --------------------------------------------------------------------------
   10. Servicii
   -------------------------------------------------------------------------- */
.section { position: relative; padding-block: clamp(5rem, 11vw, 9rem); }
.services { padding-top: 0; }
.services-intro { min-height: 100svh; display: grid; place-items: center; text-align: center; padding-block: 6rem; }
.services-intro-inner { display: grid; justify-items: center; }
.services-intro h2 { max-width: 13ch; margin-bottom: 1.5rem; }
.services-intro .lede { margin-inline: auto; max-width: min(36ch, 76vw); }

.services-grid { display: grid; gap: 1.5rem; }
@media (min-width: 820px) {
  .services-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .services-grid .service:nth-child(even) { transform: translateY(5rem); }
  .services-grid { padding-bottom: 5rem; }
}
.service { perspective: 1100px; }
.service-inner {
  position: relative; height: 100%; overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: 30px; background: var(--ivory-warm);
  box-shadow: 0 1px 0 rgba(58, 53, 48, 0.06), 0 40px 80px -50px rgba(58, 53, 48, 0.45);
  transform-style: preserve-3d; will-change: transform;
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}
.service.is-tilting .service-inner { transition: box-shadow 0.6s var(--ease-out); }
.service-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: 1.6rem; }
.stamp { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-deep); padding-top: 0.4rem; }
.bw--card { width: min(46%, 210px); flex: none; transform: translateZ(40px); }
.service h3 { font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 0.85rem; }
.service p { color: var(--muted); margin-bottom: 1.4rem; max-width: 44ch; }
.service-link { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; color: var(--gold-deep); }
.service-link .icon { width: 1.1rem; height: 1.1rem; fill: currentColor; transition: transform 0.25s var(--ease-out); }
@media (hover: hover) { .service-link:hover .icon { transform: translateX(4px); } }
[data-tone="velvet"] .service-link { color: var(--gold-soft); }
.service-glare {
  position: absolute; inset: 0; pointer-events: none; border-radius: inherit; opacity: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 45%);
  mix-blend-mode: soft-light; transition: opacity 0.4s ease;
}
@media (hover: hover) and (pointer: fine) {
  .service:hover .service-glare { opacity: 1; }
  .service:hover .bw--card { -webkit-mask-size: 118% 118%; mask-size: 118% 118%; }
  .service:hover .bw--card img { transform: scale(1); }
  .service:hover .service-inner { box-shadow: 0 1px 0 rgba(58, 53, 48, 0.06), 0 60px 90px -50px rgba(58, 53, 48, 0.55); }
}

/* --------------------------------------------------------------------------
   11. Despre
   -------------------------------------------------------------------------- */
.about-grid { display: grid; gap: 3.5rem; align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.about-bouquet { position: relative; width: min(100%, 520px); aspect-ratio: 520 / 640; margin-inline: auto; }
.about-bouquet .bw { position: absolute; z-index: 1; transform-origin: 50% 100%; }
.bw--b1 { left: 0; top: 4%; width: 52%; }
.bw--b2 { right: 0; top: 0; width: 44%; }
.bw--b3 { left: 32%; top: 33%; width: 36%; z-index: 2 !important; }
.bouquet-strings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bouquet-strings path { fill: none; stroke: var(--gold); stroke-width: 1.3; vector-effect: non-scaling-stroke; }
.about-copy h2 { margin-bottom: 1.8rem; max-width: 14ch; }
.about-body { display: grid; gap: 1rem; color: var(--muted); max-width: 56ch; }
.about-body .about-first { font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.35; color: var(--charcoal); }

@media (prefers-reduced-motion: no-preference) {
  .bw--b1 { animation: bob 6s ease-in-out infinite; }
  .bw--b2 { animation: bob 7.2s ease-in-out -2s infinite; }
  .bw--b3 { animation: bob 5.4s ease-in-out -1s infinite; }
  .bw-string { animation: sway 4.8s ease-in-out infinite; }
}
@keyframes bob { 0%, 100% { translate: 0 0; rotate: -0.8deg; } 50% { translate: 0 -5px; rotate: 0.8deg; } }
@keyframes sway { 0%, 100% { rotate: -4deg; } 50% { rotate: 4deg; } }

/* --------------------------------------------------------------------------
   12. Portofoliu
   -------------------------------------------------------------------------- */
.portfolio { padding-block: clamp(5rem, 9vw, 7rem); }
.portfolio-head { display: grid; gap: 1.6rem; margin-bottom: 2.5rem; }
.portfolio-titles h2 { margin-bottom: 1rem; }
@media (min-width: 1000px) { .portfolio-head { grid-template-columns: 1fr auto; align-items: end; } .portfolio-head .filters { max-width: 34rem; justify-content: flex-end; } }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter {
  min-height: 2.6rem; padding: 0 1rem; border-radius: 999px; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: inherit; font-size: 0.875rem;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.16s var(--ease-out);
}
.filter:active { transform: scale(0.96); }
@media (hover: hover) { .filter:hover { border-color: var(--gold-soft); } }
.filter[aria-pressed="true"] { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--velvet); }

.gl-strip, .gl-caption, .gl-progress { display: none; }
.portfolio-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.gallery-count { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }

/* Galeria HTML (fallback si sursa pentru lightbox/SEO): ferestre-balon in grila */
.gallery { width: var(--shell); margin: 2rem auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem 1.1rem; }
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .gallery { grid-template-columns: repeat(5, 1fr); } }
.gallery-item[hidden] { display: none; }
.gallery-btn { display: grid; gap: 0.7rem; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: center; }
.gallery-btn img { width: 100%; height: 100%; object-fit: cover; }
.gallery-btn .gallery-img { width: 100%; }
.gallery-tag { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.gallery-btn:focus-visible { outline: none; }
.gallery-btn:focus-visible .bw { outline: none; filter: drop-shadow(0 0 0 var(--gold-soft)); }
.gallery-btn:focus-visible .gallery-tag { color: var(--gold-soft); text-decoration: underline; }
@media (hover: hover) and (pointer: fine) {
  .gallery-btn:hover .bw { -webkit-mask-size: 125% 125%; mask-size: 125% 125%; }
  .gallery-btn:hover .bw img { transform: scale(1); }
}
.gallery-item.is-entering { animation: g-in 0.45s var(--ease-out) both; }
@keyframes g-in { from { opacity: 0; transform: translateY(16px) scale(0.96); } }

/* Modul WebGL: sectiunea devine o banda fixata, lista ramane pentru tastatura si cititoare */
.gl-on .portfolio { padding-block: 0; }
.gl-on .portfolio-pin { position: relative; height: 100svh; display: flex; flex-direction: column; padding: calc(var(--header-h) + 1.2rem) 0 1.6rem; }
.gl-on .portfolio-head { margin-bottom: 0.5rem; }
.gl-on .portfolio-titles h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); margin-bottom: 0.6rem; }
.gl-on .portfolio-titles .lede { font-size: 1rem; }
.gl-on .gl-strip { display: block; flex: 1; min-height: 0; }
.gl-on .gl-caption { display: flex; gap: 1rem; align-items: baseline; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-soft); min-height: 1.2em; }
.gl-caption-no { color: var(--muted); }
.gl-on .gl-progress { display: block; position: relative; width: min(220px, 30vw); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.gl-progress span { position: absolute; inset: 0; background: var(--gold-soft); transform-origin: 0 50%; transform: scaleX(0); }
.gl-on .gallery { position: absolute; width: 1px; height: 1px; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 999px) {
  .gl-on .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 0.2rem; }
  .gl-on .filters::-webkit-scrollbar { display: none; }
  .gl-on .filter { flex: none; }
  .gl-on .portfolio-titles .lede { display: none; }
}

/* --------------------------------------------------------------------------
   13. Proces
   -------------------------------------------------------------------------- */
.process-grid { display: grid; gap: 3rem; }
@media (min-width: 960px) {
  .process-grid { grid-template-columns: 0.9fr 1.1fr; gap: 5rem; }
  .process-head { position: sticky; top: 22vh; align-self: start; }
}
.process-head h2 { margin-bottom: 1.4rem; max-width: 13ch; }
.process-track { position: relative; }
.process-string { position: absolute; left: 0; top: 0; width: 44px; height: 100%; overflow: visible; }
.process-string path { fill: none; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ps-base { stroke: var(--line); }
.ps-draw { stroke: var(--gold-soft); stroke-dasharray: 1; stroke-dashoffset: 0; }
.steps { display: grid; gap: clamp(3rem, 9vh, 6rem); padding-left: 4.5rem; padding-block: 1rem 2rem; }
.step { position: relative; }
.step-node {
  position: absolute; left: -4.5rem; top: 1.6rem; margin-left: 10px;
  width: 24px; height: 28px; border-radius: 50% 50% 46% 46% / 54% 54% 46% 46%;
  border: 1.5px solid var(--gold-soft); background: var(--velvet);
  transform: scale(0.7); transition: transform 0.5s var(--ease-out), background-color 0.4s ease;
}
.step-node::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 7px; height: 5px; margin-left: -3.5px; background: var(--gold-soft); clip-path: polygon(30% 0, 70% 0, 100% 100%, 0 100%); }
.step.is-on .step-node { transform: scale(1); background: var(--gold-soft); }
.step-no { display: block; font-family: var(--font-display); font-style: italic; font-size: clamp(4rem, 8vw, 6.5rem); line-height: 0.9; color: transparent; -webkit-text-stroke: 1.2px var(--gold-soft); margin-bottom: 0.6rem; transition: color 0.5s ease; }
.step.is-on .step-no { color: var(--gold-soft); }
.step h3 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 0.7rem; }
.step p { color: var(--muted); max-width: 44ch; }

/* --------------------------------------------------------------------------
   14. Contact
   -------------------------------------------------------------------------- */
.contact { padding-bottom: clamp(5rem, 9vw, 8rem); }
.contact-head { max-width: 46rem; margin-bottom: 2.5rem; }
.contact-head h2 { margin-bottom: 1.3rem; max-width: 15ch; }
.phone-xl { display: inline-grid; gap: 0.3rem; text-decoration: none; margin-bottom: 3rem; }
.phone-xl-label { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
.phone-xl-number {
  font-family: var(--font-display); font-size: clamp(3rem, 11.5vw, 10.5rem); line-height: 0.95; letter-spacing: -0.03em; white-space: nowrap;
  background: linear-gradient(var(--gold), var(--gold)) no-repeat left 92% / 0% 0.06em;
  transition: background-size 0.6s var(--ease-out), color 0.3s ease;
}
@media (hover: hover) { .phone-xl:hover .phone-xl-number { background-size: 100% 0.06em; color: var(--gold-deep); } }

.contact-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; } }
.contact-actions { display: grid; gap: 2.5rem; grid-template-columns: auto 1fr; align-items: start; }
@media (max-width: 520px) { .contact-actions { grid-template-columns: 1fr; justify-items: start; } }

.wa-balloon { position: relative; display: grid; justify-items: center; text-decoration: none; width: 180px; will-change: transform; }
.wa-balloon-body {
  position: relative; width: 100%; aspect-ratio: 100 / 114;
  display: grid; place-content: center; justify-items: center; gap: 0.5rem; text-align: center;
  color: #06270f; font-weight: 600; line-height: 1.2; font-size: 0.95rem; padding-bottom: 12%;
  background: radial-gradient(ellipse 60% 55% at 38% 30%, #5BEA93, var(--wa) 55%, #17a24d 100%);
  -webkit-mask: var(--balloon) center / 100% 100% no-repeat; mask: var(--balloon) center / 100% 100% no-repeat;
  transition: transform 0.4s var(--ease-out);
}
.wa-balloon-body::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 12% 8% at 30% 20%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0)); }
.wa-balloon-body .icon { width: 2rem; height: 2rem; fill: currentColor; }
.wa-balloon-string { width: 22px; height: 56px; margin-top: -3px; overflow: visible; transform-origin: 50% 0; }
.wa-balloon-string path { fill: none; stroke: var(--gold); stroke-width: 1.4; }
@media (prefers-reduced-motion: no-preference) { .wa-balloon-string { animation: sway 3.6s ease-in-out infinite; } }
@media (hover: hover) { .wa-balloon:hover .wa-balloon-body { transform: scale(1.06); } }
.wa-balloon:active .wa-balloon-body { transform: scale(0.97); }
.wa-balloon:focus-visible { outline: none; }
.wa-balloon:focus-visible .wa-balloon-text { text-decoration: underline; }
.wa-balloon:focus-visible .wa-balloon-body { filter: drop-shadow(0 0 0.01px #000); outline: none; }

.contact-list { display: grid; gap: 1.5rem; }
.contact-row { display: grid; gap: 0.2rem; }
.contact-label { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep); }
.contact-value { font-size: 1.125rem; font-weight: 500; justify-self: start; }
.contact-note { color: var(--muted); font-size: 0.9375rem; }
.socials { display: flex; gap: 0.6rem; margin-top: 0.3rem; }
.social { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.16s var(--ease-out); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
@media (hover: hover) { .social:hover { background: var(--velvet); border-color: var(--velvet); color: var(--ivory); } }
.social:active { transform: scale(0.95); }

.contact-map { display: grid; gap: 1rem; justify-items: start; }
.map-wrapper { position: relative; width: 100%; aspect-ratio: 4 / 3; border-radius: 28px; overflow: hidden; background: var(--velvet); color: var(--ivory); }
.map-placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; text-align: center; padding: 1.5rem;
  background: radial-gradient(circle at 50% 40%, rgba(201, 161, 91, 0.16), rgba(0, 0, 0, 0) 60%), var(--velvet); }
.map-placeholder p { font-family: var(--font-display); font-size: 1.5rem; }
.map-pin { width: 52px; height: 52px; overflow: visible; }
.map-pin path:first-child { fill: var(--gold-soft); }
.map-pin-string { fill: none; stroke: var(--gold-soft); stroke-width: 2; }
.map-placeholder .btn--solid { background: var(--gold-soft); color: var(--velvet); }
.map-placeholder .btn--solid::before { background: var(--ivory); }
.map-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.footer { position: relative; z-index: 1; padding: 4.5rem 0 2.5rem; background: var(--velvet); color: var(--ivory); }
.footer-top { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(246, 239, 228, 0.12); }
@media (min-width: 780px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer .mark-body { fill: var(--gold-soft); }
.footer-tagline { margin-top: 1rem; color: rgba(246, 239, 228, 0.68); max-width: 34ch; font-size: 0.9375rem; }
.footer-col h2 { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 0.9rem; font-weight: 500; }
.footer-col ul { display: grid; gap: 0.1rem; }
.footer-col a { display: inline-flex; align-items: center; min-height: 40px; color: rgba(246, 239, 228, 0.82); font-size: 0.9375rem; }

.footer-legal { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.25rem; }
.legal-line { font-size: 0.75rem; line-height: 1.9; color: rgba(246, 239, 228, 0.6); }
.legal-line a { color: rgba(246, 239, 228, 0.75); text-decoration: none; border-bottom: 1px solid rgba(246, 239, 228, 0.22); }
.legal-line a:hover { color: var(--ivory); border-bottom-color: var(--ivory); }
.legal-sep { color: rgba(246, 239, 228, 0.32); padding-inline: 0.45rem; }
.credit-line { font-size: 0.75rem; color: rgba(246, 239, 228, 0.6); }
.credit { color: var(--gold-soft); font-weight: 600; text-decoration: none; }
.credit:hover { text-decoration: underline; }
/* Pictogramele ANPC au deja fundal alb propriu */
.anpc { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }
.anpc img { height: 42px; width: auto; }
@media (min-width: 780px) {
  .footer-legal { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
  .footer-legal .legal-stack { display: grid; gap: 0.25rem; }
}

/* --------------------------------------------------------------------------
   16. Plutitoare: contor de baloane, WhatsApp
   -------------------------------------------------------------------------- */
.pop-counter {
  position: fixed; left: 1rem; bottom: 1rem; z-index: 60; pointer-events: none;
  padding: 0.45rem 0.85rem; border-radius: 999px;
  background: rgba(36, 31, 28, 0.82); color: var(--ivory);
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; transform: translateY(10px) scale(0.96);
  transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.pop-counter.is-on { opacity: 1; transform: none; }
.pop-counter-no { color: var(--rose); }

.wa-float {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.45);
  transition: transform 0.16s var(--ease-out);
}
.wa-float svg { width: 30px; height: 30px; fill: currentColor; position: relative; z-index: 1; }
.wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); animation: wa-pulse 2.6s var(--ease-out) infinite; }
.wa-float:active { transform: scale(0.94); }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 0.55; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

/* --------------------------------------------------------------------------
   17. Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 4.5rem 1rem 2rem;
  background: rgba(24, 20, 18, 0.96); color: var(--ivory);
  opacity: 0; visibility: hidden; transition: opacity 0.25s var(--ease-out), visibility 0s linear 0.25s;
  /* swipe-ul nu mai declanseaza pull-to-refresh / gestul de back din browserul de telefon */
  touch-action: none; overscroll-behavior: none;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.28s var(--ease-out), visibility 0s; }
.lightbox-figure { display: grid; gap: 1rem; justify-items: center; max-width: min(1100px, 100%); transform: scale(0.96); transition: transform 0.32s var(--ease-out); }
.lightbox.is-open .lightbox-figure { transform: none; }
.lightbox-frame { display: grid; }
.lightbox-image { max-width: 100%; max-height: calc(100svh - 11rem); width: auto; height: auto; border-radius: 18px; transition: opacity 0.2s ease; }
.lightbox-image.is-swapping { opacity: 0.2; }
.lightbox-caption { display: grid; gap: 0.3rem; text-align: center; max-width: 60ch; font-size: 0.9375rem; color: rgba(246, 239, 228, 0.82); }
.lightbox-tag, .lightbox-no { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-soft); }
.lightbox-btn {
  position: absolute; width: 52px; height: 52px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; border: 1px solid rgba(246, 239, 228, 0.25); background: rgba(36, 31, 28, 0.7);
  transition: background-color 0.2s ease, transform 0.16s var(--ease-out);
}
.lightbox-btn svg { width: 24px; height: 24px; fill: var(--ivory); }
.lightbox-btn:active { transform: scale(0.94); }
@media (hover: hover) { .lightbox-btn:hover { background: var(--gold); } }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { left: 1rem; top: 50%; margin-top: -26px; }
.lightbox-next { right: 1rem; top: 50%; margin-top: -26px; }
.lightbox-btn[hidden] { display: none; }
@media (max-width: 700px) { .lightbox-prev, .lightbox-next { top: auto; bottom: 1rem; margin-top: 0; } }
.is-locked { overflow: hidden; overscroll-behavior: none; }
.is-locked body { overscroll-behavior: none; }


/* --------------------------------------------------------------------------
   17b. Pagini legale (aceleasi tokenuri, fundal ivoriu, fara scena 3D)
   -------------------------------------------------------------------------- */
.legal-body { background: var(--ivory); color: var(--charcoal); --accent: var(--gold); --muted: var(--ink-muted); --line: rgba(58, 53, 48, 0.14); }
.legal-body .site-header { color: var(--charcoal); background: rgba(246, 239, 228, 0.94); box-shadow: 0 1px 0 var(--line); }
.legal-body .site-header .mark-body { fill: var(--gold); }
.legal-body .site-header .mark-string { stroke: var(--gold); }
.legal-body .nav-list a { text-decoration: none; }
.legal-page { padding: calc(var(--header-h) + clamp(2.5rem, 6vw, 4.5rem)) 0 clamp(3rem, 7vw, 5rem); }
.legal-page .shell { max-width: 72ch; }
.legal-page h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: 0.75rem; }
.legal-page .updated { font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 2.5rem; }
.legal-page h2 { font-size: 1.5rem; margin-top: 2.5rem; margin-bottom: 0.85rem; }
.legal-page p { margin-bottom: 1rem; color: var(--ink-muted); line-height: 1.75; }
.legal-page strong { color: var(--charcoal); font-weight: 600; }
.legal-page ul.bullets { display: grid; gap: 0.6rem; margin-bottom: 1.25rem; }
.legal-page ul.bullets li { position: relative; padding-left: 1.15rem; color: var(--ink-muted); line-height: 1.75; }
/* marcaj: balon mic, nu liniuta */
.legal-page ul.bullets li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.42rem; height: 0.48rem; border-radius: 50% 50% 48% 48% / 56% 56% 44% 44%; background: var(--gold); }
.legal-page a { color: var(--gold-deep); }
.legal-page .data-table { width: 100%; border-collapse: collapse; margin-bottom: 1.5rem; font-size: 0.9375rem; }
.legal-page .data-table th, .legal-page .data-table td { text-align: left; vertical-align: top; padding: 0.7rem 0.9rem 0.7rem 0; border-bottom: 1px solid rgba(58, 53, 48, 0.12); }
.legal-page .data-table th { font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); width: 42%; }
.legal-page .anpc { margin-top: 1.5rem; }
.legal-page .anpc img { height: 42px; width: auto; border: 1px solid rgba(58, 53, 48, 0.12); border-radius: 6px; }
.table-scroll { overflow-x: auto; }

/* hero: ascuns doar pana porneste animatia de intrare (cu plasa de siguranta) */
@media (prefers-reduced-motion: no-preference) {
  .js:not(.hero-done) .hero-title,
  .js:not(.hero-done) [data-hero-fade],
  .js:not(.hero-done) .bw--hero,
  .js:not(.hero-done) .bw-string,
  .js:not(.hero-done) .hero-foot { opacity: 0; animation: show-failsafe 0.01s linear 2.8s forwards; }
}
@keyframes show-failsafe { to { opacity: 1; } }
.hover-pick body { cursor: pointer; }

/* --------------------------------------------------------------------------
   18. Miscare redusa: pastram culoarea si opacitatea, scoatem deplasarile
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .wa-float::after, .scroll-cue-line::after { display: none; }
  .services-grid .service:nth-child(even) { transform: none; }
}
