/* ============================================================
   أكاديمية مرافئ الترتيل — الأنماط الرئيسية
   الهوية: أخضر داكن وذهبي على كريمي
   ============================================================ */

:root {
  --green-950: #0c2a1b;
  --green-900: #123a26;
  --green-800: #17492f;
  --green-700: #1e5a3a;
  --gold: #c79e4c;
  --gold-soft: #e2c687;
  --gold-deep: #9c7833;
  --cream: #fefbee;
  --cream-2: #f7f1df;
  --white: #ffffff;
  --ink: #1b2a22;
  --muted: #5a6a60;
  --line: rgba(199, 158, 76, 0.35);
  --line-soft: rgba(199, 158, 76, 0.18);
  --danger: #a8331f;

  --font-display: 'Amiri', 'Noto Naskh Arabic', 'Times New Roman', serif;
  --font-body: 'Tajawal', 'Noto Sans Arabic', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -28px rgba(12, 42, 27, 0.55);
  --shadow-soft: 0 10px 26px -20px rgba(12, 42, 27, 0.5);
  --wrap: 72rem;
  --header-h: 4rem;

  --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='84' viewBox='0 0 84 84'%3E%3Cg fill='none' stroke='%23C79E4C' stroke-opacity='0.12' stroke-width='1'%3E%3Cpath d='M42 4l9 20 20 9-20 9-9 20-9-20-20-9 20-9z'/%3E%3Cpath d='M42 20l5 12 12 5-12 5-5 12-5-12-12-5 12-5z'/%3E%3Ccircle cx='42' cy='42' r='2.5'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- أساسيات ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.95;
  text-align: right;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 0.6em;
  color: var(--green-900);
}

h1 { font-size: clamp(1.95rem, 6.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4.4vw, 2.5rem); }
h3 { font-size: clamp(1.22rem, 3vw, 1.5rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-700); text-decoration-color: var(--line); text-underline-offset: 4px; }
a:hover { color: var(--gold-deep); }

ul, ol { margin: 0 0 1.1em; padding-inline-start: 1.4em; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--green-900);
  color: var(--cream);
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 10px 10px;
  font-weight: 700;
  transition: top 0.18s ease;
}
.skip-link:focus { top: 0; color: var(--cream); }

