/* ===== الحاوية والشبكة ===== */
.container {
 margin: 0 auto;
 padding: 0 var(--page-margin);
 width: 100%;
 max-width: calc(var(--content-max) + var(--page-margin) * 2) }
.grid {
 display: grid;
 gap: var(--grid-gap);
 grid-template-columns: repeat(4, 1fr) }
.cols-2 > *, .cols-3 > *, .cols-4 > * { grid-column: span 4 }
@media (min-width: 768px) {
 .grid { grid-template-columns: repeat(8, 1fr) }
 .cols-2 > * { grid-column: span 4 }
 .cols-3 > *, .cols-4 > * { grid-column: span 4 } }
@media (min-width: 1440px) {
 .grid { grid-template-columns: repeat(12, 1fr) }
 .cols-2 > * { grid-column: span 6 }
 .cols-3 > * { grid-column: span 4 }
 .cols-4 > * { grid-column: span 3 } }
/* ===== الهيكل ===== */
.site { display: flex;
 min-height: 100vh;
 min-height: 100dvh;
 flex-direction: column }
.site main { flex: 1;
 padding-top: 104px }
.site-header {
 position: fixed;
 top: var(--space-2);
 right: 0;
 left: 0;
 margin-inline: auto;
 border-radius: 20px;
 width: min(1180px, calc(100% - var(--space-4)));
 box-shadow: 0 8px 28px rgba(26, 46, 40, 0.12);
 z-index: 20 }
.site-header .container { padding-inline: var(--space-3);
 max-width: none }
.site-header::before {
 content: "";
 position: absolute;
 inset: 0;
 border: 1px solid rgba(255, 255, 255, 0.5);
 border-radius: inherit;
 background: rgba(250, 246, 240, 0.55);
 -webkit-backdrop-filter: blur(20px) saturate(1.4);
 backdrop-filter: blur(20px) saturate(1.4);
 z-index: -1 }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
 .site-header::before { background: rgba(250, 246, 240, 0.96) } }
.site:has(.announcement:not([hidden])) .site-header { top: calc(var(--space-2) + 48px) }
.header-inner {
 display: flex;
 position: relative;
 padding-top: var(--space-2);
 padding-bottom: var(--space-2);
 min-height: 88px;
 align-items: center;
 justify-content: space-between;
 gap: var(--space-3);
 flex-wrap: wrap;
 z-index: 1 }
.logo {
 display: inline-flex;
 min-width: max-content;
 min-height: var(--touch-min);
 align-items: center }
.logo img {
 width: auto;
 height: var(--logo-height);
 max-width: none }
.logo-wide { display: none }
.logo-mono { display: block }
.logo-fallback {
 font-size: var(--size-h2);
 font-weight: var(--font-weight-semibold);
 color: var(--color-ink);
 text-decoration: none }
.on-dark .logo-fallback, .logo-on-dark { color: var(--color-surface) }
@media (min-width: 768px) {
 .logo-wide { display: block }
 .logo-mono { display: none }
 .site main { padding-top: 120px } }
.nav-toggle { margin-inline-start: auto }
.site-nav {
 display: flex;
 width: 100%;
 flex-direction: column;
 gap: var(--space-2) }
.js .site-nav:not(.is-open) { display: none }
.nav-list {
 display: flex;
 list-style: none;
 flex-direction: column;
 gap: var(--space-1) }
.nav-list li { max-width: none }
.nav-list a {
 display: flex;
 padding: 0 var(--space-2);
 border-radius: var(--radius);
 min-height: var(--touch-min);
 font-size: var(--size-support);
 font-weight: var(--font-weight-semibold);
 color: var(--color-ink);
 text-decoration: none;
 align-items: center }
.nav-list a:hover { background: var(--color-sand) }
.nav-list a[aria-current="page"] {
 color: var(--color-surface);
 background: var(--color-brick) }
.nav-item { position: relative }
.has-sub > a { padding-inline-end: var(--space-5) }
.nav-sub-toggle {
 display: inline-flex;
 position: absolute;
 top: 0;
 inset-inline-end: 0;
 padding: 0;
 border: 0;
 width: var(--touch-min);
 height: 100%;
 color: var(--color-ink);
 background: transparent;
 align-items: center;
 justify-content: center;
 cursor: pointer }
.nav-sub-toggle .icon {
 width: 16px;
 height: 16px;
 transition: transform 150ms ease-out }
.nav-item.is-open > .nav-sub-toggle .icon { transform: rotate(180deg) }
.nav-item:has(> a[aria-current="page"]) > .nav-sub-toggle { color: var(--color-surface) }
.nav-sub {
 display: none;
 list-style: none;
 padding-top: var(--space-1);
 padding-bottom: var(--space-1);
 padding-inline-start: var(--space-2) }
.nav-item.is-open > .nav-sub { display: grid }
.nav-sub a {
 width: 100%;
 font-weight: var(--font-weight-medium);
 text-align: start;
 justify-content: flex-start }
.nav-cta { align-self: flex-start }
@media (min-width: 1024px) {
 .header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center }
 .nav-toggle { display: none }
 .site-nav, .js .site-nav:not(.is-open) { display: contents }
 .logo { justify-self: start }
 .nav-list {
  flex-direction: row;
  justify-self: center;
  grid-column: 2;
  gap: var(--space-1) }
 .nav-cta {
  justify-self: end;
  align-self: center;
  grid-column: 3 }
 .nav-cta .btn { white-space: nowrap }
 .has-sub > a { padding-inline-end: var(--space-4) }
 .nav-sub-toggle { width: 32px }
 .has-sub:hover > a:not([aria-current="page"]),
 .has-sub:focus-within > a:not([aria-current="page"]) { background: var(--color-sand) }
 .nav-item:focus-within > .nav-sub-toggle .icon { transform: rotate(180deg) }
 .nav-sub {
  display: grid;
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  padding: var(--space-1);
  border: 1px solid var(--color-sand);
  border-radius: 16px;
  width: max-content;
  min-width: 240px;
  max-width: min(440px, calc(100vw - 48px));
  max-height: 420px;
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 12px 32px rgba(26, 46, 40, 0.12);
  opacity: 0;
  transform: translateY(-6px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 130ms ease-in, transform 130ms ease-in, visibility 0s step-end 130ms;
  z-index: 5 }
 .nav-item.is-open > .nav-sub,
 .nav-item:focus-within > .nav-sub {
  opacity: 1;
  transform: none;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 150ms ease-out, transform 150ms ease-out, visibility 0s step-end 0s }
 .nav-sub::before {
  content: "";
  position: absolute;
  top: -12px;
  right: 0;
  left: 0;
  height: 12px }
 .nav-sub a { white-space: nowrap }
 @supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .nav-sub { background: rgba(250, 246, 240, 0.98) } } }
