/* ═══════════════════════════════════════════════════════════════
   ارك — «أنواع التصاميم» /styles · هوية «لؤلؤ دافئ»
   الفهرس = «خريطة الذوق» + «اختبار الذوق» · صفحة الستايل = «تشريح الغرفة»
   الرموز من arc-identity.css (--acc · --muted · --dim · --gold …) تُحمَّل قبل هذا الملف.
   ═══════════════════════════════════════════════════════════════ */

:root {
  --st-gap: clamp(14px, 2vw, 22px);
}

.st-page h1, .st-page h2, .st-page h3, .st-quiz h3 { font-family: var(--fontD); }
.st-page small[lang="en"] { font-family: var(--font); font-weight: 400; letter-spacing: .02em; color: var(--dim); }

/* مسار الصفحة */
.st-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 9px; font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.st-crumbs a { display: inline-block; padding: 7px 0; color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.st-crumbs a:hover { color: var(--acc); border-color: rgba(138,90,43,.35); }
.st-crumbs span[aria-hidden] { color: var(--dim); }
.st-head .st-crumbs { justify-content: center; }

.st-head-ctas, .st-hero-ctas, .st-band-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.st-head-ctas { justify-content: center; margin-top: 26px; }
.st-page button.dn-cta, .st-quiz button.dn-cta { font-family: inherit; cursor: pointer; }
/* 🔴 styles.css يخفي نص .dn-cta-wa تحت 1120px (مقصود لزر الشريط العلوي فقط) — أزرار الصفحة تبقى بنصّها */
.st-page .dn-cta-wa span, .st-quiz .dn-cta-wa span { display: inline; }
.st-page .dn-cta-wa.dn-cta-lg, .st-quiz .dn-cta-wa.dn-cta-lg { padding: 13px 28px; }
/* الدعوة الرئيسية (الاختبار · التشريح من النتيجة): برونز ممتلئ بارز */
.dn-cta.st-cta-main { color: #fff; border-color: transparent;
  background: linear-gradient(165deg, var(--acc2), var(--acc)); box-shadow: 0 10px 22px -10px var(--acc); }

/* الأقسام */
.st-sec { padding: clamp(30px, 5vw, 56px) 0; }
.st-sec-head { text-align: center; max-width: 720px; margin: 0 auto clamp(22px, 3vw, 34px); }
.st-sec-head h2 { font-size: clamp(25px, 3.6vw, 38px); line-height: 1.45; margin: 6px 0 10px; }
.st-sec-head p { color: var(--muted); font-size: 16px; line-height: 1.9; margin: 0; }

/* ══════════ خريطة الذوق ══════════ */
.st-map { position: relative; padding: 58px 92px 54px; border-radius: var(--r-xl); }
.st-plot { position: relative; height: clamp(400px, 42vw, 560px); }
.st-grid-x, .st-grid-y { position: absolute; pointer-events: none; }
.st-grid-x { inset-inline: 0; top: 50%; border-top: 1px dashed rgba(72,52,32,.18); }
.st-grid-y { inset-block: 0; left: 50%; border-left: 1px dashed rgba(72,52,32,.18); }
.st-plot::before { /* توهّج خفيف يعطي المساحة عمقاً */
  content: ''; position: absolute; inset: 8% 12%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(240,210,164,.35), transparent 72%);
}
/* 🔴 .glass > * يفرض position:relative (arc-identity) — نرفع الخصوصية ليبقى المحور مطلقاً */
.st-map > .st-ax { position: absolute; z-index: 3; }
.st-ax { position: absolute; font-size: 12.5px; font-weight: 700; color: var(--acc); letter-spacing: .02em;
  padding: 5px 12px; border-radius: var(--r-pill); background: rgba(255,255,255,.62); border: 1px solid var(--bdr); white-space: nowrap; }