/* ---------- الهيدر ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--green-950);
  background-image: var(--pattern);
  border-bottom: 1px solid rgba(199, 158, 76, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
  min-width: 0;
}
.brand:hover { color: var(--cream); }

.brand-logo {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 2px;
  border-radius: 50%;
  border: 1px solid rgba(199, 158, 76, 0.65);
  background: var(--cream);
  object-fit: contain;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--cream);
  white-space: nowrap;
}
.brand-sub {
  font-size: 0.7rem;
  color: rgba(254, 251, 238, 0.72);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  background: transparent;
  border: 1px solid rgba(199, 158, 76, 0.55);
  border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--gold-soft);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background-color: var(--green-900);
  background-image: var(--pattern);
  border-bottom: 1px solid rgba(199, 158, 76, 0.4);
  box-shadow: 0 22px 34px -26px rgba(0, 0, 0, 0.8);
}
.nav-open .site-nav { display: block; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 1.25rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}
.site-nav a {
  display: block;
  padding: 0.75rem 0.4rem;
  color: var(--cream);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(199, 158, 76, 0.14);
}
.site-nav a:hover { color: var(--gold-soft); }
.site-nav a[aria-current='page'] { color: var(--gold-soft); font-weight: 700; }
.nav-cta { margin-top: 0.7rem; }
.nav-cta a {
  border-bottom: 0;
  text-align: center;
  background-image: linear-gradient(180deg, var(--gold-soft), var(--gold));
  color: var(--green-950) !important;
  border-radius: 999px;
  font-weight: 700;
  padding: 0.75rem 1rem;
}

@media (min-width: 860px) {
  :root { --header-h: 4.6rem; }
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .site-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 0.35rem;
    padding: 0;
  }
  .site-nav a {
    padding: 0.5rem 0.75rem;
    border-bottom: 2px solid transparent;
    font-size: 0.98rem;
  }
  .site-nav a[aria-current='page'] { border-bottom-color: var(--gold); }
  .nav-cta { margin: 0 0.4rem 0 0; }
  .nav-cta a { padding: 0.5rem 1.15rem; border-bottom: 0; }
  .brand-logo { width: 48px; height: 48px; }
  .brand-name { font-size: 1.14rem; }
}

/* ---------- أزرار ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background-image: linear-gradient(180deg, #d9b465, var(--gold));
  color: var(--green-950);
  box-shadow: 0 12px 24px -18px rgba(0, 0, 0, 0.9);
}
.btn-primary:hover { color: var(--green-950); box-shadow: 0 16px 28px -16px rgba(0, 0, 0, 0.55); }

.btn-ghost {
  background: rgba(254, 251, 238, 0.06);
  border-color: rgba(226, 198, 135, 0.6);
  color: var(--cream);
}
.btn-ghost:hover { background: rgba(254, 251, 238, 0.14); color: var(--cream); }

.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--green-800);
}
.btn-outline:hover { background: rgba(199, 158, 76, 0.12); color: var(--green-900); }

.btn-block { width: 100%; }
.btn-lg { min-height: 54px; padding: 0.95rem 2rem; font-size: 1.06rem; }

/* ---------- الهيرو ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--green-900);
  background-image: var(--pattern);
  color: var(--cream);
  padding-block: 2.4rem 2.8rem;
  border-bottom: 1px solid rgba(199, 158, 76, 0.35);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 70% at 50% 0%, rgba(226, 198, 135, 0.22), transparent 62%);
  pointer-events: none;
}
.hero > * { position: relative; }

.hero-inner { display: grid; gap: 1.4rem; justify-items: center; text-align: center; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.hero-kicker::before,
.hero-kicker::after {
  content: '';
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.hero h1 {
  color: var(--cream);
  margin: 0;
  font-size: clamp(2.05rem, 8vw, 3.9rem);
  line-height: 1.25;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 3.6vw, 1.65rem);
  color: var(--gold-soft);
  margin: 0;
}

.hero-banner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 6px;
  border: 1px solid rgba(199, 158, 76, 0.75);
  border-radius: 14px;
  background: rgba(254, 251, 238, 0.06);
  box-shadow: 0 26px 50px -34px rgba(0, 0, 0, 0.95);
}
.hero-banner img { border-radius: 9px; width: 100%; }

.hero-lead {
  max-width: 42rem;
  margin: 0;
  color: rgba(254, 251, 238, 0.9);
  font-size: clamp(0.98rem, 2.6vw, 1.1rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: center;
  width: 100%;
}
.hero-actions .btn { flex: 1 1 14rem; max-width: 20rem; }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.6rem;
  margin: 0;
  font-size: 0.92rem;
  color: rgba(254, 251, 238, 0.88);
}
.hero-facts span { white-space: nowrap; }
.hero-facts .sep { color: var(--gold); font-size: 0.55rem; line-height: 1; }

/* ---------- شريط الآية ---------- */
.verse {
  background: var(--cream-2);
  border-bottom: 1px solid var(--line-soft);
  padding-block: 1.5rem;
  text-align: center;
}
.verse p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 4.2vw, 1.8rem);
  color: var(--green-800);
  margin: 0 0 0.15rem;
  line-height: 1.7;
}
.verse cite {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--gold-deep);
}

/* ---------- أقسام ---------- */
.section { padding-block: 3rem; }
.section-tight { padding-block: 2.2rem; }

.section-head {
  max-width: 46rem;
  margin: 0 auto 1.9rem;
  text-align: center;
}
.section-head.start { margin-inline: 0; text-align: right; }

