.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -----------------------------------------------------------
   Our Clients — Client Services Showcase
----------------------------------------------------------- */
.clients-section {
  position: relative;
}

.clients-section .section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
}

.clients-section .section-header .section-title {
  display: block;
  width: 100%;
  margin-bottom: 0.75rem;
}

.clients-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.clients-subsection-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.clients-subsection-label::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.client-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.client-services-grid--single {
  grid-template-columns: 1fr;
  width: 100%;
}

.client-service-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  cursor: default;
}

/* عميل واحد — بطاقة بعرض كامل */
.client-service-card--full {
  width: 100%;
}

.client-service-card--full .client-card-layout {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 260px);
  gap: 0;
  align-items: stretch;
}

.client-service-card--full .client-card-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.client-service-card--full .client-card-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.client-service-card--full .client-card-body {
  flex: 1;
  padding: 1.25rem 1.75rem 1.75rem;
}

.client-service-card--full .client-card-body p {
  font-size: 1rem;
  line-height: 1.75;
  max-width: none;
}

.client-service-card--full .client-card-name {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
}

.client-service-card--full .client-card-meta {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem 2rem;
}

.client-service-card--full .client-card-actions--stack {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.75rem;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.15);
}

.client-service-card--full .client-card-actions--stack .btn-view {
  grid-column: unset;
  margin-top: 0.25rem;
}

.client-service-card--full .client-card-actions--stack .btn-whatsapp,
.client-service-card--full .client-card-actions--stack .btn-call,
.client-service-card--full .client-card-actions--stack .btn-view {
  width: 100%;
}

.client-service-card:hover {
  transform: translateY(-6px);
}

.client-card-top {
  padding: 1.75rem 1.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.client-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.client-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.client-badge--verified {
  border-color: rgba(0, 240, 255, 0.35);
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
}

.client-badge--featured {
  border-color: rgba(112, 0, 255, 0.4);
  color: #c9a0ff;
  background: rgba(112, 0, 255, 0.12);
}

.client-badge--available {
  border-color: rgba(37, 211, 102, 0.35);
  color: #7dffb2;
  background: rgba(37, 211, 102, 0.08);
}

.client-card-name {
  font-size: 1.15rem;
  color: #fff;
  margin-bottom: 0.35rem;
  line-height: 1.4;
}

.client-card-title {
  font-size: 1rem;
  font-weight: 600;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
}

.client-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.client-card-meta span {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.client-card-meta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--accent-cyan);
}

.client-card-body {
  padding: 1rem 1.75rem 1.25rem;
  flex: 1;
}

.client-card-body p {
  font-size: 0.92rem;
  line-height: 1.65;
}

/* Phone numbers stay LTR inside Arabic RTL layout */
.phone-ltr,
.client-card-phone a,
.client-detail-hero .hero-phone a,
[data-client-field="phone"] {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.client-card-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
  direction: ltr;
  unicode-bidi: isolate;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.client-card-phone-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.client-card-phone svg {
  width: 1.125rem;
  height: 1.125rem;
  min-width: 1.125rem;
  min-height: 1.125rem;
  max-width: 1.125rem;
  max-height: 1.125rem;
  flex-shrink: 0;
  color: var(--accent-cyan);
}

[dir="rtl"] .client-card-phone {
  flex-direction: row;
}

.client-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  padding: 0 1.75rem 1.75rem;
}

.client-card-actions .btn-view {
  grid-column: 1 / -1;
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.45);
  color: #7dffb2;
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: 0.25s;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.28);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.25);
}

.btn-call {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid rgba(0, 240, 255, 0.35);
  color: var(--accent-cyan);
  text-align: center;
  padding: 0.65rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: 0.25s;
}

.btn-call:hover {
  background: rgba(0, 240, 255, 0.2);
  transform: translateY(-2px);
}

.clients-disclaimer {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* -----------------------------------------------------------
   Client Detail Page
----------------------------------------------------------- */
.client-detail-page main {
  padding-top: 5rem;
}

.client-detail-hero {
  padding: 2rem 0 2.5rem;
  text-align: center;
}

.client-hero-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 1.5rem;
}

