/* ==========================================================================
   Sterk Industrial — sistem de stiluri
   Fara framework, fara build. Un singur fisier, citit de sus in jos.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Paleta e injectata din setari in <head>; aici sunt doar valorile de rezerva.
     --accent conduce actiunile (butoane, linkuri).
     --accent-2 si --accent-3 sunt decorative: gradiente, numere, etichete. */
  --accent: #0B6E4F;
  --accent-2: #1C7A8C;
  --accent-3: #C9A227;

  --paper:   #FBFBF9;
  --paper-2: #F3F3EF;
  --card:    #FFFFFF;
  --ink:     #101211;
  --ink-2:   #5A605C;
  --ink-3:   #676E68;
  --line:    rgba(16, 18, 17, .11);
  --line-2:  rgba(16, 18, 17, .055);
  --acc:     var(--accent);
  --acc2:    var(--accent-2);
  --acc3:    var(--accent-3);
  --acc-ink: var(--accent-ink, #FFFFFF);
  --acc3-ink: var(--accent-3-ink, #16130A);
  --acc-wash: color-mix(in oklab, var(--accent) 8%, transparent);
  --acc-line: color-mix(in oklab, var(--accent) 26%, transparent);

  --sh-1: 0 1px 2px rgba(16, 18, 17, .05), 0 4px 14px rgba(16, 18, 17, .05);
  --sh-2: 0 2px 6px rgba(16, 18, 17, .06), 0 18px 44px rgba(16, 18, 17, .11);
  --sh-3: 0 8px 24px rgba(16, 18, 17, .10), 0 40px 90px rgba(16, 18, 17, .18);

  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --wrap: 1240px;
  --gut: clamp(1.15rem, 4vw, 2.75rem);

  --ease:      cubic-bezier(.22, .61, .36, 1);
  --ease-out:  cubic-bezier(.16, 1, .3, 1);
  --ease-soft: cubic-bezier(.4, 0, .2, 1);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --paper:   #0B0D0C;
  --paper-2: #111414;
  --card:    #151918;
  --ink:     #EFF2EF;
  --ink-2:   #A3ABA6;
  --ink-3:   #848D87;
  --line:    rgba(255, 255, 255, .11);
  --line-2:  rgba(255, 255, 255, .06);
  --acc:     color-mix(in oklab, var(--accent) 62%, white);
  --acc2:    color-mix(in oklab, var(--accent-2) 62%, white);
  --acc3:    color-mix(in oklab, var(--accent-3) 68%, white);
  --acc-ink: #06120D;
  --acc3-ink: #16130A;
  --acc-wash: color-mix(in oklab, var(--accent) 16%, transparent);
  --acc-line: color-mix(in oklab, var(--accent) 40%, transparent);

  --sh-1: 0 1px 2px rgba(0, 0, 0, .5), 0 4px 14px rgba(0, 0, 0, .35);
  --sh-2: 0 2px 6px rgba(0, 0, 0, .5), 0 18px 44px rgba(0, 0, 0, .5);
  --sh-3: 0 8px 24px rgba(0, 0, 0, .55), 0 40px 90px rgba(0, 0, 0, .65);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper:   #0B0D0C;
    --paper-2: #111414;
    --card:    #151918;
    --ink:     #EFF2EF;
    --ink-2:   #A3ABA6;
    --ink-3:   #848D87;
    --line:    rgba(255, 255, 255, .11);
    --line-2:  rgba(255, 255, 255, .06);
    --acc:     color-mix(in oklab, var(--accent) 62%, white);
    --acc2:    color-mix(in oklab, var(--accent-2) 62%, white);
    --acc3:    color-mix(in oklab, var(--accent-3) 68%, white);
    --acc-ink: #06120D;
    --acc3-ink: #16130A;
    --acc-wash: color-mix(in oklab, var(--accent) 16%, transparent);
    --acc-line: color-mix(in oklab, var(--accent) 40%, transparent);

    --sh-1: 0 1px 2px rgba(0, 0, 0, .5), 0 4px 14px rgba(0, 0, 0, .35);
    --sh-2: 0 2px 6px rgba(0, 0, 0, .5), 0 18px 44px rgba(0, 0, 0, .5);
    --sh-3: 0 8px 24px rgba(0, 0, 0, .55), 0 40px 90px rgba(0, 0, 0, .65);
  }
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

/* Vezi explicatia din admin.css: fara asta, orice regula proprie care seteaza
   `display` anuleaza ascunderea implicita a atributului `hidden`. */
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background .4s var(--ease-soft), color .4s var(--ease-soft);
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.022em; font-weight: 640; }
p { margin: 0; }
dl, dd, dt, ul, li, figure { margin: 0; padding: 0; }
ul { list-style: none; }

