/* درع الميثاق — بقية التنسيق (يُحمَّل بشكل غير حاجب للعرض). الأساس والهيدر والبنر في critical.css */

.section-head-center { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.section-head-center .lead { margin-inline: auto; }
.section-head-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
.section-head-split .eyebrow { margin-bottom: 14px; }
.section-head-split > .lead { margin: 0; justify-self: end; }
.section-head-split > .btn { justify-self: end; }
@media (max-width: 800px) {
  .section-head-split { grid-template-columns: 1fr; }
  .section-head-split > .lead, .section-head-split > .btn { justify-self: start; }
}

/* ── من نحن ── */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.about-side { display: grid; gap: 28px; align-content: space-between; padding-inline-start: clamp(0px, 4vw, 198px); }
.about-stat { display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; align-items: start; }
.stat-num { position: relative; grid-row: span 2; font-family: var(--font-head); font-size: clamp(3.2rem, 6vw, 4.8rem); font-weight: 700; line-height: 1; color: var(--green-900); letter-spacing: -.02em; }
.stat-star { position: absolute; top: -6px; inset-inline-start: -16px; width: 14px; height: 14px; background: var(--gold); transform: rotate(45deg); }
.stat-label { grid-column: 1; font-family: var(--font-head); font-size: .85rem; color: var(--muted); }
.about-stat p { grid-column: 2; grid-row: 1 / span 2; margin: 0; color: var(--muted); font-size: .98rem; }
.about-stat .btn { grid-column: 2; margin-top: 12px; width: fit-content; }
.about-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mini-card { padding: 26px 24px; border-radius: var(--radius); background: var(--paper); transition: transform .4s var(--ease), background .3s; }
.mini-card:hover { transform: translateY(-4px); background: var(--cream); }
.mini-ico { width: 34px; height: 34px; margin-bottom: 28px; color: var(--gold-700); stroke-width: 1.3; }
.mini-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.mini-card p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.7; }
.about-photo { position: relative; margin: 0; min-height: 440px; border-radius: 28px; overflow: hidden; background: var(--sand); }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-photo figcaption { position: absolute; inset-inline: 16px; bottom: 16px; display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-radius: 18px; background: rgba(4, 47, 39, .92); color: var(--white); font-family: var(--font-head); font-size: .95rem; }
.about-photo figcaption .mark { height: 34px; width: auto; color: var(--gold); flex: none; }
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-side { padding-inline-start: 0; }
  .about-photo { min-height: 340px; order: -1; }
}
@media (max-width: 520px) {
  .about-stat { grid-template-columns: 1fr; }
  .about-stat p, .about-stat .btn { grid-column: 1; grid-row: auto; }
  .stat-num { grid-row: auto; margin-inline-start: 16px; }
}

