:root{--bg:#07101f;--panel:#fff;--ink:#142033;--muted:#687386;--line:#dfe5ee;--accent:#1266f1;--accent2:#0a49b8;--soft:#eef5ff;--danger:#a52323;--shadow:0 18px 55px rgba(0,0,0,.18)}
*{box-sizing:border-box}html{background:var(--bg)}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:linear-gradient(160deg,#07101f 0,#10233f 42%,#f4f7fb 42%,#f4f7fb 100%);min-height:100vh}.page{width:min(760px,100%);margin:auto;padding:20px 16px 32px}.hero{display:flex;align-items:center;gap:12px;color:#fff;padding:6px 4px 28px}.brand-mark{width:42px;height:42px;border-radius:12px;background:#fff;color:#1266f1;display:grid;place-items:center;font-size:24px;font-weight:900;box-shadow:0 8px 25px #0003}.brand{font-weight:900;letter-spacing:.06em;font-size:18px}.byline{font-size:12px;opacity:.7;margin-top:2px}.intro{color:#fff;padding:8px 4px 26px}.eyebrow{font-size:11px;font-weight:900;letter-spacing:.16em;color:#5e9cff}.intro .eyebrow{color:#9fc4ff}.intro h1{font-size:clamp(30px,7vw,48px);line-height:1.03;margin:8px 0 12px;letter-spacing:-.04em}.intro p{margin:0;max-width:620px;color:#c6d2e5;line-height:1.55}.client-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-bottom:20px}.action-card{background:#fff;border-radius:20px;padding:17px;box-shadow:var(--shadow);border:1px solid #e4e9f1;display:grid;grid-template-columns:auto 1fr;gap:10px;align-items:start}.action-card strong,.action-card span{display:block}.action-card strong{font-size:15px}.action-card span{font-size:11px;color:var(--muted);line-height:1.4;margin-top:4px}.action-icon{width:40px;height:40px;border-radius:12px;background:var(--soft);display:grid;place-items:center;font-size:21px}.action-button{grid-column:1/-1;text-decoration:none;text-align:center;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff!important;font-weight:900;padding:11px;border-radius:11px;margin-top:3px}.status-lookup{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:3px}.status-lookup input{margin:0;min-width:0}.status-lookup button{border:0;border-radius:11px;padding:0 15px;background:#071a38;color:#fff;font-weight:900;cursor:pointer}.section-hint{font-size:12px;color:var(--muted);line-height:1.5;margin:-3px 0 14px}.how-it-works{margin-top:0}.how-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.how-grid>div{padding:13px;border:1px solid var(--line);border-radius:13px;background:#f8fafc}.how-grid b,.how-grid span{display:block}.how-grid b{font-size:13px}.how-grid span{font-size:11px;color:var(--muted);line-height:1.4;margin-top:4px}.card{background:var(--panel);border-radius:24px;padding:22px;box-shadow:var(--shadow);margin-bottom:20px}.step-title{font-size:15px;font-weight:900;margin:4px 0 13px;display:flex;align-items:center;gap:9px}.step-title span{width:25px;height:25px;border-radius:50%;background:var(--soft);color:var(--accent);display:grid;place-items:center;font-size:12px}.problem-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.problem{border:1px solid var(--line);background:#fff;border-radius:16px;padding:14px;text-align:left;cursor:pointer;min-height:106px;display:flex;flex-direction:column;gap:5px;transition:.16s}.problem:hover{border-color:#9dbff8;transform:translateY(-1px)}.problem strong{font-size:14px}.problem small{color:var(--muted);line-height:1.35;font-size:11px}.success{text-align:center;padding:34px 24px}.success-icon{width:62px;height:62px;border-radius:50%;background:#eaf8ef;color:#18864b;display:grid;place-items:center;font-size:32px;font-weight:900;margin:0 auto 18px}.success h2{font-size:30px;margin:8px 0}.success p{color:var(--muted);line-height:1.55}.ticket-number{font-size:30px;font-weight:950;letter-spacing:.04em;margin:12px 0 20px;color:var(--accent)}.status-link{display:inline-block;text-decoration:none;background:var(--soft);color:var(--accent);font-weight:900;padding:12px 16px;border-radius:12px;margin:5px}.secondary{border:1px solid var(--line);background:#fff;border-radius:12px;padding:12px 16px;font-weight:800;margin-top:8px;cursor:pointer}footer{text-align:center;color:#738097;font-size:11px;padding:12px 0 0}
.modal[hidden],.success[hidden],.photo-preview[hidden],input[hidden],.home-back-bottom[hidden]{display:none!important}.modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:18px}.modal-backdrop{position:absolute;inset:0;background:rgba(3,10,22,.72);backdrop-filter:blur(5px)}.modal-panel{position:relative;width:min(560px,100%);max-height:min(760px,calc(100vh - 28px));overflow:auto;background:#fff;border-radius:24px;box-shadow:0 30px 80px rgba(0,0,0,.35)}.modal-head{display:flex;justify-content:space-between;gap:15px;padding:22px 22px 15px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}.modal-head h2{margin:5px 0 4px;font-size:25px}.modal-head p{margin:0;color:var(--muted);font-size:13px}.close-modal{border:0;background:#f1f4f8;border-radius:50%;width:38px;height:38px;font-size:25px;cursor:pointer;flex:none}.wizard-progress{display:flex;align-items:center;padding:16px 22px 4px}.wizard-dot{width:30px;height:30px;border-radius:50%;background:#e8edf4;color:#657085;display:grid;place-items:center;font-weight:900;font-size:12px}.wizard-dot.active{background:var(--accent);color:#fff}.wizard-progress i{height:2px;background:#dce3ed;flex:1;margin:0 7px}.wizard-step{display:none;padding:14px 22px 24px}.wizard-step.active{display:block}.modal-step-title{font-size:18px;font-weight:900;margin:6px 0}.modal-hint{font-size:12px;color:var(--muted);margin:0 0 17px}.fields{margin-bottom:8px}.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}label{display:block;font-size:12px;font-weight:800;margin-bottom:12px}input,textarea{display:block;width:100%;margin-top:6px;border:1px solid var(--line);border-radius:12px;padding:13px 14px;font:inherit;font-size:14px;outline:none;background:#fff}input:focus,textarea:focus{border-color:#79a9f7;box-shadow:0 0 0 3px #1266f114}textarea{resize:vertical;min-height:120px}.full{margin-bottom:18px}.wizard-next,.submit{width:100%;border:0;border-radius:14px;padding:14px 18px;background:linear-gradient(135deg,var(--accent),var(--accent2));color:#fff;font-weight:900;font-size:15px;cursor:pointer}.wizard-next span,.submit span{float:right;font-size:20px}.wizard-actions{display:grid;grid-template-columns:auto 1fr;gap:10px}.wizard-back{border:1px solid var(--line);background:#fff;border-radius:14px;padding:14px 16px;font-weight:800;cursor:pointer}.submit:disabled{opacity:.65;cursor:wait}.message{border-radius:12px;padding:12px 14px;margin:0 0 14px;font-size:13px}.error{background:#fff0f0;color:var(--danger);border:1px solid #f0caca}.privacy{font-size:11px;color:var(--muted);line-height:1.45;text-align:center;margin:12px 0 0}.modal-open{overflow:hidden}
@media(max-width:560px){.page{padding:14px 12px 25px}.client-actions{grid-template-columns:1fr}.how-grid{grid-template-columns:1fr}.status-lookup{grid-template-columns:1fr}.status-lookup button{padding:13px}.hero{padding-bottom:22px}.card{padding:17px;border-radius:20px}.problem-grid{grid-template-columns:1fr 1fr;gap:8px}.problem{min-height:96px;padding:11px}.intro{padding-bottom:20px}.intro h1{font-size:34px}.modal{padding:0}.modal-panel{max-height:100vh;height:100vh;border-radius:0}.modal-head{padding:18px}.wizard-step{padding:12px 18px 24px}.two{grid-template-columns:1fr 1fr}.wizard-actions{grid-template-columns:1fr 1.7fr}.modal-head h2{font-size:22px}}
@media(max-width:360px){.problem-grid{grid-template-columns:1fr}.two{grid-template-columns:1fr}}

.model-box{margin:0 0 16px;padding:14px;border:1px solid #dfe5ee;border-radius:16px;background:#f8fafc}.model-title{font-size:13px;font-weight:900}.model-hint,.photo-hint{font-size:11px;color:#687386;line-height:1.4;margin:4px 0 10px}.model-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}.model-option{border:1px solid #dfe5ee;background:#fff;border-radius:11px;padding:11px 9px;font-weight:800;font-size:12px;cursor:pointer}.model-option:hover,.model-option.selected{border-color:#1266f1;background:#eef5ff;color:#1266f1}.photo-box{margin:4px 0 16px;padding:14px;border:1px dashed #b9c7da;border-radius:16px;background:#f8fafc}.photo-title{font-size:13px;font-weight:900}.photo-title span{font-weight:500;color:#687386}.photo-box input[type=file]{margin-top:9px;padding:10px;background:#fff}.photo-preview{margin-top:9px;font-size:11px;color:#18864b;font-weight:800}@media(max-width:560px){.model-grid{grid-template-columns:1fr 1fr}}.confirmation-message{margin:4px auto 16px;max-width:470px;text-align:left;background:#f7faff;border:1px solid #d7e5fb;border-radius:16px;padding:14px 15px;box-shadow:0 8px 22px rgba(18,102,241,.08)}.confirmation-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;font-size:11px;color:var(--accent)}.confirmation-head span{color:#8995a7;font-weight:600}.confirmation-text{font-size:14px;line-height:1.45;color:var(--ink)}.confirmation-note{font-size:11px;line-height:1.45;color:var(--muted);margin-top:6px}.confirmation-thanks{margin-top:11px;padding-top:10px;border-top:1px solid #dfe8f5;text-align:center;font-size:12px;font-weight:900;color:var(--accent)}.photo-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:10px}.photo-action{border:1px solid #cdd9e8;background:#fff;color:var(--ink);border-radius:12px;padding:11px 9px;font:inherit;font-size:12px;font-weight:900;cursor:pointer}.photo-action:hover{border-color:#79a9f7;background:#eef5ff;color:var(--accent)}@media(max-width:380px){.photo-actions{grid-template-columns:1fr}}
/* Pagina de sesizare - aspect simplificat */
body:has(#probleme){background:#f4f7fb}
.page:has(#probleme){max-width:760px;padding:20px 16px 34px}
.home-back{display:flex;align-items:center;justify-content:center;gap:9px;width:max-content;min-width:205px;margin:0 auto 18px;padding:12px 22px;border-radius:999px;background:#eef5ff;color:var(--accent);text-decoration:none;font-size:14px;font-weight:900;box-shadow:0 6px 18px rgba(18,102,241,.08)}
.home-back:hover{background:#e4efff}

#probleme.card{margin-bottom:0}
.modal-home{display:inline-flex;align-items:center;gap:5px;margin-top:9px;color:var(--accent);text-decoration:none;font-size:11px;font-weight:900}
.modal-home:hover{text-decoration:underline}
@media(max-width:560px){.page:has(#probleme){padding:16px 12px 25px}.home-back{width:100%;min-width:0;margin-bottom:14px}.modal-home{font-size:11px}}
.modal-home-bar{display:flex;align-items:center;justify-content:center;gap:7px;width:calc(100% - 36px);margin:12px auto 0;padding:10px 14px;border-radius:999px;background:#eef5ff;color:var(--accent);text-decoration:none;font-size:12px;font-weight:900}.modal-home-bar:hover{background:#e4efff}@media(max-width:560px){.modal-home-bar{width:calc(100% - 36px);margin-top:10px}}
/* Formularul este un card în pagină, nu o fereastră peste pagină */
.modal{position:static;inset:auto;z-index:auto;display:block;padding:0}
.modal-backdrop{display:none}
.modal-panel{position:relative;width:100%;max-width:760px;max-height:none;height:auto;overflow:visible;background:#fff;border-radius:24px;box-shadow:0 18px 55px rgba(0,0,0,.18);margin:0 auto}
.modal-head{position:relative;top:auto;padding:22px 22px 15px}

@media(max-width:560px){
  .modal{padding:0}
  .modal-panel{width:100%;max-height:none;height:auto;border-radius:20px}
  .modal-head{padding:18px}
}

.form-brand{font-size:14px;letter-spacing:1.8px;font-weight:950;color:#0a315c;margin-bottom:14px}
.form-brand span{display:block;margin-top:3px;font-size:9px;letter-spacing:.7px;font-weight:600;color:#7a8798}
.form-title-row{padding-top:2px}
.form-title-row .eyebrow{background:#eef5ff;border-color:#d9e8fb;color:#1266f1}
.form-title-row h2{margin:6px 0 4px}
.form-title-row p{margin:0;color:var(--muted);font-size:12px}
#ticketModal .wizard-progress{padding-top:12px}
@media(max-width:560px){.form-brand{font-size:13px}.form-brand span{font-size:8px}}

.photo-preview{display:flex;align-items:center;gap:10px;margin-top:10px;padding:7px 9px;border:1px solid #dce8f5;border-radius:12px;background:#fff;color:#18864b;font-size:11px;font-weight:800}
.photo-preview img{width:54px;height:54px;border-radius:9px;object-fit:cover;border:1px solid #dbe5ee}

.wizard-progress{gap:0;padding-bottom:8px}
.progress-step{display:flex;align-items:center;gap:7px;color:#8793a5;white-space:nowrap}
.progress-step span{width:29px;height:29px;border-radius:50%;display:grid;place-items:center;background:#e8edf4;color:#657085;font-size:11px;font-weight:900}
.progress-step small{font-size:10px;font-weight:800}
.progress-step.active{color:var(--accent)}
.progress-step.active span{background:var(--accent);color:#fff;box-shadow:0 5px 14px rgba(18,102,241,.18)}
.selected-problem-card{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:4px 0 15px;padding:12px 14px;border:1px solid #d9e7f8;border-radius:14px;background:#f4f8ff}
.selected-problem-card span{font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.8px;color:#7c8da3}
.selected-problem-card strong{font-size:13px;color:#0a315c}
.contact-tip{margin:0 0 15px;padding:10px 12px;border-radius:12px;background:#f3faf6;border:1px solid #d6ecdf;color:#32734f;font-size:10px;font-weight:700}
@media(max-width:560px){.progress-step small{font-size:9px}.progress-step span{width:27px;height:27px}.selected-problem-card{padding:11px 12px}}