.st-ax-start { inset-inline-start: 16px; top: 50%; transform: translateY(-50%); }
.st-ax-end   { inset-inline-end: 16px;   top: 50%; transform: translateY(-50%); }
.st-ax-top   { top: 16px; left: 50%; transform: translateX(-50%); }
.st-ax-bot   { bottom: 14px; left: 50%; transform: translateX(-50%); }

/* الدبوس: مرساة بحجم صفر عند النقطة، والمحتوى متمركز حولها (مستقل عن الاتجاه) */
.st-pin { position: absolute; width: 0; height: 0; z-index: 2; text-decoration: none; }
.st-pin:hover, .st-pin:focus-visible, .st-pin.sel { z-index: 5; }
.st-pin-in { position: absolute; left: -60px; top: -34px; width: 120px; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.st-pin-img { width: 68px; height: 68px; border-radius: 50%; background-size: cover; background-position: center;
  border: 3px solid #fff; box-shadow: 0 1px 2px rgba(58,40,22,.12), 0 12px 24px -10px rgba(58,40,22,.45);
  transition: transform .5s var(--bounce), box-shadow .3s; }
.st-pin-name { font-size: 13px; font-weight: 800; color: var(--txt); white-space: nowrap; padding: 3px 10px; border-radius: var(--r-pill);
  background: rgba(255,255,255,.78); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 4px 12px -6px rgba(58,40,22,.25);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background .2s, color .2s; }
.st-pin:hover .st-pin-img, .st-pin:focus-visible .st-pin-img, .st-pin.sel .st-pin-img { transform: scale(1.14); box-shadow: 0 0 0 3px var(--acc2), 0 16px 30px -10px rgba(58,40,22,.5); }
.st-pin:hover .st-pin-name, .st-pin.sel .st-pin-name { background: var(--acc); color: #fff; border-color: var(--acc); }

/* «ذوقك هنا» بعد الاختبار */
.st-you { position: absolute; width: 0; height: 0; z-index: 6; pointer-events: none; }
.st-you::before { content: ''; position: absolute; left: -46px; top: -46px; width: 92px; height: 92px; border-radius: 50%;
  border: 2px solid var(--acc); animation: stRing 2.2s var(--ease) infinite; }
.st-you-in { position: absolute; left: -50px; top: -68px; width: 100px; text-align: center; font-size: 12.5px; font-weight: 800; color: #fff;
  background: var(--acc); border-radius: var(--r-pill); padding: 4px 0; box-shadow: 0 8px 18px -8px var(--acc); }
@keyframes stRing { 0% { transform: scale(.55); opacity: .9 } 100% { transform: scale(1.35); opacity: 0 } }

.st-map-peek { display: none; }

/* ══════════ بطاقات الستايلات ══════════ */
.st-fam + .st-fam { margin-top: clamp(26px, 3.4vw, 40px); }
.st-fam-title { display: flex; align-items: center; gap: 14px; font-size: 17px; color: var(--muted); margin: 0 0 16px; font-weight: 600; }
.st-fam-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(to left, transparent, var(--bdr)); }
[dir="ltr"] .st-fam-title::after { background: linear-gradient(to right, transparent, var(--bdr)); }
.st-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--st-gap); }

.st-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; border-radius: var(--r-xl); overflow: hidden;
  background: linear-gradient(160deg, var(--cardHi), var(--card)); border: 1px solid rgba(255,255,255,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 2px rgba(58,40,22,.07), 0 22px 40px -26px rgba(58,40,22,.38);
  transition: transform .55s var(--spring), box-shadow .3s; }