@media (prefers-reduced-motion: reduce) {
 .nav-sub, .nav-sub-toggle .icon { transition: none }
 .nav-sub { transform: none } }
/* ===== مسار الصفحة ===== */
.crumbs { padding-top: var(--space-2) }
.crumbs ol {
 display: flex;
 margin: 0;
 padding: 0;
 list-style: none;
 flex-wrap: wrap;
 align-items: center;
 gap: 8px }
.crumbs li { max-width: none }
.crumbs a {
 font-size: var(--size-support);
 font-weight: var(--font-weight-semibold);
 color: var(--color-ink);
 text-decoration: none }
.crumbs a[aria-current="page"] {
 font-weight: var(--font-weight-regular);
 color: var(--color-text-muted) }
.crumbs li[aria-hidden="true"] { color: var(--color-text-muted) }
/* ===== شريط الإعلان ===== */
.announcement {
 display: flex;
 padding: var(--space-1) var(--page-margin);
 font-size: var(--size-support);
 font-weight: var(--font-weight-regular);
 color: var(--color-ink);
 background: var(--color-gold-soft);
 align-items: center;
 justify-content: center;
 gap: var(--space-2);
 flex-wrap: wrap }
.announcement p { max-width: none }
.announcement a { color: var(--color-ink) }
.announcement[hidden] { display: none }
/* ===== الأقسام والكتل ===== */
.block.versions { padding-top: var(--space-3) }
.versions .table .notes-list {
 display: grid;
 padding-inline-start: var(--space-3);
 list-style: disc outside;
 gap: 4px }
.versions .notes-list li { max-width: none }
.versions .notes-list li::marker { color: var(--color-brick) }
.block {
 padding: var(--space-7) 0;
 color: var(--color-ink);
 background: var(--color-cream) }
.block + .block.same-bg { padding-top: 0 }
.bg-cream { background: var(--color-cream) }
.bg-white { background: var(--color-surface) }
.bg-ink {
 color: var(--color-surface);
 background: var(--color-ink) }
.bg-purple_soft { background: var(--color-purple-soft) }
.bg-gold_soft { background: var(--color-gold-soft) }
.block-title { margin-bottom: var(--space-2) }
.block-lead { margin-bottom: var(--space-5) }
.block-title + .block-body, .block-title + .grid, .block-title + .steps, .block-title + .feature-rows, .block-title + .table-wrap, .block-title + .faq-list, .block-title + .gallery, .block-title + .downloads, .block-title + .form, .block-title + .calculator, .block-title + .contact-list, .block-title + .numbers { margin-top: var(--space-5) }
.block-title:empty { display: none }
.narrow { max-width: var(--measure) }
.block.block-form {
 padding: var(--space-5) 0;
 background: var(--color-cream) }
.block-spacer-48 { padding: var(--space-3) 0 }
.block-spacer-96 { padding: var(--space-5) 0 }
/* ===== الغلاف ===== */
.block-hero {
 position: relative;
 padding: var(--space-7) 0;
 overflow: hidden }
.hero-inner {
 display: grid;
 position: relative;
 gap: var(--space-5);
 z-index: 1 }
.hero-text { max-width: none }
.hero-text .display { margin-bottom: var(--space-3) }
.hero-text .lead { margin-bottom: var(--space-5) }
.hero-actions {
 display: flex;
 gap: var(--space-2);
 flex-wrap: wrap }
.hero-center .hero-text {
 margin: 0 auto;
 text-align: center }
.hero-center .lead { margin-inline: auto }
.hero-center .hero-actions { justify-content: center }
.hero-img {
 border-radius: var(--radius);
 width: 100%;
 object-fit: cover }
.site main:has(> .block-hero:first-child .hero-img) { padding-top: 0 }
.block-hero:has(.hero-img) {
 display: flex;
 align-items: center;
 padding-top: calc(72px + var(--space-5));
 min-height: clamp(480px, 56vw, 680px);
 color: var(--color-surface);
 background: var(--color-cream) }
.block-hero:has(.hero-img) .hero-inner { position: static }
.block-hero:has(.hero-img) .hero-watermark { opacity: 0 }
.block-hero:has(.hero-img) .hero-text {
 position: relative;
 z-index: 2 }
.block-hero:has(.hero-img) .hero-img {
 position: absolute;
 inset: 0;
 border-radius: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 object-position: center 45%;
 z-index: 0 }
.block-hero:has(.hero-img)::after {
 content: "";
 position: absolute;
 inset: 0;
 background: linear-gradient(to top, var(--color-cream) 0%, transparent 36%), linear-gradient(to left, rgba(26, 46, 40, 0.5) 0%, rgba(26, 46, 40, 0.34) 100%);
 -webkit-backdrop-filter: blur(6px);
 backdrop-filter: blur(6px);
 pointer-events: none;
 z-index: 1 }
.hero-watermark {
 position: absolute;
 bottom: -20%;
 inset-inline-start: -10%;
 width: 60%;
 max-width: 720px;
 opacity: 0.15;
 pointer-events: none }
