/*
Theme Name: المحامية وفاء العيسمي
Theme URI: https://almuhami.sy
Author: Mohammed Teckou
Author URI: https://almuhami.sy
Developed By: Mohammed Teckou
Description: قالب احترافي للمحامية وفاء العيسمي — خدمات قانونية متكاملة للأفراد والشركات في الشرق الأوسط
Version: 1.0.1
Requires at least: 5.8
Tested up to: 6.4
Requires PHP: 7.4
License: Private
Text Domain: wafaa-law
Tags: right-to-left, arabic, law, legal, professional, elementor
*/

/* ===================================================
   CSS VARIABLES — COLORS & TYPOGRAPHY
=================================================== */
:root {
  /* Primary Palette */
  --color-navy:       #0D1B2A;
  --color-deep:       #1A2940;
  --color-gold:       #C9A84C;
  --color-gold-light: #E2C27A;
  --color-gold-pale:  #F5EDD6;
  --color-cream:      #FAF7F2;
  --color-white:      #FFFFFF;
  --color-text:       #2C2C2C;
  --color-muted:      #6B7280;
  --color-border:     #E2D9C8;

  /* Section BGs */
  --bg-dark:          var(--color-navy);
  --bg-light:         var(--color-cream);
  --bg-white:         var(--color-white);

  /* Typography */
  --font-heading:     'Amiri', 'Noto Naskh Arabic', serif;
  --font-body:        'Tajawal', 'Cairo', sans-serif;
  --font-ui:          'Cairo', 'Tajawal', sans-serif;

  /* Spacing */
  --section-pad:      80px 0;
  --container-max:    1160px;
  --radius:           4px;
  --radius-lg:        10px;

  /* Shadows */
  --shadow-card:      0 4px 24px rgba(13,27,42,0.10);
  --shadow-gold:      0 2px 16px rgba(201,168,76,0.25);
}

/* ===================================================
   RESET & BASE
=================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  direction: rtl;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  font-size: 16px;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.2s; }
ul, ol { list-style: none; }

/* ===================================================
   TYPOGRAPHY
=================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.4;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ===================================================
   LAYOUT UTILITIES
=================================================== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: var(--section-pad); }

.text-center { text-align: center; }
.text-gold    { color: var(--color-gold); }
.text-navy    { color: var(--color-navy); }
.text-muted   { color: var(--color-muted); }

.bg-dark      { background: var(--bg-dark); }
.bg-light     { background: var(--bg-light); }
.bg-gold-pale { background: var(--color-gold-pale); }

/* ===================================================
   SECTION LABELS
=================================================== */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--color-gold);
}

.section-title {
  font-family: var(--font-heading);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 620px;
  margin-bottom: 48px;
}

/* ===================================================
   BUTTONS
=================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}
.btn-primary:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn-navy {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}
.btn-navy:hover {
  background: var(--color-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

/* ===================================================
   HEADER / NAVIGATION
=================================================== */
#site-header {
  position: sticky;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--color-navy);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  transition: box-shadow 0.3s;
}
#site-header.scrolled {
  box-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 32px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.site-logo .logo-icon {
  width: 42px; height: 42px;
  background: var(--color-gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.site-logo .logo-text { color: var(--color-white); }
.site-logo .logo-text .name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}
.site-logo .logo-text .tagline {
  font-size: 0.72rem;
  color: var(--color-gold);
  font-family: var(--font-ui);
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  padding: 7px 14px;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--color-gold);
  background: rgba(201,168,76,0.1);
}

.header-cta { flex-shrink: 0; }

.menu-toggle {
  display: none;
  background: none; border: none;
  color: var(--color-white);
  font-size: 1.5rem; cursor: pointer;
  padding: 6px;
}

