/* Mobilier Digital — foaia de stil unică a site-ului apex.
   Tokenii vin din docs/identitate-mobilier-digital.md (sursa unică de adevăr).
   Fonturile sunt self-hostate: CSP font-src 'self', site-ul merge și pe wi-fi căzut. */

/* ---------- Fonturi (self-hostate, /assets/fonts/) ---------- */

@font-face {
  font-family: 'Archivo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('/assets/fonts/archivo-latin-ext-wdth-normal.woff2') format('woff2-variations');
  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: 'Archivo Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url('/assets/fonts/archivo-latin-wdth-normal.woff2') format('woff2-variations');
  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: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/assets/fonts/ibm-plex-mono-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: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url('/assets/fonts/ibm-plex-mono-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: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/assets/fonts/ibm-plex-mono-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: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url('/assets/fonts/ibm-plex-mono-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;
}

/* ---------- Tokeni ---------- */

:root {
  --ink: #0F1317;
  --bone: #F4F1E9;
  --chalk: #FFFFFF;
  --mist: #E2DED4;
  --steel: #646C74;
  --red: #DC0028;
  --red-hover: #B30020;
  --tint-select: #FFF7F8;
  --tint-cut: #FFE3E8;
  --ink-hover: #2A3038;
  --tint-structural: #EFEBE1;

  --radius: 10px;
  --radius-lg: 12px;

  --sp-1: 8px;
  --sp-2: 12px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;

  --font-sans: 'Archivo Variable', Archivo, 'Helvetica Neue', Helvetica, Arial,
    system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas,
    'Courier New', monospace;
}

/* ---------- Bază ---------- */

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bone);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
}

:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

a { color: var(--red); }
a:hover { color: var(--red-hover); }

.wrap { max-width: 64rem; margin: 0 auto; padding: 0 var(--sp-4); }
.wrap--xl { max-width: 72rem; }

/* ---------- Header (banda ink, fără gradiente) ---------- */

.site-header {
  background: var(--ink);
  color: var(--chalk);
  padding: var(--sp-3) 0;
}
.site-header .wrap { display: flex; align-items: baseline; gap: var(--sp-1); }
.wordmark {
  color: var(--chalk);
  font-weight: 700;
  font-variation-settings: 'wdth' 118;
  letter-spacing: .04em;
  font-size: 1.05rem;
  text-decoration: none;
}
.wordmark:hover { color: var(--chalk); }
/* pătratul roșu din logo-ul oficial (linia roșie ▪ RO) */
.mark {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--red);
  align-self: center;
  flex: 0 0 7px;
}
.app-suffix {
  font-family: var(--font-mono);
  color: var(--mist);
  font-size: .85rem;
  white-space: nowrap;
  margin-left: 4px;
}
.site-header .tel {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .85rem;
  color: var(--chalk);
  text-decoration: none;
  white-space: nowrap;
}
.site-header .tel:hover { color: var(--mist); }

/* ---------- Banda traseului (pagini de stație) ---------- */

.trail {
  background: var(--tint-structural);
  border-bottom: 1px solid var(--mist);
}
.trail ol {
  list-style: none;
  margin: 0;
  padding: var(--sp-1) 0;
  display: flex;
  justify-content: space-between;
  gap: var(--sp-1);
  overflow-x: auto;
  scrollbar-width: none;
}
.trail ol::-webkit-scrollbar { display: none; }
.trail li { flex: 0 0 auto; }
.trail a {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 600;
  color: var(--steel);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: var(--radius);
  white-space: nowrap;
  line-height: 1.4;
}
.trail a:hover { color: var(--ink); background: var(--chalk); }
.trail a[aria-current="page"] { background: var(--ink); color: var(--chalk); }
.trail .name { display: none; }
@media (min-width: 640px) {
  .trail ol { justify-content: flex-start; }
  .trail .name { display: inline; }
}

/* ---------- Conținut ---------- */

