/* Brify's existing Tajawal family and identity; services and readable Arabic type. */
.brify-heritage .hero h1 {
  letter-spacing: normal;
  line-height: 1.38;
  font-size: clamp(2.5rem, 4vw, 3.65rem);
}
.brify-heritage .hero-copy > p {
  font-size: 1.125rem;
  line-height: 1.9;
  max-width: 32rem;
  text-wrap: pretty;
}
.brify-heritage .section-heading h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.125rem);
  line-height: 1.5;
  letter-spacing: normal;
}
.brify-heritage .section-heading > p {
  font-size: 1.0625rem;
  line-height: 1.85;
  max-width: 42rem;
  margin-inline: auto;
}
.brify-heritage .services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.brify-heritage .service-card {
  padding: 20px 22px 16px;
  min-width: 0;
  align-items: center;
  text-align: center;
}
.brify-heritage .service-card h3 {
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
  margin-bottom: 8px;
  text-wrap: balance;
}
.brify-heritage .service-card p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 12px;
  color: #4d5e55;
  text-wrap: pretty;
}
.brify-heritage .service-card > a {
  font-size: 1rem;
  min-height: 44px;
  width: fit-content;
  margin-inline: auto;
  justify-content: center;
}
.brify-heritage .service-card .icon-circle { flex-shrink: 0; width: 40px; height: 40px; margin: 0 auto 12px; }
.brify-heritage .service-card .icon-circle svg { width: 24px; height: 24px; }
.brify-heritage .services-detail-link {
  display: flex;
  justify-content: center;
  margin-top: 27px;
}
.brify-heritage .services-detail-link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: #a9bcb0;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.brify-heritage .services-detail-link a:hover { text-decoration-color: currentColor; }
.brify-services-page {
  --navy: #1f5b4f;
  --teal: #2f7a78;
  --ink: #173e37;
  --muted: #4d5e55;
  --line: #e6ddcf;
  background: #f7efe3;
  color: var(--ink);
  font-family: Tajawal, Arial, sans-serif;
}
.brify-services-page .guide-header { background: #fffdf8; }
.brify-services-page .guide-intro { max-width: 48rem; }
.brify-services-page .guide-intro h1 {
  color: #1f5b4f;
  line-height: 1.5;
  letter-spacing: normal;
}
.brify-services-page .guide-intro > p { font-size: 1.125rem; line-height: 1.9; }
.brify-services-page .guide-services { align-items: start; gap: 24px; }
.brify-services-page .guide-services section { background: #fffdf8; padding: 30px; }
.brify-services-page .service-guide h2 { font-size: 1.5rem; line-height: 1.6; color: #1f5b4f; }
.brify-services-page .guide-services p,
.brify-services-page .guide-faq p { font-size: 1.0625rem; line-height: 1.95; }
.brify-services-page .guide-contact .button-navy,
.brify-services-page .guide-intro .button-navy { background: #a94a22; border-color: #a94a22; }
.brify-services-page .deployment-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.brify-services-page .deployment-modes span {
  color: #1f5b4f;
  background: #edf2eb;
  border: 1px solid #d4e0d3;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.6;
}
@media (max-width: 960px) {
  .brify-heritage .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .brify-heritage .hero-copy > p { margin-inline: auto; }
}
@media (max-width: 600px) {
  .brify-heritage .hero h1 { font-size: clamp(2.125rem, 8.6vw, 2.8rem); line-height: 1.4; }
  .brify-heritage .hero-copy > p { font-size: 1.0625rem; line-height: 1.9; max-width: 26rem; }
  .brify-heritage .hero-badge { font-size: 0.875rem; }
  .brify-heritage .services-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .brify-heritage .service-card { padding: 20px 20px 16px; }
  .brify-heritage .service-card h3 { font-size: 1.3125rem; }
  .brify-heritage .service-card p { margin-bottom: 12px; }
  .brify-heritage .services-detail-link { margin-top: 20px; }
  .brify-services-page .guide-services section { padding: 24px 22px; }
  .brify-services-page .service-guide h2 { font-size: 1.375rem; }
}
