/* ============================================================
   LIORA | ليورا — ملف التصميم الموحّد لجميع الصفحات
   الهوية: أوف وايت + بيج دافئ + وردي غباري + بني فاتح + لمسات ذهبية
   ============================================================ */

/* ---------- الخطوط العربية ---------- */
@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Tajawal:wght@300;400;500;700;800&display=swap');

/* ---------- المتغيرات العامة ---------- */
:root {
  --off-white: #FCFAF7;
  --cream: #F7F1EA;
  --beige: #EDE2D5;
  --beige-deep: #E3D3C1;
  --rose: #D9B3B3;
  --rose-soft: #EED9D9;
  --brown: #8B6B5A;
  --brown-dark: #4B3B33;
  --brown-light: #B3927F;
  --gold: #C6A664;
  --gold-soft: #E6D5AF;
  --line: rgba(139, 107, 90, 0.18);

  --shadow-soft: 0 18px 45px rgba(75, 59, 51, 0.08);
  --shadow-hover: 0 26px 60px rgba(75, 59, 51, 0.15);

  --radius: 20px;
  --radius-sm: 12px;
  --container: 1180px;

  --font-ar: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
  --font-display: 'Amiri', 'Traditional Arabic', serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  direction: rtl;              /* دعم كامل لاتجاه العربية */
  text-align: right;
  font-family: var(--font-ar);
  font-weight: 400;
  line-height: 1.9;
  color: var(--brown-dark);
  background-color: var(--off-white);
  background-image:
    radial-gradient(circle at 8% 4%, rgba(217, 179, 179, .10), transparent 32%),
    radial-gradient(circle at 92% 28%, rgba(198, 166, 100, .09), transparent 30%);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--rose-soft); color: var(--brown-dark); }

/* ---------- أدوات مساعدة ---------- */
.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section { padding-block: clamp(72px, 10vw, 120px); }
.section.center { text-align: center; }
.section.cream { background: var(--cream); }

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .12em;
}
.section-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--brown-dark);
}

.section-lead {
  max-width: 660px;
  margin: 0 0 44px;
  color: #7A6458;
  font-size: 1.06rem;
}
.center .section-lead { margin-inline: auto; }

