/* صفحة الخدمات: أمثلة حية يجرّبها الزائر */
.s-hero { position: relative; padding: 140px 24px 90px; text-align: center; overflow: hidden; }
.s-hero .ghost span:nth-child(1) { top: -10%; right: -6%; }
.s-hero .ghost span:nth-child(2) { top: -6%; left: -10%; }
.s-hero h1 { position: relative; margin: 14px 0; font-size: clamp(38px, 6vw, 76px); font-weight: 700; line-height: 1.25; }
.s-hero .lead, .s-hero .kicker { position: relative; } .s-hero .lead { margin-inline: auto; }
.s-jump { position: relative; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 26px; }
.s-jump a { padding: 7px 18px; border: 1.5px solid currentColor; border-radius: 6px; font-weight: 500; font-size: 15px; transition: background .2s, color .2s; }
.s-jump a:hover { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.s-block { padding: 90px max(24px, calc((100vw - 1200px) / 2)); }
.s-block.alt { background: var(--cream); color: var(--ink); }
.s-block.alt .ks { color: var(--hot); }
.s-block.alt2 { background: var(--ink); color: var(--cream); }
.s-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.s-split.rev .s-text { order: 2; }
.s-text h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 700; line-height: 1.3; }
.s-text > p { margin: 10px 0 20px; font-size: 18px; }