h1 {
  font-size: clamp(1.9rem, 6vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: var(--sp-5) 0 var(--sp-2);
}
.lead {
  font-size: clamp(1.05rem, 3.2vw, 1.25rem);
  color: var(--steel);
  margin: 0 0 var(--sp-4);
  max-width: 38rem;
}

h2 {
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  margin: var(--sp-5) 0 var(--sp-3);
}

/* ---------- Traseul stațiilor ---------- */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
  margin: 0 0 var(--sp-1);
}
/* pe telefon butoanele stau unul sub altul, pe toată lățimea; textul lung (emailul) poate trece pe două rânduri */
@media (max-width: 479px) {
  .hero-actions .cta { width: 100%; flex-wrap: wrap; justify-content: center; text-align: center; }
}

.stations {
  list-style: none;
  margin: 0 0 var(--sp-5);
  padding: 0;
  display: grid;
  gap: var(--sp-3);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .stations { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .stations { grid-template-columns: 1fr 1fr 1fr; }
}
.stations li { display: flex; }

/* cardul e link întreg: tot ce e în el duce la pagina stației */
a.station-card {
  flex: 1;
  background: var(--chalk);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  color: var(--ink);
  text-decoration: none;
}
a.station-card:hover { border-color: var(--ink); color: var(--ink); }
.station-head { display: flex; align-items: center; gap: var(--sp-2); }
.station-no {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .72rem;
  display: grid;
  place-items: center;
}
.station-path { font-family: var(--font-mono); font-size: .85rem; color: var(--steel); }
.station-name {
  font-weight: 700;
  font-variation-settings: 'wdth' 118;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .9rem;
}
.station-msg { margin: 0; font-size: 1.02rem; }
.station-cta {
  font-family: var(--font-mono);
  font-size: .9rem;
  font-weight: 600;
  color: var(--red);
  margin-top: auto;
  padding-top: var(--sp-1);
}
a.station-card:hover .station-cta { color: var(--red-hover); text-decoration: underline; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--mist);
  margin-top: var(--sp-5);
  padding: var(--sp-4) 0 var(--sp-5);
  color: var(--steel);
  font-size: .95rem;
}
.site-footer .contact {
  font-family: var(--font-mono);
  color: var(--ink);
}
.site-footer a.contact { color: var(--red); text-decoration: none; font-weight: 600; }
.site-footer a.contact:hover { color: var(--red-hover); text-decoration: underline; }

/* ---------- Pagini de stație ---------- */

.cta {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  background: var(--red);
  color: var(--chalk);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius);
  border: 1px solid var(--red);
  line-height: 1.4;
}
.cta:hover { background: var(--red-hover); border-color: var(--red-hover); color: var(--chalk); }
.cta .num { font-family: var(--font-mono); }
/* acțiune secundară: contur ink, fără roșu (roșul rămâne pe acțiunea principală) */
.cta--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.cta--secondary:hover { background: var(--ink); border-color: var(--ink); color: var(--chalk); }
.cta-note { font-size: .9rem; color: var(--steel); margin: var(--sp-1) 0 0; }

ol.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; }
ol.steps li {
  counter-increment: s;
  position: relative;
  padding: 0 0 var(--sp-3) 44px;
  border-left: 1px solid var(--mist);
  margin-left: var(--sp-2);
}
ol.steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
ol.steps li::before {
  content: counter(s, decimal-leading-zero);
  position: absolute;
  left: -14px;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .72rem;
  display: grid;
  place-items: center;
}
ol.steps b { display: block; }
ol.steps span { color: var(--steel); font-size: .96rem; }

.card {
  background: var(--chalk);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  margin: var(--sp-3) 0;
}
.card p { margin: 0; color: var(--steel); font-size: .96rem; }

/* stația anterioară / următoarea, ca două carduri-link la finalul paginii */
.trail-next {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
}
@media (min-width: 640px) {
  .trail-next { grid-template-columns: 1fr 1fr; }
  .trail-next .next { grid-column: 2; }
}
.trail-next a {
  display: block;
  background: var(--chalk);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: var(--sp-3) var(--sp-4);
  text-decoration: none;
  color: var(--ink);
}
.trail-next a:hover { border-color: var(--ink); color: var(--ink); }
.trail-next .next { text-align: right; }
.trail-next .dir {
  display: block;
  font-family: var(--font-mono);
  font-size: .75rem;
  color: var(--steel);
  margin-bottom: 4px;
}
.trail-next .to { display: block; font-weight: 700; }