::selection { background: var(--acc); color: var(--acc-ink); }

:focus-visible {
  outline: 2px solid var(--acc);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 50%; top: -100px; z-index: 200;
  transform: translateX(-50%);
  padding: .7rem 1.2rem; border-radius: 0 0 var(--r) var(--r);
  background: var(--ink); color: var(--paper); font-weight: 600;
  transition: top .25s var(--ease);
}
.skip:focus { top: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* --------------------------------------------------------------------------
   3. BUTOANE / CHIPS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .95rem; font-weight: 580; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--ease-out), background .25s var(--ease),
              border-color .25s var(--ease), box-shadow .35s var(--ease-out), color .25s var(--ease);
}
.btn .ico { transition: transform .4s var(--ease-out); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); transition-duration: .08s; }
.btn:hover .ico:last-child { transform: translateX(3px); }

.btn-solid { background: var(--acc); color: var(--acc-ink); box-shadow: var(--sh-1); }
.btn-solid:hover { box-shadow: 0 6px 22px var(--acc-line); }

.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--card); border-color: var(--ink-3); box-shadow: var(--sh-1); }

.btn-sm { padding: .55rem 1rem; font-size: .875rem; }
.btn-lg { padding: .95rem 1.7rem; font-size: 1.02rem; }

.ico-btn {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .3s var(--ease-out);
}
.ico-btn:hover { background: var(--card); border-color: var(--ink-3); transform: translateY(-2px); }
.ico-btn .ico { width: 18px; height: 18px; }

.theme-tgl .moon { display: none; }
:root[data-theme="dark"] .theme-tgl .sun { display: none; }
:root[data-theme="dark"] .theme-tgl .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-tgl .sun { display: none; }
  :root:not([data-theme="light"]) .theme-tgl .moon { display: block; }
}

.chip {
  display: inline-flex; align-items: center; gap: .38em;
  padding: .3rem .68rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .755rem; font-weight: 560; letter-spacing: .012em;
  color: var(--ink-2); background: var(--card);
  white-space: nowrap;
}
.chip .ico { width: 13px; height: 13px; }
.chip-line { border-color: var(--acc-line); color: var(--acc); background: var(--acc-wash); }
.chip-soon { border-color: var(--acc-line); color: var(--acc); background: var(--acc-wash); }
.chip-badge {
  position: absolute; top: .85rem; left: .85rem; z-index: 2;
  background: var(--acc3); color: var(--acc3-ink); border-color: transparent;
  font-weight: 640;
  box-shadow: var(--sh-1);
}

/* --------------------------------------------------------------------------
   4. HEADER
   -------------------------------------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 90;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .35s var(--ease), background .35s var(--ease);
}
.hdr.stuck { border-bottom-color: var(--line); }

.hdr-in { display: flex; align-items: center; gap: 1rem; height: 68px; }

.brand { display: flex; align-items: center; gap: .6rem; margin-right: auto; min-height: 44px; }

/* --- Logo incarcat din panou --- */
.brand-logo-wrap { display: block; flex: none; line-height: 0; }
.brand-logo {
  display: block;
  height: var(--logo-h, 34px);
  width: auto;
  max-width: min(52vw, 320px);
  object-fit: contain;
}
/* Varianta pentru fundal inchis: se randeaza ambele, se comuta aici.
   Asa reactioneaza instantaneu si la butonul de tema, nu doar la setarea
   sistemului — ceea ce un <picture> cu media query nu poate face. */
.brand-logo-dark { display: none; }
:root[data-theme="dark"] .brand-logo-light { display: none; }
:root[data-theme="dark"] .brand-logo-dark  { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo-light { display: none; }
  :root:not([data-theme="light"]) .brand-logo-dark  { display: block; }
}

/* Pentru logo monocrom fara varianta dedicata: se inverseaza pe fundal inchis. */
:root[data-theme="dark"] .brand-logo-invert { filter: invert(1) brightness(1.85); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand-logo-invert { filter: invert(1) brightness(1.85); }
}

