/**
 * Cabinet Jamai — Premium Law Firm Design System
 * Matches Homepage (Page ID 1537) typography, colors, cards, and buttons.
 */

:root {
  --cj-primary: #11278f;
  --cj-primary-dark: #0a1758;
  --cj-primary-light: #1e3bb3;
  --cj-gold: #c59b27;
  --cj-gold-hover: #a8811d;
  --cj-gold-light: #faf5e8;
  --cj-text-dark: #1b1e34;
  --cj-text-muted: #555d71;
  --cj-bg-light: #f8f9fc;
  --cj-bg-card: #ffffff;
  --cj-border: rgba(17, 39, 143, 0.08);
  --cj-shadow: 0 10px 30px rgba(17, 39, 143, 0.07);
  --cj-shadow-hover: 0 18px 45px rgba(17, 39, 143, 0.13);
  --cj-radius: 8px;
}

/* ==========================================================================
   Hero Banner
   ========================================================================== */
.cj-hero {
  background: linear-gradient(135deg, #0a1638 0%, #11278f 65%, #19389e 100%);
  color: #ffffff;
  padding: 85px 20px 75px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cj-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at top center, rgba(197, 155, 39, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cj-hero-badge {
  display: inline-block;
  background: rgba(197, 155, 39, 0.2);
  border: 1px solid rgba(197, 155, 39, 0.4);
  color: #f3d47d;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.cj-hero h1 {
  font-family: 'Playfair Display', 'Cormorant Garamond', 'Georgia', serif;
  font-size: 42px;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 16px;
  line-height: 1.25;
}

.cj-hero-subtitle {
  font-size: 18px;
  color: #d8deeb;
  max-width: 760px;
  margin: 0 auto 20px;
  line-height: 1.6;
  font-weight: 300;
}

.cj-gold-divider {
  width: 50px;
  height: 3px;
  background: var(--cj-gold);
  margin: 18px auto 0;
  border-radius: 2px;
}

.cj-breadcrumbs {
  font-size: 13px;
  color: #9eb1d9;
  margin-top: 15px;
}
.cj-breadcrumbs a {
  color: #f3d47d;
  text-decoration: none;
}
.cj-breadcrumbs a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Layout Containers & Grid
   ========================================================================== */
.cj-section {
  padding: 70px 20px;
  background: var(--cj-bg-light);
}

.cj-section-white {
  background: #ffffff;
}

.cj-container {
  max-width: 1180px;
  margin: 0 auto;
}

.cj-section-header {
  text-align: center;
  margin-bottom: 50px;
}

.cj-section-tag {
  color: var(--cj-gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 10px;
}

.cj-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  color: var(--cj-text-dark);
  margin: 0 0 14px;
  line-height: 1.3;
}

.cj-section-desc {
  font-size: 16px;
  color: var(--cj-text-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.cj-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.cj-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.cj-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* ==========================================================================
   Cards
   ========================================================================== */
.cj-card {
  background: var(--cj-bg-card);
  border: 1px solid var(--cj-border);
  border-radius: var(--cj-radius);
  padding: 34px 30px;
  box-shadow: var(--cj-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}

.cj-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--cj-shadow-hover);
  border-color: rgba(197, 155, 39, 0.4);
}

.cj-card-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: var(--cj-gold-light);
  color: var(--cj-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  transition: all 0.3s ease;
}

.cj-card:hover .cj-card-icon {
  background: var(--cj-primary);
  color: #ffffff;
}

.cj-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--cj-text-dark);
  margin: 0 0 12px;
  line-height: 1.35;
}

.cj-card p {
  color: var(--cj-text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 18px;
  flex-grow: 1;
}

.cj-card-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.cj-card-features li {
  font-size: 14px;
  color: var(--cj-text-dark);
  padding: 6px 0 6px 22px;
  position: relative;
  line-height: 1.5;
}

.cj-card-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--cj-gold);
  font-weight: 700;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.cj-btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 15px;
}

.cj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}

.cj-btn-gold {
  background: var(--cj-gold);
  color: #ffffff !important;
}
.cj-btn-gold:hover {
  background: var(--cj-gold-hover);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(197, 155, 39, 0.35);
}