.trail-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1) var(--sp-4);
  margin-top: var(--sp-2);
}
.trail-nav a {
  font-family: var(--font-mono);
  font-size: .9rem;
  color: var(--red);
  text-decoration: none;
  font-weight: 600;
}
.trail-nav a:hover { color: var(--red-hover); text-decoration: underline; }
.trail-nav span { font-family: var(--font-mono); font-size: .9rem; color: var(--steel); }

/* ======================================================================
   Redesign (machete „Așteptând răspunsuri formular", 7 sept 2026)
   Toate animațiile sunt CSS-only; reveal-ul la scroll e progressive
   enhancement pe animation-timeline: view(), fără JavaScript.
   ====================================================================== */

/* ---------- Animații ---------- */

@keyframes pulse-travel {
  0%   { left: 0; opacity: 0; }
  6%   { opacity: 1; }
  94%  { opacity: 1; }
  100% { left: calc(100% - 8px); opacity: 0; }
}
@keyframes node-glow {
  0%, 100% { border-color: var(--mist); }
  50%      { border-color: var(--ink); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
@keyframes cut-x {
  from { stroke-dashoffset: 360; }
  to   { stroke-dashoffset: 0; }
}
@keyframes hole-pop {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes scan-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: .3; }
}

/* intrare la încărcare (cardul vizual din hero) */
.rise-in { animation: rise .7s both; }

/* reveal la scroll: doar unde browserul știe animation-timeline; altfel conținutul e vizibil */
@supports (animation-timeline: view()) {
  .reveal {
    animation: rise both;
    animation-timeline: view();
    animation-range: entry 0% entry 45%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Elemente comune ---------- */

.kicker {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 var(--sp-2);
}
.section-title {
  font-size: 1rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 600;
  margin: 0 0 var(--sp-5);
}
.sq { display: inline-block; flex: 0 0 auto; }
.sq--red { width: 10px; height: 10px; background: var(--red); }

/* ---------- Homepage: hero ---------- */

.hero { padding: 72px 0 88px; }
.hero .kicker { margin-bottom: var(--sp-3); }
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  line-height: 1.06;
  margin: 0 0 20px;
  max-width: 16ch;
  text-wrap: balance;
}
.hero .lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  max-width: 34rem;
  line-height: 1.5;
  margin-bottom: var(--sp-5);
}
.hero .hero-actions { margin-bottom: 72px; }

/* panoul traseului: linia pe care circulă punctul roșu + 6 noduri */
.flow-panel {
  position: relative;
  background: var(--chalk);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 40px var(--sp-5) var(--sp-5);
  overflow-x: auto;
}
.flow-panel .label {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-5);
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--steel);
}
.flow-panel .inner { min-width: 640px; }
.flow-line {
  position: relative;
  height: 2px;
  background: var(--mist);
  margin: 48px var(--sp-1) 0;
}
.flow-dot {
  position: absolute;
  top: -3px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse-travel 6s linear infinite;
}
.flow-nodes {
  list-style: none;
  margin: -31px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--sp-1);
}
.flow-nodes a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.flow-nodes .box {
  position: relative; /* deasupra liniei (care e poziționată pentru punctul roșu) */
  z-index: 1;
  width: 60px;
  height: 60px;
  background: var(--chalk);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: .85rem;
  animation: node-glow 6s linear infinite;
}
.flow-nodes a:hover .box { border-color: var(--ink); }
.flow-nodes li:nth-child(1) .box { animation-delay: .3s; }
.flow-nodes li:nth-child(2) .box { animation-delay: 1.16s; }
.flow-nodes li:nth-child(3) .box { animation-delay: 2.01s; }
.flow-nodes li:nth-child(4) .box { animation-delay: 2.87s; }
.flow-nodes li:nth-child(5) .box { animation-delay: 3.73s; }
.flow-nodes li:nth-child(6) .box { animation-delay: 4.59s; }
.flow-nodes .name {
  display: block;
  font-weight: 700;
  font-variation-settings: 'wdth' 118;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: .78rem;
}
.flow-nodes .path {
  display: block;
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--steel);
  margin-top: 2px;
}

/* ---------- Homepage: traseul vertical ---------- */