/* In subsol logo-ul sta putin mai mic si nu are nevoie de zona de atingere. */
.ftr-brand .brand { min-height: 0; margin-bottom: .8rem; }
.ftr-brand .brand-logo { height: calc(var(--logo-h, 34px) * .86); }
.brand-mark { color: var(--acc); }
.brand-mark svg { width: 30px; height: 30px; }
.brand-txt { display: flex; align-items: baseline; gap: .34rem; line-height: 1; }
.brand-txt strong { font-size: 1.1rem; font-weight: 700; letter-spacing: .1em; }
.brand-txt em {
  font-style: normal; font-size: .74rem; font-weight: 560;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3);
}

.hdr-nav { display: flex; gap: .35rem; }
.hdr-nav a {
  position: relative; padding: .5rem .8rem; border-radius: 999px;
  font-size: .92rem; font-weight: 520; color: var(--ink-2);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.hdr-nav a:hover { color: var(--ink); background: var(--line-2); }

.hdr-act { display: flex; align-items: center; gap: .5rem; }
.hdr-phone .ico { width: 15px; height: 15px; }

.hdr-prog { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.hdr-prog i {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--acc), var(--acc2)); transform-origin: 0 50%;
  transform: scaleX(var(--p, 0));
}

@media (max-width: 940px) {
  .hdr-nav, .hdr-phone { display: none; }
}
@media (max-width: 460px) {
  .hdr-in { height: 60px; }
  .brand-txt em { display: none; }
}

/* --------------------------------------------------------------------------
   5. HERO
   -------------------------------------------------------------------------- */
.hero { position: relative; padding: clamp(3.5rem, 11vw, 8rem) 0 clamp(3rem, 8vw, 6rem); overflow: hidden; }

.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.orb {
  position: absolute; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--acc), transparent 68%);
  filter: blur(70px); opacity: .17;
  animation: float 22s var(--ease-soft) infinite;
}
.orb-1 { width: 52vw; height: 52vw; max-width: 620px; max-height: 620px; top: -16%; right: -10%; }
.orb-2 {
  background: radial-gradient(circle at 30% 30%, var(--acc2), transparent 68%);
  width: 40vw; height: 40vw; max-width: 460px; max-height: 460px; bottom: -22%; left: -12%;
  animation-delay: -11s; opacity: .11;
}
@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(2.5%, 4%, 0) scale(1.09); }
}

/* --- Hero cu fotografie de fundal --- */
.hero-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--hero-pos, center);
  filter: blur(var(--hero-blur, 0px));
  transform: scale(1.04);          /* ascunde marginile cand se aplica blur */
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg,
      rgba(8, 10, 9, .92) 0%,
      rgba(8, 10, 9, .55) 45%,
      rgba(8, 10, 9, .80) 100%),
    linear-gradient(105deg,
      color-mix(in oklab, var(--accent) 55%, transparent) 0%,
      transparent 62%);
  opacity: var(--hero-veil, .62);
}

/* Peste fotografie, textul trebuie sa fie deschis indiferent de tema aleasa
   de vizitator. Redefinim tokenii doar in interiorul sectiunii. */
.hero-img {
  --ink:    #FFFFFF;
  --ink-2:  rgba(255, 255, 255, .84);
  --ink-3:  rgba(255, 255, 255, .68);
  --line:   rgba(255, 255, 255, .26);
  --line-2: rgba(255, 255, 255, .14);
  --card:   rgba(255, 255, 255, .12);

  /* Obligatoriu. `color` e mostenit de la <body>, unde var(--ink) a fost deja
     inlocuit cu o valoare concreta — redefinirea variabilei mai jos in arbore
     nu reevalueaza acea mostenire. Fara linia asta, pe tema deschisa titlul ar
     ramane aproape negru peste fotografia intunecata. */
  color: var(--ink);
}
.hero-img .hero-kick {
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: none;
}
.hero-img .hero-title { text-shadow: 0 2px 30px rgba(0, 0, 0, .35); }
.hero-img .btn-ghost { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-img .btn-ghost:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .5); }
.hero-img .stats { border-top-color: rgba(255, 255, 255, .22); }

.hero-tall { padding-block: clamp(5rem, 16vw, 11rem) clamp(4rem, 10vw, 7rem); }