.kicker {
  display: block;
  margin: 0 0 0.4rem;
  color: var(--gold-deep);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.section-head h2 { margin-bottom: 0.5rem; }
.lead {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 42rem;
  margin-inline: auto;
}

.ornament {
  display: block;
  width: 168px;
  height: 16px;
  margin: 0.3rem auto 0.9rem;
  color: var(--gold);
}
.section-head.start .ornament { margin-inline: 0; }

/* ---------- شبكة البطاقات ---------- */
.grid { display: grid; gap: 1rem; }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

@media (min-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background-image: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.7;
}
.card h3 { margin-bottom: 0.45rem; }
.card p { color: var(--muted); font-size: 0.99rem; }

.card-soft {
  background: var(--cream-2);
  border-color: var(--line-soft);
  box-shadow: none;
}

/* ميدالية بشكل قوس */
.medallion {
  width: 58px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  border: 1px solid var(--gold);
  border-radius: 50% 50% 10px 10px / 46% 46% 10px 10px;
  background: linear-gradient(180deg, rgba(226, 198, 135, 0.22), rgba(254, 251, 238, 0.6));
  color: var(--green-800);
}
.medallion svg { width: 26px; height: 26px; }

/* بطاقة برنامج */
.prog-card { display: flex; flex-direction: column; }
.prog-card > p { flex: 1 0 auto; }

.prog-more {
  margin-top: 0.9rem;
  border-top: 1px solid var(--line-soft);
  padding-top: 0.8rem;
}
.prog-more summary {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
  color: var(--gold-deep);
  font-weight: 700;
  font-size: 0.95rem;
  list-style: none;
}
.prog-more summary::-webkit-details-marker { display: none; }
.prog-more summary::after {
  content: '+';
  margin-inline-start: auto;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--gold-deep);
}
.prog-more[open] summary::after { content: '\2212'; }
.prog-body { padding-top: 0.7rem; }
.prog-body p { font-size: 0.96rem; }

/* ---------- مزايا ---------- */
.feature { display: flex; gap: 0.9rem; align-items: flex-start; }
.feature .dot {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  margin-top: 0.35rem;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 1rem;
}
.feature h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.feature p { font-size: 0.96rem; color: var(--muted); margin: 0; }

/* ---------- خطوات ---------- */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  counter-reset: step;
}
.steps li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.15rem 1.15rem 1.15rem;
  padding-inline-start: 4.1rem;
  box-shadow: var(--shadow-soft);
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  inset-inline-start: 1rem;
  top: 1.05rem;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background-image: linear-gradient(180deg, #d9b465, var(--gold));
  color: var(--green-950);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1rem;
}
.steps h3 { font-size: 1.06rem; margin: 0 0 0.15rem; }
.steps p { margin: 0; font-size: 0.95rem; color: var(--muted); }

@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding-inline-start: 1.15rem; padding-top: 3.5rem; }
  .steps li::before { top: 1.05rem; inset-inline-start: 1.15rem; }
}

/* ---------- شريط دعوة ---------- */
.cta-band {
  background-color: var(--green-800);
  background-image: var(--pattern);
  color: var(--cream);
  border-block: 1px solid rgba(199, 158, 76, 0.35);
  padding-block: 2.6rem;
  text-align: center;
}
.cta-band h2 { color: var(--cream); margin-bottom: 0.5rem; }
.cta-band p { color: rgba(254, 251, 238, 0.85); max-width: 40rem; margin-inline: auto; }
.cta-band .btn { margin-top: 1.1rem; }

/* ---------- ترويسة الصفحات الداخلية ---------- */
.page-head {
  background-color: var(--green-900);
  background-image: var(--pattern);
  color: var(--cream);
  padding-block: 2.2rem 2.4rem;
  border-bottom: 1px solid rgba(199, 158, 76, 0.35);
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(110% 80% at 50% 0%, rgba(226, 198, 135, 0.18), transparent 60%);
}
.page-head > .container { position: relative; }
.page-head h1 { color: var(--cream); margin-bottom: 0.4rem; font-size: clamp(1.75rem, 5.6vw, 2.8rem); }
.page-head p { color: rgba(254, 251, 238, 0.88); max-width: 44rem; margin: 0; }
.page-head .kicker { color: var(--gold-soft); }
.crumbs {
  margin: 0 0 0.6rem;
  font-size: 0.8rem;
  color: rgba(254, 251, 238, 0.7);
}
.crumbs a { color: rgba(254, 251, 238, 0.85); text-decoration: none; }
.crumbs a:hover { color: var(--gold-soft); }
.crumbs span { margin-inline: 0.35rem; }