.st-card:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 2px 4px rgba(58,40,22,.08), 0 30px 50px -26px rgba(58,40,22,.48); }
.st-card-img { display: block; aspect-ratio: 4 / 3; background-size: cover; background-position: center; transition: transform .8s var(--ease); }
.st-card:hover .st-card-img { transform: scale(1.04); }
.st-card-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; position: relative; background: inherit; }
.st-card-fam { font-size: 12px; font-weight: 700; color: var(--acc); }
.st-card-name { font-family: var(--fontD); font-size: 21px; font-weight: 700; color: var(--txt); line-height: 1.5; }
.st-card-name small { font-size: 12.5px; margin-inline-start: 4px; }
.st-card-tag { font-size: 14.5px; color: var(--muted); line-height: 1.8; flex: 1; }
.st-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--rowDiv); }
.st-card-go { font-size: 13.5px; font-weight: 800; color: var(--acc); white-space: nowrap; }
.st-dots { display: flex; }
.st-dots i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(58,40,22,.2); }
.st-dots i + i { margin-inline-start: -7px; }

/* شريط الدعوة */
.st-band { display: flex; align-items: center; justify-content: space-between; gap: 22px 34px; padding: clamp(24px, 3.4vw, 38px) clamp(22px, 3.6vw, 44px); border-radius: var(--r-xl); }
.st-band h2 { font-size: clamp(22px, 2.8vw, 30px); margin: 0 0 8px; }
.st-band p { margin: 0; color: var(--muted); line-height: 1.9; max-width: 560px; }
.st-band-ctas { flex-shrink: 0; }

/* ══════════ صفحة الستايل: رأس التشريح ══════════ */
.st-hero { padding: 26px 0 clamp(20px, 3vw, 36px); }
.st-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  grid-template-areas: "text fig" "legend fig"; grid-template-rows: auto 1fr; column-gap: clamp(26px, 4vw, 60px); }
.st-hero-text { grid-area: text; }
.st-legend { grid-area: legend; }
.st-anatomy { grid-area: fig; margin: 0; align-self: start; justify-self: center; position: sticky; top: calc(var(--nav-h) + 18px); }

.st-hero h1 { font-size: clamp(38px, 5.2vw, 62px); line-height: 1.25; margin: 8px 0 14px; }
.st-hero h1 small { display: block; font-size: 15px; margin-top: 4px; }
.st-tagline { font-family: var(--fontD); font-size: clamp(19px, 2.2vw, 24px); color: var(--acc); line-height: 1.7; margin: 0 0 16px;
  padding-inline-start: 16px; border-inline-start: 3px solid var(--gold); }
.st-intro { font-size: 16.5px; line-height: 2.05; color: var(--muted); margin: 0 0 8px; }

.st-anat-frame { position: relative; display: inline-block; line-height: 0; border-radius: var(--r-xl);
  box-shadow: 0 2px 4px rgba(58,40,22,.08), 0 40px 70px -40px rgba(58,40,22,.55); }
.st-anat-frame img { display: block; width: auto; max-width: 100%; height: auto; max-height: calc(100svh - var(--nav-h) - 96px);
  border-radius: var(--r-xl); border: 1px solid rgba(255,255,255,.8); }
.st-anat-ph { display: block; width: min(520px, 80vw); aspect-ratio: 3 / 4; border-radius: var(--r-xl); }

