/* ============================================
   مكتب الميزان للمحاماة - الملف الرئيسي للتنسيق
   ============================================ */

/* استيراد الخطوط */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800&display=swap');

/* ============================================
   متغيرات الألوان والتصميم
   ============================================ */
:root {
  --primary: #0F172A;
  --primary-light: #1E293B;
  --gold: #C8A45D;
  --gold-light: #DFC08A;
  --gold-dark: #A8843D;
  --bg-light: #F8F5EF;
  --bg-white: #FFFFFF;
  --secondary: #475569;
  --cta-blue: #1D4ED8;
  --border: #E2E8F0;
  --text-primary: #1E293B;
  --text-secondary: #64748B;
  --text-muted: #94A3B8;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.14);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s ease;
  --font-main: 'Cairo', 'Tajawal', sans-serif;
}

/* ============================================
   إعادة التعيين الأساسي
   ============================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  background-color: var(--bg-white);
  direction: rtl;
  text-align: right;
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--font-main);
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font-main);
  direction: rtl;
}

/* ============================================
   الشريط العلوي
   ============================================ */
.top-bar {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  padding: 9px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(200,164,93,0.25);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.80rem;
}

.top-bar-info span i {
  color: var(--gold);
  font-size: 0.78rem;
}

.top-bar-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.top-bar-social a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: var(--transition);
}

.top-bar-social a:hover {
  color: var(--gold);
}

/* ============================================
   شريط التنقل الرئيسي
   ============================================ */
.navbar {
  background: var(--bg-white);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(15,23,42,0.08);
  border-bottom: 2px solid var(--gold);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
  height: 72px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.nav-logo .logo-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  letter-spacing: -0.3px;
}

.nav-logo .logo-name span {
  color: var(--gold);
}

.nav-logo .logo-tagline {
  font-size: 0.70rem;
  color: var(--secondary);
  font-weight: 400;
  letter-spacing: 0.3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  right: 50%;
  transform: translateX(50%);
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: calc(100% - 28px);
}

.nav-cta {
  background: var(--gold);
  color: var(--primary) !important;
  padding: 9px 20px !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--gold-dark) !important;
  color: white !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md) !important;
}

.nav-cta::after {
  display: none !important;
}

/* زر الهامبرغر */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   الحاوية العامة
   ============================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   الأزرار
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-family: var(--font-main);
  line-height: 1;
}

.btn-primary {
  background: var(--gold);
  color: var(--primary);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,164,93,0.35);
}

.btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: white;
  color: var(--primary);
  border-color: white;
}

.btn-dark {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background: #1EBE57;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37,211,102,0.35);
}

/* ============================================
   قسم البطل الرئيسي (Hero)
   ============================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--primary);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1600&q=80&auto=format');
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.97) 0%, rgba(15,23,42,0.85) 60%, rgba(15,23,42,0.75) 100%);
}

.hero-decor {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 45%;
  overflow: hidden;
  pointer-events: none;
}

.hero-decor::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 80px solid rgba(200,164,93,0.06);
}

.hero-decor::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: 20%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 50px solid rgba(200,164,93,0.04);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,164,93,0.12);
  border: 1px solid rgba(200,164,93,0.3);
  color: var(--gold);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.80rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: white;
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero h1 span {
  color: var(--gold);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 36px;
  line-height: 1.8;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 52px;
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat .num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  display: block;
}

.hero-stat .label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
  display: block;
}

/* ============================================
   قسم الإحصائيات
   ============================================ */
.stats-section {
  background: var(--primary);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(200,164,93,0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.stat-card {
  background: var(--primary);
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  background: var(--primary-light);
}

.stat-card .stat-icon {
  width: 52px;
  height: 52px;
  background: rgba(200,164,93,0.12);
  border: 1px solid rgba(200,164,93,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--gold);
  font-size: 1.2rem;
}

.stat-card .stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-card .stat-label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

/* ============================================
   العنوان القسم
   ============================================ */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  background: rgba(200,164,93,0.1);
  color: var(--gold-dark);
  border: 1px solid rgba(200,164,93,0.3);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 14px;
}

.section-title span {
  color: var(--gold-dark);
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ============================================
   بطاقات الخدمات
   ============================================ */
.services-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 0;
  background: var(--gold);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 56px;
  height: 56px;
  background: rgba(200,164,93,0.1);
  border: 1px solid rgba(200,164,93,0.25);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  font-size: 1.3rem;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}

.service-card h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.90rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.service-card .service-link {
  color: var(--gold-dark);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card:hover .service-link {
  gap: 10px;
}

/* ============================================
   قسم لماذا تختارنا
   ============================================ */
.why-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 500px;
}

.why-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.3), transparent);
  pointer-events: none;
}

