/* ============================================================
   TAGS  |  الإصدار الثالث من التصميم
   هيدر جديد + حركات + عربي/إنجليزي + دارك/لايت
   يعتمد على متغيرات style.css
   ============================================================ */

:root {
  --tg-ring: color-mix(in srgb, var(--brand) 22%, transparent);
  --tg-glass: color-mix(in srgb, var(--surface) 86%, transparent);
}

/* ---------- خلفية الصفحة الشفافة ---------- */
body { position: relative; }
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(1100px 520px at 85% -10%, color-mix(in srgb, var(--brand) 9%, transparent), transparent 65%),
    radial-gradient(900px 480px at 0% 15%, color-mix(in srgb, var(--teal) 8%, transparent), transparent 60%);
}

/* الرئيسية: الخلفية الشفافة من تحت الأقسام المختارة في إعدادات المظهر */
body.has-page-bg.page-home.page-bg-sec-why .tg-why-showcase,
body.has-page-bg.page-home.page-bg-sec-top_services .tg-top-services,
body.has-page-bg.page-home.page-bg-sec-services #services,
body.has-page-bg.page-home.page-bg-sec-portfolio .tg-home-products,
body.has-page-bg.page-home.page-bg-sec-process .tg-process,
body.has-page-bg.page-home.page-bg-sec-testimonials .tg-testimonials,
body.has-page-bg.page-home.page-bg-sec-cta .tg-home-cta {
  background: color-mix(in srgb, #ffffff 42%, transparent) !important;
}
body.has-page-bg.page-home.page-bg-sec-home_perks .tg-home-perks,
body.has-page-bg.page-home.page-bg-sec-card_designs .tg-card-designs,
body.has-page-bg.page-home.page-bg-sec-home_pillars .tg-home-pillars {
  background: color-mix(in srgb, #f7f4f1 40%, transparent) !important;
  border-color: color-mix(in srgb, rgba(20, 8, 4, .06) 40%, transparent);
}
/* الإحصائيات: الشفافية على اللوحة البيضاء (parallelogram) وليست على الـ strip */
body.has-page-bg.page-home.page-bg-sec-metrics .tg-stats-strip {
  background: transparent !important;
}
body.has-page-bg.page-home.page-bg-sec-metrics .tg-stats-panel::before {
  background: color-mix(in srgb, #ffffff 48%, transparent) !important;
  border-color: color-mix(in srgb, rgba(33, 10, 3, .05) 50%, transparent);
  box-shadow: 0 14px 36px rgba(33, 10, 3, .08);
}
body.has-page-bg.page-home.page-bg-sec-partners_with #partners-with,
body.has-page-bg.page-home.page-bg-sec-apps_fan #apps-fan,
body.has-page-bg.page-home.page-bg-sec-mission_banner #mission-banner,
body.has-page-bg.page-home.page-bg-sec-certified #certified {
  background: color-mix(in srgb, #ffffff 38%, transparent) !important;
}
[data-theme="dark"] body.has-page-bg.page-home.page-bg-sec-why .tg-why-showcase,
[data-theme="dark"] body.has-page-bg.page-home.page-bg-sec-home_perks .tg-home-perks,
[data-theme="dark"] body.has-page-bg.page-home.page-bg-sec-card_designs .tg-card-designs,
[data-theme="dark"] body.has-page-bg.page-home.page-bg-sec-home_pillars .tg-home-pillars,
[data-theme="dark"] body.has-page-bg.page-home.page-bg-sec-metrics .tg-stats-panel::before,

[data-theme="dark"] body.has-page-bg.page-home.page-bg-sec-partners_with #partners-with,
[data-theme="dark"] body.has-page-bg.page-home.page-bg-sec-apps_fan #apps-fan,
[data-theme="dark"] body.has-page-bg.page-home.page-bg-sec-mission_banner #mission-banner,
[data-theme="dark"] body.has-page-bg.page-home.page-bg-sec-certified #certified,
[data-theme="dark"] body.has-page-bg.page-home.page-bg-sec-top_services .tg-top-services,
[data-theme="dark"] body.has-page-bg.page-home.page-bg-sec-services #services,
[data-theme="dark"] body.has-page-bg.page-home.page-bg-sec-portfolio .tg-home-products,
[data-theme="dark"] body.has-page-bg.page-home.page-bg-sec-process .tg-process,
[data-theme="dark"] body.has-page-bg.page-home.page-bg-sec-testimonials .tg-testimonials,
[data-theme="dark"] body.has-page-bg.page-home.page-bg-sec-cta .tg-home-cta {
  background: color-mix(in srgb, #14100e 45%, transparent) !important;
}

/* ============================================================
   1) الشريط العلوي
   ========================================================== */
.tg-topbar {
  background: var(--teal-gradient);
  color: #fff;
  font-size: .84rem;
}
.tg-topbar a { color: rgba(255, 255, 255, .88); }
.tg-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  flex-wrap: wrap;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(16px, 2vw, 24px);
  box-sizing: border-box;
}
.tg-topbar-msg { display: flex; align-items: center; gap: 8px; }
.tg-topbar-msg i { color: var(--brand-light); }
.tg-topbar-side { display: flex; align-items: center; gap: 18px; }
.tg-topbar-side > a { display: inline-flex; align-items: center; gap: 7px; transition: color .25s var(--ease); }
.tg-topbar-side > a:hover { color: #fff; }
.tg-topbar-email { white-space: nowrap; }
.tg-topbar-social { display: inline-flex; align-items: center; gap: 6px; }

/* أزرار السوشيال — لون العلامة عند التأشير */
.tg-social {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: .85rem;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.tg-social:hover {
  background: var(--sc, var(--brand));
  color: #fff;
  transform: translateY(-3px);
}
.tg-social-text {
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1;
}
.tg-social-texted {
  width: auto;
  min-width: 30px;
  padding-inline: 8px;
  border-radius: 999px;
}
.tg-social-img {
  /* نفس خلفية/شكل باقي الأيقونات — مربّع مستدير رمادي فاتح */
  overflow: hidden;
  padding: 8px;
  border-radius: 11px;
}
.tg-social-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 2px;
  transition: filter .25s var(--ease);
}
/*
 * أزرار السوشيال المشتركة: «تابعنا» (تواصل) + فوتر الموقع
 * راحة رمادي فاتح · مربّع مستدير · hover: تعبئة --sc + أيقونة بيضاء + توهج بلون الشبكة
 */
.tg-contact-social .tg-social,
.footer .footer-social .tg-social {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 11px;
  background: var(--surface-2);
  color: var(--text-soft);
  box-shadow: none;
  transition:
    transform .28s var(--ease),
    background .28s var(--ease),
    color .28s var(--ease),
    box-shadow .28s var(--ease),
    filter .28s var(--ease);
}
.tg-contact-social .tg-social:hover,
.tg-contact-social .tg-social:focus-visible,
.footer .footer-social .tg-social:hover,
.footer .footer-social .tg-social:focus-visible {
  background: var(--sc, var(--brand)) !important;
  color: #fff;
  transform: translateY(-3px);
  filter: none;
  outline: none;
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--sc, var(--brand)) 28%, transparent),
    0 8px 18px color-mix(in srgb, var(--sc, var(--brand)) 35%, transparent),
    0 0 22px color-mix(in srgb, var(--sc, var(--brand)) 28%, transparent);
}
.tg-contact-social .tg-social-img,
.footer .footer-social .tg-social-img {
  background: var(--surface-2) !important;
  border-radius: 11px;
  overflow: hidden;
  padding: 8px;
}
.tg-contact-social .tg-social-img:hover,
.tg-contact-social .tg-social-img:focus-visible,
.footer .footer-social .tg-social-img:hover,
.footer .footer-social .tg-social-img:focus-visible {
  background: var(--sc, var(--brand)) !important;
}
.tg-contact-social .tg-social-img:hover img,
.tg-contact-social .tg-social-img:focus-visible img,
.footer .footer-social .tg-social-img:hover img,
.footer .footer-social .tg-social-img:focus-visible img {
  filter: brightness(0) invert(1);
}
/* تاجز: نفس الحاوية الرمادية؛ الشعار أبيض عند التأشير */
.tg-social-tags.tg-social-img img {
  filter: none;
}
.tg-contact-social .tg-social-tags.tg-social-img:hover img,
.tg-contact-social .tg-social-tags.tg-social-img:focus-visible img,
.footer .footer-social .tg-social-tags.tg-social-img:hover img,
.footer .footer-social .tg-social-tags.tg-social-img:focus-visible img {
  filter: brightness(0) invert(1);
}

/* ============================================================
   2) الهيدر
   ========================================================== */
.tg-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.tg-header.is-stuck { box-shadow: var(--shadow); }

.tg-header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 82px;
}

.tg-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.tg-logo img {
  max-height: 62px;
  width: auto;
  object-fit: contain;
  background: transparent;
  transition: transform .3s var(--ease);
}
.tg-logo:hover img { transform: scale(1.04); }

/* القائمة */
.tg-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-end: auto;
  flex-wrap: wrap;
}
.tg-nav a {
  position: relative;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: .95rem;
  color: var(--text-soft);
  transition: color .25s var(--ease), background .25s var(--ease);
}
.tg-nav a::after {
  content: '';
  position: absolute;
  inset-inline: 14px;
  bottom: 4px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .28s var(--ease);
}
.tg-nav a:hover,
.tg-nav a.active { color: var(--brand); background: var(--brand-soft); }
.tg-nav a:hover::after,
.tg-nav a.active::after { transform: scaleX(1); }

.tg-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* مبدّل العملة */
.tg-switch-group {
  display: inline-flex;
  padding: 3px;
  border-radius: 100px;
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.tg-switch-group a {
  min-width: 34px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  font-weight: 800;
  font-size: .88rem;
  color: var(--text-soft);
  transition: all .25s var(--ease);
}
.tg-switch-group a.on { background: var(--brand); color: #fff; }
.tg-switch-group a:not(.on):hover { color: var(--brand); }

/* زر اللغة */
.tg-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: .88rem;
  color: var(--text-soft);
  transition: all .25s var(--ease);
}
.tg-lang-btn:hover { border-color: var(--brand); color: var(--brand); }

/* زر الوضع الليلي — شفاف بأيقونة جديدة */
.tg-theme {
  background: transparent;
  border: 0;
  padding: 0;
  line-height: 0;
}
.tg-theme-track {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 62px;
  height: 32px;
  padding: 0 9px;
  border-radius: 100px;
  border: 1px solid var(--border-strong);
  background: transparent;
  transition: border-color .25s var(--ease);
}
.tg-theme:hover .tg-theme-track { border-color: var(--brand); }
.tg-theme-track i {
  font-size: .82rem;
  z-index: 1;
  transition: color .25s var(--ease), opacity .25s var(--ease);
}
.tg-theme-track .fa-sun  { color: var(--yellow); }
.tg-theme-track .fa-moon { color: var(--text-muted); }
.tg-theme-knob {
  position: absolute;
  top: 3px;
  inset-inline-start: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--brand-gradient);
  box-shadow: 0 3px 10px var(--tg-ring);
  transition: transform .3s var(--ease);
}
[data-theme="dark"] .tg-theme-knob { transform: translateX(var(--knob-x, 30px)); }
[dir="rtl"][data-theme="dark"] .tg-theme-knob { transform: translateX(-30px); }
[data-theme="dark"] .tg-theme-track .fa-moon { color: var(--brand-light); }
[data-theme="dark"] .tg-theme-track .fa-sun  { color: var(--text-muted); }

/* زر الدخول */
.tg-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: .9rem;
  transition: all .25s var(--ease);
}
.tg-login-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

/* قائمة المستخدم */
.tg-user { position: relative; }
.tg-user-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 12px;
  border-radius: 100px;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: .9rem;
  transition: all .25s var(--ease);
}
.tg-user-btn:hover { border-color: var(--brand); }
.tg-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-gradient);
  color: #fff;
  font-weight: 800;
  font-size: .8rem;
}
.tg-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tg-user-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 220px;
  padding: 8px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all .25s var(--ease);
  z-index: 40;
}
.tg-user.open .tg-user-menu { opacity: 1; visibility: visible; transform: none; }
.tg-user-menu a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-soft);
  transition: all .2s var(--ease);
}
.tg-user-menu a i { width: 18px; color: var(--brand); }
.tg-user-menu a:hover { background: var(--brand-soft); color: var(--brand); }
.tg-user-menu a.danger i { color: var(--red); }
.tg-user-menu a.danger:hover { background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); }
.tg-menu-pill {
  display: inline-grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  margin-inline-start: 6px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: .65rem;
  font-weight: 800;
  font-style: normal;
}

/* إشعارات الزبون في الهيدر */
/* Backdrop is on body; raise sticky .main-head while open so panel > backdrop */
body.tg-notify-open .main-head {
  z-index: 10055;
}
body.tg-notify-open .tg-header,
body.tg-notify-open .tg-header-pro {
  z-index: 10055;
}
.tg-client-notify { position: relative; z-index: 70; }
.tg-client-notify.is-open { z-index: 10060; pointer-events: auto; }
.tg-notify-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10040;
  background: rgba(15, 23, 42, 0.28);
  -webkit-tap-highlight-color: transparent;
  pointer-events: auto;
  cursor: pointer;
}
.tg-notify-backdrop[hidden] { display: none !important; }
.tg-notify-btn {
  position: relative;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface, #fff);
  color: var(--text);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: .2s ease;
}
.tg-notify-btn:hover { border-color: var(--brand); color: var(--brand); }
.tg-notify-btn em {
  position: absolute;
  top: -3px;
  inset-inline-end: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: #B45309;
  color: #fff;
  font-size: .58rem;
  font-weight: 800;
  font-style: normal;
  display: grid;
  place-items: center;
  border: 2px solid var(--surface, #fff);
}
.tg-client-notify-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  width: min(360px, calc(100vw - 16px));
  max-width: min(360px, calc(100vw - 16px));
  max-height: min(70vh, 420px);
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface, #fff);
  box-shadow: 0 18px 40px rgba(16, 24, 40, .14);
  z-index: 10060;
  overflow: hidden;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-overflow-scrolling: touch;
}
.tg-client-notify.is-open .tg-client-notify-menu {
  z-index: 10060;
  pointer-events: auto;
}
.tg-client-notify-menu[hidden] { display: none !important; }
.tg-client-notify-head,
.tg-client-notify-foot {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--brand) 6%, transparent);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.tg-client-notify-head { top: 0; }
.tg-client-notify-head span { flex: 1; min-width: 0; }
.tg-client-notify-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  margin-inline-start: 4px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.tg-client-notify-close:hover,
.tg-client-notify-close:focus-visible {
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  outline: none;
}
.tg-client-notify-foot {
  border-bottom: 0;
  border-top: 1px solid var(--border);
  justify-content: flex-start;
  flex-wrap: wrap;
  bottom: 0;
  margin-top: auto;
}
.tg-client-notify-head b { font-size: .9rem; }
.tg-client-notify-head span,
.tg-client-notify-foot a {
  font-size: .74rem;
  color: var(--text-muted);
  font-weight: 700;
}
.tg-client-notify-foot a {
  padding: 8px 12px;
  min-height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 2;
}
.tg-client-notify-foot a:hover { color: var(--brand); border-color: var(--brand); }
.tg-client-notify-list {
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  pointer-events: auto;
  touch-action: pan-y;
  position: relative;
  z-index: 1;
}
.tg-client-notify-item {
  display: flex;
  gap: 12px;
  padding: 12px 14px;
  min-height: 44px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  align-items: flex-start;
  pointer-events: auto;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  z-index: 1;
}
.tg-client-notify-item:hover { background: color-mix(in srgb, var(--brand) 6%, transparent); }
.tg-client-notify-ico {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.tg-client-notify-item.tone-orange .tg-client-notify-ico { background: linear-gradient(135deg, #FF5100, #FF8A3D); }
.tg-client-notify-item.tone-violet .tg-client-notify-ico { background: linear-gradient(135deg, #7C3AED, #A78BFA); }
.tg-client-notify-item.is-read {
  opacity: .72;
}
.tg-client-notify-item.is-read b {
  font-weight: 600;
}
.tg-client-notify-body { min-width: 0; display: grid; gap: 2px; }
.tg-client-notify-body b {
  font-size: .84rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tg-client-notify-body small,
.tg-client-notify-body em {
  font-size: .72rem;
  color: var(--text-muted);
  font-style: normal;
}
.tg-client-notify-empty {
  padding: 26px 14px;
  text-align: center;
  color: var(--text-muted);
  display: grid;
  gap: 8px;
  justify-items: center;
}
.tg-order-note {
  display: inline-block;
  margin-top: 4px;
  color: var(--text-muted);
  line-height: 1.45;
}
.tg-order-note-history {
  margin-top: 6px;
  font-size: .82rem;
  color: var(--text-muted);
}
.tg-order-note-history summary {
  cursor: pointer;
  color: var(--brand, #FF5100);
  font-weight: 600;
}
.tg-order-note-history div {
  margin-top: 4px;
  padding-inline-start: 8px;
  border-inline-start: 2px solid color-mix(in srgb, var(--brand, #FF5100) 35%, transparent);
}

/* زر القائمة للجوال */
.tg-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--surface, #fff);
  z-index: 5;
}
.tg-burger span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s var(--ease);
}

/* ============================================================
   3) الهيرو
   ========================================================== */
.tg-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px);
}
.tg-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(30px, 5vw, 64px);
}

/* الشبكة المتحركة في الخلفية */
.tg-network {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--brand) 12%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--brand) 12%, transparent) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 40%, #000 5%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 5%, transparent 72%);
  animation: tgGridShift 22s linear infinite;
}
@keyframes tgGridShift {
  to { background-position: 58px 58px, 58px 58px; }
}
.tg-network span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .45;
  animation: tgNode 7s ease-in-out infinite;
}
.tg-network span:nth-child(1) { top: 18%; inset-inline-start: 12%; animation-delay: 0s; }
.tg-network span:nth-child(2) { top: 62%; inset-inline-start: 22%; animation-delay: .9s; }
.tg-network span:nth-child(3) { top: 30%; inset-inline-start: 68%; animation-delay: 1.8s; }
.tg-network span:nth-child(4) { top: 78%; inset-inline-start: 74%; animation-delay: 2.6s; }
.tg-network span:nth-child(5) { top: 46%; inset-inline-start: 47%; animation-delay: 3.4s; }
@keyframes tgNode {
  0%, 100% { transform: translateY(0) scale(1); opacity: .35; }
  50%      { transform: translateY(-16px) scale(1.6); opacity: .8; }
}

/* هالات متحركة */
.tg-orbit {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .5;
  pointer-events: none;
}
.tg-orbit-a {
  width: 460px; height: 460px;
  top: -140px; inset-inline-end: -120px;
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%);
  animation: tgOrbitA 16s ease-in-out infinite alternate;
}
.tg-orbit-b {
  width: 380px; height: 380px;
  bottom: -160px; inset-inline-start: -110px;
  background: radial-gradient(circle, var(--teal-light) 0%, transparent 70%);
  animation: tgOrbitB 19s ease-in-out infinite alternate;
}
@keyframes tgOrbitA { to { transform: translate(-50px, 60px) scale(1.15); } }
@keyframes tgOrbitB { to { transform: translate(60px, -50px) scale(1.12); } }

/* أيقونات طائرة */
.tg-float-orb {
  position: absolute;
  z-index: 1;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--tg-glass);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  color: var(--brand);
  font-size: 1.2rem;
  animation: tgFloat 6s ease-in-out infinite;
}
.tg-orb-camera { top: 14%; inset-inline-start: 4%;  animation-delay: 0s; }
.tg-orb-video  { bottom: 18%; inset-inline-start: 9%; animation-delay: 1.2s; }
.tg-orb-code   { top: 20%; inset-inline-end: 6%;    animation-delay: 2.1s; }
.tg-orb-design { bottom: 12%; inset-inline-end: 12%; animation-delay: 3s; }
@keyframes tgFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-18px) rotate(5deg); }
}

/* نصوص الهيرو */
.tg-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  margin-bottom: 18px;
  border-radius: 100px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: .85rem;
}
.tg-hero-copy h1 { margin-bottom: 16px; letter-spacing: -.5px; }
.tg-hero-copy h1 span {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tg-hero-copy > p,
.tg-slide p { font-size: 1.08rem; max-width: 560px; }

.tg-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* السلايدر */
.tg-slides { position: relative; }
.tg-slide { display: none; animation: tgSlideIn .55s var(--ease); }
.tg-slide.active { display: block; }
@keyframes tgSlideIn {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.tg-slide-dots { display: flex; gap: 8px; margin-top: 22px; }
.tg-slide-dots button {
  width: 26px;
  height: 5px;
  border-radius: 100px;
  background: var(--border-strong);
  transition: all .3s var(--ease);
}
.tg-slide-dots button.active { width: 44px; background: var(--brand); }

/* دليل مصغّر */
.tg-mini-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.tg-mini-proof b { display: block; font-size: 1rem; }
.tg-mini-proof small { color: var(--text-muted); }
.tg-avatars { display: inline-flex; }
.tg-avatars i {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  font-style: normal;
  font-weight: 800;
  color: #fff;
  background: var(--brand-gradient);
  border: 3px solid var(--bg);
  margin-inline-start: -12px;
  transition: transform .25s var(--ease);
}
.tg-avatars i:first-child { margin-inline-start: 0; }
.tg-avatars i:hover { transform: translateY(-5px); z-index: 2; }
.tg-avatars img { width: 100%; height: 100%; object-fit: cover; }

/* صورة الهيرو */
.tg-hero-media { position: relative; }
.tg-hero-media > img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  animation: tgHeroFloat 8s ease-in-out infinite;
}
@keyframes tgHeroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}
.tg-float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 100px;
  background: var(--tg-glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: .85rem;
}
.tg-float-chip i { color: var(--brand); }
.tg-chip-top    { top: 8%;  inset-inline-start: -18px; animation: tgFloat 5s ease-in-out infinite; }
.tg-chip-bottom { bottom: 10%; inset-inline-end: -14px; animation: tgFloat 6.4s ease-in-out infinite reverse; }

/* ============================================================
   4) عناوين الأقسام
   ========================================================== */
.tg-section { padding: clamp(52px, 7vw, 92px) 0; }

.tg-section-title { max-width: 700px; margin: 0 auto clamp(30px, 4vw, 52px); text-align: center; }
.tg-section-title > div > span,
.tg-section-heading-text > span {
  display: inline-block;
  padding: 6px 18px;
  margin-bottom: 12px;
  border-radius: 100px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: .82rem;
}
.tg-section-title h2,
.tg-section-heading-text h2 { margin-bottom: 12px; }
.tg-section-title p,
.tg-section-heading-text p { margin: 0; }

.tg-section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.tg-section-heading.has-ico .tg-section-heading-text { text-align: center; }
.tg-title-inline .tg-section-heading {
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
  text-align: start;
}
.tg-title-inline .tg-section-heading.has-ico .tg-section-heading-text { text-align: start; }
.tg-title-inline .tg-sec-ico-wrap { margin-top: 4px; }

.tg-sec-ico-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}
.tg-sec-ico-wrap .tg-sec-ico,
.tg-sec-ico {
  font-size: 1.15rem;
  line-height: 1;
  color: inherit;
}
.tg-sec-ico-wrap--on-dark {
  background: rgba(255, 255, 255, .18);
  color: #fff;
}
.tg-why-head .tg-sec-ico-wrap,
.tg-eco-head .tg-sec-ico-wrap,
.tg-designs-copy .tg-sec-ico-wrap,
.tg-mission-copy .tg-sec-ico-wrap,
.tg-certified-copy .tg-sec-ico-wrap,
.tg-cta-box .tg-sec-ico-wrap {
  margin-bottom: 10px;
}
.tg-designs-copy .tg-sec-ico-wrap,
.tg-mission-copy .tg-sec-ico-wrap,
.tg-certified-copy .tg-sec-ico-wrap {
  margin-inline-end: 0;
}
.tg-certified-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}
.tg-certified-copy .tg-sec-ico-wrap { margin-bottom: 0; }

/* أيقونات قائمة الهيدر */
.tg-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.tg-nav a > i {
  font-size: .92em;
  color: var(--brand);
  opacity: .95;
}
.tg-header-pro .tg-nav a > i {
  font-size: .88em;
}
.tg-quote-btn > i { margin-inline-end: 2px; }

.tg-title-inline {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  text-align: start;
}

.tg-center-action { margin-top: 40px; text-align: center; }

/* ============================================================
   5) الأرقام والإحصائيات — شريط موحّد للرئيسية
   ========================================================== */
.tg-metrics {
  padding: 26px 0;
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}
.tg-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.tg-metric { display: flex; align-items: center; gap: 14px; }
.tg-metric b { display: block; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 900; line-height: 1.2; }
.tg-metric small { color: var(--text-muted); font-size: .88rem; }
.tg-metric-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: transform .3s var(--ease);
}
.tg-metric:hover .tg-metric-icon { transform: rotate(-8deg) scale(1.06); }

.tg-stats-strip {
  position: relative;
  z-index: 4;
  margin-top: -56px;
  padding: 0 0 12px;
  background: transparent;
}
.tg-stats-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(var(--metrics-cols, 4), minmax(0, 1fr));
  gap: 8px 18px;
  padding: clamp(22px, 3.5vw, 34px) clamp(22px, 4vw, 40px);
  background: transparent;
  border: none;
  box-shadow: none;
}
/* White parallelogram panel (skew ~10°) — keeps content upright + .reveal transforms intact */
.tg-stats-panel::before {
  content: '';
  position: absolute;
  inset: 0 10px;
  z-index: -1;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(33, 10, 3, .05);
  box-shadow: 0 18px 48px rgba(33, 10, 3, .12), 0 4px 14px rgba(33, 10, 3, .06);
  transform: skewX(-10deg);
  pointer-events: none;
}
[data-theme="dark"] .tg-stats-panel {
  background: transparent;
  border: none;
  box-shadow: none;
}
[data-theme="dark"] .tg-stats-panel::before {
  background: #1a1410;
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 18px 48px rgba(0,0,0,.40), 0 4px 14px rgba(0,0,0,.22);
}
.tg-stats-item {
  text-align: center;
  padding: 6px 8px;
}
.tg-stats-item b {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.tg-stats-item small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #1a1a1a;
  font-size: .92rem;
  font-weight: 700;
}
[data-theme="dark"] .tg-stats-item small { color: rgba(255,255,255,.88); }
.tg-stats-item small i {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--brand);
  flex-shrink: 0;
}
/* أيقونة يدوية بدل المربع البرتقالي — نفس الحجم البصري تقريباً ولون البراند */
.tg-stats-item small i[class*="fa-"] {
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: transparent;
  color: var(--brand);
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tg-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}
.tg-stat-card {
  padding: 30px 20px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.tg-stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand); }
.tg-stat-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.25rem;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.tg-stat-card:hover .tg-stat-icon { background: var(--brand); color: #fff; }
.tg-stat-card b { display: block; font-size: 2rem; font-weight: 900; }
.tg-stat-card small { color: var(--text-muted); }

/* ============================================================
   6) شريط العملاء
   ========================================================== */
.tg-trust { padding: 34px 0; border-bottom: 1px solid var(--border); }
.tg-trust > .container > p {
  text-align: center;
  margin-bottom: 20px;
  color: var(--text-muted);
  font-weight: 700;
  font-size: .9rem;
}
.tg-logo-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(22px, 5vw, 58px);
}
.tg-client-logo img {
  max-height: 46px;
  width: auto;
  filter: grayscale(1);
  opacity: .45;
  transition: filter .35s var(--ease), opacity .35s var(--ease), transform .35s var(--ease);
}
.tg-client-logo:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.tg-client-logo strong { color: var(--text-muted); font-size: 1.05rem; }
.tg-home-trust .tg-center-action { margin-top: 22px; }
.tg-home-cta { padding-top: 18px; }

/* ============================================================
   7) أهم الخدمات (بطاقات الأسعار + نمط Jawwal)
   ========================================================== */
.tg-jp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.tg-jp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px 22px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: start;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.tg-jp-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--tc, var(--brand)) 45%, var(--border));
}
.tg-jp-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: color-mix(in srgb, var(--tc, var(--brand)) 14%, #fff);
  color: var(--tc, var(--brand));
  font-size: 1.35rem;
  margin-bottom: 4px;
  transition: transform .28s var(--ease);
}
[data-theme="dark"] .tg-jp-icon {
  background: color-mix(in srgb, var(--tc, var(--brand)) 22%, #1a1410);
}
.tg-jp-card:hover .tg-jp-icon { transform: scale(1.06) rotate(-4deg); }
.tg-jp-card h3 { margin: 0; font-size: 1.08rem; font-weight: 800; }
.tg-jp-card p { margin: 0; color: var(--text-muted); font-size: .9rem; line-height: 1.7; flex: 1; }
.tg-jp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-weight: 800;
  font-size: .88rem;
  color: var(--tc, var(--brand));
}
.tg-jp-link:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .tg-jp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .tg-jp-grid { grid-template-columns: 1fr; }
}

.tg-top-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  gap: 20px;
}
.tg-top-card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.tg-top-card::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: var(--tc, var(--brand));
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform .35s var(--ease);
}
.tg-top-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--tc, var(--brand)); }
.tg-top-card:hover::before { transform: scaleX(1); }
.tg-top-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.tg-top-card p { font-size: .92rem; margin-bottom: 16px; }

.tg-top-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: color-mix(in srgb, var(--tc, var(--brand)) 12%, transparent);
  color: var(--tc, var(--brand));
  font-size: 1.2rem;
  transition: transform .3s var(--ease);
}
.tg-top-card:hover .tg-top-icon { transform: rotate(-8deg) scale(1.08); }

.tg-off {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: .78rem;
}
.tg-off-pill {
  display: inline-block;
  margin-top: 8px;
  padding: 5px 14px;
  border-radius: 100px;
  background: color-mix(in srgb, var(--green) 15%, transparent);
  color: var(--green);
  font-weight: 800;
  font-size: .82rem;
}

.tg-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.tg-price del { color: var(--text-muted); font-size: .92rem; }
.tg-price b { font-size: 1.42rem; font-weight: 900; color: var(--brand); }
.tg-price small { color: var(--text-muted); font-size: .82rem; }

.tg-top-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: .9rem;
  color: var(--brand);
  transition: gap .25s var(--ease);
}
.tg-top-link:hover { gap: 14px; }

/* ============================================================
   8) بطاقات أقسام الخدمات
   ========================================================== */