/* ── الفلسفة: الأركان الثلاثة ── */
.section-green { background: var(--green-900); color: var(--white); padding-bottom: calc(clamp(76px, 9vw, 124px) + var(--radius-lg)); overflow: hidden; }
.section-green .lead { color: rgba(255, 255, 255, .72); }
.section-green .strip-end { inset-inline-end: auto; inset-inline-start: max(20px, calc((100vw - var(--container)) / 2 - 70px)); opacity: .18; }
.pillars { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 90px); align-items: center; }
.pillars-mark { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 45%, rgba(212, 171, 104, .16), transparent 68%); }
.mark-xl { width: min(58%, 250px); height: auto; color: var(--gold); overflow: visible; }
.mark-xl path { opacity: .16; transition: opacity .5s, transform .6s var(--ease); transform-box: fill-box; transform-origin: center; }
[data-active="shield"] .mark-shield, [data-active="palm"] .mark-palm, [data-active="book"] .mark-book { opacity: 1; }
[data-active="shield"] .mark-shield { transform: translateY(-5px); }
[data-active="book"] .mark-book { transform: translateY(5px); }
[data-active="palm"] .mark-palm { transform: scale(1.04); }
.pillars-list { display: grid; gap: 14px; }
.pillar { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 26px 28px; border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); cursor: pointer; transition: background .4s, border-color .4s; }
.pillar-num { font-family: var(--font-head); font-size: .95rem; font-weight: 500; color: var(--gold); opacity: .6; padding-top: 4px; }
.pillar h3 { font-size: 1.3rem; margin-bottom: 8px; transition: color .3s; }
.pillar p { margin: 0; color: rgba(255, 255, 255, .62); font-size: .95rem; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.pillar.is-active { background: rgba(255, 255, 255, .05); border-color: rgba(212, 171, 104, .55); }
.pillar.is-active h3 { color: var(--gold); }
.pillar.is-active p { -webkit-line-clamp: unset; color: rgba(255, 255, 255, .8); }
.pillar.is-active .pillar-num { opacity: 1; }
.credo { margin: clamp(48px, 6vw, 80px) auto 0; max-width: 820px; text-align: center; }
.credo p { margin: 0; font-family: var(--font-head); font-size: clamp(1.2rem, 2.3vw, 1.75rem); font-weight: 500; line-height: 1.8; color: var(--gold-300); }
.credo::before { content: ""; display: block; width: 90px; height: 20px; margin: 0 auto 24px; background: var(--strip-h) center / auto 20px repeat-x; }
@media (max-width: 860px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars-mark { max-width: 260px; margin-inline: auto; width: 100%; }
  .pillar { padding: 22px 20px; gap: 16px; }
}

/* ── مجالات العمل ── */
.sector-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.sector-card { position: relative; display: block; aspect-ratio: 3 / 3.9; border-radius: var(--radius); overflow: hidden; color: var(--white); background: var(--green-900); isolation: isolate; }
.sector-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sector-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(2, 31, 26, .95) 8%, rgba(2, 31, 26, .35) 58%, rgba(2, 31, 26, .1)); }
.sector-card:hover img { transform: scale(1.07); }
.sector-body { position: absolute; inset-inline: 24px 78px; bottom: 24px; display: grid; gap: 8px; }
.sector-ico { width: 30px; height: 30px; color: var(--gold); stroke-width: 1.3; margin-bottom: 4px; }
.sector-body strong { font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; line-height: 1.4; }
.sector-body span { font-size: .9rem; line-height: 1.7; color: rgba(255, 255, 255, .8); }
.sector-card > .btn-ico { position: absolute; inset-inline-end: 20px; bottom: 24px; width: 44px; height: 44px; background: var(--gold); color: var(--green-950); }

/* ── لماذا نحن ── */
.why-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion details:first-child { border-top: 1px solid var(--line); }
.accordion summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; font-family: var(--font-head); font-size: 1.14rem; font-weight: 600; cursor: pointer; list-style: none; transition: color .25s; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary:hover, .accordion details[open] summary { color: var(--green-700); }
.acc-ico { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--paper); color: var(--gold-700); transition: transform .4s var(--ease), background .3s, color .3s; }
.accordion details[open] .acc-ico { transform: rotate(45deg); background: var(--gold); color: var(--green-950); }
.accordion details p { margin: 0; padding: 0 4px 24px; max-width: 54ch; color: var(--muted); }
.why-photo { position: relative; margin: 0; aspect-ratio: 5 / 4.4; border-radius: 28px; overflow: hidden; background: var(--sand); }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.legal-chip { position: absolute; inset-inline-start: 18px; top: 18px; display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 16px; background: var(--white); box-shadow: 0 16px 40px -18px rgba(0, 0, 0, .5); font-size: .78rem; color: var(--muted); line-height: 1.5; }
.legal-chip .icon { width: 28px; height: 28px; color: var(--gold-700); }
.legal-chip b { display: block; font-family: var(--font-head); font-size: 1.02rem; color: var(--green-900); letter-spacing: .04em; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr; } }