/* ---------- عن الأكاديمية ---------- */
.about-grid { display: grid; gap: 1.6rem; align-items: center; }
@media (min-width: 880px) {
  .about-grid { grid-template-columns: 0.85fr 1.15fr; gap: 2.6rem; }
  .about-grid.reverse { grid-template-columns: 1.15fr 0.85fr; }
}
.crest-figure {
  margin: 0;
  justify-self: center;
  width: 100%;
  max-width: 320px;
  padding: 0.9rem;
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: 200px 200px 24px 24px;
  box-shadow: var(--shadow);
}
.crest-figure img { width: 100%; }
.crest-figure figcaption {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gold-deep);
  padding-top: 0.3rem;
}

.note {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: rgba(199, 158, 76, 0.09);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1.05rem;
  font-size: 0.95rem;
  color: #4a5a50;
}
.note svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 0.35rem; color: var(--gold-deep); }
.note p { margin: 0; }

/* عناصر تحتاج استكمالًا من الإدارة */
.todo {
  display: inline-block;
  border: 1px dashed var(--gold);
  border-radius: 6px;
  background: rgba(199, 158, 76, 0.1);
  color: var(--gold-deep);
  padding: 0.02em 0.45em;
  font-size: 0.92em;
  font-weight: 500;
  line-height: 1.7;
  white-space: normal;
}

/* ---------- الاستمارات ---------- */
.form-layout { display: grid; gap: 1.3rem; }
@media (min-width: 900px) {
  .form-layout { grid-template-columns: 1.35fr 0.65fr; gap: 2rem; align-items: start; }
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.1rem;
  box-shadow: var(--shadow);
}
@media (min-width: 620px) {
  .form-card { padding: 1.9rem 1.7rem; }
}

fieldset { border: 0; margin: 0; padding: 0; }
legend {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--green-800);
  padding: 0 0 0.2rem;
  margin-bottom: 0.6rem;
}

.form-grid { display: grid; gap: 1rem; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}

.field { display: flex; flex-direction: column; gap: 0.3rem; }
.field label { font-size: 0.92rem; font-weight: 700; color: var(--green-900); }
.field .hint { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.req { color: var(--gold-deep); }

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fdfbf2;
  border: 1px solid rgba(27, 42, 34, 0.18);
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  min-height: 48px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input[type="tel"] { text-align: right; }
.field textarea { min-height: 6.5rem; resize: vertical; line-height: 1.8; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%239c7833' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.95rem center;
  padding-inline-start: 2rem;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(199, 158, 76, 0.25);
}
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--danger); }
.field-error {
  margin: 0;
  font-size: 0.83rem;
  color: var(--danger);
  display: none;
}
.field.has-error .field-error { display: block; }

.form-foot { margin-top: 1.2rem; display: grid; gap: 0.8rem; }
.form-foot .small { font-size: 0.85rem; color: var(--muted); margin: 0; }