.hero-in { position: relative; z-index: 1; max-width: 940px; }

.hero-kick {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .38rem .9rem .38rem .62rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--card);
  font-size: .82rem; font-weight: 560; color: var(--ink-2);
  margin-bottom: 1.6rem; box-shadow: var(--sh-1);
}
.hero-kick .dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--acc); flex: none;
  box-shadow: 0 0 0 0 var(--acc); animation: pulse 2.6s var(--ease-soft) infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--acc) 55%, transparent); }
  70%  { box-shadow: 0 0 0 9px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero-title {
  font-size: clamp(2.3rem, 6.4vw, 4.4rem);
  letter-spacing: -.035em; font-weight: 680;
  margin-bottom: 1.4rem; text-wrap: balance;
}
.hero-lead {
  font-size: clamp(1.02rem, 1.9vw, 1.24rem);
  color: var(--ink-2); max-width: 60ch; text-wrap: pretty;
}
.hero-act { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.2rem; }

.stats {
  display: flex; flex-wrap: wrap; gap: clamp(1.6rem, 5vw, 3.4rem);
  margin-top: clamp(2.8rem, 7vw, 4.4rem);
  padding-top: clamp(1.8rem, 4vw, 2.4rem);
  border-top: 1px solid var(--line);
}
.stat dt {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 680;
  letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums;
}
.stat dd {
  margin-top: .4rem; font-size: .84rem; color: var(--ink-3);
  letter-spacing: .04em; text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   6. SECTIUNI
   -------------------------------------------------------------------------- */
.sec { padding: clamp(3.5rem, 9vw, 7rem) 0; }
.sec-alt { background: var(--paper-2); border-block: 1px solid var(--line-2); }

.sec-head { max-width: 60ch; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.sec-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -.03em; margin-bottom: .8rem; text-wrap: balance;
}
.sec-lead { color: var(--ink-2); font-size: 1.03rem; text-wrap: pretty; }

.empty-state {
  padding: 3rem; text-align: center; color: var(--ink-3);
  border: 1px dashed var(--line); border-radius: var(--r-lg);
}

/* --------------------------------------------------------------------------
   7. GRILA DE PRODUSE
   -------------------------------------------------------------------------- */
.grid {
  display: grid; gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
}
.grid-sm { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  overflow: hidden;
  box-shadow: var(--sh-1);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out),
              border-color .35s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); border-color: var(--acc-line); }
.card:has(.card-hit:focus-visible) { border-color: var(--acc); }

.card-hit {
  display: block; width: 100%; text-align: left;
  padding: 0; border: 0; background: none; cursor: pointer;
}

.card-media {
  position: relative; display: block;
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(120% 100% at 50% 0%, var(--paper-2), transparent 70%),
    var(--card);
  overflow: hidden;
  border-bottom: 1px solid var(--line-2);
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out), filter .5s var(--ease);
}
.card:hover .card-media img { transform: scale(1.055); }

.card-ph { display: grid; place-items: center; height: 100%; padding: 12%; }
.ph { width: 100%; height: 100%; color: var(--ink-3); opacity: .5; transition: opacity .5s var(--ease), color .5s var(--ease); }
.card:hover .ph { opacity: .78; color: var(--acc); }
.ph .ph-cap { font-size: 19px; font-weight: 620; fill: currentColor; letter-spacing: -.02em; }
.ph-lg { max-width: 320px; margin-inline: auto; }

.card-cap {
  position: absolute; right: .9rem; bottom: .7rem; z-index: 1;
  font-size: clamp(1.6rem, 4vw, 2.15rem); font-weight: 700;
  letter-spacing: -.045em; color: var(--ink);
  opacity: .13; pointer-events: none;
  font-variant-numeric: tabular-nums;
  transition: opacity .5s var(--ease), transform .6s var(--ease-out);
}
.card:hover .card-cap { opacity: .22; transform: translateY(-2px); }

.card-body { display: block; padding: 1.15rem 1.25rem 1.35rem; }

.card-line {
  display: block; height: 2px; width: 26px;
  background: linear-gradient(90deg, var(--acc), var(--acc2)); border-radius: 2px;
  margin-bottom: .95rem;
  transition: width .55s var(--ease-out);
}
.card:hover .card-line { width: 52px; }

