/* creareonlinemagazin.md — stiluri de bază. Fără framework, ca să încarce repede. */
:root {
  --ink: #0e1726;
  --ink-2: #27324a;
  --muted: #56627a;
  --line: #e3e8f0;
  --soft: #f4f6fa;
  --soft-2: #eef2f8;
  --brand: #0a4fd6;
  --brand-dark: #073a9e;
  --brand-soft: #e8efff;
  --accent: #ffcc2e;
  --accent-dark: #f0b800;
  --red: #d62839;
  --green: #12a150;
  --viber: #7360f2;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 1px 2px rgba(14,23,38,.06),0 8px 24px rgba(14,23,38,.06);
  --wrap: 1180px;
  --read: 740px;
  --font: "Inter",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

/* Atributul hidden ascunde mereu, chiar dacă o clasă setează display */
[hidden] {
  display: none !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand-dark);
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--ink);
  margin: 0 0 .5em;
  /* cuvintele lungi (ex. „конфиденциальности”) se despart în silabe pe ecrane înguste */
  overflow-wrap: break-word;
  hyphens: auto;
}

h1 {
  font-size: clamp(30px,4.4vw,46px);
  font-weight: 800;
}

h2 {
  font-size: clamp(24px,2.8vw,31px);
  font-weight: 800;
  margin-top: 1.8em;
}

h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 1.5em;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  padding-left: 1.25em;
  margin: 0 0 1.1em;
}

li {
  margin: .3em 0;
}

strong {
  font-weight: 700;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 20px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 8px 12px;
  z-index: 100;
}

.skip:focus {
  left: 8px;
}

/* Top bar + header */
.topbar {
  background: var(--ink);
  color: #cfd6e4;
  font-size: 14px;
}

.topbar .wrap {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
}

.topbar a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.topbar .tb-left {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
  vertical-align: middle;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}

header.site .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.logo .mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--brand);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 18px;
}

.logo small {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0;
}

.logo .tld {
  color: var(--brand);
}

nav.main {
  margin-left: auto;
}

nav.main>ul {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}

nav.main>ul>li {
  position: relative;
  margin: 0;
}

nav.main>ul>li>a,
nav.main>ul>li>button {
  white-space: nowrap;
  display: block;
  padding: 10px 9px;
  border-radius: 8px;
  color: var(--ink-2);
  text-decoration: none;
  font: 600 15px var(--font);
  background: none;
  border: 0;
  cursor: pointer;
}

nav.main>ul>li>a:hover,
nav.main>ul>li>button:hover {
  background: var(--soft);
}

.dd {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 330px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  list-style: none;
  margin: 0;
}

.dd a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
  text-decoration: none;
  font-size: 15px;
}

.dd a:hover {
  background: var(--soft);
}

.dd a span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

nav.main li:hover>.dd,
nav.main li:focus-within>.dd {
  display: block;
}

.hdr-cta {
  display: flex;
  gap: 8px;
  align-items: center;
}

/* Butonul de meniu (mobil): iconiță hamburger care devine X */
.menu-btn {
  display: none;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  color: var(--ink);
}

.menu-btn:hover,
.menu-btn:focus-visible {
  border-color: var(--brand);
}

.menu-icon {
  position: relative;
  display: block;
  width: 20px;
  height: 14px;
}

.menu-icon span {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: top .2s var(--ease, ease), transform .2s ease, opacity .15s ease;
}

.menu-icon span:nth-child(1) {
  top: 0;
}

.menu-icon span:nth-child(2) {
  top: 6px;
}

.menu-icon span:nth-child(3) {
  top: 12px;
}

.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(1) {
  top: 6px;
  transform: rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] .menu-icon span:nth-child(3) {
  top: 6px;
  transform: rotate(-45deg);
}

/* Săgeata submeniurilor */
.caret {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
  transition: transform .2s ease;
}

/* Butoanele de contact din panoul mobil (ascunse pe desktop) */
.nav-cta {
  display: none;
}

/* Buttons */
.btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 10px;
  font: 700 16px/1.2 var(--font);
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .08s,background .15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn-call {
  background: var(--accent);
  color: var(--ink);
}

.btn-call:hover {
  background: var(--accent-dark);
  color: var(--ink);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink-2);
  color: var(--ink);
}

.btn-wa {
  background: var(--green);
  color: #fff;
}

