/* Pagina de prezentare RDN Migrare.
   Fonturile sunt găzduite local (fonts/, licență SIL OFL), ca vizitatorii să nu fie trimiși la Google. */
@font-face { font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-wdth-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: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-ext-wdth-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 Sans"; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/ibm-plex-sans-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 Sans"; font-style: normal; font-display: swap; font-weight: 400; src: url(fonts/ibm-plex-sans-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 Sans"; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/ibm-plex-sans-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/ibm-plex-sans-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 600; src: url(fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 600; src: url(fonts/ibm-plex-sans-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 Sans"; font-style: normal; font-display: swap; font-weight: 700 900; src: url(fonts/ibm-plex-sans-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Sans"; font-style: normal; font-display: swap; font-weight: 700 900; src: url(fonts/ibm-plex-sans-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-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(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: 400; src: url(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: 500; src: url(fonts/ibm-plex-mono-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 500; src: url(fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 600 700; src: url(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; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-display: swap; font-weight: 600 700; src: url(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; }

/* Culorile RDN: roșu închis, negru cald și alb cu nuanță rozalie, ca pe site-ul principal. */
:root {
  --paper: #fbf6f6;
  --sheet: #ffffff;
  --tint: #fcf1f1;
  --ink: #1b1314;
  --ink-2: #5e5153;
  --rule: #ecdcdd;
  --accent: #b80d0d;
  --btn: #b80d0d;
  --btn-ink: #ffffff;
  --head: #a30b0b;
  --glow: #fde3e3;
  --hdr: rgba(251, 246, 246, .82);
  --shadow: 0 1px 2px rgba(60, 10, 10, .05), 0 14px 34px -16px rgba(120, 12, 12, .22);
  --shadow-up: 0 2px 4px rgba(60, 10, 10, .06), 0 22px 44px -18px rgba(120, 12, 12, .32);
  --dark-from: #5c0303;
  --dark-to: #0e0b0c;
  --dark-ink: #f5eeee;
  --dark-ink-2: #cbbcbe;
  --dark-accent: #ff6b63;
  --ok: #1d7a46;
  --code-bg: #171012;
  --code-ink: #f1e6e7;
  --code-dim: #a08f92;
  --code-rule: #3a2b2e;
  --code-hit: #ff8a80;
  --code-new: #7fd6a1;
  --logo-bg: transparent;
  --logo-pad: 0;
  --r: 16px;
  --r-sm: 10px;
  --display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --paper: #0e0b0c;
    --sheet: #1c1819;
    --tint: #241c1d;
    --ink: #f3eded;
    --ink-2: #b8abad;
    --rule: #362d2f;
    --accent: #ff5a52;
    --btn: #c41616;
    --btn-ink: #ffffff;
    --head: #ff6b63;
    --glow: #2a0d0e;
    --hdr: rgba(14, 11, 12, .8);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -16px rgba(0, 0, 0, .7);
    --shadow-up: 0 2px 4px rgba(0, 0, 0, .45), 0 22px 44px -18px rgba(196, 22, 22, .35);
    --ok: #5cc98a;
    --code-bg: #090707;
    --logo-bg: #f4f5f7;
    --logo-pad: 3px 6px;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0e0b0c;
  --sheet: #1c1819;
  --tint: #241c1d;
  --ink: #f3eded;
  --ink-2: #b8abad;
  --rule: #362d2f;
  --accent: #ff5a52;
  --btn: #c41616;
  --btn-ink: #ffffff;
  --head: #ff6b63;
  --glow: #2a0d0e;
  --hdr: rgba(14, 11, 12, .8);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 14px 34px -16px rgba(0, 0, 0, .7);
  --shadow-up: 0 2px 4px rgba(0, 0, 0, .45), 0 22px 44px -18px rgba(196, 22, 22, .35);
  --ok: #5cc98a;
  --code-bg: #090707;
  --logo-bg: #f4f5f7;
  --logo-pad: 3px 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: radial-gradient(1100px 560px at 100% 0, var(--glow), transparent 70%) no-repeat, var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  padding-inline: 20px;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 1160px; margin-inline: auto; }
a { color: inherit; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.02; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); font-weight: 800; font-stretch: 82%; letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 800; font-stretch: 80%; letter-spacing: -0.01em; color: var(--head); }
h3 { font-size: 1.3rem; font-weight: 700; font-stretch: 96%; }
p { margin: 0; }
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 60ch; }
.label {
  font: 600 0.75rem/1.2 var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
}
.sec-head .label, .hero-copy > .label { display: inline-flex; align-items: center; gap: 12px; }
.sec-head .label::before, .hero-copy > .label::before { content: ""; width: 32px; height: 2px; background: currentColor; border-radius: 2px; }
.mono { font-family: var(--mono); }

/* Antet fix, cu fundal translucid pe toată lățimea ecranului */
.top {
  position: sticky; top: 0; z-index: 40;
  margin-inline: -20px; padding-inline: 20px;
  background: var(--hdr);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 2px solid var(--accent);
  transition: box-shadow .2s ease;
}
.top.scrolled { box-shadow: 0 10px 30px -18px rgba(60, 6, 6, .45); }
.top-in {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 14px;
  transition: padding .2s ease;
}
.top.scrolled .top-in { padding-block: 8px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-logo { height: 48px; width: auto; background: var(--logo-bg); border-radius: 6px; padding: var(--logo-pad); transition: height .2s ease; }
.top.scrolled .brand-logo { height: 40px; }
.brand-text { display: grid; gap: 5px; }
@media (max-width: 480px) { .brand-text span { display: none; } .brand-logo { height: 40px; } }
.brand b { font: 900 1.35rem/1 var(--display); font-stretch: 112%; letter-spacing: -0.01em; }
.brand span { font: 500 0.8rem/1 var(--mono); color: var(--ink-2); }
.nav { display: flex; gap: 4px; align-items: center; font-size: 0.95rem; }
.nav a { position: relative; text-decoration: none; padding: 8px 10px; border-radius: 8px; color: var(--ink-2); transition: color .15s ease, background .15s ease; }
.nav a:hover { color: var(--accent); background: var(--tint); }
.nav .nav-client { color: var(--ink); font-weight: 600; }
.top-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.top-cta .btn { padding: 11px 18px; font-size: 0.95rem; }
/* Butonul de limbă: RO ↔ EN, pagini separate pentru SEO */
.lang { display: inline-grid; place-items: center; min-width: 44px; height: 42px; padding: 0 12px; border-radius: 999px; border: 2px solid var(--rule); color: var(--ink); text-decoration: none; font: 700 0.82rem/1 var(--mono); letter-spacing: 0.08em; transition: border-color .15s ease, color .15s ease; }
.lang:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 480px) {
  .top-in { gap: 10px; }
  .brand b { font-size: 1.1rem; }
  .top-cta { gap: 6px; }
  .lang { min-width: 40px; height: 40px; padding: 0 10px; }
  .menu-btn { width: 40px; height: 40px; }
}
@media (max-width: 340px) { .brand-text { display: none; } }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--tint); color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 20px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s ease, background .2s ease; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; }
.menu-btn span::after { top: 6px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
/* meniul complet are nevoie de ~1060px (cu butonul EN și „Cere o migrare”); sub 1180px intră în butonul de meniu */
@media (max-width: 1180px) {
  .menu-btn { display: grid; }
  .nav {
    position: absolute; top: calc(100% + 2px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px; background: var(--sheet); border: 1px solid var(--rule); border-radius: 0 0 var(--r) var(--r);
    box-shadow: var(--shadow-up);
    display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 1.02rem; }
}
/* până la 1320px legăturile stau mai strâns, ca meniul să nu se lipească de siglă și de buton */
@media (min-width: 1181px) and (max-width: 1320px) { .nav { gap: 2px; } .nav a { padding-inline: 8px; } }
@media (max-width: 420px) { .top-cta .btn { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--btn); color: var(--btn-ink);
  font: 700 1rem/1 var(--display); font-stretch: 104%; letter-spacing: 0.01em;
  padding: 15px 24px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer;
  box-shadow: 0 8px 20px -10px rgba(184, 13, 13, .7);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(184, 13, 13, .75); }
.btn:active { transform: translateY(0); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn.ghost:hover { color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); filter: none; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding-block: 72px 64px; }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 40px; padding-block: 44px; } }
.hero-copy { display: grid; gap: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-copy .note { margin-top: 0; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--sheet); border: 1px solid var(--rule); font-size: 0.88rem; font-weight: 500; }
.chips li::before { content: "✓"; color: var(--ok); font-weight: 700; }