.tg-service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(272px, 1fr));
  gap: 20px;
}
.tg-service-card {
  position: relative;
  display: block;
  padding: 32px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.tg-service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.tg-service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.tg-service-card p { font-size: .93rem; margin-bottom: 0; }
.tg-service-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.3rem;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.tg-service-card:hover .tg-service-icon {
  background: var(--brand-gradient);
  color: #fff;
  transform: rotate(-8deg);
}
.tg-service-no {
  position: absolute;
  top: 20px;
  inset-inline-end: 24px;
  font-size: 2.6rem;
  font-weight: 900;
  color: var(--border);
  line-height: 1;
  transition: color .3s var(--ease);
}
.tg-service-card:hover .tg-service-no { color: var(--brand-soft); }
.tg-arrow {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-top: 18px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--brand);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.tg-service-card:hover .tg-arrow { background: var(--brand); color: #fff; transform: translateX(-4px); }
[dir="ltr"] .tg-service-card:hover .tg-arrow { transform: translateX(4px); }

.tg-service-featured { background: var(--teal-gradient); border-color: transparent; }
.tg-service-featured h3 { color: #fff; }
.tg-service-featured p { color: rgba(255, 255, 255, .82); }
.tg-service-featured .tg-service-icon { background: rgba(255, 255, 255, .14); color: #fff; }
.tg-service-featured .tg-service-no { color: rgba(255, 255, 255, .14); }
.tg-service-featured .tg-arrow { background: rgba(255, 255, 255, .18); color: #fff; }

/* قائمة الخدمات داخل صفحة الخدمات — بطاقات رأسية */
.tg-service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.tg-service-list--cards .tg-service-item,
.tg-service-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 22px 22px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.tg-service-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, .1);
  border-color: color-mix(in srgb, var(--tc, var(--brand)) 35%, var(--border));
}
.tg-service-item .tg-off {
  inset-inline-end: auto;
  inset-inline-start: 14px;
  top: 14px;
}
.tg-service-item-icon {
  width: 56px;
  height: 56px;
  margin: 4px 0 16px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: color-mix(in srgb, var(--tc, var(--brand)) 12%, transparent);
  color: var(--tc, var(--brand));
  font-size: 1.2rem;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.tg-service-item:hover .tg-service-item-icon {
  background: var(--tc, var(--brand));
  color: #fff;
}
.tg-service-item h3 {
  font-size: 1.08rem;
  font-weight: 800;
  margin: 0 0 8px;
}
.tg-service-item p {
  font-size: .9rem;
  color: var(--muted, var(--text-muted));
  margin: 0 0 14px;
  line-height: 1.65;
  max-width: 28ch;
}
.tg-service-item .tg-price {
  justify-content: center;
  margin-bottom: 18px;
}
.tg-service-item-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: auto;
  width: 100%;
}
.tg-wa-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #25D366;
  color: #fff;
  font-size: 1.15rem;
  transition: transform .2s var(--ease), filter .2s;
}
.tg-wa-btn:hover { color: #fff; transform: scale(1.06); filter: brightness(1.05); }
.tg-wa-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  font-size: .86rem;
  color: #25D366;
}
.tg-wa-link:hover { text-decoration: underline; }

.svc-section-packages { margin-top: 36px; }
.tg-packages-head { margin-bottom: 22px; }

@media (max-width: 980px) {
  .tg-service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .tg-service-list { grid-template-columns: 1fr; }
}

/* ============================================================
   9) مميزات تاجز كارد
   ========================================================== */
.tg-card-features { background: var(--bg-alt); }
.tg-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.tg-feature {
  padding: 28px 24px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tg-feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tg-feature h3 { font-size: 1.06rem; margin-bottom: 8px; }
.tg-feature p { font-size: .92rem; margin: 0; }
.tg-feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 16px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: color-mix(in srgb, var(--fc, var(--brand)) 12%, transparent);
  color: var(--fc, var(--brand));
  font-size: 1.2rem;
  transition: transform .3s var(--ease);
}
.tg-feature:hover .tg-feature-icon { transform: translateY(-4px) rotate(-6deg); }

/* ============================================================
   10) المنتجات (كتالوج بأسلوب شبكة)
   ========================================================== */
.tg-products-section {
  background: transparent;
  padding-block: clamp(36px, 5vw, 64px);
  color: inherit;
}
.tg-products-section .empty-state {
  color: var(--text-soft, #6b7280);
}
.tg-products-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 14px;
  font-size: .92rem;
  color: var(--text-muted, #8a98a3);
}
.tg-products-crumb a {
  color: var(--brand, #ff5100);
  text-decoration: none;
  font-weight: 600;
}
.tg-products-crumb a:hover { color: #1a1a1a; }
.tg-products-back { margin-bottom: 22px; }
.tg-products-back .btn-ghost {
  color: inherit;
}
.tg-products-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}
.tg-product-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 2px solid var(--brand, #ff5100);
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
  min-height: 0;
}
.tg-product-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .35);
  border-color: #ff7a33;
}
.tg-product-tile-media {
  display: block;
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
}
.tg-product-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 10px;
  transition: transform .45s var(--ease);
}
.tg-product-tile:hover .tg-product-tile-media img {
  transform: scale(1.05);
}
.tg-product-tile-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 54px;
  padding: 10px 8px;
  background: #fff;
  border-top: 1px solid rgba(255, 81, 0, .18);
  text-align: center;
}
.tg-product-tile-label {
  display: block;
  font-weight: 700;
  font-size: clamp(.78rem, 1.05vw, .95rem);
  line-height: 1.35;
  color: var(--brand, #ff5100);
  min-height: 0;
  padding: 0;
  background: transparent;
  border-top: 0;
}
.tg-product-tile-price {
  display: block;
  font-weight: 900;
  font-size: clamp(.85rem, 1.15vw, 1.02rem);
  line-height: 1.2;
  color: var(--text, #1a1210);
  letter-spacing: -.02em;
  unicode-bidi: isolate;
}
.tg-work-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  margin: 0 0 14px;
  padding: 12px 16px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--brand, #FF5100) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand, #FF5100) 28%, transparent);
}
.tg-work-price-label {
  font-weight: 700;
  color: var(--text-muted, #6b5f58);
  font-size: .95rem;
}
.tg-work-price-value {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 900;
  color: var(--brand, #FF5100);
  letter-spacing: -.02em;
  unicode-bidi: isolate;
}
@media (max-width: 768px) {
  .tg-product-tile-foot { min-height: 52px; padding: 8px 6px; }
  .tg-product-tile-label { font-size: .78rem; }
}
@media (max-width: 1200px) {
  .tg-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .tg-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
}
@media (max-width: 480px) {
  .tg-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

.tg-home-products {
  background: transparent;
  padding-block: clamp(40px, 6vw, 72px);
}
.tg-home-products .tg-products-grid,
.tg-home-products-grid {
  /* على الرئيسية: خلفية الصفحة الفاتحة — حدود البراند كافية */
}
.tg-home-products .tg-product-tile {
  box-shadow: 0 8px 22px rgba(20, 10, 4, .08);
}
@media (max-width: 1200px) {
  .tg-home-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
  .tg-home-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .tg-home-products-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   10b) الأعمال / معرض الرئيسية (قديم — للتوافق)
   ========================================================== */
.tg-work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 216px;
  gap: 18px;
}
.tg-work-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
}
.tg-work-card:nth-child(1),
.tg-work-card:nth-child(6) { grid-row: span 2; }
.tg-work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.tg-work-card:hover img { transform: scale(1.09); }
.tg-work-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 4, 2, .86) 0%, rgba(9, 4, 2, .18) 55%, transparent 100%);
  opacity: .85;
  transition: opacity .3s var(--ease);
}
.tg-work-card:hover .tg-work-shade { opacity: 1; }
.tg-work-content {
  position: absolute;
  inset-inline: 22px;
  bottom: 20px;
  color: #fff;
  transform: translateY(6px);
  transition: transform .3s var(--ease);
}
.tg-work-card:hover .tg-work-content { transform: none; }
.tg-work-content small { display: block; color: var(--brand-light); font-weight: 700; font-size: .8rem; }
.tg-work-content b { display: block; font-size: 1.08rem; margin-top: 4px; }
.tg-work-content i {
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  opacity: 0;
  color: var(--brand-light);
  transition: opacity .3s var(--ease);
}
.tg-work-card:hover .tg-work-content i { opacity: 1; }
button.tg-work-card {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: start;
  font: inherit;
  color: inherit;
}

/* بطاقات أعمالنا + لايت بوكس المعرض */
.work-card .merchant-media {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}
.work-card .merchant-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s var(--ease);
}
.work-card:hover .merchant-media img { transform: scale(1.06); }
.work-card-count {
  position: absolute;
  inset-inline-start: 12px;
  top: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(9, 4, 2, .72);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
}
.work-card-title {
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: inherit;
  color: inherit;
  cursor: pointer;
  text-align: inherit;
}
.work-card-title:hover { color: var(--brand); }
.work-card-actions { flex-wrap: wrap; gap: 10px 14px; }
.work-card-gallery-btn {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--brand);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.tg-lb[hidden] { display: none !important; }
.tg-lb {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 18px;
}
.tg-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 4, 2, .88);
  backdrop-filter: blur(4px);
}
.tg-lb-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 900px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  color: #fff;
}
.tg-lb-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.tg-lb-cat {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brand-light, #ff9a5c);
  margin-bottom: 4px;
}
.tg-lb-title {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
  line-height: 1.35;
}
.tg-lb-close {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}
.tg-lb-close:hover { background: rgba(255,255,255,.22); }
.tg-lb-stage {
  position: relative;
  min-height: min(58vh, 520px);
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.04);
  border-radius: 18px;
  overflow: hidden;
}
.tg-lb-stage img {
  max-width: 100%;
  max-height: min(58vh, 520px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}
.tg-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(9, 4, 2, .55);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}
.tg-lb-nav:hover { background: rgba(255, 81, 0, .9); }
.tg-lb-prev { inset-inline-start: 12px; }
.tg-lb-next { inset-inline-end: 12px; }
.tg-lb-nav[hidden] { display: none !important; }
.tg-lb-counter {
  position: absolute;
  inset-inline-end: 14px;
  bottom: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(9, 4, 2, .55);
  font-size: .8rem;
  font-weight: 700;
}
.tg-lb-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.tg-lb-desc {
  margin: 0;
  max-width: 62ch;
  color: rgba(255,255,255,.78);
  font-size: .95rem;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tg-lb-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--brand, #ff5100);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}
.tg-lb-more:hover { filter: brightness(1.08); }

.tg-work-single { max-width: 920px; }
.tg-work-post h1 {
  margin: 18px 0 10px;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.3;
}
.tg-work-cover {
  position: relative;
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  background: var(--surface-2, #1a0f0a);
  aspect-ratio: 16 / 9;
}
.tg-work-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tg-work-cover .cat-tag {
  position: absolute;
  inset-inline-start: 16px;
  top: 16px;
}
.tg-work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted, #6b625c);
  font-size: .92rem;
  margin-bottom: 14px;
}
.tg-work-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.tg-work-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text, inherit);
  margin: 0 0 16px;
}
.tg-work-text {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--text, inherit);
  margin-bottom: 28px;
}
.tg-work-gallery-block h2 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}
.tg-work-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.tg-work-thumb {
  border: 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface-2, #eee);
  aspect-ratio: 4 / 3;
}
.tg-work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s var(--ease);
}
.tg-work-thumb:hover img { transform: scale(1.05); }
.tg-work-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

@media (max-width: 768px) {
  .tg-lb { padding: 10px; }
  .tg-lb-stage { min-height: 42vh; }
  .tg-lb-stage img { max-height: 42vh; }
  .tg-lb-nav { width: 38px; height: 38px; }
  .tg-work-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .tg-work-cover { aspect-ratio: 5 / 4; }
}

/* ============================================================
   11) لماذا تاجز؟ — شروحات صغيرة بجانب الهاتف + أسهم عند الظهور
   ========================================================== */
.tg-why-showcase {
  padding: clamp(36px, 5vw, 64px) 0;
  background: #fff;
  overflow: clip;
}
[data-theme="dark"] .tg-why-showcase { background: #120d0a; }
.tg-why-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto clamp(28px, 4vw, 44px);
  position: relative;
  z-index: 2;
}
.tg-why-head h2 {
  margin: 0 0 12px;
  color: var(--brand) !important;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 900;
  line-height: 1.3;
}
.tg-why-head p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: .98rem;
  line-height: 1.8;
}
.tg-why-head .btn { margin-inline: auto; }
.tg-why-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(140px, 230px) minmax(210px, 260px) minmax(140px, 230px);
  gap: clamp(56px, 7vw, 96px);
  align-items: center;
  justify-content: center;
  direction: ltr;
  max-width: 980px;
  margin-inline: auto;
  min-height: 500px;
}
.tg-why-arrows {
  position: absolute;
  inset: -24px -12px;
  width: calc(100% + 24px);
  height: calc(100% + 48px);
  pointer-events: none;
  z-index: 3;
  overflow: visible;
}
.tg-why-arrows path.tg-why-line {
  fill: none;
  stroke: var(--arrow-c, #FF5100);
  stroke-width: 2.1;
  stroke-dasharray: 9 10;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
}
.tg-why-showcase.is-played .tg-why-arrows path.tg-why-line {
  animation: tgWhyArrowFly 1.55s cubic-bezier(.33, .05, .2, 1) forwards;
  animation-delay: var(--delay, 0s);
}
.tg-why-arrows .tg-why-head-mark {
  fill: var(--arrow-c, #FF5100);
  opacity: 0;
}
.tg-why-showcase.is-played .tg-why-arrows .tg-why-head-mark {
  animation: tgWhyHeadIn .45s ease forwards;
  animation-delay: calc(var(--delay, 0s) + 1.05s);
}
@keyframes tgWhyArrowFly {
  0% { opacity: 0; stroke-dashoffset: var(--len, 520); }
  10% { opacity: 1; }
  100% { opacity: 1; stroke-dashoffset: 0; }
}
@keyframes tgWhyHeadIn {
  from { opacity: 0; transform: scale(.35); }
  to { opacity: 1; transform: scale(1); }
}
.tg-phone {
  position: relative;
  width: min(100%, 260px);
  margin: 0 auto;
  z-index: 2;
  justify-self: center;
  grid-column: 2;
}
.tg-phone-frame {
  position: relative;
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(160deg, #3a3a40, #141418 52%, #050506);
  box-shadow:
    0 24px 50px rgba(20, 10, 4, .2),
    inset 0 0 0 1.5px rgba(255,255,255,.1);
}
.tg-phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  z-index: 3;
  width: 84px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #050506;
}
.tg-phone-screen {
  position: relative;
  aspect-ratio: 9 / 19.2;
  border-radius: 26px;
  overflow: hidden;
  background: #0b0b0d;
}
.tg-phone-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.tg-phone-empty {
  height: 100%;
  display: grid;
  place-content: center;
  gap: 10px;
  padding: 20px;
  text-align: center;
  color: rgba(255,255,255,.55);
  background:
    radial-gradient(circle at 50% 20%, rgba(255,81,0,.22), transparent 55%),
    #16120f;
}
.tg-phone-empty i { font-size: 1.7rem; color: var(--brand); }
.tg-phone-empty span { font-size: .78rem; font-weight: 700; line-height: 1.45; }
.tg-phone-anchors {
  position: absolute;
  inset-block: 14%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 4;
}
.tg-phone-anchors--left { inset-inline-start: -8px; }
.tg-phone-anchors--right { inset-inline-end: -8px; }
.tg-phone-anchors i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  border: 2.5px solid var(--dot-c, #FF5100);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--dot-c, #FF5100) 18%, transparent);
  opacity: 0;
}
.tg-why-showcase.is-played .tg-phone-anchors i {
  animation: tgWhyDotPop .5s ease forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes tgWhyDotPop {
  0% { opacity: 0; transform: scale(.55); background: #fff; }
  100% { opacity: 1; transform: scale(1); background: var(--dot-c, #FF5100); border-color: var(--dot-c, #FF5100); }
}
.tg-why-callouts {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-self: stretch;
  padding-block: 8%;
  gap: 8px;
  direction: rtl;
  max-width: 230px;
}
.tg-why-callouts--left {
  grid-column: 1;
  justify-self: end;
}
.tg-why-callouts--right {
  grid-column: 3;
  justify-self: start;
}
.tg-why-callout {
  opacity: 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.tg-why-callout-ico {
  flex: 0 0 auto;
  display: none; /* desktop: labels stay light beside phone */
  width: 36px;
  height: 36px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--wc, #FF5100);
  font-size: .95rem;
  box-shadow: 0 8px 18px color-mix(in srgb, var(--wc, #FF5100) 28%, transparent);
}
.tg-why-callouts--left .tg-why-callout:nth-child(1) { --tx: -14px; --ty: -6px; }
.tg-why-callouts--left .tg-why-callout:nth-child(2) { --tx: -6px; --ty: 8px; }
.tg-why-callouts--left .tg-why-callout:nth-child(3) { --tx: -18px; --ty: 2px; }
.tg-why-callouts--right .tg-why-callout:nth-child(1) { --tx: 16px; --ty: -8px; }
.tg-why-callouts--right .tg-why-callout:nth-child(2) { --tx: 8px; --ty: 6px; }
.tg-why-callouts--right .tg-why-callout:nth-child(3) { --tx: 14px; --ty: -2px; }
.tg-why-showcase.is-played .tg-why-callout {
  animation: tgWhyLabelIn .85s cubic-bezier(.25, .08, .2, 1) forwards;
  animation-delay: calc(var(--delay, 0s) + .55s);
}
@keyframes tgWhyLabelIn {
  from { opacity: 0; transform: translate(calc(var(--tx, 0px) * .4), var(--ty, 0px)); }
  to { opacity: 1; transform: translate(var(--tx, 0px), var(--ty, 0px)); }
}
.tg-why-callouts--left .tg-why-callout-body { text-align: right; }
.tg-why-callouts--right .tg-why-callout-body { text-align: left; }
.tg-why-callout-body b {
  display: block;
  margin: 0 0 2px;
  font-size: .9rem;
  font-weight: 800;
  color: #4b5563;
  line-height: 1.3;
}
.tg-why-callout-body small {
  display: block;
  color: #9ca3af;
  font-size: .72rem;
  font-weight: 600;
  line-height: 1.4;
}
[data-theme="dark"] .tg-why-callout-body b { color: rgba(255,255,255,.85); }
[data-theme="dark"] .tg-why-callout-body small { color: rgba(255,255,255,.5); }
@media (max-width: 900px) {
  .tg-why-stage {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-height: 0;
    max-width: 400px;
    margin-inline: auto;
  }
  .tg-why-arrows { display: none !important; }
  .tg-phone {
    order: -1;
    align-self: center;
    width: min(190px, 52vw);
    margin: 0 0 4px;
  }
  .tg-phone-anchors { display: none; }
  .tg-why-callouts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: none;
    padding-block: 0;
    align-self: stretch;
  }
  .tg-why-callouts--left,
  .tg-why-callouts--right {
    justify-self: stretch;
  }
  /* مسافة واحدة بين مجموعتي اليمين/اليسار */
  .tg-why-callouts--left {
    margin-bottom: 0;
  }
  .tg-why-callout,
  .tg-why-showcase.is-played .tg-why-callout {
    opacity: 1;
    transform: none;
    animation: none;
    width: 100%;
    max-width: none;
    min-height: 78px;
    box-sizing: border-box;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #f4f8fa;
    border: 1px solid rgba(20, 10, 4, .06);
    box-shadow: none;
  }
  [data-theme="dark"] .tg-why-callout,
  [data-theme="dark"] .tg-why-showcase.is-played .tg-why-callout {
    background: color-mix(in srgb, var(--wc, #FF5100) 12%, #1a1410);
    border-color: rgba(255, 255, 255, .08);
  }
  .tg-why-callout-ico {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1rem;
    box-shadow: none;
  }
  .tg-why-callouts--left .tg-why-callout-body,
  .tg-why-callouts--right .tg-why-callout-body {
    text-align: start;
    flex: 1;
    min-width: 0;
  }
  .tg-why-callout-body b {
    margin: 0 0 4px;
    font-size: .95rem;
    color: var(--text);
    line-height: 1.35;
  }
  .tg-why-callout-body small,
  .tg-why-callout-body small.tg-rich {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: .8rem;
    line-height: 1.45;
    color: var(--text-muted);
  }
  .tg-why-callout-body small p {
    margin: 0;
    display: inline;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tg-why-arrows { display: none !important; }
  .tg-why-callout,
  .tg-phone-anchors i { opacity: 1; transform: none; }
}


/* أيقونات المميزات — أسلوب شريط مميزات (مثل CS Net) */
.tg-home-perks {
  padding: clamp(48px, 6vw, 72px) 0;
  background: #f7f7f8;
  border-block: 1px solid rgba(20, 8, 4, .06);
}
.tg-home-perks .tg-section-title {
  margin-bottom: clamp(28px, 4vw, 40px);
}
[data-theme="dark"] .tg-home-perks {
  background: #14100e;
  border-color: rgba(255, 255, 255, .06);
}
.tg-perks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
  align-items: start;
}
.tg-perk-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 8px 10px;
  text-align: center;
  background: transparent;
  border: none;
  box-shadow: none;
  border-radius: 0;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.tg-perk-card:hover {
  transform: translateY(-6px);
  border-color: transparent;
  box-shadow: none;
}
.tg-perk-icon {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pc, var(--brand)) 12%, #fff);
  color: var(--pc, var(--brand));
  font-size: 1.75rem;
  border: 2px solid color-mix(in srgb, var(--pc, var(--brand)) 28%, transparent);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--pc, var(--brand)) 12%, transparent);
  transition:
    background .35s ease,
    color .35s ease,
    border-color .35s ease,
    transform .4s cubic-bezier(.34, 1.56, .64, 1),
    box-shadow .35s ease;
}
[data-theme="dark"] .tg-perk-icon {
  background: color-mix(in srgb, var(--pc, var(--brand)) 18%, #1a1410);
}
.tg-perk-card:hover .tg-perk-icon {
  background: var(--pc, var(--brand));
  color: #fff;
  border-color: var(--pc, var(--brand));
  transform: scale(1.08);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--pc, var(--brand)) 28%, transparent);
}
.tg-perk-body {
  display: grid;
  gap: 6px;
  max-width: 220px;
}
.tg-perk-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.4;
}
.tg-perk-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.65;
}

/* تصاميم البطاقات — cards hug far left; RTL copy rail on the right */
.tg-card-designs { padding: 40px 0 64px; background: #f7f4f1; }
[data-theme="dark"] .tg-card-designs { background: #0e0b09; }
.tg-designs-layout {
  display: grid;
  /* Extra-asymmetric: cards own the left plane; copy is a slim RTL rail */
  grid-template-columns: minmax(0, 1fr) minmax(220px, 270px);
  column-gap: clamp(56px, 8vw, 120px);
  row-gap: 28px;
  align-items: center;
  direction: ltr;
}
.tg-designs-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* RTL: start = right */
  direction: rtl;
  text-align: right;
  max-width: 270px;
  width: 100%;
  justify-self: end;
  padding-inline-start: 0;
  margin-inline-start: auto;
}
.tg-designs-copy h2 {
  margin: 0 0 18px;
  /* Slightly tighter so Arabic title stays one horizontal line on desktop */
  font-size: clamp(1.55rem, 2.45vw, 2.15rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
  width: max-content;
  max-width: none;
}
.tg-designs-copy .tg-designs-sub {
  margin: 0 0 12px;
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  font-weight: 700;
  line-height: 1.55;
  color: #5a5a5a; /* medium gray — subtitle under title */
}
[data-theme="dark"] .tg-designs-copy .tg-designs-sub {
  color: rgba(255, 255, 255, .72);
}
.tg-designs-copy .tg-designs-desc {
  margin: 0 0 30px;
  font-size: .9rem;
  font-weight: 400;
  line-height: 1.95;
  color: #9b9b9b; /* lighter gray — body under subtitle */
}
[data-theme="dark"] .tg-designs-copy .tg-designs-desc {
  color: rgba(255, 255, 255, .48);
}
.tg-designs-copy .btn {
  margin-top: 4px;
  align-self: flex-start; /* RTL: stays right under the copy */
}
.tg-designs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
  justify-self: start;
  width: 100%;
  max-width: none;
  /* Mild left bias without distorting card cells */
  margin-inline-start: clamp(-12px, -1.2vw, 0px);
  margin-inline-end: 0;
  padding-inline-end: 0;
}
.tg-design-item {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 0;
}
.tg-design-caption {
  display: block;
  margin: 0;
  padding: 0 2px;
  text-align: center;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.35;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-theme="dark"] .tg-design-caption { color: rgba(255, 255, 255, .62); }
.tg-design-card {
  position: relative;
  /* Natural NFC/business-card ratio (~ matches design assets ~1.57) */
  aspect-ratio: 1.58 / 1;
  width: 100%;
  height: auto;
  /* Do not use min-height — it fights aspect-ratio and squashes cards toward square */
  border-radius: 16px;
  overflow: hidden;
  background: var(--dc, #FF5100);
  box-shadow: 0 10px 24px rgba(20, 10, 4, .12);
  isolation: isolate;
  transition:
    transform .35s cubic-bezier(.22, 1, .36, 1),
    box-shadow .35s ease;
}
/* لمعان احترافي — يظهر عند الـ hover فقط */
.tg-design-card::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -40%;
  z-index: 2;
  width: 45%;
  height: 140%;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 35%,
    rgba(255, 255, 255, .18) 48%,
    rgba(255, 255, 255, .55) 50%,
    rgba(255, 255, 255, .18) 52%,
    rgba(255, 255, 255, 0) 65%,
    transparent 100%
  );
  transform: translateX(-120%) skewX(-18deg);
  opacity: 0;
  transition: none;
}
.tg-design-card::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, .14) 0%,
    transparent 42%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity .35s ease;
}
.tg-design-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(20, 10, 4, .2);
}
.tg-design-card:hover::before {
  opacity: 1;
  animation: tgDesignShineOnce .85s cubic-bezier(.22, .7, .25, 1) forwards;
}
.tg-design-card:hover::after {
  opacity: 1;
}
.tg-design-card.has-image {
  background: #fff;
}
.tg-design-card img {
  /* Absolute so intrinsic image size cannot distort the aspect-ratio box */
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
}
.tg-design-card:hover img {
  transform: scale(1.03);
}
.tg-design-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 12px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.28), transparent 40%),
    linear-gradient(135deg, var(--dc, #FF5100), color-mix(in srgb, var(--dc, #FF5100) 55%, #111));
  color: #fff;
  text-align: center;
}
.tg-design-fallback img { width: 58px; height: auto; opacity: .95; }
.tg-design-fallback span { font-size: .78rem; font-weight: 800; }

@keyframes tgDesignShineOnce {
  0% {
    transform: translateX(-130%) skewX(-18deg);
    opacity: 0;
  }
  18% { opacity: 1; }
  100% {
    transform: translateX(320%) skewX(-18deg);
    opacity: 0;
  }
}

/* بطاقات سهولة / دعم / أمان — أسلوب Jawwal Pay (3 بطاقات عمودية متمركزة) */
.tg-home-pillars { padding: 36px 0 72px; background: #fff; }
[data-theme="dark"] .tg-home-pillars { background: #120d0a; }
.tg-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: stretch;
  max-width: 980px;
  margin-inline: auto;
  justify-content: center;
}
.tg-pillar-card {
  --pc: #FF5100;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  min-height: 380px;
  aspect-ratio: 3 / 4.2;
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  height: auto;
  padding: 48px 28px 36px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid transparent;
  text-align: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .08);
  transition:
    transform .4s cubic-bezier(.22, 1, .36, 1),
    box-shadow .4s cubic-bezier(.22, 1, .36, 1),
    background .4s ease,
    border-color .4s ease,
    color .4s ease;
  will-change: transform;
}
[data-theme="dark"] .tg-pillar-card {
  background: #1a1410;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
}
.tg-pillar-card:hover {
  transform: translateY(-10px);
  background: var(--pc, #FF5100);
  border-color: var(--pc, #FF5100);
  box-shadow: 0 20px 44px rgba(255, 81, 0, .26);
  color: #fff;
}
.tg-pillar-icon {
  width: 88px;
  height: 88px;
  margin: 0 0 22px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #9aa0a6;
  color: #707070;
  font-size: 2rem;
  transition:
    color .4s ease,
    border-color .4s ease,
    background .4s ease,
    transform .45s cubic-bezier(.22, 1, .36, 1),
    box-shadow .4s ease;
}
.tg-pillar-icon i {
  display: inline-block;
  transform-origin: center;
  transition: transform .35s ease;
}
.tg-pillar-card:hover .tg-pillar-icon {
  color: #fff;
  border-color: rgba(255, 255, 255, .9);
  background: rgba(255, 255, 255, .16);
  transform: scale(1.06);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, .12);
  animation: tgPillarIconPop .55s cubic-bezier(.34, 1.56, .64, 1);
}
.tg-pillar-card:hover .tg-pillar-icon i {
  animation: tgPillarIconWiggle .7s ease both;
}
@keyframes tgPillarIconPop {
  0%   { transform: scale(.92) rotate(-6deg); }
  55%  { transform: scale(1.1) rotate(4deg); }
  100% { transform: scale(1.06) rotate(0deg); }
}
@keyframes tgPillarIconWiggle {
  0%   { transform: translateY(0) rotate(0deg); }
  25%  { transform: translateY(-4px) rotate(-8deg); }
  50%  { transform: translateY(1px) rotate(6deg); }
  75%  { transform: translateY(-2px) rotate(-3deg); }
  100% { transform: translateY(0) rotate(0deg); }
}
.tg-pillar-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--pc, #FF5100);
  line-height: 1.35;
  transition: letter-spacing .4s ease, color .4s ease;
}
.tg-pillar-card:hover h3 {
  color: #fff;
  letter-spacing: .02em;
}
.tg-pillar-line {
  display: block;
  width: 42px;
  height: 2px;
  margin: 0 auto 18px;
  border-radius: 2px;
  background: var(--pc, #FF5100);
  transition: width .4s cubic-bezier(.22, 1, .36, 1), background .4s ease, height .4s ease;
}
.tg-pillar-card:hover .tg-pillar-line {
  width: 72px;
  height: 3px;
  background: #fff;
}
.tg-pillar-card p {
  margin: 0;
  color: #707070;
  font-size: .95rem;
  line-height: 1.75;
  max-width: 26ch;
  flex: 1 1 auto;
  transition: color .4s ease;
}
.tg-pillar-card:hover p {
  color: rgba(255, 255, 255, .94);
}
[data-theme="dark"] .tg-pillar-card p { color: rgba(255,255,255,.72); }
[data-theme="dark"] .tg-pillar-icon {
  border-color: rgba(255,255,255,.35);
  color: rgba(255,255,255,.7);
}
[data-theme="dark"] .tg-pillar-card:hover {
  background: var(--pc, #FF5100);
}
[data-theme="dark"] .tg-pillar-card:hover h3,
[data-theme="dark"] .tg-pillar-card:hover p {
  color: #fff;
}

/* شركاء + مروحة الهواتف + رسالتنا + معتمدوننا */
.tg-ecosystem {
  padding: 10px 0 64px;
  background:
    radial-gradient(ellipse 70% 40% at 50% 18%, rgba(124, 58, 237, .06), transparent 60%),
    radial-gradient(ellipse 50% 30% at 80% 80%, rgba(255, 81, 0, .05), transparent 55%),
    #faf8f6;
}
.tg-ecosystem.tg-eco-block {
  padding: 28px 0;
}
.tg-ecosystem.tg-eco-block + .tg-ecosystem.tg-eco-block {
  padding-top: 0;
}
.tg-ecosystem.tg-eco-block:last-of-type {
  padding-bottom: 64px;
}
[data-theme="dark"] .tg-ecosystem {
  background:
    radial-gradient(ellipse 70% 40% at 50% 18%, rgba(124, 58, 237, .14), transparent 60%),
    #120d0a;
}
.tg-eco-head {
  text-align: center;
  margin-bottom: 28px;
}
.tg-eco-head span {
  display: inline-block;
  font-weight: 800;
  font-size: .95rem;
  color: var(--brand);
  margin-bottom: 8px;
}
.tg-eco-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.35;
}
.tg-eco-head p {
  margin: 0 auto;
  max-width: 560px;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.7;
}

.tg-partners-with { padding: 36px 0 8px; }
.tg-partner-marquee {
  margin-top: 12px;
  padding-block: 18px;
  overflow: hidden;
}
.tg-partner-marquee .tg-marquee-track {
  gap: 0;
  align-items: center;
  animation-duration: 28s;
}
.tg-partner-set {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 2vw, 28px);
  padding-inline: 12px;
  width: max-content;
  box-sizing: border-box;
}
.tg-partner-marquee.is-speed-slow .tg-marquee-track { animation-duration: 48s; }
.tg-partner-marquee.is-speed-normal .tg-marquee-track { animation-duration: 28s; }
.tg-partner-marquee.is-speed-fast .tg-marquee-track { animation-duration: 16s; }
.tg-partner-marquee.is-dir-ltr .tg-marquee-track { animation-name: tgMarquee; }
.tg-partner-marquee.is-dir-rtl .tg-marquee-track { animation-name: tgMarqueeRtl; }
.tg-partner-marquee.no-pause-hover:hover .tg-marquee-track {
  animation-play-state: running;
}
/* صف ثابت: الـ6 بجانب بعض بدون شريط تمرير */
.tg-partner-marquee.is-static {
  mask-image: none;
  -webkit-mask-image: none;
  overflow: hidden;
  cursor: default;
  scrollbar-width: none;
}
.tg-partner-marquee.is-static::-webkit-scrollbar { display: none; }
.tg-partner-marquee.is-static .tg-marquee-track {
  animation: none !important;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  padding-inline: 0;
  gap: 0;
  transform: none !important;
}
.tg-partner-marquee.is-static .tg-partner-set {
  width: 100%;
  max-width: none;
  margin-inline: auto;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(12px, 2vw, 36px);
  padding-inline: clamp(12px, 3vw, 40px);
}
.tg-partner-logo {
  display: grid;
  place-items: center;
  flex: 1 1 0;
  min-width: 0;
  min-height: 0;
  max-width: none;
  padding: 6px 8px;
  text-decoration: none;
  color: inherit;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.tg-partner-logo img {
  max-height: 395px;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: grayscale(.35);
  opacity: .88;
  transition: filter .28s ease, opacity .28s ease, transform .28s ease;
}
.tg-partner-logo:hover {
  background: none;
  box-shadow: none;
}
.tg-partner-logo:hover img {
  filter: grayscale(0) drop-shadow(0 0 10px rgba(255, 81, 0, .22));
  opacity: 1;
  transform: scale(1.06);
}
.tg-partner-logo strong {
  font-size: .85rem;
  font-weight: 800;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.tg-apps-fan-wrap {
  padding: 48px 0 64px;
  overflow-x: auto;
  overflow-y: visible;
  display: block;
  width: 100%;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 81, 0, .35) transparent;
}
.tg-apps-fan {
  --phone-w: clamp(110px, 10.2vw, 138px);
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.2vw, 32px);
  width: max-content;
  max-width: none;
  margin: 0 auto;
  min-height: calc(var(--phone-w) * 2.2);
  padding: 16px 8px 24px;
}
/* صف أفقي مستقيم */
.tg-fan-phone {
  position: relative;
  flex: 0 0 auto;
  width: var(--phone-w);
  text-decoration: none;
  color: inherit;
  cursor: default;
  z-index: 1;
  filter: drop-shadow(0 12px 16px rgba(20, 8, 4, .12));
  transition: transform .28s ease, filter .28s ease;
}
.tg-fan-phone.is-link { cursor: pointer; }
/* هاتف الوسط المتميز — أكبر فقط بدون مؤثرات مزعجة */
.tg-fan-phone.is-hero {
  width: calc(var(--phone-w) * 1.26);
  z-index: 5;
  filter: drop-shadow(0 20px 26px rgba(20, 8, 4, .2));
}
.tg-fan-phone.is-hero .tg-fan-frame {
  box-shadow:
    0 0 0 2px rgba(255, 81, 0, .28),
    0 10px 22px rgba(20, 8, 4, .12);
}
.tg-fan-phone:hover {
  z-index: 8;
  transform: scale(1.12);
  filter: drop-shadow(0 18px 24px rgba(20, 8, 4, .16));
}
.tg-fan-phone:hover .tg-fan-frame {
  box-shadow:
    0 0 0 2px rgba(255, 81, 0, .22),
    0 0 22px rgba(255, 81, 0, .28),
    0 0 40px rgba(255, 180, 80, .18),
    0 12px 24px rgba(20, 8, 4, .12);
}
.tg-fan-phone.is-hero:hover .tg-fan-frame {
  box-shadow:
    0 0 0 2px rgba(255, 81, 0, .35),
    0 0 26px rgba(255, 81, 0, .34),
    0 0 48px rgba(255, 180, 80, .22),
    0 14px 28px rgba(20, 8, 4, .14);
}
.tg-fan-frame {
  position: relative;
  border-radius: 18px;
  padding: 6px;
  background: #1a1b1f;
  box-shadow: 0 8px 18px rgba(20, 8, 4, .1);
  transition: box-shadow .28s ease;
}
.tg-fan-island {
  display: none; /* بدون جزيرة ديناميك / نوتش آيفون */
}
.tg-fan-screen {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 9 / 18.5;
  background: #0f1115;
}
.tg-fan-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.tg-fan-shadow { display: none; }

/* قوالب شاشة الهاتف — واضحة ونظيفة */
.tg-ps {
  --pc: #FF5100;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 28px 10px 10px;
  background: #f4f5f7;
  color: #1f2937;
  font-size: clamp(8px, 1.05vw, 10px);
  line-height: 1.3;
  box-sizing: border-box;
}
.tg-ps-hero {
  width: 46%;
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  background: #e5e7eb;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.tg-ps-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tg-ps-badge {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--pc);
  color: #fff;
  font-size: 1.7em;
}
.tg-ps-social {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
}
.tg-ps-social i {
  width: 1.7em;
  height: 1.7em;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: var(--pc);
  font-size: .95em;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.tg-ps-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.tg-ps-link {
  display: grid;
  grid-template-columns: 1.2em 1fr .8em;
  align-items: center;
  gap: 6px;
  padding: .55em .7em;
  border-radius: .7em;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
  font-weight: 700;
  font-size: .92em;
}
.tg-ps-link > i:first-child { color: var(--pc); }
.tg-ps-link > i:last-child { color: #c0c4cc; font-size: .75em; }
.tg-ps-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tg-ps-grid {
  display: grid;
  gap: 5px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.tg-ps-grid-3,
.tg-ps-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 1fr;
}
.tg-ps-tile {
  border-radius: .55em;
  overflow: hidden;
  background: #d1d5db;
  min-height: 0;
}
.tg-ps-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tg-ps-tile span {
  display: grid;
  place-items: center;
  height: 100%;
  font-weight: 900;
  color: #6b7280;
  background: #e5e7eb;
  font-size: 1.2em;
}
.tg-ps-nav {
  margin-top: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: .65em .4em;
  border-radius: .85em;
  background: #111827;
  color: #fff;
  flex-shrink: 0;
}
.tg-ps-nav i { font-size: 1.05em; opacity: .92; }
.tg-ps-shop {
  padding-top: 24px;
  background: #fff;
  gap: 6px;
}
.tg-ps-topbar {
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
  color: #374151;
  font-size: 1.05em;
}
.tg-ps-banner {
  height: 22%;
  border-radius: .7em;
  overflow: hidden;
  background: linear-gradient(160deg, #ffe1d0 0%, #fff 70%);
  flex-shrink: 0;
}
.tg-ps-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tg-ps-icons {
  display: flex;
  justify-content: space-between;
  padding: 0 4px;
  color: var(--pc);
  font-size: .95em;
}
.tg-ps-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.tg-ps-product {
  background: #f3f4f6;
  border-radius: .6em;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.tg-ps-product img,
.tg-ps-ph {
  height: 46%;
  width: 100%;
  object-fit: cover;
  background: #d1d5db;
  display: block;
  flex-shrink: 0;
}
.tg-ps-product small {
  padding: 3px 4px 0;
  font-size: .72em;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tg-ps-product b {
  margin: 3px 4px 4px;
  display: block;
  text-align: center;
  font-size: .7em;
  padding: 3px 0;
  border-radius: .4em;
  background: var(--pc);
  color: #fff;
  font-weight: 800;
}
.tg-ps-gallery .tg-ps-hero,
.tg-ps-cars .tg-ps-hero { width: 50%; }

.tg-mission-banner {
  padding: 36px 0 24px;
  overflow: visible;
}
.tg-mission-panel {
  position: relative;
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(200px, .95fr) minmax(260px, 1.15fr);
  align-items: center;
  min-height: 260px;
  border-radius: 28px;
  overflow: visible;
  color: #fff;
  isolation: isolate;
}
/* خلفية متواصلة كاملة — طبقة واحدة */
.tg-mission-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 28px;
  background: linear-gradient(105deg,
    #1e3a8a 0%,
    #4c1d95 22%,
    #7c3aed 42%,
    #db2777 58%,
    #ea580c 78%,
    #ff5100 100%);
  box-shadow: 0 26px 50px rgba(91, 33, 182, .26);
  pointer-events: none;
}
.tg-mission-media {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 2.5vw, 28px);
  min-height: 220px;
}
.tg-mission-photo {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 170px;
  margin: 0;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
  -webkit-mask-image: none;
  mask-image: none;
  filter: drop-shadow(0 12px 22px rgba(33, 10, 3, .16));
}
.tg-mission-copy {
  position: relative;
  z-index: 2;
  direction: rtl;
  padding: clamp(28px, 4vw, 48px) clamp(28px, 4.5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  text-align: right;
  background: transparent;
}
.tg-mission-copy h2 {
  margin: 0 0 2px;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0;
  color: #fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.06);
}
.tg-mission-copy p {
  margin: 0;
  font-size: clamp(.95rem, 1.15vw, 1.08rem);
  font-weight: 500;
  line-height: 1.95;
  color: rgba(255,255,255,.96);
  max-width: 38ch;
}
.tg-mission-copy p + p {
  margin-top: 2px;
}
.tg-mission-copy .btn {
  align-self: flex-start;
  margin-top: 8px;
}
html[dir="ltr"] .tg-mission-copy {
  direction: ltr;
  text-align: left;
}

.tg-certified {
  padding: 48px 0 20px;
}
.tg-certified-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.tg-certified-copy {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 22px;
  min-width: 0;
  flex: 1 1 auto;
}
.tg-certified-copy h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
  white-space: nowrap;
}
.tg-certified-copy p {
  margin: 0;
  color: var(--text);
  font-size: clamp(.92rem, 1.5vw, 1.05rem);
  font-weight: 500;
  line-height: 1.55;
  opacity: .88;
}
.tg-certified-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(20, 8, 4, .55);
  background: #fff;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.tg-certified-more:hover {
  background: #fff7f2;
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}
[data-theme="dark"] .tg-certified-more {
  background: #1a1410;
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.tg-certified-marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0 28px;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.tg-certified-track {
  display: flex;
  align-items: center;
  gap: 27px;
  width: max-content;
  animation: tgCertifiedMarquee 38s linear infinite;
}
.tg-certified-marquee:hover .tg-certified-track {
  animation-play-state: paused;
}
@keyframes tgCertifiedMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
[dir="rtl"] .tg-certified-track {
  animation-name: tgCertifiedMarqueeRtl;
}
@keyframes tgCertifiedMarqueeRtl {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}
.tg-certified-card {
  --tilt: 0deg;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 198px;
  height: 198px;
  padding: 27px;
  border-radius: 27px;
  background: #fff;
  border: 1px solid rgba(20, 8, 4, .06);
  box-shadow: 0 10px 24px rgba(33, 10, 3, .07);
  text-decoration: none;
  color: inherit;
  transform: rotate(var(--tilt));
  transition: transform .28s ease, box-shadow .28s ease;
}
.tg-certified-card:nth-child(8n+1) { --tilt: -3.8deg; }
.tg-certified-card:nth-child(8n+2) { --tilt: 2.6deg; }
.tg-certified-card:nth-child(8n+3) { --tilt: -2.2deg; }
.tg-certified-card:nth-child(8n+4) { --tilt: 3.4deg; }
.tg-certified-card:nth-child(8n+5) { --tilt: -4.2deg; }
.tg-certified-card:nth-child(8n+6) { --tilt: 1.8deg; }
.tg-certified-card:nth-child(8n+7) { --tilt: -1.6deg; }
.tg-certified-card:nth-child(8n+8) { --tilt: 3deg; }
[data-theme="dark"] .tg-certified-card {
  background: #1a1410;
  border-color: rgba(255, 255, 255, .08);
}
.tg-certified-card:hover {
  transform: rotate(0deg) translateY(-4px) scale(1.04);
  box-shadow: 0 16px 32px rgba(33, 10, 3, .12);
  z-index: 2;
}
.tg-certified-card img {
  max-height: 96px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
}
.tg-certified-card strong {
  font-size: .82rem;
  font-weight: 800;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.35;
}

@media (max-width: 720px) {
  .tg-certified-bar {
    flex-direction: column;
    align-items: flex-start;
  }
  .tg-certified-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .tg-certified-copy h2 { white-space: normal; }
  .tg-certified-card {
    width: 168px;
    height: 168px;
    padding: 20px;
    border-radius: 22px;
  }
  .tg-certified-card img { max-height: 78px; }
  .tg-certified-track { gap: 20px; animation-duration: 28s; }
}

@media (max-width: 1100px) {
  .tg-designs-layout {
    grid-template-columns: minmax(0, 1fr) minmax(200px, 240px);
    column-gap: clamp(40px, 6vw, 80px);
  }
  .tg-designs-copy { max-width: 240px; }
  .tg-designs-copy h2 {
    max-width: none;
    font-size: clamp(1.4rem, 2.3vw, 1.9rem);
    white-space: nowrap;
  }
  /* Neutralize pull-left overflow that caused horizontal scroll on tablets */
  .tg-designs-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 14px;
    max-width: 100%;
    width: 100%;
    margin-inline-start: 0;
    padding-inline-end: 0;
  }
}
@media (max-width: 980px) {
  .tg-perks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .tg-designs-layout { grid-template-columns: 1fr; gap: 28px; }
  .tg-designs-copy {
    text-align: center;
    align-items: center;
    max-width: none;
    justify-self: stretch;
    padding-inline-start: 0;
  }
  .tg-designs-copy h2 {
    white-space: normal;
    width: auto;
    font-size: clamp(1.55rem, 5.5vw, 2rem);
  }
  .tg-designs-copy .btn { margin-inline: auto; align-self: center; }
  .tg-designs-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 12px;
    max-width: 820px;
    width: 100%;
    margin-inline: auto;
    justify-self: center;
  }
  .tg-pillars-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 720px;
    gap: 14px;
  }
  .tg-pillar-card {
    min-height: 300px;
    aspect-ratio: 3 / 4.1;
    max-width: 230px;
    padding: 32px 16px 26px;
    border-radius: 24px;
  }
  .tg-mission-banner { padding-top: 20px; }
  .tg-mission-panel {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .tg-mission-media {
    justify-content: center;
    align-items: center;
    min-height: 140px;
    order: -1;
    padding-bottom: 0;
  }
  .tg-mission-photo {
    margin: 0;
    max-height: 120px;
  }
  .tg-mission-copy {
    text-align: center;
    align-items: center;
    padding-top: 8px;
  }
  .tg-mission-copy .btn { align-self: center; }
  /* معرض الهواتف: نفس التكوين الأفقي — الهاتف الرئيسي في الوسط */
  .tg-apps-fan-wrap {
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 50%;
    padding-block: 36px 48px;
    touch-action: pan-x;
  }
  .tg-apps-fan {
    --phone-w: clamp(92px, 18vw, 118px);
    gap: clamp(12px, 2.4vw, 20px);
    justify-content: flex-start;
    /* مساحة جانبية حتى يبقى الهاتف الوسط قابلاً للتمركز بالسحب */
    padding: 12px max(24px, calc(50vw - (var(--phone-w) * 0.63))) 20px;
  }
  .tg-fan-phone {
    scroll-snap-align: center;
    scroll-snap-stop: normal;
  }
  .tg-fan-phone.is-hero {
    width: calc(var(--phone-w) * 1.26);
    scroll-snap-align: center;
  }
  .tg-fan-phone:hover { transform: none; }
  .tg-fan-phone.is-hero:hover .tg-fan-frame,
  .tg-fan-phone:hover .tg-fan-frame {
    box-shadow:
      0 0 0 2px rgba(255, 81, 0, .28),
      0 10px 22px rgba(20, 8, 4, .12);
  }
  .tg-fan-phone.is-hero .tg-fan-frame {
    box-shadow:
      0 0 0 2px rgba(255, 81, 0, .32),
      0 0 22px rgba(255, 81, 0, .22),
      0 12px 24px rgba(20, 8, 4, .14);
  }
}
@media (max-width: 700px) {
  .tg-pillars-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    gap: 16px;
  }
  .tg-pillar-card {
    min-height: 280px;
    aspect-ratio: 3 / 3.6;
    max-width: 300px;
    padding: 36px 24px 30px;
  }
}
@media (max-width: 720px) {
  .tg-designs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 540px;
    gap: 18px 16px;
  }
  .tg-design-caption { font-size: .76rem; }
  .tg-design-card { border-radius: 14px; }
}
@media (max-width: 560px) {
  .tg-perks-grid { grid-template-columns: 1fr; gap: 20px; }
  .tg-perk-card { flex-direction: row; text-align: start; align-items: center; gap: 16px; }
  .tg-perk-body { max-width: none; flex: 1; }
  .tg-perk-icon { width: 64px; height: 64px; font-size: 1.4rem; flex: 0 0 auto; }
  .tg-designs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
    gap: 12px;
  }
  .tg-apps-fan {
    --phone-w: clamp(88px, 24vw, 112px);
    gap: clamp(10px, 3vw, 18px);
  }
  .tg-fan-phone.is-hero {
    width: calc(var(--phone-w) * 1.24);
  }
  .tg-partner-marquee .tg-marquee-track { gap: 0; }
  .tg-partner-set { gap: 8px; padding-inline: 8px; }
  .tg-partner-logo { padding: 2px 4px; }
  .tg-partner-logo img { max-height: 160px; }
}