/* النقاط */
/* الموضع من --x/--y (نسبة من الصورة): الصورة لا تنقلب في /en و/tr، والمتغيّرات لا يلمسها قالب القلب */
.st-hs { position: absolute; left: var(--x); top: var(--y); width: 34px; height: 34px; margin: -17px 0 0 -17px; padding: 0; border-radius: 50%; cursor: pointer; z-index: 2;
  border: 2px solid #fff; background: rgba(255,255,255,.82); color: var(--acc); font: 800 14px/1 var(--font);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: 0 6px 16px -6px rgba(30,20,10,.55); transition: transform .45s var(--bounce), background .2s, color .2s; }
.st-hs span { position: relative; z-index: 1; }
.st-hs::before { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(255,255,255,.85); animation: stPulse 2.4s var(--ease) infinite; }
.st-hs:nth-of-type(2n)::before { animation-delay: .6s; }
.st-hs:nth-of-type(3n)::before { animation-delay: 1.2s; }
.st-hs:hover, .st-hs.hl { transform: scale(1.12); }
.st-hs.on { background: var(--acc); color: #fff; transform: scale(1.18); z-index: 3; }
.st-hs.on::before { border-color: var(--gold); }
/* التلميح يفتح دائماً نحو داخل الصورة: يمين النقاط اليسرى · يسار النقاط اليمنى (flip) · تحت نقاط الوسط (mid)
   — النص الإنجليزي والتركي أطول من العربي، والصورة قد تلاصق حافة الشاشة في LTR */
.st-hs::after { content: attr(data-t); position: absolute; top: 50%; left: calc(100% + 12px); transform: translateY(-50%) scale(.92); opacity: 0;
  width: max-content; max-width: 210px; white-space: normal; text-align: center;
  pointer-events: none; font: 700 13px/1.35 var(--font); color: #fff; padding: 8px 13px; border-radius: 14px;
  background: rgba(42,33,26,.86); box-shadow: 0 10px 22px -10px rgba(0,0,0,.5); transition: opacity .2s, transform .3s var(--spring); }
.st-hs-flip::after { left: auto; right: calc(100% + 12px); }
.st-hs.on::after, .st-hs:hover::after { opacity: 1; transform: translateY(-50%) scale(1); }
.st-hs-mid::after { left: 50%; top: calc(100% + 12px); transform: translateX(-50%) scale(.92); }
.st-hs-mid.on::after, .st-hs-mid:hover::after { transform: translateX(-50%) scale(1); }
@keyframes stPulse { 0% { transform: scale(.8); opacity: .95 } 70%, 100% { transform: scale(1.45); opacity: 0 } }

/* التشريح (الشرح المرقّم) */
.st-legend { margin-top: 18px; }
.st-legend-title { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 19px; margin: 0 0 10px; }
.st-legend-title span { font-family: var(--font); font-size: 13px; font-weight: 400; color: var(--dim); }
.st-legend ol { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--rowDiv); }
.st-legend li { border-bottom: 1px solid var(--rowDiv); }
.st-legend li button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 4px; min-height: 48px; background: none; border: 0;
  cursor: pointer; text-align: start; font: 700 15.5px/1.6 var(--font); color: var(--txt); transition: color .2s; }
.st-legend li button b { flex: 0 0 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: 13.5px;
  color: var(--acc); background: rgba(138,90,43,.1); border: 1px solid rgba(138,90,43,.25); transition: background .2s, color .2s; }