@media (min-width: 768px) {
 .block-hero:has(.hero-img) { padding-top: calc(88px + var(--space-5)) } }
@media (min-width: 1024px) {
 .hero-inner { grid-template-columns: repeat(12, 1fr) }
 .hero-text { grid-column: span 8 }
 .hero-inner.has-image .hero-text { grid-column: span 7 }
 .hero-inner.hero-center .hero-text { grid-column: 1 / -1 }
 .hero-inner.has-image .hero-img { grid-column: span 5 } }
.block-hero:has(.hero-img):has(.hero-center) {
 align-items: center;
 margin-top: -2px;
 padding: var(--space-6) 0;
 min-height: 520px;
 background: linear-gradient(to bottom, var(--color-surface) 0%, transparent 28%) }
.block-hero:has(.hero-img):has(.hero-center) .hero-img {
 -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 28%);
 mask-image: linear-gradient(to bottom, transparent 0%, #000 28%) }
.block-hero:has(.hero-img):has(.hero-center)::after { background: linear-gradient(to bottom, transparent 0%, rgba(26, 46, 40, 0.48) 28%) }
.block-hero:has(.hero-center) .hero-text { max-width: 720px }
.block-hero:has(.hero-center) .display {
 margin-bottom: var(--space-2);
 font-size: clamp(40px, 2rem + 2vw, 68px) }
.block-hero:has(.hero-center) .lead { margin-bottom: var(--space-4) }
/* ===== صفوف المزايا والخدمات ===== */
.feature-rows {
 display: flex;
 list-style: none;
 width: 100%;
 max-width: none;
 flex-direction: column;
 gap: 0 }
.feature-row {
 display: grid;
 padding: var(--space-2) 0;
 border-top: 1px solid var(--color-sand);
 max-width: none;
 gap: var(--space-2);
 grid-template-columns: 1fr;
 align-items: center }
.feature-row:last-child { border-bottom: 1px solid var(--color-sand) }
.feature-row h3 { font-size: var(--size-lead) }
.feature-row p {
 max-width: none;
 overflow: hidden;
 text-overflow: ellipsis;
 white-space: nowrap }
.feature-more {
 font-size: var(--size-support);
 font-weight: var(--font-weight-medium);
 overflow: hidden;
 text-overflow: ellipsis;
 white-space: nowrap }
@media (min-width: 1024px) {
 .feature-row { grid-template-columns: 48px minmax(0, 1fr) auto auto;
  align-items: center } }
.feature-head {
 display: flex;
 align-items: center;
 gap: var(--space-2);
 flex-wrap: wrap }
.feature-cols .feature-item, .feature-icons .feature-item {
 display: flex;
 max-width: none;
 flex-direction: column;
 gap: var(--space-2) }
.feature-icons .feature-item { text-align: center;
 align-items: center }
.feature-photo {
 border-radius: var(--radius);
 width: 100%;
 height: 168px;
 object-fit: cover }
.feature-row .feature-photo {
 width: 48px;
 height: 48px }
.feature-item h3 { font-size: var(--size-lead) }
/* ===== الخطوات والأعمدة والأرقام ===== */
.steps {
 display: flex;
 list-style: none;
 margin: 0;
 padding: 0;
 width: 100%;
 max-width: none;
 flex-direction: column }
.step {
 display: grid;
 position: relative;
 padding-bottom: var(--space-4);
 max-width: none;
 grid-template-columns: 48px minmax(0, 1fr);
 align-items: start;
 column-gap: var(--space-3) }
.step:last-child { padding-bottom: 0 }
.step::before {
 content: "";
 position: absolute;
 top: 24px;
 bottom: 0;
 inset-inline-start: 23px;
 width: 2px;
 background: var(--color-sand) }
.step:last-child::before { content: none }
.bg-ink .step::before { background: rgba(255, 255, 255, 0.28) }
.step-number {
 display: grid;
 position: relative;
 z-index: 1;
 border: 2px solid var(--color-brick);
 border-radius: 50%;
 width: 48px;
 height: 48px;
 font-size: var(--size-lead);
 font-weight: var(--font-weight-bold);
 line-height: 1;
 color: var(--color-brick);
 background: var(--color-surface);
 place-items: center }
.bg-cream .step-number { background: var(--color-cream) }
.bg-purple_soft .step-number { background: var(--color-purple-soft) }
.bg-gold_soft .step-number { background: var(--color-gold-soft) }
.bg-ink .step-number {
 border-color: var(--color-gold);
 color: var(--color-gold);
 background: var(--color-ink) }
.step h3 {
 margin-bottom: var(--space-1);
 padding-top: var(--space-1);
 font-size: var(--size-lead) }
.step p { max-width: none }
@media (min-width: 768px) {
 .steps { flex-direction: row;
  align-items: flex-start }
 .step {
  display: flex;
  padding-bottom: 0;
  padding-inline: var(--space-3);
  text-align: center;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center }
 .step-number {
  width: 64px;
  height: 64px;
  font-size: var(--size-h2) }
 .step::before {
  top: 31px;
  bottom: auto;
  width: auto;
  height: 2px;
  inset-inline-start: calc(50% + 44px);
  inset-inline-end: calc(-50% + 44px) }
 .step h3 {
  margin-bottom: var(--space-1);
  padding-top: var(--space-2);
  font-size: var(--size-h2) }
 .step p { max-width: 28ch }
}
.column-item {
 display: flex;
 padding: var(--space-3);
 border: 1px solid var(--color-sand);
 border-radius: var(--radius);
 background: var(--color-surface);
 flex-direction: column;
 gap: var(--space-2) }
.column-item .icon { width: 48px; height: 48px }
.column-item h3 {
 margin: 0;
 font-size: var(--size-lead);
 font-weight: var(--font-weight-semibold) }
.column-item p { margin: 0 }
.numbers {
 display: grid;
 gap: var(--space-5);
 grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) }
.number-value {
 font-size: var(--size-display);
 font-weight: var(--font-weight-bold);
 line-height: var(--line-display);
 color: var(--color-brick) }