.btn-wa:hover {
  background: #0d8a43;
  color: #fff;
}

.btn-viber {
  background: var(--viber);
  color: #fff;
}

.btn-viber:hover {
  background: #5d4bd6;
  color: #fff;
}

.btn-sm {
  padding: 9px 14px;
  font-size: 14.5px;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Breadcrumbs */
.crumbs {
  font-size: 14px;
  color: var(--muted);
  padding: 18px 0 0;
}

.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 0;
}

.crumbs li {
  margin: 0;
}

.crumbs li+li:before {
  content: "›";
  margin-right: 6px;
  color: #9aa4b8;
}

.crumbs a {
  color: var(--muted);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--brand);
}

/* Article hero */
.art-hero {
  padding: 14px 0 26px;
}

.art-hero .kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 5px 10px;
  border-radius: 999px;
  text-decoration: none;
  margin-bottom: 14px;
}

.art-hero .lead {
  font-size: 19.5px;
  color: var(--ink-2);
  max-width: 820px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 18px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.hero-img {
  margin: 24px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21/9;
  background: var(--soft);
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Chain (lanțul) */
.chain {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px;
}

.chain-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin: 0 0 10px;
}

.chain ol {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(8,1fr);
  gap: 6px;
  padding: 0;
  margin: 0;
  counter-reset: st;
}

.chain li {
  margin: 0;
}

.chain a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  padding: 10px 10px 11px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.25;
  position: relative;
}

.chain a:before {
  counter-increment: st;
  content: counter(st);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--muted);
}

.chain a:hover {
  border-color: var(--brand);
}

.chain li.done a {
  background: #f0f6ff;
}

.chain li.current a {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.chain li.current a:before {
  color: #cfe0ff;
}

/* Layout: article + sidebar */
.layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 310px;
  gap: 48px;
  align-items: start;
  padding: 30px 0 20px;
}

.content {
  max-width: var(--read);
  min-width: 0;
}

.content>h2:first-child {
  margin-top: 0;
}

.content h2 {
  scroll-margin-top: 90px;
}

.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.4em;
  font-size: 15.5px;
  display: block;
  overflow-x: auto;
}

.content th,
.content td {
  border: 1px solid var(--line);
  padding: 9px 11px;
  text-align: left;
  vertical-align: top;
}

.content th {
  background: var(--soft);
  font-weight: 700;
}

.content blockquote {
  margin: 0 0 1.2em;
  padding: 14px 18px;
  border-left: 4px solid var(--brand);
  background: var(--soft);
  border-radius: 0 10px 10px 0;
}

.content figure {
  margin: 1.4em 0;
}

.content figure img {
  border-radius: var(--radius);
}

.content figcaption {
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}

.content code {
  background: var(--soft-2);
  padding: 1px 6px;
  border-radius: 5px;
  font-size: .9em;
}

aside.side {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toc {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  font-size: 14.5px;
}

.toc b {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: 6px;
}

.toc ol {
  margin: 0;
  padding-left: 1.1em;
}

.toc a {
  color: var(--ink-2);
  text-decoration: none;
}

.toc a:hover,
.toc a.on {
  color: var(--brand);
}

.side-cta {
  background: var(--ink);
  color: #dfe5ef;
  border-radius: var(--radius);
  padding: 18px;
}

.side-cta h3 {
  color: #fff;
  margin: 0 0 6px;
  font-size: 18px;
}

.side-cta p {
  font-size: 14.5px;
  margin: 0 0 12px;
}

.side-cta .btn {
  width: 100%;
  margin-top: 8px;
}

/* Pe scurt */
.tldr {
  background: #fffbea;
  border: 1px solid #f6e3a1;
  border-radius: var(--radius);
  padding: 16px 20px 6px;
  margin: 0 0 1.6em;
}

.tldr b.t {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: #8a6d00;
  margin-bottom: 6px;
}

.tldr ul {
  margin: 0 0 .8em;
}

/* Callouts */
.callout {
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 0 0 1.3em;
  border: 1px solid var(--line);
  background: var(--soft);
}

.callout>*:last-child {
  margin-bottom: 0;
}

.callout.tip {
  background: #effaf3;
  border-color: #bfe7cf;
}

.callout.warn {
  background: #fff4f4;
  border-color: #f3c7cc;
}

.callout.info {
  background: var(--brand-soft);
  border-color: #c9d9fb;
}

.callout .ct {
  display: block;
  font-weight: 800;
  margin-bottom: 4px;
}

.steps {
  counter-reset: s;
  list-style: none;
  padding: 0;
}

.steps>li {
  counter-increment: s;
  position: relative;
  padding: 2px 0 8px 48px;
  margin: 0 0 10px;
}

.steps>li:before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 15px;
}