/* Demo serializare */
.demo {
  margin: 0;
  background: var(--code-bg); color: var(--code-ink);
  border-radius: var(--r); padding: 24px; display: grid; gap: 16px;
  font: 400 0.92rem/1.55 var(--mono);
  box-shadow: 12px 12px 0 var(--accent), 0 30px 60px -20px rgba(92, 3, 3, .55);
}
.demo-head { display: flex; align-items: center; gap: 12px; color: var(--code-dim); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; }
.demo-head > span:last-child { margin-left: auto; color: var(--code-hit); }
.dots { display: inline-flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #3b2c2f; }
.dots i:first-child { background: #ff5f57; }
.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }
.demo-row { display: grid; gap: 4px; }
.demo-row small { color: var(--code-dim); font-size: 0.75rem; }
/* rândul serializat (până la ~57 de caractere) nu încape în cutie pe nicio lățime: se rupe pe două rânduri,
   cu loc rezervat pentru ambele, ca animația dintre stări să nu miște pagina */
.demo code { display: block; white-space: pre-wrap; overflow-wrap: anywhere; min-height: calc(2lh + 24px); padding: 12px 14px; background: rgba(255, 255, 255, .04); border-radius: var(--r-sm); }
.demo code .nb { white-space: nowrap; }
.len { color: var(--code-hit); font-weight: 500; }
.len.new, .val.new { color: var(--code-new); }
.val { color: var(--code-hit); }
.demo-foot { border-top: 1px solid var(--code-rule); padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--code-dim); font-size: 0.8rem; }
.demo-foot b { color: var(--code-new); font-weight: 500; }
.demo-foot b.bad { color: var(--code-hit); }
.swap { transition: opacity .35s ease; }
.swap.fade { opacity: 0.15; }