.bg-ink .number-value { color: var(--color-gold) }
/* ===== صورة ونص ===== */
.image-text {
 display: grid;
 gap: var(--space-5);
 align-items: center }
.image-text img {
 border-radius: var(--radius);
 width: 100%;
 object-fit: cover }
.image-text .btn { margin-top: var(--space-3) }
@media (min-width: 1024px) {
 .image-text { grid-template-columns: 1fr 1fr }
 .image-text.side-end img { order: 2 } }
/* ===== المعرض ===== */
.gallery {
 display: grid;
 list-style: none;
 gap: var(--space-3);
 grid-template-columns: repeat(2, 1fr) }
.gallery li { max-width: none }
.gallery img {
 border-radius: var(--radius);
 width: 100%;
 object-fit: cover;
 aspect-ratio: 4 / 3 }
.gallery figcaption {
 margin-top: var(--space-1);
 font-size: var(--size-support);
 color: var(--color-text-muted) }
@media (min-width: 768px) {
 .gallery-3 { grid-template-columns: repeat(3, 1fr) }
 .gallery-4 { grid-template-columns: repeat(4, 1fr) } }
/* ===== الفيديو ===== */
.video {
 position: relative;
 border-radius: var(--radius);
 max-width: 960px;
 color: var(--color-surface);
 background: var(--color-ink);
 overflow: hidden;
 aspect-ratio: 16 / 9 }
.video img {
 position: absolute;
 width: 100%;
 height: 100%;
 object-fit: cover;
 inset: 0 }
.video-play {
 display: flex;
 position: absolute;
 border: 0;
 width: 100%;
 height: 100%;
 color: var(--color-surface);
 background: var(--color-ink-15);
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: var(--space-2);
 inset: 0 }
.video-play:hover { background: var(--color-ink) }
.video-play span {
 font-size: var(--size-support);
 font-weight: var(--font-weight-regular) }
.video-play svg {
 width: 72px;
 height: 72px }
.video iframe {
 width: 100%;
 height: 100% }
/* ===== الأسئلة ===== */
.faq-list {
 display: flex;
 flex-direction: column;
 gap: var(--space-2) }
.faq-item {
 border-radius: var(--radius);
 background: var(--color-cream) }
.bg-cream .faq-item { background: var(--color-surface) }
.faq-item summary {
 display: flex;
 padding: var(--space-2) var(--space-3);
 min-height: var(--control-height);
 font-size: var(--size-lead);
 font-weight: var(--font-weight-medium);
 align-items: center;
 justify-content: space-between;
 gap: var(--space-2);
 cursor: pointer;
 list-style: none }
.faq-item summary::-webkit-details-marker { display: none }
.faq-item summary svg { flex-shrink: 0;
 transition: transform var(--duration) }
.faq-item[open] summary svg { transform: rotate(180deg) }
.faq-item .prose { padding: 0 var(--space-3) var(--space-3) }
/* ===== الجواز ===== */
.calculator { max-width: none }
.calculator-layout { display: grid;
 gap: var(--space-4) }
.calculator-results {
 display: grid;
 margin-top: var(--space-4);
 gap: var(--space-3) }
@media (min-width: 1024px) {
 .calculator-layout { grid-template-columns: repeat(12, 1fr) }
 .calculator-input { grid-column: span 5 }
 .calculator-results { grid-column: span 7;
  margin-top: 0 } }
.calc-tier {
 padding: var(--space-2) 0;
 border-top: 1px solid var(--color-sand) }
.calc-tier h3 {
 margin-bottom: var(--space-1);
 font-size: var(--size-lead) }
.calc-saving {
 font-size: var(--size-h2);
 font-weight: var(--font-weight-semibold) }
.calc-negative { color: var(--color-error) }
.calc-positive { color: var(--color-success) }
/* ===== النماذج العامة ===== */
.form {
 margin-inline: auto;
 padding: var(--space-4);
 border: 1px solid var(--color-sand);
 border-radius: 20px;
 max-width: 720px;
 background: var(--color-surface);
 box-shadow: 0 8px 28px rgba(26, 46, 40, 0.08) }
.form .form-intro { max-width: none }
.form .block-title { margin-bottom: var(--space-3) }
.form .field { margin-bottom: var(--space-3) }
.form .field-label { font-weight: var(--font-weight-semibold) }
.form .field:last-child { margin-bottom: 0 }
.form .input, .form .select { min-height: var(--touch-min) }
.form .textarea { min-height: 112px }
.form-grid {
 display: grid;
 gap: 0 var(--space-2);
 grid-template-columns: 1fr }
.form-grid .field-span,
.form-grid .field:not(.field-span):has(+ .field-span) { grid-column: 1 / -1 }
@media (min-width: 768px) {
 .form-grid { grid-template-columns: 1fr 1fr } }
.contact-layout { display: grid;
 gap: var(--space-4) }
@media (min-width: 1024px) {
 .contact-layout { grid-template-columns: repeat(12, 1fr) }
 .contact-form { grid-column: span 7 }
 .contact-aside { grid-column: span 5 } }
.form-intro { margin-bottom: var(--space-2) }
.form-actions {
 display: flex;
 margin-top: var(--space-4);
 gap: var(--space-2);
 flex-wrap: wrap;
 align-items: center }
.form-status:empty { display: none }
.form-status { margin-bottom: var(--space-2) }
/* ===== شريط الدعوة ===== */
.cta-band {
 display: grid;
 gap: var(--space-4);
 align-items: center }
.cta-band .lead { margin-top: var(--space-1) }
@media (min-width: 1024px) {
 .cta-band { grid-template-columns: 1fr auto } }
.app-cta-links {
 display: flex;
 margin-top: var(--space-4);
 gap: var(--space-2);
 flex-wrap: wrap }
