/* flero.help — piatră rece + auriul FLERO (#A8834B). Elementul-semnătură: talonul de garanție. */
:root {
  --bg: #EEEFEA;
  --surface: #FFFFFF;
  --ink: #1C1D1A;
  --muted: #5E6058;
  --line: #D6D7CF;
  --gold: #A8834B;
  --gold-ink: #7A5C2E;
  --on-gold: #FFFFFF;
  --stub: #F4ECDD;
  --stub-tab: #E9DCC3;
  --stub-line: #CDB690;
  --ok: #2F6B4F;
  --err: #A33A2B;
  --img-bg: #FFFFFF;
  --radius: 18px;
  --wrap: 1160px;
  --f-display: "Familjen Grotesk", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #141512; --surface: #1C1D19; --ink: #EDEBE4; --muted: #A3A398; --line: #30312B;
    --gold: #C9A267; --gold-ink: #D9B77F; --on-gold: #1A150C;
    --stub: #231F17; --stub-tab: #2C261B; --stub-line: #54472F;
    --ok: #7CC7A0; --err: #EE8D7A; --img-bg: #F4F4F1;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #141512; --surface: #1C1D19; --ink: #EDEBE4; --muted: #A3A398; --line: #30312B;
  --gold: #C9A267; --gold-ink: #D9B77F; --on-gold: #1A150C;
  --stub: #231F17; --stub-tab: #2C261B; --stub-line: #54472F;
  --ok: #7CC7A0; --err: #EE8D7A; --img-bg: #F4F4F1;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
.mono { font-family: var(--f-mono); font-weight: 500; letter-spacing: 0.02em; }
.nowrap { white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.eyebrow {
  font: 600 13px/1.2 var(--f-body); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 14px;
}
.eyebrow.mono { letter-spacing: 0.08em; text-transform: none; font-size: 14px; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }

/* ── antet ── */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: baseline; gap: 8px; text-decoration: none; }
.logo { height: 20px; width: auto; }
.brand-help { font: 500 15px/1 var(--f-mono); color: var(--gold-ink); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--ink); }
.langs { display: flex; gap: 2px; }
.langs a {
  font: 500 12px/1 var(--f-mono); text-decoration: none; color: var(--muted);
  padding: 7px 7px; border-radius: 7px;
}
.langs a:hover { color: var(--ink); background: var(--surface); }
.langs a[aria-current] { color: var(--ink); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 720px) {
  .nav { display: none; }
  .langs { margin-left: auto; }
}

/* ── hero ── */
.hero {
  display: grid; gap: 40px; align-items: center;
  padding-top: 56px; padding-bottom: 72px;
}
@media (min-width: 960px) { .hero { grid-template-columns: 1fr 1.08fr; gap: 56px; padding-top: 80px; padding-bottom: 96px; } }
.hero h1 { font-size: clamp(38px, 6vw, 66px); line-height: 1.02; margin-bottom: 20px; max-width: 11em; }
.arrowlink {
  display: inline-flex; gap: 8px; align-items: center; margin-top: 26px;
  font-weight: 600; color: var(--gold-ink); text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.arrowlink:hover { color: var(--ink); }

/* ── talonul de garanție (semnătura) ── */
.stub {
  --hole: 13px;
  position: relative; display: grid; grid-template-columns: 148px 1fr;
  background: var(--stub); border-radius: var(--radius);
  box-shadow: 0 1px 0 var(--stub-line), 0 24px 48px -28px rgba(60, 45, 20, .45);
  animation: stubIn .7s cubic-bezier(.2, .7, .2, 1) both;
}
@keyframes stubIn { from { opacity: 0; transform: translateY(14px) rotate(-.6deg); } to { opacity: 1; transform: none; } }
.stub-tab {
  position: relative; background: var(--stub-tab);
  border-radius: var(--radius) 0 0 var(--radius);
  display: flex; flex-direction: column; justify-content: space-between; padding: 22px 18px;
}
/* perforația: linie punctată + două găuri „ștanțate" în culoarea fundalului */
.stub-tab::after {
  content: ""; position: absolute; top: 18px; bottom: 18px; right: -1px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--stub-line) 0 6px, transparent 6px 12px);
}
.stub::before, .stub::after {
  content: ""; position: absolute; left: calc(148px - var(--hole)); width: calc(var(--hole) * 2); height: calc(var(--hole) * 2);
  border-radius: 50%; background: var(--bg); z-index: 1;
}
.stub::before { top: calc(var(--hole) * -1); }
.stub::after { bottom: calc(var(--hole) * -1); }
.stub-tab-label {
  font: 500 11px/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink);
  writing-mode: vertical-rl; transform: rotate(180deg); align-self: flex-start;
}
.stub-years { font: 700 44px/0.95 var(--f-display); letter-spacing: -0.03em; color: var(--gold-ink); }
.stub-years-sub { font-size: 13px; line-height: 1.3; color: var(--muted); margin-top: 6px; }
.stub-body { padding: 28px 28px 26px 32px; min-width: 0; }
.stub-body .eyebrow { display: none; }
.wform { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-label { font-weight: 600; font-size: 15px; }
.field-help { font-size: 13px; color: var(--muted); }
.field input {
  width: 100%; font-size: 22px; padding: 12px 14px; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--stub-line); border-radius: 10px;
  transition: border-color .15s;
}
.field input::placeholder { color: color-mix(in srgb, var(--muted) 55%, transparent); }
.field input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
.field input[aria-invalid="true"] { border-color: var(--err); }
.digits4 { max-width: 150px; letter-spacing: 0.35em !important; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 600 17px/1 var(--f-body); padding: 16px 22px; border-radius: 12px; border: 0; cursor: pointer;
  text-decoration: none; transition: transform .12s, background .15s;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--on-gold); }
