/*
Theme Name: Buton Retragere
Theme URI: https://butonretragere.ro
Author: Moon Impact
Author URI: https://moonimpact.com
Description: Landing page + blog pentru Buton Retragere, aplicatia de conformitate OUG 18/2026 pentru magazinele online din Romania. Complet personalizabil din Customizer.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: buton-retragere
*/

:root {
  --paper: #f1f0fa;
  --card: #ffffff;
  --ink: #16215c;
  --ink-soft: #4a4f7a;
  --line: #dcdaf0;
  --blue: #2563eb;
  --purple: #7c3aed;
  --grad: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --amber: #b45309;
  --star: #facc15;
  --radius: 12px;
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Archivo", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

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

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Top legal bar ---------- */
.legalbar {
  background: var(--ink);
  color: #c6cbee;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  padding: 8px 0;
}
.legalbar .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.legalbar strong { color: var(--star); font-weight: 600; }

/* ---------- Header / nav ---------- */
.site-header {
  background: rgba(241, 240, 250, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand:hover { text-decoration: none; }
.brand .custom-logo { width: 38px; height: 38px; border-radius: 10px; object-fit: contain; }
.brand-mark {
  width: 34px; height: 34px;
  background: var(--grad);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
}
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; }
.site-nav a { color: var(--ink-soft); font-weight: 500; font-size: 15.5px; }
.site-nav a:hover { color: var(--ink); text-decoration: none; }
/* Butonul de instalare din meniu ramane mereu cu text alb */
.site-nav a.btn { color: #fff; }
.site-nav a.btn:hover { color: #fff; }

/* Buton hamburger, vizibil doar pe mobil */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.btn {
  display: inline-block;
  background: var(--grad);
  color: #fff;
  font-weight: 600;
  font-size: 15.5px;
  padding: 12px 22px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 18px -8px rgba(76, 62, 220, 0.55);
}
.btn:hover { opacity: 0.92; text-decoration: none; transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line);
  box-shadow: none;
}
.btn-ghost:hover { background: #fff; border-color: var(--ink-soft); opacity: 1; }
.btn-lg { font-size: 17px; padding: 15px 28px; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px; right: -180px;
  width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.14) 0%, rgba(37, 99, 235, 0.07) 50%, transparent 70%);
  pointer-events: none;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 600;
  display: block;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 4.6vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lede {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 52ch;
  margin-bottom: 30px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 16px;
}
.hero-badges { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 13.5px;
  font-weight: 600;
}
.badge .flag { font-size: 15px; }

/* Demo widget: fluxul legal in doi pasi */
.demo {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 60px -26px rgba(37, 33, 120, 0.35);
  overflow: hidden;
}
.demo-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
}
.demo-dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; display: inline-block; margin-right: 7px; }
.demo-body { padding: 28px 26px 26px; }
.demo-body h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; margin-bottom: 6px; }
.demo-body p { font-size: 14.5px; color: var(--ink-soft); margin-bottom: 20px; }
.demo-step { display: none; }
.demo-step.active { display: block; }
.demo-btn {
  width: 100%;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease;
}
.demo-btn:hover { background: var(--paper); }
.demo-btn.dark {
  background: #0b0f1e;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 15px 18px;
}
.demo-btn.dark:hover { background: #1c2340; }
.demo-info {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #f8f9fc;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.45;
  margin-bottom: 18px;
}
.demo-info-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #e8e9f8;
  color: var(--purple);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}
.demo-form { margin-bottom: 16px; }
.demo-form label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}
.demo-form input,
.demo-form textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 13px;
  resize: none;
}
.demo-form input::placeholder,
.demo-form textarea::placeholder { color: #a8adc4; }
.demo-form input:focus,
.demo-form textarea:focus {
  outline: 2px solid var(--blue);
  outline-offset: 0;
  border-color: transparent;
}
.demo-btn.primary { background: var(--grad); color: #fff; border: none; padding: 16px 18px; }
.demo-btn.primary:hover { opacity: 0.92; }
.demo-receipt {
  border: 1px dashed var(--purple);
  border-radius: var(--radius);
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink);
  background: #f5f3ff;
}
.demo-receipt .stamp {
  display: inline-block;
  color: var(--purple);
  border: 2px solid var(--purple);
  border-radius: 6px;
  padding: 2px 10px;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-2deg);
  margin-bottom: 12px;
}
.demo-receipt dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; }
.demo-receipt dt { color: var(--ink-soft); }
.demo-reset {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft);
  margin-top: 14px; text-decoration: underline;
}