/* ---------- الأزرار ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.6;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease),
              background .35s var(--ease), color .35s var(--ease);
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--brown), #A07E69);
  box-shadow: 0 12px 28px rgba(90, 68, 56, .22);
}
.btn-primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #9C7963, var(--brown));
  box-shadow: 0 18px 36px rgba(90, 68, 56, .3);
}

.btn-ghost {
  color: #FFF9F3;
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .55);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .18); }

.btn-outline {
  color: var(--brown);
  background: transparent;
  border-color: var(--brown-light);
}
.btn-outline:hover { background: var(--brown); color: #fff; transform: translateY(-3px); }

.btn-wa {
  color: #fff;
  background: #2E7D5B;
  box-shadow: 0 12px 28px rgba(46, 125, 91, .22);
}
.btn-wa:hover { background: #256A4C; transform: translateY(-3px); box-shadow: 0 18px 36px rgba(46, 125, 91, .3); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brown);
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: color .3s var(--ease), gap .3s var(--ease);
}
.text-link:hover { color: var(--brown-dark); gap: 14px; }

/* ============================================================
   شريط التنقل
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 250, 247, .93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(75, 59, 51, .08); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-latin {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: .26em;
  color: var(--brown-dark);
}
.brand-divider { width: 1px; height: 24px; background: var(--gold); opacity: .7; }
.brand-arabic {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brown);
}

.main-nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 38px); }
.main-nav a {
  position: relative;
  padding: 8px 2px;
  font-size: .97rem;
  font-weight: 700;
  color: #6D584C;
  transition: color .3s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transition: width .35s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--brown-dark); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }

.header-wa {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  color: #2E7D5B;
  background: #EAF4EE;
  border: 1px solid #CDE6D8;
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.header-wa:hover { transform: translateY(-3px) scale(1.06); background: #2E7D5B; color: #fff; }
.header-wa svg, .info-icon svg, .feature-icon svg { width: 20px; height: 20px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  border: 0;
  background: transparent;
}
.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  border-radius: 2px;
  background: var(--brown-dark);
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   الواجهة الرئيسية (Hero)
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(780px, 94vh);
  display: grid;
  place-items: center;
  padding: 120px 0 100px;
  overflow: hidden;
  text-align: center;
  color: #FFF9F3;
}
.hero-media { position: absolute; inset: 0; z-index: -2; background: var(--brown); }
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  animation: heroZoom 20s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.1); } to { transform: scale(1); } }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 35%, rgba(255, 240, 228, .22), transparent 45%),
    linear-gradient(180deg, rgba(52, 40, 34, .32), rgba(52, 40, 34, .5) 48%, rgba(40, 30, 26, .68));
}

.hero-content { max-width: 880px; }
.hero-eyebrow {
  display: inline-block;
  margin: 0 0 22px;
  padding: 7px 18px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  backdrop-filter: blur(8px);
  font-size: .85rem;
  letter-spacing: .04em;
}
.hero h1 {
  margin: 0 0 22px;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.45;
  text-shadow: 0 4px 24px rgba(0, 0, 0, .2);
}
.hero-desc {
  max-width: 660px;
  margin: 0 auto 34px;
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 2;
  color: #F7EBE2;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.hero-tagline {
  margin: 42px 0 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-soft);
}
.hero-tagline::before, .hero-tagline::after { content: "✦"; margin-inline: 12px; font-size: .8rem; opacity: .8; }

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: .72rem;
  letter-spacing: .1em;
  opacity: .85;
}
.hero-scroll span {
  width: 1px;
  height: 38px;
  background: linear-gradient(var(--gold-soft), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%, 100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ============================================================
   قسم التعريف بالمتجر
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 90px);
}
.about-image { position: relative; isolation: isolate; }
.image-frame {
  position: relative;
  aspect-ratio: 4 / 4.3;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--beige), var(--cream));
  box-shadow: var(--shadow-soft);
}
.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.image-frame:hover img { transform: scale(1.06); }
.image-deco {
  position: absolute;
  inset: auto auto -24px -24px;
  width: 68%;
  height: 68%;
  border: 1px solid var(--gold-soft);
  border-radius: 24px;
  z-index: -1;
}
.image-badge {
  position: absolute;
  bottom: 22px;
  left: 18px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  background: rgba(252, 250, 247, .95);
  box-shadow: var(--shadow-soft);
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--brown);
}

.check-list { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-inline-start: 32px; color: #6E5A4E; }
.check-list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--rose-soft);
  color: var(--brown);
  font-size: .72rem;
  font-weight: 800;
}

/* ============================================================
   بطاقات الخدمات
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.service-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }

.card-media {
  position: relative;
  aspect-ratio: 4 / 2.9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--beige), var(--rose-soft));
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .card-media img { transform: scale(1.08); }
.card-number {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(252, 250, 247, .92);
  color: var(--brown);
  font-family: Georgia, serif;
  font-size: .95rem;
  box-shadow: 0 6px 18px rgba(75, 59, 51, .1);
}

.card-body { display: flex; flex-direction: column; flex: 1; padding: 28px 26px 26px; }
.card-body h3 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brown-dark);
}
.card-body p { flex: 1; margin: 0 0 20px; color: #776155; font-size: .98rem; }
.card-price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--brown);
  font-size: .92rem;
  font-weight: 800;
}
.card-price span { color: var(--gold); font-size: 1.05rem; }
.card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--brown);
  font-weight: 800;
  transition: color .3s var(--ease), gap .3s var(--ease);
}
.card-link:hover { color: var(--brown-dark); }
.card-link .arrow { transition: transform .3s var(--ease); }
.card-link:hover .arrow { transform: translateX(-6px); }

/* ============================================================
   لماذا ليورا
   ============================================================ */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature {
  padding: 34px 26px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .6);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--brown);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.35rem; }