/* Secțiuni */
section { padding-block: 80px; border-top: 1px solid var(--rule); }
.sec-head { display: grid; gap: 14px; margin-bottom: 40px; max-width: 780px; }
.sec-head h2::after { content: ""; display: block; width: 72px; height: 4px; margin-top: 16px; background: var(--accent); border-radius: 4px; }

/* Card comun */
.mod, .plan, .code-info, .limits, .price-wrap {
  background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); box-shadow: var(--shadow);
}

/* Module */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .modules { grid-template-columns: 1fr; } }
.mod {
  position: relative; overflow: hidden;
  padding: 28px 26px 24px; display: flex; flex-direction: column; gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.mod::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--dark-from), var(--accent)); }
.mod:hover, .plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-up); }
.mod .tag, .plan .tag { justify-self: start; align-self: flex-start; font: 600 0.7rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); background: var(--tint); padding: 6px 10px; border-radius: 999px; }
.mod p { color: var(--ink-2); font-size: 0.98rem; }
.mod ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 0.95rem; }
.mod li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.mod li::before { content: ""; width: 8px; height: 8px; margin-top: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--tint); }
.mod-price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rule); color: var(--ink) !important; }
.mod-price small { display: block; margin-top: 6px; color: var(--ink-2); font-size: 0.85rem; }
.mod-price b { font: 800 1.3rem/1 var(--display); font-stretch: 100%; }