.app-cta .form { margin-top: var(--space-4) }
/* ===== التنزيلات وبيانات التواصل ===== */
.downloads {
 display: flex;
 list-style: none;
 flex-direction: column;
 gap: var(--space-3) }
.downloads li {
 display: grid;
 max-width: none;
 gap: var(--space-1) var(--space-3);
 grid-template-columns: var(--icon-48) 1fr;
 align-items: start }
.downloads svg { grid-row: span 3 }
.contact-list {
 display: flex;
 list-style: none;
 flex-direction: column;
 gap: var(--space-3) }
.contact-list li {
 display: flex;
 max-width: none;
 align-items: center;
 gap: var(--space-2) }
.contact-list svg { flex-shrink: 0 }
/* ===== جدول الكتلة ===== */
.block-table .table-wrap { border-radius: var(--radius);
 overflow: hidden }
/* ===== قائمة المقالات ===== */
.guide-rows {
 display: flex;
 list-style: none;
 flex-direction: column;
 gap: var(--space-5) }
.guide-row {
 display: grid;
 max-width: none;
 gap: var(--space-2) var(--space-4);
 grid-template-columns: 1fr }
.guide-row img {
 border-radius: var(--radius);
 width: 100%;
 object-fit: cover;
 aspect-ratio: 16 / 9 }
.guide-row h3 { font-size: var(--size-lead) }
.guide-row time {
 font-size: var(--size-support);
 color: var(--color-text-muted) }
@media (min-width: 768px) {
 .guide-row.has-cover { grid-template-columns: 320px 1fr } }
.guide-cover {
 margin-bottom: var(--space-5);
 border-radius: var(--radius);
 width: 100%;
 max-height: 560px;
 object-fit: cover }
.article-meta {
 margin-bottom: var(--space-4);
 font-size: var(--size-support);
 color: var(--color-text-muted) }
/* ===== صفحة الخدمة ===== */
.block.service-hero { padding-top: var(--space-3) }
.service-head {
 display: flex;
 margin-bottom: var(--space-3);
 align-items: center;
 gap: var(--space-2);
 flex-wrap: wrap }
.service-highlights {
 display: flex;
 margin-top: var(--space-3);
 list-style: none;
 flex-direction: column;
 align-items: flex-start;
 gap: var(--space-2) }
.service-highlights li {
 display: flex;
 max-width: none;
 align-items: center;
 gap: var(--space-2);
 font-size: var(--size-support);
 font-weight: var(--font-weight-regular) }
.service-highlights svg { flex-shrink: 0 }
.service-cover {
 margin-top: var(--space-5);
 border-radius: var(--radius);
 width: 100%;
 max-height: 560px;
 object-fit: cover }
.block.service-story { padding: var(--space-5) 0 }
.story-grid {
 display: grid;
 gap: var(--space-3);
 grid-template-columns: 1fr }
.story-card {
 display: flex;
 padding: var(--space-4);
 border: 1px solid var(--color-sand);
 border-radius: 20px;
 background: var(--color-cream);
 flex-direction: column;
 gap: var(--space-2) }
.story-card .icon { width: 48px; height: 48px }
.story-card h2 {
 margin: 0;
 font-size: var(--size-h2);
 font-weight: var(--font-weight-bold);
 line-height: var(--line-h2) }
.story-card p { margin: 0; max-width: none }
.story-card p + p { margin-top: var(--space-2) }
@media (min-width: 768px) {
 .story-grid { grid-template-columns: 1fr 1fr }
 .story-card:only-child { grid-column: 1 / -1;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--space-3) } }
.block.service-wait { padding: var(--space-5) 0 }
.service-wait-panel {
 display: grid;
 margin-inline: auto;
 padding: var(--space-2);
 border-radius: 20px;
 max-width: 1040px;
 background: var(--color-surface);
 box-shadow: 0 8px 28px rgba(26, 46, 40, 0.08);
 gap: var(--space-2);
 align-items: stretch }
.service-wait-lead {
 display: flex;
 padding: var(--space-4);
 border-radius: 20px;
 background: var(--color-cream);
 flex-direction: column;
 justify-content: space-between;
 gap: var(--space-3) }
.service-wait-lead .icon { width: 48px; height: 48px }
.service-wait-lead h2 {
 margin: 0;
 font-size: var(--size-h2);
 font-weight: var(--font-weight-bold);
 line-height: var(--line-h2) }
.service-wait .form {
 margin: 0;
 padding: var(--space-3);
 border: 0;
 border-radius: 20px;
 max-width: none;
 background: transparent;
 box-shadow: none }
.service-wait .form .field { margin-bottom: var(--space-2) }
.service-wait .input { background: var(--color-cream) }
.service-wait .input:focus {
 border-color: var(--color-teal);
 background: var(--color-surface) }
.service-wait .checkbox {
 padding: 0 var(--space-2);
 border-radius: var(--radius);
 min-height: var(--touch-min);
 background: var(--color-cream) }
.service-wait .form-actions { margin-top: var(--space-3) }
.service-wait .form-actions .btn { width: 100% }
@media (min-width: 768px) {
 .service-wait .form-grid { grid-template-columns: 1fr 1fr }
 .service-wait .form-grid .field:not(.field-span):has(+ .field-span) { grid-column: auto } }
@media (min-width: 1024px) {
 .service-wait-panel { grid-template-columns: 320px 1fr } }
/* ===== التذييل ===== */
.site-footer {
 position: relative;
 color: var(--color-surface);
 background: var(--color-ink);
 z-index: 1 }
.is-home .site-footer::before {
 content: "";
 position: absolute;
 right: 0;
 bottom: 100%;
 left: 0;
 height: var(--space-6);
 background: linear-gradient(to bottom, transparent, var(--color-ink));
 pointer-events: none }
.footer-inner {
 display: grid;
 padding-top: var(--space-4);
 padding-bottom: var(--space-3);
 gap: var(--space-3) }
.footer-brand { display: flex;
 flex-direction: column;
 gap: var(--space-2) }