.cj-btn-navy {
  background: var(--cj-primary);
  color: #ffffff !important;
}
.cj-btn-navy:hover {
  background: var(--cj-primary-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(17, 39, 143, 0.3);
}

.cj-btn-whatsapp {
  background: #25d366;
  color: #ffffff !important;
}
.cj-btn-whatsapp:hover {
  background: #20ba5a;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.cj-btn-outline {
  background: transparent;
  color: var(--cj-primary) !important;
  border: 1.5px solid var(--cj-primary);
}
.cj-btn-outline:hover {
  background: var(--cj-primary);
  color: #ffffff !important;
}

.cj-btn-outline-gold {
  background: transparent;
  color: var(--cj-gold) !important;
  border: 1.5px solid var(--cj-gold);
}
.cj-btn-outline-gold:hover {
  background: var(--cj-gold);
  color: #ffffff !important;
}

/* ==========================================================================
   Methodology & Process Steps
   ========================================================================== */
.cj-process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.cj-step-card {
  background: #ffffff;
  border: 1px solid var(--cj-border);
  border-radius: var(--cj-radius);
  padding: 30px 24px;
  position: relative;
  text-align: center;
}

.cj-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cj-gold);
  color: #ffffff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.cj-step-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--cj-text-dark);
  margin: 0 0 10px;
}