.btn-gold:hover { background: var(--gold-ink); color: var(--on-gold); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); padding: 13px 18px; font-size: 16px; }
.btn-line:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }
.pdf { font: 500 11px/1 var(--f-mono); background: var(--err); color: #fff; padding: 4px 5px; border-radius: 4px; }
.wmsg { font-size: 15px; min-height: 0; }
.wmsg:empty { display: none; }
.wmsg.is-err { color: var(--err); }
.where { font-size: 14px; color: var(--muted); border-top: 1px dashed var(--stub-line); padding-top: 14px; }
.wresult { display: grid; gap: 12px; animation: fadeUp .35s ease both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.wr-order { font-size: 17px; }
.wr-label { color: var(--muted); }
.wr-id { font-size: 20px; }
.wr-date { color: var(--muted); }
.wr-covered { font: 600 13px/1.2 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); margin-top: 6px; }
.wr-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.wr-list li { background: var(--surface); border-radius: 10px; padding: 10px 14px; font-weight: 600; }
.wr-list small { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }
.linkbtn { background: none; border: 0; padding: 4px 0; font: 600 15px var(--f-body); color: var(--muted); cursor: pointer; justify-self: start; text-decoration: underline; }
@media (max-width: 560px) {
  .stub { grid-template-columns: 1fr; }
  .stub-tab { border-radius: var(--radius) var(--radius) 0 0; flex-direction: row; align-items: baseline; gap: 12px; padding: 18px 20px 20px; }
  .stub-tab::after { top: auto; bottom: -1px; left: 18px; right: 18px; width: auto; height: 2px;
    background: repeating-linear-gradient(to right, var(--stub-line) 0 6px, transparent 6px 12px); }
  .stub::before, .stub::after { left: auto; top: calc(var(--tabh, 78px) - var(--hole)); bottom: auto; }
  .stub::before { left: calc(var(--hole) * -1); }
  .stub::after { right: calc(var(--hole) * -1); }
  .stub-tab-label { display: none; }
  .stub-years { font-size: 34px; }
  .stub-years-sub { margin: 0; }
  .stub-body { padding: 22px 20px 22px; }
}

/* ── secțiuni ── */
.band { background: var(--surface); border-block: 1px solid var(--line); padding: 72px 0; }
.sec-head { margin-bottom: 32px; max-width: 40em; }
.sec-head h2 { font-size: clamp(30px, 4vw, 42px); line-height: 1.05; }
.sec-lead { color: var(--muted); margin-top: 12px; font-size: 18px; }

.pgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.pcard {
  display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius);
  background: var(--bg); overflow: hidden; transition: transform .2s, box-shadow .2s;
}
.pcard:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(0, 0, 0, .35); }
.pcard-img { background: var(--img-bg); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 18px; }
.pcard-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.pcard-txt { padding: 16px 18px 20px; display: grid; gap: 4px; }
.pcard-model { font-size: 12px; color: var(--gold-ink); }
.pcard-name { font: 700 19px/1.2 var(--f-display); letter-spacing: -0.01em; }
.pcard-short { font-size: 15px; color: var(--muted); }
.tag { font: 500 11px/1 var(--f-mono); vertical-align: 3px; padding: 3px 6px; border-radius: 5px; background: var(--surface); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line); white-space: nowrap; }
@media (max-width: 560px) {
  .pgrid { grid-template-columns: 1fr; gap: 10px; }
  .pcard { flex-direction: row; align-items: center; }
  .pcard-img { width: 104px; flex: none; padding: 10px; align-self: stretch; }
  .pcard-txt { padding: 12px 14px; }
  .pcard-name { font-size: 17px; }
  .pcard-short { font-size: 14px; }
}

