:root {
  --green: #1f7a4e;
  --green-dark: #12603d;
  --green-light: #3e8e63;
  --ink: #122421;
  --muted: #5e7570;
  --bg: #f6faf9;
  --card: #ffffff;
  --border: #dde9e6;
  --tint: #e8f3ee;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
}

img { max-width: 100%; height: auto; }
a { color: var(--green); }
a:hover { color: var(--green-dark); }
:focus-visible { outline: 3px solid var(--green-light); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--green-dark); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- antet ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 5; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--green-dark); font-weight: 800; font-size: 20px; text-decoration: none; }
.brand img { border-radius: 8px; }
.site-header nav { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.site-header nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; padding: 6px 0; }
.site-header nav a:hover { color: var(--green); }

/* ---------- pagina de start ---------- */
.hero { background: linear-gradient(160deg, var(--tint), var(--bg) 70%); padding: 40px 0 48px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-logo { text-align: center; order: -1; }
.hero-logo img { width: min(240px, 60vw); height: auto; border-radius: 28px; box-shadow: 0 10px 30px rgba(18, 96, 61, .15); }
.kicker { margin: 0 0 8px; color: var(--green); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 14px; color: var(--green-dark); }
.lead { font-size: 18px; color: #2b403b; margin: 0 0 22px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  position: relative; display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 190px; padding: 10px 18px 10px; border-radius: 14px;
  background: #e6eeeb; color: #6b807a; border: 1px dashed #b9cbc5; cursor: not-allowed; user-select: none;
}
.store-small { font-size: 12px; line-height: 1.2; }
.store-big { font-size: 19px; font-weight: 800; line-height: 1.25; }
.soon { position: absolute; top: -9px; right: 10px; background: var(--green); color: #fff; font-size: 11px; font-weight: 700; padding: 1px 9px; border-radius: 999px; }
.note { margin: 14px 0 0; color: var(--muted); font-size: 14px; }

.section { padding: 48px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: 24px; line-height: 1.25; margin: 0 0 10px; color: var(--green-dark); }
h3 { font-size: 18px; margin: 0 0 6px; }
.section-lead { color: var(--muted); margin: 0 0 24px; }
.small { color: var(--muted); font-size: 14px; margin: 20px 0 0; }

.grid { display: grid; gap: 16px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.feature p, .steps p { margin: 0; color: #3d5651; }
.ico { width: 30px; height: 30px; color: var(--green); margin-bottom: 8px; flex: none; }

.steps { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 16px; }
.steps .card { background: var(--bg); position: relative; }
.num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--green); color: #fff; font-weight: 800; margin-bottom: 8px; }

.privacy-box { display: flex; gap: 16px; align-items: flex-start; }
.privacy-box .ico { width: 38px; height: 38px; margin-top: 4px; }
.privacy-box p { margin: 0 0 8px; }
.contact p { margin: 0; }

/* ---------- subsol ---------- */
.site-footer { background: var(--green-dark); color: #dcefe5; padding: 32px 0 20px; font-size: 14px; margin-top: 0; }
.site-footer a { color: #fff; }
.foot { display: grid; gap: 20px; }
.copy { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .2); font-size: 13px; color: #b7d8c8; }

/* ---------- pagini legale ---------- */
.doc { max-width: 820px; padding-top: 28px; padding-bottom: 56px; }
.doc h1 { font-size: 28px; margin-bottom: 6px; }
.crumbs { margin: 0 0 12px; font-size: 14px; color: var(--muted); }
.updated { font-weight: 700; color: var(--green-light); margin: 0 0 18px; }
.prose { margin-bottom: 18px; padding: 24px 20px; overflow-wrap: anywhere; }
.prose h2 { font-size: 20px; margin: 26px 0 8px; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { font-size: 17px; margin: 18px 0 6px; color: var(--ink); }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 14px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose li::marker { color: var(--green); }
.back { margin-top: 18px; }

.table-wrap { margin: 0 0 16px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--border); }
.prose th { background: var(--tint); color: var(--green-dark); }

.button {
  display: inline-block; background: var(--green); color: #fff; border-radius: 12px;
  padding: 12px 20px; text-decoration: none; font-weight: 700;
}
.button:hover { background: var(--green-dark); color: #fff; }

ul.menu { list-style: none; margin: 0; padding: 0; }
ul.menu li { border-bottom: 1px solid var(--border); }
ul.menu li:last-child { border-bottom: 0; }
ul.menu a { display: block; padding: 12px 4px; text-decoration: none; }
ul.menu a span { display: block; font-weight: 700; }
ul.menu a small { display: block; color: var(--muted); font-size: 14px; font-weight: 400; }
.doc > .card { margin-bottom: 16px; }
.doc > .card h2 { font-size: 18px; margin-bottom: 4px; }

.center { text-align: center; padding-top: 56px; }

/* ---------- ecrane mari ---------- */
@media (min-width: 720px) {
  h1 { font-size: 40px; }
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1.4fr 1fr; }
  .hero-logo { order: 0; }
  .hero-logo img { width: 300px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .foot { grid-template-columns: 1.4fr 1fr 1fr; }
  .doc h1 { font-size: 34px; }
  .prose { padding: 32px 36px; }
}
@media (min-width: 980px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- tabel -> carduri pe telefon ---------- */
@media (max-width: 719px) {
  .prose table, .prose thead, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose thead { position: absolute; left: -9999px; }
  .prose tr { border: 1px solid var(--border); border-radius: 12px; background: var(--bg); padding: 10px 12px; margin-bottom: 12px; }
  .prose td { border: 0; padding: 3px 0; }
  .prose td:first-child { font-weight: 800; color: var(--green-dark); }
  .prose td:not(:first-child)::before { content: attr(data-label) ": "; font-weight: 700; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
