:root{
  --bg:#f6f7f9;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --line:#e5e7eb;

  /* BRAND */
  --brand:#fe5a00;
  --brand-dark:#e65100;   /* hover */
  --brand-soft:rgba(254,90,0,.10);
  --brand-ring:rgba(254,90,0,.18);

  --danger:#ef4444;
  --shadow:0 10px 25px rgba(0,0,0,.08);
  --radius:14px;
  --radius-sm:10px;

  /* FULLSCREEN */
  --gap:28px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}

html, body{height:100%}

body{
  margin:0;
  font-family:var(--font);
  color:var(--text);
  background:var(--bg);
}

/* FULLSCREEN WRAP */
.wrap{
  width:100%;
  min-height:100vh;
  margin:0;
  padding:24px;
  display:grid;
  grid-template-columns: 1fr 1.35fr;
  gap:var(--gap);
  align-items:stretch;
}

/* ===================== */
/* LEFT PROMO            */
/* ===================== */
.promo{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:28px 26px;

  /* fullscreen sticky (desktop) */
  position:sticky;
  top:24px;
  height:calc(100vh - 48px);
  overflow:auto;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
}

.brand-logo{
  width:200px;
  height:90px;
  border-radius:12px;
  background:#ffffff;
  border: 0px solid var(--line);
  display:grid;
  place-items:center;
  overflow:hidden;
  flex:0 0 auto;
}

.brand-logo-img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
}


.brand-badge{
  width:38px;height:38px;border-radius:12px;
  background:var(--brand-soft);
  display:grid;place-items:center;
  color:var(--brand);
  font-weight:900;
}

.brand-name{
  font-weight:800;
  letter-spacing:.2px;
}

.promo h1{
  font-size:28px;
  line-height:1.15;
  margin:8px 0 10px;
}

.promo p{
  margin:0 0 14px;
  color:var(--muted);
  line-height:1.5;
}

.promo a{
  color:var(--brand);
  font-weight:800;
  text-decoration:none;
}
.promo a:hover{ text-decoration:underline; }

.steps{
  margin-top:18px;
  padding-top:14px;
  border-top:1px dashed var(--line);
  display:grid;
  gap:14px;
}

.step{
  display:flex;
  gap:12px;
  align-items:flex-start;
}

.step .dot{
  width:26px;height:26px;border-radius:9px;
  background:#f1f5f9;
  border:1px solid var(--line);
  display:grid;place-items:center;
  color:#64748b;
  font-size:13px;
  flex:0 0 auto;
  margin-top:1px;
}

.step b{display:block;margin-bottom:3px}

.testimonial{
  margin-top:18px;
  padding:14px;
  border:1px solid var(--line);
  border-radius:var(--radius-sm);
  background:#fafafa;
}

.testimonial p{
  margin:0;
  font-size:13px;
  color:#4b5563;
}

.testimonial .who{
  margin-top:10px;
  font-size:13px;
  display:flex;
  justify-content:space-between;
  color:#111827;
  font-weight:700;
}

/* ===================== */
/* RIGHT PANEL / FORM    */
/* ===================== */
.panel{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  overflow:hidden;

  /* fullscreen */
  min-height:calc(100vh - 48px);
  display:flex;
  flex-direction:column;
}

.panel-head{
  padding:22px 22px 10px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}

.panel-head h2{
  margin:0;
  font-size:20px;
  line-height:1.2;
}

.panel-head p{
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

.help{
  border:1px solid rgba(254,90,0,.35);
  background:var(--brand-soft);
  color:var(--brand);
  padding:8px 10px;
  border-radius:12px;
  font-size:13px;
  white-space:nowrap;
  height:fit-content;
  cursor:pointer;
}
.help:hover{ filter:brightness(.98); }

/* FORM */
form{
  padding:18px 22px 22px;

  /* allow body scroll inside right card if needed */
  flex:1;
  overflow:auto;
}

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px 16px;
}

.field{display:flex;flex-direction:column;gap:7px}

label{
  font-size:13px;
  color:#374151;
  font-weight:700;
}

.req{
  font-weight:900;
  color:var(--danger);
  margin-left:6px;
  font-size:12px;
}

input, textarea, select{
  width:100%;
  border:1px solid var(--line);
  border-radius:12px;
  padding:11px 12px;
  font-size:14px;
  outline:none;
  background:#fff;
  transition:.15s border-color, .15s box-shadow;
}

textarea{min-height:70px;resize:vertical}

input:focus, textarea:focus, select:focus{
  border-color:rgba(254,90,0,.7);
  box-shadow:0 0 0 4px var(--brand-ring);
}

.full{grid-column:1 / -1}

.row-inline{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-start;
  padding-top:4px;
}

.check{
  display:flex;align-items:center;gap:8px;
  font-size:13px;color:#374151;
  user-select:none;
}

.check input{width:auto}

.hint{
  font-size:12px;
  color:var(--muted);
  margin-top:4px;
  line-height:1.35;
}

/* UPLOAD */
.drop{
  border:2px dashed #d1d5db;
  border-radius:14px;
  background:#fafafa;
  padding:18px;
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
}

.drop-left{
  display:flex;gap:12px;align-items:center;
  min-width:240px;
}

.cam{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  background:var(--brand-soft);
  color:var(--brand);
  font-weight:900;
}

.drop-title{
  font-weight:800;
  margin:0;
}

.drop-sub{
  margin:3px 0 0;
  font-size:12px;
  color:var(--muted);
}

.btn{
  border:none;
  background:var(--brand);
  color:#fff;
  font-weight:900;
  padding:12px 16px;
  border-radius:12px;
  cursor:pointer;
  transition:.15s transform, .15s background, .15s filter;
}

.btn:hover{background:var(--brand-dark)}
.btn:active{transform:translateY(1px)}

.btn-ghost{
  background:#fff;
  color:var(--brand);
  border:1px solid rgba(254,90,0,.40);
  font-weight:900;
  padding:11px 14px;
  border-radius:12px;
  cursor:pointer;
}
.btn-ghost:hover{
  background:var(--brand-soft);
  border-color:rgba(254,90,0,.55);
}

.actions{
  margin-top:18px;
  display:flex;
  justify-content:flex-end;
  gap:10px;
  flex-wrap:wrap;
  border-top:1px solid var(--line);
  padding-top:16px;
}

.files{
  margin-top:10px;
  font-size:12px;
  color:#374151;
  display:grid;
  gap:6px;
}

.file-pill{
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
}

.file-pill small{color:var(--muted)}

/* ===================== */
/* RESPONSIVE            */
/* ===================== */
@media (max-width: 980px){
  .wrap{
    grid-template-columns:1fr;
    padding:16px;
    gap:16px;
  }
  .promo{
    position:relative;
    top:auto;
    height:auto;
    overflow:visible;
  }
  .panel{
    min-height:auto;
  }
  form{
    overflow:visible;
  }
}

@media (max-width: 640px){
  .grid{grid-template-columns:1fr}
  .panel-head{flex-direction:column}
  .help{width:fit-content}
  .wrap{padding:12px}
}


/* ===== Alerts ===== */
.alert {
  margin: 10px;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.4;
  font-weight: bold;
  border: 1px solid transparent;
}

.alert ul {
  margin: 0;
  padding-left: 18px;
}

.alert-ok {
  background: #ecfdf5;
  border-color: #10b981;
  color: #065f46;
}

.alert-error {
  background: #fef2f2;
  border-color: #ef4444;
  color: #7f1d1d;
}