.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  padding-left: 30px;
  position: relative;
}

.checklist li:before {
  content: "";
  position: absolute;
  left: 2px;
  top: .42em;
  width: 16px;
  height: 16px;
  border-radius: 4px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* CTA block */
.cta {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 20px;
  align-items: center;
  background: linear-gradient(135deg,#0b1b3d,#0a3a9e);
  color: #dce6ff;
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 2em 0;
}

.cta .ph {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: var(--ink);
}

.cta .ph svg {
  width: 30px;
  height: 30px;
}

.cta h3,
.cta .h {
  color: #fff;
  margin: 0 0 4px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.25;
}

.cta p {
  margin: 0;
  font-size: 15.5px;
}

.cta .acts {
  grid-column: 1/-1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta .num {
  font-weight: 800;
  color: #fff;
  white-space: nowrap;
}

/* FAQ */
.faq {
  margin-top: 2.2em;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 0 0 10px;
  background: #fff;
}

.faq summary {
  cursor: pointer;
  padding: 14px 44px 14px 16px;
  font-weight: 700;
  list-style: none;
  position: relative;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 10px;
  font-size: 22px;
  color: var(--brand);
}

.faq details[open] summary:after {
  content: "–";
}

.faq .a {
  padding: 0 16px 6px;
}

/* Next/prev in chain */
.nextprev {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 2.2em 0 0;
}

.nextprev a {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--ink);
}

.nextprev a:hover {
  border-color: var(--brand);
}

.nextprev small {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.nextprev .nx {
  text-align: right;
}

/* Sources */
.sources {
  margin-top: 2em;
  font-size: 14.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.sources b {
  color: var(--ink);
}

.sources ul {
  margin: .4em 0 0;
}

/* Related */
.related {
  background: var(--soft);
  padding: 40px 0;
  margin-top: 30px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(250px,1fr));
  gap: 16px;
}

.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: border-color .15s,transform .15s;
}

.card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  color: var(--ink);
}

.card .im {
  aspect-ratio: 16/9;
  background: var(--soft-2);
  overflow: hidden;
}

.card .im img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card .tx {
  padding: 14px 16px 16px;
}

.card .st {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.card h3 {
  font-size: 17px;
  margin: 4px 0 6px;
}

.card p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0;
}

/* Home */
.home-hero {
  padding: 48px 0 40px;
  background: radial-gradient(1200px 400px at 80% -10%,#e7efff,transparent),#fff;
}

.home-hero .grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}

.home-hero h1 {
  font-size: clamp(32px,4.8vw,52px);
}

.home-hero .lead {
  font-size: 20px;
  color: var(--ink-2);
}

.home-hero .ticks {
  list-style: none;
  padding: 0;
  margin: 18px 0 22px;
  display: grid;
  gap: 6px;
}

.home-hero .ticks li {
  padding-left: 28px;
  position: relative;
  margin: 0;
  font-weight: 600;
}

.home-hero .ticks li:before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 900;
}

.home-hero .pic {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/5;
}

.home-hero .pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 18px;
}

.trust b {
  color: var(--ink);
}

section.band {
  padding: 56px 0;
}

section.band.soft {
  background: var(--soft);
}

section.band.dark {
  background: var(--ink);
  color: #cfd6e4;
}

section.band.dark h2,
section.band.dark h3 {
  color: #fff;
}

.sec-head {
  max-width: 760px;
  margin-bottom: 26px;
}

.sec-head h2 {
  margin-top: 0;
}

.sec-head p {
  color: var(--muted);
  font-size: 18px;
}

section.band.dark .sec-head p {
  color: #aab6cc;
}

.stage-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
}