.footer-logo {
 display: flex;
 align-items: center;
 gap: var(--space-2) }
.footer-mark { width: 40px; height: 40px }
.footer-brand img {
 width: auto;
 height: 40px }
.footer-brand p { color: var(--color-sand) }
.footer-groups {
 display: grid;
 gap: var(--space-3);
 grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) }
.footer-group h2 {
 margin-bottom: var(--space-1);
 font-size: var(--size-support);
 font-weight: var(--font-weight-semibold);
 color: var(--color-sand) }
.footer-group ul {
 display: flex;
 list-style: none;
 flex-direction: column;
 gap: 0 }
.footer-group li { max-width: none }
.footer-group a, .footer-group button {
 display: inline-flex;
 padding: 0;
 border: 0;
 min-height: 32px;
 font-size: var(--size-support);
 font-weight: var(--font-weight-regular);
 color: var(--color-surface);
 text-decoration: none;
 background: transparent;
 align-items: center }
.footer-group a:hover, .footer-group button:hover { color: var(--color-sand) }
.footer-meta {
 display: flex;
 font-size: var(--size-support);
 color: var(--color-sand);
 gap: var(--space-2) var(--space-4);
 flex-wrap: wrap }
.footer-meta p { max-width: none }
.footer-copy {
 display: flex;
 margin-bottom: var(--space-4);
 flex-direction: column;
 gap: 0 }
.footer-copy p { max-width: none }
.footer-copy a, .footer-copy a:hover { text-decoration: none }
.footer-credit { font-weight: var(--font-weight-bold) }
.social-list {
 display: flex;
 list-style: none;
 gap: var(--space-2);
 flex-wrap: wrap }
.social-list li { max-width: none }
.social-list a {
 display: inline-flex;
 padding: 0 var(--space-2);
 border-radius: var(--radius);
 min-height: var(--touch-min);
 font-size: var(--size-support);
 color: var(--color-surface);
 text-decoration: none;
 background: var(--color-overlay-15);
 align-items: center }
.social-list a:hover { background: var(--color-teal) }
@media (min-width: 1024px) {
 .footer-inner { grid-template-columns: 1fr 2fr } }
/* ===== زر واتساب ===== */
.whatsapp-btn {
 display: inline-flex;
 position: fixed;
 right: var(--space-3);
 bottom: var(--space-3);
 border-radius: var(--radius);
 width: var(--control-height);
 height: var(--control-height);
 color: var(--color-surface);
 background: var(--color-teal);
 align-items: center;
 justify-content: center;
 z-index: 50 }
.whatsapp-btn:hover {
 color: var(--color-surface);
 background: var(--color-ink) }
/* ===== شريط الموافقة ===== */
.consent-bar {
 display: flex;
 position: fixed;
 right: 0;
 bottom: 0;
 left: 0;
 padding: var(--space-3) var(--page-margin);
 color: var(--color-surface);
 background: var(--color-ink);
 align-items: center;
 justify-content: space-between;
 gap: var(--space-3);
 flex-wrap: wrap;
 z-index: 60 }
.consent-bar[hidden] { display: none }
.consent-bar p {
 max-width: var(--measure);
 font-size: var(--size-support);
 font-weight: var(--font-weight-regular) }
.consent-bar a { color: var(--color-surface) }
.consent-actions {
 display: flex;
 gap: var(--space-2);
 flex-wrap: wrap }
/* ===== شريط المعاينة ===== */
.preview-bar {
 padding: var(--space-1) var(--page-margin);
 font-size: var(--size-support);
 font-weight: var(--font-weight-regular);
 color: var(--color-ink);
 text-align: center;
 background: var(--color-gold-soft) }
/* ===== صفحات الحالة ===== */
.status-page {
 display: flex;
 padding: var(--space-7) var(--page-margin);
 min-height: 60vh;
 flex-direction: column;
 align-items: flex-start;
 justify-content: center;
 gap: var(--space-3) }
.status-page .btn { margin-top: var(--space-3) }
.status-code {
 font-size: var(--size-display);
 font-weight: var(--font-weight-bold);
 line-height: var(--line-display);
 color: var(--color-brick) }
/* ===== الشريط العام للنجاح ===== */
.page-status {
 padding: var(--space-3) var(--page-margin) 0 }
.page-status .notice { max-width: var(--content-max);
 margin: 0 auto }
@media (max-width: 767px) {
 .hero-actions, .nav-cta, .form-actions { width: 100% }
 .hero-actions .btn, .nav-cta .btn, .form-actions .btn { width: 100% }
 .header-inner { min-height: 72px }
 .site-nav { width: 100% }
 .block { padding: var(--space-5) 0 }
 .hero-actions { flex-direction: column;
  align-items: stretch }
 .gallery, .gallery-3, .gallery-4 { grid-template-columns: 1fr }
 .footer-inner { padding-top: var(--space-4);
  padding-bottom: var(--space-3) }
 .status-page { padding: var(--space-5) var(--page-margin) }
}
/* ===== الجواز والفعاليات ===== */
.block-event_hero {
 position: relative;
 display: flex;
 align-items: flex-end;
 min-height: clamp(520px, 62vw, 760px);
 padding: calc(88px + var(--space-6)) 0 var(--space-6);
 overflow: hidden;
 color: var(--color-surface);
 background: var(--color-ink) }
.site main:has(> .block-event_hero:first-child) { padding-top: 0 }
.event-hero-slides {
 position: absolute;
 inset: 0;
 z-index: 0 }
.event-hero-slides img {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
 object-fit: cover;
 opacity: 0 }