.route { padding: 0 0 88px; }
.route-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.route-list::before {
  content: "";
  position: absolute;
  left: 29px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: var(--mist);
}
.route-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
}
.route-row .no {
  width: 60px;
  height: 60px;
  flex: 0 0 60px;
  background: var(--ink);
  color: var(--chalk);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1rem;
  position: relative;
  z-index: 1;
}
.route-row .text { flex: 1 1 260px; min-width: 0; }
.route-row .head { display: flex; align-items: baseline; gap: var(--sp-2); flex-wrap: wrap; }
.route-row .name {
  font-weight: 700;
  font-variation-settings: 'wdth' 118;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 1.15rem;
}
.route-row .path { font-family: var(--font-mono); font-size: .78rem; color: var(--steel); }
.route-row .msg { margin: 6px 0 10px; font-size: 1.05rem; max-width: 26rem; }
.route-row .go {
  font-family: var(--font-mono);
  font-size: .85rem;
  font-weight: 600;
  color: var(--red);
  text-decoration: none;
}
.route-row .go:hover { color: var(--red-hover); text-decoration: underline; }
.route-row .visual {
  flex: 0 1 340px;
  min-width: 240px;
  background: var(--chalk);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: var(--sp-3);
  min-height: 96px;
  display: grid;
  place-items: center;
}
.route-row .visual svg { display: block; max-width: 100%; height: auto; }
/* vizual cu imagine reală (captură din aplicație / imos): umple cardul, proporție 3:2 */
a.route-row-img, .route-row .visual--img {
  padding: 0;
  overflow: hidden;
  display: block;
}
.route-row .visual--img img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
a.visual--img:hover { border-color: var(--ink); }
.route-row .visual--board { display: block; padding: var(--sp-2); }
.route-row .visual--board .board { font-size: .74rem; }

/* ---------- Homepage: înainte / după ---------- */

.compare {
  background: var(--tint-structural);
  border-top: 1px solid var(--mist);
  border-bottom: 1px solid var(--mist);
  padding: 72px 0;
}
.compare .section-title { margin-bottom: var(--sp-1); }
.compare .claim { margin: 0 0 40px; font-size: 1.15rem; max-width: 32rem; }
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--sp-4);
}
.compare-card {
  background: var(--chalk);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
}
.compare-card--after { border-color: var(--ink); }
.compare-card .tag {
  font-family: var(--font-mono);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--steel);
  margin-bottom: var(--sp-3);
}
.compare-card--after .tag { color: var(--ink); }
.compare-card ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.compare-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .88rem;
  color: var(--steel);
}
.compare-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border: 1px solid var(--mist);
  background: var(--chalk);
}
/* pașii cu retastare: text roșu + pătrat pe tinta de tăiere */
.compare-card li.retype { color: var(--red); }
.compare-card li.retype::before { background: var(--tint-cut); }
.compare-card--after li { color: var(--ink); }
.compare-card--after li::before { background: var(--ink); border-color: var(--ink); }
.compare-card .note { margin: var(--sp-3) 0 0; font-size: .9rem; color: var(--steel); }

/* ---------- Homepage: ce câștigă fabrica ---------- */

.gains { padding: 88px 0; }
.gains .section-title { margin-bottom: var(--sp-5); }
.gains ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.gains li {
  display: flex;
  align-items: baseline;
  gap: var(--sp-3);
  font-weight: 700;
  font-variation-settings: 'wdth' 118;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: clamp(1.4rem, 3.6vw, 2.4rem);
  line-height: 1.25;
  border-bottom: 1px solid var(--mist);
  padding: 14px 0;
}

/* ---------- Homepage: de ce noi (bandă ink) ---------- */

.why { background: var(--ink); color: var(--chalk); padding: 64px 0; }
.why .section-title { color: var(--mist); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-5);
}
.why .big { font-family: var(--font-mono); font-size: 2.2rem; font-weight: 600; }
.why .brand {
  font-weight: 700;
  font-variation-settings: 'wdth' 118;
  font-size: 1.6rem;
  letter-spacing: .02em;
}
.why .brand span { font-family: var(--font-mono); font-size: .9rem; color: var(--mist); font-weight: 400; }
.why p { margin: var(--sp-1) 0 0; color: var(--mist); font-size: .95rem; max-width: 22rem; }