.stage {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.stage .n {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.stage h3 {
  margin: 6px 0 6px;
  font-size: 18.5px;
}

.stage h3 a {
  color: var(--ink);
  text-decoration: none;
}

.stage h3 a:hover {
  color: var(--brand);
}

.stage p {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 10px;
}

.stage ul {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  font-size: 14.5px;
}

.stage li {
  margin: 4px 0;
}

.stage li a {
  text-decoration: none;
}

.stage li a:before {
  content: "→ ";
  color: #9aa4b8;
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.pill-list li {
  margin: 0;
}

.pill-list a {
  display: inline-block;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  text-decoration: none;
  color: var(--ink-2);
  font-size: 14.5px;
  font-weight: 600;
}

.pill-list a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  font-size: 15.5px;
}

.price-table th,
.price-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.price-table th {
  background: var(--soft-2);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 14px;
}

.stat {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 18px;
}

.stat b {
  display: block;
  font-size: 30px;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -.02em;
  margin-bottom: 8px;
}

/* „+ TVA” sub cifră, ca etichetă */
.stat b small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
  color: #aab6cc;
  letter-spacing: .04em;
}

.stat span {
  font-size: 14.5px;
}

/* Contact form */
.form {
  display: grid;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
}

.form label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  display: grid;
  gap: 5px;
}

.form input,
.form select,
.form textarea {
  font: 16px var(--font);
  padding: 11px 12px;
  border: 1px solid #cfd7e4;
  border-radius: 10px;
  width: 100%;
  background: #fff;
  color: var(--ink);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-color: var(--brand);
}

.form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form .note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
}

.form .consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}

.form .consent input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  padding: 0;
  accent-color: var(--brand);
}

.form .consent .field-error {
  flex-basis: 100%;
}

.form .consent:has(.field-error) {
  flex-wrap: wrap;
}

.form [aria-invalid="true"] {
  border-color: var(--red);
  outline-color: var(--red);
}

.field-error {
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
}

.form button[disabled] {
  opacity: .7;
  cursor: progress;
}

/* Câmp-capcană pentru roboți: ascuns vizual și pentru cititoarele de ecran */
.form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Două butoane: e-mail (prin server) și WhatsApp */
.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-actions .btn {
  min-width: 0;
  white-space: normal;
  text-align: center;
}

/* În mesajul de eroare: codul pentru diagnostic + butonul WhatsApp cu cererea completată */
.form-status-extra {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 10px;
}

.form-status-extra small {
  font-weight: 400;
  opacity: .75;
}

.form-status .form-status-wa,
.form-status .form-status-wa:hover {
  color: #fff;
}

.form-status {
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 15px;
  font-weight: 600;
}

.form-status.is-ok {
  background: #effaf3;
  border: 1px solid #bfe7cf;
  color: #0b6b35;
}

.form-status.is-error {
  background: #fff4f4;
  border: 1px solid #f3c7cc;
  color: #a1162a;
}

/* Banner cookie-uri (assets/consent.js) */
.cc {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.cc-box {
  pointer-events: auto;
  width: 100%;
  max-width: 760px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 50px rgba(14,23,38,.22);
  padding: 20px 22px;
  font-size: 15px;
  line-height: 1.55;
}

.cc-title {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 6px;
}

.cc-desc {
  color: var(--ink-2);
  margin: 0 0 14px;
}

.cc-prefs {
  display: grid;
  gap: 8px;
  margin: 0 0 14px;
}

.cc-opt {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
  cursor: pointer;
}

.cc-opt input {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--brand);
}

.cc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cc-actions .btn {
  flex: 1 1 150px;
  padding: 11px 16px;
  font-size: 15px;
}

/* Buton care arată ca un link (ex. „Setări cookie” în subsol) */
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: #dfe5ef;
  cursor: pointer;
}

.link-btn:hover {
  color: #fff;
  text-decoration: underline;
}

/* Footer */
footer.site {
  background: #0a1120;
  color: #aab4c8;
  font-size: 15px;
  padding: 48px 0 90px;
  margin-top: 0;
}

footer.site a {
  color: #dfe5ef;
  text-decoration: none;
}

footer.site a:hover {
  color: #fff;
  text-decoration: underline;
}

footer.site .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}

footer.site h4 {
  color: #fff;
  font-size: 15px;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

footer.site ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer.site li {
  margin: 6px 0;
}

footer.site .legal {
  border-top: 1px solid #1d2840;
  margin-top: 34px;
  padding-top: 18px;
  font-size: 13.5px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  justify-content: space-between;
}

footer.site .nap {
  font-style: normal;
  line-height: 1.8;
}

/* Sticky mobile bar */
.mbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  gap: 8px;
  box-shadow: 0 -6px 20px rgba(14,23,38,.08);
}