.feature p { margin: 0; color: #776155; font-size: .95rem; }

/* ============================================================
   العبارة التسويقية
   ============================================================ */
.quote-band {
  position: relative;
  isolation: isolate;
  padding-block: clamp(84px, 11vw, 145px);
  overflow: hidden;
  text-align: center;
  background: linear-gradient(120deg, #F4E9DF, #ECDAD6 55%, #F2E6DC);
}
.quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(var(--gold) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: .12;
}
.quote-band::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 340px;
  height: 340px;
  border: 1px solid rgba(198, 166, 100, .3);
  border-radius: 50%;
  top: -170px;
  right: -100px;
}
.quote-mark {
  display: block;
  font-family: var(--font-display);
  font-size: 5rem;
  line-height: .6;
  color: var(--gold);
  opacity: .55;
}
.quote-band p.quote-text {
  max-width: 900px;
  margin: 18px auto 26px;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.2vw, 3.35rem);
  font-weight: 700;
  line-height: 1.65;
  color: var(--brown-dark);
}
.quote-line { display: block; width: 70px; height: 1px; margin: 0 auto 20px; background: var(--gold); }
.quote-sign { margin: 0; color: var(--brown); font-size: .95rem; font-weight: 700; letter-spacing: .12em; }

/* ============================================================
   تذييل الموقع
   ============================================================ */
