/* ══════════════════════════════════════════════════
   NIZAAL BRAND TOKENS v3.0 — Confident Blue
   ══════════════════════════════════════════════════ */
:root {
  --navy:    #1B2A4A;
  --ink:     #0F172A;
  --gold:    #2563EB;
  --gold2:   #3B82F6;
  --gold-d:  #1D4ED8;
  --teal:    #38BDF8;
  --orange:  #F59E0B;
  --white:   #FFFFFF;
  --surface: #F8FAFF;
  --mid:     #DBEAFE;
  --dim:     rgba(255,255,255,0.55);

  --ok:      #0EA5E9;
  --ok-s:    rgba(14,165,233,0.09);
  --ok-b:    rgba(14,165,233,0.25);
  --err:     #E53E3E;
  --err-s:   rgba(229,62,62,0.09);
  --info-s:  rgba(37,99,235,0.09);
  --info-b:  rgba(37,99,235,0.25);

  --font-head: 'Cairo', sans-serif;
  --font-body: 'Tajawal', sans-serif;
  --font-display: 'DM Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --s1:4px; --s2:8px; --s3:12px; --s4:16px;
  --s5:20px; --s6:24px; --s7:32px; --s8:48px; --s9:64px;

  --r-sm:4px; --r-md:8px; --r-lg:12px; --r-xl:16px; --r-2xl:20px; --r-full:9999px;

  --sh-sm: 0 1px 3px rgba(15,23,42,0.08), 0 1px 2px rgba(15,23,42,0.04);
  --sh-md: 0 4px 12px rgba(15,23,42,0.10), 0 2px 4px rgba(15,23,42,0.06);
  --sh-lg: 0 8px 32px rgba(15,23,42,0.12), 0 4px 8px rgba(15,23,42,0.06);
  --sh-gold: 0 0 0 3px rgba(37,99,235,0.25);

  --ease-out: cubic-bezier(0,0,0.2,1);
  --ease-spring: cubic-bezier(0.34,1.56,0.64,1);
  --dur-fast: 0.12s; --dur-base: 0.20s; --dur-slow: 0.35s;
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ══════════════════════════════════════════════════ TOAST ══════ */
.toast {
  position: fixed;
  top: 80px;
  right: 24px;
  background: white;
  border: 1px solid var(--ok-b);
  border-left: 4px solid var(--ok);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--sh-lg);
  z-index: 200;
  animation: slideIn 0.4s var(--ease-spring), fadeOut 0.4s 5s forwards;
  max-width: 340px;
}
.toast svg {
  width: 28px; height: 28px;
  color: var(--ok);
  flex-shrink: 0;
  background: var(--ok-s);
  padding: 6px;
  border-radius: 50%;
}
.toast-title {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 2px;
}
.toast-sub {
  font-size: 12px;
  color: #64748B;
}
@keyframes slideIn {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
@keyframes fadeOut {
  to { opacity: 0; transform: translateX(-100%); pointer-events: none; }
}

/* ══════════════════════════════════════════════════ NAV ══════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--mid);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  color: var(--ink);
  letter-spacing: -0.5px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  text-transform: lowercase;
}
.nav-brand span:not(.brand-sub) {
  color: var(--gold);
  font-weight: 500;
}
.nav-brand .brand-sub {
  font-size: 12px;
  font-weight: 400;
  color: #94A3B8;
  font-family: var(--font-mono);
  letter-spacing: 0;
  text-transform: uppercase;
}
.nav-cta {
  font-family: var(--font-head);
  font-size: 13px; font-weight: 600;
  background: var(--gold);
  color: white;
  padding: 9px 18px;
  border-radius: var(--r-md);
  text-decoration: none;
  transition: var(--dur-base);
  border: none;
  cursor: pointer;
}
.nav-cta:hover {
  background: var(--gold-d);
  transform: translateY(-1px);
  box-shadow: var(--sh-md);
}

/* ══════════════════════════════════════════════════ HERO ══════ */
.hero {
  position: relative;
  padding: 80px 24px 60px;
  background:
    radial-gradient(circle at 85% 20%, rgba(37,99,235,0.08), transparent 50%),
    radial-gradient(circle at 15% 80%, rgba(56,189,248,0.06), transparent 50%),
    var(--surface);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(37,99,235,0.05), transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-left { animation: fadeUp 0.6s var(--ease-out); }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--info-s);
  border: 1px solid var(--info-b);
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--gold-d);
  margin-bottom: 20px;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.hero h1 .highlight {
  color: var(--gold);
  position: relative;
  display: inline-block;
}
.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px; right: 0; left: 0;
  height: 8px;
  background: var(--info-s);
  z-index: -1;
  border-radius: 4px;
}
.hero-sub {
  font-size: 17px;
  color: #475569;
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 520px;
}
.hero-stats {
  display: flex;
  gap: 28px;
  margin-bottom: 32px;
  padding: 20px;
  background: white;
  border: 1px solid var(--mid);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.stat-item .num {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.stat-item .lbl {
  font-size: 11px;
  color: #64748B;
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  background: var(--mid);
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-primary {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  background: var(--gold);
  color: white;
  padding: 13px 24px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--dur-base);
}
.btn-primary:hover {
  background: var(--gold-d);
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.btn-ghost {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  background: white;
  color: var(--ink);
  padding: 13px 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--mid);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--dur-base);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ══════════════════════════════════════════════════ PROFILE CARD ══════ */
.hero-right {
  display: flex;
  justify-content: center;
  animation: fadeUp 0.6s var(--ease-out) 0.1s both;
}
.profile-card {
  background: white;
  border-radius: var(--r-2xl);
  box-shadow: var(--sh-lg);
  width: 100%;
  max-width: 440px;
  border: 1px solid var(--mid);
}
.pc-header {
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%);
  padding: 32px 24px 60px;
  position: relative;
  text-align: center;
  overflow: hidden;
  border-radius: var(--r-2xl) var(--r-2xl) 0 0;
}
.pc-header::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(37,99,235,0.4), transparent 70%);
  border-radius: 50%;
}
.pc-header::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -20%;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(56,189,248,0.2), transparent 70%);
  border-radius: 50%;
}
.pc-tag {
  position: relative;
  z-index: 1;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--teal);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pc-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  color: white;
  font-size: 18px;
  font-weight: 600;
}
.pc-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: -55px auto 16px;
  border: 5px solid white;
  box-shadow: var(--sh-md);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  z-index: 2;
}
.pc-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.pc-body {
  padding: 0 28px 24px;
  text-align: center;
}
.pc-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}
.pc-role {
  font-size: 13px;
  color: #64748B;
  margin-bottom: 18px;
}
.pc-creds {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-bottom: 20px;
}
.cred-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  padding: 4px 10px;
  background: var(--info-s);
  color: var(--gold-d);
  border: 1px solid var(--info-b);
  border-radius: var(--r-full);
}
.pc-social {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid var(--mid);
}
.social-btn {
  width: 40px; height: 40px;
  border-radius: var(--r-md);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
  text-decoration: none;
  transition: var(--dur-base);
  border: 1px solid var(--mid);
}
.social-btn:hover {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
  transform: translateY(-2px);
}
.social-btn svg { width: 18px; height: 18px; }

