/* ==========================================================
   تساند العقارية — تصميم إبداعي تفاعلي
   هوية: داكنة فاخرة + ذهبي ملكي + لمسات زمردية
   ========================================================== */

:root {
  /* الثيم الاحترافي الفاتح بهوية تساند: كحلي + ذهبي + كريمي */
  --navy: #16263f;
  --navy-2: #1f3354;

  --bg: #f4efe4;       /* خلفية الصفحة (كريمي) */
  --bg-2: #faf6ee;     /* ألواح الأقسام (أوف-وايت) */
  --bg-3: #ffffff;     /* البطاقات (أبيض) */
  --surface: rgba(22, 38, 63, 0.04);
  --surface-2: rgba(22, 38, 63, 0.07);
  --border: rgba(22, 38, 63, 0.12);
  --border-strong: rgba(191, 159, 99, 0.4);

  --text: #1b2538;
  --text-2: #5f6776;
  --text-dim: #8a92a0;

  --gold: #bf9f63;
  --gold-2: #d9be86;
  --gold-soft: rgba(191, 159, 99, 0.14);

  --emerald: #2e7d58;
  --emerald-2: #3fa372;

  --accent-grad: linear-gradient(120deg, #d9be86 0%, #bf9f63 55%, #a67c3e 100%);
  --hero-grad: radial-gradient(ellipse 60% 50% at 85% 0%, rgba(191, 159, 99, 0.16), transparent 60%),
               radial-gradient(ellipse 50% 45% at 5% 100%, rgba(22, 38, 63, 0.07), transparent 55%),
               linear-gradient(180deg, #f7f3ea 0%, #f1e9da 100%);

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-lg: 0 24px 54px -22px rgba(22, 38, 63, 0.26);
  --shadow-gold: 0 18px 40px -16px rgba(191, 159, 99, 0.45);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* لون النص داخل أزرار الذهب */
.btn-primary { color: #2a2113; }

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Cairo', 'Tajawal', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
}

/* إصلاح: العناصر مع خاصية hidden يجب أن تختفي حتى لو كانت تحمل display مخصص */
[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color 0.25s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }

::selection { background: var(--gold); color: #000; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Canvas الجزيئات ---------- */
#particles { display: none; }

/* ---------- مؤشر التمرير ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: rgba(22, 38, 63, 0.08);
  z-index: 1000;
}
.scroll-bar {
  height: 100%;
  width: 0;
  background: var(--accent-grad);
  background-size: 200% 100%;
  animation: shine 3s linear infinite;
  transition: width 0.1s linear;
}
@keyframes shine {
  to { background-position: -200% 0; }
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; right: 0; left: 0;
  z-index: 100;
  padding: 18px 0;
  transition: all 0.35s var(--ease);
  background: transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(22, 38, 63, 0.06);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  transition: transform 0.4s var(--ease-bounce);
}
.logo:hover .logo-mark { transform: scale(1.06); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text small {
  font-size: 11px;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
}
.nav-links a {
  position: relative;
  padding: 8px 16px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active {
  color: var(--gold);
  background: var(--gold-soft);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn-lg { padding: 16px 28px; font-size: 16px; }

.btn-primary {
  background: var(--accent-grad);
  background-size: 200% 100%;
  color: #1a1410;
  box-shadow: var(--shadow-gold);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
  transform: translateX(100%);
  transition: transform 0.6s var(--ease);
}
.btn-primary:hover {
  transform: translateY(-2px);
  background-position: 100% 0;
  box-shadow: 0 25px 50px -15px rgba(212, 175, 55, 0.55);
}
.btn-primary:hover::before { transform: translateX(-100%); }

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-soft);
  transform: translateY(-2px);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
  background: var(--hero-grad);
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.18;
  animation: float 12s ease-in-out infinite;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.7), transparent 70%);
  top: -150px; left: -100px;
}
.orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.5), transparent 70%);
  bottom: -100px; right: -50px;
  animation-delay: -4s;
}
.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(245, 217, 122, 0.45), transparent 70%);
  top: 40%; right: 30%;
  animation-delay: -8s;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.08); }
  66% { transform: translate(-30px, 30px) scale(0.95); }
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 32px;
  box-shadow: 0 4px 16px rgba(22,38,63,0.06);
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}
.hero-title .line { display: block; }
.hero-title .line.small {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 500;
  color: var(--text-2);
  margin-top: 16px;
  letter-spacing: 0;
}

.gradient-text {
  background: var(--accent-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 5s linear infinite;
}

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-2);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 80px;
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 920px;
  margin: 0 auto;
}
.hero-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  transition: all 0.4s var(--ease);
  text-align: right;
}
.hero-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  background: var(--surface-2);
  box-shadow: var(--shadow-lg);
}
.hc-icon { font-size: 32px; }
.hc-text strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}
.hc-text span {
  font-size: 13px;
  color: var(--text-dim);
}

/* مؤشر التمرير في الـhero */
.scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid var(--border-strong);
  border-radius: 14px;
  display: grid;
  place-items: start center;
  padding-top: 8px;
  z-index: 2;
}
.scroll-hint span {
  display: block;
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  100% { opacity: 0; transform: translateY(18px); }
}

/* ---------- Section Head ---------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}
.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  background: var(--gold-soft);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-2);
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.eyebrow.light { background: rgba(255,255,255,0.12); color: var(--gold-2); border-color: rgba(255,255,255,0.25); }
.section-head h2 {
  font-size: clamp(32px, 4.5vw, 50px);
  margin-bottom: 16px;
  font-weight: 900;
}
.section-head p {
  font-size: 17px;
  color: var(--text-2);
}

/* ---------- Stats ---------- */
.stats {
  position: relative;
  z-index: 2;
  padding: 60px 0;
  background: linear-gradient(180deg, transparent, var(--bg-2));
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
}
.stat { text-align: center; }
.stat-num {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 14px;
  color: var(--text-2);
  margin-top: 6px;
  font-weight: 500;
}

/* ---------- Services ---------- */
.services {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  background: var(--bg-2);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.services-grid-6 {
  grid-template-columns: repeat(3, 1fr);
}
.service-card {
  position: relative;
  padding: 36px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.5s var(--ease);
  isolation: isolate;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold-soft) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: -1;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(212, 175, 55, 0.1);
}
.service-card:hover::before { opacity: 1; }

.sc-glow {
  position: absolute;
  top: -100px; left: -100px;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.25), transparent 70%);
  filter: blur(40px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
}
.service-card:hover .sc-glow { opacity: 1; }

.service-card.featured {
  background: linear-gradient(135deg, var(--bg-3), rgba(212, 175, 55, 0.08));
  border-color: var(--border-strong);
}
.sc-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 5px 12px;
  background: var(--accent-grad);
  color: #1a1410;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.sc-icon {
  width: 64px; height: 64px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  color: var(--gold);
  margin-bottom: 24px;
  transition: all 0.4s var(--ease-bounce);
}
.service-card:hover .sc-icon {
  background: var(--accent-grad);
  color: #1a1410;
  transform: rotate(-8deg) scale(1.05);
}
.sc-icon svg { width: 30px; height: 30px; }
.sc-icon span { font-size: 32px; line-height: 1; }
.service-card:hover .sc-icon span { transform: scale(1.05); }

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-2);
  font-size: 15px;
  margin-bottom: 20px;
}
.sc-list {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}
.sc-list li {
  position: relative;
  padding-right: 22px;
  font-size: 14.5px;
  color: var(--text-2);
}
.sc-list li::before {
  content: '◆';
  position: absolute;
  right: 0; top: 0;
  color: var(--gold);
  font-size: 10px;
}
.sc-link {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: var(--gold);
  font-size: 14.5px;
  transition: gap 0.3s var(--ease);
  gap: 4px;
}
.sc-link:hover { gap: 10px; }