.mbar a {
  flex: 1;
  padding: 11px 6px;
  font-size: 15px;
}

/* Comutator de limbă RO / RU (în antet) */
.lang-switch {
  display: inline-grid;
  place-items: center;
  min-width: 40px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: 700 14px var(--font);
  letter-spacing: .04em;
  color: var(--ink-2);
  text-decoration: none;
}

.lang-switch:hover,
.lang-switch:focus-visible {
  border-color: var(--brand);
  color: var(--brand);
}

/* Studii de caz: imagine hero (captură de site, încadrată de sus) */
.hero-shot {
  aspect-ratio: 16/9;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-shot img {
  object-position: top;
}

/* Tabelul „Proiectul pe scurt” */
.case-facts {
  margin: 0 0 1.6em;
}

.case-facts caption {
  text-align: left;
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  padding: 12px 14px 4px;
}

.case-facts th {
  width: 34%;
}

/* Galerii de capturi */
.shots {
  display: grid;
  gap: 14px;
  margin: 1.4em 0 .4em;
}

.shots figure {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.shots img {
  width: 100%;
}

.shots-mobile {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  max-width: 640px;
}

.shots-mobile figure {
  border-radius: 18px;
}

.shots-caption {
  margin: 0 0 1.6em;
  font-size: 14px;
}

/* Carduri pentru studii de caz: captură încadrată de sus */
.cards-cases .im img {
  object-position: top;
}

/* Recenzii Google (Keywords.md): carusel orizontal cu derulare proprie */
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
}

.reviews-head > div {
  max-width: 640px;
}

.reviews-head .note-muted {
  margin: 0;
}

.reviews-score {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 10px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
}

.reviews-score b {
  grid-row: span 2;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -.02em;
}

.reviews-score span:last-child {
  font-size: 14px;
  color: var(--muted);
}

.reviews-score:hover {
  border-color: var(--brand);
  color: var(--ink);
}

.stars {
  color: #f5a623;
  letter-spacing: 2px;
  font-size: 17px;
  line-height: 1.2;
}

.reviews {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, calc((100% - 32px) / 3));
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
}

/* Când sliderul e activ (JS), bara de derulare nativă e înlocuită de săgeți și buline */
.reviews.is-slider {
  align-items: start;
  scrollbar-width: none;
}

.reviews.is-slider::-webkit-scrollbar {
  display: none;
}

.reviews:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.review {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  scroll-snap-align: start;
}

.review blockquote {
  margin: 0;
  flex: 1;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-2);
  overflow-wrap: break-word;
}

.review blockquote p {
  margin: 0 0 .6em;
}

/* Recenziile lungi: 7 rânduri, apoi „Citește mai mult” */
.review blockquote.is-clamped {
  max-height: calc(1.6em * 7);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 70%, transparent);
  mask-image: linear-gradient(#000 70%, transparent);
}

.review-more {
  align-self: flex-start;
  margin-top: -4px;
  padding: 4px 0;
  background: none;
  border: 0;
  color: var(--brand);
  font: 700 14px var(--font);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.review-more:hover {
  color: var(--brand-dark);
}

/* Săgeți + buline */
.reviews-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 10px;
}

.rv-arrow {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: border-color .15s, opacity .15s;
}

.rv-arrow:hover:not(:disabled),
.rv-arrow:focus-visible {
  border-color: var(--brand);
  color: var(--brand);
}

.rv-arrow:disabled {
  opacity: .35;
  cursor: default;
  box-shadow: none;
}

.rv-arrow span {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.rv-prev span {
  transform: translateX(2px) rotate(135deg);
}

.rv-next span {
  transform: translateX(-2px) rotate(-45deg);
}

.rv-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
}

.rv-dot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.rv-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #c3cddc;
  transition: width .2s ease, background .2s ease;
}

.rv-dot[aria-current="true"]::before {
  width: 20px;
  background: var(--brand);
}

.rv-dot:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 1px;
  border-radius: 6px;
}

.review figcaption {
  font-size: 14px;
  color: var(--muted);
}

.review figcaption b {
  color: var(--ink);
}

.reviews-inline {
  margin: 2em 0;
}

