/* =========================================================
   الثيم السادس — «عنان برو»: تصميم النموذج الجديد بهوية عنان
   بيتحمّل فوق theme-pdx.css (نفس الهيدر والفوتر والبطاقات)
   ========================================================= */
html:is([data-theme="anan_pro"],[data-theme="khaloo_pro"]) .container { max-width: 1240px; }
html:is([data-theme="anan_pro"],[data-theme="khaloo_pro"]) .pfoot__feat { display: none; }   /* «لماذا عنان» بالرئيسية بتغني عنه */

.pro { padding-top: 24px; padding-bottom: 10px; }
.pro-sec { margin: 40px 0; }

/* عنوان القسم: خط رمادي تحت وخط وردي قصير عند البداية */
.pro-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--line); position: relative; }
.pro-head::after { content: ""; position: absolute; bottom: -2px; inset-inline-start: 0; width: 64px; height: 2px; background: var(--red); }
.pro-head h2 { font-size: 23px; font-weight: 800; margin: 0; }
.pro-head p { margin: 4px 0 0; color: var(--muted); font-size: 13.5px; }
.pro-head > a { color: var(--red-ink); font-weight: 700; font-size: 14px; white-space: nowrap; text-decoration: none; }
.pro .psec__head h2::after { display: none; }

/* البانر */
.pro-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 18px; }
.pro-hero { position: relative; overflow: hidden; border-radius: 22px; min-height: 390px; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 20px; padding: 44px 56px; color: var(--white); background: radial-gradient(circle at 12% 112%, #FF4D84 0, transparent 45%), linear-gradient(120deg, #EC004A, #B0003A); }
.pro-hero::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); inset-inline-end: 4%; top: -20px; box-shadow: 0 0 0 38px rgba(255,255,255,.06), 0 0 0 80px rgba(255,255,255,.035); pointer-events: none; }
.pro-hero__text { position: relative; z-index: 1; }
.pro-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .4px; padding: 5px 14px; border-radius: 999px; background: rgba(255,255,255,.18); }
.pro-hero h1 { font-size: clamp(30px, 3.8vw, 48px); line-height: 1.25; font-weight: 800; margin: 16px 0 12px; color: var(--white); }
.pro-hero p { color: rgba(255,255,255,.9); max-width: 520px; margin: 0 0 26px; font-size: 16.5px; }
.pro-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.pro-btn--ghost { background: rgba(255,255,255,.12); color: var(--white); border: 1px solid rgba(255,255,255,.55); }
.pro-btn--ghost:hover { background: rgba(255,255,255,.22); color: var(--white); }
.pro-hero__art { position: relative; z-index: 1; display: grid; place-items: center; min-height: 260px; }
.pro-device { position: relative; width: min(330px, 92%); height: 210px; border: 9px solid #1B1B1F; border-bottom-width: 16px; border-radius: 16px; background: radial-gradient(circle at 70% 20%, #FF5C8E, transparent 55%), linear-gradient(135deg, #2A0A16, #8F002D); box-shadow: 0 26px 55px rgba(60,0,20,.45); transform: rotate(-5deg); display: grid; place-items: center; }
html[dir="ltr"] .pro-device { transform: rotate(5deg); }
.pro-device img { width: 96px; height: 96px; filter: drop-shadow(0 6px 16px rgba(0,0,0,.35)); }
.pro-device::before { content: ""; position: absolute; width: 120%; height: 12px; background: #2A2A30; bottom: -27px; border-radius: 50%; }

/* الأرقام */
.pro-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 18px; }
.pro-stat { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; display: flex; align-items: center; gap: 14px; }
.pro-ic { flex: none; width: 50px; height: 50px; border-radius: 50%; background: var(--tint); color: var(--red); display: grid; place-items: center; }
.pro-stat strong { display: block; font-size: 20px; font-weight: 800; text-align: start; }
.pro-stat small { color: var(--muted); font-size: 13px; }

/* الخدمات */
.pro-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pro-service { position: relative; overflow: hidden; border-radius: 20px; padding: 28px; min-height: 210px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; text-decoration: none; transition: transform .2s; }
.pro-service:hover { transform: translateY(-3px); }
.pro-service--red { background: linear-gradient(135deg, #EC004A, #A30036); color: var(--white); }
.pro-service--ink { background: var(--ink); color: var(--white); }
.pro-service--white { background: var(--white); border: 1px solid var(--line); color: var(--ink); }
.pro-service--red:hover, .pro-service--ink:hover { color: var(--white); }
.pro-service--white:hover { color: var(--ink); }
.pro-service__ic { width: 52px; height: 52px; border-radius: 14px; background: rgba(255,255,255,.16); display: grid; place-items: center; }
.pro-service--white .pro-service__ic { background: var(--tint); color: var(--red); }
.pro-service h3 { margin: 8px 0 0; font-size: 20px; font-weight: 800; color: inherit; }
.pro-service p { margin: 0 0 12px; font-size: 14px; opacity: .88; }
.pro-service__go { margin-top: auto; font-size: 14px; font-weight: 700; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.pro-service--white .pro-service__go { color: var(--red-ink); }
.pro-service__bg { position: absolute; inset-inline-end: 14px; bottom: 10px; opacity: .13; }

/* التبويبات بستايل النموذج */
.pro .ptabs__label { font-size: 17px; }

/* حلول الشركات */
.pro-business { position: relative; overflow: hidden; border-radius: 22px; padding: 34px 40px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; background: var(--white); border: 1px solid var(--line); }
.pro-business::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 6px; background: var(--red); }
.pro-business h2 { margin: 0; font-size: 24px; font-weight: 800; }
.pro-business p { color: var(--body); margin: 8px 0 0; max-width: 720px; }
.pro-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pro-chips span { background: var(--tint); color: var(--red-ink); font-size: 12.5px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.pro-business .btn { white-space: nowrap; }

/* لماذا عنان */
.pro-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pro-trust > div { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 20px; display: flex; align-items: center; gap: 14px; }
.pro-trust .pro-ic { width: 54px; height: 54px; }
.pro-trust b { display: block; font-size: 15px; }
.pro-trust small { color: var(--muted); font-size: 13px; }

@media (max-width: 1100px) {
  .pro-hero-grid { grid-template-columns: 1fr; }
  .pro-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .pro { padding-top: 14px; }
  .pro-sec { margin: 28px 0; }
  .pro-head h2 { font-size: 19px; }
  .pro-hero { grid-template-columns: 1fr; padding: 28px 22px; min-height: 0; }
  .pro-eyebrow { font-size: 10.5px; letter-spacing: 0; }
  .pro-hero__art { order: -1; min-height: 160px; }
  .pro-device { height: 130px; width: 220px; border-width: 7px; border-bottom-width: 12px; }
  .pro-device img { width: 60px; height: 60px; }
  .pro-device::before { bottom: -22px; }
  .pro-hero::after { width: 260px; height: 260px; }
  .pro-stats { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .pro-stat { padding: 12px; gap: 10px; }
  .pro-stat .pro-ic { width: 40px; height: 40px; }
  .pro-stat strong { font-size: 17px; }
  .pro-services { grid-template-columns: 1fr; }
  .pro-service { min-height: 0; }
  .pro-business { grid-template-columns: 1fr; padding: 26px 22px; }
  .pro-business .btn { width: 100%; }
  .pro-trust { gap: 10px; }
  .pro-trust > div { flex-direction: column; text-align: center; padding: 16px 10px; }
}
