:root{
  --bg:#1e1e1e;
  --text:#f3f5f7;
  --muted:#9aa4af;
  --gold:#c9a227;

  --r:18px;
  --r2:26px;

  --max:1180px;
  --app:430px;

  --line:rgba(255,255,255,.10);
  --soft:rgba(255,255,255,.06);
  --soft2:rgba(255,255,255,.03);

  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --shadow2: 0 10px 34px rgba(0,0,0,.42);
  --shadow3: 0 8px 24px rgba(0,0,0,.36);
}

/* ✅ Croogla 4F — لازم توفر الملف عندك */
@font-face{
  font-family:"Croogla 4F";
  src:url("croogla4f.woff2") format("woff2");
  font-weight:100 900;
  font-style:normal;
  font-display:swap;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Croogla 4F", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
button{font-family:inherit}
.wrap{ width:min(100%, var(--max)); margin:0 auto; padding:0 18px; }
.appFrame{ min-height:100%; position:relative; isolation:isolate; }

@media (max-width: 900px){
  body{background:#141414;}
  .appFrame{
    width:min(100%, var(--app));
    margin:0 auto;
    background:var(--bg);
    box-shadow: var(--shadow);
    border-left:1px solid rgba(255,255,255,.08);
    border-right:1px solid rgba(255,255,255,.08);
  }
  .wrap{padding:0 14px;}
}

/* Noise overlay */
.noise{
  pointer-events:none;
  position:fixed; inset:0;
  opacity:.10;
  mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  background-size:180px 180px;
  z-index:2;
}

/* ===== Header ===== */
.header{
  position:sticky; top:0;
  z-index:50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(30,30,30,.88), rgba(30,30,30,.38));
  border-bottom:1px solid rgba(255,255,255,.08);
}
.headerRow{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
}
.brandMark{
  width:min(130px, 40vw);
  aspect-ratio:130/31;
  height:auto;
  display:flex; align-items:center;
  filter: drop-shadow(0 12px 20px rgba(0,0,0,.55));
  user-select:none;
}
.brandLogo{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

.navRight{ display:flex; align-items:center; gap:10px; }
.iconBtn{
  width:44px; height:44px;
  display:grid; place-items:center;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: 0 10px 26px rgba(0,0,0,.40);
  transition: transform .2s ease, border-color .2s ease;
}
.iconBtn:hover{ transform: translateY(-1px); border-color: rgba(201,162,39,.35); }
.iconBtn svg{ width:18px; height:18px; stroke: rgba(243,245,247,.95); }

.backLink{
  display:inline-flex; align-items:center; gap:8px;
  color: rgba(154,164,175,.92);
  font-size:13px;
  letter-spacing:.06em;
  text-transform:uppercase;
  transition: transform .18s ease, color .18s ease;
}
.backLink:hover{ transform: translateX(-2px); color: rgba(243,245,247,.95); }
.backLink svg{ width:16px; height:16px; stroke: rgba(201,162,39,.92); }

/* ===== Hero ===== */
.hero{
  position:relative;
  padding:18px 0 12px;
  isolation:isolate;
}
.heroBack{
  position:absolute; inset:-20px -20px 0 -20px;
  z-index:-2;
  overflow:hidden;
}
.heroShade{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 520px at 22% 10%, rgba(201,162,39,.18), transparent 60%),
    radial-gradient(900px 520px at 78% 14%, rgba(154,164,175,.16), transparent 55%),
    linear-gradient(180deg, rgba(30,30,30,.92), rgba(30,30,30,.92));
  z-index:1;
}
.heroGlowLine{
  position:absolute; left:0; right:0; bottom:-1px; height:1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,.55), transparent);
  opacity:.55;
}
.heroCard{
  border-radius: var(--r2);
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(1200px 500px at 18% 0%, rgba(201,162,39,.10), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow: var(--shadow2);
  overflow:hidden;
  position:relative;
}
.heroCard::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(800px 340px at 70% 10%, rgba(201,162,39,.12), transparent 60%);
  pointer-events:none;
  opacity:.9;
}
.heroMain{ padding:18px; position:relative; z-index:1; }

.kicker{
  display:flex; align-items:center; gap:10px;
  color: rgba(154,164,175,.92);
  font-size:13px;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:10px;
}
.kDot{
  width:8px; height:8px; border-radius:999px;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(201,162,39,.12);
}
.h1{
  margin:0;
  font-family:"Bebas Neue", sans-serif;
  letter-spacing:.02em;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height:.95;
  text-transform:uppercase;
}
.h1 .muted{ color: rgba(154,164,175,.92); }
.sub{
  margin:10px 0 0;
  color: rgba(154,164,175,.92);
  font-size:14px;
  line-height:1.55;
  max-width: 86ch;
}