.card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .8rem; }
.card-title { font-size: 1.12rem; letter-spacing: -.022em; }
.card-go {
  display: grid; place-items: center; flex: none;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); color: var(--ink-3);
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .45s var(--ease-out);
}
.card-go .ico { width: 14px; height: 14px; }
.card:hover .card-go {
  background: var(--acc); color: var(--acc-ink);
  border-color: transparent; transform: translateX(3px);
}

.card-tag {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  margin-top: .5rem; font-size: .9rem; line-height: 1.55; color: var(--ink-2);
}
.card-meta { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }

.card.is-soon .card-media { background: var(--acc-wash); }
.card.is-soon::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  border: 1px solid var(--acc-line);
  opacity: 0; transition: opacity .5s var(--ease);
}
.card.is-soon:hover::after { opacity: 1; }

/* --------------------------------------------------------------------------
   8. BARA DE CATALOG
   -------------------------------------------------------------------------- */
.cat-bar {
  display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap;
  margin-top: clamp(1.5rem, 3vw, 2.2rem);
  padding: 1.2rem 1.4rem;
  border: 1px solid var(--acc-line); border-radius: var(--r-lg);
  background: var(--acc-wash);
}
.cat-ico {
  display: grid; place-items: center; flex: none;
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(135deg, var(--acc), var(--acc2)); color: var(--acc-ink);
}
.cat-ico .ico { width: 22px; height: 22px; }
.cat-txt { flex: 1 1 220px; display: flex; flex-direction: column; }
.cat-txt b { font-size: 1.02rem; font-weight: 620; }
.cat-txt span { font-size: .875rem; color: var(--ink-2); }
.cat-act { display: flex; gap: .55rem; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   9. "DE CE STERK"
   -------------------------------------------------------------------------- */
.feat { display: grid; gap: clamp(1rem, 2.5vw, 1.75rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.feat-item {
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--card);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .35s var(--ease);
}
.feat-item:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--acc-line); }
.feat-n {
  display: block; font-size: .8rem; font-weight: 640; letter-spacing: .1em;
  color: var(--acc2); margin-bottom: 1rem; font-variant-numeric: tabular-nums;
}
.feat-item h3 { font-size: 1.14rem; margin-bottom: .55rem; letter-spacing: -.022em; }
.feat-item p { color: var(--ink-2); font-size: .94rem; }

/* --------------------------------------------------------------------------
   10. CONTACT
   -------------------------------------------------------------------------- */
.cta {
  display: grid; gap: clamp(1.6rem, 4vw, 3rem);
  grid-template-columns: 1fr;
  padding: clamp(1.8rem, 4vw, 3rem);
  border: 1px solid var(--line); border-radius: var(--r-xl);
  background: var(--card); box-shadow: var(--sh-1);
}
@media (min-width: 860px) { .cta { grid-template-columns: 1fr 1fr; align-items: center; } }

.cta-l h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); letter-spacing: -.03em; margin-bottom: .7rem; text-wrap: balance; }
.cta-l p { color: var(--ink-2); }

