/* موقع الشنب AI — هوية v3. الألوان والأسطح من tokens.css (نسخة من brand/identity/tokens.css). */

@font-face { font-family: "Brand Display"; font-weight: 700; font-display: swap; src: url("../fonts/thmanyahserifdisplay-Bold.woff2") format("woff2"); }
@font-face { font-family: "Brand Display"; font-weight: 900; font-display: swap; src: url("../fonts/thmanyahserifdisplay-Black.woff2") format("woff2"); }
@font-face { font-family: "Brand Text"; font-weight: 400; font-display: swap; src: url("../fonts/thmanyahseriftext-Regular.woff2") format("woff2"); }
@font-face { font-family: "Brand Text"; font-weight: 500; font-display: swap; src: url("../fonts/thmanyahseriftext-Medium.woff2") format("woff2"); }
@font-face { font-family: "Brand Text"; font-weight: 700; font-display: swap; src: url("../fonts/thmanyahseriftext-Bold.woff2") format("woff2"); }
@font-face { font-family: "Brand Sans"; font-weight: 500 700; font-display: swap; src: url("../fonts/thmanyahsans-Medium.woff2") format("woff2"); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  margin: 0; color: var(--fg); background: #fff;
  font-family: var(--font-text); font-weight: 500; font-size: 17px; line-height: 1.85;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 900; line-height: 1.3; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ltr { direction: ltr; unicode-bidi: isolate; }
.ui { font-family: var(--font-ui); font-weight: 500; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
section { padding-block: clamp(36px, 5vw, 64px); position: relative; }
.ground { background: var(--ground); }
.surface { background: linear-gradient(180deg, #fff, var(--bg-surface) 22%, var(--bg-surface) 78%, #fff); }

.head { max-width: 720px; margin-bottom: clamp(22px, 3vw, 34px); display: grid; gap: 14px; justify-items: start; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.head h2 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); }
.head p { color: var(--text-2); font-size: 1.08rem; max-width: 58ch; }
.eyebrow { font-family: var(--font-ui); font-weight: 700; font-size: .82rem; }
.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* أزرار */
.btn-dark, .btn-ghost { gap: 10px; font-family: var(--font-text); font-weight: 700; cursor: pointer; border: 0; transition: transform .18s ease, filter .18s ease; white-space: nowrap; }
.btn-dark:hover, .btn-ghost:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-dark:active, .btn-ghost:active { transform: translateY(0); }
.btn-lg { padding: 1rem 1.7rem; font-size: 1.06rem; }
.btn-ghost { padding: .8rem 1.4rem; }
.btn-ghost.btn-lg { padding: 1rem 1.6rem; }
.btn-dark small { font-family: var(--font-ui); font-weight: 500; font-size: .78rem; color: #d6d6d6; border-inline-start: 1px solid #555; padding-inline-start: 10px; }

/* الهيدر */
.nav { position: sticky; top: 12px; z-index: 50; margin-top: 12px; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 8px 8px 8px 18px; border-radius: 999px; backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
[dir="rtl"] .nav-bar { padding: 8px 18px 8px 8px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; line-height: 1; }
.brand img { width: 34px; height: 37px; }
.brand span { font-family: var(--font-ui); font-weight: 700; font-size: .78rem; color: #fff; background: var(--fg); border-radius: 6px; padding: 3px 6px; }
.nav-links { display: flex; gap: 4px; font-size: .95rem; }
.nav-links a { padding: 6px 14px; border-radius: 999px; color: var(--text-2); transition: background .15s, color .15s; }
.nav-links a:hover { background: var(--bg-surface); color: var(--fg); }
.nav-cta { padding: .62rem 1.15rem; font-size: .95rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--bg-surface); cursor: pointer; align-items: center; justify-content: center; }
@media (max-width: 900px) {
  .nav-links { display: none; position: absolute; inset-inline: 20px; top: 68px; flex-direction: column; padding: 12px; border-radius: var(--radius-lg); background: #fff; box-shadow: 0 0 0 1px rgba(18,18,18,.08), 0 24px 40px -18px rgba(0,0,0,.3); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; font-size: 1.05rem; color: var(--fg); }
  .nav-toggle { display: inline-flex; }
  .nav-cta { margin-inline-start: auto; }
}
@media (max-width: 420px) { .nav-cta { display: none; } }

/* الهيرو */
.hero { padding-block: clamp(32px, 5vw, 60px) clamp(52px, 6vw, 76px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); line-height: 1.28; --marker: #f8d9cb; }
.hero .lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--text-2); max-width: 46ch; }
.hero .lead b { color: var(--fg); font-weight: 700; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--text-2); font-size: .93rem; margin-top: 6px; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .icon { width: 18px; height: 18px; color: var(--tangerine-deep); }

.tiles { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.tiles .tile { position: absolute; display: grid; place-items: center; color: #9a9aa2; }
.tiles .tile .icon { width: 44%; height: 44%; }
.t1 { width: 92px; height: 92px; top: 4%; inset-inline-start: 46%; transform: rotate(-12deg); filter: blur(2.5px); }
.t2 { width: 64px; height: 64px; bottom: 8%; inset-inline-start: 4%; transform: rotate(14deg); filter: blur(4px); }
.t3 { width: 120px; height: 120px; bottom: -3%; inset-inline-end: 42%; transform: rotate(8deg); filter: blur(6px); }

/* مشهد المحادثة */
.scene { padding: clamp(18px, 2.6vw, 30px); display: grid; gap: 14px; }
.scene-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.scene-top .chip-glass { font-family: var(--font-ui); font-size: .82rem; gap: 7px; }
.scene-top .icon { width: 16px; height: 16px; }
.chat { padding: 0; overflow: hidden; color: var(--fg); border-radius: var(--radius-lg); }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--edge); }
.chat-head .av { width: 38px; height: 38px; border-radius: 50%; background: #1f8f5f; color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; }
.chat-head b { display: block; font-size: .98rem; line-height: 1.3; }
.chat-head small { font-family: var(--font-ui); font-size: .76rem; color: #1f8f5f; }
.chat-body { display: grid; gap: 8px; padding: 14px; background: #efeae2; min-height: 292px; align-content: start; }
.msg { max-width: 84%; padding: 8px 12px 5px; border-radius: 14px; font-size: .95rem; line-height: 1.65; box-shadow: 0 1px 1px rgba(0,0,0,.1); opacity: 0; transform: translateY(8px); animation: msg .45s ease forwards; }
.msg time { display: flex; justify-content: flex-end; align-items: center; gap: 3px; font-family: var(--font-ui); font-size: .68rem; color: #717171; direction: ltr; }
.msg.in { background: #fff; justify-self: start; border-start-start-radius: 4px; }
.msg.out { background: #d9fdd3; justify-self: end; border-start-end-radius: 4px; }
.msg.out time svg { width: 16px; height: 11px; fill: none; stroke: #34a7e0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.msg:nth-child(1) { animation-delay: .3s; } .msg:nth-child(2) { animation-delay: 1.3s; }
.msg:nth-child(3) { animation-delay: 2.5s; } .msg:nth-child(4) { animation-delay: 3.4s; }
@keyframes msg { to { opacity: 1; transform: none; } }
.booked { display: flex; align-items: center; gap: 12px; padding: 12px 16px; color: var(--fg); border-radius: var(--radius-md); opacity: 0; animation: msg .5s ease 4.4s forwards; }
.booked .tick { width: 36px; height: 36px; border-radius: 50%; background: var(--fg); color: #fff; display: grid; place-items: center; flex: none; }
.booked .tick .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.booked b { display: block; line-height: 1.4; }
.booked small { font-family: var(--font-ui); font-size: .8rem; color: var(--text-2); }
.hero-visual { position: relative; z-index: 1; }
.hero-mascot { position: absolute; width: clamp(96px, 12vw, 150px); inset-inline-end: -34px; bottom: -40px; filter: drop-shadow(0 16px 16px rgba(0,0,0,.28)); z-index: 2; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-mascot { inset-inline-end: -6px; bottom: -34px; }
  .tiles .t1, .tiles .t3 { display: none; }
}

/* المشاكل */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pain { padding: 22px; display: grid; gap: 10px; align-content: start; }
.pain h3 { font-size: 1.22rem; }
.pain p { color: var(--text-2); font-size: .98rem; }
.proofline { font-family: var(--font-ui); font-size: .8rem; color: var(--text-2); background: var(--bg-surface); border: 1px dashed #cfcfd6; border-radius: 10px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.proofline b { color: var(--coral-deep); font-weight: 700; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

/* الخدمات */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.svc { padding: clamp(22px, 3vw, 34px); display: grid; gap: 14px; align-content: start; }
.svc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc-ico { width: 56px; height: 56px; display: grid; place-items: center; color: var(--tone-deep); }
.svc-ico .icon { width: 26px; height: 26px; }
.svc h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.svc > p { color: var(--text-2); }
.svc ul { display: grid; gap: 8px; }
.svc li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; }
.svc li .icon { width: 18px; height: 18px; margin-top: 7px; color: var(--tone-deep); stroke-width: 2.4; }
.svc .for { font-family: var(--font-ui); font-size: .84rem; color: var(--text-2); }
.svc .more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--tone-deep); margin-top: 4px; justify-self: start; }
.svc .more:hover { text-decoration: underline; text-underline-offset: 5px; }
.svc.wide { grid-column: 1 / -1; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; }
.svc.wide h3 { font-size: 1.3rem; }
.tone-chip { font-family: var(--font-ui); font-size: .78rem; }
@media (max-width: 820px) { .services { grid-template-columns: 1fr; } .svc.wide { grid-template-columns: 1fr; } }

/* الفحص */
.quiz-band { padding: clamp(22px, 4vw, 52px); display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(22px, 4vw, 52px); align-items: center; }
.quiz-band h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.quiz-band > div:first-child > p { color: #dcdcdc; margin-top: 12px; max-width: 40ch; }
.quiz-points { display: grid; gap: 8px; margin-top: 18px; font-size: .96rem; color: #f1f1f1; }
.quiz-points li { display: flex; gap: 10px; align-items: center; }
.quiz-points .icon { width: 18px; height: 18px; stroke-width: 2.4; }
.quiz { padding: clamp(20px, 3vw, 32px); color: var(--fg); min-height: 330px; display: grid; gap: 18px; align-content: space-between; background: #fff; }
.quiz-meta { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-ui); font-size: .85rem; color: var(--text-2); }
.bar { height: 6px; border-radius: 99px; background: #e9e9ee; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--fg); transition: width .35s ease; }
.quiz-q { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.45; min-height: 3.2em; }
.quiz-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz-actions button { padding: 1rem; font-size: 1.1rem; }
.score { font-family: var(--font-display); font-weight: 900; font-size: 4rem; line-height: 1; direction: ltr; text-align: end; }
.score small { font-size: 1.4rem; color: var(--text-3); }
.quiz-result p { color: var(--text-2); }
.quiz-result h3 { font-size: 1.4rem; margin-block: 6px; }
@media (max-width: 860px) { .quiz-band { grid-template-columns: 1fr; } }

/* الخطوات */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; padding-top: 22px; display: grid; gap: 8px; align-content: start; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--font-ui); font-weight: 700; font-size: .85rem; color: #fff; background: var(--fg); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; top: 41px; inset-inline: 40px -18px; border-top: 2px dashed #cfcfd6; }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.22rem; margin-top: 8px; }
.step p { color: var(--text-2); font-size: .98rem; }
.step .ui { font-size: .78rem; color: var(--mint-deep); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } .step::after { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* الشغل */
.work { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 16px; }
.work > * { padding: 22px; display: grid; gap: 8px; align-content: start; }
.work h3 { font-size: 1.15rem; }
.work p { color: var(--text-2); font-size: .95rem; }
.stat { color: #fff; align-content: space-between !important; min-height: 220px; }
.stat .num { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 4.6vw, 3.6rem); line-height: 1; direction: ltr; text-align: end; }
.stat p { color: #fff; }
.stat a { font-family: var(--font-ui); font-size: .85rem; justify-self: start; }
@media (max-width: 1000px) { .work { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .work { grid-template-columns: 1fr; } }

/* عن عبدالله */
.about { display: grid; grid-template-columns: 340px 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.portrait { position: relative; aspect-ratio: 1 / 1.08; display: grid; place-items: end center; overflow: hidden; }
.portrait img { height: 96%; width: auto; filter: drop-shadow(0 18px 18px rgba(0,0,0,.3)); }
.about-copy { display: grid; gap: 16px; justify-items: start; }
.about-copy h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
.about-copy p { color: var(--text-2); max-width: 58ch; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-ui); font-size: .84rem; }
@media (max-width: 820px) { .about { grid-template-columns: 1fr; } .portrait { max-width: 300px; } }

/* الهدايا */
.gifts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.gift { padding: 20px; display: grid; gap: 10px; align-content: start; transition: transform .2s ease; }
.gift:hover { transform: translateY(-4px); }
.gift h3 { font-size: 1.08rem; line-height: 1.5; }
.gift p { font-size: .9rem; color: var(--text-2); }
.gift .tone-chip { justify-self: start; font-size: .9rem; font-family: var(--font-text); font-weight: 700; }
.gift .go { font-family: var(--font-ui); font-size: .82rem; font-weight: 700; color: var(--tone-deep); margin-top: 4px; }
@media (max-width: 1040px) { .gifts { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .gifts { grid-template-columns: 1fr 1fr; } .gift:last-child { grid-column: 1 / -1; } }

/* الأسئلة */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { padding: 4px 22px; border-radius: var(--radius-md); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 16px; font-family: var(--font-display); font-weight: 900; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s ease; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { color: var(--text-2); font-weight: 500; padding-bottom: 18px; max-width: 64ch; }

/* التواصل */
.contact-band { padding: clamp(22px, 4vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(22px, 4vw, 56px); align-items: center; }
.contact-band h2 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); }
.contact-band .lead { color: #fff; margin-top: 14px; max-width: 42ch; }
.contact-band .quiz-points { color: #fff; }
.contact-mascot { width: 130px; margin-top: 22px; filter: drop-shadow(0 14px 14px rgba(0,0,0,.3)); }
.form { padding: clamp(18px, 3vw, 30px); color: var(--fg); display: grid; gap: 14px; background: #fff; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 5px; }
.field label { font-size: .9rem; font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; padding: .72rem .9rem; border-radius: 12px; border: 1px solid #d5d5dc; background: #fff; font-size: 1rem; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 78px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--fg); box-shadow: 0 0 0 3px #e4e4ea; }
.form button { width: 100%; }
.form .note { font-family: var(--font-ui); font-size: .78rem; color: var(--text-3); text-align: center; }
.form .ok { font-weight: 700; color: var(--mint-deep); text-align: center; }
@media (max-width: 860px) { .contact-band { grid-template-columns: 1fr; } .contact-mascot { display: none; } }
@media (max-width: 480px) { .form .two { grid-template-columns: 1fr; } }

/* الفوتر */
/* شريط الموبايل */
.mbar { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 40; display: none; transform: translateY(140%); transition: transform .3s ease; }
.mbar.show { transform: none; }
.mbar a { width: 100%; }
@media (max-width: 720px) { .mbar { display: block; } }

/* صفحات النص (الخصوصية) */
.prose { max-width: 720px; margin-inline: auto; display: grid; gap: 16px; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.prose h2 { font-size: 1.3rem; margin-top: 14px; }
.prose p, .prose li { color: var(--text-2); }
.prose ul { list-style: disc; padding-inline-start: 22px; display: grid; gap: 6px; }

/* ── تحديث 2: أيقونات المشاكل، البطاقة الشخصية، الهدايا، الفحص، شريط الخصم ── */
.pain-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.pain-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; color: var(--tone-deep); background: rgb(var(--tone-rgb) / .14); box-shadow: inset 0 0 0 1px rgb(var(--tone-rgb) / .28); }
.pain-n { font-family: var(--font-display); font-weight: 900; font-size: 2.4rem; line-height: 1; color: #e3e3e8; }

.portrait { position: relative; aspect-ratio: auto; overflow: visible; display: block; }
.portrait .photo { width: 100%; height: auto; aspect-ratio: 1 / 1.08; object-fit: cover; object-position: 50% 20%; border-radius: var(--radius-xl); filter: none; box-shadow: 0 0 0 1px rgba(18,18,18,.08), 0 30px 50px -26px rgba(0,0,0,.45); }
.nametag { position: absolute; inset-inline-start: 14px; bottom: 14px; padding: 8px 16px; border-radius: var(--radius-md); display: grid; line-height: 1.5; }
.nametag small { font-family: var(--font-ui); font-size: .78rem; color: var(--text-2); }
.portrait .peek { position: absolute; width: 92px; height: auto; inset-inline-end: -22px; bottom: -22px; filter: drop-shadow(0 12px 12px rgba(0,0,0,.3)); }
.creds { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 620px; }
.creds li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--radius-md); background: #fff; box-shadow: 0 0 0 1px rgba(18,18,18,.08), 0 12px 22px -16px rgba(0,0,0,.25); }
.creds b { display: block; line-height: 1.4; }
.creds small { display: block; font-size: .86rem; color: var(--text-2); line-height: 1.6; }
.creds .pain-ico { width: 42px; height: 42px; border-radius: 12px; }
@media (max-width: 560px) { .creds { grid-template-columns: 1fr; } }

.gifts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.gift { padding: 0; display: flex; flex-direction: column; gap: 0; border-radius: var(--radius-lg); background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(18,18,18,.08), 0 18px 30px -18px rgba(0,0,0,.28); transition: transform .25s ease, box-shadow .25s ease; }
.gift:hover { transform: translateY(-6px); box-shadow: 0 0 0 1px rgb(var(--tone-rgb) / .4), 0 28px 40px -20px rgb(var(--tone-c) / .55); }
.gift-cover { position: relative; padding: 22px 26px 0; height: 190px; overflow: hidden; background: radial-gradient(90% 80% at 80% 0, rgb(var(--tone-hi) / .7), transparent 60%), linear-gradient(150deg, rgb(var(--tone-a)), rgb(var(--tone-c))); }
.gift-cover::before { content: ""; position: absolute; inset: 30px 34px -10px; background: #fff; opacity: .55; border-radius: 8px; transform: rotate(5deg); }
.gift-cover img { position: relative; width: 100%; border-radius: 8px 8px 0 0; box-shadow: 0 -2px 18px rgba(0,0,0,.28); transform: rotate(-3deg); transform-origin: 50% 100%; transition: transform .3s ease; }
.gift:hover .gift-cover img { transform: rotate(0) translateY(-8px); }
.gift-body { padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; flex: 1; }
.gift-meta { font-size: .76rem; font-weight: 700; color: var(--tone-deep); }
.gift .go { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-text); font-size: .95rem; }
.gift .go .icon { width: 16px; height: 16px; }
@media (max-width: 1040px) {
  .gifts { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 230px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 20px 26px; margin-inline: -20px; scrollbar-width: none; }
  .gifts::-webkit-scrollbar { display: none; }
  .gift { scroll-snap-align: center; }
  .gift:last-child { grid-column: auto; }
}

/* الفحص */
.quiz { overflow: hidden; position: relative; }
.quiz-band.finished { grid-template-columns: 1fr; }
.quiz-band.finished > div:first-child { display: none; }
.segs { display: grid; grid-template-columns: repeat(10, 1fr); gap: 5px; margin-top: 10px; }
.segs i { height: 7px; border-radius: 99px; background: #e6e6eb; transition: background .3s, transform .3s; }
.segs i.y { background: #1f8f5f; } .segs i.n { background: #c8503f; } .segs i.now { background: #111; transform: scaleY(1.5); }
.q-card { display: grid; gap: 18px; animation: qIn .42s cubic-bezier(.2,.9,.25,1.1) both; }
.q-card.out-y { animation: qOutY .34s ease-in forwards; }
.q-card.out-n { animation: qOutN .34s ease-in forwards; }
@keyframes qIn { from { opacity: 0; transform: translateY(26px) scale(.96); } }
@keyframes qOutY { to { opacity: 0; transform: translateX(90px) rotate(7deg); } }
@keyframes qOutN { to { opacity: 0; transform: translateX(-90px) rotate(-7deg); } }
.q-axis { justify-self: start; }
.quiz-actions button { position: relative; overflow: hidden; }
.quiz-actions button.picked { animation: pick .34s ease; color: #fff; }
.quiz-actions button.picked[data-a="1"] { background: #1f8f5f; }
.quiz-actions button.picked[data-a="0"] { background: #c8503f; }
@keyframes pick { 40% { transform: scale(.93); } 75% { transform: scale(1.05); } }
.stamp { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; z-index: 2; }
.stamp span { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; color: #fff; animation: stamp .42s ease both; }
.stamp .icon { width: 46px; height: 46px; stroke-width: 3; }
.stamp.y span { background: #1f8f5f; } .stamp.n span { background: #c8503f; }
@keyframes stamp { 0% { transform: scale(.2) rotate(-25deg); opacity: 0; } 55% { transform: scale(1.15); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
.types { display: flex; flex-wrap: wrap; gap: 8px; }
.types button { cursor: pointer; border: 0; font-weight: 700; padding: .6rem 1.1rem; background: var(--bg-surface); box-shadow: inset 0 0 0 1px #d9d9e0; transition: transform .15s, background .15s; }
.types button:hover { transform: translateY(-2px); background: #111; color: #fff; }
.calc { display: grid; gap: 16px; place-items: center; text-align: center; padding-block: 40px; }
.calc .spin { width: 54px; height: 54px; border-radius: 50%; border: 5px solid #e6e6eb; border-top-color: #111; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
button[aria-busy="true"] { cursor: progress; transform: none !important; filter: none !important; }
.btn-spin { width: 1em; height: 1em; flex: none; border-radius: 50%; border: 2px solid currentColor; border-top-color: transparent; animation: spin .7s linear infinite; }
.booking [data-booking] { position: relative; }
.booking-wait { position: absolute; inset: 0; z-index: 1; background: #fff; border-radius: var(--radius-md); padding-top: 120px; display: grid; align-content: start; justify-items: center; gap: 14px; color: var(--text-2); font-family: var(--font-ui); transition: opacity .3s; }
.booking-wait.gone { opacity: 0; }
.booking-wait .spin { width: 42px; height: 42px; border-radius: 50%; border: 4px solid #e6e6eb; border-top-color: #111; animation: spin .8s linear infinite; }
.res { display: grid; grid-template-columns: 300px 1fr; gap: clamp(20px, 4vw, 44px); align-items: start; animation: qIn .5s ease both; }
.res-side { display: grid; gap: 16px; justify-items: center; text-align: center; }
.gauge { position: relative; width: 190px; height: 190px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke-width: 12; stroke-linecap: round; }
.gauge .bg { stroke: #ececf1; }
.gauge .fg { stroke: var(--g, #111); stroke-dasharray: 314.16; stroke-dashoffset: 314.16; transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1); }
.gauge div { position: absolute; inset: 0; display: grid; place-content: center; font-family: var(--font-display); font-weight: 900; font-size: 3.4rem; line-height: 1; direction: ltr; }
.gauge small { font-size: 1rem; color: var(--text-3); font-family: var(--font-ui); font-weight: 700; text-align: center; }
.res-side h3 { font-size: 1.35rem; }
.res-side p { color: var(--text-2); font-size: .96rem; }
.axes { display: grid; gap: 10px; width: 100%; text-align: start; }
.axis { display: grid; gap: 4px; font-size: .88rem; }
.axis span { display: flex; justify-content: space-between; font-weight: 700; }
.axis span b { font-family: var(--font-ui); color: var(--text-2); }
.axis .bar i { background: var(--c, #111); transition: width 1s cubic-bezier(.2,.8,.2,1) .4s; }
.res-main { display: grid; gap: 14px; }
.res-main h3 { font-size: 1.3rem; }
.leaks { display: grid; gap: 10px; }
.leaks li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-md); background: #fbf1ef; box-shadow: inset 0 0 0 1px #f0d3cd; opacity: 0; animation: qIn .45s ease forwards; }
.leaks li:nth-child(2) { animation-delay: .15s; } .leaks li:nth-child(3) { animation-delay: .3s; }
.leaks .x { width: 26px; height: 26px; border-radius: 50%; background: #c8503f; color: #fff; display: grid; place-items: center; flex: none; margin-top: 4px; }
.leaks .x .icon { width: 14px; height: 14px; stroke-width: 3; }
.leaks b { display: block; line-height: 1.5; }
.leaks small { color: var(--text-2); font-size: .9rem; line-height: 1.65; display: block; }
.fixline { padding: 12px 14px; border-radius: var(--radius-md); background: #eef7f3; box-shadow: inset 0 0 0 1px #cfe6dc; font-size: .96rem; }
.fixline b { color: var(--mint-deep); }
.res-cta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.res-cta .again { background: none; border: 0; cursor: pointer; text-decoration: underline; font-family: var(--font-ui); font-size: .85rem; color: var(--text-2); }
@media (max-width: 820px) { .res { grid-template-columns: 1fr; } .res-cta a { width: 100%; white-space: normal; text-align: center; } }

/* شريط الخصم */
.offer { position: fixed; inset-inline: 0; bottom: 0; z-index: 60; padding: 0 16px 16px; transform: translateY(120%); transition: transform .7s cubic-bezier(.2,.9,.25,1.05); pointer-events: none; }
.offer.show { transform: none; }
.offer-bar { pointer-events: auto; width: min(1160px, 100%); margin-inline: auto; overflow: visible; display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 18px; padding: 16px 22px; border-radius: var(--radius-lg); }
.offer-mascot { width: 92px; height: auto; margin-top: -46px; margin-bottom: -6px; filter: drop-shadow(0 10px 10px rgba(0,0,0,.4)); }
.offer.show .offer-mascot { animation: hop .7s ease .7s both; }
@keyframes hop { 0% { transform: translateY(60px); } 60% { transform: translateY(-10px); } 100% { transform: none; } }
.offer-copy { display: grid; gap: 2px; }
.offer-copy .chip-glass { justify-self: start; font-size: .74rem; gap: 6px; padding: .2rem .7rem; }
.offer-copy .chip-glass .icon { width: 14px; height: 14px; }
.offer-copy b { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.5; }
.offer-copy p { color: #d9d9d9; font-size: .92rem; line-height: 1.6; }
.offer-form { display: flex; gap: 8px; }
.offer-form input { width: 250px; padding: .7rem 1rem; border-radius: 999px; border: 0; background: #fff; color: #111; font-family: var(--font-ui); font-size: .95rem; }
.offer-form input:focus { outline: 3px solid #8ab4f8; }
.offer-form button { padding: .7rem 1.3rem; }
.offer-done { font-weight: 700; color: #fff; grid-column: 3; }
.offer-close { width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; background: #333; color: #fff; display: grid; place-items: center; }
.offer-close .icon { width: 16px; height: 16px; }
.offer-close:hover { background: #555; }
@media (max-width: 900px) {
  .offer { padding: 0 10px 10px; }
  .offer-bar { grid-template-columns: 1fr auto; gap: 10px 12px; padding: 16px; }
  .offer-mascot { position: absolute; width: 70px; inset-inline-end: 56px; top: -40px; margin: 0; }
  .offer-copy { grid-column: 1; } .offer-close { grid-column: 2; grid-row: 1; align-self: start; }
  .offer-form, .offer-done { grid-column: 1 / -1; }
  .offer-form input { flex: 1; width: auto; min-width: 0; }
}
body.offer-open .mbar { display: none; }
/* ══ تحديث 3: موقع متعدد الصفحات، مشهد أبسط، فوتر، وحركة لكل قسم ══ */

/* القائمة */
.nav-links a[aria-current] { background: var(--fg); color: #fff; }

/* مشهد الهيرو المبسّط */
.scene { gap: 18px; padding: clamp(22px, 3vw, 36px); min-height: 380px; align-content: center; }
.scene-time { justify-self: center; font-family: var(--font-ui); font-size: .85rem; gap: 7px; }
.scene-time .icon { width: 16px; height: 16px; }
.bubbles { display: grid; gap: 12px; }
.bubbles .msg { max-width: 80%; padding: 14px 20px; border-radius: 22px; font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 700; color: #111; box-shadow: 0 10px 22px -10px rgba(0,0,0,.35); }
.bubbles .msg.in { border-start-start-radius: 6px; }
.bubbles .msg.out { border-start-end-radius: 6px; }
.bubbles .msg:nth-child(1) { animation-delay: 1s; }
.bubbles .msg:nth-child(2) { animation-delay: 2.1s; }
.scene .booked { animation-delay: 3.2s; padding: 14px 18px; }
.scene .booked b { font-size: 1.1rem; }

/* هيرو الصفحات الداخلية */
.phero { padding-block: clamp(36px, 6vw, 72px) clamp(28px, 4vw, 48px); }
.phero h1 { font-size: clamp(2rem, 4.8vw, 3.5rem); line-height: 1.3; --marker: #f8d9cb; }
.phero .lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--text-2); max-width: 56ch; }
.phero-center { display: grid; gap: 16px; justify-items: center; text-align: center; max-width: 820px; }
.phero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.phero-copy { display: grid; gap: 18px; justify-items: start; }
.crumb { gap: 6px; font-size: .84rem; }
.crumb .icon { width: 14px; height: 14px; transform: rotate(180deg); }
.fit { font-size: .86rem; color: var(--text-2); }
.phero-art { padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; }
.big-ico { width: 84px; height: 84px; display: grid; place-items: center; color: var(--tone-deep); }
.big-ico .icon { width: 40px; height: 40px; }
.phero-art ul { display: grid; gap: 10px; }
.phero-art li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-md); color: #111; font-weight: 700; }
.phero-art li .icon { color: var(--tone-deep); stroke-width: 2.6; }
.phero .about { align-items: center; }
@media (max-width: 900px) { .phero-grid { grid-template-columns: 1fr; } }

/* شبكات وكروت إضافية */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { padding: 22px; display: grid; gap: 8px; align-content: start; }
.feat h3 { font-size: 1.15rem; margin-top: 6px; }
.feat p { color: var(--text-2); font-size: .96rem; }
.steps.three { grid-template-columns: repeat(3, 1fr); }
a.svc { transition: transform .25s ease, box-shadow .25s ease; }
a.svc:hover { transform: translateY(-6px); }
.svc h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
.svc .for b { color: var(--tone-deep); }
.pick { padding: clamp(22px, 3.5vw, 40px); display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.pick h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.pick p { color: var(--text-2); max-width: 52ch; margin-top: 6px; }
.chan { padding: 22px; display: grid; gap: 6px; justify-items: start; transition: transform .25s ease; }
.chan:hover { transform: translateY(-5px); }
.chan h3 { font-size: 1.2rem; margin-top: 8px; }
.chan p { color: var(--text-2); }
.chan .more { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--tone-deep); margin-top: 6px; }
.creds.wide { grid-template-columns: repeat(4, 1fr); max-width: none; }
.creds.wide li { flex-direction: column; align-items: flex-start; padding: 18px; }
.cta-band { padding: clamp(24px, 4vw, 52px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); }
.cta-band p { color: #fff; margin: 12px 0 20px; max-width: 50ch; }
.cta-band img { width: clamp(110px, 16vw, 200px); filter: drop-shadow(0 18px 18px rgba(0,0,0,.3)); }
.social-band { padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; }
.social-band .num { font-family: var(--font-display); font-weight: 900; font-size: clamp(3rem, 8vw, 6rem); line-height: 1; direction: ltr; }
.social-band h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); }
.social-band p { color: #fff; margin: 8px 0 16px; max-width: 52ch; }
.quiz-title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin-top: 14px; }
.page-quiz #quiz { padding-top: clamp(28px, 4vw, 48px); }
.page-contact #contact { padding-top: 0; }
@media (max-width: 900px) { .grid-3, .steps.three { grid-template-columns: 1fr; } .creds.wide { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cta-band, .social-band { grid-template-columns: 1fr; } .cta-band img { display: none; } }

/* الفوتر */
.footer { margin-top: clamp(20px, 3vw, 40px); padding-block: clamp(40px, 6vw, 72px) 110px; border: 0; border-radius: var(--radius-xl) var(--radius-xl) 0 0; color: #fff; font-size: .96rem;
  background: radial-gradient(60% 50% at 85% 0, #2c2c31, transparent 70%), radial-gradient(50% 60% at 0 100%, #3a2219, transparent 70%), #111; }
.foot-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.1fr 1.2fr; gap: 32px 28px; }
.footer .brand { color: #fff; font-size: 1.35rem; }
.footer .brand span { background: #fff; color: #111; }
.foot-brand { display: grid; gap: 16px; align-content: start; }
.foot-brand p { color: #bdbdc4; max-width: 34ch; }
.socials { display: flex; gap: 10px; }
.socials a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #232327; box-shadow: inset 0 0 0 1px #37373d; transition: background .2s, color .2s, transform .2s; }
.socials a:hover { background: #fff; color: #111; transform: translateY(-3px); }
.footer nav, .foot-contact { display: grid; gap: 10px; align-content: start; }
.footer h3 { font-family: var(--font-ui); font-weight: 700; font-size: .8rem; color: #8f8f98; margin-bottom: 4px; }
.footer nav a, .foot-contact a { color: #ececef; transition: color .2s, transform .2s; justify-self: start; }
.footer nav a:hover, .foot-contact a:hover { color: #fff; transform: translateX(-4px); text-decoration: underline; text-underline-offset: 5px; }
.foot-contact span { color: #8f8f98; font-size: .88rem; }
.foot-word { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 9.4vw, 7.6rem); line-height: 1.5; color: #232327; text-align: center; white-space: nowrap; margin-top: clamp(24px, 4vw, 48px); user-select: none; }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; border-top: 1px solid #2a2a2f; padding-top: 18px; color: #8f8f98; font-size: .86rem; }
.foot-bottom a:hover { color: #fff; }
@media (min-width: 721px) { .footer { padding-bottom: 28px; } }
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }

/* ── الحركة: كل قسم بطريقته ── */
main, .footer { overflow-x: clip; }
.reveal.reveal:not(.in) { opacity: 0; transform: var(--from, translateY(28px)); }
.reveal.reveal:not(.done) { transition: opacity .7s ease, transform .85s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
.head.reveal { --from: translateY(18px); }
.grid-4 > .reveal, .grid-3 > .reveal { --from: translateY(46px) rotate(-3deg) scale(.94); }
.services > .reveal:nth-child(odd) { --from: translateX(70px); }
.services > .reveal:nth-child(even) { --from: translateX(-70px); }
.services > .reveal.wide { --from: translateY(34px); }
[data-anim="zoom"] { --from: scale(.9) translateY(34px); }
.steps > .reveal { --from: translateY(26px) scale(.82); }
.work > .reveal { --from: perspective(900px) rotateY(-38deg) translateX(34px); }
.about .portrait.reveal { --from: translateX(80px) rotate(4deg); }
.about-copy.reveal { --from: translateX(-60px); }
.creds > .reveal { --from: scale(.78); }
.gifts > .reveal { --from: translateY(70px) rotate(7deg); }
.faq > .reveal { --from: translateX(46px); }
.foot-grid > .reveal { --from: translateY(22px); }

/* التظليل بينرسم ورا الكلمة */
.reveal .marker, .hero .marker, .phero .marker { background-repeat: no-repeat; background-position: right center; background-size: 0% 100%; }
.reveal .marker { transition: background-size .9s cubic-bezier(.2,.8,.2,1) .5s; }
.reveal.in .marker { background-size: 100% 100%; }
.hero .marker, .phero .marker { animation: mark .9s cubic-bezier(.2,.8,.2,1) .9s forwards; }
@keyframes mark { to { background-size: 100% 100%; } }

/* خط الخطوات بينرسم */
.steps .step::after { transform: scaleX(0); transform-origin: right; transition: transform .8s ease calc(var(--d, 0ms) + .45s); }
.steps .step.in::after { transform: scaleX(1); }

/* دخول الهيرو */
.hero-copy > *, .phero-copy > *, .phero-center > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy > :nth-child(2), .phero-copy > :nth-child(2), .phero-center > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3), .phero-copy > :nth-child(3), .phero-center > :nth-child(3) { animation-delay: .24s; }
.hero-copy > :nth-child(4), .phero-copy > :nth-child(4), .phero-center > :nth-child(4) { animation-delay: .36s; }
.hero-copy > :nth-child(5), .phero-copy > :nth-child(5), .phero-center > :nth-child(5) { animation-delay: .48s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
.hero .scene, .phero-art, .phero .portrait { animation: sceneIn 1s cubic-bezier(.2,.8,.2,1) .2s both; }
@keyframes sceneIn { from { opacity: 0; transform: translateX(-60px) rotate(-3deg) scale(.95); } }
.hero-mascot { animation: hop .8s ease 1.1s both; }
.phero-art li { animation: rise .6s ease both; }
.phero-art li:nth-child(1) { animation-delay: .7s; } .phero-art li:nth-child(2) { animation-delay: .9s; } .phero-art li:nth-child(3) { animation-delay: 1.1s; }
.tiles .tile { animation: float 7s ease-in-out infinite alternate; }
.tiles .t2 { animation-duration: 9s; } .tiles .t3 { animation-duration: 11s; }
@keyframes float { to { translate: 0 -16px; } }
.nav { animation: navIn .7s ease both; }
@keyframes navIn { from { opacity: 0; transform: translateY(-20px); } }

/* شريط الخصم: طلوع واضح من تحت لفوق */
.offer { transition: none; transform: translateY(calc(100% + 80px)); }
.offer.show { animation: offerUp 1.3s cubic-bezier(.16,1,.3,1) both; transform: none; }
.offer.hide { animation: offerDown .5s ease-in both; }
@keyframes offerUp { from { transform: translateY(calc(100% + 80px)); } to { transform: none; } }
@keyframes offerDown { from { transform: none; } to { transform: translateY(calc(100% + 80px)); } }
.offer.show .offer-mascot { animation: hop .7s ease 1.2s both; }



/* ══ تحديث 4: نافذة الملف المجاني + أيقونات التواصل بالفوتر ══ */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(17,17,17,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s ease; }
.modal.open { opacity: 1; }
.modal-card { position: relative; width: min(760px, 100%); max-height: calc(100dvh - 32px); overflow: auto; display: grid; grid-template-columns: 260px 1fr; background: #fff; border-radius: var(--radius-xl); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); transform: translateY(60px) scale(.94); transition: transform .45s cubic-bezier(.2,.9,.25,1.1); }
.modal.open .modal-card { transform: none; }
.modal-cover { padding: 28px 24px 0; overflow: hidden; border-radius: 0 var(--radius-xl) var(--radius-xl) 0; background: radial-gradient(90% 80% at 80% 0, rgb(255 214 190 / .7), transparent 60%), linear-gradient(150deg, rgb(229 138 104), rgb(196 98 63)); display: grid; align-items: end; }
.modal-cover img { width: 100%; border-radius: 8px 8px 0 0; box-shadow: 0 -2px 22px rgba(0,0,0,.3); transform: rotate(-3deg) translateY(6px); }
.modal-body { padding: clamp(22px, 4vw, 36px); display: grid; gap: 12px; align-content: center; }
.modal-body .tone-chip { justify-self: start; }
.modal-body h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
.modal-body > p { color: var(--text-2); }
.modal-body form { display: grid; gap: 12px; }
.modal-body .note { font-family: var(--font-ui); font-size: .78rem; color: var(--text-3); }
.modal-body .ok { font-weight: 700; color: var(--mint-deep); font-size: 1.1rem; }
#gift-done { display: grid; gap: 12px; justify-items: start; }
#gift-done[hidden] { display: none; }
.modal-close { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; }
@media (max-width: 640px) { .modal-card { grid-template-columns: 1fr; } .modal-cover { height: 150px; border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: 20px 90px 0; } }
.foot-contact .socials { margin-top: 8px; }
.foot-contact .socials a:hover { transform: translateY(-3px); text-decoration: none; }
.modal [hidden], .offer [hidden] { display: none !important; }

/* ══ تحديث 5: قسم الشغل، المختصرات، مشاهد الخدمات، السعر، الفيديو، التقويم، تقرير الفحص ══ */
.work2 { display: grid; grid-template-columns: 340px 1fr; gap: 16px; }
.worked { padding: clamp(20px, 3vw, 30px); display: grid; gap: 14px; align-content: start; }
.worked h3 { font-size: 1.2rem; }
.worked ul { display: grid; gap: 12px; }
.worked li { display: flex; gap: 14px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--edge); }
.worked li:last-child { border: 0; padding-bottom: 0; }
.worked b { display: block; font-size: 1.08rem; line-height: 1.5; }
.worked small { color: var(--text-2); font-size: .93rem; }
.cases { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-bottom: 16px; }
.case { padding: 24px; display: grid; gap: 12px; align-content: start; }
.case .tone-chip { justify-self: start; }
.case h3 { font-size: 1.3rem; }
.case dl { display: grid; gap: 10px; margin: 0; }
.case dt { font-family: var(--font-ui); font-size: .78rem; font-weight: 700; color: var(--tangerine-deep); }
.case dd { margin: 0; color: var(--text-2); font-size: .97rem; }
.case blockquote { margin: 4px 0 0; padding: 12px 16px; border-radius: var(--radius-md); background: var(--bg-surface); font-weight: 700; }
.case cite { display: block; font-style: normal; font-weight: 500; font-size: .85rem; color: var(--text-2); margin-top: 4px; }
@media (max-width: 820px) { .work2 { grid-template-columns: 1fr; } }

.teaser { padding: clamp(20px, 3vw, 34px); display: grid; grid-template-columns: auto 1fr auto; gap: clamp(16px, 3vw, 32px); align-items: center; }
.teaser h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); }
.teaser p { color: var(--text-2); margin-top: 6px; max-width: 60ch; }
.teaser-photo { width: 104px; height: 104px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; box-shadow: 0 0 0 4px #fff, 0 14px 24px -12px rgba(0,0,0,.45); }
a.teaser { transition: transform .25s ease; }
a.teaser:hover { transform: translateY(-5px); }
.fan { position: relative; width: 150px; height: 130px; }
.fan img { position: absolute; bottom: 0; left: 50%; width: 84px; border-radius: 6px; box-shadow: 0 8px 18px -6px rgba(0,0,0,.4); transform-origin: 50% 100%; transition: transform .35s ease; }
.fan img:nth-child(1) { transform: translateX(-50%) rotate(-16deg) translateX(-34px); }
.fan img:nth-child(2) { transform: translateX(-50%) rotate(14deg) translateX(34px); }
.fan img:nth-child(3) { transform: translateX(-50%); }
a.teaser:hover .fan img:nth-child(1) { transform: translateX(-50%) rotate(-24deg) translateX(-46px); }
a.teaser:hover .fan img:nth-child(2) { transform: translateX(-50%) rotate(22deg) translateX(46px); }
@media (max-width: 760px) { .teaser { grid-template-columns: 1fr; justify-items: start; } }

.price-sec { padding-block: 0 clamp(36px, 5vw, 64px); }
.price { padding: clamp(18px, 3vw, 28px); display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; }
.price h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
.price p { color: var(--text-2); margin-top: 4px; }
@media (max-width: 720px) { .price { grid-template-columns: 1fr; } }

.phero-art { position: relative; min-height: 340px; align-content: center; padding-top: 52px; }
.art-tag { position: absolute; top: 14px; inset-inline-start: 14px; font-size: .72rem; padding: .2rem .7rem; }
.flow { display: grid; gap: 22px; counter-reset: f; }
.flow li { position: relative; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--radius-md); color: #111; font-weight: 700; animation: rise .6s ease both; }
.flow li .icon { color: var(--tone-deep); }
.flow li + li::before { content: ""; position: absolute; top: -18px; inset-inline-start: 26px; width: 2px; height: 14px; background: #fff; border-radius: 2px; }
.flow li:nth-child(1) { animation-delay: .6s; } .flow li:nth-child(2) { animation-delay: 1.1s; } .flow li:nth-child(3) { animation-delay: 1.6s; } .flow li:nth-child(4) { animation-delay: 2.1s; }
.browser { border-radius: var(--radius-md); overflow: hidden; color: #111; }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--edge); direction: ltr; }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: #d7d7dd; }
.browser .bar span { margin-inline-start: 10px; font-size: .78rem; color: var(--text-2); background: var(--bg-surface); padding: 2px 12px; border-radius: 99px; }
.browser .pg { padding: 22px; display: grid; gap: 10px; justify-items: start; }
.browser .pg b { display: block; height: 18px; width: 82%; border-radius: 6px; background: #111; animation: grow .7s ease .7s both; transform-origin: right; }
.browser .pg b.s { width: 55%; animation-delay: .9s; }
.browser .pg p { height: 9px; width: 92%; border-radius: 6px; background: #dedee4; animation: grow .7s ease 1.1s both; transform-origin: right; }
.browser .pg p.s { width: 70%; animation-delay: 1.25s; }
.browser .pg .btn-dark { margin-top: 8px; padding: .55rem 1.2rem; font-size: .9rem; animation: rise .6s ease 1.5s both; }
@keyframes grow { from { transform: scaleX(0); } }
.dash { padding: 18px; border-radius: var(--radius-md); color: #111; display: grid; gap: 18px; }
.kpis { display: grid; gap: 10px; }
.kpis span { display: grid; gap: 5px; }
.kpis small { font-size: .85rem; font-weight: 700; }
.kpis i { display: block; height: 8px; width: var(--w); border-radius: 99px; background: rgb(var(--tone-rgb)); animation: grow .9s ease .8s both; transform-origin: right; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 96px; padding-top: 6px; border-top: 1px solid var(--edge); }
.bars i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: #111; animation: up .8s cubic-bezier(.2,.8,.2,1) 1.2s both; transform-origin: bottom; }
.bars i:nth-child(even) { background: rgb(var(--tone-rgb)); animation-delay: 1.35s; }
@keyframes up { from { transform: scaleY(0); } }

.video { max-width: 860px; margin-inline: auto; aspect-ratio: 16 / 9; border-radius: var(--radius-xl); overflow: hidden; background: #111; box-shadow: 0 30px 60px -30px rgba(0,0,0,.5); }
.video iframe, .video video { width: 100%; height: 100%; border: 0; display: block; }
.booking { padding: clamp(18px, 3vw, 30px); }
.booking iframe { width: 100%; min-height: 680px; border: 0; border-radius: var(--radius-md); }
.report { display: grid; gap: 8px; padding-top: 14px; border-top: 1px dashed #d5d5dc; }
.report label { font-size: .92rem; font-weight: 700; }
.report > div { display: flex; gap: 8px; flex-wrap: wrap; }
.report input { flex: 1; min-width: 180px; padding: .7rem 1rem; border-radius: 999px; border: 1px solid #d5d5dc; font-family: var(--font-ui); font-size: .95rem; }
.report input:focus { outline: 0; border-color: #111; box-shadow: 0 0 0 3px #e4e4ea; }
.report .ok { font-weight: 700; color: var(--mint-deep); }
/* النافذة المخفية لازم تختفي فعلاً، وإلا بتغطي الصفحة وبتمنع الضغط */
.modal[hidden], .offer[hidden] { display: none !important; }
.modal:not(.open) { pointer-events: none; }

/* تخطّي للمحتوى (لوحة المفاتيح وقارئ الشاشة) */
.skip { position: fixed; top: -60px; inset-inline-start: 12px; z-index: 100; background: #111; color: #fff; padding: 10px 16px; border-radius: 999px; font-weight: 700; transition: top .2s; }
.skip:focus { top: 12px; }

/* ══ المقالات ══ */
.posts { align-items: stretch; }
.posts.two { grid-template-columns: repeat(2, 1fr); }
.post { padding: 24px; display: grid; gap: 10px; align-content: start; transition: transform .25s ease; }
.post:hover { transform: translateY(-5px); }
.post .tone-chip { justify-self: start; }
.post h2, .post h3 { font-size: 1.25rem; line-height: 1.55; }
.post p { color: var(--text-2); font-size: .96rem; }
.post .more { display: inline-flex; gap: 8px; align-items: center; font-weight: 700; color: var(--tone-deep); margin-top: 4px; }
.byline { color: var(--text-2); font-size: .88rem; }
.article-body { padding-top: clamp(20px, 3vw, 36px); }
.article-body .prose { gap: 18px; font-size: 1.08rem; }
.article-body .prose h2 { font-size: clamp(1.35rem, 2.6vw, 1.7rem); margin-top: 18px; }
.article-body .prose p, .article-body .prose li { color: #2b2b2b; line-height: 2; }
.article-body .prose b { color: #111; }
.article-body .prose ul { gap: 10px; }
.next { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; margin-top: 18px; transition: transform .25s ease; }
.next:hover { transform: translateY(-4px); }
.next b { display: block; font-family: var(--font-display); font-weight: 900; font-size: 1.2rem; }
.next small { color: var(--text-2); }
.next .icon { color: var(--tone-deep); width: 26px; height: 26px; }
@media (max-width: 900px) { .posts.two { grid-template-columns: 1fr; } }

/* ══ للي طالب «تقليل الحركة» من جهازه: بتضل الحركة موجودة بس هادية (ظهور تدريجي بدون إزاحة ولا دوران) ══ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal.reveal { --from: none !important; }
  .reveal.reveal:not(.done) { transition-duration: .5s; }
  .tiles .tile, .hero-mascot, .offer.show .offer-mascot { animation: none; }
  .hero-copy > *, .phero-copy > *, .phero-center > *, .hero .scene, .phero-art, .phero .portrait, .phero-art li, .flow li, .nav { animation-name: fadeOnly; }
  .q-card, .q-card.out-y, .q-card.out-n, .res, .leaks li { animation-name: fadeOnly; }
  .q-card.out-y, .q-card.out-n { animation-direction: reverse; }
  .stamp { display: none; }
  .modal-card { transform: none; }
  .gift:hover, a.svc:hover, .post:hover, a.teaser:hover, .chan:hover { transform: none; }
}
@keyframes fadeOnly { from { opacity: 0; } }

.booking iframe { min-height: 760px; background: #fff; }
@media (max-width: 640px) { .booking { padding: 14px 8px; } .booking iframe { min-height: 900px; } }

/* ══ المدونة 2: صور، فهرس، خلاصة، كاتب، مشاركة، تعليقات ══ */
.post { padding: 0; overflow: hidden; gap: 0; }
.post .cover { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; display: block; }
.post-body { padding: 18px 20px 20px; display: grid; gap: 8px; align-content: start; }
.post-meta { font-size: .78rem; color: var(--text-2); }
.post-meta b { color: var(--tone-deep); }
.post.featured { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; }
.post.featured .cover { height: 100%; }
.post.featured .post-body { padding: clamp(20px, 3vw, 36px); align-content: center; gap: 12px; }
.post.featured h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
@media (max-width: 820px) { .post.featured { grid-template-columns: 1fr; } }

.art-hero { padding-bottom: 0; }
.art-head { display: grid; gap: 14px; justify-items: start; max-width: 900px; }
.art-head h1 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
.art-head .cover { width: 100%; height: auto; border-radius: var(--radius-xl); margin-top: 10px; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.byline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.byline img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.art-grid { display: grid; grid-template-columns: 230px minmax(0, 720px); gap: clamp(24px, 4vw, 56px); justify-content: center; align-items: start; }
.art-grid .prose { margin: 0; max-width: none; }
.toc { position: sticky; top: 96px; display: grid; gap: 10px; font-size: .92rem; }
.toc ol { display: grid; gap: 8px; counter-reset: t; }
.toc ol a { color: var(--text-2); display: block; padding-inline-start: 12px; border-inline-start: 2px solid var(--edge); line-height: 1.6; }
.toc ol a:hover { color: var(--fg); border-color: var(--fg); }
.share { display: grid; gap: 8px; margin-top: 10px; }
.share > div { display: flex; gap: 8px; }
.share a, .share button { width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--bg-surface); box-shadow: inset 0 0 0 1px #dcdce2; color: var(--fg); transition: background .2s, color .2s; }
.share a:hover, .share button:hover { background: #111; color: #fff; }
.share .icon { width: 18px; height: 18px; }
@media (max-width: 900px) { .art-grid { grid-template-columns: 1fr; } .toc { position: static; padding: 16px 18px; border-radius: var(--radius-md); background: var(--bg-surface); } }
.takeaways { padding: 18px 22px; display: grid; gap: 10px; }
.takeaways ul { list-style: none !important; padding: 0 !important; display: grid; gap: 8px; }
.takeaways li { display: flex; gap: 10px; align-items: flex-start; color: #111 !important; font-weight: 700; line-height: 1.8 !important; }
.takeaways .icon { color: var(--tone-deep); margin-top: 8px; width: 18px; height: 18px; stroke-width: 2.6; }
.article-body .faq { margin: 0; max-width: none; }
.article-body .faq details p { padding-bottom: 16px; }
.author { display: flex; gap: 16px; align-items: center; padding: 18px 20px; margin-top: 14px; }
.author img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; flex: none; }
.author p { font-size: .95rem !important; line-height: 1.8 !important; color: var(--text-2) !important; }
.author .more { font-weight: 700; display: inline-flex; gap: 6px; align-items: center; font-size: .92rem; color: var(--tangerine-deep); }
.author .more .icon { width: 16px; height: 16px; }
.comments { display: grid; gap: 14px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--edge); }
.c-list { display: grid; gap: 10px; }
.c-item { padding: 14px 18px; border-radius: var(--radius-md); background: var(--bg-surface); }
.c-item b { display: block; }
.c-item small { font-family: var(--font-ui); font-size: .76rem; color: var(--text-3); }
.c-item p { margin-top: 6px; font-size: 1rem !important; line-height: 1.9 !important; white-space: pre-line; }
.c-empty { color: var(--text-2) !important; font-size: .95rem !important; }
.c-form { padding: 18px 20px; display: grid; gap: 12px; }
.c-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.c-form button { justify-self: start; }
.c-form .note { font-family: var(--font-ui); font-size: .78rem !important; color: var(--text-3) !important; }
.c-form .note.ok { color: var(--mint-deep) !important; font-weight: 700; font-size: .95rem !important; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 560px) { .c-form .two { grid-template-columns: 1fr; } .author { flex-direction: column; align-items: flex-start; } }
.case .visit { font-family: var(--font-ui); font-size: .82rem; font-weight: 700; color: var(--tangerine-deep); direction: ltr; justify-self: start; }

.work2.solo { grid-template-columns: 1fr; }
.work2.solo .stat { min-height: 0; grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
.cases { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } .work2.solo .stat { grid-template-columns: 1fr; } }

/* شريط المتابعين بقسم الشغل */
.work2 .stat { padding: clamp(22px, 3vw, 34px) clamp(22px, 4vw, 44px); }
.work2.solo .stat .num { text-align: start; font-size: clamp(2.8rem, 6vw, 4.4rem); }
.work2.solo .stat p { font-size: 1.08rem; max-width: 52ch; }

/* صفحة «انحجز موعدك» لما تنفتح جوّا مربع التقويم: المحتوى بس */
.framed .nav, .framed .footer, .framed .mbar, .framed .offer, .framed .skip { display: none !important; }
.framed .phero { padding-block: 28px; }

/* أي عنصر عليه hidden بيختفي فعلاً، حتى لو كلاسه بيحدد display (الأزرار والشبكات) */
[hidden] { display: none !important; }