/* ===================================================
   HERO SECTION
=================================================== */
.hero-section {
  position: relative;
  background: var(--color-navy);
  overflow: hidden;
  padding: 100px 0 80px;
  min-height: 92vh;
  display: flex; align-items: center;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(201,168,76,0.08) 0%, transparent 60%),
    radial-gradient(circle at 80% 20%, rgba(201,168,76,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.hero-bg-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C9A84C' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative; z-index: 1;
}

.hero-content .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--color-gold);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-family: var(--font-ui);
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  color: var(--color-white);
  margin-bottom: 20px;
  line-height: 1.25;
}
.hero-title .gold { color: var(--color-gold); }

.hero-desc {
  color: rgba(255,255,255,0.7);
  font-size: 1.08rem;
  line-height: 1.9;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex; gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex; gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stats .stat .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-gold);
  font-weight: 700;
  display: block;
  line-height: 1;
}
.hero-stats .stat .lbl {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-ui);
}

.hero-visual {
  display: flex; justify-content: center; align-items: center;
}
.hero-card-stack {
  position: relative;
  width: 380px; height: 460px;
}
.hero-card-stack .card-back {
  position: absolute;
  top: 20px; left: 20px;
  right: -20px;
  height: 380px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: var(--radius-lg);
}
.hero-main-card {
  position: relative;
  background: linear-gradient(145deg, #1e3050 0%, #0d1b2a 100%);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.4);
}
.hero-main-card .card-icon {
  width: 64px; height: 64px;
  background: rgba(201,168,76,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin-bottom: 20px;
}
.hero-main-card .card-title {
  color: var(--color-white);
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.hero-main-card .card-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.hero-main-card .card-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin: 20px 0;
}
.service-badge-list {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.service-badge {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--color-gold-light);
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 50px;
  font-family: var(--font-ui);
}

/* ===================================================
   SERVICES SECTION
=================================================== */
.services-section { padding: var(--section-pad); background: var(--color-cream); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 4px; height: 0;
  background: var(--color-gold);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  transition: height 0.3s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); border-color: var(--color-gold); }
.service-card:hover::before { height: 100%; }

.service-card .card-icon-wrap {
  width: 56px; height: 56px;
  background: var(--color-gold-pale);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: background 0.3s;
}
.service-card:hover .card-icon-wrap { background: var(--color-gold); }

.service-card .badge {
  display: inline-block;
  font-size: 0.72rem;
  font-family: var(--font-ui);
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.badge-free { background: rgba(34,197,94,0.1); color: #16a34a; }
.badge-paid { background: rgba(201,168,76,0.12); color: #92740a; }
.badge-court { background: rgba(59,130,246,0.1); color: #1d4ed8; }

.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { font-size: 0.9rem; color: var(--color-muted); }

/* ===================================================
   HOW IT WORKS
=================================================== */
.how-section { padding: var(--section-pad); background: var(--color-navy); }
.how-section .section-title { color: var(--color-white); }
.how-section .section-desc  { color: rgba(255,255,255,0.6); }

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px; right: 12.5%; left: 12.5%;
  height: 1px;
  background: rgba(201,168,76,0.25);
  z-index: 0;
}

.step-item {
  text-align: center;
  padding: 0 20px;
  position: relative; z-index: 1;
}
.step-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.4);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--color-gold);
  background: var(--color-navy);
  transition: all 0.3s;
}
.step-item:hover .step-num {
  background: var(--color-gold);
  color: var(--color-navy);
  border-color: var(--color-gold);
}
.step-item h4 { color: var(--color-white); margin-bottom: 8px; font-size: 1rem; }
.step-item p { color: rgba(255,255,255,0.55); font-size: 0.88rem; }

/* ===================================================
   PRICING
=================================================== */
.pricing-section { padding: var(--section-pad); background: var(--color-white); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}

.pricing-card {
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s;
}
.pricing-card.featured {
  border-color: var(--color-gold);
  background: var(--color-navy);
}
.pricing-card.featured * { color: var(--color-white); }
.pricing-card.featured .pricing-price .currency,
.pricing-card.featured .pricing-price .amount { color: var(--color-gold); }

.featured-badge {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 20px;
  border-radius: 50px;
  font-family: var(--font-ui);
  white-space: nowrap;
}

.pricing-name { font-size: 0.85rem; font-family: var(--font-ui); font-weight: 700; letter-spacing: 0.08em; color: var(--color-muted); margin-bottom: 12px; }
.pricing-title { font-size: 1.2rem; margin-bottom: 20px; }
.pricing-price { margin-bottom: 8px; }
.pricing-price .currency { font-size: 1rem; vertical-align: super; color: var(--color-gold); }
.pricing-price .amount { font-size: 2.4rem; font-family: var(--font-heading); color: var(--color-navy); font-weight: 700; }
.pricing-note { font-size: 0.82rem; color: var(--color-muted); margin-bottom: 24px; }

.pricing-features { margin-bottom: 28px; }
.pricing-features li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}
.pricing-card.featured .pricing-features li { border-color: rgba(255,255,255,0.1); }
.pricing-features li::before { content: '✓'; color: var(--color-gold); font-weight: 900; flex-shrink: 0; margin-top: 2px; }