.why-badge {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: var(--gold);
  color: var(--primary);
  padding: 14px 22px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.90rem;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.why-badge .num {
  font-size: 1.8rem;
  display: block;
  line-height: 1;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.why-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  border-right: 3px solid var(--gold);
  transition: var(--transition);
}

.why-feature:hover {
  background: rgba(200,164,93,0.06);
  box-shadow: var(--shadow-sm);
}

.why-feature .feat-icon {
  width: 44px;
  height: 44px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.why-feature-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 4px;
}

.why-feature-text p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   قسم طريقة العمل
   ============================================ */
.process-section {
  padding: 100px 0;
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 80px solid rgba(200,164,93,0.05);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  right: 12.5%;
  left: 12.5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,164,93,0.4), transparent);
  pointer-events: none;
}

.process-card {
  text-align: center;
  padding: 32px 20px;
}

.process-num {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(200,164,93,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background: rgba(200,164,93,0.08);
  position: relative;
}

.process-num span {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.process-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 10px;
}

.process-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* ============================================
   قسم الفريق
   ============================================ */
.team-section {
  padding: 100px 0;
  background: var(--bg-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-card-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .team-card-image img {
  transform: scale(1.05);
}

.team-card-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(15,23,42,0.6), transparent);
}

.team-card-body {
  padding: 24px;
}

.team-card-body .role {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.team-card-body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.team-card-body p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.team-exp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200,164,93,0.1);
  color: var(--gold-dark);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ============================================
   قسم الشهادات
   ============================================ */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 4rem;
  color: rgba(200,164,93,0.12);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 14px;
  display: flex;
  gap: 2px;
}

.testimonial-text {
  font-size: 0.90rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  gap: 12px;
  align-items: center;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  font-weight: 800;
  flex-shrink: 0;
}

.author-info .name {
  font-weight: 800;
  font-size: 0.90rem;
  color: var(--primary);
}

.author-info .title {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================
   شريط الدعوة للإجراء (CTA Banner)
   ============================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #1a2744 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  border: 70px solid rgba(200,164,93,0.06);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: white;
  margin-bottom: 14px;
}

.cta-banner h2 span {
  color: var(--gold);
}

.cta-banner p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   الفوتر
   ============================================ */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
}

.footer-main {
  padding: 70px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

.footer-brand .brand-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}

.footer-brand .brand-name span {
  color: var(--gold);
}

.footer-brand .brand-tagline {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(200,164,93,0.1);
}

.footer-col h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 30px;
  height: 2px;
  background: var(--gold);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--gold);
  padding-right: 4px;
}

.footer-contact-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
}

.footer-contact-list i {
  color: var(--gold);
  margin-top: 3px;
  flex-shrink: 0;
  font-size: 0.82rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-bottom p {
  font-size: 0.80rem;
  color: rgba(255,255,255,0.45);
}

.footer-disclaimer {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 30px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}

.footer-disclaimer strong {
  color: rgba(255,255,255,0.55);
  display: block;
  margin-bottom: 4px;
  font-size: 0.80rem;
}

/* ============================================
   الأزرار العائمة
   ============================================ */
.floating-btns {
  position: fixed;
  bottom: 28px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(0,0,0,0.35);
}

.float-whatsapp {
  background: #25D366;
}

.float-call {
  background: var(--gold-dark);
}

.float-btn .tooltip {
  position: absolute;
  right: calc(100% + 10px);
  background: var(--primary);
  color: white;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.float-btn:hover .tooltip {
  opacity: 1;
}

/* ============================================
   صفحة داخلية Hero
   ============================================ */
.inner-hero {
  background: var(--primary);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.inner-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1589829545856-d10d557cf95f?w=1200&q=60&auto=format');
  background-size: cover;
  background-position: center;
  opacity: 0.06;
}

.inner-hero .container {
  position: relative;
}

.inner-hero .breadcrumb {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.80rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb span {
  color: var(--gold);
}

.inner-hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
}

.inner-hero p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 580px;
}

/* ============================================
   بطاقات التواصل
   ============================================ */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}

.contact-card .card-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(200,164,93,0.1);
  border: 1px solid rgba(200,164,93,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.3rem;
  color: var(--gold-dark);
  transition: var(--transition);
}

.contact-card:hover .card-icon {
  background: var(--gold);
  color: white;
}