/* ── المشاريع ── */
.project-mosaic { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-auto-rows: 272px; gap: 22px; }
.project-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: var(--white); background: var(--green-900); isolation: isolate; }
.project-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(2, 31, 26, .94) 4%, rgba(2, 31, 26, .25) 60%, transparent); }
.project-card:hover img { transform: scale(1.06); }
.project-tall { grid-row: span 2; }
.project-mosaic > .project-card:nth-child(3) { grid-column: 2; grid-row: 2; }
.project-meta { position: absolute; inset-inline: 24px 74px; bottom: 22px; display: grid; gap: 4px; }
.project-meta small { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--gold-300); }
.project-meta small .icon { width: 15px; height: 15px; color: var(--gold); }
.project-meta strong { font-family: var(--font-head); font-size: 1.28rem; font-weight: 600; line-height: 1.45; }
.project-meta > span { font-size: .88rem; line-height: 1.7; color: rgba(255, 255, 255, .8); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.project-card > .btn-ico { position: absolute; inset-inline-end: 18px; bottom: 22px; width: 42px; height: 42px; background: var(--gold); color: var(--green-950); }
.project-cta { grid-column: 3; grid-row: 1 / span 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 30px 28px; border-radius: var(--radius); background: var(--green-900); color: var(--white); position: relative; overflow: hidden; }
.project-cta .mark { position: absolute; top: 28px; inset-inline-start: 28px; height: 64px; width: auto; color: var(--gold); }
.project-cta::before { content: ""; position: absolute; inset-inline-end: 22px; top: 0; bottom: 0; width: 22px; background: var(--strip-v) center top / 22px auto repeat-y; opacity: .16; }
.project-cta h3 { position: relative; font-size: 1.5rem; }
.project-cta p { position: relative; margin: 0 0 10px; color: rgba(255, 255, 255, .72); font-size: .94rem; }
.project-cta .btn { position: relative; width: fit-content; }
@media (max-width: 1000px) {
  .project-mosaic { grid-template-columns: 1fr 1fr; }
  .project-mosaic > .project-card:nth-child(3) { grid-column: auto; grid-row: auto; }
  .project-cta { grid-column: 1 / -1; grid-row: auto; min-height: 280px; }
}
@media (max-width: 640px) {
  .project-mosaic { grid-template-columns: 1fr; grid-auto-rows: 300px; }
  .project-tall { grid-row: span 1; }
}

/* ── شبكات البطاقات على الجوال: سحب أفقي ── */
@media (max-width: 760px) {
  .sector-grid, .value-grid { display: flex; gap: 14px; margin-inline: -20px; padding-inline: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .sector-grid::-webkit-scrollbar, .value-grid::-webkit-scrollbar { display: none; }
  .sector-card, .value-card { flex: 0 0 82%; scroll-snap-align: center; }
}

/* ── شريط الصور ومعرض الصور ── */
.section-strip { padding-bottom: clamp(60px, 7vw, 96px); }
.strip-scroller { overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-inline: max(20px, calc((100vw - var(--container)) / 2)); cursor: grab; }
.strip-scroller::-webkit-scrollbar { display: none; }
.strip-scroller.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.strip-scroller.is-dragging a { pointer-events: none; }
.strip-track { display: flex; gap: 18px; width: max-content; }
.strip-track .gallery-item { width: min(78vw, 430px); aspect-ratio: 16 / 10.5; scroll-snap-align: center; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gallery-grid .gallery-item { aspect-ratio: 4 / 3; }
/* تكبير بعض الصور بحسب العدد حتى لا تبقى خانات فارغة في الشبكة الرباعية */
.gallery-grid.g-mod-1 .gallery-item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-grid.g-mod-3 .gallery-item:first-child,
.gallery-grid.g-mod-2 .gallery-item:nth-child(-n+2) { grid-column: span 2; aspect-ratio: 8 / 2.93; }
[dir="rtl"] dd[dir="ltr"] { text-align: right; }
.gallery-item { position: relative; display: block; border-radius: 18px; overflow: hidden; background: var(--sand); -webkit-user-drag: none; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); -webkit-user-drag: none; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-zoom { position: absolute; inset-inline-end: 12px; top: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(4, 47, 39, .82); color: var(--gold); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease); }
.gallery-zoom .icon { width: 16px; height: 16px; }
.gallery-item:hover .gallery-zoom, .gallery-item:focus-visible .gallery-zoom { opacity: 1; transform: none; }
.render-note { margin: 22px 0 0; font-size: .8rem; color: var(--muted); }
@media (max-width: 760px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gallery-grid.g-mod-2 .gallery-item:nth-child(-n+2) { grid-column: auto; aspect-ratio: 4 / 3; }
  .gallery-grid.g-mod-1 .gallery-item:first-child, .gallery-grid.g-mod-3 .gallery-item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
}

.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(2, 20, 17, .95); }
.lb-figure { margin: 0; display: grid; gap: 12px; justify-items: center; max-width: min(1400px, 100%); }
.lb-figure img { max-width: 100%; max-height: calc(100svh - 120px); width: auto; height: auto; border-radius: 12px; object-fit: contain; }
.lb-figure figcaption { display: flex; gap: 16px; align-items: center; color: rgba(255, 255, 255, .85); font-size: .9rem; text-align: center; }
.lb-count { color: var(--gold); font-family: var(--font-head); font-size: .82rem; }
.lb-btn { position: absolute; z-index: 2; display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: rgba(4, 47, 39, .7); color: var(--white); cursor: pointer; transition: background .25s, color .25s; }
.lb-btn:hover { background: var(--gold); color: var(--green-950); }
.lb-close { top: 18px; inset-inline-end: 18px; }
.lb-prev { top: 50%; inset-inline-start: 18px; transform: translateY(-50%); }
.lb-next { top: 50%; inset-inline-end: 18px; transform: translateY(-50%); }
[dir="rtl"] .lb-prev .icon { transform: scaleX(-1); }
[dir="ltr"] .lb-prev .icon { transform: none; }
@media (max-width: 700px) { .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; } .lb-figure img { max-height: calc(100svh - 190px); } }