/* ══════════════════════════════════════════════════ SERVICES ══════ */
.services {
  padding: 80px 24px;
  background: white;
}
.services-inner { max-width: 1200px; margin: 0 auto; }
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.section-sub {
  font-size: 16px;
  color: #64748B;
  max-width: 580px;
  margin: 0 auto;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  padding: 28px 24px;
  background: var(--surface);
  border: 1px solid var(--mid);
  border-radius: var(--r-xl);
  transition: var(--dur-base);
  cursor: pointer;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  background: white;
}
.service-icon {
  width: 48px; height: 48px;
  background: var(--info-s);
  border: 1px solid var(--info-b);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  margin-bottom: 18px;
}
.service-icon svg { width: 24px; height: 24px; }
.service-title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.service-desc {
  font-size: 13px;
  color: #64748B;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════ CONTACT FORM ══════ */
.contact {
  padding: 80px 24px;
  background: linear-gradient(180deg, var(--surface) 0%, white 100%);
}
.contact-inner { max-width: 720px; margin: 0 auto; }
.form-wrap {
  background: white;
  border: 1px solid var(--mid);
  border-radius: var(--r-2xl);
  padding: 40px;
  box-shadow: var(--sh-md);
  position: relative;
  overflow: hidden;
}
.form-wrap::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--gold));
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.field label .req { color: var(--err); font-size: 12px; }
.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--mid);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: var(--dur-base);
  width: 100%;
  outline: none;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--gold);
  background: white;
  box-shadow: var(--sh-gold);
}
.field input::placeholder,
.field textarea::placeholder { color: #94A3B8; }
.field textarea {
  resize: vertical;
  min-height: 110px;
  font-family: var(--font-body);
}
.pill-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pill-group input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.pill {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  background: var(--surface);
  border: 1.5px solid var(--mid);
  border-radius: var(--r-md);
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: #64748B;
  cursor: pointer;
  transition: var(--dur-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.pill svg { width: 18px; height: 18px; flex-shrink: 0; }
.pill:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.pill-group input[type="radio"]:checked + .pill {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
  box-shadow: var(--sh-sm);
}
.pill-group input[type="radio"]:checked + .pill svg { color: white; }

/* ══ Priority Pills (عاجل / عادي) ══ */
.priority-group {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pill-priority {
  position: relative;
  padding: 14px 16px;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
}
.pill-priority svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.pill-group input[type="radio"]:checked + .pill-urgent {
  background: #DC2626;
  border-color: #DC2626;
  box-shadow: 0 4px 14px rgba(220,38,38,0.25);
}
.pill-urgent:hover {
  border-color: #DC2626;
  color: #DC2626;
}

/* ══════════════════════════════════════════════════ */
/* SERVICE GRID — شبكة بطاقات نوع الخدمة                */
/* ══════════════════════════════════════════════════ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.service-grid input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.service-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 8px;
  background: var(--surface);
  border: 1.5px solid var(--mid);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: var(--dur-base);
  text-align: center;
  min-height: 96px;
}
.service-tile:hover {
  border-color: var(--gold);
  background: white;
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}
.st-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  background: var(--info-s);
  border: 1px solid var(--info-b);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
  transition: var(--dur-base);
}
.st-icon svg { width: 18px; height: 18px; }
.st-text {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}
.st-check {
  position: absolute;
  top: 6px;
  left: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: var(--dur-base);
  box-shadow: 0 2px 6px rgba(37,99,235,0.4);
}
.st-check svg { width: 10px; height: 10px; }
.service-grid input[type="radio"]:checked + .service-tile {
  background: white;
  border-color: var(--gold);
  box-shadow: 0 0 0 1.5px var(--gold), var(--sh-sm);
}
.service-grid input[type="radio"]:checked + .service-tile .st-icon {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}
.service-grid input[type="radio"]:checked + .service-tile .st-check {
  opacity: 1;
  transform: scale(1);
}
.field.error .service-tile {
  border-color: var(--err);
}

.select-wrap { position: relative; }

.form-submit {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  width: 100%;
  padding: 16px;
  background: #25D366;
  color: white;
  border: none;
  border-radius: var(--r-md);
  cursor: pointer;
  transition: var(--dur-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(37,211,102,0.3);
}
.form-submit:hover {
  background: #1FAD53;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}
.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}
.form-submit svg { width: 22px; height: 22px; }
.form-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  color: #64748B;
}
.form-hint svg { width: 14px; height: 14px; color: var(--ok); }
.form-head {
  text-align: center;
  margin-bottom: 32px;
}
.form-head .icon-wrap {
  width: 56px; height: 56px;
  background: var(--info-s);
  border: 1px solid var(--info-b);
  border-radius: var(--r-lg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--gold);
}
.form-head .icon-wrap svg { width: 28px; height: 28px; }
.form-head h2 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.form-head p {
  font-size: 14px;
  color: #64748B;
}
.field.error input,
.field.error textarea,
.field.error select {
  border-color: var(--err);
  background: var(--err-s);
}
.error-msg {
  font-size: 11px;
  color: var(--err);
  margin-top: 6px;
  font-family: var(--font-head);
  font-weight: 500;
}

/* ══════════════════════════════════════════════════ */
/* FORM SECTIONS — أقسام مرقّمة في الفورم               */
/* ══════════════════════════════════════════════════ */
.form-section {
  background: var(--surface);
  border: 1px solid var(--mid);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  margin-bottom: 18px;
}
.form-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--mid);
}
.form-step {
  width: 28px;
  height: 28px;
  background: var(--gold);
  color: white;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(37,99,235,0.3);
}
.form-step-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.form-section .field {
  margin-bottom: 16px;
}
.form-section .form-grid {
  margin-bottom: 16px;
}
.optional {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 400;
  color: #94A3B8;
  margin-right: 4px;
}

/* ══════════════════════════════════════════════════ FOOTER ══════ */
.footer {
  background: var(--ink);
  padding: 40px 24px 24px;
  text-align: center;
  color: rgba(255,255,255,0.6);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 22px;
  color: white;
  font-weight: 300;
  margin-bottom: 8px;
  text-transform: lowercase;
}
.footer-brand span:not(.footer-sub) {
  color: var(--teal);
  font-weight: 500;
}
.footer-brand .footer-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  margin-right: 4px;
}
.footer-brand .accent { color: var(--teal); font-weight: 500; }
.footer-tag { font-size: 13px; margin-bottom: 24px; }
.footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 24px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--dur-base);
  border: 1px solid rgba(255,255,255,0.08);
}
.footer-social a:hover {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}
.footer-social svg { width: 16px; height: 16px; }
.footer-copy {
  font-size: 11px;
  font-family: var(--font-mono);
  color: rgba(255,255,255,0.3);
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════ */
/* FAB — زر واتساب عائم (للجوال فقط)                   */
/* ══════════════════════════════════════════════════ */
.fab-whatsapp {
  display: none;
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37,211,102,0.45),
              0 2px 6px rgba(37,211,102,0.3);
  z-index: 90;
  text-decoration: none;
  transition: var(--dur-base);
  animation: fab-pulse 2.5s infinite;
}
.fab-whatsapp:active {
  transform: scale(0.92);
}
.fab-whatsapp svg {
  width: 28px;
  height: 28px;
}
.fab-whatsapp::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.4;
  z-index: -1;
  animation: fab-ring 2.5s infinite;
}
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.45), 0 2px 6px rgba(37,211,102,0.3); }
  50% { box-shadow: 0 6px 24px rgba(37,211,102,0.65), 0 2px 8px rgba(37,211,102,0.4); }
}
@keyframes fab-ring {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ══════════════════════════════════════════════════ RESPONSIVE ══════ */
@media (max-width: 900px) {
  /* ── HERO — تخطيط جوال احترافي ── */
  .hero {
    padding: 32px 20px 40px;
    text-align: center;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* الصورة الدائرية تطلع أول، أصغر */
  .hero-right { order: -1; }
  .profile-card {
    max-width: none;
    background: transparent;
    box-shadow: none;
    border: none;
  }
  .pc-header {
    display: none;
  }
  .pc-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    border: 4px solid white;
    box-shadow: var(--sh-lg), 0 0 0 4px var(--info-s);
  }
  .pc-body {
    padding: 0;
  }
  .pc-name {
    font-size: 20px;
    margin-bottom: 4px;
  }
  .pc-role {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .pc-creds {
    margin-bottom: 0;
    gap: 5px;
  }
  .cred-chip {
    font-size: 9px;
    padding: 3px 9px;
  }
  .pc-social {
    display: none; /* الروابط في الفوتر */
  }

  /* النص والـ stats والأزرار */
  .hero-left {
    text-align: center;
    padding-top: 8px;
    border-top: 1px solid var(--mid);
  }
  .hero-badge {
    margin: 16px auto 14px;
  }
  .hero h1 {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 12px;
  }
  .hero h1 br { display: none; }
  .hero-sub {
    font-size: 14px;
    margin: 0 auto 22px;
    line-height: 1.65;
    color: #475569;
  }

  /* Hero Stats — حلوة على الجوال */
  .hero-stats {
    gap: 0;
    padding: 14px 4px;
    margin-bottom: 22px;
    border-radius: var(--r-lg);
  }
  .stat-item {
    flex: 1;
    text-align: center;
  }
  .stat-item .num {
    font-size: 22px;
  }
  .stat-item .lbl {
    font-size: 10px;
  }
  .stat-divider {
    align-self: center;
    height: 36px;
  }

  /* الأزرار — كبيرة وواضحة */
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost {
    justify-content: center;
    padding: 15px 24px;
    font-size: 14px;
    width: 100%;
  }

  /* ── SERVICES ── */
  .services { padding: 50px 20px; }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .section-head { margin-bottom: 32px; }
  .section-title { font-size: 24px; }
  .section-sub { font-size: 14px; }

  /* ── CONTACT FORM ── */
  .contact { padding: 50px 16px; }
  .form-wrap {
    padding: 22px 16px;
    border-radius: var(--r-xl);
  }
  .form-head {
    margin-bottom: 22px;
  }
  .form-head .icon-wrap {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
  }
  .form-head .icon-wrap svg { width: 24px; height: 24px; }
  .form-head h2 {
    font-size: 20px;
    margin-bottom: 6px;
  }
  .form-head p { font-size: 13px; }

  /* أقسام الفورم - أصغر شوي على الجوال */
  .form-section {
    padding: 18px 14px;
    margin-bottom: 14px;
  }
  .form-section-head {
    margin-bottom: 16px;
    padding-bottom: 12px;
  }
  .form-step { width: 26px; height: 26px; font-size: 12px; }
  .form-step-title { font-size: 14px; }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Pills نوع الزائر — صف واحد */
  .pill-group:not(.priority-group):not(.service-grid) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .pill { padding: 12px 10px; font-size: 12px; }
  .pill svg { width: 16px; height: 16px; }

  /* Service Grid — 2 أعمدة */
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .service-tile {
    min-height: 88px;
    padding: 12px 6px;
  }
  .st-text { font-size: 11px; }
  .st-icon { width: 34px; height: 34px; }
  .st-icon svg { width: 16px; height: 16px; }

  /* Submit أكبر وأبرز */
  .form-submit {
    padding: 17px;
    font-size: 15px;
  }

  /* ── NAV ── */
  .nav-inner { padding: 12px 16px; }
  .nav-brand { font-size: 17px; }
  .nav-brand .brand-sub { font-size: 9px; }
  .nav-cta {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
  }

  /* ── TOAST ── */
  .toast {
    right: 12px;
    left: 12px;
    max-width: none;
    top: 70px;
    padding: 12px 14px;
  }
  .toast-title { font-size: 13px; }
  .toast-sub { font-size: 11px; }

  /* ── FAB واتساب — زر عائم ── */
  .fab-whatsapp {
    display: flex !important;
  }

  /* ── FOOTER ── */
  .footer {
    padding: 32px 20px 20px;
    padding-bottom: 100px; /* مساحة للـ FAB */
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 22px; }
  .hero-sub { font-size: 13px; }
  .hero-stats {
    padding: 12px 0;
  }
  .stat-item .num { font-size: 20px; }
  .pc-avatar { width: 110px; height: 110px; }
  .pc-name { font-size: 19px; }

  .form-head h2 { font-size: 19px; }

  /* Service Grid أصغر شوي */
  .service-tile { min-height: 82px; padding: 10px 4px; }
  .st-icon { width: 32px; height: 32px; }
  .st-icon svg { width: 15px; height: 15px; }
  .st-text { font-size: 10px; }

  .footer-brand { font-size: 19px; }
}