.tg-why {
  padding: clamp(52px, 7vw, 92px) 0;
  background: var(--teal-gradient);
  color: #fff;
}
.tg-why .tg-why-head { max-width: 640px; margin-bottom: 42px; }
.tg-why .tg-why-head span {
  display: inline-block;
  padding: 6px 18px;
  margin-bottom: 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .14);
  color: var(--brand-light);
  font-weight: 800;
  font-size: .82rem;
}
.tg-why .tg-why-head h2 { color: #fff; }
.tg-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; }
.tg-why-item { display: flex; gap: 16px; }
.tg-why-item > span {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: rgba(255, 255, 255, .12);
  color: var(--brand-light);
  font-size: 1.1rem;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.tg-why-item:hover > span { background: var(--brand); color: #fff; transform: translateY(-4px); }
.tg-why-item h3 { color: #fff; font-size: 1.05rem; margin-bottom: 6px; }
.tg-why-item p { color: rgba(255, 255, 255, .76); font-size: .92rem; margin: 0; }

.tg-process-line {
  display: grid;
  grid-template-columns: repeat(var(--steps-n, 4), minmax(0, 1fr));
  gap: 22px;
  position: relative;
  isolation: isolate;
  padding-top: 44px; /* السهم فوق المربعات مباشرة */
}
.tg-process-arrow {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 6;
  width: 78px;
  height: 62px;
  opacity: 0;
  pointer-events: none;
  color: #FF5100;
  filter: drop-shadow(0 6px 12px rgba(255, 81, 0, .32));
  transform: translate3d(0, 0, 0) scale(.9);
  transform-origin: 50% 70%;
  will-change: transform, opacity;
}
.tg-process-arrow.is-visible { opacity: 1; }
.tg-process-arrow svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: none;
}
html[dir="ltr"] .tg-process-arrow svg {
  transform: scaleX(-1);
}

.tg-step {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 28px 20px 24px;
  text-align: center;
  border-radius: 20px;
  background: var(--surface);
  border: 1px dashed color-mix(in srgb, var(--pc, var(--brand)) 28%, var(--border-strong));
  transition:
    transform .45s var(--ease),
    border-color .45s var(--ease),
    border-style .35s var(--ease),
    box-shadow .45s var(--ease),
    background .45s var(--ease);
}
.tg-step.tg-step-last {
  overflow: visible;
}
.tg-step.is-arrow-here {
  border-style: solid;
  border-color: color-mix(in srgb, var(--pc, var(--brand)) 70%, #fff);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--pc, var(--brand)) 16%, transparent);
  transform: translateY(-4px);
}
.tg-step.is-celebrating {
  border-style: solid;
  border-color: var(--pc, var(--brand));
  background: color-mix(in srgb, var(--pc, var(--brand)) 8%, #fff);
  box-shadow: 0 14px 32px color-mix(in srgb, var(--pc, var(--brand)) 20%, transparent);
  transform: translateY(-6px) scale(1.02);
  z-index: 5;
  animation: tgProcessCardPulse 1.1s ease-out;
}
.tg-step:hover {
  transform: translateY(-8px);
  border-style: solid;
  border-color: var(--pc, var(--brand));
  background: color-mix(in srgb, var(--pc, var(--brand)) 6%, #fff);
  box-shadow: 0 16px 36px color-mix(in srgb, var(--pc, var(--brand)) 22%, transparent);
}
.tg-step.is-celebrating:hover { transform: translateY(-6px) scale(1.02); }
.tg-step small {
  display: block;
  font-size: 1.35rem;
  font-weight: 900;
  color: color-mix(in srgb, var(--pc, var(--brand)) 45%, #c9c2bc);
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: .04em;
  transition: color .3s var(--ease);
}
.tg-step:hover small,
.tg-step.is-arrow-here small,
.tg-step.is-celebrating small { color: var(--pc, var(--brand)); }
.tg-step h3 { font-size: 1.02rem; margin-bottom: 6px; transition: color .3s var(--ease); }
.tg-step:hover h3,
.tg-step.is-celebrating h3 { color: var(--pc, var(--brand)); }
.tg-step p { font-size: .9rem; margin: 0; position: relative; z-index: 1; }
.tg-step-icon {
  position: relative;
  z-index: 2;
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, #fff 0%, color-mix(in srgb, var(--pc, var(--brand)) 16%, #fff) 70%);
  color: var(--pc, var(--brand));
  font-size: 1.2rem;
  border: 1px solid color-mix(in srgb, var(--pc, var(--brand)) 28%, transparent);
  box-shadow:
    0 0 0 10px var(--surface, #fff),
    0 8px 18px color-mix(in srgb, var(--pc, var(--brand)) 14%, transparent);
  transition:
    background .35s var(--ease),
    color .35s var(--ease),
    border-color .35s var(--ease),
    transform .35s var(--ease),
    box-shadow .35s var(--ease);
}
.tg-step:hover .tg-step-icon,
.tg-step.is-arrow-here .tg-step-icon,
.tg-step.is-celebrating .tg-step-icon {
  background: var(--pc, var(--brand));
  color: #fff;
  border-color: var(--pc, var(--brand));
  transform: scale(1.06);
  box-shadow:
    0 0 0 10px var(--surface, #fff),
    0 12px 26px color-mix(in srgb, var(--pc, var(--brand)) 35%, transparent);
}

.tg-process-celebrate {
  position: absolute;
  inset: -10%;
  z-index: 4;
  border-radius: 24px;
  pointer-events: none;
  opacity: 0;
  overflow: visible;
  background: transparent;
}
.tg-process-celebrate.is-on {
  opacity: 1;
  animation: tgProcessCardGlow 2.2s ease-out forwards;
  background:
    radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--pc, #FF5100) 28%, transparent) 0%, transparent 58%),
    radial-gradient(circle at 50% 50%, rgba(255, 210, 74, .18) 0%, transparent 70%);
}
.tg-process-celebrate.is-fading {
  opacity: 0;
  transition: opacity .45s ease;
  animation: none;
  background: transparent;
}
.tg-process-shock {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, #FFD24A 55%, #fff);
  opacity: 0;
  pointer-events: none;
}
.tg-process-celebrate.is-on .tg-process-shock {
  animation: tgProcessShock 1.15s ease-out forwards;
}
.tg-process-celebrate.is-on .tg-process-shock--2 {
  animation-delay: .18s;
  border-color: color-mix(in srgb, var(--pc, #FF5100) 50%, #fff);
}
.tg-process-fw {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 18px;
  margin: -9px -2px;
  border-radius: 4px;
  background: linear-gradient(180deg, #fff 0%, #FFD24A 40%, var(--pc, #FF5100) 100%);
  opacity: 0;
  transform-origin: 50% 100%;
  transform: rotate(var(--a, 0deg)) translateY(0) scaleY(.3);
}
.tg-process-celebrate.is-on .tg-process-fw {
  animation: tgProcessFirework 1.35s cubic-bezier(.15, .8, .2, 1) forwards;
}
.tg-process-celebrate.is-on .tg-process-fw:nth-child(3) { animation-delay: .02s; }
.tg-process-celebrate.is-on .tg-process-fw:nth-child(4) { animation-delay: .05s; background: linear-gradient(180deg, #fff, #ff8a4c, #ff5c8a); }
.tg-process-celebrate.is-on .tg-process-fw:nth-child(5) { animation-delay: .08s; background: linear-gradient(180deg, #fff, #5b8cff, #8b5cf6); }
.tg-process-celebrate.is-on .tg-process-fw:nth-child(6) { animation-delay: .04s; }
.tg-process-celebrate.is-on .tg-process-fw:nth-child(7) { animation-delay: .1s; background: linear-gradient(180deg, #fff, #2ec4b6, #22c55e); }
.tg-process-celebrate.is-on .tg-process-fw:nth-child(8) { animation-delay: .06s; background: linear-gradient(180deg, #fff, #ffb020, #FF5100); }
.tg-process-celebrate.is-on .tg-process-fw:nth-child(9) { animation-delay: .12s; background: linear-gradient(180deg, #fff, #a78bfa, #5b8cff); }
.tg-process-celebrate.is-on .tg-process-fw:nth-child(10) { animation-delay: .07s; }

.tg-process-boom {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 78px;
  height: 78px;
  margin: -39px 0 0 -39px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 50% 45%, rgba(255,255,255,.95) 0%, rgba(255,210,74,.55) 38%, color-mix(in srgb, var(--pc, #FF5100) 55%, transparent) 62%, transparent 78%);
  opacity: 0;
  transform: scale(.2);
  box-shadow: 0 0 0 0 color-mix(in srgb, #FFD24A 40%, transparent);
}
.tg-process-celebrate.is-on .tg-process-boom {
  animation: tgProcessBoom 1.55s cubic-bezier(.2, .9, .25, 1) forwards;
}
.tg-process-star {
  width: 46px;
  height: 46px;
  display: block;
  filter: drop-shadow(0 0 10px rgba(255, 210, 74, .85));
  animation: tgProcessStarSpin 1.55s ease-out forwards;
}
.tg-process-celebrate > i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  margin: -3.5px;
  border-radius: 50%;
  opacity: 0;
  background: #FFD24A;
  box-shadow: 0 0 6px currentColor;
}
.tg-process-celebrate > i:nth-child(12) { background: #FF5100; }
.tg-process-celebrate > i:nth-child(13) { background: #ffb020; }
.tg-process-celebrate > i:nth-child(14) { background: #5b8cff; }
.tg-process-celebrate > i:nth-child(15) { background: #ff5c8a; }
.tg-process-celebrate > i:nth-child(16) { background: #2ec4b6; }
.tg-process-celebrate > i:nth-child(17) { background: #a78bfa; }
.tg-process-celebrate > i:nth-child(18) { background: #22c55e; }
.tg-process-celebrate > i:nth-child(19) { background: #f97316; }
.tg-process-celebrate > i:nth-child(20) { background: #38bdf8; }
.tg-process-celebrate > i:nth-child(21) { background: #FB7185; }
.tg-process-celebrate > i:nth-child(22) { background: #FFD24A; }
.tg-process-celebrate > i:nth-child(23) { background: #FF8A4C; }
.tg-process-celebrate.is-on > i {
  animation: tgProcessBurst 1.45s cubic-bezier(.12, .7, .2, 1) forwards;
}
.tg-process-celebrate.is-on > i:nth-child(12) { --bx: -48px; --by: -52px; --rot: 90deg; animation-delay: .04s; }
.tg-process-celebrate.is-on > i:nth-child(13) { --bx: 50px; --by: -48px; --rot: -100deg; animation-delay: .08s; }
.tg-process-celebrate.is-on > i:nth-child(14) { --bx: -56px; --by: 8px; --rot: 70deg; animation-delay: .1s; }
.tg-process-celebrate.is-on > i:nth-child(15) { --bx: 58px; --by: 6px; --rot: -80deg; animation-delay: .06s; }
.tg-process-celebrate.is-on > i:nth-child(16) { --bx: -24px; --by: 54px; --rot: 110deg; animation-delay: .12s; }
.tg-process-celebrate.is-on > i:nth-child(17) { --bx: 26px; --by: 52px; --rot: -95deg; animation-delay: .14s; }
.tg-process-celebrate.is-on > i:nth-child(18) { --bx: 0; --by: -60px; --rot: 40deg; animation-delay: .05s; }
.tg-process-celebrate.is-on > i:nth-child(19) { --bx: -8px; --by: 58px; --rot: -50deg; animation-delay: .16s; }
.tg-process-celebrate.is-on > i:nth-child(20) { --bx: 64px; --by: -18px; --rot: 85deg; animation-delay: .09s; }
.tg-process-celebrate.is-on > i:nth-child(21) { --bx: -66px; --by: -14px; --rot: -75deg; animation-delay: .11s; }
.tg-process-celebrate.is-on > i:nth-child(22) { --bx: 40px; --by: 40px; --rot: 120deg; animation-delay: .15s; }
.tg-process-celebrate.is-on > i:nth-child(23) { --bx: -42px; --by: 38px; --rot: -115deg; animation-delay: .13s; }

@keyframes tgProcessCardPulse {
  0% { transform: translateY(-2px) scale(1); }
  40% { transform: translateY(-7px) scale(1.03); }
  100% { transform: translateY(-6px) scale(1.02); }
}
@keyframes tgProcessCardGlow {
  0% { opacity: 0; }
  10% { opacity: 1; }
  70% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes tgProcessShock {
  0% { opacity: .75; transform: scale(.35); }
  100% { opacity: 0; transform: scale(5.2); }
}
@keyframes tgProcessFirework {
  0% {
    opacity: 0;
    transform: rotate(var(--a, 0deg)) translateY(0) scaleY(.2);
  }
  25% {
    opacity: 1;
    transform: rotate(var(--a, 0deg)) translateY(-28px) scaleY(1.15);
  }
  70% {
    opacity: .85;
    transform: rotate(var(--a, 0deg)) translateY(-52px) scaleY(1);
  }
  100% {
    opacity: 0;
    transform: rotate(var(--a, 0deg)) translateY(-68px) scaleY(.35);
  }
}
@keyframes tgProcessBoom {
  0% {
    opacity: 0;
    transform: scale(.15) rotate(-20deg);
    box-shadow: 0 0 0 0 color-mix(in srgb, #FFD24A 50%, transparent);
  }
  35% {
    opacity: 1;
    transform: scale(1.18) rotate(8deg);
    box-shadow: 0 0 28px 10px color-mix(in srgb, #FFD24A 35%, transparent);
  }
  65% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    box-shadow: 0 0 18px 4px color-mix(in srgb, var(--pc, #FF5100) 25%, transparent);
  }
  100% {
    opacity: 0;
    transform: scale(.9) rotate(12deg);
    box-shadow: 0 0 0 0 transparent;
  }
}
@keyframes tgProcessStarSpin {
  0% { transform: scale(.4) rotate(-30deg); filter: drop-shadow(0 0 4px rgba(255, 210, 74, .4)); }
  40% { transform: scale(1.15) rotate(20deg); filter: drop-shadow(0 0 16px rgba(255, 210, 74, .95)); }
  100% { transform: scale(1) rotate(48deg); filter: drop-shadow(0 0 8px rgba(255, 210, 74, .55)); }
}
@keyframes tgProcessBurst {
  0% { opacity: 1; transform: translate(0, 0) scale(1.1) rotate(0); }
  70% { opacity: .85; }
  100% {
    opacity: 0;
    transform: translate(var(--bx, 24px), var(--by, -28px)) scale(.2) rotate(var(--rot, 120deg));
  }
}
[data-theme="dark"] .tg-step {
  background: #1a1410;
  border-color: color-mix(in srgb, var(--pc, var(--brand)) 35%, rgba(255,255,255,.12));
}
[data-theme="dark"] .tg-step.is-celebrating {
  background: color-mix(in srgb, var(--pc, var(--brand)) 18%, #1a1410);
}
[data-theme="dark"] .tg-step:hover {
  background: color-mix(in srgb, var(--pc, var(--brand)) 14%, #1a1410);
}
[data-theme="dark"] .tg-step-icon {
  background: color-mix(in srgb, var(--pc, var(--brand)) 18%, #1a1410);
  box-shadow:
    0 0 0 10px #1a1410,
    0 8px 18px rgba(0,0,0,.35);
}
[data-theme="dark"] .tg-step:hover .tg-step-icon,
[data-theme="dark"] .tg-step.is-arrow-here .tg-step-icon,
[data-theme="dark"] .tg-step.is-celebrating .tg-step-icon {
  box-shadow:
    0 0 0 10px #1a1410,
    0 12px 26px color-mix(in srgb, var(--pc, var(--brand)) 40%, transparent);
}
@media (prefers-reduced-motion: reduce) {
  .tg-process-arrow,
  .tg-process-celebrate { display: none !important; }
  .tg-design-card:hover::before { animation: none !important; opacity: 0; }
  .tg-design-card:hover img { transform: none; }
}

/* ============================================================
   12) مشتركو تاجز كارد
   ========================================================== */
.tg-members { padding: clamp(52px, 7vw, 88px) 0; background: var(--bg-alt); overflow: hidden; }
.tg-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.tg-marquee {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.tg-marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: tgMarquee 34s linear infinite;
}
.tg-marquee:hover .tg-marquee-track { animation-play-state: paused; }
@keyframes tgMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
[dir="rtl"] .tg-marquee-track { animation-name: tgMarqueeRtl; }
@keyframes tgMarqueeRtl {
  from { transform: translateX(0); }
  to   { transform: translateX(50%); }
}
.tg-member {
  display: block;
  width: 100%;
  padding: 22px 14px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 22px rgba(33, 10, 3, .04);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.tg-member:hover {
  transform: translateY(-6px);
  border-color: var(--brand);
  box-shadow: 0 14px 30px rgba(255, 81, 0, .12);
}
.tg-member b { display: block; font-size: .95rem; font-weight: 800; }
.tg-member small { display: block; margin-top: 4px; color: var(--text-muted); font-size: .8rem; }
.tg-member-avatar {
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #ff5100, #ff7a3d);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  border: 3px solid var(--surface);
  box-shadow: 0 6px 18px rgba(255, 81, 0, .22);
}
.tg-member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tg-members .tg-center-action { margin-top: 28px; }

/* ============================================================
   13) آراء العملاء
   ========================================================== */
.tg-testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.tg-quote {
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tg-quote:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.tg-stars { color: var(--yellow); letter-spacing: 3px; font-size: 1rem; }
.tg-stars .is-off { opacity: .28; }
.tg-quote p { margin: 14px 0 20px; font-size: .96rem; line-height: 1.9; }
.tg-quote footer { display: flex; align-items: center; gap: 12px; }
.tg-quote footer b { display: block; font-size: .95rem; }
.tg-quote footer small { color: var(--text-muted); font-size: .82rem; }
.tg-quote-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}
.tg-quote-avatar img { width: 100%; height: 100%; object-fit: contain; }

/* ============================================================
   14) نداء الإجراء الأخير
   ========================================================== */
.tg-final-cta { padding: clamp(40px, 6vw, 76px) 0; }
.tg-cta-box {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 26px;
  padding: clamp(30px, 5vw, 52px);
  border-radius: var(--radius-xl);
  background: var(--cta-bg, var(--brand-gradient));
  color: #fff;
}
.tg-cta-box::before {
  content: '';
  position: absolute;
  width: 340px;
  height: 340px;
  inset-inline-end: -80px;
  top: -140px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
}
.tg-cta-box > div { position: relative; z-index: 1; }
.tg-cta-box span { font-weight: 800; font-size: .85rem; opacity: .9; }
.tg-cta-box h2 { color: #fff; margin: 8px 0 10px; }
.tg-cta-box p { color: rgba(255, 255, 255, .9); margin: 0; }
.tg-cta-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }
.tg-cta-actions .btn-cta-wa:hover,
.tg-cta-actions .btn-outline-white.btn-cta-wa:hover {
  background: #25D366 !important;
  border-color: #25D366 !important;
  color: #fff !important;
}
.tg-cta-actions .btn-cta-wa:hover,
.tg-cta-actions .btn-cta-wa:hover span,
.tg-cta-actions .btn-cta-wa:hover i {
  color: #fff !important;
}

/* ============================================================
   15) صفحة العملاء — بطاقات عمودية (شعار دائري أعلى + اسم + نبذة + وسوم)
   ========================================================== */
.tg-client-filters { justify-content: center; margin-bottom: 34px; }
.tg-clients-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.tg-client-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 22px 18px 18px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition:
    transform .35s var(--ease),
    box-shadow .35s var(--ease),
    border-color .35s var(--ease);
}
.tg-client-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--brand) 12%, transparent),
    transparent 42%,
    color-mix(in srgb, var(--brand) 8%, transparent)
  );
  transition: opacity .35s var(--ease);
}
.tg-client-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand) 0%, transparent);
  transition: box-shadow .35s var(--ease);
}
.tg-client-card > * { position: relative; z-index: 1; }
.tg-client-card.is-hidden { display: none; }
.tg-client-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--brand) 48%, var(--border));
}
.tg-client-card:hover::before { opacity: 1; }
.tg-client-card:hover::after {
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--brand) 35%, transparent);
}
.tg-client-logo-box {
  position: relative;
  flex: 0 0 112px;
  width: 112px;
  height: 112px;
  min-width: 112px;
  max-width: 112px;
  min-height: 112px;
  max-height: 112px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--border);
  padding: 10px;
  overflow: hidden;
  box-sizing: border-box;
  box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
  transition:
    transform .4s var(--ease),
    box-shadow .4s var(--ease),
    border-color .35s var(--ease);
}
.tg-client-logo-box::before {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid rgba(16, 185, 129, .42);
  opacity: 0;
  transform: scale(.92);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.tg-client-logo-box::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1px dashed rgba(5, 150, 105, .38);
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .8s linear;
}
.tg-client-card:hover .tg-client-logo-box {
  transform: translateY(-2px) scale(1.03);
  border-color: rgba(16, 185, 129, .45);
  box-shadow:
    0 14px 28px rgba(15, 23, 42, .1),
    0 0 0 5px rgba(16, 185, 129, .12);
}
.tg-client-card:hover .tg-client-logo-box::before {
  opacity: 1;
  transform: scale(1);
}
.tg-client-card:hover .tg-client-logo-box::after {
  opacity: 1;
  transform: rotate(28deg);
}
[data-theme="dark"] .tg-client-logo-box {
  background: #1a1410;
  border-color: rgba(255,255,255,.08);
  box-shadow: none;
}
[data-theme="dark"] .tg-client-card:hover .tg-client-logo-box {
  box-shadow: 0 0 0 5px rgba(16, 185, 129, .18);
}
.tg-client-logo-box img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
  object-position: center;
  border-radius: 50%;
  filter: grayscale(1);
  opacity: .55;
  display: block;
  margin: 0 auto;
  transform-origin: center center;
  transition: filter .4s var(--ease), opacity .4s var(--ease), transform .4s var(--ease);
}
.tg-client-card:hover .tg-client-logo-box img {
  filter: none;
  opacity: 1;
  transform: scale(1.06);
}
.tg-client-initial {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
  font-size: 1.35rem;
}
.tg-client-body {
  flex: 1;
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-block: 0;
}
.tg-client-name {
  display: block;
  font-weight: 800;
  font-size: 1.08rem;
  line-height: 1.35;
  color: var(--text);
  transition: color .25s var(--ease);
}
.tg-client-card:hover .tg-client-name { color: var(--brand); }
.tg-client-desc {
  display: block;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.7;
  margin: 0;
  max-width: 34ch;
}
.tg-client-quote {
  display: block;
  margin: 0;
  padding: 8px 0 0;
  color: var(--text);
  font-size: .84rem;
  font-style: italic;
  line-height: 1.65;
  border-top: 1px dashed color-mix(in srgb, var(--brand) 25%, var(--border));
}
.tg-home-clients .tg-center-action { margin-top: 28px; }
.tg-home-clients .section-head { margin-bottom: 28px; }
.tg-client-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  padding-top: 4px;
}
.tg-client-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 8%, var(--bg-alt, #f7f4f1));
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--border));
  color: var(--text-muted);
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.2;
  transform: translateY(0);
  overflow: hidden;
  isolation: isolate;
  transition:
    transform .28s var(--ease),
    color .28s var(--ease),
    border-color .28s var(--ease),
    box-shadow .28s var(--ease),
    background .28s var(--ease);
}
.tg-client-pill::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(
    110deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, .78) 50%,
    transparent 62%,
    transparent 100%
  );
  transform: translateX(-130%);
  opacity: 0;
}
.tg-client-pill > * { position: relative; z-index: 1; }
.tg-client-card:hover .tg-client-pill {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 28%, var(--border));
  background: color-mix(in srgb, var(--brand) 12%, var(--bg-alt, #f7f4f1));
  color: var(--text);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--brand) 18%, transparent),
    0 0 14px color-mix(in srgb, var(--brand) 28%, transparent),
    0 6px 14px color-mix(in srgb, var(--brand) 12%, transparent);
  animation: tg-client-pill-glow 1.8s ease-in-out infinite;
}
.tg-client-card:hover .tg-client-pill::before {
  opacity: 1;
  animation: tg-client-pill-shine 2.2s ease-in-out infinite;
}
.tg-client-card:hover .tg-client-pill:nth-child(1) { animation-delay: 0s; }
.tg-client-card:hover .tg-client-pill:nth-child(1)::before { animation-delay: .05s; }
.tg-client-card:hover .tg-client-pill:nth-child(2) { animation-delay: .12s; }
.tg-client-card:hover .tg-client-pill:nth-child(2)::before { animation-delay: .2s; }
.tg-client-card:hover .tg-client-pill:nth-child(3) { animation-delay: .24s; }
.tg-client-card:hover .tg-client-pill:nth-child(3)::before { animation-delay: .35s; }
.tg-client-card:hover .tg-client-pill:nth-child(4) { animation-delay: .36s; }
.tg-client-card:hover .tg-client-pill:nth-child(4)::before { animation-delay: .5s; }
.tg-client-card:hover .tg-client-pill:nth-child(5) { animation-delay: .48s; }
.tg-client-card:hover .tg-client-pill:nth-child(5)::before { animation-delay: .65s; }
.tg-client-pill:hover {
  transform: translateY(-3px) scale(1.04);
  color: var(--text);
  border-color: color-mix(in srgb, var(--brand) 50%, var(--border));
  background: color-mix(in srgb, var(--brand) 16%, #fff);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--brand) 28%, transparent),
    0 0 20px color-mix(in srgb, var(--brand) 40%, transparent),
    0 8px 18px color-mix(in srgb, var(--brand) 16%, transparent);
  animation: tg-client-pill-glow 1.2s ease-in-out infinite;
}
@keyframes tg-client-pill-glow {
  0%, 100% {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--brand) 16%, transparent),
      0 0 10px color-mix(in srgb, var(--brand) 22%, transparent),
      0 6px 14px color-mix(in srgb, var(--brand) 10%, transparent);
  }
  50% {
    box-shadow:
      0 0 0 1px color-mix(in srgb, var(--brand) 32%, transparent),
      0 0 22px color-mix(in srgb, var(--brand) 45%, transparent),
      0 8px 18px color-mix(in srgb, var(--brand) 16%, transparent);
  }
}
@keyframes tg-client-pill-shine {
  0%, 35% { transform: translateX(-130%); opacity: 0; }
  45% { opacity: .9; }
  60% { transform: translateX(130%); opacity: 0; }
  100% { transform: translateX(130%); opacity: 0; }
}
[data-theme="dark"] .tg-client-pill {
  background: rgba(255,81,0,.1);
  border-color: rgba(255,81,0,.2);
  color: #d9c7bc;
}
[data-theme="dark"] .tg-client-card:hover .tg-client-pill,
[data-theme="dark"] .tg-client-pill:hover {
  color: #fff;
  border-color: rgba(255,81,0,.5);
  background: rgba(255,81,0,.18);
}
@media (prefers-reduced-motion: reduce) {
  .tg-client-card,
  .tg-client-logo-box,
  .tg-client-logo-box img,
  .tg-client-name,
  .tg-client-pill {
    transition: none !important;
    transform: none !important;
    animation: none !important;
  }
  .tg-client-card::before,
  .tg-client-card::after,
  .tg-client-logo-box::before,
  .tg-client-logo-box::after,
  .tg-client-pill::before { display: none; }
}
/* توافق مع الكلاسات القديمة إن وُجدت */
.tg-client-media {
  height: 78px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
}
.tg-client-cat { display: block; margin-top: 4px; color: var(--text-muted); font-size: .82rem; }

/* ============================================================
   16) صفحة تواصل معنا
   ========================================================== */
.tg-contact-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(36px, 5vw, 64px) 0;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.tg-contact-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 28px;
}
.tg-contact-hero h1 { margin-bottom: 10px; }
.tg-contact-quick { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.tg-contact-quick a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 20px;
  border-radius: 100px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: .9rem;
  transition: all .25s var(--ease);
}
.tg-contact-quick a i { color: var(--brand); transition: color .25s var(--ease); }
.tg-contact-quick a:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

.tg-contact-shape { position: relative; height: 200px; }
.tg-contact-shape span {
  position: absolute;
  border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
  background: var(--brand-gradient);
  opacity: .16;
  animation: tgBlob 12s ease-in-out infinite;
}
.tg-contact-shape span:nth-child(1) { width: 170px; height: 170px; top: 8px; inset-inline-start: 10%; }
.tg-contact-shape span:nth-child(2) { width: 125px; height: 125px; bottom: 0; inset-inline-end: 14%; animation-delay: 2s; background: var(--teal-gradient); }
.tg-contact-shape span:nth-child(3) { width: 85px; height: 85px; top: 40%; inset-inline-end: 42%; animation-delay: 4s; }
@keyframes tgBlob {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50%      { transform: translateY(-22px) rotate(18deg) scale(1.08); }
}

.tg-contact-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  grid-template-areas:
    "form facts"
    "form follow";
  gap: 26px;
  align-items: start;
}
.tg-contact-grid.has-payment {
  grid-template-areas:
    "form facts"
    "form payment"
    "form follow";
}
.tg-contact-form { grid-area: form; }
.tg-contact-facts {
  grid-area: facts;
  display: grid;
  gap: 14px;
}
.tg-contact-payment { grid-area: payment; }
.tg-contact-follow { grid-area: follow; }
.tg-contact-form {
  padding: clamp(24px, 4vw, 38px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.tg-contact-form h2 { margin-bottom: 6px; }
.tg-contact-form > p { margin-bottom: 22px; }

.tg-contact-card {
  display: flex;
  gap: 14px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
  color: inherit;
  text-decoration: none;
}
a.tg-contact-card { cursor: pointer; }
.tg-contact-card:hover { transform: translateY(-4px); border-color: var(--brand); }
.tg-contact-card h4 { margin: 0 0 4px; font-size: .98rem; }
.tg-contact-card p { margin: 0; font-size: .9rem; }
.tg-contact-mail-addr {
  color: var(--brand);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
a.tg-contact-card:hover .tg-contact-mail-addr { color: var(--brand-dark, #e04800); }
.tg-contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--brand-soft);
  color: var(--brand);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.tg-contact-card:hover .tg-contact-icon { background: var(--brand); color: #fff; }
.tg-contact-social {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.tg-contact-social h4 { margin: 0 0 12px; font-size: .98rem; }
/* .tg-contact-social .tg-social rest/hover — shared block near .tg-social (footer + contact) */

.tg-contact-pay-card {
  padding: 20px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.tg-contact-pay-card:hover { transform: translateY(-4px); border-color: var(--brand); }
.tg-contact-pay-card h4 {
  margin: 0 0 16px;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}
.tg-payment-logos {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.tg-payment-logo {
  width: 100%;
  max-width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 0;
}
.tg-payment-logo:not(:last-child) {
  position: relative;
  padding-bottom: 26px;
  margin-bottom: 8px;
}
.tg-payment-logo:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: 0;
  height: 2px;
  border-radius: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--brand, #FF5100) 22%, transparent) 12%,
    color-mix(in srgb, var(--brand, #FF5100) 58%, transparent) 38%,
    color-mix(in srgb, var(--brand, #FF5100) 58%, transparent) 62%,
    color-mix(in srgb, var(--brand, #FF5100) 22%, transparent) 88%,
    transparent 100%
  );
  box-shadow: 0 1px 2px color-mix(in srgb, var(--brand, #FF5100) 12%, transparent);
  pointer-events: none;
}
.tg-payment-logo img {
  display: block;
  width: 100%;
  max-width: 200px;
  max-height: 56px;
  height: auto;
  object-fit: contain;
}
.tg-payment-iban {
  width: 100%;
  text-align: center;
  font-size: .95rem;
  line-height: 1.5;
  color: var(--text-soft, #6b7280);
  user-select: text;
  -webkit-user-select: text;
  word-break: break-all;
}
.tg-payment-iban-label {
  display: block;
  font-size: .88rem;
  opacity: .9;
  margin-bottom: 4px;
}
.tg-payment-iban-value {
  display: block;
  font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Menlo, Consolas, monospace;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--text, #374151);
  user-select: all;
  -webkit-user-select: all;
}

/* Intl phone + country picker (contact form) */
.tg-intl-phone {
  display: grid;
  grid-template-columns: minmax(160px, 1.05fr) minmax(0, 1.35fr);
  gap: 10px;
  align-items: stretch;
}
.tg-intl-cc {
  min-width: 0;
}
.tg-intl-local-wrap {
  display: flex;
  align-items: stretch;
  min-width: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: hidden;
  transition: .22s var(--ease);
}
.tg-intl-local-wrap:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(242, 106, 33, .14);
}
.tg-intl-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  font-weight: 800;
  font-size: .92rem;
  color: var(--brand);
  background: color-mix(in srgb, var(--brand) 8%, var(--surface));
  border-inline-end: 1px solid var(--border);
  white-space: nowrap;
  user-select: none;
}
.tg-intl-local {
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  flex: 1;
  min-width: 0;
}
.tg-intl-other-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 12px;
}
.tg-country-picker {
  position: relative;
}
.tg-country-trigger {
  width: 100%;
  height: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  transition: .22s var(--ease);
  text-align: start;
}
.tg-country-trigger:hover,
.tg-country-picker.is-open .tg-country-trigger {
  border-color: var(--brand);
}
.tg-country-picker.is-open .tg-country-trigger {
  box-shadow: 0 0 0 4px rgba(242, 106, 33, .14);
}
.tg-country-trigger > i {
  color: var(--text-muted);
  font-size: .72rem;
  transition: transform .2s var(--ease);
  flex-shrink: 0;
}
.tg-country-picker.is-open .tg-country-trigger > i {
  transform: rotate(180deg);
  color: var(--brand);
}
.tg-country-trigger-main {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex-wrap: wrap;
}
.tg-country-flag {
  font-size: 1.2rem;
  line-height: 1;
  flex-shrink: 0;
}
.tg-country-flag-img {
  width: 22px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(16, 24, 40, .12);
}
.tg-country-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 9.5rem;
}
.tg-country-dial {
  font-weight: 800;
  color: var(--brand);
  direction: ltr;
  unicode-bidi: isolate;
  font-size: .88rem;
}
.tg-country-placeholder {
  color: var(--text-muted);
  font-weight: 600;
}
.tg-country-menu {
  position: absolute;
  z-index: 50;
  inset-inline: 0;
  top: calc(100% + 6px);
  min-width: min(320px, 92vw);
  max-height: 320px;
  display: none;
  flex-direction: column;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 0 14px 36px rgba(16, 24, 40, .12);
}
/* Author display must not override [hidden]; only show when toggled open */
.tg-country-menu[hidden],
.tg-country-picker:not(.is-open) .tg-country-menu {
  display: none !important;
}
.tg-country-picker.is-open .tg-country-menu:not([hidden]) {
  display: flex;
}
.tg-country-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  margin-bottom: 6px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-2, color-mix(in srgb, var(--surface) 92%, #000));
  flex-shrink: 0;
}
.tg-country-search-wrap > i {
  color: var(--text-muted);
  font-size: .85rem;
}
.tg-country-search {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: .9rem;
  font-weight: 600;
}
.tg-country-options {
  overflow: auto;
  max-height: 240px;
  padding-inline-end: 2px;
}
.tg-country-option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  text-align: start;
  transition: background .15s var(--ease);
}
.tg-country-option[hidden],
.tg-country-empty[hidden] {
  display: none !important;
}
.tg-country-option .tg-country-name {
  flex: 1;
  max-width: none;
}
.tg-country-option-dial {
  margin-inline-start: auto;
  font-weight: 800;
  color: var(--text-muted);
  font-size: .86rem;
  direction: ltr;
  unicode-bidi: isolate;
}
.tg-country-option:hover,
.tg-country-option.is-active {
  background: color-mix(in srgb, var(--brand) 10%, transparent);
  color: var(--brand-dark, #e04800);
}
.tg-country-option:hover .tg-country-option-dial,
.tg-country-option.is-active .tg-country-option-dial {
  color: var(--brand);
}
.tg-country-empty {
  margin: 8px 4px;
  text-align: center;
  color: var(--text-muted);
  font-size: .88rem;
  font-weight: 600;
}
[data-theme="dark"] .tg-country-menu {
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
}
@media (max-width: 640px) {
  .tg-intl-phone,
  .tg-intl-other-fields {
    grid-template-columns: 1fr;
  }
  .tg-country-name { max-width: 12rem; }
  .tg-country-menu {
    inset-inline: 0;
    min-width: 100%;
  }
}

@media (max-width: 900px) {
  .tg-contact-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "facts"
      "form"
      "follow";
    gap: 16px;
  }
  .tg-contact-grid.has-payment {
    grid-template-areas:
      "facts"
      "form"
      "follow"
      "payment";
  }
  .tg-contact-facts {
    grid-template-columns: 1fr;
  }
  .tg-contact-card-mail { order: 3; }
  .tg-contact-payment { order: 99; }
}

.tg-map { line-height: 0; }
.tg-map iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.25); }
[data-theme="dark"] .tg-map iframe { filter: grayscale(.4) invert(.9) hue-rotate(180deg); }

/* ============================================================
   17) صفحة العروض
   ========================================================== */
.tg-offers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.tg-offers-empty {
  max-width: 720px;
  margin-inline: auto;
  padding: 72px 28px;
  background: #fff;
  border: 2px dashed rgba(33, 10, 3, .14);
  border-radius: 22px;
  box-shadow: none;
}
.tg-offers-empty i {
  font-size: 3.4rem;
  color: rgba(33, 10, 3, .22);
  margin-bottom: 18px;
}
.tg-offers-empty h3 {
  margin: 0 0 22px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #5b524c;
}
.tg-offers-empty .btn-primary {
  box-shadow: 0 12px 24px rgba(255, 81, 0, .28);
}
[data-theme="dark"] .tg-offers-empty {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.14);
}
[data-theme="dark"] .tg-offers-empty h3 { color: rgba(255,255,255,.78); }
[data-theme="dark"] .tg-offers-empty i { color: rgba(255,255,255,.28); }
.tg-offer-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.tg-offer-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.tg-offer-thumb { position: relative; display: block; height: 210px; overflow: hidden; }
.tg-offer-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.tg-offer-card:hover .tg-offer-thumb img { transform: scale(1.07); }
.tg-offer-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
  font-size: .8rem;
}
.tg-offer-content { padding: 22px; }
.tg-offer-content h3 { font-size: 1.1rem; margin-bottom: 8px; }
.tg-offer-content h3 a:hover { color: var(--brand); }
.tg-offer-content > p { font-size: .92rem; }
.tg-offer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.tg-offer-foot small { color: var(--text-muted); font-size: .82rem; }

.tg-offer-single { display: grid; grid-template-columns: 1.5fr .5fr; gap: 26px; align-items: start; }
.tg-offer-body h1 { margin: 22px 0 12px; }
.tg-offer-cover { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.tg-offer-cover img { width: 100%; max-height: 430px; object-fit: cover; }
.tg-offer-lead { font-size: 1.05rem; font-weight: 600; }
.tg-offer-text { line-height: 2; color: var(--text-soft); }

.tg-offer-aside { position: sticky; top: 110px; display: grid; gap: 14px; }
.tg-offer-price-card {
  padding: 26px 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}
.tg-offer-price-card small { display: block; color: var(--text-muted); font-size: .82rem; }
.tg-offer-price-card del { display: block; color: var(--text-muted); }
.tg-offer-price-card > span { display: block; margin-top: 8px; color: var(--text-muted); font-size: .85rem; }
.tg-offer-price-card b { display: block; margin-bottom: 6px; font-size: 2.1rem; font-weight: 900; color: var(--brand); }
.tg-offer-price-card .btn { margin-top: 12px; }
.tg-offer-deadline { margin: 14px 0 0; font-size: .86rem; color: var(--red); }

/* مشاركة العرض */
.tg-share-bar {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(33, 10, 3, .12);
  text-align: center;
}
.tg-share-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: .86rem;
  font-weight: 800;
  color: var(--text-soft);
}
.tg-share-label i { color: var(--brand); }
.tg-share-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.tg-share-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(33, 10, 3, .1);
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
  cursor: pointer;
  text-decoration: none;
  padding: 0;
  line-height: 1;
}
.tg-share-btn:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--brand) 45%, transparent);
  color: var(--brand);
  box-shadow: 0 8px 16px rgba(255, 81, 0, .12);
}
.tg-share-whatsapp:hover { color: #25D366; border-color: rgba(37, 211, 102, .4); }
.tg-share-facebook:hover { color: #1877F2; border-color: rgba(24, 119, 242, .4); }
.tg-share-x:hover { color: #111; }
.tg-share-telegram:hover { color: #2AABEE; border-color: rgba(42, 171, 238, .4); }
.tg-share-copy.is-done {
  color: #16a34a;
  border-color: rgba(22, 163, 74, .4);
  background: rgba(22, 163, 74, .08);
}
[data-theme="dark"] .tg-share-btn {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.86);
}
[data-theme="dark"] .tg-share-bar {
  border-top-color: rgba(255,255,255,.12);
}

.tg-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-weight: 700;
  color: var(--text-soft);
  transition: color .25s var(--ease), gap .25s var(--ease);
}
.tg-back-link:hover { color: var(--brand); gap: 13px; }

/* ============================================================
   18) صفحة الوكلاء — بطاقات أفقية بأسلوب عملاؤنا
   ========================================================== */
.tg-agents-filter {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin: 0 auto 28px;
  max-width: 420px;
}
.tg-agents-filter label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--text);
}
.tg-agents-filter label i { color: var(--brand); }
.tg-agents-filter .select {
  min-width: min(280px, 100%);
  flex: 1 1 220px;
}
.tg-agents-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.tg-agent-card {
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding: 18px;
  text-align: start;
  color: inherit;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 6px 22px rgba(28, 16, 8, .04);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.tg-agent-card[hidden] { display: none !important; }
.tg-agent-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: color-mix(in srgb, var(--brand) 45%, var(--border));
}
.tg-agent-logo-box {
  flex: 0 0 168px;
  width: 168px;
  min-height: 168px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--border);
  padding: 8px;
  overflow: hidden;
}
[data-theme="dark"] .tg-agent-logo-box {
  background: #1a1410;
  border-color: rgba(255,255,255,.08);
}
.tg-agent-logo-box img {
  max-width: 100%;
  max-height: 148px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .55;
  transition: filter .35s var(--ease), opacity .35s var(--ease), transform .35s var(--ease);
}
.tg-agent-card:hover .tg-agent-logo-box img {
  filter: none;
  opacity: 1;
  transform: scale(1.04);
}
.tg-agent-initial {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
  font-size: 1.2rem;
}
.tg-agent-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-block: 2px;
}
.tg-agent-name {
  display: block;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--text);
}
.tg-agent-desc {
  display: block;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.7;
  margin: 0;
}
.tg-agent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 2px;
}
.tg-agent-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand) 8%, var(--bg-alt, #f7f4f1));
  border: 1px solid color-mix(in srgb, var(--brand) 14%, var(--border));
  color: var(--text-muted);
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.2;
}
[data-theme="dark"] .tg-agent-pill {
  background: rgba(255,81,0,.1);
  border-color: rgba(255,81,0,.2);
  color: #d9c7bc;
}
.tg-agent-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}
.tg-agent-wa {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #25D366;
  color: #fff !important;
  font-weight: 800;
  font-size: .86rem;
  line-height: 1;
  text-decoration: none;
  border: 1px solid #1ebe57;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .28);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), filter .25s var(--ease);
}
.tg-agent-wa i { font-size: 1.05rem; }
.tg-agent-wa:hover {
  background: #22c55e;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow:
    0 0 0 4px rgba(37, 211, 102, .16),
    0 10px 28px rgba(37, 211, 102, .42),
    0 2px 8px rgba(37, 211, 102, .25);
  filter: brightness(1.03);
}
.tg-agent-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s var(--ease);
}
.tg-agent-link:hover { color: var(--brand); }
.tg-agent-link i { font-size: .9rem; }

/* ============================================================
   19) صفحات الدخول والتسجيل — كارت واحد في المنتصف
   ========================================================== */
.tg-auth-section {
  padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 80px);
}
.tg-auth-wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
}
.tg-auth-card {
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  padding: clamp(22px, 3.5vw, 36px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  opacity: 1;
  transform: none;
  visibility: visible;
}
.tg-auth-head { text-align: center; margin-bottom: 22px; }
.tg-auth-head img {
  max-width: 150px;
  width: auto;
  height: auto;
  margin: 0 auto 14px;
}
.tg-auth-head h2 { margin-bottom: 6px; font-size: clamp(1.25rem, 2.5vw, 1.55rem); }
.tg-auth-head p { margin: 0; font-size: .92rem; color: var(--text-muted); }
.tg-remember { margin: 4px 0 18px; }
.tg-auth-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 18px;
  flex-wrap: wrap;
}
.tg-auth-meta .tg-remember { margin: 0; }
.tg-forgot {
  font-weight: 700;
  color: var(--brand);
  font-size: .9rem;
  text-decoration: none;
  white-space: nowrap;
}
.tg-forgot:hover { text-decoration: underline; }
.tg-auth-hint {
  margin: -6px 0 16px;
  font-size: .85rem;
  color: var(--text-muted);
}
.tg-auth-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: .92rem;
  color: var(--text-muted);
}
.tg-auth-foot a { font-weight: 800; color: var(--brand); }
.tg-auth-foot a:hover { text-decoration: underline; }

.tg-auth-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.tg-auth-card .field { margin-bottom: 14px; }
.tg-auth-card .input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .tg-auth-section { padding: 24px 0 48px; }
  .tg-auth-card {
    max-width: min(480px, 100%);
    padding: 28px 22px;
  }
  .tg-auth-card .input,
  .tg-auth-card .btn {
    min-height: 48px;
  }
}
@media (max-width: 560px) {
  .tg-auth-card {
    max-width: 100%;
    padding: 20px 16px;
    border-radius: 18px;
  }
  .tg-auth-card .form-row { grid-template-columns: 1fr; gap: 0; }
  .tg-auth-section { padding: 18px 0 40px; }
}

/* كارت جانبي قديم — مخفي إن وُجد */
.tg-auth-side { display: none; }

/* ============================================================
   20) صفحة من نحن
   ========================================================== */
/* ========== من نحن — تخطيط مضغوط + إضاءة + ظهور عند التمرير ========== */
.page-about .tg-about-section {
  padding-block: clamp(18px, 3vw, 34px);
}
.page-about .tg-about-info-sec {
  padding-block: clamp(10px, 2vw, 20px);
}
.page-about .page-banner {
  padding-block: clamp(22px, 3.5vw, 36px);
}
.page-about .section-head {
  margin-bottom: 22px;
}

.tg-about-story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(22px, 3.5vw, 40px);
  align-items: center;
}
.tg-about-copy h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.35;
  margin: 8px 0 12px;
}
.tg-about-copy p {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: .95rem;
  line-height: 1.75;
}
.tg-about-copy .btn { margin-top: 8px; }

.tg-about-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 360px;
}

/* البطاقة البرتقالية — شكل mission-box الأصلي + تحريك البصمة عند التحويم فقط */
.tg-about-fp-box.mission-box {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 0;
  padding: clamp(28px, 4vw, 48px);
}
.tg-about-fp-box-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}
.tg-about-fp-box-copy h2 {
  color: #fff;
  margin: 0 0 10px;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.35;
}
.tg-about-fp-box-copy p {
  color: rgba(255, 255, 255, .9);
  margin: 0;
  line-height: 1.75;
}
.tg-about-fp-icon.mission-icon {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  font-size: 2.75rem;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  transition: transform .45s cubic-bezier(.22, 1, .36, 1), box-shadow .45s ease, background .35s ease;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}
.tg-about-fp-icon i {
  display: inline-block;
  transition: transform .5s cubic-bezier(.22, 1, .36, 1);
  transform-origin: center;
}
.tg-about-fp-box:hover .tg-about-fp-icon {
  background: rgba(255, 255, 255, .28);
  box-shadow: 0 14px 32px rgba(0, 0, 0, .22), 0 0 0 8px rgba(255, 255, 255, .1);
  transform: translateY(-4px) scale(1.04);
}
.tg-about-fp-box:hover .tg-about-fp-icon i {
  animation: tgAboutFpWiggle .85s ease-in-out;
}
@keyframes tgAboutFpWiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-12deg) scale(1.08); }
  40% { transform: rotate(10deg) scale(1.05); }
  60% { transform: rotate(-7deg) scale(1.1); }
  80% { transform: rotate(5deg) scale(1.04); }
}

/* بطاقات رسالة / رؤية */
.tg-about-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.tg-about-info-card {
  background: #fff;
  border: 1px solid rgba(33, 10, 3, .08);
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 8px 22px rgba(33, 10, 3, .06);
  text-align: start;
  transition: transform .35s var(--ease, ease), box-shadow .35s var(--ease, ease), border-color .35s ease;
  position: relative;
  overflow: hidden;
}
.tg-about-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 81, 0, .28);
  box-shadow: 0 14px 28px rgba(255, 81, 0, .12);
}
.tg-about-info-ico {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.tg-about-info-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.tg-about-info-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: .88rem;
  line-height: 1.7;
}

/* قيمنا — بطاقات تتكيّف مع طول النص (خصوصاً الإنجليزي) */
.tg-about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  align-items: stretch;
  gap: clamp(14px, 2vw, 20px);
  max-width: 1100px;
  margin-inline: auto;
}
.tg-about-value-card {
  background: #fff;
  border: 1px solid rgba(33, 10, 3, .08);
  border-radius: 16px;
  padding: 20px 16px 18px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(33, 10, 3, .05);
  transition: transform .35s var(--ease, ease), box-shadow .35s var(--ease, ease), border-color .35s ease;
  position: relative;
  overflow: visible;
  min-height: 0;
  height: auto;
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: none;
  margin-inline: auto;
}
.tg-about-value-card::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff5100, #ff8a4c);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .35s ease;
  z-index: 1;
  pointer-events: none;
  border-radius: 16px 16px 0 0;
}
.tg-about-value-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 81, 0, .3);
  box-shadow: 0 14px 28px rgba(255, 81, 0, .12);
}
.tg-about-value-card:hover::before { transform: scaleX(1); }
.tg-about-value-ico {
  --ico: var(--brand, #ff5100);
  width: 58px;
  height: 58px;
  margin: 0 auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  background: color-mix(in srgb, var(--ico) 12%, #fff);
  color: var(--ico);
  transition: background .35s ease, color .35s ease, box-shadow .35s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.tg-about-value-ico i {
  color: inherit;
  transition: color .35s ease;
}
.tg-about-value-card:hover .tg-about-value-ico {
  background: var(--ico);
  color: #fff !important;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--ico) 18%, transparent), 0 8px 18px color-mix(in srgb, var(--ico) 35%, transparent);
}
.tg-about-value-card:hover .tg-about-value-ico i {
  color: #fff !important;
}
.tg-about-value-card h3 {
  margin: 0 0 8px;
  font-size: .98rem;
  line-height: 1.35;
  position: relative;
  z-index: 2;
  width: 100%;
}
.tg-about-value-card p,
.tg-about-value-card .tg-rich {
  margin: 0;
  color: var(--text-soft);
  font-size: .82rem;
  line-height: 1.65;
  position: relative;
  z-index: 2;
  width: 100%;
  overflow: visible;
}
.tg-about-value-card .tg-rich > p {
  margin: 0 0 0.55em;
}
.tg-about-value-card .tg-rich > p:last-child {
  margin-bottom: 0;
}

/* ظهور عند التمرير */
.page-about .reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity .7s cubic-bezier(.22, 1, .36, 1),
    transform .7s cubic-bezier(.22, 1, .36, 1);
}
.page-about .reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 960px) {
  .tg-about-story {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .tg-about-fp-box.mission-box {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
  .tg-about-fp-icon.mission-icon {
    margin-inline: auto;
  }
  .tg-about-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    max-width: 640px;
  }
}
@media (max-width: 640px) {
  .tg-about-info-grid {
    grid-template-columns: 1fr;
  }
  .tg-about-values-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 420px;
  }
  .tg-about-value-card {
    aspect-ratio: auto;
    max-width: none;
    padding: 16px 14px 14px;
  }
  .tg-about-value-ico {
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
  }
  .tg-about-fp-icon.mission-icon {
    width: 88px;
    height: 88px;
    font-size: 2.2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tg-about-fp-box:hover .tg-about-fp-icon i {
    animation: none !important;
  }
  .tg-about-fp-box:hover .tg-about-fp-icon {
    transform: none;
  }
}

/* ========== إعلانات الرئيسية (سلايد شو) ========== */
.tg-home-ads {
  --ads-h: 220px;
  padding-block: clamp(18px, 3vw, 36px);
}
.tg-ads-head {
  text-align: center;
  margin: 0 auto 18px;
  max-width: 640px;
}
.tg-ads-head .eyebrow {
  color: var(--brand, #ff5100);
  font-weight: 800;
}
.tg-ads-head h2 {
  margin: 6px 0 8px;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
}
.tg-ads-head p {
  margin: 0;
  color: var(--text-soft);
  font-size: .92rem;
}
.tg-ads-stage {
  position: relative;
  border-radius: 0;
  overflow: hidden;
}
.tg-home-ads--soft .tg-ads-stage { border-radius: 16px; }
.tg-home-ads--round .tg-ads-stage { border-radius: 24px; }
.tg-ads-fullbleed .tg-ads-stage { border-radius: 0; }
.tg-ads-track {
  position: relative;
  height: var(--ads-h);
  background: #1a0f0c;
}
.tg-ads-slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.tg-ads-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.tg-ads-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tg-ads-caption {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(20, 8, 4, .72), transparent);
  color: #fff;
}
.tg-ads-caption strong {
  font-size: 1rem;
}
.tg-ads-caption span {
  opacity: .9;
  font-size: .88rem;
}
.tg-ads-cta {
  margin-inline-start: auto;
  font-style: normal;
  font-weight: 800;
  font-size: .82rem;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand, #ff5100);
  color: #fff;
}
.tg-ads-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #1f120e;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .18);
  transition: background .2s ease, transform .2s ease;
}
.tg-ads-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.05);
}
.tg-ads-prev { inset-inline-start: 12px; }
.tg-ads-next { inset-inline-end: 12px; }
.tg-ads-dots {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 10px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 7px;
  pointer-events: none;
}
.tg-ads-dot {
  pointer-events: auto;
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
  padding: 0;
}
.tg-ads-dot.is-active {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 81, 0, .35);
}
@media (max-width: 720px) {
  .tg-home-ads { --ads-h: min(var(--ads-h), 180px); }
  .tg-ads-nav { width: 34px; height: 34px; }
  .tg-ads-caption { padding: 10px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .tg-ads-slide { transition: none; }
}

/* ========== بطاقات/تنويهات/عائمات الإعلانات ========== */
.tg-ads-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 16px;
}
.tg-ad-item {
  --ads-bg: #1f120e;
  --ads-fg: #fff;
  position: relative;
  display: block;
  color: var(--ads-fg);
  background: var(--ads-bg);
  overflow: hidden;
  isolation: isolate;
}
.tg-ad-link {
  display: flex;
  text-decoration: none;
  color: inherit;
  height: 100%;
  min-height: var(--ads-h, 160px);
}
.tg-ad-media {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}
.tg-ad-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: var(--ads-h, 160px);
}
.tg-ad-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px;
  justify-content: center;
}
.tg-ad-title { font-size: 1rem; line-height: 1.35; }
.tg-ad-sub { opacity: .9; font-size: .88rem; }
.tg-ad-btn {
  align-self: flex-start;
  margin-top: 4px;
  font-weight: 800;
  font-size: .78rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--brand, #ff5100);
  color: #fff;
}
.tg-ad-radius-none { border-radius: 0; }
.tg-ad-radius-soft { border-radius: 14px; }
.tg-ad-radius-round { border-radius: 22px; }
.tg-ad-style-square .tg-ad-link {
  flex-direction: column;
  aspect-ratio: 1 / 1;
  min-height: 0;
  height: auto;
}
.tg-ad-style-square .tg-ad-media img { min-height: 0; aspect-ratio: 1 / 1; }
.tg-ad-style-rectangle .tg-ad-link { align-items: stretch; }
.tg-ad-style-rectangle .tg-ad-media { flex: 1 1 55%; }
.tg-ad-style-rectangle .tg-ad-body { flex: 1 1 45%; }
.tg-ad-style-notice {
  background: linear-gradient(135deg, #fff7f2, #ffffff);
  color: #1f120e;
  border: 1px solid rgba(255, 81, 0, .22);
  box-shadow: 0 10px 28px rgba(31, 18, 14, .08);
}
.tg-ad-style-notice .tg-ad-link {
  min-height: auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  padding-inline-end: 42px;
}
.tg-ad-style-notice .tg-ad-media {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
}
.tg-ad-style-notice .tg-ad-media img { min-height: 0; height: 56px; }
.tg-ad-style-notice .tg-ad-body { padding: 0; }
.tg-ad-style-strip .tg-ad-link { min-height: var(--ads-h, 180px); }
.tg-ad-style-strip .tg-ad-body {
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  z-index: 2;
  width: 100%;
  background: linear-gradient(0deg, rgba(20, 8, 4, .72), transparent);
  color: #fff;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}
.tg-ad-close {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  z-index: 5;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #1f120e;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .16);
}
.tg-ad-item.is-dismissed { display: none !important; }

.tg-ads-slot { margin: 12px 0; }
.tg-ads-slot-inner {
  display: grid;
  gap: 12px;
}
.tg-ads-slot-float_br,
.tg-ads-slot-float_bl,
.tg-ads-slot-float_center {
  position: fixed;
  z-index: 70;
  margin: 0;
  width: min(340px, calc(100vw - 24px));
  pointer-events: none;
}
.tg-ads-slot-float_br .tg-ad-item,
.tg-ads-slot-float_bl .tg-ad-item,
.tg-ads-slot-float_center .tg-ad-item {
  pointer-events: auto;
}
.tg-ads-slot-float_br { inset-inline-end: 16px; inset-block-end: 88px; }
.tg-ads-slot-float_bl { inset-inline-start: 16px; inset-block-end: 88px; }
.tg-ads-slot-float_center {
  left: 50%;
  bottom: 50%;
  transform: translate(-50%, 50%);
  width: min(420px, calc(100vw - 28px));
}
.tg-ads-slot-float_center .tg-ad-item {
  box-shadow: 0 18px 48px rgba(20, 8, 4, .28);
}
@media (max-width: 720px) {
  .tg-ad-style-rectangle .tg-ad-link { flex-direction: column; }
  .tg-ads-slot-float_br,
  .tg-ads-slot-float_bl { width: min(280px, calc(100vw - 20px)); }
}

/* ---------- فوتر ثنائي الأعمدة (هوية TAGS) — Sanad-style visual band ---------- */
.footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #171311;
  border-top: 4px solid var(--orange, #FF5100);
  color: #C9DDE3;
}
[data-theme="dark"] .footer { background: #0e0503; }

/* With decorative BG: light content zone + natural-ratio <img> band (no cover / no overlay) */
.footer.footer--has-bg {
  background: #c4c5c7;
  color: #3a3a3a;
  background-image: none;
  min-height: 0;
}
[data-theme="dark"] .footer.footer--has-bg {
  background: #2a2420;
  color: #d7d2cc;
  background-image: none;
}
.footer.footer--has-bg .footer-about {
  color: rgba(30, 28, 26, .72);
  text-shadow: none;
}
[data-theme="dark"] .footer.footer--has-bg .footer-about {
  color: rgba(255, 255, 255, .72);
}
.footer.footer--has-bg .footer-aside h4 {
  color: #1a1816;
  text-shadow: none;
}
[data-theme="dark"] .footer.footer--has-bg .footer-aside h4 { color: #fff; }
.footer.footer--has-bg .footer-contact li {
  color: rgba(30, 28, 26, .78);
  text-shadow: none;
}
[data-theme="dark"] .footer.footer--has-bg .footer-contact li {
  color: rgba(255, 255, 255, .7);
}
.footer.footer--has-bg .footer-contact-link:hover,
.footer.footer--has-bg .footer-contact-link:focus-visible {
  color: var(--orange, #FF5100);
}
.footer.footer--has-bg .footer-contact-link i {
  background: rgba(255, 81, 0, .16);
}
.footer-top {
  position: relative;
  z-index: 1;
  padding: 20px 0 12px;
}
/* Close gray gap above silhouette — sit content nearer the visual */
.footer.footer--has-bg .footer-top {
  padding: 10px 0 0;
}
.footer.footer--has-bg .footer-grid {
  align-items: end;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 20px 36px;
  align-items: start;
}
.footer-brand { min-width: 0; }
.footer-aside {
  min-width: 0;
  justify-self: end;
  width: min(100%, 300px);
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
}
.footer .footer-logo img,
.footer-logo.tg-logo img {
  width: var(--ft-logo-w, 170px) !important;
  max-width: min(var(--ft-logo-w, 170px), 100%) !important;
  height: auto !important;
  max-height: 58px !important;
  object-fit: contain;
  object-position: inline-start center;
  background: transparent;
}
.footer-about {
  margin-top: 8px;
  max-width: 40ch;
  line-height: 1.6;
  color: rgba(255, 255, 255, .72);
  font-size: .8rem;
}
.footer-aside h4 {
  color: #fff;
  font-size: .88rem;
  margin-bottom: 9px;
  position: relative;
  padding-bottom: 6px;
}
.footer-aside h4::after {
  content: '';
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--orange, #FF5100);
}
.footer-contact { display: grid; gap: 6px; }
.footer-contact li {
  display: flex;
  align-items: stretch;
  font-size: .78rem;
  color: rgba(255, 255, 255, .7);
  margin: 0;
}
.footer-contact-link {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  padding: 5px 7px;
  margin-inline: -7px;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  transition:
    color .28s var(--ease, ease),
    transform .28s var(--ease, ease),
    background .28s var(--ease, ease),
    box-shadow .35s var(--ease, ease);
}
.footer-contact-link:hover,
.footer-contact-link:focus-visible {
  color: #fff;
  background: rgba(255, 81, 0, .08);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(255, 81, 0, .18),
    0 6px 16px rgba(255, 81, 0, .18);
  outline: none;
}
.footer-contact-link i {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: rgba(255, 81, 0, .14);
  display: grid;
  place-items: center;
  color: var(--orange, #FF5100);
  font-size: .7rem;
  transition:
    transform .28s var(--ease, ease),
    box-shadow .35s var(--ease, ease),
    background .28s var(--ease, ease);
}
.footer-contact-link:hover i,
.footer-contact-link:focus-visible i {
  background: rgba(255, 81, 0, .28);
  box-shadow: 0 0 12px rgba(255, 81, 0, .45);
  transform: translateY(-1px);
}
.footer-contact-link span {
  line-height: 1.45;
  padding-top: 2px;
}
.footer-quote-btn {
  margin-top: 10px;
  box-shadow: 0 4px 12px rgba(255, 81, 0, .18);
  transition:
    transform .32s var(--ease, ease),
    box-shadow .4s var(--ease, ease),
    filter .32s var(--ease, ease);
  will-change: transform, box-shadow;
}
.footer-quote-btn:hover,
.footer-quote-btn:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.04);
  box-shadow:
    0 0 0 1px rgba(255, 81, 0, .28),
    0 8px 20px rgba(255, 81, 0, .34),
    0 0 28px rgba(255, 81, 0, .22);
  animation: footerQuoteGlow 1.8s ease-in-out infinite;
  outline: none;
}
.footer-quote-btn:active {
  transform: translateY(-1px);
  animation: none;
  box-shadow: 0 4px 12px rgba(255, 81, 0, .22);
}
@keyframes footerQuoteGlow {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 81, 0, .28),
      0 8px 20px rgba(255, 81, 0, .34),
      0 0 22px rgba(255, 81, 0, .18);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 81, 0, .38),
      0 10px 24px rgba(255, 81, 0, .42),
      0 0 34px rgba(255, 81, 0, .28);
  }
}
@media (prefers-reduced-motion: reduce) {
  .footer-contact-link,
  .footer-contact-link i,
  .footer-quote-btn {
    transition: color .2s ease, background .2s ease, box-shadow .2s ease !important;
  }
  .footer-contact-link:hover,
  .footer-contact-link:focus-visible,
  .footer-quote-btn:hover,
  .footer-quote-btn:focus-visible,
  .footer-quote-btn:active {
    transform: none !important;
    animation: none !important;
  }
  .footer-contact-link:hover i,
  .footer-contact-link:focus-visible i {
    transform: none !important;
  }
}
.footer-social { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }

/* Full-width silhouette band — natural aspect ratio (Sanad: img.img-fluid) */
.footer-visual {
  position: relative;
  z-index: 0;
  line-height: 0;
  margin-top: -0.5rem;
  width: 100%;
  overflow: hidden;
  background: transparent;
}
.footer.footer--has-bg .footer-visual {
  margin-top: -2.75rem;
}
.footer-visual-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
  vertical-align: bottom;
  pointer-events: none;
  user-select: none;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  background: #171311;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 9px 0;
  color: rgba(255, 255, 255, .78);
}
.footer.footer--has-bg .footer-bottom {
  background: #1a1210;
  text-shadow: none;
}
[data-theme="dark"] .footer-bottom,
[data-theme="dark"] .footer.footer--has-bg .footer-bottom {
  background: #0e0503;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: .78rem;
}
.footer-bottom a { font-weight: 700; color: #fff; }
.footer-bottom a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .footer-aside {
    justify-self: stretch;
    width: 100%;
  }
  .footer-about { max-width: 100%; }
  .footer-top { padding: 16px 0 10px; }
  .footer.footer--has-bg .footer-top { padding: 10px 0 0; }
  .footer.footer--has-bg .footer-visual { margin-top: -2.25rem; }
}