/* ===== Sections ===== */
section{ padding:18px 0; }
.sectionHead{
  display:flex; align-items:flex-end; justify-content:space-between;
  gap:12px; margin:6px 0 12px;
}
.sectionTitle{
  font-family:"Bebas Neue", sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:22px;
  margin:0;
}
.sectionTitle span{ color: var(--muted); }
.sectionNote{
  color: rgba(154,164,175,.92);
  font-size:13px;
  line-height:1.4;
  margin:0;
  max-width: 72ch;
}
.panel{
  border-radius: var(--r2);
  border:1px solid rgba(255,255,255,.09);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow3);
  padding:16px;
  overflow:hidden;
}

/* ✅ Logo inside form */
.formBrand{
  display:flex;
  justify-content:center;
  margin: 2px 0 12px;
}

/* ===== Button (ONE) ===== */
.btn{
  width:100%;
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  border-radius: 16px;
  padding:13px 14px;
  border:1px solid rgba(201,162,39,.35);
  background: linear-gradient(180deg, rgba(201,162,39,.18), rgba(201,162,39,.06));
  color: rgba(243,245,247,.95);
  transition: transform .18s ease, border-color .18s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,.38);
  user-select:none;
  cursor:pointer;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(201,162,39,.55); }
.btn svg{ width:18px; height:18px; stroke: rgba(243,245,247,.95); }

/* ===== Form ===== */
.form{ display:flex; flex-direction:column; gap:12px; }
.row2{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
@media (max-width:900px){ .row2{ grid-template-columns:1fr; } }

.field label{
  display:block;
  font-family:"Bebas Neue", sans-serif;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-size:14px;
  color: rgba(243,245,247,.92);
  margin:0 0 8px;
}

.field input,
.field textarea{
  width:100%;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  color: rgba(243,245,247,.95);
  padding:12px 12px;
  outline:none;
  box-shadow: 0 10px 24px rgba(0,0,0,.26);
  transition: border-color .18s ease, background .18s ease;
}
.field textarea{ resize:vertical; min-height:150px; }
.field input:focus,
.field textarea:focus{
  border-color: rgba(201,162,39,.50);
  background: rgba(0,0,0,.20);
}

/* ===== Service Select Cards ===== */
.checks{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:6px;
}
@media (max-width:900px){ .checks{ grid-template-columns:1fr; } }

.check{
  display:flex; align-items:center; gap:10px;
  padding:12px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.09);
  background: rgba(0,0,0,.14);
  cursor:pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  user-select:none;
  position:relative;
  overflow:hidden;
}
.check:hover{ transform: translateY(-2px); border-color: rgba(201,162,39,.22); }
.check input{ position:absolute; opacity:0; pointer-events:none; }

.check .box{
  width:18px; height:18px; border-radius:6px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  box-shadow: inset 0 0 0 2px rgba(0,0,0,.25);
  position:relative;
  flex:0 0 auto;
  z-index:2;
}

.check .txt{
  display:flex; align-items:center; gap:8px;
  color: rgba(243,245,247,.92);
  font-size:13px;
  position:relative;
  z-index:2;
}
.check .txt svg{ width:16px; height:16px; stroke: rgba(201,162,39,.92); }

.check.isOn{
  border-color: rgba(201,162,39,.55);
  background:
    radial-gradient(700px 180px at 20% 0%, rgba(201,162,39,.22), transparent 55%),
    linear-gradient(180deg, rgba(201,162,39,.14), rgba(0,0,0,.14));
  box-shadow: 0 16px 44px rgba(0,0,0,.42);
}
.check.isOn::before{
  content:"";
  position:absolute; inset:-2px;
  background: radial-gradient(800px 220px at 30% 10%, rgba(201,162,39,.22), transparent 60%);
  pointer-events:none;
  opacity:.9;
}
.check.isOn .box{
  border-color: rgba(201,162,39,.75);
  background: linear-gradient(180deg, rgba(201,162,39,.22), rgba(201,162,39,.08));
}
.check.isOn .box::after{
  content:"";
  position:absolute; inset:3px;
  border-radius:4px;
  background: rgba(243,245,247,.92);
  clip-path: polygon(14% 52%, 24% 42%, 44% 62%, 78% 28%, 88% 38%, 44% 82%);
}

.hint{
  margin:10px 0 0;
  color: rgba(154,164,175,.92);
  font-size:12px;
  line-height:1.5;
}

