/* =====================================================
   COMPONENTS — Buttons, Cards, Badges, Sections
   ===================================================== */

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--r);
  font-size: 14px;
  font-weight: 700;
  font-family: var(--font);
  cursor: pointer;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
  line-height: 1.4;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* أنواع الأزرار */
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--red-hover);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(119,4,4,.36);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border-color: var(--border);
}
.btn-ghost:hover {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border-2);
}

.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--red-light);
  color: var(--red);
}

/* أحجام الأزرار */
.btn-sm { padding: .5rem 1.1rem; font-size: 13px; border-radius: var(--r-sm); }
.btn-lg { padding: .95rem 2.25rem; font-size: 16px; }
.btn-xl { padding: 1.1rem 2.75rem; font-size: 17px; border-radius: var(--r-lg); }
.btn-full { width: 100%; }

/* ===== Section Header ===== */
.section-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  padding: .35rem .85rem;
  border-radius: var(--r-full);
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: .6rem;
}
.section-subtitle {
  font-size: 15px;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.7;
}
.section-header-center {
  text-align: center;
}
.section-header-center .section-subtitle {
  margin-inline: auto;
}

/* ===== Feature Cards (لماذا ذبيحة؟) ===== */
.feature-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--red-border);
}
.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--red-light);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  transition: background .2s, transform .2s;
}
.feature-card:hover .feature-icon {
  background: var(--red);
  transform: scale(1.08) rotate(-3deg);
}
.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--red);
  transition: color .2s;
}
.feature-card:hover .feature-icon svg { color: var(--white); }
.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: .4rem;
  color: var(--text);
}
.feature-card p {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.65;
  margin: 0;
}

/* ===== Trust Badges الشارات ===== */
.trust-strip {
  background: var(--bg);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: .85rem 0;
}
.trust-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-2);
  white-space: nowrap;
}
.trust-badge svg { width: 15px; height: 15px; color: var(--green); flex-shrink: 0; }

/* Trust badges في صفحة المنتج */
.product-trust {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  padding: 1rem;
  background: var(--bg);
  border-radius: var(--r);
  border: 1px solid var(--border);
  margin: 1.25rem 0;
}
.product-trust-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-2);
}
.product-trust-item svg { width: 14px; height: 14px; color: var(--green); }

/* ===== Testimonial Card ===== */
.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  transition: box-shadow .2s, transform .2s;
}
.testimonial-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: .85rem;
}
.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--gold);
  color: var(--gold);
}
.testimonial-text {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.75;
  margin-bottom: 1rem;
  font-style: italic;
}
.testimonial-text::before { content: '"'; }
.testimonial-text::after  { content: '"'; }
.testimonial-author {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: var(--r-full);
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: var(--red);
  flex-shrink: 0;
}
.testimonial-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.testimonial-location {
  font-size: 12px;
  color: var(--text-3);
}

/* ===== Process Steps (رحلة ذبيحة) ===== */
.process-step {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.process-step:last-child { border-bottom: none; }

.process-img {
  width: 110px;
  height: 110px;
  border-radius: var(--r-lg);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.process-number {
  font-size: 48px;
  font-weight: 900;
  color: rgba(255,255,255,.08);
  line-height: 1;
  margin-bottom: .25rem;
}
.process-step h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .4rem;
}
.process-step p {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin: 0;
}

/* ===== Stats ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.stat-item {
  background: var(--white);
  padding: 1.5rem 1rem;
  text-align: center;
}
.stat-number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  margin-bottom: .3rem;
}
.stat-label {
  font-size: 12px;
  color: var(--text-2);
  font-weight: 600;
}

/* ===== Page Hero (للصفحات الداخلية) ===== */
.page-hero {
  background: linear-gradient(135deg, hsl(358,55%,18%) 0%, hsl(358,60%,32%) 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.04'%3E%3Cpath d='M20 20c0-5.523-4.477-10-10-10S0 14.477 0 20s4.477 10 10 10 10-4.477 10-10zm10 0c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10-10-4.477-10-10z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 900;
  color: var(--white);
  position: relative;
  margin-bottom: .5rem;
}
.page-hero p {
  font-size: 15px;
  color: rgba(255,255,255,.82);
  position: relative;
  margin: 0;
}

/* Breadcrumb */
.breadcrumb {
  padding: .85rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
}
.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: .4rem;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-2); transition: color .2s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb svg { width: 12px; height: 12px; }
.breadcrumb span { color: var(--text); font-weight: 600; }

/* ===== Section spacing ===== */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }
.section-bg { background: var(--bg); }
.section-dark { background: var(--bg-dark); }

@media (max-width: 768px) {
  .section    { padding: 3rem 0; }
  .section-lg { padding: 4rem 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step { flex-direction: column; text-align: center; gap: 1rem; }
  .process-img { width: 90px; height: 90px; }
}