/* ============================================================
   21) محادثة تذاكر الدعم (الموقع واللوحة)
   ========================================================== */
.tg-thread { display: grid; gap: 14px; }
.tg-msg {
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  max-width: 88%;
}
.tg-msg header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}
.tg-msg header small { color: var(--text-muted); font-size: .8rem; }
.tg-msg p { margin: 0; font-size: .94rem; line-height: 1.85; }
.tg-msg.from-user { background: var(--surface-2); margin-inline-end: auto; }
.tg-msg.from-admin {
  margin-inline-start: auto;
  background: var(--brand-soft);
  border-color: color-mix(in srgb, var(--brand) 30%, transparent);
}

/* ============================================================
   22) إضافات لوحة التحكم
   ========================================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}
.filter-tabs a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-weight: 700;
  font-size: .89rem;
  color: var(--text-soft);
  transition: all .25s var(--ease);
}
.filter-tabs a:hover { border-color: var(--brand); color: var(--brand); }
.filter-tabs a.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.filter-tabs a.active .pill { background: rgba(255, 255, 255, .25); color: #fff; }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
}
.filter-bar .field { margin: 0; min-width: 160px; }

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 220px;
  padding-top: 10px;
  overflow-x: auto;
}
.chart-col {
  flex: 1 0 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  height: 100%;
}
.chart-col small { color: var(--text-muted); font-size: .7rem; white-space: nowrap; }
.chart-stack {
  flex: 1;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
}
.chart-stack .bar {
  width: 12px;
  min-height: 3px;
  border-radius: 6px 6px 0 0;
  transition: filter .25s var(--ease);
}
.chart-stack .bar:hover { filter: brightness(1.15); }
.bar-income  { background: var(--brand-gradient); }
.bar-expense { background: linear-gradient(180deg, var(--teal-light), var(--teal)); }

.chart-legend { display: flex; gap: 20px; margin-top: 14px; font-size: .85rem; color: var(--text-soft); }
.chart-legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart-legend .dot { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.dot-income  { background: var(--brand); }
.dot-expense { background: var(--teal); }

.notes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.note-card {
  position: relative;
  padding: 18px 18px 14px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 4px solid var(--note-color, var(--brand));
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.note-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.note-card.is-done { opacity: .55; }
.note-card.is-done h3 { text-decoration: line-through; }
.note-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.note-card h3 { font-size: 1rem; margin: 0 0 8px; }
.note-card header i { color: var(--brand); }
.note-card p { font-size: .88rem; margin: 0 0 12px; }
.note-card footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.note-card footer small { color: var(--text-muted); font-size: .76rem; }

.admin-alert {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  border-radius: 100px;
  background: color-mix(in srgb, var(--yellow) 18%, transparent);
  color: var(--yellow);
  font-weight: 700;
}
.text-danger { color: var(--red) !important; font-weight: 700; }

tr.unread td { background: color-mix(in srgb, var(--brand) 6%, transparent); }
tr.unread .strong { font-weight: 900; }

/* ============================================================
   23) الاستجابة
   ========================================================== */