.contact-card h4 {
  font-size: 0.90rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 6px;
}

.contact-card p, .contact-card a {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ============================================
   نموذج التواصل
   ============================================ */
.contact-form-wrapper {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 50px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
}

.form-group label span {
  color: var(--gold-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.90rem;
  color: var(--text-primary);
  background: var(--bg-light);
  outline: none;
  transition: var(--transition);
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: white;
  box-shadow: 0 0 0 3px rgba(200,164,93,0.12);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #EF4444;
}

.form-group .error-msg {
  font-size: 0.78rem;
  color: #EF4444;
  display: none;
}

.form-group .error-msg.show {
  display: block;
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
}

.form-note {
  font-size: 0.80rem;
  color: var(--text-muted);
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(200,164,93,0.06);
  border-radius: var(--radius-sm);
  border-right: 3px solid var(--gold);
}

.success-toast {
  display: none;
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-top: 16px;
  color: #166534;
  font-size: 0.90rem;
  font-weight: 600;
  align-items: center;
  gap: 10px;
}

.success-toast.show {
  display: flex;
}

/* ============================================
   أكورديون الأسئلة الشائعة
   ============================================ */
.faq-section {
  padding: 80px 0;
  background: var(--bg-light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--gold-dark);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(200,164,93,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.80rem;
  color: var(--gold-dark);
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background: var(--gold);
  color: white;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.90rem;
  color: var(--text-secondary);
  line-height: 1.8;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ============================================
   فلتر ملفات القضايا
   ============================================ */
.cases-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-white);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.case-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}

.case-type-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 14px;
  background: rgba(200,164,93,0.1);
  color: var(--gold-dark);
  border: 1px solid rgba(200,164,93,0.25);
}

.case-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}

.case-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.case-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.case-service {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
}

.case-status {
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
}

.status-resolved {
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #86EFAC;
}

.status-ongoing {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}

/* ============================================
   About Timeline
   ============================================ */
.timeline {
  position: relative;
  padding: 20px 0;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(200,164,93,0.2));
}

.timeline-item {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 36px;
  position: relative;
}

.timeline-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.78rem;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(200,164,93,0.15);
}

.timeline-content {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  flex: 1;
}

.timeline-content h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.timeline-content p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============================================
   قيم العمل
   ============================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  text-align: center;
  padding: 36px 20px;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.value-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-light);
}

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: rgba(200,164,93,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-dark);
  margin: 0 auto 18px;
  transition: var(--transition);
}

.value-card:hover .value-icon {
  background: var(--gold);
  color: white;
}

.value-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   خريطة الموقع (placeholder)
   ============================================ */
.map-placeholder {
  width: 100%;
  height: 340px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.90rem;
  overflow: hidden;
  position: relative;
}

.map-placeholder i {
  font-size: 2.5rem;
  color: var(--gold-light);
}

/* ============================================
   انيميشن الدخول
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   العودة إلى الأعلى
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.90rem;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 998;
  box-shadow: var(--shadow-md);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-to-top:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
}

/* ============================================
   متنوعات
   ============================================ */
.section-pad {
  padding: 100px 0;
}

.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--primary); }

.gold-text { color: var(--gold-dark); }
.text-center { text-align: center; }

.disclaimer-box {
  background: rgba(200,164,93,0.06);
  border: 1px solid rgba(200,164,93,0.2);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 40px;
}

.disclaimer-box strong {
  display: block;
  color: var(--primary);
  font-size: 0.85rem;
  margin-bottom: 4px;
}

/* ============================================
   التصميم المتجاوب - Responsive
   ============================================ */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .why-image {
    height: 350px;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-grid::before {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .top-bar-info {
    gap: 12px;
  }
  .hamburger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 72px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 72px);
    background: var(--bg-white);
    flex-direction: column;
    gap: 4px;
    padding: 20px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    overflow-y: auto;
  }
  .nav-links.open {
    right: 0;
  }
  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  .nav-cta {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
  }
  .hero {
    min-height: auto;
    padding: 80px 0 60px;
  }
  .hero-stats {
    gap: 20px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-wrapper {
    padding: 24px;
  }
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .cases-filter {
    gap: 8px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .top-bar-info span:nth-child(n+3) {
    display: none;
  }
  .section-pad {
    padding: 70px 0;
  }
  .services-section,
  .why-section,
  .process-section,
  .team-section,
  .testimonials-section {
    padding: 70px 0;
  }
  .contact-form-wrapper {
    padding: 20px 16px;
  }
}