.event-hero-slides.slides-1 img { opacity: 1 }
.event-hero-video { position: absolute; inset: 0; z-index: 0 }
.event-hero-video video { width: 100%; height: 100%; object-fit: cover }
@media (prefers-reduced-motion: reduce) { .event-hero-video { display: none } }
.slides-2 img { animation: hero-fade-2 12s infinite }
.slides-3 img { animation: hero-fade-3 18s infinite }
.slides-4 img { animation: hero-fade-4 24s infinite }
.slides-5 img { animation: hero-fade-5 30s infinite }
.event-hero-slides img:nth-child(2) { animation-delay: 6s }
.event-hero-slides img:nth-child(3) { animation-delay: 12s }
.event-hero-slides img:nth-child(4) { animation-delay: 18s }
.event-hero-slides img:nth-child(5) { animation-delay: 24s }
@keyframes hero-fade-2 { 0% { opacity: 0 } 8% { opacity: 1 } 50% { opacity: 1 } 58% { opacity: 0 } 100% { opacity: 0 } }
@keyframes hero-fade-3 { 0% { opacity: 0 } 6% { opacity: 1 } 33% { opacity: 1 } 39% { opacity: 0 } 100% { opacity: 0 } }
@keyframes hero-fade-4 { 0% { opacity: 0 } 5% { opacity: 1 } 25% { opacity: 1 } 30% { opacity: 0 } 100% { opacity: 0 } }
@keyframes hero-fade-5 { 0% { opacity: 0 } 4% { opacity: 1 } 20% { opacity: 1 } 24% { opacity: 0 } 100% { opacity: 0 } }
@media (prefers-reduced-motion: reduce) {
 .event-hero-slides img { animation: none }
 .event-hero-slides img:first-child { opacity: 1 } }
.block-event_hero::after {
 content: "";
 position: absolute;
 inset: 0;
 background: linear-gradient(to top, rgba(26, 46, 40, 0.92) 0%, rgba(26, 46, 40, 0.6) 45%, rgba(26, 46, 40, 0.55) 100%);
 pointer-events: none;
 z-index: 1 }
.block-event_hero .container { position: static; width: 100% }
.event-hero-text { position: relative; z-index: 2; max-width: 760px }
.event-hero-text .eyebrow { color: var(--color-gold); font-weight: var(--font-weight-semibold); margin-bottom: var(--space-1) }
.event-hero-text .display { margin-bottom: var(--space-2) }
.event-hero-meta {
 display: flex;
 flex-wrap: wrap;
 gap: var(--space-1) var(--space-3);
 margin: 0 0 var(--space-2);
 padding: 0;
 list-style: none;
 font-weight: var(--font-weight-medium) }
.event-hero-meta li + li::before { content: "·"; margin-inline-end: var(--space-3) }
.event-hero-text .lead { margin-bottom: var(--space-4) }
.event-hero-accent { color: var(--color-gold) }
.event-hero-points {
 display: flex;
 flex-wrap: wrap;
 gap: var(--space-1) var(--space-3);
 margin: var(--space-3) 0 0;
 padding: 0;
 list-style: none;
 font-weight: var(--font-weight-medium) }
.event-hero-points li::before {
 content: "";
 display: inline-block;
 width: 8px;
 height: 8px;
 margin-inline-end: var(--space-1);
 border-radius: 50%;
 background: var(--color-gold) }

/* ===== خدمات المهرجان ===== */
.svc-bento {
 display: grid;
 gap: var(--space-3);
 margin: 0;
 padding: 0;
 list-style: none;
 grid-template-columns: minmax(0, 1fr) }
.svc {
 display: flex;
 position: relative;
 flex-direction: column;
 gap: var(--space-2);
 overflow: hidden;
 padding: var(--space-4);
 border: 1px solid var(--color-sand);
 border-radius: var(--radius);
 color: var(--color-ink);
 background: var(--color-surface);
 box-shadow: 0 1px 2px rgba(26, 46, 40, 0.06), 0 12px 32px rgba(26, 46, 40, 0.08) }
.svc:first-child {
 border-color: var(--color-ink);
 color: var(--color-surface);
 background: var(--color-ink) }
.svc-icon {
 position: absolute;
 inset-block-start: var(--space-3);
 inset-inline-end: var(--space-3);
 opacity: 0.12;
 pointer-events: none }
.svc-icon svg {
 width: 96px;
 height: 96px }
.svc:first-child .svc-icon {
 opacity: 0.2;
 filter: invert(1) }
.svc-main { position: relative }
.svc-kicker {
 margin: 0;
 font-size: var(--size-support);
 color: var(--color-text-muted) }
.svc:first-child .svc-kicker { color: var(--color-gold) }
.svc h3 {
 margin: 0;
 font-size: var(--size-h2);
 line-height: var(--line-h2) }
.svc:first-child h3 {
 font-size: var(--size-h1);
 line-height: var(--line-h1) }
.svc-soon {
 margin-inline-start: var(--space-1);
 vertical-align: middle }
.svc-text {
 margin: var(--space-1) 0 var(--space-3);
 color: var(--color-text-muted) }
.svc:first-child .svc-text { color: var(--color-sand) }
.svc-steps {
 display: flex;
 flex-direction: column;
 margin: 0 0 var(--space-3);
 padding: 0;
 list-style: none;
 counter-reset: svc }
.svc-steps li {
 display: flex;
 gap: var(--space-2);
 padding: var(--space-1) 0;
 border-top: 1px solid var(--color-sand);
 font-weight: var(--font-weight-medium);
 counter-increment: svc }
.svc-steps li::before {
 content: counter(svc);
 min-width: 24px;
 font-weight: var(--font-weight-bold);
 color: var(--color-brick) }
.svc:first-child .svc-steps li { border-top-color: rgba(255, 255, 255, 0.18) }
.svc:first-child .svc-steps li::before { color: var(--color-gold) }
.svc > .btn {
 align-self: flex-start;
 margin-top: auto }
@media (max-width: 899px) {
 .svc-icon {
  position: static;
  opacity: 1 }
 .svc-icon svg {
  width: 48px;
  height: 48px }
}
@media (min-width: 900px) {
 .svc-bento { grid-template-columns: repeat(12, minmax(0, 1fr)) }
 .svc { grid-column: span 6 }
 .svc:nth-child(1), .svc:nth-child(4) { grid-column: span 7 }
 .svc:nth-child(2), .svc:nth-child(3) { grid-column: span 5 }
}