/* ---------- How (Steps) ---------- */
.how {
  position: relative;
  padding: 100px 0;
  background: var(--bg);
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  right: 10%; left: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  padding: 28px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.4s var(--ease);
}
.step:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
}
.step-num {
  width: 60px; height: 60px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  background: var(--accent-grad);
  color: #1a1410;
  border-radius: 50%;
  font-size: 22px;
  font-weight: 900;
  box-shadow: var(--shadow-gold);
}
.step h3 { font-size: 18px; margin-bottom: 10px; }
.step p { color: var(--text-2); font-size: 14.5px; }

/* ---------- آراء العملاء (Testimonials) ---------- */
.testimonials {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  background: var(--bg-2);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  position: relative;
  padding: 32px 28px;
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}
.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 10px;
  left: 24px;
  font-size: 90px;
  font-family: 'Cairo', serif;
  color: var(--gold);
  opacity: 0.18;
  line-height: 1;
  font-weight: 900;
}
.tc-rating {
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 14px;
}
.tc-content {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 22px;
  flex: 1;
  font-style: italic;
}
.tc-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.tc-avatar {
  width: 50px; height: 50px;
  display: grid;
  place-items: center;
  font-size: 28px;
  background: var(--gold-soft);
  border: 1px solid var(--border-strong);
  border-radius: 50%;
}
.tc-name {
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 2px;
}
.tc-role {
  font-size: 12.5px;
  color: var(--gold);
  font-weight: 600;
}