/* Traseu: panou închis, ca „Procesul nostru” de pe site-ul principal */
section.dark {
  margin-block: 40px; padding: 64px clamp(22px, 5vw, 56px);
  border: 0; border-radius: calc(var(--r) + 8px);
  background: radial-gradient(700px 380px at 0 0, rgba(255, 60, 50, .22), transparent 70%), linear-gradient(125deg, var(--dark-from) 0%, var(--dark-to) 58%);
  color: var(--dark-ink);
  box-shadow: 0 30px 60px -30px rgba(92, 3, 3, .6);
}
section.dark + section { border-top: 0; }
section.dark h2 { color: var(--dark-ink); }
section.dark .label { color: var(--dark-accent); }
section.dark h2::after, .contact h2::after { background: var(--dark-accent); }
.route { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: st; }
.route li { position: relative; padding: 52px 20px 0 0; display: grid; gap: 8px; align-content: start; }
.route li::before {
  counter-increment: st; content: counter(st);
  position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%;
  background: #e8302a; color: #fff;
  box-shadow: 0 0 0 6px rgba(232, 48, 42, .18), 0 8px 20px -6px rgba(232, 48, 42, .7);
  display: grid; place-items: center; font: 700 0.9rem/1 var(--mono); z-index: 1;
}
.route li::after { content: ""; position: absolute; top: 19px; left: 52px; right: 12px; border-top: 2px dashed rgba(255, 255, 255, .22); }
.route li:last-child::after { display: none; }
.route b { font: 700 1.15rem/1.2 var(--display); }
.route span { color: var(--dark-ink-2); font-size: 0.93rem; }
@media (max-width: 860px) {
  .route { grid-template-columns: 1fr; gap: 26px; }
  .route li { padding: 6px 0 0 60px; }
  .route li::after { top: 52px; left: 19px; right: auto; bottom: -22px; border-top: 0; border-left: 2px dashed rgba(255, 255, 255, .22); }
}

/* Capcane */
.traps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 760px) { .traps { grid-template-columns: 1fr; } }
.trap { display: grid; grid-template-columns: 110px 1fr; gap: 18px; padding: 22px 24px; background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); transition: border-color .2s ease; }
.trap:hover { border-color: var(--accent); }
@media (max-width: 480px) { .trap { grid-template-columns: 1fr; gap: 6px; } }
.trap .label { padding-top: 4px; }
.trap h3 { font-size: 1.12rem; margin-bottom: 6px; }
.trap p { color: var(--ink-2); font-size: 0.96rem; }

/* Specificații */
.specs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .specs-grid { grid-template-columns: 1fr; gap: 32px; } }
.specs { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.specs th, .specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
.specs th { font: 500 0.8rem/1.4 var(--mono); color: var(--ink-2); width: 42%; padding-right: 16px; letter-spacing: 0.02em; }
.specs td { font-variant-numeric: tabular-nums; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; }
.checks li::before { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); color: var(--accent); font: 700 0.85rem/1 var(--mono); }
.note { color: var(--ink-2); font-size: 0.92rem; margin-top: 18px; }

/* Limite */
.limits { border-style: dashed; padding: 28px; display: grid; gap: 14px; }
.limits ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); }

/* Prețuri */
.price-wrap { overflow-x: auto; }
.ptable { width: 100%; border-collapse: collapse; min-width: 560px; font-variant-numeric: tabular-nums; }
.ptable th, .ptable td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--rule); vertical-align: top; }
.ptable thead th { font: 800 1.2rem/1.2 var(--display); font-stretch: 100%; background: var(--tint); border-bottom: 2px solid var(--accent); }
.ptable thead th small { display: block; font: 400 0.85rem/1.4 var(--body); color: var(--ink-2); margin-top: 4px; }
.ptable tbody tr:hover > * { background: color-mix(in srgb, var(--tint) 55%, transparent); }
.ptable tbody th { font: 700 1rem/1.3 var(--display); width: 34%; }
.ptable td b { font: 800 1.45rem/1.1 var(--display); font-stretch: 100%; }
.ptable td small { display: block; color: var(--ink-2); font-size: 0.85rem; margin-top: 2px; }
.ptable tr.inc td, .ptable tr.inc th { font: 400 0.93rem/1.5 var(--body); color: var(--ink-2); }
.ptable tr.inc th { color: var(--ink); font-weight: 600; }
.ptable tfoot td { border-bottom: 0; }
.ptable tfoot .btn { width: 100%; justify-content: center; text-align: center; }
/* pe telefon tabelul devine o listă: serviciul deasupra, cele două variante alături, fiecare cu eticheta ei
   (data-label), ca prețurile „O faci singur” să nu rămână ascunse în dreapta, de unde se ajunge doar derulând tabelul */