@media (max-width: 1080px) {
  .tg-nav { display: none; }
  .tg-burger { display: inline-flex !important; }
  .tg-header-pro .tg-header-actions {
    flex: 0 0 auto;
    min-width: 0;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 6px;
    margin-inline-start: 10px;
  }
  /* Login/account live in the burger on tablet/phone — drop header duplicates */
  .tg-header-pro .tg-header-actions > .tg-login-cta,
  .tg-header-pro .tg-header-actions > .tg-user {
    display: none !important;
  }
  .tg-header-pro .tg-logo {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(46vw, 150px);
  }
  .tg-header-pro .tg-logo img {
    max-width: 100%;
  }
  .tg-header-pro .tg-cart-btn {
    flex: 0 0 auto;
    position: relative;
    z-index: 2;
  }
  .tg-hero-grid,
  .tg-contact-hero-inner { grid-template-columns: 1fr; }
  .tg-contact-shape { display: none; }
  .tg-offer-single,
  .tg-auth-wrap { display: flex; flex-direction: column; }
  .tg-offer-aside { position: static; }
  .tg-work-grid { grid-template-columns: repeat(2, 1fr); }
  .tg-metrics-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  .tg-topbar-msg {
    display: flex;
    justify-content: center;
    width: 100%;
    text-align: center;
    font-size: .8rem;
    line-height: 1.35;
  }
  .tg-topbar-side { display: none; }
  .tg-topbar-inner { justify-content: center; }
  .tg-header-inner { min-height: 68px; gap: 12px; }
  .tg-logo img { max-height: 46px; }
  .tg-lang-btn span,
  .tg-cta-btn { display: none; }
  .tg-title-inline { flex-direction: column; align-items: flex-start; }
  .tg-work-grid { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .tg-work-card:nth-child(1),
  .tg-work-card:nth-child(6) { grid-row: span 1; }
  .tg-float-orb { display: none; }
  .tg-chip-top, .tg-chip-bottom { display: none; }
  .tg-cta-box { flex-direction: column; align-items: flex-start; }
  .filter-bar .field { min-width: 100%; }
}

@media (max-width: 1100px) {
  .tg-clients-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tg-clients-grid,
  .tg-agents-grid { grid-template-columns: 1fr; }
  .tg-stats-strip { margin-top: -36px; }
  .tg-stats-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .tg-stats-panel::before { inset: 0 6px; transform: skewX(-6deg); border-radius: 18px; }
  .tg-process-line { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tg-process-rail,
  .tg-process-arrow,
  .tg-process-celebrate,
  .tg-step:not(:last-child)::after { display: none; }
}
@media (max-width: 520px) {
  .tg-metrics-grid { grid-template-columns: 1fr; }
  .tg-stats-strip { margin-top: -28px; }
  .tg-stats-panel { grid-template-columns: 1fr 1fr; padding: 22px 14px; }
  .tg-stats-panel::before { inset: 0; transform: none; border-radius: 16px; }
  .tg-process-line { grid-template-columns: 1fr; }
  .tg-clients-grid,
  .tg-agents-grid { grid-template-columns: 1fr; }
  .tg-client-card { gap: 12px; padding: 18px 14px 16px; }
  .tg-agent-card { gap: 14px; padding: 14px; }
  .tg-client-logo-box {
    flex: 0 0 88px;
    width: 88px;
    height: 88px;
    min-width: 88px;
    max-width: 88px;
    min-height: 88px;
    max-height: 88px;
    padding: 8px;
    overflow: hidden;
  }
  .tg-agent-logo-box {
    flex-basis: 132px;
    width: 132px;
    min-height: 132px;
    padding: 6px;
  }
  .tg-agent-logo-box img { max-height: 116px; }
  .tg-switch-group { display: none; }
}


/* Clients page: prevent logo overflow on mobile / touch */
.tg-clients-page .tg-client-card {
  overflow: hidden;
}
.tg-clients-page .tg-client-body {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  background: var(--surface);
}
.tg-clients-page .tg-client-name,
.tg-clients-page .tg-client-desc {
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .tg-clients-page .tg-client-card:hover {
    transform: none;
  }
  .tg-clients-page .tg-client-card:hover .tg-client-logo-box,
  .tg-clients-page .tg-client-card:hover .tg-client-logo-box img {
    transform: none;
  }
}
@media (hover: none) {
  .tg-client-card:hover {
    transform: none;
  }
  .tg-client-card:hover .tg-client-logo-box {
    transform: none;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .06);
  }
  .tg-client-card:hover .tg-client-logo-box img {
    transform: none;
  }
  .tg-client-card:hover .tg-client-logo-box::before,
  .tg-client-card:hover .tg-client-logo-box::after {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tg-marquee-track,
  .tg-network,
  .tg-float-orb,
  .tg-orbit,
  .tg-hero-media > img,
  .tg-float-chip,
  .tg-contact-shape span,
  .tg-wave,
  .tg-hero-slide { animation: none !important; transition: none !important; }
}

/* ============================================================
   هيدر نظيف + هيرو سلايدر خدمات (مطابق للمرجع)
   ============================================================ */
/* ---------- هيدر بصف واحد (مطابق للمرجع) ---------- */
.tg-header-pro {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #fff;
  border-bottom: 0;
  box-shadow: 0 10px 30px rgba(33, 10, 3, .05);
  overflow: visible;
}
[data-theme="dark"] .tg-header-pro { background: #150d08; }
.tg-header-pro.is-stuck { box-shadow: 0 12px 34px rgba(33, 10, 3, .1); }

.tg-header-pro .tg-header-inner {
  min-height: 88px;
  gap: 22px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(16px, 2vw, 24px);
  box-sizing: border-box;
  overflow: visible;
}
.tg-header-pro .tg-logo {
  margin-inline-start: 0;
}
.tg-header-pro .tg-logo img { max-height: 58px; }

.tg-header-pro .tg-nav {
  gap: 2px;
  flex-wrap: nowrap;
  margin-inline: auto;
}
.tg-header-pro .tg-nav a {
  background: transparent;
  border-radius: 0;
  padding: 30px 15px 28px;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.tg-header-pro .tg-nav a:hover,
.tg-header-pro .tg-nav a.active { background: transparent; color: var(--brand); font-weight: 700; }
.tg-header-pro .tg-nav a::after {
  inset-inline: 14px;
  bottom: 20px;
  height: 3px;
  border-radius: 3px;
}

.tg-header-pro .tg-header-actions {
  gap: 12px;
  margin-inline-start: 12px; /* space from nav — same both dirs */
  padding-inline-end: 0;
  overflow: visible;
}

.tg-head-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--text-soft);
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.tg-head-phone i { color: var(--brand); font-size: .92rem; }
.tg-head-phone:hover { color: var(--brand); }

.tg-head-sep {
  width: 1px;
  height: 26px;
  background: var(--border);
  display: inline-block;
}

.tg-quote-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border-radius: 100px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: .82rem;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255, 81, 0, .18);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease), background .2s ease;
}
.tg-quote-btn i { font-size: .75rem; }
.tg-quote-btn:hover {
  color: #fff;
  background: #e64500;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(255, 81, 0, .24);
}
.tg-quote-btn.is-active {
  box-shadow: 0 0 0 2px rgba(255, 81, 0, .22), 0 4px 12px rgba(255, 81, 0, .18);
}
/* الكمبيوتر: نص مختصر دائماً */
.tg-cta-label-full { display: none; }
.tg-cta-label-short { display: inline; }

.tg-login-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 40px;
  padding: 0 14px;
  border-radius: 100px;
  border: 1px solid rgba(255, 81, 0, .28);
  background: #fff;
  color: var(--brand);
  font-weight: 700;
  font-size: .82rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.tg-login-cta:hover {
  background: rgba(255, 81, 0, .08);
  border-color: rgba(255, 81, 0, .45);
  color: var(--brand);
}
[data-theme="dark"] .tg-login-cta {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,122,61,.35);
  color: #ffb088;
}

.mobile-nav a.m-link-cta {
  margin-top: 8px;
  border-radius: 14px;
  background: var(--brand);
  color: #fff !important;
  font-weight: 800;
}
.mobile-nav a.m-link-cta i { color: #fff; }

@media (max-width: 1400px) {
  .tg-header-pro .tg-nav a {
    padding-inline: 10px;
    font-size: .88rem;
  }
}
@media (max-width: 1200px) {
  .tg-header-pro .tg-nav a {
    padding-inline: 8px;
    font-size: .82rem;
  }
  .tg-login-cta span { display: none; }
  .tg-login-cta {
    width: 40px;
    padding: 0;
    justify-content: center;
  }
}

/* على الهاتف/التابلت: زر طلب السعر في البرجر فقط */
@media (max-width: 1080px) {
  .tg-header-actions .tg-quote-btn { display: none !important; }
  .tg-cur-pair {
    display: inline-flex;
    flex-shrink: 0;
  }
}
@media (max-width: 720px) {
  .tg-login-cta {
    height: 38px;
    width: 38px;
    min-width: 38px;
    max-width: 38px;
    padding: 0;
    justify-content: center;
  }
  .tg-login-cta span { display: none !important; }
  .tg-cur-pair {
    display: inline-flex;
    padding: 2px;
    gap: 2px;
    flex-shrink: 0;
  }
  .tg-cur-pair a {
    width: 30px;
    height: 30px;
    font-size: .88rem;
  }
  .tg-theme-soft {
    display: inline-flex !important;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    flex-shrink: 0;
  }
  .tg-burger {
    display: inline-flex !important;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }
}

.tg-cur-pair {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.tg-cur-pair a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-soft);
  transition: .2s var(--ease);
}
.tg-cur-pair a.on {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 6px 14px rgba(255, 81, 0, .25);
}
.tg-cur-pair a:not(.on):hover { color: var(--brand); }

.tg-lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 9px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  font-weight: 800;
  font-size: .72rem;
  color: var(--text);
  transition: .2s var(--ease);
  flex-shrink: 0;
}
.tg-lang-pill i { color: var(--brand); font-size: .68rem; }
.tg-lang-pill:hover { border-color: var(--brand); color: var(--brand); }
/* Compact EN label on Arabic UI */
html[lang="ar"] .tg-lang-pill,
body.lang-ar .tg-lang-pill {
  height: 30px;
  padding: 0 8px;
  font-size: .7rem;
  letter-spacing: .02em;
}

.tg-login-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 100px;
  border: 1.5px solid var(--brand);
  background: transparent;
  font-weight: 800;
  font-size: .88rem;
  color: var(--brand);
  white-space: nowrap;
  transition: .2s var(--ease);
}
.tg-login-pill:hover {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 22px rgba(255, 81, 0, .28);
}

.tg-theme-soft {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-soft);
  position: relative;
}
.tg-theme-soft .fa-sun { display: none; }
[data-theme="dark"] .tg-theme-soft .fa-sun { display: block; }
[data-theme="dark"] .tg-theme-soft .fa-moon { display: none; }
.tg-theme-soft:hover { border-color: var(--brand); color: var(--brand); }