.cj-step-card p {
  font-size: 14px;
  color: var(--cj-text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   FAQ Accordions
   ========================================================================== */
.cj-faq-list {
  max-width: 860px;
  margin: 0 auto;
}

.cj-faq-item {
  background: #ffffff;
  border: 1px solid var(--cj-border);
  border-radius: var(--cj-radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color 0.25s;
}

.cj-faq-item[open] {
  border-color: var(--cj-gold);
  box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.cj-faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  color: var(--cj-text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.cj-faq-item summary::-webkit-details-marker {
  display: none;
}

.cj-faq-item summary::after {
  content: '+';
  font-size: 22px;
  color: var(--cj-gold);
  font-weight: 400;
  transition: transform 0.2s;
}

.cj-faq-item[open] summary::after {
  content: '−';
  color: var(--cj-primary);
}

.cj-faq-answer {
  padding: 0 24px 22px;
  font-size: 15px;
  color: var(--cj-text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   Special SOS MRE Banner
   ========================================================================== */
.cj-alert-mre {
  background: linear-gradient(135deg, #0a1758 0%, #11278f 100%);
  color: #ffffff;
  border-radius: var(--cj-radius);
  padding: 45px 40px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border-left: 6px solid var(--cj-gold);
}

.cj-alert-mre h3 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  color: #ffffff;
  margin: 0 0 10px;
}

.cj-alert-mre p {
  font-size: 16px;
  color: #d1dcfa;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   Contact Info Grid
   ========================================================================== */
.cj-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.cj-contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cj-contact-item {
  display: flex;
  gap: 18px;
  background: #ffffff;
  padding: 22px;
  border-radius: var(--cj-radius);
  border: 1px solid var(--cj-border);
}

.cj-contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cj-gold-light);
  color: var(--cj-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.cj-contact-item h4 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--cj-text-muted);
  margin: 0 0 4px;
}

.cj-contact-item p {
  font-size: 16px;
  color: var(--cj-text-dark);
  font-weight: 600;
  margin: 0;
}

.cj-contact-item a {
  color: var(--cj-primary);
  text-decoration: none;
}
.cj-contact-item a:hover {
  color: var(--cj-gold);
}

/* ==========================================================================
   RTL (Arabic) Overrides
   ========================================================================== */
body.rtl, [dir="rtl"] {
  direction: rtl;
  text-align: right;
}

body.rtl .cj-hero, [dir="rtl"] .cj-hero {
  text-align: center;
}

body.rtl .cj-card-features li, [dir="rtl"] .cj-card-features li {
  padding: 6px 22px 6px 0;
}

body.rtl .cj-card-features li::before, [dir="rtl"] .cj-card-features li::before {
  left: auto;
  right: 0;
}

body.rtl .cj-alert-mre, [dir="rtl"] .cj-alert-mre {
  border-left: none;
  border-right: 6px solid var(--cj-gold);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .cj-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cj-process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .cj-hero {
    padding: 60px 16px 50px;
  }
  .cj-hero h1 {
    font-size: 30px;
  }
  .cj-hero-subtitle {
    font-size: 16px;
  }
  .cj-section {
    padding: 50px 16px;
  }
  .cj-section-title {
    font-size: 26px;
  }
  .cj-grid-2,
  .cj-grid-3,
  .cj-grid-4,
  .cj-contact-grid,
  .cj-process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cj-alert-mre {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }
  .cj-btn-group {
    justify-content: center;
  }
}

/* ==========================================================================
   Additional Components for Expanded Institutional Pages
   ========================================================================== */

/* 1. Hero Split (Photo + Text) */
.cj-hero-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}
.cj-hero-split-content {
  flex: 1.2;
}
.cj-hero-split-media {
  flex: 0.8;
  display: flex;
  justify-content: center;
}
.cj-hero-portrait {
  width: 320px;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
  border: 4px solid rgba(197, 155, 39, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

/* 2. Editorial Story & Bio Sections */
.cj-story-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 40px;
  border-left: 4px solid #c59b27;
  box-shadow: 0 4px 20px rgba(10, 23, 88, 0.05);
  margin-bottom: 30px;
}
.cj-story-card p {
  color: #334155;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 18px;
}
.cj-quote-callout {
  background: #fdfbf6;
  border-radius: 10px;
  padding: 24px 30px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 19px;
  color: #0a1758;
  border-left: 3px solid #c59b27;
  margin: 25px 0;
}

/* 3. Values Grid (6 Cards) */
.cj-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.cj-value-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px 24px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.cj-value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 23, 88, 0.09);
  border-color: #c59b27;
}
.cj-value-icon {
  width: 52px;
  height: 52px;
  background: rgba(197, 155, 39, 0.1);
  color: #c59b27;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.cj-value-card h3 {
  font-size: 20px;
  color: #0a1758;
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
}
.cj-value-card p {
  color: #64748b;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

/* 4. Timeline / Method (6 Steps) */
.cj-method-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.cj-method-step {
  background: #ffffff;
  border: 1px solid #e6ecfa;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  transition: all 0.3s ease;
}
.cj-method-step:hover {
  border-color: #c59b27;
  box-shadow: 0 10px 25px rgba(10, 23, 88, 0.06);
}
.cj-step-number {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: #c59b27;
  margin-bottom: 12px;
  display: block;
}
.cj-method-step h3 {
  font-size: 19px;
  color: #0a1758;
  margin-bottom: 10px;
}
.cj-method-step p {
  color: #556987;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* 5. Audience Blocks (Particuliers / Entreprises / MRE) */
.cj-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.cj-audience-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 35px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}
.cj-audience-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(10, 23, 88, 0.08);
  border-color: #c59b27;
}
.cj-audience-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(10, 23, 88, 0.06);
  color: #0a1758;
  margin-bottom: 16px;
  align-self: flex-start;
}
.cj-audience-card h3 {
  font-size: 22px;
  color: #0a1758;
  margin-bottom: 14px;
  font-family: 'Playfair Display', serif;
}
.cj-audience-card p {
  color: #64748b;
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 20px;
}
.cj-audience-list {
  list-style: none;
  padding: 0;
  margin: 0 0 25px 0;
}
.cj-audience-list li {
  font-size: 14px;
  color: #334155;
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cj-audience-list li::before {
  content: '✓';
  color: #c59b27;
  font-weight: bold;
}

/* 6. Gallery with Lightbox */
.cj-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cj-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}
.cj-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cj-gallery-item:hover img {
  transform: scale(1.06);
}
.cj-gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 23, 88, 0.85) 0%, transparent 100%);
  padding: 20px 16px 14px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

/* Lightbox Modal */
.cj-lightbox-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 14, 54, 0.95);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.cj-lightbox-modal.cj-active {
  display: flex;
}
.cj-lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  border: 2px solid rgba(197, 155, 39, 0.5);
}
.cj-lightbox-close {
  position: absolute;
  top: 25px;
  right: 35px;
  color: #ffffff;
  font-size: 36px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}