.st-legend li button:hover { color: var(--acc); }
.st-legend li.on button b { background: var(--acc); color: #fff; border-color: var(--acc); }
.st-legend li p { display: none; margin: -2px 0 0; padding-block: 0 14px; padding-inline: 46px 4px; color: var(--muted); font-size: 15px; line-height: 1.95; }
.st-legend li.on p { display: block; animation: stIn .45s var(--spring); }
@keyframes stIn { from { opacity: 0; transform: translateY(-4px) } to { opacity: 1; transform: none } }

/* صفحة مختصرة (الستايلات التي لم يكتمل تشريحها) */
.st-swatches-lite { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 6px 0 16px; }
.st-swatches-lite span { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.st-swatches-lite i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(58,40,22,.22); }
.st-soon { color: var(--dim); font-size: 14.5px; line-height: 1.9; margin: 0 0 18px; }

/* ══════════ البصمة (العلامات) ══════════ */
.st-traits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--st-gap); }
.st-trait { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.st-trait figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.st-trait figure img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .8s var(--ease); }
.st-trait:hover figure img { transform: scale(1.05); }
.st-lens { background-size: 330%; background-repeat: no-repeat; background-position: var(--x) var(--y); }
.st-trait-body { padding: 16px 20px 20px; position: relative; }
.st-trait-n { position: absolute; top: -19px; inset-inline-start: 18px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  background: linear-gradient(165deg, var(--acc2), var(--acc)); color: #fff; font-size: 14px; border: 3px solid #fff; box-shadow: 0 6px 14px -6px var(--acc); }
.st-trait h3 { font-size: 18.5px; margin: 10px 0 6px; }
.st-trait p { margin: 0; color: var(--muted); font-size: 14.8px; line-height: 1.95; }

/* ══════════ الوصفة: الألوان والخامات ══════════ */
.st-recipe { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); }
.st-ratio { display: flex; gap: 8px; }
.st-ratio-seg { min-width: 0; display: flex; flex-direction: column; gap: 9px; }
.st-ratio-bar { display: flex; height: 64px; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(72,52,32,.1), 0 10px 20px -14px rgba(58,40,22,.4); }
.st-ratio-bar i { flex: 1; }
.st-ratio-seg span { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.st-ratio-seg span b { color: var(--txt); font-size: 15px; }
.st-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: 14px; margin: 26px 0 0; }
.st-sw { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; }
.st-sw i { grid-row: span 2; width: 44px; height: 44px; border-radius: 12px; border: 2px solid #fff; box-shadow: 0 2px 8px -2px rgba(58,40,22,.3); }
.st-sw b { font-size: 14px; color: var(--txt); }
.st-sw code { font: 12px/1.4 ui-monospace, Consolas, monospace; color: var(--dim); direction: ltr; text-align: start; }
.st-mats { margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--rowDiv); }
.st-mats h3 { font-size: 16px; margin: 0 0 12px; }
.st-mats div { display: flex; flex-wrap: wrap; gap: 9px; }
.st-mats span { font-size: 14px; font-weight: 700; color: var(--txt); padding: 8px 15px; border-radius: var(--r-pill);
  background: linear-gradient(160deg, rgba(255,255,255,.7), rgba(255,255,255,.45)); border: 1px solid var(--bdr); }
.st-origin { margin: 22px 0 0; font-size: 14.8px; line-height: 2; color: var(--muted); }
.st-origin b { color: var(--txt); }

/* ══════════ يناسبك / فكّر مرتين ══════════ */
.st-fit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--st-gap); }
.st-fit-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); }
.st-fit-card h2 { display: flex; align-items: center; gap: 12px; font-size: 22px; margin: 0 0 14px; }
.st-fit-ic { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: #fff; font: 800 17px/1 var(--font); }
.st-fit-yes { background: var(--ok); }
.st-fit-no { background: var(--warn); }
.st-fit-card ul { list-style: none; margin: 0; padding: 0; }
.st-fit-card li { position: relative; padding-block: 11px; padding-inline: 22px 0; border-top: 1px solid var(--rowDiv); font-size: 15.5px; line-height: 1.85; color: var(--txt); }
.st-fit-card li::before { content: ''; position: absolute; inset-inline-start: 4px; top: 22px; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(240,210,164,.35); }

/* ══════════ قريب منه بس مو هو ══════════ */
.st-vs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--st-gap); }
.st-vs-card { display: flex; gap: 14px; padding: 14px; border-radius: var(--r-lg); text-decoration: none; color: inherit; transition: transform .5s var(--spring); }
.st-vs-card:hover { transform: translateY(-3px); }
.st-vs-img { flex: 0 0 96px; height: 120px; border-radius: 12px; background-size: cover; background-position: center; }
.st-vs-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.st-vs-body b { font-family: var(--fontD); font-size: 15.5px; color: var(--txt); }
.st-vs-body span { font-size: 14px; line-height: 1.85; color: var(--muted); flex: 1; }
.st-vs-body em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--acc); }

/* ══════════ المساحات ══════════ */
.st-rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--st-gap); }
.st-rooms figure { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(255,255,255,.7); box-shadow: 0 1px 2px rgba(58,40,22,.07), 0 18px 34px -24px rgba(58,40,22,.45); }
.st-rooms img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .8s var(--ease); }
.st-rooms figure:hover img { transform: scale(1.05); }
.st-rooms figcaption { position: absolute; inset: auto 0 0 0; padding: 34px 16px 14px; font-weight: 700; font-size: 15px; color: #fff;
  background: linear-gradient(to top, rgba(42,33,26,.78), transparent); pointer-events: none; }