.tg-header-curve {
  position: absolute;
  inset-inline: 0;
  bottom: -14px;
  height: 16px;
  pointer-events: none;
  background: no-repeat center / 100% 100%
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 16' preserveAspectRatio='none'%3E%3Cpath d='M0 1C300 1 380 15 720 15s440-14 720-14' fill='none' stroke='%23FF5100' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  opacity: .5;
}

/* ---------- Hero V4 ---------- */
.tg-hero-v4 {
  position: relative;
  overflow: hidden;
  background-color: #f7f4f1;
  background-image: none;
  padding: 28px 0 0;
  min-height: clamp(560px, 78vh, 760px);
  display: flex;
  flex-direction: column;
}
.tg-hero-v4.has-bg {
  background-image: var(--tg-hero-bg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
[data-theme="dark"] .tg-hero-v4 {
  background-color: #1a100c;
}
[data-theme="dark"] .tg-hero-v4.has-bg {
  background-image:
    linear-gradient(rgba(24, 10, 4, .55), rgba(24, 10, 4, .62)),
    var(--tg-hero-bg);
  background-position: center;
  background-size: cover;
}

.tg-hero-bg { display: none; }
.tg-wave {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .55;
}
.tg-wave-a {
  width: 70vmax;
  height: 70vmax;
  top: -30%;
  inset-inline-start: -20%;
  background: radial-gradient(circle, rgba(255, 81, 0, .28), transparent 68%);
  animation: tgWave 14s ease-in-out infinite alternate;
}
.tg-wave-b {
  width: 55vmax;
  height: 55vmax;
  bottom: -25%;
  inset-inline-end: -15%;
  background: radial-gradient(circle, rgba(255, 140, 60, .22), transparent 70%);
  animation: tgWave 18s ease-in-out infinite alternate-reverse;
}
.tg-wave-c {
  width: 40vmax;
  height: 40vmax;
  top: 20%;
  inset-inline-end: 10%;
  background: radial-gradient(circle, rgba(255, 200, 150, .35), transparent 65%);
  animation: tgWave 12s ease-in-out infinite alternate;
}
.tg-spark {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .9) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 40%, rgba(255, 180, 120, .8) 0 1.5px, transparent 3px),
    radial-gradient(circle at 40% 70%, rgba(255, 255, 255, .7) 0 1px, transparent 2px),
    radial-gradient(circle at 85% 20%, rgba(255, 120, 40, .6) 0 1px, transparent 2px);
  background-size: 100% 100%;
  opacity: .7;
  animation: tgSpark 8s linear infinite;
}
@keyframes tgWave {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(3%, -2%, 0) scale(1.06); }
}
@keyframes tgSpark {
  from { opacity: .45; }
  50%  { opacity: .85; }
  to   { opacity: .45; }
}

.tg-hero-social {
  /* Fixed: follows scroll; comfortable inward inset from viewport edge (RTL = right) */
  position: fixed;
  inset-block-start: 50%;
  inset-inline-start: max(52px, env(safe-area-inset-inline-start, 0px) + 52px);
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 14px 10px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .8);
  box-shadow: 0 10px 30px rgba(33, 10, 3, .08);
  pointer-events: auto;
  transition: padding .28s var(--ease), gap .28s var(--ease), border-radius .28s var(--ease);
}
html[dir="ltr"] .tg-hero-social {
  inset-inline-start: max(52px, env(safe-area-inset-inline-start, 0px) + 52px);
}
[data-theme="dark"] .tg-hero-social {
  background: rgba(30, 18, 12, .75);
  border-color: rgba(255, 255, 255, .08);
}
.tg-hero-social-toggle {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--brand, #FF5100);
  color: #fff;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background .22s var(--ease), transform .22s var(--ease);
  position: relative;
}
.tg-hero-social-toggle:hover {
  transform: scale(1.06);
  background: color-mix(in srgb, var(--brand, #FF5100) 88%, #000);
}
.tg-hero-social-toggle:focus-visible {
  outline: 2px solid var(--brand, #FF5100);
  outline-offset: 3px;
}
.tg-hero-social-toggle .tg-hero-social-ico-share,
.tg-hero-social-toggle .tg-hero-social-ico-close {
  grid-area: 1 / 1;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.tg-hero-social:not(.is-collapsed) .tg-hero-social-ico-share,
.tg-hero-social.is-collapsed .tg-hero-social-ico-close {
  opacity: 0;
  transform: scale(.6);
  pointer-events: none;
}
.tg-hero-social:not(.is-collapsed) .tg-hero-social-ico-close,
.tg-hero-social.is-collapsed .tg-hero-social-ico-share {
  opacity: 1;
  transform: scale(1);
}
.tg-hero-social-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  max-height: 560px;
  opacity: 1;
  overflow: hidden;
  transition: max-height .32s var(--ease), opacity .22s var(--ease), margin .28s var(--ease);
}
.tg-hero-social.is-collapsed {
  padding: 10px;
  gap: 0;
  border-radius: 999px;
}
.tg-hero-social.is-collapsed .tg-hero-social-panel {
  max-height: 0;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}
/* Contact-style icons inside white capsule: soft chip + brand tint */
.tg-hero-social a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2, rgba(33, 10, 3, .06));
  color: var(--sc, var(--text-soft));
  font-size: 1.12rem;
  transition: .22s var(--ease);
}
.tg-hero-social a:hover {
  background: var(--sc, var(--brand));
  color: #fff;
  transform: scale(1.08);
}
.tg-hero-social a.tg-social-img {
  border-radius: 11px;
  padding: 8px;
  overflow: hidden;
}
.tg-hero-social a.tg-social-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.tg-hero-social a.tg-social-img:hover img {
  filter: brightness(0) invert(1);
}
.tg-hero-social a.tg-social-tags.tg-social-img:hover img {
  filter: brightness(0) invert(1);
}
/* Keep page content clear of the fixed rail while scrolling */
body:has(.tg-hero-social) {
  --tg-social-rail-clear: 118px;
}
body:has(.tg-hero-social.is-collapsed) {
  --tg-social-rail-clear: 108px;
}
/* Equal inset on both sides so content stays visually centered while clearing the rail */
body:has(.tg-hero-social) .tg-hero-bank > .container,
body:has(.tg-hero-social) .section > .container,
body:has(.tg-hero-social) .tg-section > .container,
body:has(.tg-hero-social) .tg-why-showcase > .container,
body:has(.tg-hero-social) .tg-home-perks > .container,
body:has(.tg-hero-social) .tg-card-designs > .container,
body:has(.tg-hero-social) .tg-home-pillars > .container,
body:has(.tg-hero-social) .tg-ecosystem > .container,
body:has(.tg-hero-social) .tg-stats-strip > .container,
body:has(.tg-hero-social) .tg-final-cta > .container {
  padding-inline: max(20px, var(--tg-social-rail-clear));
  transition: padding-inline .28s var(--ease);
}

.tg-hero-stage {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 20px 70px;
  min-height: 0;
}

.tg-hero-track {
  position: relative;
  width: 100%;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  contain: paint;
  /* Jawwal-style push: next enters from inline-start */
  --hero-slide-in: 100%;
  --hero-slide-out: -100%;
  --hero-slide-park: 105%;
  --hero-slide-dur: .72s;
  --hero-slide-ease: cubic-bezier(.16, 1, .3, 1); /* same language as homepage reveals */
}
html[dir="ltr"] .tg-hero-track {
  --hero-slide-in: -100%;
  --hero-slide-out: 100%;
  --hero-slide-park: -105%;
}
.tg-hero-v4[data-slide-dir="prev"] .tg-hero-track {
  --hero-slide-in: -100%;
  --hero-slide-out: 100%;
}
html[dir="ltr"] .tg-hero-v4[data-slide-dir="prev"] .tg-hero-track {
  --hero-slide-in: 100%;
  --hero-slide-out: -100%;
}
/* Slide/offset stack: opaque layers + translate3d only (no opacity blink).
   Idle slides stay parked off-canvas so CTAs cannot leak beside the active panel. */
.tg-hero-slide {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  position: absolute;
  inset-inline: 0;
  top: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  opacity: 1;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(var(--hero-slide-park), 0, 0);
  transition: none;
  backface-visibility: hidden;
}
.tg-hero-slide.is-active {
  position: relative;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  transition: transform var(--hero-slide-dur) var(--hero-slide-ease);
  will-change: transform;
}
/* Outgoing panel stays painted while translating out */
.tg-hero-slide.is-leave {
  position: absolute;
  inset-inline: 0;
  top: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  visibility: visible;
  pointer-events: none;
  z-index: 2;
  transform: translate3d(var(--hero-slide-out), 0, 0);
  transition: transform var(--hero-slide-dur) var(--hero-slide-ease);
  will-change: transform;
}
/* Incoming parked off-canvas (no transition), then slides to 0 */
.tg-hero-slide.is-enter {
  position: absolute;
  inset-inline: 0;
  top: 0;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  visibility: visible;
  pointer-events: none;
  z-index: 3;
  transition: none;
  transform: translate3d(var(--hero-slide-in), 0, 0);
  will-change: transform;
}
.tg-hero-slide.is-active.is-enter {
  position: relative;
  transition: none;
  transform: translate3d(var(--hero-slide-in), 0, 0);
}
/* After enter class drops, push-in uses the active transition */
.tg-hero-slide.is-active:not(.is-enter) {
  transition: transform var(--hero-slide-dur) var(--hero-slide-ease);
}

.tg-hero-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand);
  font-weight: 800;
  font-size: .95rem;
}
.tg-hero-copy h1 {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4.2vw, 3.1rem);
  line-height: 1.25;
  letter-spacing: -.4px;
  color: var(--text);
  font-weight: 900;
}
.tg-hero-copy h1 span {
  color: var(--brand);
  display: inline;
}
.tg-hero-copy > p {
  margin: 0;
  max-width: 34ch;
  font-size: 1.05rem;
  color: var(--text-soft);
  line-height: 1.85;
}
.tg-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}
.tg-hero-actions .btn-primary {
  padding: 14px 28px;
  font-size: 1rem;
  box-shadow: 0 12px 28px rgba(255, 81, 0, .3);
}
.tg-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--text);
  transition: color .2s var(--ease), gap .2s var(--ease);
}
.tg-hero-link:hover { color: var(--brand); gap: 12px; }

.tg-hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}
.tg-hero-visual img {
  width: min(100%, 650px);
  height: auto;
  max-height: 470px;
  object-fit: contain;
  mix-blend-mode: normal;
  filter: drop-shadow(0 24px 40px rgba(255, 81, 0, .18));
  animation: tgFloatMedia 5.5s ease-in-out infinite;
}
[data-theme="dark"] .tg-hero-visual img {
  mix-blend-mode: normal;
  border-radius: 28px;
}
@keyframes tgFloatMedia {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.tg-hero-arrow {
  position: absolute;
  top: 45%;
  z-index: 4;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .78);
  color: var(--text-soft);
  box-shadow: 0 8px 22px rgba(33, 10, 3, .1);
  backdrop-filter: blur(8px);
  transition: .2s var(--ease);
}
[data-theme="dark"] .tg-hero-arrow { background: rgba(30, 18, 12, .8); color: #fff; }
.tg-hero-arrow:hover { background: var(--brand); color: #fff; transform: scale(1.06); }
.tg-hero-prev { inset-inline-start: 0; }
.tg-hero-next { inset-inline-end: 0; }

.tg-hero-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 18px;
  position: relative;
}
.tg-hero-dots { display: flex; gap: 8px; }
.tg-hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 100px;
  border: 2px solid var(--brand);
  background: transparent;
  padding: 0;
  transition: .25s var(--ease);
}
.tg-hero-dots button.is-active {
  width: 28px;
  background: var(--brand);
}
.tg-hero-count {
  position: absolute;
  inset-inline-end: 8px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: 1px;
}
.tg-hero-count b { color: var(--brand); font-size: 1.05rem; }

/* شريط تبويبات الخدمات */
.tg-hero-tabs {
  position: relative;
  z-index: 3;
  margin-top: auto;
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 81, 0, .12);
  box-shadow: 0 -8px 30px rgba(33, 10, 3, .04);
}
[data-theme="dark"] .tg-hero-tabs {
  background: rgba(22, 12, 8, .78);
  border-top-color: rgba(255, 255, 255, .06);
}
.tg-hero-tabs-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.tg-hero-tabs-inner::-webkit-scrollbar { display: none; }
.tg-hero-tab {
  position: relative;
  flex: 1;
  min-width: max-content;
  padding: 18px 16px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: .88rem;
  font-weight: 800;
  color: var(--text-soft);
  white-space: nowrap;
  transition: color .2s var(--ease);
}
.tg-hero-tab:not(:last-child)::after {
  content: '';
  position: absolute;
  inset-inline-end: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
  opacity: .55;
}
.tg-hero-tab:hover { color: var(--brand); }
.tg-hero-tab.is-active {
  color: var(--brand);
  text-shadow: 0 0 18px rgba(255, 81, 0, .35);
}
.tg-hero-tab.is-active::before {
  content: '';
  position: absolute;
  inset-inline: 18%;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--brand);
}

/* ============================================================
   سلايدر بنكي الشكل: بانر + كارت TAGS + شريط أيقونات
   ============================================================ */
.tg-hero-bank {
  padding: 0;
  min-height: 0;
  overflow-x: clip;
  overflow-y: visible;
}
.tg-hero-bank .tg-hero-stage {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 86px) clamp(90px, 9vw, 130px);
}
.tg-hero-bank .tg-hero-slide {
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
}
.tg-hero-bank .tg-hero-copy { max-width: 620px; }
.tg-hero-bank .tg-hero-copy h1 { font-size: clamp(2rem, 3.6vw, 3.35rem); line-height: 1.18; }
.tg-hero-bank .tg-hero-visual {
  align-self: center;
  padding-block-end: 0;
}
.tg-hero-bank .tg-hero-visual img {
  width: min(108%, 620px);
  max-height: 430px;
  transform: none;
}

/* شريط الأيقونات أسفل السلايدر — يظهر 5 فقط
   Center with inset + margin (not translateX) so reveal `transform: none` doesn't shove it right. */
.tg-bank-tabsbar {
  position: absolute;
  z-index: 5;
  inset-inline: 0;
  left: 0;
  right: 0;
  margin-inline: auto;
  bottom: 52px;
  width: min(720px, calc(100% - 36px));
  transform: none;
}
.tg-bank-tabsbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 22px 50px rgba(33, 10, 3, .14);
}
.tg-bank-arrow {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-soft);
  font-size: .82rem;
  transition: .2s var(--ease);
}
.tg-bank-arrow:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.tg-bank-arrow:disabled {
  opacity: .35;
  pointer-events: none;
}

.tg-bank-tabs-viewport {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.tg-bank-tabs {
  display: flex;
  align-items: stretch;
  gap: 4px;
  width: max-content;
  transition: transform .35s var(--ease);
  will-change: transform;
}

.tg-hero-bank .tg-hero-tab {
  flex: 0 0 auto;
  width: 120px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 10px 4px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  font-family: inherit;
  color: var(--text-soft);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.tg-hero-bank .tg-hero-tab::after,
.tg-hero-bank .tg-hero-tab::before { content: none; }
.tg-bank-tab-ico {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 1.05rem;
  transition: .2s var(--ease);
}
.tg-bank-tab-txt {
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: block;
}
.tg-hero-bank .tg-hero-tab:hover { color: var(--brand); }
.tg-hero-bank .tg-hero-tab:hover .tg-bank-tab-ico { transform: translateY(-3px); }
.tg-hero-bank .tg-hero-tab.is-active {
  color: var(--brand);
  background: var(--brand-soft);
  text-shadow: none;
}
.tg-hero-bank .tg-hero-tab.is-active .tg-bank-tab-ico {
  background: linear-gradient(135deg, #ff6a1f, var(--brand));
  color: #fff;
  box-shadow: 0 10px 20px rgba(255, 81, 0, .3);
}

.tg-hero-bank .tg-hero-pager { justify-content: flex-start; }

@media (max-width: 1180px) {
  .tg-bank-tabsbar {
    position: static;
    width: min(720px, calc(100% - 32px));
    margin: 18px auto 0;
    transform: none;
    inset-inline: auto;
    left: auto;
    right: auto;
  }
  .tg-hero-bank .tg-hero-stage { padding-bottom: 28px; }
}

@media (max-width: 980px) {
  .tg-hero-slide { grid-template-columns: 1fr; text-align: center; }
  .tg-hero-copy > p { max-width: none; margin-inline: auto; }
  .tg-hero-actions { justify-content: center; }
  .tg-hero-visual img { max-height: 300px; }
  /* Keep social rail on mobile (WA lives here; float WA hidden on homepage) */
  .tg-hero-social {
    display: flex;
    inset-block-start: 52%;
    inset-inline-start: max(30px, env(safe-area-inset-inline-start, 0px) + 30px);
    padding: 9px 6px;
    gap: 4px;
    border-radius: 80px;
    box-shadow: 0 8px 22px rgba(33, 10, 3, .1);
  }
  html[dir="ltr"] .tg-hero-social {
    inset-inline-start: max(30px, env(safe-area-inset-inline-start, 0px) + 30px);
  }
  .tg-hero-social-toggle {
    width: 34px;
    height: 34px;
    font-size: .9rem;
  }
  .tg-hero-social-panel { gap: 4px; max-height: 480px; }
  .tg-hero-social.is-collapsed { padding: 8px; }
  .tg-hero-social a {
    width: 34px;
    height: 34px;
    font-size: .92rem;
  }
  body:has(.tg-hero-social) {
    --tg-social-rail-clear: 74px;
  }
  body:has(.tg-hero-social.is-collapsed) {
    --tg-social-rail-clear: 68px;
  }
  body:has(.tg-hero-social) .tg-hero-bank > .container,
  body:has(.tg-hero-social) .section > .container,
  body:has(.tg-hero-social) .tg-section > .container,
  body:has(.tg-hero-social) .tg-why-showcase > .container,
  body:has(.tg-hero-social) .tg-home-perks > .container,
  body:has(.tg-hero-social) .tg-card-designs > .container,
  body:has(.tg-hero-social) .tg-home-pillars > .container,
  body:has(.tg-hero-social) .tg-ecosystem > .container,
  body:has(.tg-hero-social) .tg-stats-strip > .container,
  body:has(.tg-hero-social) .tg-final-cta > .container {
    padding-inline: max(14px, var(--tg-social-rail-clear));
  }
  .tg-hero-arrow { display: none; }
  .tg-hero-count { position: static; }
  .tg-hero-pager { flex-direction: column; gap: 10px; }
  .tg-bank-tab-txt { font-size: .66rem; }
}
@media (max-width: 560px) {
  .tg-bank-tab-txt { font-size: .62rem; }
  .tg-hero-social {
    inset-inline-start: max(23px, env(safe-area-inset-inline-start, 0px) + 23px);
    padding: 8px 5px;
    gap: 3px;
  }
  html[dir="ltr"] .tg-hero-social {
    inset-inline-start: max(23px, env(safe-area-inset-inline-start, 0px) + 23px);
  }
  .tg-hero-social-toggle {
    width: 32px;
    height: 32px;
    font-size: .86rem;
  }
  .tg-hero-social-panel { gap: 3px; max-height: 420px; }
  .tg-hero-social.is-collapsed { padding: 7px; }
  .tg-hero-social a {
    width: 32px;
    height: 32px;
    font-size: .88rem;
  }
  body:has(.tg-hero-social) {
    --tg-social-rail-clear: 66px;
  }
  body:has(.tg-hero-social.is-collapsed) {
    --tg-social-rail-clear: 60px;
  }
  body:has(.tg-hero-social) .tg-hero-bank > .container,
  body:has(.tg-hero-social) .section > .container,
  body:has(.tg-hero-social) .tg-section > .container,
  body:has(.tg-hero-social) .tg-why-showcase > .container,
  body:has(.tg-hero-social) .tg-home-perks > .container,
  body:has(.tg-hero-social) .tg-card-designs > .container,
  body:has(.tg-hero-social) .tg-home-pillars > .container,
  body:has(.tg-hero-social) .tg-ecosystem > .container,
  body:has(.tg-hero-social) .tg-stats-strip > .container,
  body:has(.tg-hero-social) .tg-final-cta > .container {
    padding-inline: max(10px, var(--tg-social-rail-clear));
  }
}
@media (max-width: 1240px) {
  .tg-header-pro .tg-nav a { padding-inline: 10px; font-size: .9rem; }
  .tg-head-phone span { display: none; }
}

@media (max-width: 1100px) {
  .tg-header-pro .tg-header-inner { min-height: 74px; }
  .tg-head-phone, .tg-head-sep { display: none; }
  .tg-theme-soft { width: 38px; height: 38px; }
  .tg-lang-pill { height: 32px; padding: 0 9px; font-size: .72rem; }
}

@media (max-width: 720px) {
  .tg-hero-v4 { min-height: auto; padding-top: 12px; }
  .tg-hero-stage { padding-bottom: 40px; }
  .tg-hero-tab { padding: 14px 12px; font-size: .78rem; }
  .tg-lang-pill span { display: none; }
  .tg-header-curve { display: none; }
}

/* ============================================================
   Client area — dashboard / services catalog
   ============================================================ */
.client-body .side {
  width: 232px;
}
.client-body .side-brand {
  align-items: center;
  padding: 14px 16px 10px;
}
.client-body .side-brand .side-logo {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.client-body .side-brand img,
.client-body .side-logo-light,
.client-body .side-logo-dark {
  width: 148px;
  max-width: 148px;
  max-height: 52px;
  object-fit: contain;
}
.client-body .side-nav {
  gap: 4px;
  padding-bottom: 10px;
}
.client-body .side-nav > .side-group {
  margin-top: 4px;
  padding: 8px 12px 4px;
  min-height: 0;
  cursor: default;
}
.client-body .side-nav a {
  min-height: 42px;
}
.client-body .client-main-head {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 16px;
  min-height: 64px;
  padding: 12px 24px;
  align-items: center;
}
.client-body .client-main-head .head-brand-logo {
  display: none;
  align-items: center;
  line-height: 0;
}
.client-body .client-main-head .head-brand-logo img {
  width: auto;
  max-width: 108px;
  max-height: 34px;
  object-fit: contain;
}
.client-body .client-main-head .head-titles {
  min-width: 0;
}
.client-body .client-main-head h1 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: -.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.client-body .client-main-head .head-sub {
  margin: 4px 0 0;
  max-width: 54ch;
}
.client-body .client-main-head .head-actions {
  flex-wrap: nowrap;
}
.client-body .main-body {
  padding: 14px 24px 36px;
}

/* Home — personal dashboard (AdminGo teal × blue × coral) */
.client-body .cs-plan-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 28px;
  margin-bottom: 16px;
  padding: 18px 20px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(45, 212, 191, .18), transparent 55%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(47, 107, 255, .22), transparent 52%),
    linear-gradient(135deg, #0B1C24 0%, #122A35 55%, #0F1A22 100%);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(11, 28, 36, .28);
}
.client-body .cs-plan-identity {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1 1 auto;
}
.client-body .cs-plan-who {
  min-width: 0;
}
.client-body .cs-plan-client-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 4px;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}
.client-body .cs-plan-side {
  flex: 0 1 340px;
  max-width: 380px;
  text-align: start;
}
.client-body .cs-plan-avatar {
  position: relative;
  width: 104px;
  height: 104px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  overflow: visible;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(145deg, #2F6BFF, #FF5A6E);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, .2),
    0 0 0 6px #0D9488,
    0 0 22px rgba(13, 148, 136, .55);
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.client-body .cs-plan-avatar:hover {
  transform: scale(1.04);
  box-shadow:
    0 0 0 3px rgba(255, 255, 255, .3),
    0 0 0 6px #14B8A6,
    0 0 28px rgba(20, 184, 166, .72);
}
.client-body .cs-plan-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.client-body .cs-plan-avatar-letter {
  font-weight: 800;
  font-size: 2.1rem;
  line-height: 1;
  text-transform: uppercase;
}
.client-body .cs-plan-online {
  position: absolute;
  inset-block-end: 4px;
  inset-inline-end: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #2DD4BF;
  border: 3px solid #0B1C24;
  box-shadow: 0 0 10px rgba(45, 212, 191, .9);
  animation: cs-plan-pulse 2.2s ease-in-out infinite;
}
@keyframes cs-plan-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, .55); }
  50% { box-shadow: 0 0 0 6px rgba(45, 212, 191, 0); }
}
.client-body .cs-plan-body {
  min-width: 0;
}
.client-body .cs-plan-eyebrow {
  display: block;
  margin: 0 0 4px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .48);
  line-height: 1.2;
}
.client-body .cs-plan-company {
  display: block;
  margin: 0;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.35;
  color: rgba(255, 255, 255, .72);
  letter-spacing: .01em;
}
.client-body .cs-plan-label {
  display: block;
  margin: 0 0 6px;
  font-size: .78rem;
  font-weight: 700;
  color: #5EEAD4;
}
.client-body .cs-plan-body h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}
.client-body .cs-plan-body p {
  margin: 0 0 12px;
  font-size: .86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, .62);
}
.client-body .cs-plan-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.client-body .cs-plan-amount {
  font-weight: 700;
  color: rgba(255, 255, 255, .88);
}
.client-body .cs-plan-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.client-body .cs-plan-cta:hover {
  filter: brightness(1.05);
}
.client-body .cs-plan-card.no-plan .cs-plan-avatar {
  /* keep glow */
}
.client-body .cs-member-since {
  font-size: .82rem;
  color: var(--ad-muted, #6b7280);
  font-weight: 500;
}
.client-body .cs-member-since b {
  color: var(--ad-text, #111);
  font-weight: 700;
}
.client-body .cs-plan-client-name {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}
.client-body .cs-plan-client-name .membership-badge {
  margin-inline-start: 0;
  vertical-align: middle;
  font-size: .72rem;
  transform: none;
}
.client-body .cs-membership-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--ad-line, #e5e7eb);
  background: linear-gradient(135deg, rgba(47,107,255,.08), rgba(13,148,136,.05));
}
.client-body .cs-membership-bar-label {
  font-size: .78rem;
  font-weight: 800;
  color: var(--ad-muted, #6b7280);
  letter-spacing: .02em;
}
.client-body .cs-membership-bar-hint {
  flex: 1 1 100%;
  font-size: .8rem;
  color: var(--ad-muted, #6b7280);
  line-height: 1.45;
}
.client-body .cs-membership-bar.membership-premium {
  background: linear-gradient(135deg, rgba(47,107,255,.1), rgba(255,255,255,.4));
  border-color: #b8cfff;
}
.client-body .cs-membership-bar.membership-gold,
.client-body .cs-membership-bar.membership-permanent {
  background: linear-gradient(135deg, rgba(245,198,66,.18), rgba(255,255,255,.45));
  border-color: #f0d070;
}
.client-body .cs-membership-bar.membership-enterprise {
  background: linear-gradient(135deg, rgba(15,118,110,.1), rgba(255,255,255,.4));
  border-color: #b7e4d4;
}
.client-body .cs-plan-label {
  display: block;
  margin-bottom: 4px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #5EEAD4;
  text-transform: uppercase;
}
.client-body .cs-plan-body h3 {
  margin: 0 0 4px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}
.client-body .cs-plan-body p {
  margin: 0;
  color: rgba(255,255,255,.68);
  font-size: .86rem;
  line-height: 1.55;
}
.client-body .cs-plan-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}
.client-body .cs-plan-amount {
  font-size: .9rem;
  font-weight: 800;
  color: #fff;
}
.client-body .cs-plan-cta {
  flex-shrink: 0;
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.18);
  color: #fff;
}
.client-body .cs-plan-cta:hover {
  background: rgba(255,255,255,.2);
  color: #fff;
}
.client-body .cs-plan-card.no-plan .cs-plan-avatar {
  background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .08));
}

.client-body .cs-kpi-home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.client-body .cs-kpi-home .kpi {
  min-height: 84px;
  padding: 14px 16px;
}
.client-body .cs-home-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 4px;
}