/* ---------- Homepage: CTA final ---------- */

.final { padding: 96px 0; text-align: center; }
.final h2 {
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--ink);
  margin: 0 0 28px;
  text-wrap: balance;
}
.final .hero-actions { justify-content: center; margin: 0; }
.final .note { margin: 20px 0 0; font-size: .95rem; color: var(--steel); }

/* ---------- Pagini de stație: hero pe două coloane + vizual tehnic ---------- */

.station-hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 48px;
  align-items: center;
  padding-top: var(--sp-4);
  margin-bottom: 40px;
}
.station-hero h1 { margin: 0 0 var(--sp-3); text-wrap: balance; }
.station-hero .lead { margin-bottom: 28px; }
.station-hero .cta-note { margin-top: var(--sp-2); }
.visual {
  background: var(--chalk);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.visual .label { font-family: var(--font-mono); font-size: .72rem; color: var(--steel); margin-bottom: var(--sp-2); }
.visual svg { width: 100%; height: auto; display: block; }
.visual img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--mist); }
.visual .legend {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--steel);
}
.visual .legend .cut-swatch {
  display: inline-block;
  width: 10px;
  height: 2px;
  background: var(--red);
  vertical-align: middle;
  margin-right: 6px;
}
/* liniile de tăiere se trag pe rând (stația 02) */
.cut { stroke: var(--red); stroke-width: 1.5; stroke-dasharray: 360; animation: cut-x 1.2s both; }
.cut-1 { animation-delay: .2s; }
.cut-2 { animation-delay: .8s; }
.cut-3 { animation-delay: 1.4s; }
.cut-4 { animation-delay: 2s; }
/* găurile apar pe rând (stația 04) */
.hole { fill: none; stroke: var(--red); stroke-width: 1.5; animation: hole-pop .4s both; }
.hole--main { fill: var(--tint-cut); }
.hole-1 { animation-delay: .2s; }
.hole-2 { animation-delay: .5s; }
.hole-3 { animation-delay: .8s; }
.hole-4 { animation-delay: 1.1s; }
.hole-5 { animation-delay: 1.4s; }
.hole-6 { animation-delay: 1.7s; }
.hole-7 { animation-delay: 2s; }
/* tabloul de producție (stația 05), HTML nu SVG */
.board { display: flex; flex-direction: column; gap: var(--sp-1); font-family: var(--font-mono); font-size: .8rem; }
.board-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--chalk);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 10px 14px;
}
.board-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--steel); flex: 0 0 8px; }
.board-row .state { color: var(--steel); margin-left: auto; }
.board-row--active { background: var(--tint-select); border-color: var(--ink); }
.board-row--active .dot { background: var(--red); animation: scan-blink 1.6s infinite; }
.board-row--active .state { color: var(--ink); }

.prose { max-width: 44rem; margin-top: var(--sp-5); }
.prose p { margin: 0 0 var(--sp-3); }
.prose + .card { margin-top: 40px; }

/* ---------- „Mai multe detalii": trimitere spre imos3d.ro / imes.ro ---------- */