@media (max-width: 760px) {
  .price-wrap { overflow: visible; }
  .ptable { min-width: 0; }
  .ptable, .ptable tbody, .ptable tfoot { display: block; }
  .ptable thead { display: none; }
  .ptable tr { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; padding: 18px 20px; border-bottom: 1px solid var(--rule); }
  .ptable tbody th, .ptable td { width: auto; padding: 0; border: 0; }
  .ptable tbody th { grid-column: 1 / -1; margin-bottom: 4px; }
  .ptable tbody tr:hover > * { background: none; }
  .ptable td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 6px; font: 600 0.68rem/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
  .ptable tfoot tr { grid-template-columns: 1fr; gap: 10px; border-bottom: 0; }
  .ptable tfoot td:empty { display: none; }
}

/* Pe cont propriu */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan { padding: 28px 26px; display: grid; gap: 14px; grid-template-rows: auto auto auto 1fr auto; transition: transform .2s ease, box-shadow .2s ease; }
.plan .price { font: 800 2.2rem/1 var(--display); font-stretch: 92%; font-variant-numeric: tabular-nums; }
.plan .price small { display: block; font: 400 0.85rem/1.4 var(--body); color: var(--ink-2); margin-top: 6px; }
.plan ul { margin: 0; padding: 14px 0 0; border-top: 1px solid var(--rule); list-style: none; display: grid; gap: 8px; font-size: 0.95rem; align-content: start; }
.plan li { display: grid; grid-template-columns: 22px 1fr; gap: 6px; }
.plan li::before { content: "✓"; color: var(--ok); font: 700 0.95rem/1.6 var(--mono); }
.plan .btn { justify-content: center; }
.howto { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: h; }
@media (max-width: 900px) { .howto { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .howto { grid-template-columns: 1fr; } }
.howto li { display: grid; gap: 6px; align-content: start; border-top: 3px solid var(--accent); padding-top: 14px; }
.howto li::before { counter-increment: h; content: "Pasul " counter(h); font: 600 0.75rem/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.howto b { font: 700 1.12rem/1.2 var(--display); }
.howto span { color: var(--ink-2); font-size: 0.94rem; }
.code-info { margin-top: 44px; padding: 28px; border-left: 4px solid var(--accent); }
.code-info h3 { font: 700 1.3rem/1.2 var(--display); margin: 0 0 18px; }
.code-rules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 32px; }
@media (max-width: 700px) { .code-rules { grid-template-columns: 1fr; } }
.code-rules li { display: grid; gap: 4px; }
.code-rules b { font-weight: 700; }
.code-rules span { color: var(--ink-2); font-size: 0.94rem; }
.code-cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.code-cta p { margin: 0; font-weight: 600; }
.try { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; padding: 22px 26px; border: 1px dashed var(--ink-2); border-radius: var(--r); background: var(--tint); }
.try p { flex: 1 1 320px; color: var(--ink-2); }

/* Întrebări, ca acordeon */
.faq { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; align-items: start; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } }
.qa { background: var(--sheet); border: 1px solid var(--rule); border-radius: var(--r); transition: border-color .2s ease, box-shadow .2s ease; }
.qa[open] { border-color: var(--accent); box-shadow: var(--shadow); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--accent); font: 600 1.2rem/1 var(--mono); transition: transform .2s ease; }
.qa[open] summary::after { transform: rotate(45deg); }
.qa h3 { font-size: 1.08rem; font-stretch: 100%; }
.qa p { color: var(--ink-2); font-size: 0.97rem; max-width: 62ch; padding: 0 22px 20px; }

