:root { --ink: #0f172a; --teal: #0891b2; --teal-d: #0e7490; --deep: #134e4a; --gold: #eab308; --bg: #f4f6f9; --line: #e2e8f0; --muted: #64748b; }
* { font-family: 'Cairo', sans-serif; box-sizing: border-box; }
body { background: var(--bg); color: var(--ink); margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
.hero { background: linear-gradient(150deg, #0b1120 0%, #0f172a 50%, var(--deep) 100%); color: #fff; position: relative; overflow: hidden; padding: 28px 0 70px; }
.hero::before { content: ""; position: absolute; width: 420px; height: 420px; top: -160px; left: -120px; border-radius: 50%; background: radial-gradient(circle, rgba(8,145,178,.28), transparent 70%); }
.hero::after { content: ""; position: absolute; width: 360px; height: 360px; bottom: -200px; right: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(234,179,8,.14), transparent 70%); }
.hero-in { position: relative; z-index: 1; max-width: 860px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 58px; height: 58px; border-radius: 50%; background: #fff; padding: 3px; box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.brand-name { font-weight: 800; font-size: 1.25rem; line-height: 1.2; }
.brand-sub { font-size: .85rem; opacity: .75; }
.hero-pill { display: inline-flex; gap: 8px; align-items: center; margin-top: 26px; padding: 5px 14px; border-radius: 30px; font-size: .85rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.hero-pill i { color: var(--gold); }
.hero-title { font-weight: 800; font-size: clamp(1.6rem, 5vw, 2.4rem); margin: 12px 0 8px; }
.hero-intro { opacity: .85; max-width: 680px; line-height: 1.9; margin-bottom: 18px; white-space: pre-line; }
.hero-steps { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; opacity: .9; }
.hero-steps b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .75rem; margin-left: 4px; }
.main { max-width: 860px; margin-top: -42px; position: relative; z-index: 2; flex: 1; padding-bottom: 30px; }
.state { background: #fff; border-radius: 18px; padding: 42px 22px; text-align: center; box-shadow: 0 10px 30px rgba(15,23,42,.08); }
.state h2 { font-weight: 800; font-size: 1.4rem; margin-top: 10px; }
.state-ico { font-size: 3rem; color: var(--muted); }
.sec-title { font-size: 1.05rem; font-weight: 800; background: #fff; display: inline-flex; gap: 8px; align-items: center; padding: 8px 16px; border-radius: 12px;
  box-shadow: 0 6px 18px rgba(15,23,42,.08); margin-bottom: 14px; }
.sec-title i { color: var(--teal); }
.jcard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; height: 100%; display: flex; flex-direction: column; gap: 8px;
  transition: transform .15s, box-shadow .15s, border-color .15s; cursor: pointer; }
.jcard:hover, .jcard:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(15,23,42,.1); border-color: var(--teal); outline: none; }
.jcard-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--teal), var(--deep)); color: #fff; font-size: 1.25rem; }
.jcard-t { font-weight: 800; font-size: 1.08rem; }
.jcard-d { color: var(--muted); font-size: .88rem; line-height: 1.8; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.jcard-go { color: var(--teal-d); font-weight: 700; font-size: .9rem; }
.job-head { background: #fff; border-radius: 16px; padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px rgba(15,23,42,.08); border-right: 5px solid var(--teal); }
.job-head-l { font-size: .8rem; color: var(--muted); }
.job-head-t { font-weight: 800; font-size: 1.2rem; }
.job-desc { background: #ecfeff; border: 1px solid #cffafe; color: #164e63; border-radius: 12px; padding: 12px 14px; margin-top: 10px; font-size: .9rem; line-height: 1.9; white-space: pre-line; }
.fcard { background: #fff; border-radius: 16px; padding: 18px; margin-top: 14px; border: 1px solid var(--line); }
.fcard-t { font-weight: 800; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.fcard-t .num { width: 26px; height: 26px; border-radius: 8px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.fcard-t .opt { color: var(--muted); font-weight: 400; font-size: .85rem; }
.form-label { font-weight: 700; font-size: .9rem; margin-bottom: 4px; }
.form-label .req { color: #dc2626; }
.form-control, .form-select { border-radius: 10px; padding: 10px 12px; border-color: #cbd5e1; font-size: .95rem; }
.form-control:focus, .form-select:focus { border-color: var(--teal); box-shadow: 0 0 0 .2rem rgba(8,145,178,.15); }
.is-invalid { border-color: #dc2626 !important; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips label { border: 1.5px solid #cbd5e1; border-radius: 30px; padding: 7px 16px; cursor: pointer; font-size: .9rem; user-select: none; transition: all .12s; background: #fff; }
.chips input:checked + label { background: var(--teal); border-color: var(--teal); color: #fff; font-weight: 700; }
.chips input:focus-visible + label { outline: 2px solid var(--teal); outline-offset: 2px; }
.chips.invalid label { border-color: #fca5a5; }
.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 2px dashed #cbd5e1; border-radius: 14px; padding: 22px 14px; text-align: center;
  cursor: pointer; color: var(--muted); font-size: .9rem; transition: border-color .15s, background .15s; }
.drop:hover { border-color: var(--teal); background: #f0fdff; }
.drop i { font-size: 2rem; color: var(--teal); }
.drop.has { border-style: solid; border-color: #16a34a; background: #f0fdf4; color: #166534; }
.drop.has i { color: #16a34a; }
.pledge { display: flex; gap: 10px; align-items: flex-start; font-weight: 700; cursor: pointer; }
.pledge input { margin-top: 5px; width: 1.2em; height: 1.2em; flex-shrink: 0; }
.btn-send { background: linear-gradient(135deg, var(--teal), var(--deep)); color: #fff; font-weight: 800; padding: 12px; border-radius: 12px; border: 0; font-size: 1.05rem; }
.btn-send:hover { color: #fff; filter: brightness(1.08); }
.btn-send:disabled { opacity: .7; color: #fff; }
.done-ico { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto; font-size: 2.6rem; color: #fff;
  background: linear-gradient(135deg, #16a34a, var(--deep)); box-shadow: 0 10px 26px rgba(22,163,74,.35); }
.lead-sm { font-size: 1rem; line-height: 1.9; max-width: 560px; margin: 8px auto; }
.ref { display: inline-block; background: #f1f5f9; border-radius: 10px; padding: 8px 16px; font-size: 1.05rem; }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; opacity: 0; pointer-events: none; }
.foot { text-align: center; color: var(--muted); font-size: .8rem; padding: 18px 12px 26px; }
@media (max-width: 576px) { .hero { padding: 20px 0 64px; } .fcard { padding: 14px; } .job-head { flex-direction: column; align-items: flex-start; } }
.photo-row { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); }
.photo-pick { width: 92px; height: 92px; border-radius: 50%; border: 2px dashed #cbd5e1; display: grid; place-items: center; cursor: pointer; overflow: hidden;
  flex-shrink: 0; background: #f8fafc; transition: border-color .15s; }
.photo-pick:hover { border-color: var(--teal); }
.photo-pick i { font-size: 2.2rem; color: #94a3b8; }
.photo-pick img { width: 100%; height: 100%; object-fit: cover; }
.photo-pick.has { border-style: solid; border-color: #16a34a; }
.photo-pick.invalid { border-color: #dc2626; }
.req { color: #dc2626; }
.opt { color: var(--muted); font-weight: 400; font-size: .85rem; }
