/* ============================================================
   LAYOUT
   ============================================================ */
.container { width:100%; max-width:1200px; margin:0 auto; padding:0 24px; }

/* ============================================================
   UNIFIED SECTION TITLE SYSTEM
   Used across all sections for consistent visual language
   ============================================================ */
.section-title-block {
  margin-bottom: 48px;
}
.section-title-block--center {
  text-align: center;
}
.section-title-block--white {
  margin-bottom: 32px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clr-red);
  margin-bottom: 12px;
}
.section-eyebrow--white {
  color: rgba(255,255,255,0.7);
}

.section-heading {
  font-family: var(--ff-display);
  font-weight: 900;
  font-size: clamp(32px, 5vw, 56px);
  color: var(--clr-dark);
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin-bottom: 16px;
}
.section-heading--white {
  color: var(--clr-white);
}
.heading-accent {
  color: var(--clr-red);
}

.section-heading-line {
  width: 48px;
  height: 3px;
  background: var(--clr-red);
  border-radius: 2px;
}
.section-title-block--center .section-heading-line {
  margin: 0 auto;
}
.section-heading-line--white {
  background: rgba(255,255,255,0.4);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display:inline-flex; align-items:center; gap:8px;
  font-family:var(--ff-display); font-weight:600; font-size:14px;
  letter-spacing:0.02em; padding:10px 24px; border-radius:100px;
  transition:all 0.25s var(--ease-out-expo); white-space:nowrap;
}
.btn--solid   { background:var(--clr-red); color:var(--clr-white); border:2px solid var(--clr-red); }
.btn--solid:hover,.btn--solid:focus-visible  { background:var(--clr-red-dark); border-color:var(--clr-red-dark); transform:translateY(-2px); }
.btn--outline { background:transparent; color:var(--clr-red); border:2px solid var(--clr-red); }
.btn--outline:hover,.btn--outline:focus-visible { background:var(--clr-red); color:var(--clr-white); transform:translateY(-2px); }
.btn--ghost   { background:rgba(255,255,255,.12); color:var(--clr-white); border:2px solid rgba(255,255,255,.5); backdrop-filter:blur(8px); }
.btn--ghost:hover,.btn--ghost:focus-visible { background:rgba(255,255,255,.25); border-color:var(--clr-white); transform:translateY(-2px); }
.btn--lg  { font-size:16px; padding:14px 36px; }
.btn--md  { font-size:14px; padding:12px 28px; }
.btn--full{ width:100%; justify-content:center; }
.btn:focus-visible { outline:3px solid var(--clr-red); outline-offset:3px; }

/* ============================================================
   CTA PULSE — box-shadow only (NO transform/scale)
   ✅ لا رعشة في الموبايل  ✅ لا خلفية حمراء عند الـ scroll
   ✅ الـ pulse واضح وقوي  ✅ معزول في composite layer
   ============================================================ */
@keyframes ctaPulse {
  0%   { box-shadow: 0 0 0 0   rgba(204, 31, 43, 0.70); }
  50%  { box-shadow: 0 0 0 12px rgba(204, 31, 43, 0.00); }
  100% { box-shadow: 0 0 0 0   rgba(204, 31, 43, 0.00); }
}

.btn--pulse {
  /* عزل الزر في layer مستقل — يمنع تداخل الـ scroll مع الـ animation */
  transform: translateZ(0);
  will-change: box-shadow;
  animation: ctaPulse 2s ease-out infinite;
}

.btn--pulse:hover,
.btn--pulse:focus-visible {
  animation-play-state: paused;
  box-shadow: 0 0 0 14px rgba(204, 31, 43, 0.00);
}

/* على الموبايل: توقف الـ pulse تماماً لتوفير الأداء */
@media (max-width: 768px) {
  .btn--pulse {
    animation: none;
    /* عوضاً عن الـ pulse نضيف border أحمر ثابت يخلي الزر واضح */
    box-shadow: 0 0 0 3px rgba(204, 31, 43, 0.45);
  }
}