/* ── قسم التواصل والنموذج ── */
.enquiry { color: var(--white); background: var(--green-950); isolation: isolate; overflow: hidden; }
.enquiry-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.enquiry::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(2, 31, 26, .78), rgba(2, 31, 26, .95)); }
[dir="rtl"] .enquiry::after { background: linear-gradient(255deg, rgba(2, 31, 26, .78), rgba(2, 31, 26, .95)); }
.enquiry-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.enquiry-copy h2 { margin-top: 18px; font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 700; }
.enquiry-copy .lead { color: rgba(255, 255, 255, .78); }
.enquiry-points { display: grid; gap: 12px; margin-top: 30px; }
.enquiry-points li { display: flex; align-items: center; gap: 14px; font-family: var(--font-head); font-size: 1rem; }
.enquiry-points .icon { width: 44px; height: 44px; padding: 11px; border-radius: 50%; border: 1px solid rgba(212, 171, 104, .5); color: var(--gold); }
.form-card { padding: clamp(22px, 3.4vw, 38px); border-radius: 28px; background: var(--white); color: var(--ink); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.form-title { font-size: 1.5rem; }
.form-note { margin: 4px 0 22px; font-size: .9rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label { font-family: var(--font-head); font-size: .82rem; font-weight: 500; color: var(--ink); }
.field label b { color: #b3261e; font-weight: 500; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 11px 16px; border: 1.5px solid transparent; border-radius: 14px; background: var(--paper); font-size: .96rem; transition: border-color .25s, background .25s; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); }
.field input[dir="ltr"] { text-align: start; }
[dir="rtl"] .field input[dir="ltr"] { text-align: right; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; background: #fdf3f2; }
.field-msg { font-size: .78rem; color: #b3261e; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0 6px; font-size: .86rem; color: var(--muted); line-height: 1.7; cursor: pointer; }
.consent-check input { width: 18px; height: 18px; margin-top: 4px; accent-color: var(--green-900); flex: none; }
.consent-check a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.consent-check.has-error { color: #b3261e; }
.form-error { margin: 10px 0 0; padding: 10px 14px; border-radius: 12px; background: #fdf3f2; color: #8c1d18; font-size: .9rem; }
.btn-submit { margin-top: 16px; }
.btn-submit.is-loading { opacity: .65; pointer-events: none; }
.btn-submit.is-loading .btn-ico { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form-success { display: grid; justify-items: center; gap: 10px; padding: 34px 10px; text-align: center; }
.form-success:focus { outline: none; }
.success-mark { display: grid; place-items: center; width: 92px; height: 92px; border-radius: 50%; background: var(--green-900); color: var(--gold); }
.success-mark .mark { height: 46px; width: auto; }
.form-success h3 { font-size: 1.5rem; margin-top: 8px; }
.form-success p { color: var(--muted); max-width: 40ch; }
@media (max-width: 900px) { .enquiry-inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ── الدعوة الختامية ── */
.cta-band { position: relative; padding-block: clamp(100px, 13vw, 170px) calc(clamp(100px, 13vw, 170px) + var(--radius-lg)); background: var(--green-950); color: var(--white); text-align: center; isolation: isolate; overflow: hidden; }
.cta-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(2, 31, 26, .7), rgba(2, 31, 26, .94)); }
.cta-inner { display: grid; justify-items: center; }
.cta-mark .mark { height: 62px; width: auto; color: var(--gold); margin-bottom: 22px; }
.cta-band h2 { font-size: clamp(1.9rem, 4.4vw, 3.3rem); font-weight: 700; }
.cta-band p { max-width: 580px; margin: 16px 0 30px; color: rgba(255, 255, 255, .82); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }

/* ── التذييل ── */
.site-footer { position: relative; z-index: 2; margin-top: calc(var(--radius-lg) * -1); padding: clamp(52px, 6vw, 80px) 0 26px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--white); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr; gap: 36px; }
.logo-footer { height: 58px; width: auto; }
.footer-tagline { margin: 18px 0 6px; font-family: var(--font-head); font-weight: 600; color: var(--green-900); }
.footer-about { max-width: 34ch; font-size: .9rem; color: var(--muted); }
.footer-title { margin-bottom: 16px; font-size: 1.08rem; }
.footer-list { display: grid; gap: 10px; font-size: .93rem; }
.footer-list li { display: flex; gap: 10px; align-items: flex-start; }
.footer-list .icon { width: 18px; height: 18px; margin-top: 5px; color: var(--gold-700); }
.footer-list a { transition: color .25s; }
.footer-list a:hover { color: var(--gold-700); }
.footer-social { display: flex; gap: 8px; margin-top: 18px; }
.footer-social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; transition: background .25s, color .25s, border-color .25s; }
.footer-social a:hover { background: var(--green-900); border-color: var(--green-900); color: var(--gold); }
.footer-social .icon { width: 17px; height: 17px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 42px; }
.footer-legal span { padding: 6px 16px; border-radius: 999px; background: var(--paper); font-size: .8rem; color: var(--muted); }
.footer-legal b { font-family: var(--font-head); font-weight: 600; color: var(--green-900); margin-inline-start: 4px; letter-spacing: .03em; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.footer-bottom p { margin: 0; }
.link-btn { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: 28px; } }

/* ── واتساب العائم وشريط الموافقة (في جهتين متقابلتين) ── */
.wa-float { position: fixed; z-index: 55; left: 18px; bottom: 18px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #1faa59; color: #fff; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float .icon { width: 28px; height: 28px; }
.consent { position: fixed; z-index: 70; right: 18px; bottom: 18px; width: min(420px, calc(100vw - 36px)); padding: 20px 22px; border-radius: 20px; background: var(--white); color: var(--ink); box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5); border: 1px solid var(--line); font-size: .88rem; line-height: 1.75; }
.consent p { margin: 0 0 14px; }
.consent a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.consent-actions { display: flex; gap: 8px; }
.consent .btn { padding-inline: 22px; }

/* ── الصفحات الداخلية ── */
.page-body { padding-block: clamp(56px, 7vw, 96px); }
.page-body + .section { padding-top: 0; }

/* قيم الشركة / الرؤية والرسالة */
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value-card { padding: 32px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.section-cream .value-card { border-color: transparent; }
.value-card .icon { width: 36px; height: 36px; margin-bottom: 26px; color: var(--gold-700); stroke-width: 1.3; }
.value-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.value-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* بطاقة البيانات النظامية */
.legal-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); border-radius: 28px; overflow: hidden; background: var(--green-900); color: var(--white); }
.legal-card-brand { position: relative; display: grid; place-items: center; padding: 44px 28px; background: var(--green-950); }
.legal-card-brand img { width: min(240px, 70%); height: auto; }
.legal-card-brand::after { content: ""; position: absolute; inset-inline: 0; bottom: 18px; height: 16px; background: var(--strip-h) center / auto 16px repeat-x; opacity: .25; }
.legal-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: clamp(22px, 3vw, 40px); }
.legal-rows div { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); padding-inline-end: 16px; }
.legal-rows dt { font-size: .8rem; color: var(--gold-300); }
.legal-rows dd { margin: 2px 0 0; font-family: var(--font-head); font-size: 1.02rem; font-weight: 500; }
@media (max-width: 820px) { .legal-card { grid-template-columns: 1fr; } .legal-rows { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .value-grid { grid-template-columns: none; } }

/* قائمة المشاريع */
.project-list { display: grid; gap: 28px; }
.project-row { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 0; border-radius: 28px; overflow: hidden; background: var(--paper); }
.project-row:nth-child(even) .project-row-media { order: 2; }
.project-row-media { position: relative; min-height: 380px; overflow: hidden; }
.project-row-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project-row:hover .project-row-media img { transform: scale(1.05); }
.project-row-body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: clamp(26px, 4vw, 54px); }
.project-row-body h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; }
.project-row-body p { margin: 0; color: var(--muted); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 14px; border-radius: 999px; background: var(--white); font-family: var(--font-head); font-size: .78rem; color: var(--green-900); }
.tag-gold { background: var(--gold); color: var(--green-950); }
.project-row-body .btn { width: fit-content; margin-top: 8px; }
@media (max-width: 820px) { .project-row { grid-template-columns: 1fr; } .project-row:nth-child(even) .project-row-media { order: 0; } .project-row-media { min-height: 260px; } }

/* تفاصيل المشروع */
.pd-hero { position: relative; display: grid; align-items: center; min-height: 440px; padding: clamp(18px, 3vw, 40px); border-radius: 28px; overflow: hidden; isolation: isolate; }
.pd-hero > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.pd-info { justify-self: end; width: min(430px, 100%); padding: 30px; border-radius: 22px; background: var(--white); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); }
.pd-info h2 { font-size: 1.6rem; font-weight: 700; }
.pd-info > p { margin: 6px 0 0; display: flex; align-items: center; gap: 6px; font-size: .9rem; color: var(--muted); }
.pd-info > p .icon { width: 16px; height: 16px; color: var(--gold-700); }
.pd-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 20px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
.pd-meta div { display: grid; grid-template-columns: auto 1fr; gap: 0 12px; align-items: center; }
.pd-meta .icon { grid-row: span 2; width: 26px; height: 26px; color: var(--gold-700); stroke-width: 1.3; }
.pd-meta dt { font-size: .72rem; color: var(--muted); line-height: 1.5; }
.pd-meta dd { margin: 0; font-family: var(--font-head); font-size: .95rem; font-weight: 600; line-height: 1.5; }
.pd-layout { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); margin-top: clamp(32px, 4vw, 52px); }
.pd-main h2 { font-size: 1.6rem; font-weight: 700; margin-bottom: 14px; }
.pd-main h3 { font-size: 1.22rem; margin-bottom: 8px; }
.pd-main p { color: var(--muted); }
.pd-block { padding-block: 28px; border-top: 1px solid var(--line); }
.pd-block:first-child { border-top: 0; padding-top: 0; }
.checks { display: grid; gap: 10px; }
.checks-2 { grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.checks .icon { width: 20px; height: 20px; margin-top: 5px; padding: 3px; border-radius: 50%; background: var(--gold); color: var(--green-950); stroke-width: 2.6; }
.pd-aside { display: grid; gap: 22px; align-content: start; }
.aside-card { padding: 26px; border-radius: var(--radius); background: var(--paper); }
.aside-card h2 { font-size: 1.22rem; margin-bottom: 14px; }
.aside-dark { background: var(--green-900); color: var(--white); }
.aside-dark p { color: rgba(255, 255, 255, .75); font-size: .93rem; }
.fact-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fact { padding: 18px; border-radius: 16px; background: var(--white); }
.fact b { display: block; font-family: var(--font-head); font-size: 2.2rem; font-weight: 700; line-height: 1.2; color: var(--green-900); }
.fact span { font-size: .82rem; color: var(--muted); }
.pd-gallery { margin-top: clamp(40px, 6vw, 72px); }
.pd-gallery-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.pd-gallery-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tab { padding: 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-family: var(--font-head); font-size: .86rem; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.tab:hover { border-color: var(--gold); }
.tab[aria-selected="true"] { background: var(--green-900); border-color: var(--green-900); color: var(--white); }
.gallery-group + .gallery-group { margin-top: 34px; }
.gallery-group h3 { font-size: 1.1rem; margin-bottom: 14px; color: var(--green-700); }
.js-tabs .gallery-group h3 { display: none; }
.js-tabs .gallery-group + .gallery-group { margin-top: 14px; }
@media (max-width: 760px) { .js-tabs .gallery-group + .gallery-group { margin-top: 10px; } }
@media (max-width: 900px) {
  .pd-layout { grid-template-columns: 1fr; }
  .pd-hero { min-height: 0; padding: 0; display: block; overflow: visible; }
  .pd-hero > img { position: static; aspect-ratio: 16 / 10; border-radius: 22px; }
  .pd-info { width: auto; margin: -40px 14px 0; position: relative; }
  .checks-2 { grid-template-columns: 1fr; }
}

/* صفحة التواصل */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-copy h2 { margin-top: 18px; font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 700; }
.contact-copy .lead { margin-bottom: 30px; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding-top: 26px; border-top: 1px solid var(--line); }
.contact-list dt { font-family: var(--font-head); font-size: .74rem; letter-spacing: .08em; color: var(--gold-700); }
.contact-list dd { margin: 4px 0 0; font-family: var(--font-head); font-weight: 500; line-height: 1.7; }
.contact-list a:hover { color: var(--gold-700); }
.contact-grid .form-card { background: var(--paper); box-shadow: none; }
.contact-grid .field input, .contact-grid .field select, .contact-grid .field textarea { background: var(--white); }
.map-card { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; margin-top: clamp(40px, 5vw, 64px); padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--green-900); color: var(--white); overflow: hidden; }
.map-card::before { content: ""; position: absolute; inset-inline-end: 34%; top: 0; bottom: 0; width: 24px; background: var(--strip-v) center top / 24px auto repeat-y; opacity: .14; }
.map-card h3 { font-size: 1.35rem; }
.map-card p { margin: 6px 0 0; color: rgba(255, 255, 255, .78); }
.map-card code { font-family: var(--font-head); color: var(--gold); letter-spacing: .08em; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .map-card { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-list { grid-template-columns: 1fr; } }

/* الصفحات النصية (الخصوصية، الشروط) */
.prose { max-width: 800px; margin-inline: auto; }
.prose h2 { margin: 2em 0 .5em; font-size: 1.35rem; color: var(--green-900); }
.prose p, .prose li { color: #33443f; }
.prose ul { display: grid; gap: 8px; margin: 0 0 1em; padding-inline-start: 22px; list-style: disc; }
.prose ul li::marker { color: var(--gold); }
.prose a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.prose .updated { display: inline-block; padding: 4px 14px; border-radius: 999px; background: var(--paper); font-size: .82rem; color: var(--muted); }

/* صفحة الخطأ */
.error-page { display: grid; place-items: center; min-height: 100svh; padding: 140px 0 calc(100px + var(--radius-lg)); background: var(--green-900); color: var(--white); text-align: center; }
.error-page .mark { height: 84px; width: auto; margin: 0 auto 18px; color: var(--gold); }
.error-code { margin: 0; font-family: var(--font-head); font-size: clamp(4.5rem, 14vw, 9rem); font-weight: 700; line-height: 1; color: var(--gold); }
.error-page h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 10px 0; }
.error-page p { color: rgba(255, 255, 255, .78); }
.error-page .btn { margin-top: 18px; }

/* ══ أقسام محتوى الملف التعريفي ══ */

/* من نحن: الفقرات + البيانات الأربعة */
.about-side { align-content: start; }
.about-text p { color: var(--muted); }
.about-text .btn { margin-top: 8px; }
.fact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0; }
.fact-list div { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; align-items: start; padding: 20px; border-radius: var(--radius); background: var(--paper); }
.fact-list .icon { grid-row: span 2; width: 26px; height: 26px; margin-top: 4px; color: var(--gold-700); stroke-width: 1.3; }
.fact-list dt { font-size: .78rem; color: var(--gold-700); font-family: var(--font-head); }
.fact-list dd { margin: 0; font-family: var(--font-head); font-size: .95rem; font-weight: 500; line-height: 1.6; }
@media (max-width: 520px) { .fact-list { grid-template-columns: 1fr; } }

/* من الأرض إلى القيمة: خمس خطوات */
.section-green .lead { max-width: 820px; }
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; counter-reset: none; }
.step { position: relative; padding: 28px 22px 26px; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); transition: background .4s, border-color .4s, transform .4s var(--ease); }
.step:hover { background: rgba(255, 255, 255, .05); border-color: rgba(212, 171, 104, .55); transform: translateY(-4px); }
.step-num { display: block; margin-bottom: 26px; font-family: var(--font-head); font-size: 3rem; font-weight: 700; line-height: 1; color: var(--gold); opacity: .9; }
.step h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--white); }
.step p { margin: 0; font-size: .92rem; color: rgba(255, 255, 255, .72); line-height: 1.75; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 50px; inset-inline-end: -13px; width: 10px; height: 10px; background: var(--gold); transform: rotate(45deg); z-index: 1; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .step:not(:last-child)::after { display: none; } .step:last-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* مجالات أعمالنا والجودة: بطاقات نصية */
.track-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.track-card { position: relative; grid-column: span 2; padding: 32px 28px; border-radius: var(--radius); background: var(--white); transition: transform .4s var(--ease), box-shadow .4s; overflow: hidden; }
.track-card:nth-child(n+4) { grid-column: span 3; }
.track-card:hover { transform: translateY(-5px); box-shadow: 0 26px 50px -30px rgba(4, 47, 39, .45); }
.track-plain { background: var(--paper); }
.track-num { position: absolute; top: 22px; inset-inline-end: 26px; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; line-height: 1; color: var(--gold); opacity: .28; }
.track-ico { width: 38px; height: 38px; margin-bottom: 26px; color: var(--gold-700); stroke-width: 1.3; }
.track-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.track-card p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .track-card, .track-card:nth-child(n+4) { grid-column: span 3; } .track-card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 600px) { .track-card, .track-card:nth-child(n+4) { grid-column: 1 / -1; } }