.cta-r { display: flex; flex-direction: column; gap: .5rem; }
.cta-row {
  display: flex; align-items: center; gap: .9rem;
  padding: .85rem 1.1rem;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper);
  transition: transform .4s var(--ease-out), border-color .3s var(--ease), background .3s var(--ease);
}
.cta-row:hover { transform: translateX(4px); border-color: var(--acc-line); background: var(--acc-wash); }
.cta-row.cta-static:hover { transform: none; border-color: var(--line); background: var(--paper); }
.cta-row > .ico:first-child { width: 19px; height: 19px; color: var(--acc); }
.cta-row > .ico:last-child { width: 16px; height: 16px; margin-left: auto; color: var(--ink-3); }
.cta-row.cta-static > .ico:last-child { display: none; }
.cta-row span { display: flex; flex-direction: column; min-width: 0; }
.cta-row b { font-size: .98rem; font-weight: 580; }
.cta-row small { font-size: .78rem; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   11. MODAL + VIZUALIZARE PRODUS
   -------------------------------------------------------------------------- */
.modal {
  width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; padding: 0; border: 0; background: transparent;
  overflow: hidden;
  /* Obligatoriu. Foaia browserului pune `color: CanvasText` pe <dialog>, deci
     continutul NU mosteneste culoarea de la <body>. Fara linia asta, pe tema
     intunecata titlul produsului si valorile din specificatii ies negre pe
     fundal negru — invizibile. */
  color: var(--ink);
}

/* Obligatoriu explicit. Foaia de stil a browserului ascunde un <dialog>
   inchis, dar orice regula de autor care seteaza `display` o anuleaza —
   originea autorului bate originea user-agent, indiferent de specificitate.
   Fara asta, dialogul inchis ramane un bloc cat tot ecranul la finalul
   paginii si se poate derula sub footer. */
.modal:not([open]) { display: none; }
.modal::backdrop {
  background: rgba(9, 11, 10, .42);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  opacity: 0; transition: opacity .4s var(--ease);
}
.modal[open]::backdrop { opacity: 1; }
:root[data-theme="dark"] .modal::backdrop { background: rgba(0, 0, 0, .62); }

.modal-sheet {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 94dvh; height: auto;
  display: flex; flex-direction: column;
  background: var(--paper);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: var(--sh-3);
  overflow: hidden;
  transform: translateY(100%);
  transition: transform .5s var(--ease-out);
  will-change: transform;
}
.modal[open] .modal-sheet { transform: translateY(0); }
.modal.closing .modal-sheet { transform: translateY(100%); }
.modal.dragging .modal-sheet { transition: none; }

.modal-grip {
  flex: none; width: 42px; height: 4px; border-radius: 999px;
  background: var(--line); margin: .7rem auto .2rem; cursor: grab;
}
.modal-x {
  position: absolute; top: .8rem; right: .9rem; z-index: 5;
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background .25s var(--ease), transform .3s var(--ease-out), border-color .25s var(--ease);
}
.modal-x:hover { background: var(--card); transform: rotate(90deg); border-color: var(--ink-3); }
.modal-x .ico { width: 17px; height: 17px; }

.modal-body {
  flex: 1 1 auto; overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: .5rem var(--gut) calc(2rem + env(safe-area-inset-bottom));
}

@media (min-width: 900px) {
  .modal[open] { display: grid; place-items: center; padding: 2.5rem; }
  .modal-sheet {
    position: relative; inset: auto;
    width: min(1120px, 100%); max-height: 88dvh;
    border-radius: var(--r-xl);
    transform: translateY(24px) scale(.97); opacity: 0;
    transition: transform .5s var(--ease-out), opacity .35s var(--ease);
  }
  .modal[open] .modal-sheet { transform: translateY(0) scale(1); opacity: 1; }
  .modal.closing .modal-sheet { transform: translateY(16px) scale(.98); opacity: 0; }
  .modal-grip { display: none; }
  .modal-body { padding: 2.2rem 2.4rem 2.4rem; }
}

/* --- Layout continut produs --- */
.pv { display: grid; gap: clamp(1.5rem, 3vw, 2.6rem); }
@media (min-width: 900px) {
  .pv { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; }
  .pv-gal { position: sticky; top: 0; }
}

.pv-top { margin-bottom: 1.2rem; }
.pv-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .9rem; }
.pv-title { font-size: clamp(1.55rem, 3.6vw, 2.35rem); letter-spacing: -.032em; text-wrap: balance; }
.pv-tag { margin-top: .6rem; font-size: 1.04rem; color: var(--acc); font-weight: 540; }
.pv-short { color: var(--ink-2); font-size: 1rem; line-height: 1.7; }

.pv-hl { display: grid; gap: .6rem; margin-top: 1.4rem; }
.pv-hl li { display: flex; gap: .7rem; align-items: flex-start; font-size: .94rem; color: var(--ink-2); }
.ico-check {
  width: 17px; height: 17px; flex: none; margin-top: .28em;
  color: var(--acc); stroke-width: 2.2;
}

.pv-block { margin-top: clamp(1.8rem, 4vw, 2.6rem); }
.pv-h3 {
  font-size: .78rem; font-weight: 640; letter-spacing: .13em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 1rem;
  padding-bottom: .7rem; border-bottom: 1px solid var(--line);
}

.pv-desc { display: grid; gap: 1rem; color: var(--ink-2); line-height: 1.72; }

.pv-note {
  display: flex; align-items: center; gap: .6rem;
  margin-top: .9rem; padding: .8rem 1rem;
  border: 1px dashed var(--line); border-radius: var(--r);
  font-size: .88rem; color: var(--ink-3);
}
.pv-note .ico { width: 16px; height: 16px; flex: none; }