.cj-lightbox-close:hover {
  color: #c59b27;
}

/* 7. Dark Engagement Section */
.cj-dark-engagement {
  background: linear-gradient(135deg, #060e36 0%, #0a1758 100%);
  padding: 70px 20px;
  border-radius: 16px;
  color: #ffffff;
  text-align: center;
  margin: 40px auto;
  max-width: 1200px;
  box-shadow: 0 15px 40px rgba(10, 23, 88, 0.15);
  position: relative;
  overflow: hidden;
}
.cj-dark-engagement::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(197, 155, 39, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cj-dark-engagement h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #ffffff;
  margin-bottom: 16px;
}
.cj-dark-engagement p {
  color: #cbd5e1;
  font-size: 16.5px;
  max-width: 800px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* 8. Interactive FAQ Component */
.cj-faq-container {
  max-width: 900px;
  margin: 0 auto;
}
.cj-faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  margin-bottom: 14px;
  transition: all 0.25s ease;
  overflow: hidden;
}
.cj-faq-item[open] {
  border-color: #c59b27;
  box-shadow: 0 4px 15px rgba(10, 23, 88, 0.05);
}
.cj-faq-question {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  color: #0a1758;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.cj-faq-question::-webkit-details-marker {
  display: none;
}
.cj-faq-question::after {
  content: '+';
  font-size: 22px;
  color: #c59b27;
  transition: transform 0.2s ease;
  font-weight: 400;
}
.cj-faq-item[open] .cj-faq-question::after {
  content: '−';
}
.cj-faq-answer {
  padding: 0 24px 22px;
  color: #475569;
  font-size: 15px;
  line-height: 1.7;
}

/* 9. Guides & Resource Cards */
.cj-guides-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}
.cj-guide-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}
.cj-guide-card:hover {
  transform: translateY(-4px);
  border-color: #c59b27;
  box-shadow: 0 10px 25px rgba(10, 23, 88, 0.07);
}
.cj-guide-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 4px;
  background: #fdfbf6;
  color: #c59b27;
  border: 1px solid rgba(197, 155, 39, 0.3);
  margin-bottom: 14px;
  align-self: flex-start;
}
.cj-guide-card h3 {
  font-size: 20px;
  color: #0a1758;
  margin-bottom: 12px;
  font-family: 'Playfair Display', serif;
}
.cj-guide-card p {
  color: #64748b;
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 20px;
}

/* 10. Urgence Juridique Box */
.cj-urgence-box {
  background: #ffffff;
  border: 2px solid #e11d48;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 12px 35px rgba(225, 29, 72, 0.1);
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.cj-urgence-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffe4e6;
  color: #be123c;
  font-weight: 700;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.cj-urgence-indicator::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #e11d48;
  border-radius: 50%;
  animation: cj-pulse 1.5s infinite;
}
@keyframes cj-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(225, 29, 72, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); }
}

/* 11. Responsive Overrides for New Components */
@media (max-width: 992px) {
  .cj-hero-split {
    flex-direction: column-reverse;
    text-align: center;
  }
  .cj-values-grid,
  .cj-method-grid,
  .cj-audience-grid,
  .cj-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cj-guides-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .cj-values-grid,
  .cj-method-grid,
  .cj-audience-grid,
  .cj-gallery-grid {
    grid-template-columns: 1fr;
  }
  .cj-hero-portrait {
    width: 240px;
    height: 290px;
  }
  .cj-dark-engagement {
    padding: 40px 16px;
  }
  .cj-dark-engagement h2 {
    font-size: 24px;
  }
}

/* 12. RTL Support for New Components */
body.rtl .cj-hero-split {
  text-align: right;
}
body.rtl .cj-story-card {
  border-left: none;
  border-right: 4px solid #c59b27;
}
body.rtl .cj-quote-callout {
  border-left: none;
  border-right: 3px solid #c59b27;
}
body.rtl .cj-audience-list li {
  direction: rtl;
}