/* الرؤية والرسالة والقيم */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.vm-card { padding: 38px 34px; }
.vm-card h3 { font-size: 1.5rem; }
.vm-card p { font-size: 1.02rem; }
.section-head-sub { margin-top: clamp(56px, 7vw, 90px); }
.value-mark { display: block; margin-bottom: 22px; color: var(--gold); }
.value-mark .mark { height: 34px; width: auto; }
@media (max-width: 760px) { .vm-grid { grid-template-columns: 1fr; } .value-grid { display: grid; grid-template-columns: 1fr; margin-inline: 0; padding-inline: 0; overflow: visible; } .value-card { flex: none; } }

/* كلمة الإدارة */
.message { position: relative; max-width: 880px; margin-inline: auto; text-align: center; }
.message-mark { position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); opacity: .035; pointer-events: none; }
.message-mark .mark { height: 110%; width: auto; }
.message .eyebrow { margin: 0 auto 26px; }
.message p { position: relative; font-size: 1.08rem; line-height: 2.05; color: rgba(255, 255, 255, .88); }
.message .message-opening { font-family: var(--font-head); font-size: 1.2rem; color: var(--gold); }
.message .message-sign { margin: 34px 0 0; font-family: var(--font-head); font-size: .98rem; color: var(--gold); }
.message .message-sign::before { content: ""; display: block; width: 110px; height: 18px; margin: 0 auto 16px; background: var(--strip-h) center / auto 18px repeat-x; }