/* ---------- الأسئلة الشائعة (FAQ) ---------- */
.faq-section {
  position: relative;
  z-index: 2;
  padding: 100px 0;
  background: var(--bg);
}
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.faq-item {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}
.faq-item:hover {
  border-color: var(--border-strong);
}
.faq-item.open {
  background: linear-gradient(135deg, var(--bg-3), rgba(212, 175, 55, 0.06));
  border-color: var(--gold);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  background: transparent;
  border: none;
  text-align: right;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.faq-q:hover { color: var(--gold); }
.faq-q-icon {
  width: 32px; height: 32px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}
.faq-item.open .faq-q-icon {
  transform: rotate(45deg);
  background: var(--accent-grad);
  color: #1a1410;
  border-color: transparent;
}
.faq-q span { flex: 1; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-item.open .faq-a {
  max-height: 600px;
}
.faq-a-inner {
  padding: 0 26px 22px 74px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
}

/* ---------- Auctions ---------- */
.auctions {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(180deg, var(--bg), var(--bg-2));
  overflow: hidden;
}
.auctions::before {
  content: '';
  position: absolute;
  top: 50%; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
  filter: blur(60px);
  transform: translateY(-50%);
}
.auctions-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.auctions-text h2 {
  font-size: clamp(28px, 4vw, 44px);
  margin: 14px 0 18px;
}
.auctions-text p {
  color: var(--text-2);
  font-size: 16.5px;
  margin-bottom: 28px;
}
.check-list { display: grid; gap: 12px; margin-bottom: 32px; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  color: var(--text);
}
.check-list span {
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  background: var(--gold-soft);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--gold);
  font-weight: 900;
  font-size: 14px;
}

/* بطاقة المزاد المباشر */
.auction-card {
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--border-strong);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.auction-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 4px;
  background: var(--accent-grad);
}
.ac-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-2);
  font-weight: 600;
  margin-bottom: 24px;
}
.live-dot {
  width: 10px; height: 10px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
  animation: pulse 1.4s ease-in-out infinite;
}
.ac-time {
  margin-right: auto;
  font-family: 'Tajawal', monospace;
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
}
.ac-image {
  height: 160px;
  background: linear-gradient(135deg, var(--gold-soft), rgba(45, 212, 191, 0.1));
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 72px;
  margin-bottom: 20px;
}
.ac-meta h4 { font-size: 17px; margin-bottom: 4px; }
.ac-meta p { font-size: 13.5px; color: var(--text-dim); margin-bottom: 20px; }
.ac-bid {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 16px;
  background: var(--surface);
  border-radius: 12px;
  margin-bottom: 12px;
}
.ac-bid span { font-size: 13px; color: var(--text-dim); }
.ac-bid strong {
  font-size: 22px;
  font-weight: 900;
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ac-bar {
  height: 6px;
  background: var(--surface);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 14px;
}
.ac-bar-fill {
  height: 100%;
  width: 72%;
  background: var(--accent-grad);
  background-size: 200% 100%;
  animation: shine 2s linear infinite;
  border-radius: 999px;
}
.ac-stats {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-2);
  font-weight: 600;
}

/* ---------- CTA ---------- */
.cta {
  padding: 100px 0;
  background: var(--bg);
}
.cta-card {
  position: relative;
  padding: 70px 50px;
  background: linear-gradient(135deg, var(--navy), var(--navy-2));
  border: 1px solid var(--navy-2);
  border-radius: 28px;
  overflow: hidden;
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 18%, rgba(191, 159, 99, 0.30), transparent 52%),
    radial-gradient(circle at 82% 82%, rgba(255, 255, 255, 0.06), transparent 50%);
  z-index: 0;
}
.cta-content { position: relative; z-index: 1; }
.cta-content h2 {
  font-size: clamp(30px, 4.5vw, 48px);
  margin: 16px 0 18px;
  font-weight: 900;
  color: #fff;
}
.cta-content p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 32px;
}
.cta-card .btn-ghost { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.25); color: #fff; }
.cta-card .btn-ghost:hover { background: var(--accent-grad); color: #2a2113; border-color: transparent; }
.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  padding: 70px 0 24px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer .logo-text { color: #fff; }
.footer .logo-text small { color: var(--gold-2); }
.footer .socials a {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.footer .socials a:hover { background: var(--accent-grad); color: #2a2113; border-color: transparent; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.footer-col h4 {
  font-size: 14px;
  color: var(--gold-2);
  margin-bottom: 18px;
  letter-spacing: 0.05em;
}
.footer-col a, .footer-col p {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14.5px;
  margin-bottom: 10px;
  transition: color 0.25s var(--ease);
}
.footer-col a:hover { color: var(--gold-2); }
.footer-col > p { margin-top: 14px; }

.socials { display: flex; gap: 10px; }
.socials a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-weight: 900;
  margin: 0;
  transition: all 0.3s var(--ease);
}
.socials a:hover {
  background: var(--gold-soft);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}
.footer-actions {
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.admin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold) !important;
  background: var(--gold-soft);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  transition: all 0.3s var(--ease);
}
.admin-link:hover {
  background: var(--accent-grad);
  color: #1a1410 !important;
  border-color: transparent;
  transform: translateY(-2px);
}

/* ---------- Reveal Animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal]:nth-child(2) { transition-delay: 0.08s; }
[data-reveal]:nth-child(3) { transition-delay: 0.16s; }
[data-reveal]:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .services-grid-6 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-grid-6 { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .auctions-inner { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cards { grid-template-columns: 1fr; max-width: 460px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .stats-grid { padding: 24px; gap: 16px; }
  .stat-num { font-size: 32px; }
  .service-card { padding: 28px; }
  .cta-card { padding: 50px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ---------- قائمة الجوّال ---------- */
.nav.mobile-open .nav-links {
  display: flex;
  position: fixed;
  top: 70px; right: 16px; left: 16px;
  flex-direction: column;
  background: #ffffff;
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  z-index: 99;
}
.nav.mobile-open .nav-links a {
  width: 100%;
  text-align: center;
  padding: 14px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