/* ══════════ من تنفيذ ارك (صور مشاريعنا الحقيقية) ══════════ */
.st-works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--st-gap); }
.st-works-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 900px; margin-inline: auto; }
.st-work { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.st-work figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; }
.st-work figure img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .8s var(--ease); }
.st-work:hover figure img { transform: scale(1.05); }
.st-work-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 18px 16px; }
.st-work-body b { font-family: var(--fontD); font-size: 16.5px; color: var(--txt); }
.st-work-body span { font-size: 13.5px; color: var(--muted); }
.st-work-body a { align-self: flex-start; margin-top: 6px; padding: 6px 0; font-size: 13.5px; font-weight: 800; color: var(--acc); text-decoration: none; }
.st-work-body a:hover { text-decoration: underline; }

/* السابق / التالي */
.st-pager { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.st-pager a { display: flex; flex-direction: column; gap: 2px; padding: 12px 20px; border-radius: var(--r-lg); text-decoration: none;
  background: linear-gradient(160deg, rgba(255,255,255,.62), rgba(255,255,255,.4)); border: 1px solid var(--bdr); transition: border-color .2s, transform .4s var(--spring); }
.st-pager a:last-child { text-align: end; }
.st-pager a:hover { border-color: rgba(138,90,43,.4); transform: translateY(-2px); }
.st-pager small { font-size: 12px; color: var(--dim); }
.st-pager b { font-family: var(--fontD); font-size: 16px; color: var(--txt); }

/* ══════════ اختبار الذوق ══════════ */
.st-quiz { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; padding: 16px;
  background: rgba(42,33,26,.42); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.st-quiz[hidden] { display: none; }
.st-quiz-box { width: min(940px, 100%); max-height: calc(100svh - 32px); overflow: auto; padding: clamp(18px, 2.6vw, 30px); border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(250,246,239,.97), rgba(244,238,228,.95)); animation: stIn .5s var(--spring); }
.st-quiz-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.st-quiz-step { font-size: 13.5px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.st-quiz-bar { flex: 1; height: 6px; border-radius: 9px; background: var(--track); overflow: hidden; }
.st-quiz-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--acc2), var(--acc)); border-radius: inherit; transition: width .6s var(--spring); }
.st-quiz-x { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; border: 1px solid var(--bdr); background: rgba(255,255,255,.7); font-size: 24px; line-height: 1; color: var(--txt); cursor: pointer; }
.st-quiz h3.st-qq { text-align: center; font-size: clamp(21px, 2.8vw, 28px); margin: 4px 0 18px; }
.st-qopts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.st-qopt { position: relative; aspect-ratio: 16 / 11; border-radius: var(--r-lg); border: 3px solid #fff; cursor: pointer; padding: 0; overflow: hidden;
  background-size: cover; background-position: center; box-shadow: 0 14px 28px -18px rgba(58,40,22,.55); transition: transform .5s var(--spring), border-color .2s, box-shadow .2s; }
.st-qopt:hover, .st-qopt:focus-visible { transform: translateY(-3px) scale(1.01); border-color: var(--acc2); box-shadow: 0 22px 36px -18px rgba(58,40,22,.6); }
.st-qopt.picked { border-color: var(--acc); transform: scale(.97); }
.st-qopt::after { content: attr(data-l); position: absolute; top: 10px; inset-inline-start: 10px; width: 32px; height: 32px; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.88); color: var(--acc); font: 800 14px/1 var(--font); }
.st-qres { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: center; }
.st-qres-img { aspect-ratio: 4 / 5; border-radius: var(--r-lg); background-size: cover; background-position: center; box-shadow: 0 22px 40px -24px rgba(58,40,22,.6); }
.st-qres small { font-size: 14px; color: var(--muted); }
.st-qres h3 { text-align: start; font-size: clamp(30px, 4vw, 44px); margin: 4px 0 8px; }
.st-qres p { color: var(--muted); line-height: 1.9; margin: 0 0 8px; font-size: 16px; }
.st-qres .st-qres-near { font-size: 14.5px; }
.st-qres .st-qres-near a { color: var(--acc); font-weight: 700; }
.st-qres-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.st-qres-again { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; padding: 10px 4px; min-height: 40px; }
body.st-lock { overflow: hidden; }