/* منهجيتنا في التطوير: ست مراحل */
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.timeline-item { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 28px 26px; border-radius: var(--radius); background: var(--white); }
.timeline-num { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--green-900); color: var(--gold); font-family: var(--font-head); font-size: 1rem; font-weight: 600; }
.timeline-item h3 { font-size: 1.16rem; margin-bottom: 6px; }
.timeline-item p { margin: 0; color: var(--muted); font-size: .93rem; }
@media (max-width: 960px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; } }

#quality .legal-card { margin-top: clamp(48px, 6vw, 80px); }

/* صفحة المشروع: بطاقة المعلومات */
.pd-info .pd-loc { margin: 6px 0 0; display: flex; align-items: center; gap: 6px; font-family: var(--font-head); font-size: .9rem; color: var(--gold-700); }
.pd-info .pd-summary { display: block; margin: 16px 0 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .98rem; color: var(--muted); line-height: 1.85; }
.pd-gallery { margin-top: clamp(36px, 5vw, 60px); }
.tag .icon { width: 14px; height: 14px; }
.why-photo { align-self: stretch; aspect-ratio: auto; min-height: 420px; }
.why-photo img { position: absolute; inset: 0; }

.section-head-solo { grid-template-columns: 1fr; }
.message-mark { opacity: .028; }
