/* الصفحات الداخلية */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px var(--gutter); align-items: start; }
.split .lead + .lead { margin-top: 20px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* معنى الاسم */
.name-card { border: 1px solid var(--line-2); border-radius: 8px; padding: clamp(28px, 4vw, 48px); background: linear-gradient(160deg, var(--bg-3), var(--bg-2)); position: relative; overflow: hidden; }
.name-card__word { font-family: "Cormorant Garamond", serif; font-size: clamp(54px, 8vw, 110px); letter-spacing: 0.12em; line-height: 1; direction: ltr; text-align: center; }
.name-card__word span { color: var(--ink); } .name-card__word em { font-style: normal; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.name-card__parts { display: grid; grid-template-columns: 1fr 1fr; margin-top: 34px; border-top: 1px solid var(--line); }
.name-card__parts div { padding: 22px 0 0; text-align: center; }
.name-card__parts div + div { border-inline-start: 1px solid var(--line); }
.name-card__parts b { display: block; font-family: "Cormorant Garamond", serif; font-size: 30px; font-weight: 500; color: var(--gold-2); direction: ltr; }
.name-card__parts span { color: var(--ink-2); font-size: 15px; }

/* القيم */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value { border: 1px solid var(--dark-line); border-radius: 8px; padding: 34px 30px; background: var(--paper); transition: transform 0.6s var(--ease), box-shadow 0.6s; }
.value:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -30px rgba(21, 18, 14, 0.35); }
.value .num { color: #9a7425; font-size: 22px; }
.value h3 { font-size: 30px; margin: 40px 0 10px; }
.value p { color: var(--dark-2); font-size: 15px; }
@media (max-width: 900px) { .values { grid-template-columns: 1fr; } }

/* القائد */
.leader { display: grid; grid-template-columns: auto 1fr; gap: 30px var(--gutter); align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 50px; }
.leader__mono { width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #2b2418, #120f0b); border: 1px solid rgba(227, 195, 123, 0.35); font-family: "Cormorant Garamond", serif; font-size: 52px; color: var(--gold-2); direction: ltr; }
.leader h3 { font-size: clamp(30px, 3vw, 44px); }
.leader p { color: var(--ink-2); margin-top: 8px; }
@media (max-width: 700px) { .leader { grid-template-columns: 1fr; } }

/* الخدمات بالتفصيل */
.svc-block { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px var(--gutter); padding-block: clamp(70px, 10vh, 120px); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc-block:first-child { border-top: 0; }
.svc-block__head { position: sticky; top: 120px; align-self: start; }
.svc-block__head .big { font-family: var(--f-num); font-size: clamp(90px, 11vw, 170px); line-height: 0.85; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.svc-block__head svg { width: 54px; height: 54px; stroke: var(--gold-2); fill: none; stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; margin-top: 26px; }
.svc-block__head h2 { font-size: clamp(36px, 4vw, 60px); margin-top: 14px; }
.svc-block__body .lead { margin-bottom: 34px; }
.inc { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; border-top: 1px solid var(--line-2); }
.inc div { padding: 18px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; }
.inc div::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); flex-shrink: 0; translate: 0 -2px; }
.inc b { font-weight: 500; display: block; } .inc span { color: var(--ink-2); font-size: 14px; }
.fits { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; align-items: center; }
.fits small { color: var(--muted); font-size: 12.5px; margin-inline-end: 6px; }
.fits span { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 14px; font-size: 13.5px; color: var(--ink-2); }
@media (max-width: 900px) { .svc-block { grid-template-columns: 1fr; } .svc-block__head { position: static; } .inc { grid-template-columns: 1fr; } }

/* قنوات التواصل */
.channels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.channel { border: 1px solid var(--line-2); border-radius: 8px; padding: 30px; display: grid; gap: 18px; transition: border-color 0.4s, background 0.4s, transform 0.5s var(--ease); }
.channel:hover { border-color: var(--gold-2); background: var(--bg-3); transform: translateY(-3px); }
.channel svg { width: 34px; height: 34px; stroke: var(--gold-2); fill: none; stroke-width: 1.3; }
.channel small { color: var(--muted); font-size: 12.5px; }
.channel b { font-family: var(--f-display); font-weight: 400; font-size: 24px; display: block; }
@media (max-width: 900px) { .channels { grid-template-columns: 1fr; } }
.channel b[dir="ltr"] { text-align: start; unicode-bidi: plaintext; }

/* ———— معرض الأعمال ———— */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.filters button { border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 18px; font-size: 14px; color: var(--ink-2); transition: all 0.35s var(--ease); }
.filters button:hover { border-color: var(--gold-2); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--gold-grad); color: #120f0a; border-color: transparent; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 46px 24px; }
.pcard { display: block; }
.pcard__img { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; position: relative; background: var(--bg-3); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease), filter 0.6s; filter: saturate(0.92); }
.pcard:hover .pcard__img img { transform: scale(1.05); filter: none; }
.pcard__img span { position: absolute; top: 14px; inset-inline-start: 14px; font-size: 12px; background: rgba(11, 10, 8, 0.7); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--ink-2); }
.pcard h3 { font-size: 26px; margin-top: 18px; }
.pcard p { color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.pcard.is-hidden { display: none; }
@media (max-width: 1000px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .gallery { grid-template-columns: 1fr; } }

/* ———— صفحة المشروع ———— */
.p-hero { position: relative; height: 92vh; min-height: 560px; overflow: hidden; }
.p-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 10, 8, 0.92) 0%, rgba(11, 10, 8, 0.2) 55%, rgba(11, 10, 8, 0.5) 100%); }
.p-hero .container { position: absolute; inset: auto 0 60px; z-index: 1; }
.p-hero h1 { font-size: clamp(44px, 6vw, 96px); margin-top: 16px; }
.p-hero p { max-width: 640px; margin-top: 16px; }
.facts-table { display: grid; border-top: 1px solid var(--line-2); }
.facts-table div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts-table dt { color: var(--muted); font-size: 13.5px; } .facts-table dd { margin: 0; }
.p-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.p-grid button { overflow: hidden; border-radius: 6px; grid-column: span 2; aspect-ratio: 4 / 3; background: var(--bg-3); }
.p-grid button:nth-child(5n + 1) { grid-column: span 4; aspect-ratio: auto; }
.p-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.p-grid button:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .p-grid { grid-template-columns: 1fr 1fr; } .p-grid button, .p-grid button:nth-child(5n + 1) { grid-column: span 1; aspect-ratio: 1; } .facts-table div { grid-template-columns: 1fr; gap: 4px; } }
.next-p { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 20px; border-top: 1px solid var(--line); padding-top: 40px; }
.next-p small { color: var(--muted); } .next-p h3 { font-size: clamp(32px, 4vw, 60px); transition: color 0.3s; }
.next-p:hover h3 { color: var(--gold-2); }