/* ===================================================
   TESTIMONIALS / CASES
=================================================== */
.cases-section { padding: var(--section-pad); background: var(--color-cream); }

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.case-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--color-border);
  transition: box-shadow 0.3s;
}
.case-card:hover { box-shadow: var(--shadow-card); }

.case-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px;
}
.case-status {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.78rem; font-weight: 700; font-family: var(--font-ui);
  padding: 4px 12px; border-radius: 50px;
}
.status-win  { background: rgba(34,197,94,0.1);  color: #16a34a; }
.status-settle { background: rgba(59,130,246,0.1); color: #1d4ed8; }
.status-save { background: rgba(201,168,76,0.12); color: #92740a; }

.case-card h3 { font-size: 1rem; margin-bottom: 10px; }
.case-card p  { font-size: 0.88rem; color: var(--color-muted); margin-bottom: 16px; }
.case-meta {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 0.78rem; color: var(--color-muted); font-family: var(--font-ui);
  padding-top: 14px;
  border-top: 1px solid var(--color-border);
}
.case-meta span { display: flex; align-items: center; gap: 4px; }
.case-lesson {
  background: var(--color-gold-pale);
  border-right: 3px solid var(--color-gold);
  padding: 10px 14px;
  font-size: 0.83rem;
  margin-top: 12px;
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--color-deep);
}

/* ===================================================
   FAQ
=================================================== */
.faq-section { padding: var(--section-pad); background: var(--color-white); }

.faq-list { margin-top: 48px; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--color-gold); }

.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  background: var(--color-white);
  border: none; cursor: pointer;
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-navy);
  text-align: right;
  gap: 16px;
  transition: background 0.2s;
}
.faq-item.open .faq-question { background: var(--color-gold-pale); }
.faq-icon { font-size: 1.2rem; color: var(--color-gold); transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 24px;
  font-size: 0.93rem;
  color: var(--color-muted);
  line-height: 1.9;
}
.faq-item.open .faq-answer { max-height: 300px; padding: 16px 24px 24px; }