.more {
  margin-top: 40px;
  background: var(--chalk);
  border: 1px solid var(--mist);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
}
.more .label { font-family: var(--font-mono); font-size: .72rem; color: var(--steel); margin-bottom: var(--sp-1); }
.more h2 { margin: 0 0 var(--sp-1); }
.more .intro { margin: 0 0 var(--sp-4); max-width: 40rem; }
.products {
  list-style: none;
  margin: 0 0 var(--sp-4);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--sp-3);
}
.products li { border-top: 1px solid var(--mist); padding-top: var(--sp-2); }
.products .name {
  display: block;
  font-weight: 700;
  font-variation-settings: 'wdth' 118;
  letter-spacing: .02em;
  margin-bottom: 4px;
}
.products .desc { color: var(--steel); font-size: .9rem; }
/* etapele producției (după fluxul de pe imes.ro), ca șir de etichete mono */
.stages {
  list-style: none;
  margin: 0 0 var(--sp-4);
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-1);
}
.stages li {
  font-family: var(--font-mono);
  font-size: .8rem;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: 4px 10px;
  white-space: nowrap;
}
.stages li b { color: var(--ink); margin-right: 6px; }
.stages li.active { background: var(--tint-select); border-color: var(--ink); }
/* etapele ca 5 carduri, cu descrierea de pe imes.ro/#flux */
.stage-cards {
  list-style: none;
  margin: 0 0 var(--sp-4);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--sp-2);
}
.stage-cards li {
  background: var(--chalk);
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  padding: var(--sp-2) 14px;
}
.stage-cards li.active { background: var(--tint-select); border-color: var(--ink); }
.stage-cards .no { display: block; font-family: var(--font-mono); font-weight: 600; font-size: .78rem; color: var(--steel); }
.stage-cards .nm {
  display: block;
  font-weight: 700;
  font-variation-settings: 'wdth' 118;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .85rem;
  margin: 2px 0 4px;
}
.stage-cards .ds { font-size: .85rem; color: var(--steel); line-height: 1.45; }
/* funcțiile vizualizării 3D (imes.ro/#viz3d) */
.feat {
  list-style: none;
  margin: 0 0 var(--sp-4);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--sp-2) var(--sp-4);
}
.feat li { display: flex; gap: 10px; align-items: baseline; }
.feat li::before { content: ""; width: 8px; height: 8px; background: var(--ink); flex: 0 0 8px; }
.feat b { display: block; }
.feat span { color: var(--steel); font-size: .9rem; }
.more .sub { font-family: var(--font-mono); font-size: .72rem; color: var(--steel); margin: var(--sp-4) 0 var(--sp-2); }
.more .actions { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; }
.more .cta { margin-right: var(--sp-2); }
.more .ext { font-family: var(--font-mono); font-size: .85rem; color: var(--steel); }

/* ---------- Galerie de capturi (din aplicație / de la imos) ---------- */

.shots {
  list-style: none;
  margin: 0 0 var(--sp-4);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: var(--sp-3);
}
.shots li { margin: 0; }
.shots figure { margin: 0; }
.shots img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;       /* aceeași înălțime pe rând; imaginea se decupează centrat */
  object-fit: cover;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  background: var(--tint-structural);
}
.shots figcaption {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--steel);
  margin-top: var(--sp-1);
}
.shots .wide { grid-column: 1 / -1; }
.shots .wide img { aspect-ratio: auto; }
.shots-credit { font-family: var(--font-mono); font-size: .72rem; color: var(--steel); margin: 0 0 var(--sp-4); }
.station-hero + .shots-section { margin-top: 0; }
.shots-section .label { font-family: var(--font-mono); font-size: .72rem; color: var(--steel); margin-bottom: var(--sp-1); }
@media (max-width: 640px) {
  .more .ext { display: block; margin-top: var(--sp-1); }
}

/* ======================================================================
   Premium polish pass (7 sept 2026) — același site, mai bine finisat.
   Tot CSS-only. Regulile de aici suprascriu intenționat câteva de mai sus.
   ====================================================================== */

/* ---------- Header sticky, skip-link, tranziții ---------- */