.pass-head { max-width: 760px; margin-bottom: var(--space-5) }
.pass-head .eyebrow { color: #E4573D; font-weight: var(--font-weight-semibold); margin-bottom: var(--space-1) }
.pass-title { font-size: var(--size-h1); line-height: var(--line-h1); color: #1A2E28; margin-bottom: var(--space-2) }
.pass-grid {
 display: grid;
 gap: var(--space-3);
 grid-template-columns: 1fr }
@media (min-width: 900px) { .pass-grid { grid-template-columns: repeat(3, 1fr) } }
.pass-card {
 display: flex;
 flex-direction: column;
 gap: var(--space-3);
 padding: var(--space-4) var(--space-3);
 border: 1px solid #E7E0D6;
 border-radius: 28px;
 background: var(--color-surface);
 color: #1A2E28 }
.pass-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-2) }
.pass-card h3 { font-size: var(--size-h2); margin: 0 }
.pass-kicker { color: #E4573D; font-size: var(--size-support); margin: 0 }
.pass-badge {
 display: grid;
 place-items: center;
 flex: none;
 width: 48px;
 height: 48px;
 border-radius: 14px;
 font-weight: var(--font-weight-bold);
 background: #E7E0D6;
 color: #5C6B66 }
.pass-bronze .pass-badge { background: #2CA6A4; color: var(--color-surface) }
.pass-gold .pass-badge { background: #F5A623; color: #1A2E28 }
.pass-price {
 display: flex;
 align-items: flex-end;
 justify-content: space-between;
 padding-bottom: var(--space-3);
 border-bottom: 1px solid #E7E0D6 }
.pass-small { margin: 0; font-size: var(--size-min); color: #5C6B66 }
.pass-percent { margin: 0; font-size: 40px; line-height: 1.1; font-weight: var(--font-weight-bold); color: #E4573D }
.pass-amount { margin: 0; font-size: 22px; font-weight: var(--font-weight-bold) }
.pass-amount span { font-size: var(--size-min); font-weight: var(--font-weight-regular) }
.pass-features { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--space-1) }
.pass-features li { position: relative; padding-inline-start: 28px; font-size: var(--size-support) }
.pass-features li::before { content: "\2713"; position: absolute; inset-inline-start: 0; color: #E4573D; font-weight: var(--font-weight-bold) }
.pass-note {
 margin: 0;
 padding: var(--space-1) var(--space-2);
 border-radius: 999px;
 background: #FDF0DA;
 color: #E4573D;
 font-size: var(--size-min);
 font-weight: var(--font-weight-medium);
 text-align: center }
.pass-card .btn { margin-top: auto; width: 100%; justify-content: center; background: #E4573D; border-color: #E4573D; color: var(--color-surface); border-radius: 999px }
.pass-card.is-top { background: #1A2E28; border-color: #1A2E28; color: var(--color-surface) }
.pass-card.is-top .pass-kicker, .pass-card.is-top .pass-percent { color: #F5A623 }
.pass-card.is-top .pass-small { color: rgba(255, 255, 255, 0.72) }
.pass-card.is-top .pass-price { border-color: rgba(255, 255, 255, 0.16) }
.pass-card.is-top .pass-features li::before { color: #F5A623 }
.pass-card.is-top .pass-note { background: rgba(255, 255, 255, 0.1); color: #F5A623 }
.pass-card.is-top .btn { background: #F5A623; border-color: #F5A623; color: #1A2E28 }

.ticket-grid {
 display: grid;
 gap: var(--space-3);
 margin: 0;
 padding: 0;
 list-style: none;
 grid-template-columns: 1fr }
@media (min-width: 700px) { .ticket-grid { grid-template-columns: repeat(2, 1fr) } }
@media (min-width: 1024px) { .ticket-grid { grid-template-columns: repeat(3, 1fr) } }
.ticket-card a {
 display: flex;
 flex-direction: column;
 height: 100%;
 overflow: hidden;
 border: 1px solid var(--color-sand);
 border-radius: var(--radius);
 background: var(--color-surface);
 color: inherit;
 text-decoration: none }
.ticket-card img, .ticket-card-ph { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: var(--color-sand) }
.ticket-card-body { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-3); flex: 1 }
.ticket-card-body h3 { margin: 0; font-size: var(--size-h2) }
.ticket-card-body .support { margin: 0 }
.ticket-card-price { margin: 0 }
.ticket-card-cta { margin-top: auto; color: var(--color-brick); font-weight: var(--font-weight-semibold) }
.ticket-card a:hover .ticket-card-cta, .ticket-card a:focus-visible .ticket-card-cta { text-decoration: underline }

/* رحلة الزائر: ست خطوات على الخط الزمني نفسه، أفقية على الشاشات العريضة وعمودية دونها */
.steps-6 .step { padding-inline: var(--space-1) }
.steps-6 .step h3 { font-size: var(--size-lead) }
.steps-6 .step p { font-size: var(--size-support); color: var(--color-text-muted) }
@media (min-width: 768px) and (max-width: 999px) {
 .steps-6 { flex-direction: column }
 .steps-6 .step {
  display: grid;
  padding: 0 0 var(--space-4);
  text-align: start;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start }
 .steps-6 .step:last-child { padding-bottom: 0 }
 .steps-6 .step-number { width: 48px; height: 48px; font-size: var(--size-lead) }
 .steps-6 .step::before {
  top: 24px;
  bottom: 0;
  width: 2px;
  height: auto;
  inset-inline-start: 23px;
  inset-inline-end: auto }
 .steps-6 .step h3 { padding-top: var(--space-1) }
 .steps-6 .step p { max-width: none } }
@media (max-width: 600px) {
 .event-hero-meta { flex-direction: column; gap: 4px }
 .event-hero-meta li + li::before { content: none } }