.pv-btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; }

.pv-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--acc-line); border-radius: var(--r-lg);
  background: var(--acc-wash);
}
.pv-cta-txt { flex: 1 1 240px; display: flex; flex-direction: column; }
.pv-cta-txt b { font-size: 1.02rem; font-weight: 620; }
.pv-cta-txt span { font-size: .89rem; color: var(--ink-2); }
.pv-cta-act { display: flex; gap: .55rem; flex-wrap: wrap; }
.pv-cta-act .ico { width: 16px; height: 16px; }

.pv-perma {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1.4rem; font-size: .89rem; font-weight: 560; color: var(--ink-3);
  transition: color .25s var(--ease), gap .3s var(--ease-out);
}
.pv-perma:hover { color: var(--acc); gap: .7rem; }
.pv-perma .ico { width: 15px; height: 15px; }

/* --------------------------------------------------------------------------
   12. GALERIE
   -------------------------------------------------------------------------- */
.gal {
  position: relative;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--card); overflow: hidden;
}
.gal-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  aspect-ratio: 4 / 3;
}
.gal-track::-webkit-scrollbar { display: none; }
.gal-track:focus-visible { outline-offset: -3px; }

.gal-slide {
  flex: 0 0 100%; scroll-snap-align: center;
  display: grid; place-items: center; overflow: hidden;
}
.gal-slide img { width: 100%; height: 100%; object-fit: cover; }
.gal-empty { padding: 12%; gap: .9rem; align-content: center; }
.gal-empty figcaption { font-size: .82rem; color: var(--ink-3); text-align: center; }
.gal-empty .ph { opacity: .45; }