.site-header { position: sticky; top: 0; z-index: 20; }
.skip {
  position: absolute;
  left: var(--sp-1);
  top: -48px;
  z-index: 30;
  background: var(--ink);
  color: var(--chalk);
  padding: var(--sp-1) var(--sp-2);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.skip:focus { top: var(--sp-1); }
a, .cta, .trail a, .trail-next a, a.station-card, .flow-nodes .box, a.visual--img, .site-header .tel {
  transition: color .15s ease, background-color .15s ease, border-color .15s ease, transform .15s ease;
}
.cta:active { transform: translateY(1px); }

/* ---------- Hero: secvența stațiilor (30 s, 5 s pe stație) ---------- */

@keyframes stage-cycle {
  0%    { opacity: 0; }
  3%    { opacity: 1; }
  16%   { opacity: 1; }
  19.5% { opacity: 0; }
  100%  { opacity: 0; }
}
@keyframes node-active {
  0%    { background: var(--chalk); color: var(--ink); border-color: var(--mist); }
  3%    { background: var(--ink);   color: var(--chalk); border-color: var(--ink); }
  16%   { background: var(--ink);   color: var(--chalk); border-color: var(--ink); }
  19.5% { background: var(--chalk); color: var(--ink); border-color: var(--mist); }
  100%  { background: var(--chalk); color: var(--ink); border-color: var(--mist); }
}
.flow-panel { overflow: visible; padding-bottom: var(--sp-4); }
.flow-panel .label { right: var(--sp-5); white-space: normal; }
.flow-panel .inner {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 calc(-1 * var(--sp-2));
  padding: 0 var(--sp-2);
}
.flow-panel .inner::-webkit-scrollbar { display: none; }
.flow-panel .inner > * { min-width: 600px; }
.flow-dot { animation: pulse-travel 30s linear infinite; }
.flow-nodes .box { animation: node-active 30s linear infinite; }
.flow-nodes li:nth-child(1) .box { animation-delay: 0s; }
.flow-nodes li:nth-child(2) .box { animation-delay: 5s; }
.flow-nodes li:nth-child(3) .box { animation-delay: 10s; }
.flow-nodes li:nth-child(4) .box { animation-delay: 15s; }
.flow-nodes li:nth-child(5) .box { animation-delay: 20s; }
.flow-nodes li:nth-child(6) .box { animation-delay: 25s; }

.stages {
  position: relative;
  margin-top: var(--sp-4);
  aspect-ratio: 2 / 1;
  border: 1px solid var(--mist);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tint-structural);
}
.stage {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  animation: stage-cycle 30s linear infinite;
}
.stage:nth-child(1) { animation-delay: 0s; }
.stage:nth-child(2) { animation-delay: 5s; }
.stage:nth-child(3) { animation-delay: 10s; }
.stage:nth-child(4) { animation-delay: 15s; }
.stage:nth-child(5) { animation-delay: 20s; }
.stage:nth-child(6) { animation-delay: 25s; }
.stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}
.stage figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: var(--ink);
  color: var(--mist);
  font-family: var(--font-mono);
  font-size: .78rem;
  padding: var(--sp-1) var(--sp-2);
  line-height: 1.4;
}
.stage figcaption b { color: var(--chalk); font-weight: 600; margin-right: var(--sp-1); }
@media (max-width: 639px) {
  .stages { aspect-ratio: 4 / 3; }
  .stage figcaption { font-size: .72rem; }
}
/* fără mișcare: prima stație rămâne afișată, nodul 01 activ */
@media (prefers-reduced-motion: reduce) {
  .stage:first-child { opacity: 1; }
  .flow-nodes li:first-child .box { background: var(--ink); color: var(--chalk); border-color: var(--ink); }
  .flow-dot { display: none; }
}

/* ---------- Traseul vertical: linia se umple la scroll ---------- */

@keyframes line-grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.route-list::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: var(--red);
  transform-origin: top;
  transform: scaleY(0);
}
@supports (animation-timeline: view()) {
  .route-list::after {
    animation: line-grow linear both;
    animation-timeline: view();
    animation-range: cover 12% cover 88%;
  }
}
.route-row .visual--img { transition: border-color .15s ease; }

/* ---------- Înainte / după: fragmentat vs. continuu ---------- */

.compare-card ol { position: relative; padding-left: 20px; }
.compare-card ol::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 6px;
  bottom: 6px;
  border-left: 1px dashed var(--steel);
}
.compare-card li { position: relative; }
.compare-card li.retype { margin-left: 14px; }
.compare-card--after ol::before { border-left: 2px solid var(--ink); left: 2px; }
.compare-card .note { border-top: 1px solid var(--mist); padding-top: var(--sp-2); }

/* ---------- De ce noi: cifrele mari ---------- */

.why-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); align-items: start; }
.why .big {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.02em;
  font-weight: 600;
  white-space: nowrap;
}
.why .brand { margin-top: var(--sp-2); }
.why p { max-width: 20rem; }

/* ---------- Tipografie: ritm și lățimi de citire ---------- */

.prose p, .card p, .more .intro { max-width: 65ch; }
.section-title { margin-bottom: var(--sp-4); }
.compare .section-title, .gains .section-title, .why .section-title { margin-bottom: var(--sp-5); }
.final .note b { color: var(--ink); font-weight: 600; }
.site-footer .bife { font-family: var(--font-mono); color: var(--steel); font-size: .85rem; }
