/* ===== الواجهة الترحيبية (تصميم محسّن) ===== */
.hero2 { padding: 48px 0 0; overflow: clip; }
.hero2 .hero-in { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-spot { position: absolute; inset: -10% -10% auto auto; width: 70%; height: 120%; pointer-events: none; background: radial-gradient(closest-side, rgba(25,181,224,.18), rgba(30,91,216,.10) 45%, transparent 75%); }
[dir="rtl"] .hero-spot { inset: -10% auto auto -10%; }
.hero2 h1 { font-size: clamp(32px, 3.5vw, 50px); line-height: 1.22; margin: 18px 0 14px; }
@media (min-width: 1101px) { [dir="rtl"] .hero2 h1 .line { white-space: nowrap; } }
[dir="ltr"] .hero2 h1 { font-size: clamp(28px, 3.1vw, 46px); line-height: 1.15; }
.hero2 h1 .line { display: block; }
.hero2 .hero-sub { font-size: clamp(15px, 1.35vw, 18px); max-width: 540px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hero2 .hero-search { margin-top: 26px; max-width: 580px; padding: 8px; padding-inline-start: 18px; border-radius: 20px; background: rgba(8,16,42,.78); }
.hero2 .hero-search input { font-size: 16.5px; }

/* الأكثر طلبًا — سطر واحد بيتسحب */
.hero-quick { display: flex; align-items: center; gap: 10px; margin-top: 16px; max-width: 580px; }
.hq-label { display: inline-flex; align-items: center; gap: 4px; flex: none; color: #ffd36e; font-weight: 700; font-size: 13.5px; }
.hq-label .ic { width: 16px; height: 16px; }
.hq-list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(to left, transparent, #000 18px, #000 calc(100% - 28px), transparent); -webkit-mask-image: linear-gradient(to left, transparent, #000 18px, #000 calc(100% - 28px), transparent); padding: 2px 4px; }
[dir="ltr"] .hq-list { mask-image: linear-gradient(to right, transparent, #000 18px, #000 calc(100% - 28px), transparent); -webkit-mask-image: linear-gradient(to right, transparent, #000 18px, #000 calc(100% - 28px), transparent); }
.hq-list::-webkit-scrollbar { display: none; }
.hq-list a { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--muted); background: rgba(120,175,255,.07); border: 1px solid var(--line); transition: color .2s, border-color .2s, background .2s; white-space: nowrap; }
.hq-list a:hover { color: var(--text); border-color: var(--cyan); background: rgba(25,181,224,.1); }
.hq-list img { width: 15px; height: 15px; filter: brightness(0) invert(.85); }

/* البوابة المضيئة حوالين الشعار */
.hero2 .hero-visual { max-width: 500px; }
.portal { position: absolute; inset: 9%; border-radius: 50%; }
.portal-ring { position: absolute; inset: 0; border-radius: 50%; padding: 2px; background: conic-gradient(from 0deg, transparent 0 8%, var(--cyan) 22%, var(--blue-2) 38%, transparent 50%, transparent 58%, var(--lime) 76%, transparent 90%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: spin 14s linear infinite; filter: drop-shadow(0 0 10px rgba(25,181,224,.6)); }
.portal-ring.r2 { inset: 9%; animation-duration: 22s; animation-direction: reverse; opacity: .55; background: conic-gradient(from 90deg, transparent 0 30%, var(--lime) 45%, transparent 60%, transparent 75%, var(--cyan) 90%, transparent); }
.portal-core { position: absolute; inset: 15%; border-radius: 50%; background: radial-gradient(circle at 50% 40%, rgba(47,116,255,.35), rgba(10,20,50,.6) 55%, rgba(5,10,28,.2) 75%); box-shadow: inset 0 0 60px rgba(25,181,224,.25), 0 0 80px -10px rgba(30,91,216,.6); }
.hero2 .hv-mark { inset: 24%; }
.hero2 .hv-mark img { filter: drop-shadow(0 26px 34px rgba(0,0,0,.6)) drop-shadow(0 0 28px rgba(25,181,224,.45)); }

/* كروت المنتجات حوالين الشعار — أماكن ثابتة ما بتغطيش الشعار */
.hchip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 9px; padding-inline-end: 16px; border-radius: 16px; background: rgba(10,20,50,.82); border: 1px solid var(--line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 18px 40px -18px rgba(0,0,0,.8); transform: translateZ(90px); animation: chip 7s ease-in-out infinite; white-space: nowrap; transition: border-color .2s; }
.hchip:hover { border-color: var(--cyan); }
.hchip .logo-dot { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.hchip .logo-dot img { width: 21px; height: 21px; filter: brightness(0) invert(1); }
.hchip b { display: block; font-size: 13.5px; line-height: 1.25; }
.hchip small { color: var(--lime); font-weight: 700; font-size: 12.5px; }
.hc-1 { top: 0; inset-inline-start: 4%; }
.hc-2 { top: 40%; inset-inline-end: -16%; animation-delay: -2s; }
.hc-3 { bottom: 12%; inset-inline-start: 6%; animation-delay: -4s; }
.hc-4 { bottom: -4%; inset-inline-end: 24%; animation-delay: -5.5s; }

/* شريط الأرقام */
.hero-stats { position: relative; margin-top: 46px; display: flex; align-items: stretch; border-radius: 22px; background: linear-gradient(135deg, rgba(17,30,68,.75), rgba(10,20,50,.6)); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -30px rgba(0,0,0,.7); overflow: hidden; }
.hero-stats::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(25,181,224,.08), transparent); pointer-events: none; }
.hs { flex: 1; padding: 20px 26px; display: grid; gap: 2px; align-content: center; }
.hs + .hs { border-inline-start: 1px solid var(--line); }
.hs b { font-family: 'Changa', sans-serif; font-size: 30px; font-weight: 800; line-height: 1.1; direction: ltr; text-align: start; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
[dir="rtl"] .hs b { text-align: right; }
.hs > span { color: var(--muted); font-size: 14px; }
.hs-trust { flex: 1.6; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.hs-trust span { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; font-size: 14px; }
.hs-trust .ic { width: 18px; height: 18px; color: var(--lime); }

/* كروت الأقسام */
.cat { min-height: 236px; }
.cat p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cat-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; }
.cat-logos { display: flex; }
.cat-logos i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--c1), var(--c2)); border: 2px solid var(--bg-2); box-shadow: 0 4px 10px -4px rgba(0,0,0,.6); transition: transform .3s var(--ease); }
.cat-logos i + i { margin-inline-start: -9px; }
.cat-logos img { width: 15px; height: 15px; filter: brightness(0) invert(1); }
.cat:hover .cat-logos i { border-color: rgba(255,255,255,.35); }
.cat:hover .cat-logos i:nth-child(2) { transform: translateY(-3px); }
.cat:hover .cat-logos i:nth-child(3) { transform: translateY(-5px); }
.cat-go { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid var(--line); transition: background .3s, transform .3s var(--ease); }
.cat-go .ic { width: 16px; height: 16px; }
.cat:hover .cat-go { background: rgba(255,255,255,.22); transform: translateX(-4px); }
[dir="ltr"] .cat:hover .cat-go { transform: translateX(4px); }

/* شريط التواصل */
.cta img { opacity: .12; width: 230px; inset-inline-end: -40px; }
.cta .btn { position: relative; z-index: 1; }

/* ===== تابلت ===== */
@media (max-width: 1100px) {
  .hc-2 { inset-inline-end: -6%; }
}
@media (max-width: 900px) {
  .hero2 .hero-in { grid-template-columns: 1fr; gap: 10px; }
  .hero2 .hero-visual { order: -1; max-width: 360px; margin-bottom: 0; }
  .hero-stats { flex-wrap: wrap; }
  .hs-trust { flex-basis: 100%; border-inline-start: 0 !important; border-top: 1px solid var(--line); justify-content: center; }
}

/* ===== موبايل ===== */
@media (max-width: 640px) {
  .hero2 { padding-top: 10px; }
  .hero2 .hero-visual { max-width: 250px; perspective: none; }
  .hchip { padding: 6px 10px 6px 6px; gap: 6px; border-radius: 12px; transform: none; animation-name: chipM; }
  @keyframes chipM { 50% { transform: translateY(-6px); } }
  .hchip .logo-dot { width: 28px; height: 28px; border-radius: 8px; }
  .hchip .logo-dot img { width: 15px; height: 15px; }
  .hchip b { font-size: 11.5px; }
  .hchip small { font-size: 10.5px; }
  .hc-1 { top: 2%; inset-inline-start: -14%; }
  .hc-2 { top: auto; bottom: 6%; inset-inline-end: -16%; }
  .hc-3, .hc-4 { display: none; }
  .hero2 h1 { font-size: clamp(27px, 7.6vw, 34px); margin: 14px 0 10px; }
  .hero2 .hero-sub { -webkit-line-clamp: 2; font-size: 14.5px; }
  .hero2 .pill { font-size: 12.5px; }
  .hero2 .hero-search { margin-top: 18px; }
  .hero-quick { flex-direction: column; align-items: stretch; gap: 8px; }
  .hero-stats { margin-top: 26px; border-radius: 18px; }
  .hs { padding: 14px 10px; text-align: center; }
  .hs b, [dir="rtl"] .hs b { font-size: 21px; text-align: center; }
  .hs > span { font-size: 11.5px; }
  .hs-trust { gap: 8px 14px; padding: 12px; }
  .hs-trust span { font-size: 12.5px; }
  .cat { min-height: 200px; }
  .cat-logos i { width: 26px; height: 26px; }
  .cat-logos img { width: 13px; height: 13px; }
  .cat-logos i:nth-child(4) { display: none; }
  .cat-go { width: 28px; height: 28px; }
  .cta img { width: 150px; inset-inline-end: -30px; }
}
/* العمود مايتمددش بسبب سطر الروابط السريعة */
.hero2 .hero-copy, .hero2 .hero-visual, .hero-quick, .hq-list { min-width: 0; }
.hero2 .hero-in > * { min-width: 0; }

/* خانة واتساب للتواصل في صفحة المنتج */
.contact-field { margin-top: 16px; }
.contact-field label { display: flex; align-items: center; gap: 6px; }
.contact-field label .ic { width: 18px; height: 18px; color: #25d366; }
.opt-tag { font-size: 12px; font-weight: 600; color: var(--dim); padding: 1px 8px; border-radius: 999px; background: rgba(120,175,255,.08); border: 1px solid var(--line); }
/* الكارت العلوي على الموبايل ينزل شوية عشان مايتقطعش */
@media (max-width: 640px) { .hc-1 { top: 10%; } .hero2 { padding-top: 18px; } }