/* ==========================================================================
   13. Premium Editorial Sections (50/50 Alternating Layouts)
   ========================================================================== */
.cj-editorial-section {
  padding: 70px 0;
  position: relative;
}
.cj-editorial-section:nth-of-type(even) {
  background: #f8fafc;
}
.cj-editorial-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 55px;
  align-items: center;
}
.cj-editorial-media {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(10, 23, 88, 0.09);
  background: #0a1638;
}
.cj-editorial-media img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
.cj-editorial-media:hover img {
  transform: scale(1.02);
}
.cj-editorial-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cj-editorial-eyebrow {
  display: inline-block;
  color: #c59b27;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cj-editorial-title {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #0a1758;
  line-height: 1.25;
  margin: 0 0 20px 0;
  font-weight: 700;
}
.cj-editorial-lead {
  color: #334155;
  font-size: 16.5px;
  line-height: 1.8;
  margin-bottom: 16px;
}
.cj-editorial-text {
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 20px;
}
.cj-editorial-quote {
  border-left: 3px solid #c59b27;
  padding: 12px 18px;
  margin: 18px 0 24px;
  background: rgba(197, 155, 39, 0.05);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #1e293b;
  font-size: 14.5px;
  line-height: 1.7;
}

@media (max-width: 960px) {
  .cj-editorial-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .cj-editorial-media img {
    height: 380px;
  }
  .cj-editorial-title {
    font-size: 26px;
  }
}
@media (max-width: 640px) {
  .cj-editorial-section {
    padding: 45px 0;
  }
  .cj-editorial-media img {
    height: 320px;
  }
  .cj-editorial-title {
    font-size: 23px;
  }
}










/* ==========================================================================
   14. GLOBAL STICKY & MOBILE HEADER NAVIGATION (PREMIUM UX)
   ========================================================================== */

/* --- GLOBAL DEFAULTS (HIDE ALL MOBILE-SPECIFIC ELEMENTS ON DESKTOP) --- */
.jml-drawer-footer,
.jml-mobile-right-group,
.jml-mobile-top-lang,
.jml-drawer-backdrop,
.jml-mobile-action-item {
  display: none !important;
}