.how { padding-top: 80px; padding-bottom: 80px; }
.steps { counter-reset: s; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
@media (min-width: 860px) { .how .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.steps li { counter-increment: s; position: relative; padding-top: 44px; font-size: 17px; }
.steps li::before {
  content: counter(s); position: absolute; top: 0; left: 0;
  font: 500 14px/32px var(--f-mono); width: 32px; height: 32px; text-align: center;
  border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--gold); color: var(--gold-ink);
}
.notes { list-style: none; margin: 40px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
@media (min-width: 860px) { .notes { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.contact { background: var(--ink); color: var(--bg); padding: 72px 0; }
.contact .eyebrow { color: var(--gold); }
.contact .sec-lead { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.contact-in { display: grid; gap: 32px; align-items: end; }
@media (min-width: 860px) { .contact-in { grid-template-columns: 1.1fr 1fr; } }
.clinks { display: grid; gap: 10px; }
.clink {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
  text-decoration: none; padding: 18px 0; border-bottom: 1px solid color-mix(in srgb, var(--bg) 22%, transparent);
}
.clink-k { font-size: 14px; color: color-mix(in srgb, var(--bg) 65%, transparent); }
.clink-v { font: 600 20px/1.2 var(--f-display); overflow-wrap: anywhere; }
.clink:hover .clink-v { color: var(--gold); }

.foot { padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; }
.foot .logo { height: 13px; color: var(--muted); }
.foot a { margin-left: auto; }
@media (max-width: 560px) { .foot a { margin-left: 0; } }

/* ── pagina de produs ── */
.back { display: inline-flex; gap: 8px; margin-top: 28px; font-weight: 600; font-size: 15px; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--ink); }
.phero { display: grid; gap: 32px; padding: 24px 0 56px; align-items: start; }
@media (min-width: 900px) { .phero { grid-template-columns: 1fr 1fr; gap: 56px; } }
.phero-img { background: var(--img-bg); border-radius: var(--radius); aspect-ratio: 1 / 1; display: grid; place-items: center; padding: 32px; }
.phero-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.phero h1 { font-size: clamp(32px, 4.6vw, 50px); line-height: 1.04; margin-bottom: 16px; }
.vlabel { font-size: 14px; color: var(--muted); margin-top: 24px; }
.chips { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; padding: 6px 13px; font-size: 15px; }
.pacts { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.pacts:empty { display: none; }
.minis {
  margin-top: 24px; background: var(--stub); border-radius: 14px; padding: 18px 20px;
  border-left: 3px dashed var(--stub-line);
}
.minis-plain { background: var(--surface); border-left-color: var(--line); }
.minis-t { font: 700 20px/1.2 var(--f-display); color: var(--gold-ink); }
.minis-plain .minis-t { color: var(--ink); }
.minis-s { color: var(--muted); font-size: 15px; margin-top: 4px; }
.minis .arrowlink { margin-top: 12px; }

.pbody { display: grid; gap: 32px; padding-bottom: 80px; }
@media (min-width: 900px) { .pbody { grid-template-columns: 200px minmax(0, 720px); gap: 56px; } }
.toc { display: flex; gap: 6px; flex-wrap: wrap; align-self: start; }
@media (min-width: 900px) { .toc { position: sticky; top: 96px; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); } }
.toc a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 600; padding: 6px 12px; border-radius: 8px; background: var(--surface); }
@media (min-width: 900px) { .toc a { background: none; border-radius: 0; margin-left: -1px; border-left: 2px solid transparent; } .toc a:hover { color: var(--ink); border-left-color: var(--gold); } }
.psec { padding: 8px 0 40px; }
.psec + .psec { border-top: 1px solid var(--line); padding-top: 36px; }
.psec h2 { font-size: 28px; margin-bottom: 20px; }
.steps-sm li { padding-top: 0; padding-left: 48px; min-height: 32px; }
.steps-sm { gap: 16px; }
.plain { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.plain li::marker { color: var(--gold); }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--surface); border-radius: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 15px 48px 15px 18px; font-weight: 600; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font: 500 20px/1 var(--f-mono); color: var(--gold-ink); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 18px 16px; color: var(--muted); }
.specs { margin: 0; display: grid; }
.specs div { display: grid; grid-template-columns: minmax(120px, 44%) 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
