/* Culorile aplicației (brand.json). Accentul vine din config.js. */
:root {
  --accent: #e8590c;
  --accent-soft: #fff0e6;
  --dark: #1e2228;
  --ink: #15171a;
  --muted: #5d646e;
  --line: #dde1e6;
  --bg: #ffffff;
  --screen: #f4f5f7;
  --green: #1f7a3a;
  --red: #b42318;
  --gold: #b7791f;
  --raza: 14px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
img, svg { max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 850; }
h3 { font-size: 1.15rem; font-weight: 800; }
p { margin: 0 0 1em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.mic { font-size: .88rem; color: var(--muted); }
.acc { color: var(--accent); }

/* Antet */
.ciorna { background: var(--gold); color: #fff; text-align: center; font-size: .8rem; font-weight: 700; padding: 4px 16px; }
.antet { position: sticky; top: 0; z-index: 10; background: rgba(30, 34, 40, .97); color: #fff; }
.antet .bara { display: flex; align-items: center; gap: 16px; height: 60px; }
.logo { font-weight: 900; font-size: 1.5rem; color: inherit; text-decoration: none; letter-spacing: -.02em; white-space: nowrap; }
.logo-sub { font-weight: 600; font-size: .95rem; letter-spacing: 0; opacity: .8; }
.slogan-en { font-size: 1.15rem; font-style: italic; color: var(--accent); margin: -6px 0 14px; font-weight: 700; }
@media (max-width: 520px) { .antet .logo { line-height: 1.05; } .antet .logo-sub { display: block; font-size: .72rem; } }
.antet nav { margin-left: auto; display: flex; gap: 4px; }
.antet nav a { color: #d6dae0; text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: .95rem; font-weight: 600; }
.antet nav a:hover, .antet nav a[aria-current] { color: #fff; background: rgba(255, 255, 255, .1); }
.meniu { display: none; margin-left: auto; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; padding: 4px 8px; }
@media (max-width: 820px) {
  .meniu { display: block; }
  .antet nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--dark); padding: 8px 16px 16px; }
  .antet.deschis nav { display: flex; }
  .antet nav a { padding: 10px; }
}

/* Secțiuni */
section { padding: 64px 0; }
section.gri { background: var(--screen); }
section.inchis { background: var(--dark); color: #fff; }
section.inchis .mic, section.inchis p { color: #c9ced6; }
.erou { background: var(--dark); color: #fff; padding: 56px 0 64px; overflow: hidden; }
.erou .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.erou p.lead { font-size: 1.2rem; color: #c9ced6; max-width: 34em; }
@media (max-width: 820px) { .erou .wrap { grid-template-columns: 1fr; } }
.cap { max-width: 720px; margin-bottom: 32px; }
.cap p { color: var(--muted); font-size: 1.08rem; }
section.inchis .cap p { color: #c9ced6; }

.butoane { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.btn { display: inline-block; padding: 13px 20px; border-radius: 12px; font-weight: 800; text-decoration: none; background: var(--accent); color: #fff; border: 2px solid var(--accent); }
.btn.ghost { background: transparent; color: inherit; border-color: rgba(255, 255, 255, .35); }
.btn-disc { display: flex; align-items: center; gap: 14px; max-width: 460px; margin-top: 16px; padding: 12px 18px 12px 12px; border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 10px 28px rgba(0, 0, 0, .28); transition: transform .15s ease, box-shadow .15s ease; }
.btn-disc:hover, .btn-disc:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 0, 0, .34); }
.btn-disc .bd-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent); font-size: 24px; }
.btn-disc .bd-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.btn-disc .bd-txt b { font-size: 1.12rem; font-weight: 800; }
.btn-disc .bd-txt small { font-size: .85rem; opacity: .7; }
.btn-disc .bd-sag { flex: none; font-size: 1.4rem; font-weight: 800; color: var(--accent); transition: transform .15s ease; }
.btn-disc:hover .bd-sag { transform: translateX(4px); }
.btn.ghost.deschis { border-color: var(--line); color: var(--ink); }
.eticheta { display: inline-block; font-size: .8rem; font-weight: 800; color: var(--accent); background: var(--accent-soft); padding: 3px 10px; border-radius: 99px; margin-bottom: 12px; }
.erou .eticheta { background: rgba(232, 89, 12, .18); }

.grila { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--raza); padding: 20px; }
section.gri .card { border-color: transparent; }
.card .ic { font-size: 1.8rem; line-height: 1; margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--muted); }
.card.acc { background: var(--accent-soft); border-color: transparent; }

/* Pagină cu explicații pe ecrane */
.ecran-rand { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; padding: 40px 0; border-top: 1px solid var(--line); }
.ecran-rand:first-of-type { border-top: 0; }
.ecran-rand.invers { grid-template-columns: 1fr 300px; }
.ecran-rand.invers .telefon { order: 2; }
@media (max-width: 820px) {
  .ecran-rand, .ecran-rand.invers { grid-template-columns: 1fr; gap: 20px; }
  .ecran-rand.invers .telefon { order: 0; }
}
ul.lista { padding-left: 1.2em; margin: 0 0 1em; }
ul.lista li { margin: .3em 0; }
.cuprins { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.cuprins a { text-decoration: none; font-weight: 700; font-size: .92rem; padding: 6px 12px; border-radius: 99px; background: #fff; border: 1px solid var(--line); color: var(--ink); }

/* Ilustrații de telefon (făcute din cod, nu capturi reale) */
.telefon { width: 100%; max-width: 300px; margin: 0 auto; background: #0c0d0f; border-radius: 40px; padding: 12px; box-shadow: 0 20px 50px rgba(0, 0, 0, .28); }
.telefon .ecr { background: var(--screen); border-radius: 30px; overflow: hidden; height: 560px; display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; color: var(--ink); position: relative; }
.telefon .sus { height: 28px; display: flex; justify-content: center; align-items: center; }
.telefon .sus::after { content: ''; width: 90px; height: 22px; background: #0c0d0f; border-radius: 12px; }
.telefon .cont { padding: 6px 12px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; overflow: hidden; }
.t-titlu { font-weight: 900; font-size: 18px; }
.t-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 9px 10px; }
.t-card b { display: block; font-size: 13.5px; }
.t-mic { color: var(--muted); font-size: 11.5px; }
.t-chips { display: flex; gap: 5px; flex-wrap: wrap; }
.t-chip { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: #fff; border: 1px solid var(--line); }
.t-chip.on { background: var(--dark); color: #fff; border-color: var(--dark); }
.t-btn { text-align: center; font-weight: 800; border-radius: 12px; padding: 11px; background: var(--accent); color: #fff; font-size: 14px; }
.t-btn.verde { background: var(--green); }
.t-btn.rosu { background: var(--red); }
.t-btn.gol { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.t-btn.umple { background: linear-gradient(90deg, #8f1a12 62%, var(--red) 62%); }
.t-badge { display: inline-block; font-size: 10px; font-weight: 800; color: #fff; padding: 1px 7px; border-radius: 99px; margin-left: 4px; vertical-align: 1px; }
.t-harta { border-radius: 12px; height: 150px; position: relative; overflow: hidden; background: #e7ecdf; border: 1px solid var(--line); }
.t-harta.mare { height: 250px; }
.t-harta svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.t-bara { background: var(--green); color: #fff; font-weight: 800; font-size: 11.5px; padding: 7px 12px; text-align: center; }
.t-tab { display: flex; justify-content: space-around; background: #fff; border-top: 1px solid var(--line); padding: 7px 0 12px; font-size: 10px; color: var(--muted); font-weight: 700; }
.t-tab span.on { color: var(--accent); }
.t-check { display: flex; gap: 6px; align-items: center; font-size: 12px; }
.t-check i { width: 16px; height: 16px; border-radius: 4px; background: var(--green); color: #fff; font-style: normal; font-size: 11px; display: grid; place-items: center; }
.t-stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.t-stat div { background: var(--screen); border-radius: 8px; padding: 6px 2px; }
.t-stat b { font-size: 16px; }

/* Tabel și prețuri */
.tabel { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--raza); overflow: hidden; }
.tabel th, .tabel td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tabel th { width: 30%; font-weight: 800; }
@media (max-width: 600px) {
  .tabel, .tabel tbody, .tabel tr, .tabel th, .tabel td { display: block; width: 100%; }
  .tabel th { border-bottom: 0; padding-bottom: 0; }
}
.pret { font-size: 2.4rem; font-weight: 900; }
.pret small { font-size: 1rem; font-weight: 700; color: var(--muted); }
.bife { list-style: none; padding: 0; margin: 0 0 1em; }
.bife li { padding: 6px 0 6px 28px; position: relative; }
.bife li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 900; }
.bife.curand li::before { content: '…'; color: var(--muted); }

/* Întrebări */
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin-bottom: 10px; }
details summary { cursor: pointer; font-weight: 800; padding: 16px 0; list-style: none; }
details summary::after { content: '+'; float: right; color: var(--accent); font-weight: 900; }
details[open] summary::after { content: '–'; }
details p { color: var(--muted); }

.nota { border-left: 4px solid var(--gold); background: #fdf6e8; padding: 12px 16px; border-radius: 0 10px 10px 0; font-size: .95rem; }
.nota.rosu { border-color: var(--red); background: #fdeceb; }
.text-lung { max-width: 760px; }
.text-lung h2 { margin-top: 1.6em; font-size: 1.35rem; }

/* Subsol */
.subsol { background: var(--dark); color: #c9ced6; padding: 40px 0 28px; }
.subsol .wrap { display: grid; gap: 18px; }
.subsol .logo { color: #fff; }
.subsol .linkuri { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.subsol .linkuri a { color: #c9ced6; text-decoration: none; font-size: .92rem; }
.subsol .linkuri a:hover { color: #fff; }
.subsol .mic { color: #8e96a1; margin: 0; }
.subsol .mic a { color: #c9ced6; }

/* Discuții */
.disc-cont { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-bottom: 12px; min-height: 40px; }
.mic-btn { padding: 8px 14px; font-size: .9rem; }
.disc-canale { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.disc-chip { padding: 7px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 700; font-size: .9rem; }
.disc-chip.on { background: var(--accent); border-color: var(--accent); color: #fff; }
#zona { display: flex; flex-direction: column; gap: 10px; }
.disc-sus { display: flex; justify-content: flex-start; }
.disc-fir { display: block; text-decoration: none; color: var(--ink); padding: 14px 16px; }
.disc-fir:hover { border-color: var(--accent); }
.disc-titlu { margin-bottom: 4px; overflow-wrap: anywhere; }
.disc-mesaj h2 { margin: 0 0 6px; font-size: 1.35rem; overflow-wrap: anywhere; }
.disc-raspuns { padding: 14px 16px; }
.disc-text { white-space: pre-wrap; overflow-wrap: anywhere; color: var(--ink) !important; margin: 10px 0 6px; }
.disc-acti { display: flex; gap: 14px; }
.disc-act { color: var(--muted); }
.disc-form { display: flex; flex-direction: column; gap: 10px; }
.disc-form h3 { margin: 0; }
.disc-form input, .disc-form select, .disc-form textarea { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; width: 100%; box-sizing: border-box; background: #fff; color: var(--ink); }
.disc-form textarea { resize: vertical; }
.disc-form .btn { align-self: flex-start; cursor: pointer; }
.disc-form .btn:disabled { opacity: .5; }
.disc-bifa { display: flex; gap: 8px; align-items: flex-start; }
.disc-bifa input { width: auto; margin-top: 3px; }

/* Descarcă aplicația (prima pagină) */
.descarca { display: flex; align-items: center; gap: 32px; }
.dl-icon { flex: none; width: 96px; height: 96px; border-radius: 22px; box-shadow: 0 10px 26px rgba(0, 0, 0, .18); }
.dl-text h2 { margin: 6px 0 8px; }
.dl-text > p { color: var(--muted); font-size: 1.08rem; max-width: 36em; }
.dl-curand { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }
.dl-magazine { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 14px; }
.dl-mag { display: flex; align-items: center; gap: 12px; min-width: 190px; padding: 10px 18px 10px 14px; border-radius: 14px; background: var(--dark); color: #fff; opacity: .9; cursor: default; position: relative; }
.dl-mag .dl-ic { font-size: 26px; width: 30px; text-align: center; }
.dl-mag small { display: block; font-size: .75rem; color: #c9ced6; line-height: 1.1; }
.dl-mag b { display: block; font-size: 1.2rem; line-height: 1.2; }
@media (max-width: 640px) {
  .descarca { flex-direction: column; align-items: flex-start; gap: 18px; }
  .dl-mag { flex: 1 1 100%; }
}

/* Buton mare „Descarcă” sus pe prima pagină */
.dl-sus { text-align: center; margin: -8px 0 40px; }
.btn-instal { display: inline-block; padding: 18px 28px; border-radius: 18px; background: linear-gradient(135deg, var(--accent), #b8360a); color: #fff; font-weight: 800; font-size: 1.2rem; text-decoration: none; box-shadow: 0 10px 26px rgba(232, 89, 12, .35); transition: transform .15s ease, box-shadow .15s ease; }
.btn-instal:hover, .btn-instal:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(232, 89, 12, .45); }
@media (max-width: 520px) { .btn-instal { display: block; font-size: 1.05rem; padding: 16px 18px; } }

/* Trasee */
.tr-inapoi { display: inline-block; margin-bottom: 10px; font-weight: 700; }
.tr-lead { font-size: 1.12rem; color: var(--muted); }
.tr-date { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 22px 0; }
.tr-date div { background: #fff; border-radius: 12px; padding: 12px 14px; }
.tr-date dt { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); }
.tr-date dd { margin: 4px 0 0; }
.tr-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 22px; }
.tr-opriri, .tr-sfaturi { padding-left: 22px; }
.tr-opriri li, .tr-sfaturi li { margin-bottom: 10px; }
.tr-opriri + .nota { margin-top: 18px; }
.tr-card { text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease; }
.tr-card:hover, .tr-card:focus-visible { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0, 0, 0, .08); }
.tr-card h3 { margin: 0 0 6px; }
.tr-acasa { margin-top: 32px; padding: 20px; border: 1px solid var(--line); border-radius: var(--raza); }
.tr-acasa h3 { margin-top: 0; }
@media (max-width: 520px) { .tr-cta a { width: 100%; text-align: center; } }
.ghid h2 { margin-top: 30px; }
.ghid h2:first-child { margin-top: 0; }
.ghid .nota { margin-top: 28px; }
.tr-acasa .btn { margin: 4px 8px 4px 0; }