/* ===================================================
   CTA SECTION
=================================================== */
.cta-section {
  background: var(--color-navy);
  padding: 80px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-section::before {
  content: '⚖';
  position: absolute;
  font-size: 18rem;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.03;
  pointer-events: none;
}
.cta-section h2 { color: var(--color-white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.65); font-size: 1.05rem; margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }
.cta-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ===================================================
   CONTACT SECTION
=================================================== */
.contact-section { padding: var(--section-pad); background: var(--color-cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-top: 48px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 24px; font-size: 1.4rem; }

.contact-item {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 24px;
}
.contact-item .icon-wrap {
  width: 48px; height: 48px;
  background: var(--color-gold-pale);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-item .info .label { font-size: 0.8rem; color: var(--color-muted); font-family: var(--font-ui); font-weight: 700; letter-spacing: 0.06em; }
.contact-item .info .value { font-weight: 700; color: var(--color-navy); font-size: 0.98rem; }

.contact-form-wrap {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
}
.contact-form-wrap h3 { margin-bottom: 24px; font-size: 1.3rem; }

.form-group { margin-bottom: 20px; }
.form-label {
  display: block; margin-bottom: 8px;
  font-size: 0.85rem; font-weight: 700;
  color: var(--color-navy); font-family: var(--font-ui);
}
.form-control {
  width: 100%; padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
textarea.form-control { min-height: 130px; resize: vertical; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,..."); }

/* ===================================================
   FOOTER
=================================================== */
#site-footer {
  background: #07111C;
  color: rgba(255,255,255,0.7);
}

.footer-top {
  padding: 64px 0 40px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-brand .footer-logo { color: var(--color-white); font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; margin-bottom: 20px; }

.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: background 0.2s;
  color: rgba(255,255,255,0.7);
}
.social-link:hover { background: var(--color-gold); color: var(--color-navy); }

.footer-col h4 { color: var(--color-white); font-size: 0.95rem; margin-bottom: 16px; font-family: var(--font-ui); font-weight: 800; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--color-gold); }

.footer-bottom {
  padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.82rem; color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-links a:hover { color: var(--color-gold); }

/* ===================================================
   WHATSAPP FLOAT
=================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px; left: 28px;
  z-index: 999;
  display: flex; align-items: center; gap: 12px;
  background: #25D366;
  color: var(--color-white);
  padding: 14px 20px;
  border-radius: 50px;
  box-shadow: 0 6px 30px rgba(37,211,102,0.4);
  font-family: var(--font-ui);
  font-weight: 700; font-size: 0.9rem;
  animation: float-bob 3s ease-in-out infinite;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(37,211,102,0.5);
  color: var(--color-white);
}
.whatsapp-float .wa-icon { font-size: 1.4rem; }
@keyframes float-bob {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* ===================================================
   PAGE HEADER
=================================================== */
.page-hero {
  background: var(--color-navy);
  padding: 80px 0 60px;
  text-align: center;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}
.page-hero h1 { color: var(--color-white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.6); font-size: 1.05rem; }
.breadcrumb {
  display: flex; justify-content: center; gap: 8px;
  font-size: 0.82rem; color: rgba(255,255,255,0.45);
  margin-bottom: 20px; font-family: var(--font-ui);
}
.breadcrumb a { color: var(--color-gold); }
.breadcrumb .sep { opacity: 0.4; }

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .steps-grid::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .header-inner { padding: 0 20px; }
  .hero-section { padding: 70px 0 50px; min-height: auto; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .whatsapp-float .wa-text { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; }
  .mobile-menu {
    display: flex; flex-direction: column; gap: 4px;
    background: var(--color-deep);
    padding: 16px;
    position: absolute;
    top: 72px; right: 0; left: 0;
    z-index: 999;
  }
  .mobile-menu a {
    font-family: var(--font-ui);
    color: rgba(255,255,255,0.85);
    padding: 12px 20px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.2s;
  }
  .mobile-menu a:hover { color: var(--color-gold); background: rgba(201,168,76,0.1); }
}

@media (max-width: 480px) {
  .services-grid, .cases-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}

/* ===================================================
   ELEMENTOR COMPATIBILITY
=================================================== */
.elementor-section.elementor-section-full_width .elementor-container { max-width: 100%; }
.e-container, .elementor-container { font-family: var(--font-body); }
.elementor-widget-heading .elementor-heading-title { font-family: var(--font-heading); }
.elementor-button { font-family: var(--font-ui); }
.elementor-section { direction: rtl; }

/* ===================================================
   WORDPRESS DEFAULT STYLES
=================================================== */
.alignleft  { float: right; margin-left: 20px; }
.alignright { float: left;  margin-right: 20px; }
.aligncenter { display: block; margin: 0 auto 20px; }
.wp-caption { border: 1px solid var(--color-border); padding: 8px; border-radius: var(--radius); }
.wp-caption-text { font-size: 0.85rem; color: var(--color-muted); text-align: center; margin-top: 6px; }

.entry-content h1, .entry-content h2,
.entry-content h3, .entry-content h4 { margin: 1.5em 0 0.5em; }
.entry-content ul { list-style: disc; padding-right: 24px; }
.entry-content ol { list-style: decimal; padding-right: 24px; }
.entry-content blockquote {
  border-right: 4px solid var(--color-gold);
  padding: 12px 20px;
  background: var(--color-gold-pale);
  margin: 20px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: normal;
}

/* ===================================================
   MOBILE FIXES — v1.1
=================================================== */

/* منع الـ overflow الأفقي على كل الأجهزة */
html, body {
    overflow-x: hidden;
    max-width: 100%;
}

* {
    max-width: 100%;
}

/* ===================================================
   MOBILE MENU — إعادة بناء كاملة
=================================================== */

/* المينيو مخفي بالكامل افتراضياً */
.mobile-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    opacity: 0;
    background: #111e2e;
    border-top: 1px solid rgba(201,168,76,0.15);
    width: 100%;
}

/* عند الفتح */
.mobile-menu.is-open {
    max-height: 500px;
    opacity: 1;
}

.mobile-menu-inner {
    padding: 12px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-link {
    display: block;
    padding: 13px 16px;
    color: rgba(255,255,255,0.85) !important;
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.2s;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-link:hover,
.mobile-link:active {
    color: var(--color-gold) !important;
    background: rgba(201,168,76,0.08);
}

.mobile-wa-btn {
    margin-top: 12px;
    text-align: center;
    justify-content: center;
    width: 100%;
    border-radius: var(--radius) !important;
}

/* ===================================================
   HERO — إصلاح الأبيض على الموبايل
=================================================== */
.hero-section {
    width: 100%;
    overflow: hidden;
}

.hero-grid {
    width: 100%;
}

/* ===================================================
   GLOBAL — إصلاح الكروت والـ Grid على الموبايل
=================================================== */
@media (max-width: 768px) {
    /* Header */
    .header-inner {
        padding: 0 16px;
        height: 64px;
    }

    .main-nav,
    .header-cta,
    .header-cta * {
        display: none !important;
    }

    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.08);
        border-radius: var(--radius);
        border: 1px solid rgba(255,255,255,0.15);
        color: var(--color-white);
        font-size: 1.2rem;
        cursor: pointer;
        flex-shrink: 0;
    }

    /* Hero */
    .hero-section {
        padding: 56px 0 48px;
        min-height: auto;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-visual {
        display: none;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7vw, 2.4rem);
    }

    .hero-desc {
        font-size: 0.97rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .hero-stats {
        gap: 16px;
        flex-wrap: wrap;
    }

    .hero-stats .stat .num {
        font-size: 1.6rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Steps */
    .steps-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .steps-grid::before {
        display: none;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    /* Cases */
    .cases-grid {
        grid-template-columns: 1fr;
    }

    /* Contact grid */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* Contact form row */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    /* About section grid */
    #about .container > div[style*="grid-template-columns"] {
        display: block !important;
    }

    /* WhatsApp button */
    .whatsapp-float {
        bottom: 20px;
        left: 16px;
        padding: 12px;
        border-radius: 50%;
        width: 52px;
        height: 52px;
        justify-content: center;
    }

    .whatsapp-float .wa-text {
        display: none;
    }

    /* Container padding */
    .container {
        padding: 0 16px;
    }

    /* Section padding */
    .section-pad {
        padding: 56px 0;
    }
}

@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        justify-content: space-between;
    }

    .site-logo .logo-text .name {
        font-size: 0.95rem;
    }

    .site-logo .logo-text .tagline {
        font-size: 0.65rem;
    }
}