.gal-nav {
  position: absolute; top: 50%; z-index: 3;
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-top: -20px;
  border: 1px solid var(--line); border-radius: 50%;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  cursor: pointer; opacity: 0;
  transition: opacity .3s var(--ease), transform .35s var(--ease-out), background .25s var(--ease);
}
.gal:hover .gal-nav, .gal-nav:focus-visible { opacity: 1; }
.gal-nav:hover { background: var(--card); }
.gal-prev { left: .7rem; transform: translateX(-6px); }
.gal-next { right: .7rem; transform: translateX(6px); }
.gal:hover .gal-prev, .gal:hover .gal-next { transform: translateX(0); }
.gal-prev .ico { transform: rotate(180deg); }
.gal-nav .ico { width: 17px; height: 17px; }
.gal-nav[disabled] { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { .gal-nav { display: none; } }

.gal-dots {
  position: absolute; left: 50%; bottom: .85rem; z-index: 3;
  transform: translateX(-50%);
  display: flex; gap: .35rem; padding: .4rem .55rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 74%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.gal-dot {
  width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%;
  background: var(--ink-3); opacity: .45; cursor: pointer;
  transition: width .4s var(--ease-out), opacity .3s var(--ease), background .3s var(--ease);
}
.gal-dot.on { width: 20px; border-radius: 999px; opacity: 1; background: var(--acc); }

.gal-count {
  position: absolute; top: .8rem; left: .8rem; z-index: 3;
  padding: .22rem .6rem; border-radius: 999px;
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: .76rem; font-weight: 560; color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.gal-count b { color: var(--ink); font-weight: 660; }

/* --------------------------------------------------------------------------
   13. DESCARCARI
   -------------------------------------------------------------------------- */
.dl-grid { display: grid; gap: .55rem; }
.dl {
  display: flex; align-items: center; gap: .85rem;
  padding: .8rem .9rem;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--card);
  transition: border-color .3s var(--ease), transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.dl:hover { border-color: var(--acc-line); transform: translateY(-2px); box-shadow: var(--sh-1); }
.dl-alt { background: var(--paper-2); }

.dl-ico {
  display: grid; place-items: center; flex: none;
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--acc-wash); color: var(--acc);
}
.dl-ico .ico { width: 18px; height: 18px; }
.dl-txt { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.dl-txt b { font-size: .93rem; font-weight: 580; letter-spacing: -.01em; }
.dl-txt small { font-size: .77rem; color: var(--ink-3); }
.dl-act { display: flex; gap: .35rem; flex: none; }

.dl-btn {
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px;
  border: 1px solid var(--line); color: var(--ink-2);
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .3s var(--ease-out);
}
.dl-btn:hover { background: var(--paper-2); color: var(--ink); transform: translateY(-2px); }
.dl-btn .ico { width: 17px; height: 17px; }
.dl-main { background: var(--acc); color: var(--acc-ink); border-color: transparent; }
.dl-main:hover { background: var(--acc); color: var(--acc-ink); box-shadow: 0 5px 16px var(--acc-line); }

/* --------------------------------------------------------------------------
   14. SPECIFICATII
   -------------------------------------------------------------------------- */
.spec { border-top: 1px solid var(--line-2); }
.spec-row {
  display: flex; justify-content: space-between; gap: 1.2rem;
  padding: .68rem 0; border-bottom: 1px solid var(--line-2);
}
.spec-row dt { font-size: .9rem; color: var(--ink-3); }
.spec-row dd {
  font-size: .9rem; font-weight: 560; text-align: right;
  font-variant-numeric: tabular-nums;
}

/* --------------------------------------------------------------------------
   15. PAGINA DE PRODUS
   -------------------------------------------------------------------------- */
.crumb {
  display: flex; align-items: center; gap: .4rem; flex-wrap: wrap;
  padding-top: 1.5rem; font-size: .84rem; color: var(--ink-3);
}
.crumb a { transition: color .25s var(--ease); }
.crumb a:hover { color: var(--acc); }
.crumb .ico { width: 13px; height: 13px; opacity: .6; }
.crumb span { color: var(--ink); }

.prod-wrap { padding-block: clamp(1.8rem, 4vw, 3rem) clamp(3rem, 7vw, 5rem); }
.card-link .card-hit { display: block; }

/* --------------------------------------------------------------------------
   16. FOOTER
   -------------------------------------------------------------------------- */
.ftr { border-top: 1px solid var(--line); background: var(--paper-2); }
.ftr-in {
  display: grid; gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  padding-block: clamp(2.5rem, 6vw, 4rem) 2rem;
}
.ftr-brand .brand-txt { margin-bottom: .8rem; }
.ftr-brand p { font-size: .88rem; color: var(--ink-3); }
.ftr-note { margin-top: .5rem; }
.ftr-col h4 {
  font-size: .74rem; font-weight: 640; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: .9rem;
}
.ftr-col a, .ftr-col p {
  display: block; font-size: .92rem; color: var(--ink-2);
  transition: color .25s var(--ease);
}
.ftr-col p { margin-bottom: .4rem; }
/* Zona de atingere de minim 44 px: numerele de telefon si adresele de mail
   din subsol chiar se apasa de pe telefon. */
.ftr-col a {
  padding-block: .5rem;
  margin-block: -.1rem;
  min-height: 44px;
  display: flex; align-items: center;
}
.ftr-col a:hover { color: var(--acc); }

.ftr-admin { padding-block: .6rem; display: inline-flex; align-items: center; min-height: 40px; }

.ftr-bot {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  padding-block: 1.3rem; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--ink-3);
}
.ftr-admin { transition: color .25s var(--ease); }
.ftr-admin:hover { color: var(--acc); }

/* --------------------------------------------------------------------------
   17. 404
   -------------------------------------------------------------------------- */
.nf { display: grid; place-items: center; min-height: 62vh; text-align: center; }
.nf-in { max-width: 46ch; }
.nf-code {
  font-size: clamp(4rem, 14vw, 8rem); font-weight: 700;
  letter-spacing: -.05em; line-height: 1; color: var(--acc); opacity: .16;
}
.nf h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin: .5rem 0 .8rem; }
.nf-lead { color: var(--ink-2); }
.nf .hero-act { justify-content: center; }

/* --------------------------------------------------------------------------
   18. ANIMATII LA SCROLL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .7s var(--ease-out) calc(var(--i, 0) * 65ms),
    transform .7s var(--ease-out) calc(var(--i, 0) * 65ms);
}
.reveal.in { opacity: 1; transform: none; }

/* Fara JS, continutul trebuie sa ramana vizibil. */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .orb { animation: none; }
  .modal-sheet { transform: none !important; opacity: 1 !important; }
}

/* --------------------------------------------------------------------------
   19. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .hdr, .ftr, .modal, .hero-bg, .card-go, .pv-cta, .pv-perma { display: none !important; }
  body { background: #fff; color: #000; }
  .card, .dl, .feat-item { break-inside: avoid; box-shadow: none; }
}