.client-hero-logo {
  width: clamp(7.5rem, 18vw, 9.5rem);
  height: clamp(7.5rem, 18vw, 9.5rem);
  padding: 0;
  border: 3px solid rgba(0, 240, 255, 0.35);
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(0, 240, 255, 0.08),
    0 12px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.client-hero-logo:hover,
.client-hero-logo:focus-visible {
  transform: scale(1.04);
  border-color: var(--accent-cyan);
  box-shadow:
    0 0 0 6px rgba(0, 240, 255, 0.15),
    0 16px 48px rgba(0, 240, 255, 0.2);
  outline: none;
}

.client-hero-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

.client-hero-logo-hint {
  margin: 0.75rem 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.client-hero-name {
  font-size: clamp(1.15rem, 3vw, 1.55rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.4;
  max-width: 720px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gallery-lightbox--logo .gallery-lightbox-inner {
  max-width: min(520px, 92vw);
}

.gallery-lightbox--logo .logo-lightbox-img {
  border-radius: 16px;
  background: #fff;
  padding: 0.75rem;
}

/* -----------------------------------------------------------
   Client Gallery — clean responsive grid
----------------------------------------------------------- */
.client-gallery-section {
  padding: 0 0 4rem;
}

.gallery-section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-section-title {
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  margin-bottom: 0.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.gallery-section-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.gallery-section-hint {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-cyan);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 240, 255, 0.25);
  background: rgba(0, 240, 255, 0.06);
}

.client-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.gallery-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: rgba(18, 22, 36, 0.5);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card--featured {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 9;
  max-height: 360px;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  background: rgba(18, 22, 36, 0.8);
}

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(2, 5, 20, 0.8) 0%,
    transparent 55%
  );
  pointer-events: none;
}

.gallery-card-label {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  text-align: start;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 240, 255, 0.12);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

/* Lightbox */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(1, 3, 10, 0.94);
  backdrop-filter: blur(16px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-lightbox.active {
  display: flex;
  opacity: 1;
}

.gallery-lightbox-inner {
  position: relative;
  max-width: min(1100px, 95vw);
  max-height: 85vh;
  width: 100%;
}

.gallery-lightbox-img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.gallery-lightbox-caption {
  text-align: center;
  margin-top: 1rem;
  font-size: 1.05rem;
  color: var(--text-main);
}

.gallery-lightbox-counter {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
  z-index: 10;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-nav:hover {
  background: rgba(0, 240, 255, 0.15);
  border-color: var(--accent-cyan);
}

.gallery-lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.75rem;
  line-height: 1;
}

[dir="rtl"] .gallery-lightbox-close {
  right: auto;
  left: 1.5rem;
}

.gallery-lightbox-prev {
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.gallery-lightbox-next {
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

[dir="rtl"] .gallery-lightbox-prev {
  left: auto;
  right: 1rem;
}

[dir="rtl"] .gallery-lightbox-next {
  right: auto;
  left: 1rem;
}

.gallery-lightbox-nav svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .client-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .gallery-card--featured {
    aspect-ratio: 16 / 9;
    max-height: 240px;
  }
}

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

  .gallery-card--featured {
    max-height: 200px;
  }
}

.client-detail-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  max-width: 900px;
  margin: 0 auto 1rem;
  line-height: 1.35;
}

.client-detail-hero .hero-lead {
  max-width: 760px;
  margin: 0 auto 1.5rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.client-detail-hero .hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.client-detail-hero .hero-phone {
  width: 100%;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 0.5rem;
  direction: ltr;
  unicode-bidi: isolate;
}

.client-detail-layout {
  display: grid;
  gap: 3rem;
  padding-bottom: 6rem;
}

.client-detail-block {
  background: rgba(18, 22, 36, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
}

.client-detail-block h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  color: #fff;
}

.client-detail-block h2 .accent-line {
  display: block;
  width: 40px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.provider-summary {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
}

.provider-summary-item {
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.provider-summary-item dt {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.provider-summary-item dd {
  font-weight: 600;
  color: var(--text-main);
  font-size: 0.95rem;
}

.client-tags-list,
.client-areas-grid,
.client-services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.client-services-list li,
.client-areas-grid li,
.client-tags-list li {
  list-style: none;
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  font-size: 0.88rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
}

.client-why-list {
  display: grid;
  gap: 0.75rem;
}

.client-why-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.client-why-list li::before {
  content: "✓";
  color: var(--accent-cyan);
  font-weight: 700;
  flex-shrink: 0;
}

.client-faq {
  display: grid;
  gap: 1rem;
}

.client-faq details {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 0.25rem 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.client-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #fff;
  padding: 0.85rem 0;
  list-style: none;
}

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

.client-faq details[open] summary {
  color: var(--accent-cyan);
}

.client-faq .faq-answer {
  padding-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.client-related-card {
  display: block;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  transition: 0.3s;
}

.client-related-card:hover {
  border-color: rgba(0, 240, 255, 0.35);
  transform: translateY(-4px);
}

.client-related-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover {
  color: var(--accent-cyan);
}

.breadcrumb span {
  margin: 0 0.4rem;
  opacity: 0.5;
}

/* Sticky mobile CTA — detail page */
.client-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1600;
  padding: 0.75rem 1rem;
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  background: rgba(2, 5, 20, 0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.client-detail-page .whatsapp-sticky {
  bottom: 5.5rem;
}

@media (max-width: 768px) {
  .client-services-grid {
    grid-template-columns: 1fr;
  }

  .client-service-card--full .client-card-layout {
    grid-template-columns: 1fr;
  }

  .client-service-card--full .client-card-actions--stack {
    border-inline-start: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-direction: row;
    flex-wrap: wrap;
    padding: 1.25rem 1.75rem 1.75rem;
  }

  .client-service-card--full .client-card-actions--stack .btn-whatsapp,
  .client-service-card--full .client-card-actions--stack .btn-call {
    flex: 1;
    min-width: calc(50% - 0.4rem);
  }

  .client-service-card--full .client-card-actions--stack .btn-view {
    flex: 1 1 100%;
  }

  .client-mobile-cta {
    display: grid;
  }

  .client-detail-page .whatsapp-sticky {
    display: none;
  }

  .client-detail-page main {
    padding-bottom: 5rem;
  }
}

@media (min-width: 992px) {
  .client-detail-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* SEO: visually hidden keywords for crawlers */
.seo-keywords {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