/* المحادثات */
.chat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.svc h3 { margin-top: 16px; font-size: 21px; font-weight: 700; }
.svc > p { font-size: 15px; color: var(--soft); }
.scr { --s-bg: #fff; --s-top: #fff; --s-fg: #111; --me: #e5e5ea; --me-fg: #111; --they: var(--hot); --they-fg: #fff; display: flex; flex-direction: column; height: 420px; border-radius: 22px; overflow: hidden; background: var(--s-bg); color: var(--s-fg); border: 6px solid var(--ink); box-shadow: 0 30px 40px -28px rgba(30,10,0,.7); }
.skin-wa { --s-bg: #0b141a; --s-top: #1f2c34; --s-fg: #e9edef; --me: #202c33; --me-fg: #e9edef; --they: #005c4b; --they-fg: #e9edef; }
.skin-snap { --s-bg: #fff; --s-top: #fffc00; --s-fg: #111; --me: #f1f1f4; --me-fg: #111; --they: #0eadff; --they-fg: #fff; }
.skin-tt { --s-bg: #121212; --s-top: #000; --s-fg: #fff; --me: #2a2a2a; --me-fg: #fff; --they: #fe2c55; --they-fg: #fff; }
.skin-ig { --s-bg: #fff; --s-top: #fff; --s-fg: #111; --me: #efefef; --me-fg: #111; --they: linear-gradient(135deg, #7b3ff2, #e1306c 60%, #f77737); --they-fg: #fff; }
.scr-top { display: grid; grid-template-columns: 32px 1fr; column-gap: 8px; align-items: center; padding: 10px 12px; background: var(--s-top); line-height: 1.25; }
.scr-ic { grid-row: 1 / 3; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, currentColor 12%, transparent); }
.scr-ic svg { width: 17px; height: 17px; }
.scr-name { font-size: 14px; font-weight: 600; }
.scr-top small { font-size: 11px; opacity: .65; }
.scr-log { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 12px; overflow-y: auto; scrollbar-width: none; }
.m { max-width: 86%; padding: 7px 11px; border-radius: 12px; font-size: 13.5px; line-height: 1.55; animation: pop .3s cubic-bezier(.2,1.4,.4,1) both; }
.m.me { align-self: flex-start; background: var(--me); color: var(--me-fg); }
.m.they { align-self: flex-end; background: var(--they); color: var(--they-fg); }
.m.typing { display: inline-flex; gap: 4px; padding: 11px 13px; }
.m.typing i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: dots 1s infinite; }
.m.typing i:nth-child(2) { animation-delay: .15s; } .m.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 40% { transform: translateY(-5px); opacity: .5; } }
.m small { display: block; font-size: 11px; opacity: .8; }
.skin-tt .m { background: none; padding: 2px 0; max-width: 100%; }
.skin-tt .m.me { align-self: stretch; color: #fff; }
.skin-tt .m.me::before { content: "عميل"; display: block; font-size: 11px; opacity: .55; }
.skin-tt .m.they { align-self: stretch; color: #ff9db1; background: none; padding-inline-start: 14px; border-inline-start: 2px solid #fe2c55; }
.skin-tt .m.they::before { content: "رد من الحساب"; display: block; font-size: 11px; opacity: .7; }
.scr-ask { display: flex; flex-wrap: wrap; gap: 5px; padding: 8px; min-height: 76px; align-content: flex-start; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.scr-ask button { padding: 5px 10px; font-size: 12.5px; border-radius: 16px; background: none; border: 1px solid color-mix(in srgb, currentColor 35%, transparent); transition: background .15s; }
.scr-ask button:hover { background: color-mix(in srgb, currentColor 14%, transparent); }

/* البوست */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chips button { padding: 7px 16px; border-radius: 6px; border: 1.5px solid var(--ink); background: none; font-weight: 500; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.post-stage { display: flex; gap: 22px; align-items: center; justify-content: center; }
.post-card { width: min(320px, 100%); padding: 12px; border-radius: 16px; background: #fff; color: #17110c; box-shadow: 0 34px 50px -30px rgba(30,10,0,.6); transition: transform .5s cubic-bezier(.2,1.4,.4,1), opacity .4s; transform: rotate(-3deg); }
.post-card.draft { opacity: .55; transform: rotate(0) scale(.95); }
.post-art { aspect-ratio: 1; display: grid; place-content: center; text-align: center; gap: 4px; padding: 16px; border-radius: 10px; color: #fff; background: var(--bg); transition: background .3s; }
.post-art b { font: 700 34px/1.3 Marhey, sans-serif; }
.post-art small { font-size: 15px; }
.post-card p { margin: 10px 4px 6px; font-size: 14.5px; line-height: 1.6; }
.post-foot { display: flex; gap: 18px; padding: 0 4px; font-size: 14px; color: #6e6259; }
.pf-like { display: inline-flex; align-items: center; gap: 4px; color: #e0314b; }
.pf-like svg { width: 18px; height: 18px; }
.post-plat { display: grid; gap: 8px; flex: none; }
.post-plat li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 8px; background: color-mix(in srgb, var(--ink) 7%, transparent); font-size: 14px; transition: background .3s, color .3s; }
.post-plat svg { width: 18px; height: 18px; }
.post-plat li.done { background: #157a40; color: #fff; }

/* التقويم */
.cal { padding: 18px; border-radius: 16px; background: var(--cream); color: var(--ink); }
.cal-week { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; font-size: 12.5px; opacity: .65; margin-bottom: 6px; }
.cal-week i { font-style: normal; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal-grid button { aspect-ratio: 1; padding: 0; border: 0; border-radius: 8px; background: #fff; font-size: 14px; font-weight: 500; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s, background .2s; }
.cal-grid button.on { opacity: 1; transform: none; }
.cal-grid button[data-k="0"] { background: var(--bg); color: #fff; }
.cal-grid button[data-k="1"] { background: var(--sun); color: var(--ink); }
.cal-grid button[data-k="2"] { background: var(--ink); color: var(--cream); }
.cal-grid button[aria-pressed="true"] { outline: 3px solid var(--hot); outline-offset: 1px; }
.cal-tip { padding: 12px 16px; border-radius: 8px; background: var(--tone); font-weight: 500; }

/* التفاعل */
.eng-l { display: block; }
.eng-l b { color: var(--ks); font-size: 24px; }
.eng-l input { width: 100%; accent-color: var(--bg); height: 28px; }
.eng-s { min-height: 2em; font-weight: 500; }
.eng-stage { position: relative; }
.eng-svg { width: 100%; height: auto; overflow: visible; }
#engL { fill: none; stroke: var(--sun); stroke-width: 4; stroke-linejoin: round; transition: d .5s; }
#engA { fill: color-mix(in srgb, var(--sun) 16%, transparent); transition: d .5s; }
.heart { position: absolute; top: -10px; left: 0; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border: 0; border-radius: 30px; background: #fff; color: #e0314b; transition: transform .12s; }
.heart:active { transform: scale(.9); }
.heart svg { width: 24px; height: 24px; }
.heart b { color: #17110c; font-variant-numeric: tabular-nums; }
.fly { position: absolute; pointer-events: none; color: #ff4f6e; width: 22px; animation: fly 1.1s ease-out forwards; }
@keyframes fly { to { transform: translate(var(--x), -130px) scale(1.5) rotate(var(--r)); opacity: 0; } }

/* الشراء */
.ord { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: stretch; max-width: 1020px; margin-inline: auto; }
.ord-steps { display: grid; gap: 8px; counter-reset: o; }
.ord-steps li { counter-increment: o; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 10px; background: var(--tone); font-weight: 500; transition: background .3s, color .3s; }
.ord-steps li::before { content: counter(o); width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--on-bg) 22%, transparent); font-size: 14px; }
.ord-steps li.done { background: color-mix(in srgb, var(--ink) 34%, var(--bg)); }
.ord-steps li.done::before { content: "✓"; background: var(--sun); color: var(--ink); }
.ord-steps li.now { background: var(--cream); color: var(--ink); }
.ord-box { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 26px; border-radius: 14px; background: var(--cream); color: var(--ink); }
.ord-box b { font-size: 24px; font-weight: 700; }
.ord-box .btn { align-self: flex-start; margin-top: 6px; }

/* التقرير */
.rep { padding: 22px; border-radius: 16px; background: #fff; box-shadow: 0 30px 50px -34px rgba(30,10,0,.6); color: #17110c; }
.rep-k { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rep-k small { display: block; font-size: 13px; color: #6e6259; }
.rep-k b { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; font-variant-numeric: tabular-nums; }
.rep-bars { direction: ltr; display: flex; align-items: flex-end; gap: 8px; height: 170px; margin-top: 18px; }
.rep-bars i { flex: 1; height: 0; border-radius: 4px 4px 0 0; background: var(--bg); transition: height 1s cubic-bezier(.2,.8,.3,1); }
.rep-bars i:last-child { background: var(--hot); }
.rep.on .rep-bars i { height: var(--h); }

@media (max-width: 1100px) { .chat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .s-split, .ord { grid-template-columns: 1fr; gap: 32px; }
  .s-split.rev .s-text { order: 0; }
  .s-block { padding-block: 66px; }
}
@media (max-width: 560px) {
  .chat-grid { grid-template-columns: 1fr; }
  .post-stage { flex-direction: column; }
  .post-plat { grid-template-columns: repeat(4, 1fr); width: 100%; }
  .post-plat li { flex-direction: column; gap: 2px; padding: 8px 2px; font-size: 11.5px; text-align: center; }
  .heart { position: static; margin-bottom: 12px; }
}

/* شريط الكركترات (تجربة) */
.cs { display: flex; align-items: flex-end; justify-content: center; gap: 22px; padding: 26px 24px 0; background: var(--sun); color: var(--ink); overflow: hidden; }
.cs img { height: 220px; width: auto; margin-bottom: -10px; flex: none; }
.cs-say { align-self: center; max-width: 420px; padding: 12px 20px; border-radius: 14px; background: #fff; font-size: 18px; text-align: center; }
@media (max-width: 560px) { .cs { gap: 4px; padding-inline: 6px; } .cs img { height: 130px; } .cs-say { font-size: 14px; padding: 8px 10px; } }