/* ---------- Ledger: faptele legii ---------- */
.ledger { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--card); }
.ledger .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 0;
  padding-bottom: 0;
}
.ledger-item { padding: 30px 28px; }
.ledger-item + .ledger-item { border-left: 1px solid var(--line); }
.ledger-item .k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 8px;
}
.ledger-item .v {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -0.02em;
}
.ledger-item .v.amber { color: var(--amber); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(27px, 3.2vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 14px;
}
.section-head p { color: var(--ink-soft); font-size: 18px; }

/* ---------- Slider banner (imagini desktop / mobil separate) ---------- */
.slider-block { padding: 84px 0 0; }
.slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -30px rgba(37, 33, 120, 0.35);
  background: var(--card);
}
.slider-track { position: relative; }
.slide { display: none; }
.slide.active { display: block; }
.slide img { display: block; width: 100%; }
.slide .slide-mobile { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .slide.active img { animation: br-fade 0.5s ease; }
  @keyframes br-fade { from { opacity: 0; } to { opacity: 1; } }
}
.slider-dots {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 4px rgba(22, 33, 92, 0.4);
  cursor: pointer;
  padding: 0;
  transition: transform 0.15s ease, background 0.15s ease;
}
.slider-dot:hover { transform: scale(1.2); }
.slider-dot.active { background: #fff; width: 22px; border-radius: 6px; }

/* ---------- Video demo YouTube ---------- */
.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px -30px rgba(37, 33, 120, 0.35);
  background: var(--ink);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Risc vs solutie ---------- */
.risk { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.risk-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.risk-col {
  border-radius: 14px;
  padding: 30px 28px;
}
.risk-col h3 {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.risk-icon {
  width: 28px; height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.risk-col ul { list-style: none; }
.risk-col li {
  padding: 10px 0 10px 26px;
  position: relative;
  font-size: 15.5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.risk-col li:last-child { border-bottom: none; }
.risk-col li::before {
  position: absolute;
  left: 0;
  font-family: var(--font-mono);
  font-weight: 600;
}
.risk-bad {
  background: #fdf3f2;
  border: 1px solid #f3d6d3;
}
.risk-bad .risk-icon { background: #dc2626; color: #fff; }
.risk-bad li { color: #6b3a36; }
.risk-bad li::before { content: "\2717"; color: #dc2626; }
.risk-good {
  background: #f4f9f4;
  border: 1px solid #d3e8d6;
}
.risk-good .risk-icon { background: #16a34a; color: #fff; }
.risk-good li { color: #2f5138; }
.risk-good li::before { content: "\2713"; color: #16a34a; }

/* ---------- Beneficii: clienti / comerciant ---------- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
}
.features-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  font-weight: 600;
  display: block;
  margin-bottom: 20px;
}
.feature {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 14px;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 6px;
}
.feature p { font-size: 15px; color: var(--ink-soft); }

/* ---------- Galerie screenshots ---------- */
.gallery { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.gallery-grid img {
  display: block;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-grid img:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px -20px rgba(37, 33, 120, 0.4);
}

/* Legea */
.law .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.law-prose .law-text p { margin-bottom: 18px; color: var(--ink-soft); }
.law-prose .law-text strong { color: var(--ink); }
.law-cite {
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid;
  border-image: var(--grad) 1;
  border-radius: var(--radius);
  padding: 26px 28px;
}
.law-cite .ref {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--purple);
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}
.law-cite p { font-size: 15.5px; color: var(--ink); margin-bottom: 14px; }
.law-cite p:last-child { margin-bottom: 0; }
.law-img { margin-top: 26px; }
.law-img img {
  display: block;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
}

/* Pasii aplicatiei */
.steps { background: var(--ink); color: #e6e8f7; position: relative; overflow: hidden; }
.steps::before {
  content: "";
  position: absolute;
  bottom: -260px; left: -160px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.28) 0%, transparent 65%);
  pointer-events: none;
}
.steps .wrap { position: relative; }
.steps .section-head h2 { color: #fff; }
.steps .section-head p { color: #a7abd6; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: #1e2a6e;
  border: 1px solid #2e3a85;
  border-radius: 14px;
  padding: 30px 26px;
}
.step .num {
  font-family: var(--font-mono);
  color: #fff;
  background: var(--grad);
  width: 34px; height: 34px;
  border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 600;
  margin-bottom: 18px;
}
.step h3 { font-family: var(--font-display); font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.step p { font-size: 15px; color: #a7abd6; }
.steps-img { margin-top: 44px; }
.steps-img img {
  display: block;
  width: 100%;
  border-radius: 14px;
  border: 1px solid #2e3a85;
}

/* FAQ */
.faq-list { max-width: 760px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  color: var(--purple);
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--ink-soft); font-size: 15.5px; }

/* CTA final */
.cta-band { background: var(--grad); color: #fff; }
.cta-band .wrap { text-align: center; max-width: 720px; }
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(27px, 3.4vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.cta-band p { color: #dfe3ff; font-size: 18px; margin-bottom: 30px; }
.cta-band .btn { background: #fff; color: var(--ink); box-shadow: 0 10px 26px -12px rgba(0,0,0,0.4); }
.cta-band .btn:hover { background: var(--paper); opacity: 1; }
.cta-band .mono-note { font-family: var(--font-mono); font-size: 13px; color: #dfe3ff; margin-top: 16px; }

/* ---------- Blog ---------- */
.blog-header { padding: 64px 0 8px; }
.blog-header h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: -0.02em;
}
.post-list { padding: 40px 0 84px; display: grid; gap: 18px; max-width: 800px; }
.post-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  transition: border-color 0.15s ease;
}
.post-card:hover { border-color: var(--purple); }
.post-card .meta {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 10px;
}
.post-card h2 { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.post-card h2 a { color: var(--ink); }
.post-card p { color: var(--ink-soft); font-size: 15.5px; }

/* Articol single */
.article { padding: 64px 0 84px; }
.article-inner { max-width: 720px; margin: 0 auto; }
.article .meta {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 14px;
}
.article h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.8vw, 42px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-bottom: 30px;
}
.article-content p { margin-bottom: 20px; color: #333a63; }
.article-content h2 { font-family: var(--font-display); font-weight: 700; font-size: 26px; margin: 38px 0 14px; letter-spacing: -0.01em; }
.article-content h3 { font-family: var(--font-display); font-weight: 700; font-size: 21px; margin: 30px 0 12px; }
.article-content ul, .article-content ol { margin: 0 0 20px 24px; color: #333a63; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
  border-left: 4px solid var(--purple);
  padding: 14px 22px;
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 20px;
  color: var(--ink-soft);
}
.article-content img { border-radius: var(--radius); }
.article-content a { text-decoration: underline; }

.pagination { display: flex; gap: 10px; padding-bottom: 60px; font-family: var(--font-mono); font-size: 14px; }
.pagination .page-numbers {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--ink);
}
.pagination .page-numbers.current { background: var(--grad); color: #fff; border-color: transparent; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #a7abd6;
  padding: 48px 0 40px;
  font-size: 14.5px;
}
.site-footer .footer-top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: flex-start;
  padding-bottom: 28px;
  border-bottom: 1px solid #2e3a85;
  margin-bottom: 24px;
}
.site-footer a { color: #dfe3ff; }
.footer-menu ul { display: flex; gap: 22px; list-style: none; flex-wrap: wrap; }
.footer-menu a { font-weight: 500; }
.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-footer .mono { font-family: var(--font-mono); font-size: 12.5px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .law .wrap { grid-template-columns: 1fr; gap: 40px; }
  .ledger .wrap { grid-template-columns: 1fr; }
  .ledger-item + .ledger-item { border-left: none; border-top: 1px solid var(--line); }
  .steps-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .risk-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 30px; }
  .section { padding: 60px 0; }
  .slider-block { padding-top: 60px; }
  .hero { padding: 52px 0 48px; }

  /* Meniu mobil: hamburger + panou */
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -24px rgba(22, 33, 92, 0.35);
    padding: 18px 24px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav.open { display: flex; }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    margin-bottom: 14px;
  }
  .site-nav ul a {
    display: block;
    padding: 13px 4px;
    font-size: 17px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
  }
  .site-nav ul li:last-child a { border-bottom: none; }
  .site-nav .btn {
    text-align: center;
    padding: 14px 22px;
    font-size: 16px;
  }
}
@media (max-width: 768px) {
  /* Pe mobil se afiseaza imaginea de mobil a slide-ului */
  .slide .slide-desktop { display: none; }
  .slide .slide-mobile { display: block; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .legalbar { font-size: 11px; }
  .legalbar .wrap { justify-content: center; text-align: center; gap: 4px; }
  .hero { padding: 40px 0 44px; }
  .hero h1 { font-size: 31px; }
  .hero .lede { font-size: 17px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { text-align: center; }
  .demo-body { padding: 22px 18px 20px; }
  .ledger-item { padding: 22px 20px; }
  .ledger-item .v { font-size: 23px; }
  .section-head h2 { font-size: 25px; }
  .section-head p { font-size: 16.5px; }
  .risk-col, .feature { padding: 22px 20px; }
  .law-cite { padding: 22px 20px; }
  .step { padding: 24px 20px; }
  .faq-item summary { padding: 16px 18px; font-size: 15.5px; }
  .faq-item .faq-a { padding: 0 18px 18px; }
  .cta-band .btn { display: block; text-align: center; }
  .post-card { padding: 22px 20px; }
  .site-footer .footer-top, .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .footer-menu ul { flex-direction: column; gap: 10px; }
}
