/* ============================================
   Pagina /parteneri — programul pentru dealeri
   ============================================
   Mobil first: o coloană implicit, grile de la 640 / 900 px. */

/* Capul: fotografie cu gradient închis în stînga și text alb; fără fotografie —
   același fundal închis, deci textul rămîne lizibil. */
.prt-hero {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: center;
    border-radius: 16px; box-shadow: var(--shadow); padding: 28px 20px; margin-bottom: 14px;
    color: #fff; background: linear-gradient(135deg, #14324d, #1d4a2b);
}
.prt-hero.has-photo {
    background:
        linear-gradient(100deg, rgba(10,25,40,.92) 0%, rgba(10,25,40,.72) 55%, rgba(10,25,40,.35) 100%),
        var(--prt-photo) center / cover no-repeat;
}
.prt-eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #ffb866; margin-bottom: 6px; }
.prt-hero h1 { font-size: 1.7rem; line-height: 1.2; color: #fff; margin-bottom: 10px; }
.prt-lead { font-size: 1.05rem; line-height: 1.5; margin-bottom: 14px; color: #e8eef4; }
.prt-hero-pts { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 6px; font-size: .95rem; }
.prt-hero-pts li { display: flex; gap: 8px; align-items: flex-start; }
.prt-hero-pts .ico { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; color: #7fd18b; }
.prt-cta { display: flex; flex-wrap: wrap; gap: 10px; }
.prt-btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.65); }
.prt-btn-ghost:hover { background: rgba(255,255,255,.12); }

/* macheta panelului din cap (ascunsă pe telefon) */
.prt-hero-art { display: none; }
.prt-win { background: #fff; color: #1d2b3a; border-radius: 12px; box-shadow: 0 18px 40px rgba(0,0,0,.35); overflow: hidden; font-size: .82rem; }
.prt-win-bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: #eef1f4; border-bottom: 1px solid #dde3e9; }
.prt-win-bar i { width: 9px; height: 9px; border-radius: 50%; background: #c9d1d9; }
.prt-win-bar span { margin-left: 8px; font-weight: 600; color: #4a5a6a; }
.prt-row { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #eef1f4; align-items: center; }
.prt-row:last-child { border-bottom: 0; }
.prt-row-h { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: #7a8896; background: #fafbfc; }
.prt-pill { display: inline-block; font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; }
.prt-pill.ok   { background: #e3f6e8; color: #1e7a3c; }
.prt-pill.wait { background: #fff1d6; color: #9a6400; }
.prt-pill.sign { background: #e3edfb; color: #1f5fae; }
.prt-cap { display: block; margin-top: 8px; font-size: .75rem; opacity: .75; }
.prt-cap-c { text-align: center; color: #5a6a7a; opacity: 1; margin-top: 14px; }

.prt-trust { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 26px;
    background: var(--card-bg); border-radius: 12px; box-shadow: var(--shadow); padding: 14px 18px; margin-bottom: 14px; font-size: .88rem; color: #5a6a7a; }
.prt-trust img { height: 28px; width: auto; max-width: 120px; object-fit: contain; }

/* „Cum arată": text + machetă, alternate */
.prt-show { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: center; padding: 18px 0; border-top: 1px solid var(--border); }
.prt-show:first-of-type { border-top: 0; padding-top: 0; }
.prt-show-art { background: linear-gradient(135deg, #eef6e8, #e6eef8); border-radius: 14px; padding: 22px 16px; display: grid; place-items: center; }
.prt-show-txt h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 6px; }
.prt-show-txt p { line-height: 1.55; margin: 0; }
.prt-doc { width: 100%; max-width: 330px; background: #fff; border-radius: 6px; box-shadow: 0 8px 22px rgba(0,0,0,.14); padding: 16px; }
.prt-doc-h { font-size: .72rem; font-weight: 700; letter-spacing: .04em; color: #1d2b3a; margin-bottom: 10px; }
.prt-doc-l { height: 7px; background: #e3e8ee; border-radius: 4px; margin-bottom: 7px; }
.prt-doc-l.s { width: 62%; } .prt-doc-l.m { width: 82%; }
.prt-sig { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding: 9px 10px; border-radius: 8px; background: #f1faf3; border: 1px solid #bfe5c9; color: #1d2b3a; }
.prt-sig .ico { width: 20px; height: 20px; flex: 0 0 auto; color: #1e7a3c; }
.prt-sig div { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: .78rem; }
.prt-sig small { color: #5a6a7a; }
.prt-ins { width: 100%; max-width: 330px; background: #fff; border-radius: 10px; box-shadow: 0 8px 22px rgba(0,0,0,.14); padding: 12px 14px; display: grid; gap: 6px; }
.prt-ins-t { display: flex; gap: 6px; align-items: center; font-weight: 700; font-size: .85rem; color: var(--primary); margin-top: 4px; }
.prt-ins-t .ico { width: 18px; height: 18px; }
.prt-ins-o { display: flex; justify-content: space-between; padding: 8px 10px; border: 1px solid #e3e8ee; border-radius: 8px; font-size: .85rem; color: #1d2b3a; }
.prt-ins-o b { color: #c25a00; }
.prt-qrcard { width: 100%; max-width: 340px; display: flex; gap: 14px; align-items: center; background: #fff; border-radius: 12px; box-shadow: 0 8px 22px rgba(0,0,0,.14); padding: 14px; color: #1d2b3a; }
.prt-qr { flex: 0 0 96px; width: 96px; height: 96px; border: 1px solid #e3e8ee; border-radius: 4px; }
.prt-qrcard div { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; min-width: 0; }
.prt-qrcard small { color: #5a6a7a; line-height: 1.35; }
.prt-badge { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; font-size: .74rem; font-weight: 700; color: #1e7a3c; background: #e3f6e8; border-radius: 99px; padding: 3px 9px; margin-top: 4px; }
.prt-badge .ico { width: 14px; height: 14px; }

/* banda de apel, cu fotografie */
.prt-band { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; border-radius: 16px; padding: 30px 22px; margin-bottom: 14px; color: #fff; background: linear-gradient(135deg, #14324d, #1d4a2b); }
.prt-band.has-photo { background: linear-gradient(90deg, rgba(10,25,40,.88), rgba(10,25,40,.45)), var(--prt-photo) center / cover no-repeat; }
.prt-band h2 { font-size: 1.4rem; line-height: 1.25; color: #fff; margin: 0; max-width: 28ch; }

/* butonul de jos, doar pe telefon */
.prt-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96); box-shadow: 0 -4px 16px rgba(0,0,0,.12); transition: transform .2s; }
.prt-sticky .btn { display: block; text-align: center; width: 100%; }
.prt-sticky.off { transform: translateY(110%); }

.prt-sec { background: var(--card-bg); border-radius: 16px; box-shadow: var(--shadow); padding: 22px 20px; margin-bottom: 14px; }
.prt-sec h2 { font-size: 1.35rem; color: var(--primary); margin-bottom: 14px; }
.prt-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.prt-card { border: 1px solid var(--border); border-radius: 12px; padding: 16px; }
.prt-card h3 { font-size: 1rem; margin: 8px 0 4px; color: var(--primary); }
.prt-card p { font-size: .93rem; line-height: 1.45; margin: 0; }
.prt-ico { width: 38px; height: 38px; border-radius: 50%; background: #eef6e8; color: #3d7a1f; display: grid; place-items: center; }
.prt-ico .ico { width: 20px; height: 20px; }
.prt-note { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; padding: 10px 12px; border-radius: 10px; background: #fff8e1; border: 1px solid #f3dc8c; font-size: .92rem; }
.prt-note .ico { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; }

.prt-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.prt-steps li { display: flex; gap: 12px; align-items: flex-start; }
.prt-steps h3 { font-size: 1rem; margin: 0 0 2px; color: var(--primary); }
.prt-steps p { margin: 0; font-size: .93rem; }
.prt-n { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; display: grid; place-items: center; }

.prt-terms p { line-height: 1.55; margin: 0; }

/* formular */
.prt-form { display: grid; gap: 14px; }
.prt-fgrid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.prt-form label { display: flex; flex-direction: column; gap: 4px; font-size: .88rem; font-weight: 600; min-width: 0; }
.prt-form input[type=text], .prt-form input[type=tel], .prt-form input[type=email], .prt-form select, .prt-form textarea { width: 100%; font-weight: 400; }
.prt-checks { border: 1px solid var(--border); border-radius: 10px; padding: 10px 14px 12px; display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.prt-checks legend { font-size: .88rem; font-weight: 600; padding: 0 6px; }
.prt-checks label { flex-direction: row; align-items: center; gap: 6px; font-weight: 400; }
.prt-checks input[type=checkbox], .prt-gdpr input[type=checkbox] { width: auto; flex: 0 0 auto; }
.prt-checks input[type=text] { flex: 1 1 100%; }
.prt-form .prt-gdpr { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 8px; font-weight: 400; }
.prt-gdpr span { flex: 1 1 0; min-width: 0; }
.prt-gdpr .prt-err { flex-basis: 100%; }
.prt-err { color: #b03a2e; font-size: .82rem; font-weight: 500; }
.prt-form .btn { justify-self: start; }

.prt-faq details { border-top: 1px solid var(--border); padding: 10px 0; }
.prt-faq details:first-child { border-top: 0; }
.prt-faq summary { cursor: pointer; font-weight: 600; color: var(--primary); }
.prt-faq p { margin: 8px 0 0; line-height: 1.5; }

@media (min-width: 640px) {
    .prt-hero, .prt-sec { padding: 28px; }
    .prt-hero h1 { font-size: 2.1rem; }
    .prt-fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .prt-full { grid-column: 1 / -1; }
}
@media (min-width: 760px) {
    .prt-show { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; }
    .prt-show-rev .prt-show-art { order: 2; }
    .prt-band { flex-direction: row; align-items: center; justify-content: space-between; padding: 36px 40px; }
    .prt-sticky { display: none; }
}
@media (max-width: 759px) {
    body { padding-bottom: 70px; }   /* să nu acopere bara de jos ultimul rînd al paginii */
}
@media (min-width: 900px) {
    .prt-hero { padding: 44px 40px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; }
    .prt-hero h1 { font-size: 2.3rem; }
    .prt-hero-art { display: block; }
    .prt-hero-art .prt-cap { color: #cfd8e1; }
    .prt-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .prt-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
