:root{
  --bg:#050a0b;
  --bg2:#071214;
  --panel: rgba(12, 26, 30, .78);
  --card: rgba(15, 35, 41, .86);
  --line: rgba(255,255,255,.10);
  --text:#ecf6f7;
  --muted:#b8d0d5;

  /* UAE palette */
  --red:#e21b23;
  --green:#007a3d;
  --gold:#caa25c;

  --radius:18px;
  --shadow: 0 18px 60px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(1100px 700px at 85% -10%, rgba(202,162,92,.20), transparent 60%),
    radial-gradient(900px 650px at 12% 0%, rgba(0,122,61,.18), transparent 55%),
    radial-gradient(900px 700px at 100% 70%, rgba(226,27,35,.16), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2) 62%, #040808);
  color:var(--text);
  line-height:1.55;
}
a{color:inherit}
.container{width:min(1120px, calc(100% - 32px)); margin:0 auto}
.small{font-size:13px;color:var(--muted)}
.muted{color:var(--muted)}

.skip{
  position:absolute; left:12px; top:12px;
  transform:translateY(-140%);
  background:#fff; color:#000; padding:10px 12px; border-radius:12px;
}
.skip:focus{transform:translateY(0); z-index:999}

.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(7,18,20,.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0; flex-wrap:wrap}
.brand{display:flex; align-items:center; gap:12px; min-width:0}
.brand__mark{
  width:46px; height:46px; border-radius:16px;
  display:grid; place-items:center;
  font-weight:900; letter-spacing:.4px;
  background: linear-gradient(135deg, rgba(226,27,35,.95), rgba(0,122,61,.92));
  box-shadow: 0 10px 30px rgba(226,27,35,.18);
}
.brand__text{min-width:0}
.brand__title{font-weight:900}
.brand__sub{color:var(--muted); font-size:12.5px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}

.nav{display:flex; gap:10px; flex-wrap:wrap}
.nav a{
  text-decoration:none;
  padding:8px 10px;
  border-radius:999px;
  color:var(--muted);
  border:1px solid transparent;
}
.nav a:hover{border-color:var(--line); color:var(--text); background: rgba(255,255,255,.04)}

.main{padding:26px 0 36px}

.card{
  background: var(--card);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding:18px;
  box-shadow: var(--shadow);
}
.h1{margin:10px 0 8px; font-size:42px; line-height:1.12; letter-spacing:-.5px}
@media (max-width:520px){.h1{font-size:33px}}
.h2{margin:0 0 10px; font-size:20px; letter-spacing:-.2px}
.h3{margin:12px 0 8px; font-size:14px; color:#ffe7b7}
.lead{margin:0 0 18px; color:var(--muted); font-size:16px; max-width:70ch}

.badge{
  display:inline-flex; gap:10px; align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border: 1px solid rgba(202,162,92,.35);
  background: rgba(202,162,92,.10);
  color: #ffe7b7;
  font-weight:800;
  font-size:13px;
}

.grid2{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
}
@media (max-width:920px){.grid2{grid-template-columns:1fr}}

.btn{
  appearance:none;
  border:1px solid var(--line);
  background: rgba(255,255,255,.06);
  color:var(--text);
  padding:12px 16px;
  border-radius:14px;
  font-weight:900;
  text-decoration:none;
  display:inline-flex; align-items:center; gap:10px;
  cursor:pointer;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.btn:hover{transform:translateY(-1px); background: rgba(255,255,255,.08)}
.btn.primary{
  border-color: rgba(226,27,35,.55);
  background: linear-gradient(135deg, rgba(226,27,35,.95), rgba(0,122,61,.92));
}
.btn.ghost{
  background: transparent;
  border-color: rgba(255,255,255,.16);
  color: var(--muted);
}
.btn.ghost:hover{color:var(--text); background: rgba(255,255,255,.05)}

.form{
  display:grid; gap:12px;
}
.field{
  display:grid; gap:6px;
}
label{font-weight:800; font-size:13px; color: #dff1f4}
input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
}
textarea{min-height:140px; resize:vertical}
input:focus,select:focus,textarea:focus{
  border-color: rgba(202,162,92,.55);
  box-shadow: 0 0 0 4px rgba(202,162,92,.12);
}
.hint{font-size:12.5px; color:var(--muted)}
.row2{display:grid; grid-template-columns:1fr 1fr; gap:12px}
@media (max-width:720px){.row2{grid-template-columns:1fr}}

.alert{
  border:1px solid rgba(226,27,35,.35);
  background: rgba(226,27,35,.08);
  color:#ffd9db;
  padding:12px 14px;
  border-radius:14px;
  margin-bottom:12px;
}
.ok{
  border:1px solid rgba(0,122,61,.35);
  background: rgba(0,122,61,.10);
  color:#c9ffe1;
  padding:12px 14px;
  border-radius:14px;
  margin-bottom:12px;
}

.footer{
  border-top:1px solid var(--line);
  padding:18px 0;
  color:var(--muted);
  font-size:13px;
}
.footer__inner{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}
.footer__links{display:flex; gap:12px; flex-wrap:wrap}
.footer__links a{text-decoration:none; color:var(--muted)}
.footer__links a:hover{color:var(--text)}