.after-send {
  background: var(--cream-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.3rem 1.2rem;
}
.after-send h2 { font-size: 1.2rem; margin-bottom: 0.7rem; }
.after-send ol { padding-inline-start: 1.2rem; margin: 0 0 1rem; }
.after-send li { margin-bottom: 0.5rem; font-size: 0.95rem; color: #3c4b42; }
.after-send .wa-line {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--green-800);
  font-size: 1rem;
  text-decoration: none;
}
.after-send .wa-line svg { width: 22px; height: 22px; color: #1f8a4c; }
.after-send .wa-line .num { direction: ltr; unicode-bidi: plaintext; }

.preview {
  margin-top: 1rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  background: #fdfbf2;
  padding: 0.9rem 1rem;
}
.preview h3 { font-size: 0.95rem; margin: 0 0 0.4rem; color: var(--gold-deep); }
.preview pre {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.85;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--ink);
}
.preview[hidden] { display: none; }

/* ---------- التواصل ---------- */
.contact-grid { display: grid; gap: 1rem; }
@media (min-width: 700px) { .contact-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }

.contact-card {
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.25rem 1.15rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-card .label {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  font-weight: 700;
}
.contact-card .value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--green-900);
  direction: ltr;
  text-align: right;
  unicode-bidi: plaintext;
}
.contact-card p { font-size: 0.92rem; color: var(--muted); margin: 0; }
.contact-card.wide { grid-column: 1 / -1; }
/* ---------- سداد الرسوم ---------- */
.pay-card {
  background: linear-gradient(180deg, #fdf6e6, #fffdf7);
  border-color: rgba(199, 158, 76, 0.55);
}
.pay-card .label { color: #7a5a1c; }
.pay-card .value.pay-num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.1em;
  color: var(--green-900);
}
.pay-box {
  margin-top: 1.1rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(199, 158, 76, 0.55);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(199, 158, 76, 0.12), rgba(255, 255, 255, 0.55));
}
.pay-box .label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--gold-deep);
}
.pay-box .pay-method {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--green-900);
  line-height: 1.6;
}
.pay-box .pay-num {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.45rem;
  letter-spacing: 0.1em;
  color: var(--green-900);
  margin-bottom: 0.35rem;
}
.pay-box .small { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.8; }

.contact-card .fb-link {
  direction: rtl;
  font-size: 1.15rem;
  color: var(--gold-deep);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.contact-card .fb-link:hover { text-decoration: underline; color: var(--gold-deep); }

.wa-card {
  background: linear-gradient(180deg, #f2fbf5, #ffffff);
  border-color: rgba(31, 138, 76, 0.35);
}
.wa-card .value { color: #14663a; }

/* ---------- التذييل ---------- */
.site-footer {
  background-color: var(--green-950);
  background-image: var(--pattern);
  color: rgba(254, 251, 238, 0.8);
  padding-block: 2.4rem 1.3rem;
  border-top: 1px solid rgba(199, 158, 76, 0.4);
  font-size: 0.95rem;
}
.footer-grid { display: grid; gap: 1.6rem; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
}
.footer-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 0.7rem; }
.footer-brand img {
  width: 54px; height: 54px; padding: 2px; border-radius: 50%;
  border: 1px solid rgba(199, 158, 76, 0.6); background: var(--cream);
  object-fit: contain;
}
.footer-brand .name {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--cream);
  display: block;
  line-height: 1.3;
}
.footer-brand .tag {
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--gold-soft);
}
.site-footer p { margin: 0 0 0.6rem; }
.site-footer h2 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  color: var(--gold-soft);
  margin: 0 0 0.75rem;
  font-weight: 700;
}
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.footer-contact .label { display: block; font-size: .85rem; color: rgba(254, 251, 238, 0.7); }
.footer-links a,
.footer-contact a { color: rgba(254, 251, 238, 0.85); text-decoration: none; }
.footer-links a:hover,
.footer-contact a:hover { color: var(--gold-soft); }
.footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer-contact .num {
  font-family: var(--font-display);
  font-size: 1.12rem;
  color: var(--cream);
  direction: ltr;
  display: inline-block;
  unicode-bidi: plaintext;
}
.footer-bottom {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(199, 158, 76, 0.22);
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(254, 251, 238, 0.6);
}

/* ---------- أدوات ---------- */
.mt-1 { margin-top: 0.6rem; }
.mt-2 { margin-top: 1.2rem; }
.mt-3 { margin-top: 2rem; }
.center { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