.site-footer {
  padding-top: 74px;
  color: #EFE4DA;
  background: #3F332D;
  background-image: radial-gradient(circle at 85% 0%, rgba(198, 166, 100, .12), transparent 38%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.1fr;
  gap: 50px;
  padding-bottom: 52px;
}
.footer-brand .brand-latin { color: #FAF1E8; }
.footer-brand .brand-arabic { color: var(--gold-soft); }
.footer-brand p { max-width: 330px; margin: 18px 0 0; color: #CBBAB0; font-size: .95rem; line-height: 2; }
.footer-title { margin: 0 0 18px; font-family: var(--font-display); font-size: 1.3rem; color: var(--gold-soft); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a {
  display: block;
  padding: 5px 0;
  color: #D8C9BE;
  font-size: .96rem;
  transition: color .3s var(--ease), padding-inline-start .3s var(--ease);
}
.footer-links a:hover { color: #fff; padding-inline-start: 7px; }
.footer-contact p, .footer-contact a { margin: 0 0 10px; color: #D8C9BE; font-size: .96rem; line-height: 1.9; }
.footer-contact a:hover { color: var(--gold-soft); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, .11);
  color: #BCA99D;
  font-size: .87rem;
}
.footer-bottom .footer-tagline { font-family: var(--font-display); color: var(--gold-soft); font-size: 1rem; }

/* ============================================================
   صفحات داخلية: عنوان الصفحة
   ============================================================ */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(80px, 11vw, 135px) 0 clamp(62px, 8vw, 92px);
  text-align: center;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(155deg, var(--cream), var(--beige));
}
.page-hero::before, .page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(198, 166, 100, .28);
  border-radius: 50%;
}
.page-hero::before { width: 400px; height: 400px; top: -210px; right: -120px; }
.page-hero::after { width: 280px; height: 280px; bottom: -180px; left: -80px; }

.breadcrumb { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 0 0 16px; font-size: .88rem; color: var(--brown); }
.breadcrumb a:hover { color: var(--brown-dark); text-decoration: underline; }
.breadcrumb span { opacity: .5; }
.page-hero h1 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.45;
  color: var(--brown-dark);
}
.page-hero p { max-width: 660px; margin: 0 auto; color: #7A6458; font-size: 1.08rem; }
.page-hero .hero-ornament { display: block; margin: 22px auto 0; color: var(--gold); letter-spacing: .6em; font-size: .95rem; }

/* ============================================================
   صفحة الخدمات
   ============================================================ */
.service-detail .card-body p { min-height: 108px; }
.btn-order { width: 100%; margin-top: 20px; }
.service-note {
  margin-top: 46px;
  padding: 30px 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  text-align: center;
}
.service-note h2 { margin: 0 0 10px; font-family: var(--font-display); font-size: 1.7rem; }
.service-note p { margin: 0 0 20px; color: #776155; }

/* ============================================================
   صفحة التواصل
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: start;
  gap: clamp(30px, 5vw, 68px);
}
.info-card {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.info-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.info-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--brown);
}
.info-icon svg { width: 23px; height: 23px; }
.info-card h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 1.3rem; }
.info-card p, .info-card a { margin: 0; color: #776155; font-size: .98rem; line-height: 1.9; }
.info-card a:hover { color: var(--brown); }
.info-card .wa-inline { display: inline-flex; align-items: center; gap: 7px; margin-top: 8px; color: #2E7D5B; font-weight: 800; direction: ltr; }
.info-card .wa-inline svg { width: 17px; height: 17px; }
.info-card .wa-inline span { direction: rtl; }

.wa-box {
  margin-top: 30px;
  padding: 26px;
  text-align: center;
  border: 1px solid #CDE6D8;
  border-radius: var(--radius);
  background: #F0F8F3;
}
.wa-box p { margin: 0 0 16px; color: #3F6B56; font-size: .97rem; }

.form-card {
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}
.form-card h2 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.9rem; }
.form-card > p { margin: 0 0 28px; color: #776155; font-size: .96rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; color: var(--brown-dark); font-size: .94rem; font-weight: 700; }
.field label span { color: #B46B6B; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  outline: none;
  color: var(--brown-dark);
  background: var(--off-white);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: #B09D91; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(198, 166, 100, .13);
}
.field textarea { min-height: 145px; resize: vertical; }
.contact-form.was-validated input:invalid,
.contact-form.was-validated select:invalid,
.contact-form.was-validated textarea:invalid {
  border-color: #C98C8C;
  background: #FFF8F8;
}
.form-hint { display: block; margin-top: 6px; color: #A08D80; font-size: .82rem; }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-disclaimer { flex: 1 1 260px; margin: 0; color: #9A867A; font-size: .84rem; line-height: 1.8; }
.form-status {
  display: none;
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px solid #BFE0CD;
  border-radius: var(--radius-sm);
  background: #EAF4EE;
  color: #256B49;
  font-size: .93rem;
  line-height: 1.9;
}
.form-status.show { display: block; }
.form-status.error { border-color: #EDC9C9; background: #FBEDED; color: #9B4F4F; }
.form-status a { font-weight: 800; text-decoration: underline; }

/* ============================================================
   زر العودة للأعلى
   ============================================================ */
.to-top {
  position: fixed;
  left: 26px;
  bottom: 26px;
  z-index: 90;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--brown);
  background: rgba(252, 250, 247, .96);
  box-shadow: 0 10px 30px rgba(75, 59, 51, .16);
  font-size: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .35s var(--ease), transform .35s var(--ease),
              visibility .35s var(--ease), background .35s var(--ease), color .35s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brown); color: #fff; transform: translateY(-4px); }

/* ============================================================
   حركات الظهور عند التمرير
   ============================================================ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal-delay-1 { transition-delay: .12s; }
.js .reveal-delay-2 { transition-delay: .24s; }

/* ============================================================
   الاستجابة للشاشات
   ============================================================ */
@media (max-width: 980px) {
  .services-grid, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header-wa { display: none; } /* إبقاء زر القائمة وحده على اليسار */
  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px 20px 22px;
    background: rgba(252, 250, 247, .99);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(75, 59, 51, .1);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: max-height .4s var(--ease), opacity .35s var(--ease), transform .35s var(--ease), padding .35s var(--ease);
  }
  .main-nav.open { max-height: 320px; opacity: 1; pointer-events: auto; transform: none; }
  .main-nav a { padding: 12px 10px; border-radius: 10px; }
  .main-nav a:hover { background: var(--cream); }
  .main-nav a::after { display: none; }

  .about-grid, .contact-layout { grid-template-columns: 1fr; }
  .about-image { max-width: 560px; margin-inline: auto; }
  .contact-layout .info-column { max-width: 620px; }
}

@media (max-width: 700px) {
  .services-grid, .features-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .card-body p { min-height: 0; }
  .hero { min-height: 660px; padding: 96px 0 90px; }
  .hero-tagline { margin-top: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-brand { grid-column: auto; }
}

@media (max-width: 480px) {
  .container { width: min(100% - 30px, var(--container)); }
  .header-inner { min-height: 74px; }
  .brand { gap: 8px; }
  .brand-latin { font-size: 1.3rem; letter-spacing: .18em; }
  .brand-arabic { font-size: 1.1rem; }
  .header-wa { width: 38px; height: 38px; }
  .hero h1 { font-size: 2.15rem; }
  .hero-actions .btn { width: 100%; }
  .card-body, .form-card { padding-inline: 20px; }
  .to-top { left: 16px; bottom: 16px; width: 46px; height: 46px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ---------- احترام تفضيل تقليل الحركة ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