/* Comandă și WhatsApp */
.buy-row { display: flex; flex-wrap: wrap; gap: 8px; }
.buy-row .btn { flex: 1 1 auto; justify-content: center; padding: 12px 14px; font-size: 0.92rem; }
.btn.wa { background: #1faa55; color: #fff; box-shadow: 0 8px 20px -10px rgba(31, 170, 85, .7); }
.btn.wa:hover { filter: brightness(1.08); }
.wa-ico { width: 1.15em; height: 1.15em; flex: none; }
.cell-btn { display: inline-block; margin-top: 12px; background: var(--btn); color: var(--btn-ink); font: 700 0.85rem/1 var(--display); padding: 9px 16px; border-radius: 999px; text-decoration: none; transition: filter .15s ease; }
.cell-btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.cell-btn:hover { filter: brightness(1.1); }
.cell-btn.ghost:hover { color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.wa-num { display: inline-flex; align-items: center; gap: 8px; color: #1faa55; }
.wa-float { position: fixed; left: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 50; display: inline-flex; align-items: center; gap: 6px; background: #1faa55; color: #fff; text-decoration: none; font: 700 0.8rem/1 var(--body); padding: 9px 13px; border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 0, 0, .22); }
.wa-float .wa-ico { width: 17px; height: 17px; }
.wa-float:hover { filter: brightness(1.08); }
@media (max-width: 520px) { .wa-float span { display: none; } .wa-float { padding: 11px; } }

/* Înapoi sus */
.to-top { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 50; width: 46px; height: 46px; border-radius: 50%; background: #fff; border: 2px solid var(--btn); display: grid; place-items: center; box-shadow: 0 6px 18px rgba(60, 6, 6, .35); transition: opacity .25s ease, transform .25s ease; }
.to-top img { width: 32px; height: auto; }
.to-top:hover { transform: translateY(-3px); }
.to-top.off { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* Contact */
#contact { border-top: 0; }
.contact {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 44px; align-items: center;
  background: radial-gradient(600px 320px at 100% 100%, rgba(255, 60, 50, .2), transparent 70%), linear-gradient(120deg, var(--dark-from) 0%, var(--dark-to) 62%);
  color: var(--dark-ink); padding: 52px; border-radius: calc(var(--r) + 8px);
  box-shadow: 0 30px 60px -30px rgba(92, 3, 3, .6);
}
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; padding: 30px 24px; } }
.contact .sec-head { margin: 0; }
.contact h2 { color: var(--dark-ink); }
.contact .sec-head .label { color: var(--dark-accent); }
.contact .lead { color: var(--dark-ink-2); }
.contact-box { display: grid; gap: 6px; background: var(--sheet); color: var(--ink); padding: 14px 24px; border-radius: var(--r); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.contact-line { display: grid; gap: 4px; padding: 14px 0; border-bottom: 1px solid var(--rule); text-decoration: none; font: 700 1.35rem/1.2 var(--display); font-stretch: 100%; transition: color .15s ease; }
.contact-line:last-child { border-bottom: 0; }
.contact-line:hover { color: var(--accent); }

footer.legal { padding-block: 44px 96px; display: grid; gap: 22px; justify-items: center; color: var(--ink-2); font-size: 0.88rem; }
.clock { font-weight: 600; font-variant-numeric: tabular-nums; }
.disclaimer { max-width: 90ch; text-align: center; font-size: 0.78rem; line-height: 1.55; color: var(--ink-2); }
.disclaimer b { color: var(--ink); }
.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.lbadge { display: flex; align-items: stretch; min-height: 42px; border-radius: 4px; overflow: hidden; text-decoration: none; border: 1px solid #1c3b7a; background: #fff; }
.lb-side { flex: 0 0 34px; display: grid; place-items: center; align-content: center; gap: 2px; background: linear-gradient(160deg, #1f4a9a, #0f2d66); color: #fff; font: 800 0.55rem/1 var(--body); }
.lb-side svg { width: 18px; height: 12px; }
.lb-main { display: grid; place-items: center; text-align: center; padding: 5px 10px; max-width: 190px; }
.lb-main b { color: #1c3b7a; font: 700 0.55rem/1.2 var(--body); text-transform: uppercase; letter-spacing: 0.02em; }
.lbadge:hover .lb-main b { color: #b80d0d; }
.foot-bottom { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; border-top: 1px solid var(--rule); padding-top: 18px; }
.fb-right { text-align: right; }
@media (max-width: 860px) { .foot-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; } .fb-right { text-align: center; } }

/* Apariție la derulare (doar cu JavaScript; site.js adaugă clasele) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .swap, .to-top, .btn, .mod, .plan, .top, .top-in, .brand-logo, .reveal { transition: none; }
  .mod:hover, .plan:hover, .btn:hover { transform: none; }
}