/* Legacy hero (services page may still use) */
.client-body .cs-hero {
  display: block;
  margin-bottom: 16px;
  padding: 22px 24px;
  border-radius: 18px;
  background:
    radial-gradient(ellipse 70% 90% at 100% 0%, rgba(45, 212, 191, .18), transparent 55%),
    radial-gradient(ellipse 50% 70% at 0% 100%, rgba(47, 107, 255, .22), transparent 52%),
    linear-gradient(135deg, #0B1C24 0%, #122A35 55%, #0F1A22 100%);
  color: #fff;
  overflow: hidden;
}
.client-body .cs-hero-kicker {
  margin: 0 0 8px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #5EEAD4;
  text-transform: uppercase;
}
.client-body .cs-hero h2 {
  margin: 0 0 8px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
}
.client-body .cs-hero p {
  margin: 0;
  color: rgba(255,255,255,.72);
  line-height: 1.65;
  font-size: .92rem;
}
.client-body .cs-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.client-body .cs-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 4px 0 12px;
}
.client-body .cs-section-head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
}
.client-body .cs-section-head p {
  margin: 4px 0 0;
  color: var(--ad-muted, #6b7280);
  font-size: .86rem;
}

.client-body .cs-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.client-body .cs-search {
  position: relative;
  flex: 1 1 240px;
  min-width: 0;
}
.client-body .cs-search i {
  position: absolute;
  inset-inline-start: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
  pointer-events: none;
}
.client-body .cs-search input {
  width: 100%;
  height: 44px;
  padding-inline: 40px 14px;
  border: 1px solid var(--ad-border, #e5e7eb);
  border-radius: 12px;
  background: var(--ad-panel, #fff);
  color: inherit;
  font: inherit;
}

.client-body .cs-cats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
.client-body .cs-cat {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--ad-panel, #fff);
  border: 1px solid var(--ad-border, #e5e7eb);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.client-body .cs-cat:hover {
  border-color: var(--brand-light, #5B8CFF);
  box-shadow: 0 8px 24px rgba(47, 107, 255, .10);
  transform: translateY(-1px);
}
.client-body .cs-cat.is-active {
  border-color: var(--brand, #2F6BFF);
  background: linear-gradient(180deg, rgba(47,107,255,.08), transparent);
}
.client-body .cs-cat-ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: color-mix(in srgb, var(--cc, var(--brand, #2F6BFF)) 14%, transparent);
  color: var(--cc, var(--brand, #2F6BFF));
  font-size: 1rem;
}
.client-body .cs-cat b {
  display: block;
  font-size: .92rem;
  font-weight: 800;
  line-height: 1.3;
}
.client-body .cs-cat small {
  color: var(--ad-muted, #6b7280);
  font-size: .75rem;
}

.client-body .cs-cat-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid color-mix(in srgb, var(--cc, var(--brand, #2F6BFF)) 28%, transparent);
  background: color-mix(in srgb, var(--cc, var(--brand, #2F6BFF)) 8%, var(--ad-panel, #fff));
}
.client-body .cs-cat-intro h2 {
  margin: 0 0 6px;
  font-size: 1.2rem;
}
.client-body .cs-cat-intro p {
  margin: 0;
  color: var(--ad-muted, #6b7280);
  font-size: .9rem;
  line-height: 1.6;
}
.client-body .cs-cat-intro > i {
  font-size: 2rem;
  color: var(--cc, var(--brand, #2F6BFF));
  opacity: .85;
}

.client-body .cs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.client-body .cs-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  border-radius: 18px;
  background: var(--ad-panel, #fff);
  border: 1px solid var(--ad-border, #e5e7eb);
  min-height: 100%;
}
.client-body .cs-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.client-body .cs-card-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--cc, var(--brand, #2F6BFF)) 14%, transparent);
  color: var(--cc, var(--brand, #2F6BFF));
}
.client-body .cs-card-tag {
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cc, var(--brand, #2F6BFF)) 12%, transparent);
  color: var(--cc, var(--brand, #2F6BFF));
}
.client-body .cs-card h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
}
.client-body .cs-card > p {
  margin: 0;
  flex: 1;
  color: var(--ad-muted, #6b7280);
  font-size: .88rem;
  line-height: 1.65;
}
.client-body .cs-card-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.client-body .cs-card-price strong {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--brand, #2F6BFF);
}
.client-body .cs-card-price strong.cs-quote {
  font-size: 1rem;
}
.client-body .cs-card-price s {
  color: #9ca3af;
  font-size: .88rem;
}
.client-body .cs-card-price small {
  width: 100%;
  color: var(--ad-muted, #6b7280);
  font-size: .78rem;
}
.client-body .cs-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}
.client-body .cs-more summary {
  cursor: pointer;
  font-size: .84rem;
  font-weight: 700;
  color: var(--ad-muted, #6b7280);
  list-style: none;
}
.client-body .cs-more summary::-webkit-details-marker { display: none; }
.client-body .cs-more div {
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--ad-soft, #f7f7f8);
  font-size: .84rem;
  line-height: 1.65;
  color: var(--ad-muted, #4b5563);
}

.client-body .cs-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  border-radius: 16px;
  border: 1px dashed var(--ad-border, #e5e7eb);
  color: var(--ad-muted, #6b7280);
}
.client-body .cs-empty i {
  font-size: 1.8rem;
  margin-bottom: 10px;
  opacity: .5;
}

.client-body .cs-packages { margin-top: 36px; }
.client-body .cs-pkg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}
.client-body .cs-pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 18px 18px;
  border-radius: 18px;
  background: var(--ad-panel, #fff);
  border: 1px solid var(--ad-border, #e5e7eb);
}
.client-body .cs-pkg.is-popular {
  border-color: var(--brand, #2F6BFF);
  box-shadow: 0 12px 32px rgba(47, 107, 255, .14);
}
.client-body .cs-popular {
  position: absolute;
  top: -10px;
  inset-inline-start: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2F6BFF, #FF5A6E);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
}
.client-body .cs-pkg h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
}
.client-body .cs-pkg > p {
  margin: 0;
  color: var(--ad-muted, #6b7280);
  font-size: .88rem;
  line-height: 1.6;
}
.client-body .cs-feat {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.client-body .cs-feat li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-size: .86rem;
  line-height: 1.45;
}
.client-body .cs-feat i {
  color: #16a34a;
  margin-top: 3px;
}

.client-body .cs-modal[hidden] { display: none !important; }
.client-body .cs-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 18px;
}
.client-body .cs-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 15, 15, .55);
  backdrop-filter: blur(2px);
}
.client-body .cs-modal-card {
  position: relative;
  width: min(440px, 100%);
  padding: 24px 22px 20px;
  border-radius: 18px;
  background: var(--ad-panel, #fff);
  box-shadow: 0 24px 64px rgba(0,0,0,.25);
  z-index: 1;
}
.client-body .cs-modal-x {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: var(--ad-soft, #f3f4f6);
  color: inherit;
  cursor: pointer;
}
.client-body .cs-modal-card h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 800;
  padding-inline-end: 40px;
}
.client-body .cs-modal-sub {
  margin: 0 0 16px;
  color: var(--brand, #2F6BFF);
  font-weight: 800;
  font-size: 1.05rem;
}

@media (max-width: 1100px) {
  .client-body .cs-kpi-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .client-body .cs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* إشعارات — تابلت/جوال ≤1024: fixed تحت الجرس، قائمة فقط تتسكّل، تذييل ظاهر */
@media (max-width: 1024px) {
  .tg-client-notify-menu {
    width: min(360px, calc(100vw - 16px));
    max-width: min(360px, calc(100vw - 16px));
    max-height: min(70vh, 420px);
    top: calc(100% + 8px);
    inset-inline-end: 0;
    inset-inline-start: auto;
    z-index: 10060;
    pointer-events: auto;
  }
  .tg-client-notify-list {
    max-height: none;
  }
  .tg-notify-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  .tg-client-notify-item {
    gap: 12px;
    padding: 14px 14px;
    min-height: 52px;
    align-items: flex-start;
  }
  .tg-client-notify-ico {
    width: 40px;
    height: 40px;
  }
  .tg-client-notify-body b {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
  }
  .tg-client-notify-foot {
    gap: 8px;
  }
  .tg-client-notify-foot a {
    padding: 10px 14px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .client-body .tg-client-notify-menu {
    width: min(360px, calc(100vw - 16px));
    max-width: min(360px, calc(100vw - 16px));
  }
  .client-body .head-actions,
  .client-body .tg-client-notify {
    overflow: visible;
  }
}
@media (max-width: 640px) {
  .tg-client-notify-menu {
    width: min(360px, calc(100vw - 16px));
    max-width: min(360px, calc(100vw - 16px));
    max-height: min(70vh, 420px);
    inset-inline-end: 0;
  }
  .tg-client-notify-list {
    max-height: none;
  }
  .tg-client-notify-item {
    padding: 12px 14px;
    min-height: 52px;
  }
  .tg-client-notify-foot a {
    padding: 10px 12px;
    min-height: 44px;
  }
}

/* Client panel — tablet (shares AdminGo drawer via admin.css ≤1024) */
@media (max-width: 1024px) {
  .client-body {
    max-width: 100%;
  }
  .client-body .main {
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
  }
  .client-body .client-main-head {
    padding: 10px 14px;
    min-height: 58px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 8px 10px;
    align-items: center;
  }
  .client-body .client-main-head .head-brand-logo {
    display: inline-flex;
  }
  .client-body .client-main-head .head-sub {
    display: none;
  }
  .client-body .client-main-head h1 {
    font-size: 1.05rem;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .client-body .client-main-head .head-actions {
    flex-wrap: wrap;
    gap: 5px;
    justify-content: flex-end;
    max-width: min(100%, 200px);
  }
  .client-body .client-main-head .icon-btn,
  .client-body .side-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }
  .client-body .main-body {
    padding: 12px 16px 32px;
  }
  .client-body .cs-plan-card {
    flex-wrap: wrap;
    padding: 16px 18px;
    gap: 14px 18px;
  }
  .client-body .cs-plan-side {
    flex: 1 1 240px;
    max-width: none;
  }
  .client-body .cs-toolbar {
    gap: 10px;
  }
  .client-body .cs-cats {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
  .client-body .cs-cat {
    min-height: 56px;
  }
  .client-body .table-scroll {
    margin-inline: 0;
  }
}

@media (max-width: 900px) {
  .client-body .cs-hero {
    padding: 18px 16px;
  }
  .client-body .cs-plan-card {
    flex-wrap: wrap;
    padding: 16px;
    gap: 14px;
  }
  .client-body .cs-plan-identity {
    width: 100%;
  }
  .client-body .cs-plan-side {
    flex: 1 1 100%;
    max-width: none;
  }
  .client-body .cs-plan-avatar {
    width: 84px;
    height: 84px;
  }
  .client-body .cs-plan-avatar-letter { font-size: 1.7rem; }
  .client-body .cs-plan-cta {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .client-body .cs-home-panels {
    grid-template-columns: 1fr;
  }
  .client-body .cs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .client-body .cs-section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .client-body .cs-search {
    flex: 1 1 100%;
  }
}

@media (max-width: 640px) {
  .client-body .client-main-head {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
  }
  .client-body .client-main-head .head-actions {
    max-width: none;
    justify-content: flex-end;
    flex-wrap: wrap;
  }
  .client-body .client-main-head h1 {
    white-space: normal;
  }
  .client-body .cs-kpi-home {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .client-body .cs-cats,
  .client-body .cs-grid,
  .client-body .cs-pkg-grid {
    grid-template-columns: 1fr;
  }
  .client-body .cs-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .client-body .crud-layout,
  .client-body .cs-home-panels {
    grid-template-columns: 1fr !important;
  }
}

/* ============================================================
   توافق شامل: هاتف / تابلت / iPhone / iPad
   ============================================================ */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body { overflow-x: hidden; }
}

@media (max-width: 1080px) {
  .tg-header-pro .tg-header-inner {
    justify-content: space-between;
    width: 100%;
    gap: 10px;
  }
  .tg-header-pro .tg-logo {
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(46vw, 150px);
  }
  .tg-header-pro .tg-header-actions {
    margin-inline-start: auto;
    min-width: 0;
    flex: 0 0 auto;
  }

  .mobile-nav {
    width: min(360px, 88vw);
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    padding:
      max(20px, env(safe-area-inset-top))
      max(18px, env(safe-area-inset-right))
      max(20px, env(safe-area-inset-bottom))
      max(18px, env(safe-area-inset-left));
    overflow-x: hidden;
    overscroll-behavior: contain;
  }
  .mobile-nav-head { width: 100%; }
  .mobile-nav-head .tg-logo img {
    width: min(145px, 48vw) !important;
    max-height: 52px;
  }
  .mobile-nav a.m-link {
    width: 100%;
    min-width: 0;
    white-space: normal;
  }
  .mobile-nav .m-actions,
  .mobile-nav .m-actions .btn { width: 100%; }
}

@media (max-width: 720px) {
  .container { padding-inline: 14px; }

  .tg-header-pro .tg-header-inner {
    min-height: 66px;
    gap: 10px;
    padding-block: 6px;
  }
  .tg-header-pro .tg-logo {
    flex: 0 1 auto;
    max-width: min(40vw, 120px);
    margin-inline-end: 0;
  }
  .tg-header-pro .tg-logo img {
    width: clamp(84px, 26vw, 112px) !important;
    max-width: 100%;
    max-height: 44px;
  }
  .tg-header-pro .tg-header-actions {
    gap: 6px;
    flex-wrap: nowrap;
    overflow: visible;
    margin-inline-start: auto;
    padding-inline-start: 4px;
  }
  .tg-header-pro .tg-user { display: none; }

  .tg-quote-btn {
    height: 40px;
    padding: 0 12px;
    font-size: .78rem;
    gap: 6px;
    flex-shrink: 0;
  }
  .tg-quote-btn .tg-cta-label-full { display: none !important; }
  .tg-quote-btn .tg-cta-label-short { display: inline !important; }

  .tg-login-cta {
    width: 40px;
    min-width: 40px;
    max-width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
  }
  .tg-login-cta span { display: none !important; }
  .tg-login-cta i { flex-shrink: 0; }

  .tg-lang-pill,
  .tg-theme-soft,
  .tg-burger {
    width: 38px;
    height: 38px;
    padding: 0;
    flex: 0 0 38px;
    justify-content: center;
  }
  .tg-lang-pill {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    gap: 0;
    font-size: .7rem;
  }
  .tg-lang-pill i { font-size: .68rem; }
  .tg-burger { align-items: center; }

  .tg-hero-bank {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .tg-hero-bank .tg-hero-stage {
    width: 100%;
    padding-block: 28px 20px;
  }
  .tg-hero-track,
  .tg-hero-slide,
  .tg-hero-copy,
  .tg-hero-visual {
    min-width: 0;
    max-width: 100%;
  }
  .tg-hero-bank .tg-hero-slide {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
  .tg-hero-bank .tg-hero-copy {
    width: 100%;
    margin-inline: auto;
  }
  .tg-hero-bank .tg-hero-copy h1 {
    font-size: clamp(1.65rem, 8vw, 2.15rem);
    line-height: 1.22;
    overflow-wrap: anywhere;
  }
  .tg-hero-copy > p {
    font-size: .92rem;
    line-height: 1.7;
  }
  .tg-hero-actions {
    gap: 12px;
    margin-top: 20px;
  }
  .tg-hero-actions .btn-primary {
    padding: 11px 18px;
    font-size: .88rem;
  }
  .tg-hero-link { font-size: .85rem; }
  .tg-hero-bank .tg-hero-visual img {
    width: auto;
    max-width: min(86vw, 360px);
    max-height: 230px;
  }
  .tg-hero-pager { margin-top: 8px; }

  .tg-bank-tabsbar {
    width: min(720px, calc(100% - 20px));
    max-width: calc(100% - 20px);
    margin: 10px auto 14px;
  }
  .tg-bank-tabsbar-inner {
    gap: 5px;
    padding: 7px;
    border-radius: 16px;
  }
  .tg-bank-arrow {
    width: 34px;
    height: 34px;
  }
  .tg-hero-bank .tg-hero-tab {
    padding: 8px 3px;
    gap: 5px;
  }
  .tg-bank-tab-ico {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .tg-metrics { padding-inline: 10px; }
  .tg-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }
  .tg-metric {
    min-width: 0;
    min-height: 78px;
    padding: 11px 8px;
    gap: 8px;
  }
  .tg-metric:nth-child(2) { border-inline-end: 0; }
  .tg-metric:nth-child(-n + 2) { border-block-end: 1px solid var(--line, var(--border)); }
  .tg-metric-icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }
  .tg-metric b { font-size: 1.05rem; }
  .tg-metric small {
    font-size: .68rem;
    line-height: 1.35;
  }

  .grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid,
  .footer-brand,
  .footer-aside,
  .tg-contact-grid,
  .tg-offer-single {
    min-width: 0;
    max-width: 100%;
  }
  input,
  select,
  textarea,
  .input,
  .select { max-width: 100%; }
}

@media (max-width: 768px) {
  .footer .footer-logo img,
  .footer-logo.tg-logo img {
    width: clamp(88px, 28vw, 116px) !important;
    max-width: min(116px, 70vw) !important;
    max-height: 48px !important;
  }
  .footer-about { max-width: 100%; }
}

@media (max-width: 560px) {
  .tg-theme-soft {
    display: inline-flex !important;
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }
  .tg-header-pro .tg-header-actions { gap: 5px; }
  .tg-hero-v4 { padding-top: 0; }
  .tg-hero-kicker { font-size: .78rem; }
  .tg-hero-actions { justify-content: center; }
  .footer .footer-logo img,
  .footer-logo.tg-logo img {
    width: clamp(88px, 28vw, 116px) !important;
    max-width: min(116px, 66vw) !important;
    max-height: 48px !important;
  }
}

@media (max-width: 380px) {
  .container { padding-inline: 10px; }
  .tg-header-pro .tg-logo img {
    width: 86px !important;
    max-width: 86px;
  }
  .footer .footer-logo img,
  .footer-logo.tg-logo img {
    width: 86px !important;
    max-width: min(86px, 64vw) !important;
    max-height: 48px !important;
  }
  .tg-lang-pill { display: none; }
  .tg-login-cta {
    width: 38px;
    min-width: 38px;
    max-width: 38px;
    height: 38px;
    padding: 0;
  }
  .tg-quote-btn {
    height: 38px;
    padding: 0 10px;
    font-size: .74rem;
  }
  .tg-header-pro .tg-header-actions { gap: 6px; }
  .tg-hero-bank .tg-hero-copy h1 { font-size: 1.58rem; }
  .tg-hero-actions .btn,
  .tg-hero-actions .tg-hero-link {
    width: 100%;
    justify-content: center;
  }
}

@media (hover: none) and (pointer: coarse) {
  .tg-logo:hover img,
  .tg-quote-btn:hover,
  .tg-social:hover,
  .tg-hero-bank .tg-hero-tab:hover .tg-bank-tab-ico {
    transform: none;
  }
}

@supports (-webkit-touch-callout: none) {
  input,
  select,
  textarea { font-size: 16px; }
}

/* ============================================================
   اتجاه الموقع الكامل: عربي يمين | إنجليزي يسار
   ============================================================ */
html[dir="rtl"],
html[dir="rtl"] body {
  direction: rtl;
}
html[dir="ltr"],
html[dir="ltr"] body {
  direction: ltr;
}

html[dir="ltr"] .tg-header-pro .tg-nav {
  margin-inline: auto;
}
html[dir="ltr"] .section-head,
html[dir="rtl"] .section-head {
  text-align: center;
}

html[dir="ltr"] .tg-hero-bank .tg-hero-copy,
html[dir="ltr"] .tg-hero-copy {
  text-align: start;
}
html[dir="ltr"] .tg-hero-copy > p {
  margin-inline: 0;
}
html[dir="ltr"] .tg-hero-actions {
  justify-content: flex-start;
}
@media (max-width: 980px) {
  html[dir="ltr"] .tg-hero-slide,
  html[dir="rtl"] .tg-hero-slide {
    text-align: center;
  }
  html[dir="ltr"] .tg-hero-copy > p,
  html[dir="rtl"] .tg-hero-copy > p {
    margin-inline: auto;
  }
  html[dir="ltr"] .tg-hero-actions,
  html[dir="rtl"] .tg-hero-actions {
    justify-content: center;
  }
}

html[dir="ltr"] .footer-links a i,
html[dir="rtl"] .footer-links a i {
  transform: none;
}
html[dir="ltr"] .breadcrumb {
  direction: ltr;
}
html[dir="rtl"] .breadcrumb {
  direction: rtl;
}

/* أرقام وهواتف تبقى LTR حتى داخل العربي */
[dir="ltr"].phone,
a[href^="tel"],
a[href^="mailto"],
.tg-cur-pair,
.tg-hero-count,
.tg-metric b,
.kpi b {
  unicode-bidi: isolate;
}

html[dir="ltr"] .float-actions {
  inset-inline-start: auto;
  inset-inline-end: 24px;
}
html[dir="rtl"] .float-actions {
  inset-inline-start: 24px;
  inset-inline-end: auto;
}

/* سهم للأعلى + بانر عائم على الجهة المقابلة للشات، بنفس المستوى الرأسي لزر Chatway */
body.has-chatway .float-actions,
body.chatway--active .float-actions {
  /* نفس ارتفاع زر الشات تقريباً (كانت 100px فظهر أعلى بكثير) */
  inset-block-end: 20px;
  inset-inline-start: auto;
  inset-inline-end: 24px;
}
body.has-chatway .tg-ads-slot-float_br,
body.chatway--active .tg-ads-slot-float_br {
  /* فوق السهم مباشرة — يوازي فقاعة الترحيب تقريباً */
  inset-block-end: 88px;
}
body.has-chatway .tg-ads-slot-float_bl,
body.chatway--active .tg-ads-slot-float_bl {
  inset-block-end: 88px;
}
@media (max-width: 600px) {
  body.has-chatway .float-actions,
  body.chatway--active .float-actions {
    inset-block-end: max(16px, env(safe-area-inset-bottom, 0px) + 10px);
    inset-inline-end: 16px;
  }
  body.has-chatway .tg-ads-slot-float_br,
  body.chatway--active .tg-ads-slot-float_br,
  body.has-chatway .tg-ads-slot-float_bl,
  body.chatway--active .tg-ads-slot-float_bl {
    inset-block-end: 78px;
  }
}

html[dir="ltr"] .mobile-nav {
  inset: 0 auto 0 0;
  transform: translateX(-110%);
}
html[dir="rtl"] .mobile-nav {
  inset: 0 0 0 auto;
  transform: translateX(110%);
}
html[dir="ltr"] .mobile-nav.open,
html[dir="rtl"] .mobile-nav.open {
  transform: translateX(0) !important;
}

html[dir="ltr"] .tg-nav a::after {
  transform-origin: left center;
}
html[dir="rtl"] .tg-nav a::after {
  transform-origin: right center;
}

html[dir="ltr"] body.lang-en .tg-header-pro,
html[dir="ltr"] body.lang-en .footer,
html[dir="ltr"] body.lang-en .tg-hero-v4,
html[dir="ltr"] body.lang-en .section,
html[dir="ltr"] body.lang-en .page-banner {
  text-align: start;
}
html[dir="ltr"] body.lang-en .section-head,
html[dir="ltr"] body.lang-en .page-banner {
  text-align: center;
}

/* ---------- بحث الموقع (هيدر + صفحة النتائج) ---------- */
.tg-site-search {
  position: relative;
}
.tg-search-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-soft);
  cursor: pointer;
  transition: .2s var(--ease, ease);
}
.tg-search-btn:hover,
.tg-search-btn[aria-expanded="true"] {
  border-color: var(--brand);
  color: var(--brand);
}
.tg-search-panel {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  width: min(380px, calc(100vw - 28px));
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg, #fff);
  box-shadow: 0 18px 40px rgba(16, 24, 40, 0.14);
  z-index: 90;
}
.tg-search-panel[hidden] { display: none !important; }
.tg-search-panel-form {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 4px 4px 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-soft, #fafafa);
}
[dir="rtl"] .tg-search-panel-form { padding: 4px 12px 4px 4px; }
.tg-search-panel-form > i {
  color: var(--text-muted, #8a8178);
  flex-shrink: 0;
}
.tg-search-panel-form input {
  flex: 1;
  min-width: 0;
  height: 36px;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  color: var(--text);
}
.tg-search-panel-form .btn {
  flex-shrink: 0;
  border-radius: 999px;
  height: 36px;
  padding: 0 16px;
}

.tg-search-page { padding-top: 28px; }
.tg-search-page-form {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto 22px;
  padding: 6px 6px 6px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg, #fff);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.06);
}
[dir="rtl"] .tg-search-page-form { padding: 6px 18px 6px 6px; }
.tg-search-page-form > i { color: var(--brand); }
.tg-search-page-form input {
  flex: 1;
  min-width: 0;
  height: 44px;
  border: 0;
  background: transparent;
  outline: none;
  font: inherit;
  font-size: 1.02rem;
  color: var(--text);
}
.tg-search-page-form .btn {
  border-radius: 999px;
  height: 44px;
  padding: 0 22px;
  font-weight: 800;
}
.tg-search-hint,
.tg-search-meta {
  text-align: center;
  color: var(--text-muted);
  margin: 0 0 20px;
}
.tg-search-meta b {
  color: var(--brand);
  font-size: 1.15rem;
  margin-inline-end: 6px;
}
.tg-search-results {
  display: grid;
  gap: 10px;
  max-width: 820px;
  margin: 0 auto;
}
.tg-search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg, #fff);
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.tg-search-result:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 81, 0, .35);
  box-shadow: 0 10px 24px rgba(16, 24, 40, 0.07);
  color: inherit;
}
.tg-search-result-ico {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 81, 0, .1);
  color: var(--brand);
}
.tg-search-result-body { flex: 1; min-width: 0; }
.tg-search-result-body em {
  display: block;
  font-style: normal;
  font-size: .72rem;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 2px;
}
.tg-search-result-body b {
  display: block;
  font-size: 1rem;
  margin-bottom: 2px;
}
.tg-search-result-body small {
  display: block;
  color: var(--text-muted);
  font-size: .84rem;
  line-height: 1.45;
}
.tg-search-result-chevron {
  color: var(--text-muted);
  font-size: .85rem;
}
.tg-search-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}
.tg-search-empty i {
  font-size: 2rem;
  color: var(--brand);
  margin-bottom: 12px;
}
.tg-search-empty h3 {
  margin: 0 0 8px;
  color: var(--text);
}
.tg-search-empty-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
@media (max-width: 640px) {
  .tg-search-page-form {
    flex-wrap: wrap;
    border-radius: 18px;
    padding: 12px;
  }
  .tg-search-page-form input { width: 100%; flex: 1 1 100%; }
  .tg-search-page-form .btn { width: 100%; }
  .tg-search-btn { width: 38px; height: 38px; }
}

/* ---------- صفحة 404 ---------- */
.tg-404 {
  position: relative;
  min-height: calc(100vh - var(--header-h, 76px) - 120px);
  display: flex;
  align-items: center;
  padding: clamp(48px, 8vw, 96px) 0;
  overflow: hidden;
  background:
    radial-gradient(900px 420px at 12% 0%, color-mix(in srgb, var(--brand) 14%, transparent), transparent 62%),
    radial-gradient(700px 380px at 90% 100%, color-mix(in srgb, var(--teal) 10%, transparent), transparent 58%),
    linear-gradient(180deg, color-mix(in srgb, var(--bg-alt) 88%, var(--brand-soft)) 0%, var(--bg) 55%);
}
.tg-404::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .35;
  background-image:
    linear-gradient(to right, color-mix(in srgb, var(--brand) 10%, transparent) 1px, transparent 1px),
    linear-gradient(to bottom, color-mix(in srgb, var(--brand) 10%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.tg-404-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.tg-404-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: tg404In .7s var(--ease) both;
}
.tg-404-img {
  width: min(100%, 520px);
  height: auto;
  max-height: 420px;
  object-fit: contain;
  filter: drop-shadow(0 22px 40px rgba(33, 10, 3, .18));
  animation: tg404Float 5.5s ease-in-out infinite;
}
.tg-404-mark {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}
.tg-404-digits {
  position: relative;
  z-index: 1;
  font-size: clamp(5.5rem, 14vw, 8.5rem);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: tg404Float 5.5s ease-in-out infinite;
}
.tg-404-ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--brand) 35%, transparent);
  background:
    radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 55%);
  animation: tg404Pulse 3.2s ease-in-out infinite;
}
.tg-404-copy {
  animation: tg404In .75s var(--ease) .08s both;
}
.tg-404-kicker {
  margin: 0 0 10px;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}
.tg-404-title {
  margin: 0 0 14px;
  font-size: clamp(1.9rem, 4.2vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--text);
}
.tg-404-desc {
  margin: 0 0 26px;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-soft);
}
.tg-404-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.tg-404-btn {
  min-height: 48px;
  padding-inline: 22px;
  font-weight: 800;
  box-shadow: 0 12px 28px color-mix(in srgb, var(--brand) 28%, transparent);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tg-404-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px color-mix(in srgb, var(--brand) 34%, transparent);
}
.tg-404-countdown {
  margin: 22px 0 0;
  font-size: .95rem;
  color: var(--text-muted);
}
.tg-404-countdown strong {
  color: var(--brand);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
@keyframes tg404In {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes tg404Float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
@keyframes tg404Pulse {
  0%, 100% { transform: scale(1); opacity: .85; }
  50%      { transform: scale(1.04); opacity: 1; }
}
@media (max-width: 900px) {
  .tg-404-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .tg-404-desc { margin-inline: auto; }
  .tg-404-actions { justify-content: center; }
  .tg-404-visual { order: -1; }
  .tg-404-mark { width: min(100%, 280px); margin-inline: auto; }
}
[data-theme="dark"] .tg-404 {
  background:
    radial-gradient(900px 420px at 12% 0%, color-mix(in srgb, var(--brand) 18%, transparent), transparent 62%),
    radial-gradient(700px 380px at 90% 100%, color-mix(in srgb, #6B0000 22%, transparent), transparent 58%),
    linear-gradient(180deg, #1B0B07 0%, var(--bg) 60%);
}
[dir="ltr"] .tg-404-kicker { letter-spacing: .14em; }

/* ---------- صفحة إيقاف الموقع (صيانة) ---------- */
.tg-maint .tg-maint-mark {
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  letter-spacing: 0;
  display: grid;
  place-items: center;
  line-height: 1;
}
.tg-maint .tg-maint-mark i {
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   Responsive polish v170 — overflow, grids, forms, fixed UI
   Breakpoints: 1200 / 1080 / 980 / 900 / 780 / 720 / 640 / 560 / 480 / 380
   ============================================================ */
img,
svg,
video,
iframe,
canvas {
  max-width: 100%;
}

.table-scroll,
.table-wrap,
.tg-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table {
  max-width: 100%;
}

/* Card designs desktop pull — keep clipped by section */
.tg-card-designs {
  overflow-x: clip;
}
@supports not (overflow: clip) {
  .tg-card-designs { overflow-x: hidden; }
}

/* Social rail: also clear inner page banners / footer (symmetric for centering) */
body:has(.tg-hero-social) .page-banner > .container,
body:has(.tg-hero-social) .footer-top > .container,
body:has(.tg-hero-social) .footer-bottom > .container {
  padding-inline: max(20px, var(--tg-social-rail-clear, 118px));
  transition: padding-inline .28s var(--ease);
}

@media (max-width: 1200px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  body:has(.tg-hero-social) .page-banner > .container,
  body:has(.tg-hero-social) .footer-top > .container,
  body:has(.tg-hero-social) .footer-bottom > .container {
    padding-inline: max(14px, var(--tg-social-rail-clear, 74px));
  }

  /* Keep float top clear of rail (same inline-start edge) */
  body:has(.tg-hero-social) .float-actions {
    inset-inline-start: auto;
    inset-inline-end: max(16px, env(safe-area-inset-inline-end, 0px) + 12px);
  }

  .tg-hero-visual img {
    width: min(100%, 420px);
    max-height: 280px;
  }
}

@media (max-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tg-map iframe { height: 300px; }
  .footer-bottom .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
  .work-card .merchant-media { height: 200px !important; }
  .work-card-actions {
    flex-wrap: wrap;
    gap: 8px 12px;
  }
  .work-card-actions a,
  .work-card-actions button {
    min-height: 40px;
  }
}

@media (max-width: 780px) {
  .chips {
    gap: 8px;
    margin-bottom: 20px;
  }
  .chip {
    min-height: 40px;
    padding-inline: 14px;
    font-size: .84rem;
  }
  .filter-bar {
    grid-template-columns: 1fr !important;
  }
  .tg-contact-card {
    padding: 16px;
  }
  .tg-country-trigger {
    min-height: 48px;
  }
  .tg-intl-prefix {
    padding-inline: 10px;
    font-size: .88rem;
  }
}

@media (max-width: 720px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }
  .tg-map iframe { height: 240px; }
  .tg-work-gallery-grid { grid-template-columns: 1fr 1fr; }
  .section { padding-block: clamp(36px, 8vw, 56px); }
  .tg-section-title { margin-bottom: clamp(22px, 4vw, 36px); }
  .tg-section-title h2,
  .section-head h2 {
    overflow-wrap: anywhere;
  }

  /* Metrics: keep 2×2 (overrides older 1-col at 520) */
  .tg-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .float-actions {
    inset-block-end: max(14px, env(safe-area-inset-bottom, 0px) + 10px);
  }
  .float-btn {
    width: 46px;
    height: 46px;
  }

  /* Header actions: prevent overflow squeeze */
  .tg-header-pro .tg-header-actions > * {
    flex-shrink: 0;
  }
  .tg-header-pro .tg-logo {
    flex: 0 1 auto;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  body:has(.tg-hero-social) .page-banner > .container,
  body:has(.tg-hero-social) .footer-top > .container,
  body:has(.tg-hero-social) .footer-bottom > .container {
    padding-inline: max(10px, var(--tg-social-rail-clear, 60px));
  }

  .tg-stats-panel {
    padding: 18px 12px;
    gap: 14px 10px;
  }
  .tg-stats-item b { font-size: clamp(1.2rem, 6vw, 1.55rem); }
  .tg-stats-item small { font-size: .72rem; }

  .tg-client-card,
  .tg-agent-card {
    flex-direction: column;
    align-items: stretch;
  }
  .tg-client-logo-box,
  .tg-agent-logo-box {
    width: 100%;
    flex-basis: auto;
    min-height: 144px;
  }

  .tg-country-name { max-width: 8.5rem; }
  .tg-contact-social .tg-social,
  .footer-social .tg-social {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
}

@media (max-width: 480px) {
  .tg-work-gallery-grid { grid-template-columns: 1fr; }
  .empty-state { padding: 40px 16px; }
  .empty-state i { font-size: 2.4rem; }
  .merchant-meta { gap: 8px; }
  .card-body p {
    font-size: .9rem;
    line-height: 1.65;
  }
}

/* Safe areas (notched phones) — equal insets; header stays full-bleed */
@supports (padding: max(0px)) {
  .tg-topbar-inner,
  .tg-header-pro .tg-header-inner {
    padding-inline: max(
      16px,
      env(safe-area-inset-inline-start, 0px),
      env(safe-area-inset-inline-end, 0px)
    );
  }
  .float-actions {
    inset-block-end: max(16px, env(safe-area-inset-bottom, 0px) + 12px);
  }
}

/* Desktop: modest edge padding only — no container centering, no social-rail shrink */
@media (min-width: 1081px) {
  .tg-topbar-inner,
  .tg-header-pro .tg-header-inner {
    padding-inline: clamp(16px, 1.6vw, 24px);
    max-width: none;
    margin-inline: 0;
    width: 100%;
  }
  .tg-header-pro .tg-header-inner { gap: 24px; }
  .tg-header-pro .tg-logo { margin-inline-start: 0; }
  .tg-header-pro .tg-header-actions {
    margin-inline-start: 16px;
    padding-inline-end: 0;
    flex-shrink: 0;
    overflow: visible;
  }
  .tg-header-pro .tg-lang-pill,
  .tg-header-pro .tg-cur-pair,
  .tg-header-pro .tg-theme-soft {
    flex-shrink: 0;
  }
}

/* Mobile: balanced edges; keep lang/currency circles visible */
@media (max-width: 1080px) {
  .tg-topbar-inner,
  .tg-header-pro .tg-header-inner {
    max-width: none;
    margin-inline: 0;
    width: 100%;
    padding-inline: max(14px, env(safe-area-inset-inline-start, 0px), env(safe-area-inset-inline-end, 0px));
  }
  .tg-header-pro .tg-logo { margin-inline-start: 0; }
  .tg-header-pro .tg-header-actions {
    margin-inline-start: auto;
    padding-inline-end: 0;
    flex-shrink: 0;
    overflow: visible;
  }
}

/* Never let social-rail clearance shrink the header / topbar */
body:has(.tg-hero-social) .tg-topbar-inner,
body:has(.tg-hero-social) .tg-header-pro .tg-header-inner,
html[dir="ltr"] body:has(.tg-hero-social) .tg-header-pro .tg-header-inner,
html[dir="rtl"] body:has(.tg-hero-social) .tg-header-pro .tg-header-inner {
  padding-inline-start: clamp(16px, 2vw, 24px);
  padding-inline-end: clamp(16px, 2vw, 24px);
}
@media (max-width: 980px) {
  body:has(.tg-hero-social) .tg-topbar-inner,
  body:has(.tg-hero-social) .tg-header-pro .tg-header-inner,
  html[dir="ltr"] body:has(.tg-hero-social) .tg-header-pro .tg-header-inner,
  html[dir="rtl"] body:has(.tg-hero-social) .tg-header-pro .tg-header-inner {
    padding-inline-start: 14px;
    padding-inline-end: 14px;
  }
}
@media (max-width: 560px) {
  body:has(.tg-hero-social) .tg-topbar-inner,
  body:has(.tg-hero-social) .tg-header-pro .tg-header-inner,
  html[dir="ltr"] body:has(.tg-hero-social) .tg-header-pro .tg-header-inner,
  html[dir="rtl"] body:has(.tg-hero-social) .tg-header-pro .tg-header-inner {
    padding-inline-start: 12px;
    padding-inline-end: 12px;
  }
}

/* ============================================================
   Homepage scroll motion — punchy cinematic reveals (no pin/scrub-jack)
   ============================================================ */
[data-home-motion] {
  --reveal-rise: 60px;
  --reveal-scale: .92;
  --reveal-blur: 5px;
  --reveal-dur: .88s;
  --reveal-ease: cubic-bezier(.16, 1, .3, 1);
  --reveal-slide-x: -48px;
}

html[dir="rtl"] [data-home-motion] {
  --reveal-slide-x: 48px;
}

/* Core punch: rise + scale + light blur-out (transitions both directions) */
[data-home-motion] .reveal {
  opacity: 0;
  transform: translate3d(0, var(--reveal-rise), 0) scale(var(--reveal-scale));
  filter: blur(var(--reveal-blur));
  will-change: opacity, transform, filter;
  transition:
    opacity var(--reveal-dur) var(--reveal-ease),
    transform var(--reveal-dur) var(--reveal-ease),
    filter calc(var(--reveal-dur) * .72) var(--reveal-ease);
}
[data-home-motion] .reveal.visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Headlines / section copy: slide from reading-start + fade + light clip */
[data-home-motion] .tg-section-title.reveal:not(.visible),
[data-home-motion] .section-head.reveal:not(.visible),
[data-home-motion] .tg-eco-head.reveal:not(.visible),
[data-home-motion] .tg-designs-copy.reveal:not(.visible),
[data-home-motion] .tg-why-head.reveal:not(.visible),
[data-home-motion] .tg-mission-panel.reveal:not(.visible) {
  transform: translate3d(var(--reveal-slide-x), 36px, 0) scale(.95);
  filter: blur(4px);
  clip-path: inset(0 12% 0 0);
}
html[dir="rtl"] [data-home-motion] .tg-section-title.reveal:not(.visible),
html[dir="rtl"] [data-home-motion] .section-head.reveal:not(.visible),
html[dir="rtl"] [data-home-motion] .tg-eco-head.reveal:not(.visible),
html[dir="rtl"] [data-home-motion] .tg-designs-copy.reveal:not(.visible),
html[dir="rtl"] [data-home-motion] .tg-why-head.reveal:not(.visible),
html[dir="rtl"] [data-home-motion] .tg-mission-panel.reveal:not(.visible) {
  clip-path: inset(0 0 0 12%);
}
[data-home-motion] .tg-section-title.reveal,
[data-home-motion] .section-head.reveal,
[data-home-motion] .tg-eco-head.reveal,
[data-home-motion] .tg-designs-copy.reveal,
[data-home-motion] .tg-why-head.reveal,
[data-home-motion] .tg-mission-panel.reveal {
  transition:
    opacity var(--reveal-dur) var(--reveal-ease),
    transform var(--reveal-dur) var(--reveal-ease),
    filter calc(var(--reveal-dur) * .72) var(--reveal-ease),
    clip-path var(--reveal-dur) var(--reveal-ease);
}
[data-home-motion] .tg-section-title.reveal.visible,
[data-home-motion] .section-head.reveal.visible,
[data-home-motion] .tg-eco-head.reveal.visible,
[data-home-motion] .tg-designs-copy.reveal.visible,
[data-home-motion] .tg-why-head.reveal.visible,
[data-home-motion] .tg-mission-panel.reveal.visible {
  clip-path: inset(0 0 0 0);
}

/* Cards / panels: stronger scale punch */
[data-home-motion] .tg-perk-card.reveal:not(.visible),
[data-home-motion] .tg-pillar-card.reveal:not(.visible),
[data-home-motion] .tg-jp-card.reveal:not(.visible),
[data-home-motion] .tg-service-card.reveal:not(.visible),
[data-home-motion] .tg-work-card.reveal:not(.visible),
[data-home-motion] .tg-quote.reveal:not(.visible),
[data-home-motion] .tg-design-item.reveal:not(.visible),
[data-home-motion] .tg-step.reveal:not(.visible),
[data-home-motion] .tg-cta-box.reveal:not(.visible) {
  transform: translate3d(0, var(--reveal-rise), 0) scale(.9);
  filter: blur(6px);
}

/* Hero bank tabs: quieter entrance so hero stays calm
   Keep visible transform null — centering uses margin, not translateX. */
.tg-hero-v4[data-home-motion] .tg-bank-tabsbar.reveal:not(.visible) {
  transform: translate3d(0, 22px, 0) scale(.97);
  filter: blur(3px);
  clip-path: none;
}
.tg-hero-v4[data-home-motion] .tg-bank-tabsbar.reveal {
  transition-delay: .14s;
}
.tg-hero-v4[data-home-motion] .tg-bank-tabsbar.reveal.visible {
  transform: none;
}

/* Hero slide content must never be scroll-hidden mid-carousel */
.tg-hero-v4 .tg-hero-slide .reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  clip-path: none !important;
}
.tg-hero-v4.is-inview .tg-bank-tabsbar.reveal {
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
}

/* Soft scrub (desktop only via JS gate) — transform only, free scroll */
[data-home-scrub] {
  --scrub-y: 0px;
  --scrub-p: 0;
}
[data-home-scrub] .tg-apps-fan {
  transform: translate3d(0, var(--scrub-y), 0);
  transition: transform .12s linear;
  will-change: transform;
}
[data-home-scrub] .tg-mission-media {
  transform: translate3d(0, calc(var(--scrub-y) * .55), 0);
  transition: transform .12s linear;
  will-change: transform;
}
[data-home-scrub] .tg-mission-copy {
  transform: translate3d(0, calc(var(--scrub-y) * -.25), 0);
  transition: transform .12s linear;
}

/* Phone gallery: punchier per handset, keep hover after visible */
.tg-fan-phone.reveal {
  opacity: 0;
  transform: translate3d(0, 52px, 0) scale(.9);
  filter: blur(4px);
  transition:
    opacity .85s cubic-bezier(.16, 1, .3, 1),
    transform .85s cubic-bezier(.16, 1, .3, 1),
    filter .6s cubic-bezier(.16, 1, .3, 1);
}
.tg-fan-phone.reveal.visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}
.tg-fan-phone.reveal.visible:hover {
  transform: scale(1.12);
  filter: none;
  z-index: 8;
}

/* Partners / certified marquees ease in as a band */
.tg-partner-marquee.reveal:not(.visible),
.tg-certified-marquee.reveal:not(.visible) {
  opacity: 0;
  transform: translate3d(0, 40px, 0) scale(.96);
  filter: blur(4px);
}
.tg-partner-marquee.reveal.visible,
.tg-certified-marquee.reveal.visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

/* Metrics: rise + soft number pop on reveal */
.tg-stats-item.reveal {
  text-align: inherit;
}
[data-home-motion] .tg-stats-item.reveal:not(.visible) {
  transform: translate3d(0, 56px, 0) scale(.88);
  filter: blur(5px);
}
@keyframes tg-metric-pop {
  0%   { transform: scale(.82); }
  55%  { transform: scale(1.1); }
  78%  { transform: scale(.97); }
  100% { transform: scale(1); }
}
[data-home-motion] .tg-stats-item.reveal.visible > b {
  transform-origin: center bottom;
  animation: tg-metric-pop .72s cubic-bezier(.34, 1.45, .64, 1) both;
  animation-delay: .12s;
}
[data-home-motion] .tg-stats-item.reveal.visible.is-metric-pop > b[data-count] {
  text-shadow: 0 0 28px rgba(255, 81, 0, .32);
}

/* Mobile: still punchy, slightly reduced distances — no scrub */
@media (max-width: 900px) {
  [data-home-motion] {
    --reveal-rise: 40px;
    --reveal-scale: .95;
    --reveal-blur: 3px;
    --reveal-dur: .72s;
    --reveal-slide-x: -28px;
  }
  html[dir="rtl"] [data-home-motion] {
    --reveal-slide-x: 28px;
  }
  [data-home-motion] .tg-perk-card.reveal:not(.visible),
  [data-home-motion] .tg-pillar-card.reveal:not(.visible),
  [data-home-motion] .tg-jp-card.reveal:not(.visible),
  [data-home-motion] .tg-service-card.reveal:not(.visible),
  [data-home-motion] .tg-work-card.reveal:not(.visible),
  [data-home-motion] .tg-quote.reveal:not(.visible),
  [data-home-motion] .tg-design-item.reveal:not(.visible),
  [data-home-motion] .tg-step.reveal:not(.visible),
  [data-home-motion] .tg-cta-box.reveal:not(.visible) {
    transform: translate3d(0, var(--reveal-rise), 0) scale(.94);
    filter: blur(3px);
  }
  [data-home-motion] .tg-section-title.reveal:not(.visible),
  [data-home-motion] .section-head.reveal:not(.visible),
  [data-home-motion] .tg-eco-head.reveal:not(.visible),
  [data-home-motion] .tg-designs-copy.reveal:not(.visible),
  [data-home-motion] .tg-why-head.reveal:not(.visible),
  [data-home-motion] .tg-mission-panel.reveal:not(.visible) {
    clip-path: inset(0 6% 0 0);
  }
  html[dir="rtl"] [data-home-motion] .tg-section-title.reveal:not(.visible),
  html[dir="rtl"] [data-home-motion] .section-head.reveal:not(.visible),
  html[dir="rtl"] [data-home-motion] .tg-eco-head.reveal:not(.visible),
  html[dir="rtl"] [data-home-motion] .tg-designs-copy.reveal:not(.visible),
  html[dir="rtl"] [data-home-motion] .tg-why-head.reveal:not(.visible),
  html[dir="rtl"] [data-home-motion] .tg-mission-panel.reveal:not(.visible) {
    clip-path: inset(0 0 0 6%);
  }
  [data-home-scrub] .tg-apps-fan,
  [data-home-scrub] .tg-mission-media,
  [data-home-scrub] .tg-mission-copy {
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }
  .tg-fan-phone.reveal {
    transform: translate3d(0, 28px, 0) scale(.94);
    filter: blur(2px);
  }
  .tg-fan-phone.reveal.visible:hover {
    transform: none;
  }
  [data-home-motion] .tg-stats-item.reveal.visible > b {
    animation-duration: .6s;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-home-motion] .reveal,
  [data-home-motion] .reveal.visible,
  [data-home-motion] .tg-section-title.reveal,
  [data-home-motion] .section-head.reveal,
  [data-home-motion] .tg-eco-head.reveal,
  [data-home-motion] .tg-designs-copy.reveal,
  [data-home-motion] .tg-why-head.reveal,
  [data-home-motion] .tg-mission-panel.reveal,
  [data-home-scrub] .tg-apps-fan,
  [data-home-scrub] .tg-mission-media,
  [data-home-scrub] .tg-mission-copy,
  .tg-fan-phone.reveal,
  .tg-fan-phone.reveal.visible,
  .tg-fan-phone.reveal.visible:hover,
  [data-home-motion] .tg-stats-item.reveal.visible > b {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    clip-path: none !important;
    transition: none !important;
    animation: none !important;
    text-shadow: none !important;
    will-change: auto !important;
  }
}

/* Optional per-page QR — physical LEFT; float-top stays RIGHT (no overlap) */
.tg-page-qr {
  position: fixed;
  z-index: 40; /* below .float-actions (800) */
  left: max(14px, env(safe-area-inset-left, 0px) + 10px);
  right: auto;
  inset-block-end: max(92px, env(safe-area-inset-bottom, 0px) + 80px);
  padding: 6px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 20, 17, 0.08);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(23, 20, 17, 0.08);
  line-height: 0;
  opacity: 0.88;
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: auto;
}
.tg-page-qr:hover,
.tg-page-qr:focus-within {
  opacity: 1;
  transform: translateY(-2px);
}
.tg-page-qr img {
  width: 72px;
  height: 72px;
  display: block;
  border-radius: 4px;
}
@media (min-width: 981px) {
  .tg-page-qr {
    inset-block-end: max(18px, env(safe-area-inset-bottom, 0px) + 12px);
  }
}
@media (max-width: 560px) {
  .tg-page-qr {
    inset-block-end: max(96px, env(safe-area-inset-bottom, 0px) + 84px);
    padding: 4px;
    opacity: 0.82;
  }
  .tg-page-qr img {
    width: 56px;
    height: 56px;
  }
}

/* باقات داخل قسم الخدمات (ليست قسماً عائماً منفصلاً) */
.svc-section-packages {
  margin-top: 64px;
  padding-top: 8px;
  scroll-margin-top: 96px;
}
.svc-section-packages > .section-head {
  margin-bottom: 28px;
}
.svc-packages-anchor {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ========== Cursor Glow (TAGS brand) ========== */
.tg-cursor-trail {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 40;
  pointer-events: none;
  display: none;
}
@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
  .tg-cursor-trail { display: block; }
}
.tg-cursor-glow {
  --cg-r: 255;
  --cg-g: 81;
  --cg-b: 0;
  --cg-intensity: .7;
  --cg-orb: 320px;
  --cg-core: 56px;
  --cg-blend: soft-light;
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity .28s ease;
}
.tg-cursor-glow.is-on { opacity: 1; }
.tg-cursor-glow__orb,
.tg-cursor-glow__core {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 50%;
  transform: translate3d(-9999px, -9999px, 0);
  will-change: transform;
}
.tg-cursor-glow__orb {
  width: var(--cg-orb);
  height: var(--cg-orb);
  margin: calc(var(--cg-orb) / -2) 0 0 calc(var(--cg-orb) / -2);
  background: radial-gradient(circle,
    rgba(var(--cg-r), var(--cg-g), var(--cg-b), calc(var(--cg-intensity) * .36)) 0%,
    rgba(var(--cg-r), var(--cg-g), var(--cg-b), calc(var(--cg-intensity) * .14)) 34%,
    rgba(var(--cg-r), var(--cg-g), var(--cg-b), 0) 70%);
  filter: blur(10px);
}
.tg-cursor-glow__core {
  width: var(--cg-core);
  height: var(--cg-core);
  margin: calc(var(--cg-core) / -2) 0 0 calc(var(--cg-core) / -2);
  background: radial-gradient(circle,
    rgba(255, 255, 255, calc(var(--cg-intensity) * .55)) 0%,
    rgba(var(--cg-r), var(--cg-g), var(--cg-b), calc(var(--cg-intensity) * .42)) 40%,
    rgba(var(--cg-r), var(--cg-g), var(--cg-b), 0) 78%);
  mix-blend-mode: var(--cg-blend);
}
[data-theme="dark"] .tg-cursor-glow__orb {
  background: radial-gradient(circle,
    rgba(var(--cg-r), var(--cg-g), var(--cg-b), calc(var(--cg-intensity) * .45)) 0%,
    rgba(var(--cg-r), var(--cg-g), var(--cg-b), calc(var(--cg-intensity) * .18)) 36%,
    rgba(var(--cg-r), var(--cg-g), var(--cg-b), 0) 72%);
}
[data-theme="dark"] .tg-cursor-glow__core {
  mix-blend-mode: screen;
}
@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .tg-cursor-glow,
  .tg-cursor-trail { display: none !important; }
}


/* ============================================================
   Product cart (TAGS)
   ========================================================== */
.tg-cart-btn {
  position: relative;
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface, #fff);
  color: var(--text);
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  transition: .2s ease;
}
.tg-cart-btn:hover,
.tg-cart-btn.is-active {
  border-color: var(--brand, #ff5100);
  color: var(--brand, #ff5100);
}
.tg-cart-btn em {
  position: absolute;
  top: -3px;
  inset-inline-end: -3px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--brand, #ff5100);
  color: #fff;
  font-size: .58rem;
  font-weight: 800;
  font-style: normal;
  display: grid;
  place-items: center;
  border: 2px solid var(--surface, #fff);
}
.tg-cart-btn em[hidden] { display: none !important; }

.tg-product-tile {
  position: relative;
}
.tg-product-tile-main {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
  min-height: 0;
}
.tg-product-tile.has-cart .tg-product-tile-foot {
  padding-bottom: 8px;
}
.tg-product-tile .tg-cart-add-form {
  margin: 0;
  padding: 0 8px 10px;
  background: #fff;
}
.tg-product-tile-cart-btn {
  width: 100%;
  justify-content: center;
  gap: 6px;
  border-radius: 4px !important;
  font-weight: 800;
}
.tg-cart-add-form {
  display: inline-flex;
  margin: 0;
}
.tg-work-actions .tg-cart-add-form { display: inline-flex; }

.tg-cart-section { padding-top: 28px; }
.tg-cart-wrap { max-width: 1100px; }
.tg-cart-empty {
  text-align: center;
  padding: clamp(40px, 8vw, 72px) 20px;
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.tg-cart-empty > i {
  font-size: 2.4rem;
  color: var(--brand, #ff5100);
  margin-bottom: 14px;
}
.tg-cart-empty h2 { margin: 0 0 8px; font-size: 1.45rem; }
.tg-cart-empty p { margin: 0 auto 18px; max-width: 420px; color: var(--text-muted); }
.tg-cart-empty-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.tg-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 18px;
  align-items: start;
}
.tg-cart-panel,
.tg-cart-summary,
.tg-cart-checkout {
  background: var(--surface, #fff);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}
.tg-cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.tg-cart-panel-head h2,
.tg-cart-summary h2,
.tg-cart-checkout h2 {
  margin: 0;
  font-size: 1.15rem;
}
.tg-cart-panel-head h2 span { color: var(--text-muted); font-weight: 700; }

.tg-cart-line {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.tg-cart-line:first-child { border-top: 0; padding-top: 0; }
.tg-cart-line-media {
  display: block;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 81, 0, .18);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.tg-cart-line-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.tg-cart-line-ph {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  color: var(--brand, #ff5100);
  font-size: 1.4rem;
}
.tg-cart-line-title {
  font-weight: 800;
  color: inherit;
  text-decoration: none;
}
.tg-cart-line-title:hover { color: var(--brand, #ff5100); }
.tg-cart-line-price {
  margin-top: 4px;
  font-weight: 800;
}
.tg-cart-line-price small {
  display: inline-block;
  margin-inline-start: 6px;
  color: var(--text-muted);
  font-weight: 600;
}
.tg-cart-custom { color: var(--brand, #ff5100); }
.tg-cart-line-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
  margin-top: 10px;
}
.tg-cart-qty {
  display: grid;
  gap: 4px;
  font-size: .85rem;
  font-weight: 700;
}
.tg-cart-qty .input {
  width: 88px;
  min-height: 40px;
}
.tg-cart-lines-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.tg-cart-summary-list {
  list-style: none;
  margin: 14px 0;
  padding: 0;
}
.tg-cart-summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
}
.tg-cart-summary-total {
  border-bottom: 0 !important;
  margin-top: 4px;
  font-size: 1.05rem;
}
.tg-cart-summary-hint {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.6;
}
.tg-cart-checkout { margin-top: 18px; }
.tg-cart-checkout > p {
  margin: 8px 0 14px;
  color: var(--text-muted);
  line-height: 1.55;
}
.tg-cart-account-chip {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 81, 0, .22);
  border-radius: 12px;
  background: rgba(255, 81, 0, .06);
}
.tg-cart-account-chip > i {
  margin-top: 2px;
  color: var(--brand, #ff5100);
  font-size: 1.1rem;
}
.tg-cart-account-chip strong {
  display: block;
  font-size: .98rem;
}
.tg-cart-account-chip span {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.45;
  word-break: break-word;
}
.tg-cart-account-chip a {
  display: inline-block;
  margin-top: 6px;
  font-size: .86rem;
  font-weight: 700;
  color: var(--brand, #ff5100);
  text-decoration: none;
}
.tg-cart-account-chip a:hover { text-decoration: underline; }
.tg-cart-checkout-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}
#tgCartSubmitBtn.is-loading { opacity: .7; pointer-events: none; }

@media (max-width: 900px) {
  .tg-cart-layout { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .tg-cart-line { grid-template-columns: 72px minmax(0, 1fr); }
  .tg-product-tile-cart-btn span { font-size: .78rem; }
  .tg-header-pro .tg-cart-btn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    flex: 0 0 36px;
  }
  .tg-header-pro .tg-logo {
    max-width: min(38vw, 108px);
  }
}
[data-theme="dark"] .tg-product-tile .tg-cart-add-form,
[data-theme="dark"] .tg-cart-line-media {
  background: var(--surface, #1a1210);
}

/* ===== Designs title clip fix (RTL full title visible) ===== */
.tg-card-designs { overflow-x: visible; }
.tg-designs-layout {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  column-gap: clamp(40px, 6vw, 96px);
}
.tg-designs-copy { max-width: 380px; overflow: visible; }
.tg-designs-copy h2 {
  white-space: normal;
  width: auto;
  max-width: 100%;
  overflow: visible;
  line-height: 1.35;
  letter-spacing: 0;
}
@media (max-width: 1100px) {
  .tg-designs-layout {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  }
  .tg-designs-copy { max-width: 320px; }
  .tg-designs-copy h2 {
    white-space: normal;
    font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  }
}
/* Mobile: MUST stay single column — later desktop rules above used to crush the cards */
@media (max-width: 980px) {
  .tg-designs-layout {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
  .tg-designs-copy {
    order: -1;
    text-align: center;
    align-items: center;
    max-width: none !important;
    width: 100%;
    justify-self: stretch;
    padding-inline-start: 0;
    margin-inline-start: 0;
  }
  .tg-designs-copy h2 {
    white-space: normal;
    width: auto;
    max-width: 100%;
    font-size: clamp(1.55rem, 5.5vw, 2rem);
  }
  .tg-designs-copy .btn {
    margin-inline: auto;
    align-self: center;
  }
  .tg-designs-grid {
    order: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 12px;
    max-width: 820px;
    width: 100%;
    margin-inline: auto;
    justify-self: center;
    opacity: 1;
  }
  .tg-design-item.reveal:not(.visible) {
    /* Don't leave cards invisible if observer is late on stacked layout */
    opacity: 1;
    transform: none;
    filter: none;
  }
}
@media (max-width: 720px) {
  .tg-designs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: 540px;
    gap: 18px 16px;
  }
}
@media (max-width: 560px) {
  .tg-designs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    max-width: none;
    gap: 12px;
  }
}

/* ===== Section FA icon: beside title only; hide when empty ===== */
.tg-sec-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 100%;
}
.tg-title-inline .tg-sec-title-row {
  justify-content: flex-start;
}
.tg-sec-title-row .tg-sec-ico-wrap {
  margin: 0 !important;
  float: none !important;
  flex: 0 0 auto;
  position: relative;
  z-index: 1;
}
.tg-sec-title-row h2 {
  margin: 0;
  overflow: visible;
}
.tg-section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.tg-section-heading.has-ico .tg-section-heading-text {
  text-align: center;
}
.tg-title-inline .tg-section-heading {
  align-items: flex-start;
}
.tg-title-inline .tg-section-heading.has-ico .tg-section-heading-text {
  text-align: start;
}

/* Why-head: do NOT style icon wrap as eyebrow pill */
.tg-why-head > span:not(.tg-sec-ico-wrap):not(.tg-sec-title-row),
.tg-why-head .tg-section-heading-text > span {
  display: inline-block;
  padding: 6px 18px;
  margin-bottom: 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .14);
  color: var(--brand-light);
  font-weight: 800;
  font-size: .82rem;
}
.tg-why-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tg-why-head .tg-sec-title-row {
  margin-bottom: 12px;
}
.tg-why-head span.tg-sec-ico-wrap,
.tg-why-head .tg-sec-ico-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  height: 46px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 14px !important;
  background: var(--brand-soft) !important;
  color: var(--brand) !important;
  font-weight: inherit !important;
  font-size: inherit !important;
  line-height: 1 !important;
}

/* Empty icon wrappers should never show */
.tg-sec-ico-wrap:empty { display: none !important; }

/* ===== Certified copy stack (eyebrow / title / desc) — centered ===== */
.tg-certified-bar {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  text-align: center;
}
.tg-certified-copy {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  min-width: 0;
  width: 100%;
  max-width: 44rem;
  flex: 0 1 auto;
  text-align: center;
}
.tg-certified-copy > span {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 800;
  font-size: .78rem;
  line-height: 1.3;
}
.tg-certified-copy .tg-sec-title-row {
  justify-content: center;
  width: 100%;
}
.tg-certified-copy h2 {
  white-space: normal !important;
  max-width: 100%;
  text-align: center;
}
.tg-certified-copy p {
  max-width: 42rem;
  margin-inline: auto;
  text-align: center;
}
.tg-certified-more {
  margin-inline: auto;
}

/* ===== Finish polish: no shadows on mission + CTA buttons ===== */
.btn,
a.btn,
button.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1.15 !important;
  padding-block: 0.78em !important;
  padding-inline: 1.7em !important;
  min-height: 2.75rem;
  box-sizing: border-box;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
}
.btn-lg,
a.btn-lg {
  min-height: 3.15rem;
  padding-block: 0.88em !important;
  padding-inline: 2.1em !important;
  font-size: 1.05rem;
  line-height: 1.15 !important;
  box-shadow: none !important;
}
.btn:hover,
a.btn:hover,
.btn-primary:hover,
a.btn-primary:hover,
.btn-lg:hover {
  box-shadow: none !important;
  filter: none !important;
}
.btn i,
.btn .fa-solid,
.btn .fa-brands {
  line-height: 1 !important;
  display: inline-flex;
  align-items: center;
}

/* Mission "رسالتنا": clean corners, ZERO shadow */
.tg-mission-banner {
  overflow: visible !important;
  padding-bottom: 24px !important;
  filter: none !important;
}
.tg-mission-panel {
  min-height: 240px !important;
  border-radius: 28px !important;
  overflow: hidden !important;
  isolation: isolate;
  box-shadow: none !important;
  filter: none !important;
  outline: none !important;
}
.tg-mission-panel::before {
  content: '';
  border-radius: inherit !important;
  inset: 0 !important;
  box-shadow: none !important;
  filter: none !important;
}
.tg-mission-panel::after {
  box-shadow: none !important;
  filter: none !important;
  display: none !important;
}
.tg-mission-media,
.tg-mission-copy {
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: none !important;
  filter: none !important;
}
.tg-mission-copy {
  padding-bottom: clamp(28px, 4vw, 48px) !important;
  overflow: visible !important;
}
.tg-mission-copy h2,
.tg-mission-copy p {
  color: #fff !important;
  text-shadow: none !important;
}
.tg-mission-copy .btn,
.tg-mission-copy a.btn,
.tg-mission-copy .btn-light,
.tg-mission-copy a.btn-light {
  box-shadow: none !important;
  filter: none !important;
}
.tg-mission-copy .btn-light,
.tg-mission-copy a.btn-light {
  color: #1a1210 !important;
  background: #fff !important;
  border-color: #fff !important;
}

/* Designs CTA: no glow/shadow under button */
.tg-card-designs,
.tg-designs-layout,
.tg-designs-copy,
.tg-card-designs .container {
  overflow: visible !important;
}
.tg-designs-copy .btn-primary,
.tg-designs-copy a.btn-primary,
.tg-designs-copy .btn,
.tg-designs-copy a.btn {
  box-shadow: none !important;
  filter: none !important;
}

@media (max-width: 860px) {
  .tg-mission-panel {
    min-height: 220px !important;
  }
}

/* ===== Hero dots: no overlap under tabs bar ===== */
.tg-hero-bank .tg-hero-stage {
  padding-bottom: clamp(168px, 17vw, 210px) !important;
}
.tg-hero-bank .tg-bank-tabsbar {
  bottom: 96px !important;
  box-shadow: none !important;
}
.tg-hero-bank .tg-bank-tabsbar-inner {
  box-shadow: none !important;
}
.tg-hero-pager {
  position: relative;
  z-index: 6;
  margin-top: 22px !important;
  justify-content: center !important;
  gap: 16px;
  width: 100%;
}
.tg-hero-dots {
  display: flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 12px !important;
  max-width: 100%;
}
.tg-hero-dots button {
  flex: 0 0 auto !important;
  width: 10px;
  height: 10px;
  margin: 0 !important;
  position: relative;
  z-index: 1;
}
.tg-hero-dots button.is-active {
  width: 28px;
}
@media (max-width: 1180px) {
  .tg-hero-bank .tg-hero-stage {
    padding-bottom: clamp(40px, 6vw, 70px) !important;
  }
  .tg-hero-bank .tg-bank-tabsbar {
    bottom: auto !important;
  }
}

/* ===== Hero slide images: no drop-shadow ===== */
.tg-hero-visual img,
.tg-hero-bank .tg-hero-visual img,
.tg-hero-slide .tg-hero-visual img {
  filter: none !important;
  box-shadow: none !important;
  -webkit-filter: none !important;
}
/* —— Rich text (CMS body copy) —— */
.tg-rich {
  display: block;
  line-height: 1.75;
}
.tg-rich > p {
  margin: 0 0 0.85em;
}
.tg-rich > p:last-child {
  margin-bottom: 0;
}
.tg-rich strong,
.tg-rich b {
  font-weight: 800;
  color: inherit;
}
.tg-rich em,
.tg-rich i {
  font-style: italic;
}
.tg-rich ul,
.tg-rich ol {
  margin: 0.4em 0 0.85em;
  padding-inline-start: 1.25em;
}
.tg-rich li {
  margin: 0.2em 0;
}
.tg-rich a {
  color: var(--brand, #FF5100);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tg-about-copy .tg-rich,
.tg-about-fp-box-copy .tg-rich,
.tg-mission-copy .tg-rich,
.footer-about.tg-rich {
  color: inherit;
}
small.tg-rich,
small.tg-rich p {
  display: inline;
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}
small.tg-rich p + p::before {
  content: " ";
}
/* كلمة مميزة برتقالية داخل العناوين (قيمنا، إلخ) */
.tg-text-accent {
  color: var(--brand, #FF5100) !important;
  font-weight: inherit;
}
.section-head h2 .tg-text-accent,
.tg-about-values-sec h2 .tg-text-accent {
  color: var(--brand, #FF5100) !important;
}