/* ===== Segmented Pickers (Timeline) ===== */
.picker{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.14);
  padding:10px;
  box-shadow: 0 12px 30px rgba(0,0,0,.26);
}
.pickerGrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:10px;
}
@media (min-width: 980px){
  .pickerGrid{ grid-template-columns: repeat(4, 1fr); }
}
.seg{
  position:relative;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding:12px 10px;
  cursor:pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
  user-select:none;
  overflow:hidden;
  text-align:left;
}
.seg:hover{ transform: translateY(-1px); border-color: rgba(201,162,39,.24); }
.seg input{ position:absolute; opacity:0; pointer-events:none; }
.seg .t{
  font-family:"Bebas Neue", sans-serif;
  letter-spacing:.10em;
  text-transform:uppercase;
  font-size:15px;
  line-height:1.1;
  margin:0;
}
.seg .d{
  margin-top:6px;
  color: rgba(154,164,175,.92);
  font-size:12px;
  line-height:1.35;
}
.seg.isOn{
  border-color: rgba(201,162,39,.55);
  background:
    radial-gradient(700px 160px at 20% 0%, rgba(201,162,39,.20), transparent 55%),
    linear-gradient(180deg, rgba(201,162,39,.12), rgba(0,0,0,.10));
  box-shadow: 0 16px 40px rgba(0,0,0,.36);
}
.seg.isOn::after{
  content:"";
  position:absolute;
  right:12px; top:12px;
  width:12px; height:12px;
  border-right:2px solid rgba(243,245,247,.92);
  border-bottom:2px solid rgba(243,245,247,.92);
  transform: rotate(45deg);
  opacity:.95;
}

.countRow{
  margin-top:10px;
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; flex-wrap:wrap;
}
.mini{
  color: rgba(154,164,175,.92);
  font-size:12px;
  display:inline-flex; align-items:center; gap:8px;
  letter-spacing:.04em;
}
.mini svg{ width:14px; height:14px; stroke: rgba(201,162,39,.92); }

.formState{
  margin-top:6px;
  color: rgba(154,164,175,.92);
  font-size:12px;
  line-height:1.45;
  padding:10px 12px;
  border-radius:16px;
  border:1px dashed rgba(255,255,255,.12);
  background: rgba(0,0,0,.10);
  display:none;
}
.formState.show{ display:block; }
.formState.ok{ border-color: rgba(201,162,39,.35); }
.formState.err{ border-color: rgba(255,120,120,.35); }

/* Reveal */
.revealUp{
  transform: translateY(10px);
  opacity:0;
  transition: transform .65s cubic-bezier(.2,.8,.2,1), opacity .65s ease;
}
.revealUp.revealed{ transform: translateY(0); opacity:1; }

/* ===== Footer ===== */
footer{
  margin-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(1100px 420px at 18% 0%, rgba(201,162,39,.08), transparent 60%),
    radial-gradient(900px 360px at 88% 20%, rgba(154,164,175,.06), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.10), rgba(0,0,0,.24));
  position:relative;
  overflow:hidden;
}
footer::before{
  content:"";
  position:absolute; left:0; right:0; top:0; height:1px;
  background: linear-gradient(90deg, transparent, rgba(201,162,39,.55), transparent);
  opacity:.65;
}
.footerInner{ padding:18px 0; }
.footTop{
  display:flex; align-items:center; justify-content:space-between;
  gap:14px; flex-wrap:wrap;
  padding-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.footBrand{
  display:flex; flex-direction:column; gap:6px;
}
.footBrand .n{
  font-family:"Bebas Neue", sans-serif;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:16px;
}
.footBrand .n b{ color: var(--gold); font-weight:400; }
.footBrand .tag{
  color: rgba(154,164,175,.92);
  font-size:12px;
  letter-spacing:.04em;
  max-width: 70ch;
}
.footLinks{
  display:flex; gap:10px; flex-wrap:wrap;
}
.pill{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.12);
  color: rgba(243,245,247,.92);
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
  transition: transform .18s ease, border-color .18s ease;
}
.pill:hover{ transform: translateY(-1px); border-color: rgba(201,162,39,.32); }
.pill svg{ width:14px; height:14px; stroke: rgba(201,162,39,.92); }

.footBottom{
  padding-top:14px;
  display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap;
  color: rgba(154,164,175,.90);
  font-size:12px;
  letter-spacing:.06em;
  text-transform:uppercase;
}
.hero{ overflow:hidden; }

/* Desktop/tablet: keep the original "bleed" effect */
.heroBack{ inset:-20px -20px 0 -20px; }

/* Mobile: no bleed (prevents overflow) */
@media (max-width: 900px){
  .heroBack{ inset:0; }
}
img, svg, video, canvas { max-width: 100%; height: auto; }