.reviews-inline .reviews {
  grid-auto-columns: minmax(260px, calc((100% - 16px) / 2));
}

/* Clase utilitare (înlocuiesc stilurile inline din pagini).
   !important = aceeași prioritate pe care o aveau stilurile inline. */
.kicker {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--brand);
  background: var(--brand-soft);
  padding: 5px 10px;
  border-radius: 999px;
  text-decoration: none;
  margin: 0 0 14px;
}

.note-muted {
  font-size: 14.5px !important;
  color: var(--muted) !important;
}

.note-xs {
  font-size: 14px !important;
  margin-top: 8px !important;
}

.lead-sm {
  font-size: 19px !important;
  color: var(--ink-2) !important;
}

.h2-sm {
  font-size: 22px !important;
}

.side-note {
  margin: 10px 0 0 !important;
  font-size: 13px !important;
  color: #9fb0cc !important;
}

.link-strong {
  color: #fff !important;
  font-weight: 700 !important;
}

.link-strong:hover {
  color: #fff !important;
}

.align-start {
  align-items: start !important;
}

.wrap-read {
  max-width: 780px !important;
}

.wrap-narrow {
  max-width: 760px !important;
}

.wrap-faq {
  max-width: 860px !important;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-16 {
  margin-top: 16px !important;
}

.mt-20 {
  margin-top: 20px !important;
}

.pt-10 {
  padding-top: 10px !important;
}

.pt-24 {
  padding-top: 24px !important;
}

/* Antetul are mai mult loc decât conținutul, ca meniul (RO și RU) să încapă pe un rând */
header.site .wrap {
  max-width: 1360px;
}

.case-facts table {
  display: table;
  width: 100%;
}

/* Ecrane 1281–1400px: meniu mai compact, ca să încapă pe un rând și în rusă */
@media (max-width:1400px) {
  nav.main>ul>li>a,
  nav.main>ul>li>button {
    padding: 10px 6px;
    font-size: 14.5px;
  }

  header.site .wrap {
    gap: 14px;
  }
}

@media (max-width:1280px) {
  /* Fără backdrop-filter: altfel panoul fix s-ar poziționa față de antet, nu față de ecran */
  header.site {
    backdrop-filter: none;
    background: #fff;
  }
  .menu-btn {
    display: inline-grid;
  }
  .hdr-cta {
    margin-left: auto;
  }
  /* Panoul: tot ecranul sub antet, cu derulare proprie */
  nav.main {
    position: fixed;
    top: var(--menu-top, 60px);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: flex;
    flex-direction: column;
    margin: 0;
    background: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
  }
  nav.main.open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .2s ease, transform .2s ease;
  }
  nav.main>ul {
    flex-direction: column;
    gap: 0;
    padding: 4px 16px 16px;
  }
  nav.main>ul>li {
    border-bottom: 1px solid var(--line);
  }
  nav.main>ul>li>a,
  nav.main>ul>li>button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 56px;
    padding: 14px 4px;
    border-radius: 0;
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    text-align: left;
  }
  nav.main>ul>li>a:hover,
  nav.main>ul>li>button:hover {
    background: none;
    color: var(--brand);
  }
  nav.main .caret {
    width: 9px;
    height: 9px;
    margin-right: 4px;
    color: var(--muted);
  }
  nav.main li.sub-open>button .caret {
    transform: translateY(2px) rotate(-135deg);
  }
  /* Submeniurile: închise până la atingere (acordeon) */
  .dd,
  nav.main li:hover>.dd,
  nav.main li:focus-within>.dd {
    display: none;
    position: static;
    min-width: 0;
    margin: 0;
    padding: 0 0 12px;
    border: 0;
    box-shadow: none;
    background: none;
  }
  nav.main li.sub-open>.dd {
    display: block;
  }
  .dd a {
    padding: 11px 12px;
    border-radius: 10px;
    font-size: 15.5px;
  }
  .dd a:active {
    background: var(--soft);
  }
  /* Contact rapid, lipit de marginea de jos a panoului */
  .nav-cta {
    position: sticky;
    bottom: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: auto;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
  }
  .nav-cta .btn {
    min-width: 0;
    padding: 12px 6px;
    font-size: 15px;
  }
  /* Cât e deschis meniul: pagina din spate nu se derulează, bara fixă de jos se ascunde.
     Antetul devine fix: altfel, cu html blocat, „sticky” s-ar lipi de body și ar ieși din ecran. */
  html.menu-open {
    overflow: hidden;
  }
  html.menu-open header.site {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }
  html.menu-open .mbar {
    display: none;
  }
}

