/* DILAN — oferta în format PDF (pagini A4, folosite la „Descarcă oferta PDF”) */
#print-doc { display: none; }

@media print {
  @page { size: A4; margin: 0; }
  html, body { background: #fff !important; margin: 0 !important; padding: 0 !important; }
  body > *:not(#print-doc) { display: none !important; }
  #print-doc { display: block; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.pdf { --v: #5ad21e; --v-d: #2f8a0c; --lime: #A8E832; --g: #fff115; --n: #080808; --t: #1b1d1a; --t2: #4d5249; --t3: #7c8278; --l: #e5e9e1; --l2: #f4f7f1;
  font-family: "Montserrat", Arial, sans-serif; color: var(--t); font-size: 9.5pt; line-height: 1.45; }
.pdf * { box-sizing: border-box; }
.pdf h1, .pdf h2, .pdf h3, .pdf p { margin: 0; }
.pg { width: 210mm; height: 297mm; position: relative; overflow: hidden; page-break-after: always; break-after: page; background: #fff; }
.pg:last-child { page-break-after: auto; break-after: auto; }
.pg-in { padding: 34mm 15mm 22mm; display: flex; flex-direction: column; gap: 7mm; }

/* Antet + subsol pagini interioare */
.pg-head { position: absolute; top: 0; left: 0; right: 0; height: 17mm; background: var(--n); display: flex; align-items: center; justify-content: space-between; padding: 0 15mm; }
.pg-head img { height: 8mm; width: auto; }
.pg-head span { color: #a7ada2; font-size: 7.5pt; letter-spacing: 0.25em; }
.pg-head b { color: #fff; font-weight: 600; letter-spacing: 0.18em; }
.pg-foot { position: absolute; left: 15mm; right: 15mm; bottom: 9mm; border-top: 0.3mm solid var(--l); padding-top: 3mm; display: flex; justify-content: space-between; font-size: 6.8pt; color: var(--t3); }

.eyebrow { font-size: 7.5pt; letter-spacing: 0.35em; color: var(--v-d); font-weight: 500; text-transform: uppercase; }
.h1 { font-size: 19pt; font-weight: 600; line-height: 1.2; margin-top: 2mm; }
.h1-rule { width: 22mm; height: 1.2mm; border-radius: 1mm; background: linear-gradient(90deg, var(--v), var(--lime)); margin-top: 3mm; }
.sec-title { display: flex; align-items: center; gap: 3mm; font-size: 11.5pt; font-weight: 600; }
.sec-title::before { content: ""; width: 1.2mm; height: 5mm; border-radius: 1mm; background: var(--v); }
.note { font-size: 7.5pt; color: var(--t3); line-height: 1.5; }

/* Copertă */
.cover { background: radial-gradient(160mm 120mm at 85% 100%, rgba(90,210,30,0.28), transparent 70%), var(--n); color: #fff; }
.cover .pg-in { padding: 26mm 18mm 18mm; height: 100%; gap: 0; }
.cover .logo { width: 110mm; height: auto; }
.cover .eyebrow { color: var(--v); margin-top: 18mm; }
.cover h1 { font-size: 27pt; font-weight: 600; line-height: 1.18; margin-top: 5mm; }
.cover h1 em { font-style: normal; color: var(--lime); }
.cover .sub { font-size: 11pt; font-weight: 300; color: #c9cdc5; margin-top: 5mm; }
.cover .meta { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6mm; border-top: 0.3mm solid #2a3027; border-bottom: 0.3mm solid #2a3027; padding: 8mm 0; margin-top: 14mm; }
.cover .meta span { display: block; font-size: 6.8pt; letter-spacing: 0.3em; color: #868c82; margin-bottom: 2mm; }
.cover .meta b { display: block; font-size: 10.5pt; font-weight: 500; }
.cover .meta small { display: block; font-size: 8pt; color: #a7ada2; margin-top: 1mm; }
.cover .thanks { margin-top: 9mm; font-size: 12pt; font-weight: 600; }
.cover .thanks em { font-style: normal; color: var(--v); }
.cover .about { margin-top: 4mm; display: flex; flex-direction: column; gap: 3mm; font-size: 9pt; font-weight: 300; color: #c9cdc5; line-height: 1.6; }
.cover .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6mm; margin-top: 8mm; }
.cover .facts div { border-left: 1mm solid var(--v); padding-left: 4mm; }
.cover .facts b { display: block; font-size: 19pt; font-weight: 600; }
.cover .facts span { display: block; font-size: 6.8pt; letter-spacing: 0.2em; color: #a7ada2; text-transform: uppercase; margin-top: 1mm; }
.cover .bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; }
.cover .tag { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 22pt; line-height: 1.25; letter-spacing: 0.03em; }
.cover .who { font-size: 8pt; color: #a7ada2; margin-top: 6mm; line-height: 1.6; }
.cover .who b { color: #fff; font-weight: 500; }
.cover .co { font-size: 8pt; color: #868c82; }

/* Mesaj */
.greet { border-left: 1.2mm solid var(--v); padding: 1mm 0 1mm 7mm; display: flex; flex-direction: column; gap: 3mm; font-size: 10pt; line-height: 1.6; }
.greet .sign { font-size: 8.5pt; color: var(--t3); }
.greet .sign b { color: var(--t); font-weight: 600; }

/* Tabele */
.tbl { width: 100%; border-collapse: collapse; font-size: 8.8pt; }
.tbl th { background: var(--n); color: #fff; font-size: 6.8pt; letter-spacing: 0.22em; font-weight: 500; text-align: left; padding: 3mm 3.5mm; }
.tbl td { padding: 3mm 3.5mm; border-bottom: 0.3mm solid var(--l); vertical-align: top; }
.tbl tr:nth-child(even) td { background: var(--l2); }
.tbl .r { text-align: right; }
.tbl .c { text-align: center; }
.kv { width: 100%; border-collapse: collapse; font-size: 8.8pt; }
.kv td { padding: 2.8mm 3mm; border-bottom: 0.3mm solid var(--l); vertical-align: top; }
.kv td:first-child { color: var(--t2); width: 45%; }
.kv td:last-child { font-weight: 600; }
.kv tr:nth-child(even) td { background: var(--l2); }
.sum-tbl td:first-child { color: var(--t2); width: 38%; }
.sum-tbl td:last-child { background: #eef8e6 !important; font-weight: 600; }
.sum-tbl .head td { background: var(--v-d) !important; color: #fff; font-size: 7pt; letter-spacing: 0.22em; font-weight: 500; }
.sum-tbl .head td:first-child { background: #fff !important; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8mm; }
.two > div { display: flex; flex-direction: column; gap: 3mm; }

/* Carduri */
.pcards { display: grid; gap: 4mm; }
.pcards.c4 { grid-template-columns: repeat(4, 1fr); }
.pcards.c5 { grid-template-columns: repeat(5, 1fr); }
.pcards.c3 { grid-template-columns: repeat(3, 1fr); }
.pdf .pcard { background: #fff; color: var(--t); border: 0.3mm solid var(--l); border-radius: 3mm; padding: 4.5mm 4.5mm 4mm; position: relative; overflow: hidden; min-height: 25mm; }
.pcard::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1.2mm; background: linear-gradient(90deg, var(--v), var(--lime)); }
.pcard span { display: block; font-size: 6.6pt; letter-spacing: 0.25em; color: var(--t3); text-transform: uppercase; }
.pcard b { display: block; font-size: 14pt; font-weight: 600; margin-top: 2.5mm; }
.pcard small { display: block; font-size: 7.3pt; color: var(--t3); margin-top: 1mm; line-height: 1.4; }
.pcard.dark { background: var(--n); border-color: var(--n); }
.pcard.dark span { color: #a7ada2; }
.pcard.dark b { color: var(--lime); }
.pcard.dark small { color: #a7ada2; }

/* Preț */
.price-box { margin-left: auto; width: 92mm; display: flex; flex-direction: column; }
.price-box div { display: flex; justify-content: space-between; padding: 2.6mm 0; border-bottom: 0.3mm solid var(--l); font-size: 9pt; }
.price-box .tot { background: var(--n); color: #fff; border-radius: 2.5mm; padding: 4.5mm 5mm; margin-top: 3mm; border: 0; font-size: 11pt; font-weight: 600; }
.price-box .tot b { color: var(--lime); font-size: 13pt; }

/* Grafice */
.chart { border: 0.3mm solid var(--l); border-radius: 3mm; padding: 5mm; }
.chart h3 { font-size: 9pt; font-weight: 600; }
.legend { display: flex; gap: 5mm; font-size: 7.3pt; color: var(--t2); margin: 1.5mm 0 2mm; }
.legend i { display: inline-block; width: 3mm; height: 3mm; border-radius: 0.8mm; margin-right: 1.5mm; vertical-align: -0.4mm; }
.chart svg { width: 100%; height: auto; display: block; }

/* Liste */
.ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 2.2mm; font-size: 8.8pt; }
.ul li { display: flex; gap: 2.5mm; }
.ul li::before { content: ""; flex: none; width: 2.2mm; height: 2.2mm; border-radius: 50%; background: var(--v); margin-top: 1.3mm; }
.ul.no li::before { background: #c8ccc4; }
.steps6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4mm; }
.steps6 div { border: 0.3mm solid var(--l); border-radius: 3mm; padding: 4mm; font-size: 8pt; color: var(--t2); }
.steps6 b { display: flex; align-items: center; gap: 2.5mm; font-size: 9pt; color: var(--t); margin-bottom: 1.5mm; }
.steps6 i { font-style: normal; width: 6mm; height: 6mm; border-radius: 50%; background: var(--n); color: var(--lime); font-size: 7.5pt; display: inline-flex; align-items: center; justify-content: center; }
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 4mm; }
.why div { background: var(--n); color: #c9cdc5; border-radius: 3mm; padding: 5mm; font-size: 8pt; line-height: 1.55; }
.why b { display: flex; align-items: center; gap: 2.5mm; color: #fff; font-size: 9.5pt; margin-bottom: 1.5mm; }
.why b::before { content: ""; width: 2.4mm; height: 2.4mm; border-radius: 50%; background: var(--v); }
.accept { border: 0.4mm solid var(--n); border-radius: 3mm; padding: 6mm; display: flex; flex-direction: column; gap: 4mm; }
.accept h3 { font-size: 10.5pt; font-weight: 600; }
.contact-card { background: var(--n); border-radius: 3mm; padding: 6mm 7mm; display: flex; align-items: center; gap: 7mm; color: #fff; }
.contact-card img { height: 15mm; width: auto; }
.contact-card .c { flex: 1; font-size: 8.5pt; line-height: 1.7; color: #c9cdc5; }
.contact-card .c b { display: block; color: #fff; font-size: 10.5pt; }
.contact-card .c span { color: var(--v); font-size: 6.8pt; letter-spacing: 0.3em; }
.contact-card .tg { font-family: "Cormorant Garamond", Georgia, serif; font-style: italic; font-size: 15pt; line-height: 1.3; text-align: right; }

.tbl-sm { font-size: 7.6pt; table-layout: fixed; }
.tbl-sm th { padding: 2.6mm 2mm; font-size: 6pt; letter-spacing: 0.12em; }
.tbl-sm td { padding: 2.2mm 2mm; }
.tight { gap: 5mm; }
.tight .kv td { padding: 2.2mm 3mm; }
.tight .steps6 { gap: 3mm; }
.tight .steps6 div { padding: 3mm; font-size: 7.6pt; }
.tight .ul { gap: 1.6mm; font-size: 8.4pt; }
.tight .pcard { min-height: 20mm; padding: 4mm; }
.cover .eyebrow { margin-top: 14mm; }
.cover .meta { margin-top: 10mm; padding: 6mm 0; }
.cover .facts { margin-bottom: 8mm; }
.pdf .kwp-note { font-weight: 400; font-size: .8em; color: var(--v-d); }
.pdf .cover .kwp-note { color: var(--lime); }