/* ———— المكبّر ———— */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 4, 3, 0.95); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: opacity 0.5s var(--ease), visibility 0.5s; }
.lightbox.is-on { opacity: 1; visibility: visible; }
.lightbox figure { margin: 0; max-width: 92vw; text-align: center; }
.lightbox img { max-width: 92vw; max-height: 80vh; border-radius: 4px; }
.lightbox figcaption { color: var(--ink-2); font-size: 14px; margin-top: 14px; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 20px; }
.lightbox button:hover { border-color: var(--gold-2); color: var(--gold-2); }
.lb-close { top: 22px; inset-inline-end: 22px; } .lb-prev { inset-inline-start: 22px; top: 50%; } .lb-next { inset-inline-end: 22px; top: 50%; }

/* ———— الأسئلة الشائعة ———— */
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--f-display); font-size: clamp(20px, 1.8vw, 26px); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); flex-shrink: 0; position: relative; transition: transform 0.4s var(--ease), border-color 0.3s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; background: currentColor; translate: -50% -50%; }
.faq summary i::after { transform: rotate(90deg); transition: transform 0.4s var(--ease); }
.faq details[open] summary i { border-color: var(--gold-2); color: var(--gold-2); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { color: var(--ink-2); padding-bottom: 26px; max-width: 820px; }
.section--paper .faq { border-color: var(--dark-line); } .section--paper .faq details { border-color: var(--dark-line); } .section--paper .faq details p { color: var(--dark-2); }
.section--paper .faq summary i { border-color: rgba(21, 18, 14, 0.25); }

/* ———— صناديق عامة ———— */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { border: 1px solid var(--line-2); border-radius: 8px; padding: 32px 28px; background: var(--bg-2); transition: border-color 0.4s, transform 0.5s var(--ease); display: flex; flex-direction: column; gap: 12px; }
a.card:hover { border-color: var(--gold-2); transform: translateY(-3px); }
.card .num { color: var(--gold-2); font-size: 20px; }
.card h3 { font-size: 28px; }
.card p { color: var(--ink-2); font-size: 15px; }
.card .link { margin-top: auto; padding-top: 10px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.section--paper .card { background: var(--paper); border-color: var(--dark-line); color: var(--dark); }
.section--paper .card p { color: var(--dark-2); } .section--paper .card .num { color: #9a7425; }

.study { display: grid; grid-template-columns: 1fr 1fr; gap: 40px var(--gutter); align-items: start; }
.study__hl { margin-top: 26px; border: 1px solid rgba(227, 195, 123, 0.4); border-radius: 8px; padding: 18px 22px; background: rgba(201, 161, 74, 0.08); color: var(--gold-2); font-family: var(--f-display); font-size: 21px; }
.checks { display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.checks li { list-style: none; padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; align-items: baseline; }
.checks li::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); flex-shrink: 0; translate: 0 -2px; }
.checks { padding: 0; margin: 0; }
@media (max-width: 900px) { .study { grid-template-columns: 1fr; } }

.timelines { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 60px; border-top: 1px solid var(--dark-line); }
.timelines div { padding: 30px 26px 0; border-inline-start: 1px solid var(--dark-line); }
.timelines div:first-child { border: 0; padding-inline-start: 0; }
.timelines b { font-family: var(--f-num); font-weight: 500; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; display: block; direction: ltr; text-align: start; }
html[dir="rtl"] .timelines b { text-align: right; }
.timelines small { font-size: 0.4em; color: #9a7425; }
.timelines span { color: var(--dark-2); font-size: 15px; display: block; margin-top: 10px; }
.note { margin-top: 24px; font-size: 13px; color: rgba(21, 18, 14, 0.55); }
@media (max-width: 760px) { .timelines { grid-template-columns: 1fr; } .timelines div { border: 0; border-top: 1px solid var(--dark-line); padding: 22px 0; } }

.chips-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-row span { border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 16px; font-size: 14px; color: var(--ink-2); }

.gm { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px var(--gutter); }
.gm blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(30px, 3.4vw, 52px); line-height: 1.35; }
.gm blockquote .q { color: var(--gold-2); font-family: var(--f-num); }
.gm .lead + .lead { margin-top: 18px; }
.gm__sig { display: flex; align-items: center; gap: 16px; margin-top: 30px; }
.gm__sig .leader__mono { width: 64px; height: 64px; font-size: 24px; }
.gm__sig b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 22px; }
.gm__sig span { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .gm { grid-template-columns: 1fr; } }

.legal-body { max-width: 860px; }
.legal-body h2 { font-size: clamp(24px, 2.2vw, 32px); margin: 50px 0 14px; }
.legal-body p { color: var(--ink-2); margin-bottom: 12px; }

/* نموذج عرض السعر */
.field select { width: 100%; background: transparent; border: 0; outline: 0; color: var(--ink); font: inherit; font-size: 17px; padding: 8px 0 14px; appearance: none; cursor: pointer; }
.field select option { background: var(--bg-2); color: var(--ink); }
.field--select label { transform: translateY(-24px); font-size: 12px; color: var(--gold-2); }
.hours { display: grid; grid-template-columns: 1fr auto; gap: 8px 30px; margin-top: 6px; }
.hours span { color: var(--ink-2); }

/* ———— الجولات ثلاثية الأبعاد ———— */
.tours { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.tcard { text-align: start; border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; background: var(--bg-2); transition: border-color 0.4s, transform 0.5s var(--ease); }
.tcard:hover { border-color: var(--gold-2); transform: translateY(-3px); }
.tcard__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e9e4dc; }
.tcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tcard:hover .tcard__img img { transform: scale(1.04); }
.tcard__img span { position: absolute; bottom: 14px; inset-inline-start: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(11, 10, 8, 0.82); backdrop-filter: blur(8px); color: var(--ink); border: 1px solid rgba(227, 195, 123, 0.35); border-radius: 999px; padding: 8px 16px; font-size: 13.5px; }
.tcard__img svg { width: 16px; height: 16px; fill: none; stroke: var(--gold-2); stroke-width: 1.5; stroke-linejoin: round; }
.tcard__body { padding: 24px 26px 28px; display: grid; gap: 8px; }
.tcard__body h3 { font-size: 26px; }
.tcard__body p { color: var(--ink-2); font-size: 15px; }
.tcard__body small { color: var(--gold-2); font-size: 13px; }
@media (max-width: 820px) { .tours { grid-template-columns: 1fr; } }
.tour-modal { position: fixed; inset: 0; z-index: 220; background: rgba(5, 4, 3, 0.94); backdrop-filter: blur(6px); padding: 14px; display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity 0.4s var(--ease), visibility 0.4s; }
.tour-modal.is-on { opacity: 1; visibility: visible; }
.tour-modal__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 4px 6px 12px; font-family: var(--f-display); font-size: 20px; }
.tour-modal__bar button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); }
.tour-modal__bar button:hover { border-color: var(--gold-2); color: var(--gold-2); }
.tour-modal iframe { flex: 1; width: 100%; border: 0; border-radius: 10px; background: #e9e4dc; }

/* صورة المؤسس والمدير العام */
.gm { align-items: center; }
.gm__photo { border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, #f4efe6, #d9cdb8); aspect-ratio: 4 / 4.6; position: relative; }
.gm__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gm__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 4px; background: var(--gold-grad); }