@media (max-width:1080px) {
  .chain ol {
    grid-template-columns: repeat(4,1fr);
  }
  .stage-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width:980px) {
  .hdr-cta .btn-call {
    display: none;
  }
  /* minmax(0,1fr): coloana nu se poate lăți peste ecran din cauza unui conținut lung */
  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
  }
  aside.side {
    min-width: 0;
  }
  .side-cta .btn {
    white-space: normal;
    text-align: center;
  }
  aside.side {
    position: static;
  }
  aside.side .toc {
    display: none;
  }
  .home-hero .grid,
  .two {
    grid-template-columns: 1fr;
  }
  .home-hero .pic {
    aspect-ratio: 16/10;
  }
  .stats {
    grid-template-columns: repeat(2,1fr);
  }
  footer.site .cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:640px) {
  .form-actions {
    grid-template-columns: 1fr;
  }

  .reviews,
  .reviews-inline .reviews {
    grid-auto-columns: 82%;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stat {
    min-width: 0;
    padding: 14px;
  }
  .stat b {
    font-size: 21px;
  }

  .lang-switch {
    min-width: 36px;
    height: 34px;
    padding: 0 8px;
    font-size: 13px;
  }

  .cc {
    left: 8px;
    right: 8px;
    bottom: 8px;
  }

  .cc-box {
    padding: 16px;
  }

  body {
    font-size: 16.5px;
  }
  .wrap {
    padding: 0 16px;
  }
  .topbar .tb-hide,
  .topbar .tb-hours {
    display: none;
  }
  .topbar {
    font-size: 13px;
  }
  header.site .wrap {
    gap: 10px;
    min-height: 60px;
  }
  .logo {
    font-size: 15.5px;
    gap: 8px;
  }
  .logo .mark {
    width: 30px;
    height: 30px;
    font-size: 15px;
  }
  .mbar a {
    font-size: 14px;
    padding: 11px 4px;
    gap: 5px;
  }
  .chain ol {
    grid-template-columns: repeat(2,1fr);
  }
  .stage-grid {
    grid-template-columns: 1fr;
  }
  .hero-img {
    aspect-ratio: 16/10;
  }
  .cta {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  .cta .ph {
    display: none;
  }
  .cta .acts .btn {
    flex: 1 1 100%;
  }
  .nextprev {
    grid-template-columns: 1fr;
  }
  .form .row {
    grid-template-columns: 1fr;
  }
  footer.site .cols {
    grid-template-columns: 1fr;
  }
  .mbar {
    display: flex;
  }
  .logo small {
    display: none;
  }
}

@media (max-width:420px) {
  /* sliderul recenziilor: 10 buline pe un singur rând */
  .reviews-nav {
    gap: 8px;
  }
  .rv-dots {
    gap: 0;
    flex-wrap: nowrap;
  }
  .rv-dot {
    width: 16px;
  }
  .rv-dot[aria-current="true"]::before {
    width: 14px;
  }
  h1 {
    font-size: 27px;
  }
  .hero-cta .btn {
    white-space: normal;
    text-align: center;
  }
  /* Butoanele de contact (bara de jos și panoul de meniu) trebuie să încapă și pe 320px */
  .mbar a,
  .nav-cta .btn {
    min-width: 0;
    font-size: 13.5px;
    gap: 4px;
  }
  .stats {
    grid-template-columns: minmax(0, 1fr);
  }
  .stat b {
    font-size: 24px;
  }
}

@media (max-width:380px) {
  /* antet compact: logo + RO/RU + meniu încap și pe 320px */
  header.site .wrap {
    gap: 8px;
  }
  .logo {
    font-size: 14px;
    gap: 6px;
  }
  .logo .mark {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }
  .lang-switch {
    min-width: 32px;
    height: 34px;
    padding: 0 6px;
  }
  .menu-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width:360px) {
  .mbar .btn svg,
  .nav-cta .btn svg {
    display: none;
  }
}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }
  .card,
  .btn,
  nav.main,
  nav.main.open,
  .menu-icon span,
  .caret {
    transition: none;
  }
}