/* --- DESKTOP STICKY NAVBAR (> 1024px) --- */
@media (min-width: 1025px) {
  .jml-nav-actions {
    display: flex !important;
  }
  .jml-hamburger {
    display: none !important;
  }
  .jml-drawer-footer,
  .jml-mobile-right-group,
  .jml-mobile-top-lang,
  .jml-drawer-backdrop {
    display: none !important;
  }

  .jml-nav-placeholder {
    display: none;
    width: 100%;
    visibility: hidden;
    pointer-events: none;
  }

  .jml-main-nav.jml-is-sticky {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    z-index: 999999 !important;
    background: #ffffff !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(10, 23, 88, 0.08) !important;
    box-shadow: 0 4px 20px rgba(10, 23, 88, 0.08) !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    animation: jmlStickySlideDown 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes jmlStickySlideDown {
    from {
      transform: translateY(-100%);
      opacity: 0.85;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  body.admin-bar .jml-main-nav.jml-is-sticky {
    top: 32px !important;
  }

  .jml-main-nav.jml-is-sticky .jml-nav-inner {
    height: 52px;
  }

  .jml-sticky-brand {
    display: none;
    align-items: center;
    text-decoration: none !important;
    margin-right: 1.5rem;
    flex-shrink: 0;
  }
  .jml-sticky-brand img {
    height: 34px;
    width: auto;
    max-width: 100%;
    display: block;
    transition: transform 0.2s ease;
  }
  .jml-sticky-brand img:hover {
    transform: scale(1.02);
  }

  @media (min-width: 1240px) {
    .jml-main-nav.jml-is-sticky .jml-sticky-brand {
      display: flex;
    }
  }

  .jml-main-nav.jml-is-sticky .jml-dropdown-menu {
    z-index: 1000000 !important;
    box-shadow: 0 16px 35px rgba(10, 23, 88, 0.14) !important;
  }
}

/* --- MOBILE & TABLET COMPACT STICKY HEADER (<= 1024px) --- */
@media (max-width: 1024px) {
  /* 1. Hide Desktop News Ticker, Contact Bar, and Desktop Actions on Mobile */
  .elementor-element-5556a94 {
    display: none !important;
  }
  .jml-contact-bar {
    display: none !important;
  }
  .jml-nav-actions {
    display: none !important;
  }

  /* 2. Top-level Header Container takes exact 60px height */
  header.elementor-location-header {
    height: 60px !important;
    display: block !important;
    position: relative !important;
    z-index: 999999 !important;
    background: #ffffff !important;
  }
  body.admin-bar header.elementor-location-header {
    height: 106px !important;
  }

  /* 3. Main Navigation Bar is Permanently Fixed at Top on Mobile */
  .jml-main-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 60px !important;
    z-index: 999999 !important;
    background: #ffffff !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(10, 23, 88, 0.08) !important;
    box-shadow: 0 2px 10px rgba(10, 23, 88, 0.06) !important;
    margin: 0 !important;
  }
  body.admin-bar .jml-main-nav {
    top: 46px !important;
  }

  /* 4. Nav Inner Container (Height: 60px, vertically centered, no horizontal scroll) */
  .jml-main-nav .jml-nav-inner {
    position: relative !important;
    z-index: 1001 !important;
    height: 60px !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
  }

  /* 5. Mobile Brand Logo */
  .jml-sticky-brand {
    display: flex !important;
    align-items: center !important;
    margin-right: auto !important;
  }
  .jml-sticky-brand img {
    height: 36px !important;
    width: auto !important;
    max-width: 140px !important;
    object-fit: contain !important;
    display: block !important;
  }

  /* 6. Mobile Right Action Group (Language switch + Hamburger) */
  .jml-mobile-right-group {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .jml-mobile-top-lang {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 34px !important;
    padding: 0 10px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    font-size: 0.82rem !important;
    font-weight: 600 !important;
    color: #0a1758 !important;
    background: #fdfbf6 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.2s ease !important;
  }
  .jml-mobile-top-lang:hover {
    border-color: #c59b27 !important;
    color: #c59b27 !important;
  }

  /* 7. Animated Hamburger (☰ -> ×) */
  .jml-hamburger {
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    width: 26px !important;
    height: 18px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    z-index: 10001 !important;
    position: relative !important;
  }
  .jml-hamburger span {
    display: block !important;
    width: 100% !important;
    height: 2.5px !important;
    background: #0a1758 !important;
    border-radius: 2px !important;
    transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease !important;
    transform-origin: center !important;
  }
  .jml-hamburger.jml-open span:nth-child(1) {
    transform: translateY(7.75px) rotate(45deg) !important;
    background: #c59b27 !important;
  }
  .jml-hamburger.jml-open span:nth-child(2) {
    opacity: 0 !important;
  }
  .jml-hamburger.jml-open span:nth-child(3) {
    transform: translateY(-7.75px) rotate(-45deg) !important;
    background: #c59b27 !important;
  }

  /* 8. Drawer Backdrop Overlay (under nav-links, above page body) */
  .jml-drawer-backdrop {
    display: none !important;
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: calc(100dvh - 60px) !important;
    background: rgba(10, 23, 88, 0.45) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 999 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease !important;
  }
  body.jml-drawer-open .jml-drawer-backdrop {
    display: block !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  body.admin-bar .jml-drawer-backdrop {
    top: 106px !important;
    height: calc(100dvh - 106px) !important;
  }

  /* 9. Mobile Drawer Menu (above backdrop, below nav-inner) */
  .jml-nav-links {
    position: fixed !important;
    top: 60px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 20px 40px rgba(10, 23, 88, 0.12) !important;
    transition: max-height 0.35s ease, opacity 0.25s ease !important;
    z-index: 1000 !important;
    border-top: 1px solid #eef2f6 !important;
    -webkit-overflow-scrolling: touch !important;
    padding: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    flex-direction: column !important;
  }
  .jml-nav-links.jml-open {
    max-height: calc(100dvh - 60px) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    overflow-y: auto !important;
    padding-bottom: 25px !important;
  }
  body.admin-bar .jml-nav-links {
    top: 106px !important;
  }
  body.admin-bar .jml-nav-links.jml-open {
    max-height: calc(100dvh - 106px) !important;
  }

  /* 10. Drawer Navigation Items & Accordions */
  .jml-nav-links > li {
    width: 100% !important;
    display: block !important;
    border-bottom: 1px solid #f1f5f9 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .jml-nav-links > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 48px !important;
    padding: 14px 20px !important;
    font-family: 'Marcellus', 'Inter', serif !important;
    font-size: 1.02rem !important;
    font-weight: 600 !important;
    color: #0a1758 !important;
    text-decoration: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .jml-nav-links > li > a::before {
    display: none !important;
  }
  .jml-nav-links > li.jml-active > a {
    color: #c59b27 !important;
  }

  .jml-chevron {
    font-size: 1.1rem !important;
    color: #c59b27 !important;
    transition: transform 0.25s ease !important;
    display: inline-block !important;
  }
  .jml-has-dropdown.jml-mobile-open > a .jml-chevron {
    transform: rotate(180deg) !important;
  }

  /* 11. Accordion Submenu */
  .jml-dropdown-menu {
    position: static !important;
    max-height: 0 !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0 !important;
    border-top: none !important;
    box-shadow: none !important;
    width: 100% !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  .jml-has-dropdown.jml-mobile-open > .jml-dropdown-menu {
    max-height: 1200px !important;
    padding: 6px 0 !important;
    border-top: 1px solid #eef2f6 !important;
  }

  .jml-dropdown-menu a {
    display: flex !important;
    align-items: center !important;
    min-height: 44px !important;
    padding: 10px 24px 10px 32px !important;
    font-size: 0.92rem !important;
    color: #334155 !important;
    font-weight: 500 !important;
    border-bottom: 1px solid #edf2f7 !important;
    text-decoration: none !important;
    white-space: normal !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
  }
  .jml-dropdown-menu a:hover {
    color: #c59b27 !important;
    background: #fdfbf6 !important;
  }

  .jml-dropdown-wide {
    display: block !important;
    min-width: 100% !important;
    padding: 0 !important;
  }
  .jml-dropdown-col-title {
    padding: 10px 20px 6px 28px !important;
    background: #edf2f7 !important;
    color: #0a1758 !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    display: block !important;
  }

  /* 12. Drawer Footer: Contact & Full-Width Gold Button */
  .jml-drawer-footer {
    display: block !important;
    width: 100% !important;
    border-top: 2px solid #eef2f6 !important;
    background: #ffffff !important;
    padding: 18px 20px !important;
    box-sizing: border-box !important;
  }
  .jml-drawer-contact-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
  }
  .jml-drawer-contact-link {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 0.86rem !important;
    font-weight: 600 !important;
    color: #0a1758 !important;
    text-decoration: none !important;
  }
  .jml-drawer-whatsapp {
    color: #16a34a !important;
  }
  .jml-drawer-cta-wrap {
    width: 100% !important;
  }
  .jml-drawer-cta-gold {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    background: linear-gradient(135deg, #c59b27 0%, #b3891d 100%) !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(197, 155, 39, 0.35) !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
  }
  .jml-drawer-cta-gold:hover {
    background: linear-gradient(135deg, #d4aa33 0%, #c59b27 100%) !important;
    box-shadow: 0 6px 18px rgba(197, 155, 39, 0.45) !important;
    color: #ffffff !important;
  }
}

/* 13. Body Scroll Lock */
body.jml-drawer-open {
  overflow: hidden !important;
  touch-action: none !important;
}

/* 14. RTL (Arabic) Adjustments */
body.rtl .jml-sticky-brand {
  margin-right: 0 !important;
  margin-left: auto !important;
}
body.rtl .jml-main-nav .jml-nav-inner {
  direction: rtl !important;
}
body.rtl .jml-nav-links {
  text-align: right !important;
}
body.rtl .jml-dropdown-menu a {
  padding: 10px 32px 10px 24px !important;
  text-align: right !important;
}
body.rtl .jml-dropdown-col-title {
  padding: 10px 28px 6px 20px !important;
  text-align: right !important;
}