/* ══════════ الريسبونسف ══════════ */
@media (max-width: 1120px) {
  .st-cards, .st-traits, .st-rooms, .st-works { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-vs { grid-template-columns: 1fr; }
  .st-map { padding: 54px 78px 50px; }
}
@media (max-width: 900px) {
  .st-hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "fig" "legend"; grid-template-rows: auto; }
  .st-anatomy { position: static; margin-top: 18px; width: 100%; text-align: center; }
  .st-anat-frame { width: 100%; }
  .st-anat-frame img { max-height: none; width: 100%; }
  .st-hs::after { display: none; }
  .st-band { flex-direction: column; align-items: flex-start; }
  .st-fit { grid-template-columns: 1fr; }
  .st-qres { grid-template-columns: 1fr; }
  .st-qres-img { aspect-ratio: 16 / 10; }
}
/* التابلت والجوال: ١٢ اسماً لا تتّسع على الخريطة — الأسماء تختفي، واللمسة الأولى تعرض بطاقة الستايل تحتها */
@media (max-width: 900px) {
  .st-pin-name { display: none; }
  .st-map-peek { display: block; margin-top: 18px; }
  .st-map-hint { margin: 0; text-align: center; font-size: 13.5px; color: var(--dim); padding: 6px 0 2px; }
  .st-map-peek a { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: var(--r-lg); text-decoration: none; color: inherit;
    background: rgba(255,255,255,.7); border: 1px solid var(--bdr); animation: stIn .4s var(--spring); }
  .st-map-peek i { flex: 0 0 64px; height: 64px; border-radius: 12px; background-size: cover; background-position: center; }
  .st-map-peek b { display: block; font-family: var(--fontD); font-size: 16px; color: var(--txt); }
  .st-map-peek span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.7; }
  .st-map-peek em { font-style: normal; font-size: 13px; font-weight: 800; color: var(--acc); }
}
@media (max-width: 700px) {
  .st-map-peek { margin-top: 50px; }
}
@media (max-width: 700px) {
  .st-map { padding: 46px 12px 16px; }
  .st-plot { height: 430px; margin: 0 26px; }
  .st-ax { font-size: 11.5px; padding: 4px 9px; }
  /* المحاور الثلاثة في صفّ تحت مساحة الرسم مباشرة (لا فوق التلميح) */
  .st-ax-start, .st-ax-end, .st-ax-bot { top: 488px; bottom: auto; transform: none; }
  .st-ax-start { inset-inline-start: 12px; }
  .st-ax-end { inset-inline-end: 12px; }
  .st-ax-bot { left: 50%; transform: translateX(-50%); }
  .st-ax-top { top: 12px; }
  .st-pin-in { left: -23px; top: -23px; width: 46px; }
  .st-pin-img { width: 46px; height: 46px; border-width: 2px; }
  .st-cards, .st-traits, .st-rooms, .st-works { grid-template-columns: minmax(0, 1fr); }
  .st-rooms figure { aspect-ratio: 4 / 4.4; }
  .st-ratio { flex-direction: column; }
  .st-ratio-seg { flex: none !important; }
  .st-ratio-bar { height: 46px; }
  .st-qopts { gap: 10px; }
  .st-qopt { aspect-ratio: 1 / 1.05; }
  .st-pager b { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-hs::before, .st-you::before { animation: none; }
}
