/* ==========================================================
   دقة للتقييم العقاري — التصميم العام للموقع
   ========================================================== */

:root {
  --color-primary: #0b3142;
  --color-primary-dark: #082430;
  --color-primary-light: #12495f;
  --color-accent: #c9973e;
  --color-accent-dark: #a97c2c;
  --color-bg: #f7f6f3;
  --color-surface: #ffffff;
  --color-text: #1c2530;
  --color-text-muted: #5b6672;
  --color-border: #e6e3db;
  --color-success-bg: #e7f6ec;
  --color-success-text: #1c7a3c;
  --color-error-bg: #fbeaea;
  --color-error-text: #b02a2a;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(11, 49, 66, 0.06);
  --shadow-md: 0 10px 30px rgba(11, 49, 66, 0.10);
  --shadow-lg: 0 20px 50px rgba(11, 49, 66, 0.16);
  --container-w: 1180px;
  --font-main: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; line-height: 1.35; font-weight: 800; }
p { margin: 0 0 1em; color: var(--color-text-muted); }

.container {
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: 20px;
}

.skip-link {
  position: absolute;
  right: -999px;
  top: 0;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 18px;
  z-index: 999;
  border-radius: 0 0 0 8px;
}
.skip-link:focus { right: 0; }

/* ---------------- Icons ---------------- */
.icon { width: 24px; height: 24px; }
.icon-sm { width: 16px; height: 16px; flex-shrink: 0; }
.icon-lg { width: 34px; height: 34px; }
.icon-brand { width: 26px; height: 26px; color: var(--color-accent); }
.brand-logo-img { width: 100%; height: 100%; object-fit: contain; border-radius: 6px; }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--color-accent); color: #1c1503; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--color-accent-dark); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; border-color: rgba(255,255,255,.5); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-dark { background: var(--color-primary); color: #fff; }
.btn-dark:hover { background: var(--color-primary-dark); }
.btn-block { width: 100%; }
.btn-whatsapp { background: #22a559; color: #fff; margin-top: 14px; }
.btn-whatsapp:hover { background: #1c8a4a; }

/* أزرار التواصل العائمة (اتصال + واتساب) على يسار الشاشة */
.floating-contact {
  position: fixed;
  bottom: 26px;
  left: 22px;
  z-index: 400;
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* محاذاة الأزرار لطرف الشاشة (اليسار في الواجهة العربية) */
  gap: 12px;
}
.fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fab:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 26px rgba(0,0,0,.28); }
.fab-icon { width: 26px; height: 26px; }
.fab-whatsapp { background: #22c35e; }
.fab-whatsapp:hover { background: #1ea951; }
/* زر الاتصال: أحمر، على شكل كبسولة، مع نص "اتصل بنا" ووميض نابض يلفت الانتباه */
.fab-call {
  background: #e02424;
  width: auto;
  border-radius: 999px;
  padding: 0 16px 0 18px;
  gap: 9px;
  font-weight: 700;
  font-size: 15px;
  animation: fab-call-blink 1.5s ease-in-out infinite;
}
.fab-call:hover { background: #c81e1e; animation-play-state: paused; }
.fab-label { white-space: nowrap; line-height: 1; }
@keyframes fab-call-blink {
  0%, 100% { box-shadow: 0 8px 22px rgba(0,0,0,.22), 0 0 0 0 rgba(224,36,36,.65); filter: brightness(1); }
  50%      { box-shadow: 0 8px 22px rgba(0,0,0,.22), 0 0 0 14px rgba(224,36,36,0); filter: brightness(1.25); }
}
@media (prefers-reduced-motion: reduce) {
  .fab-call { animation: none; }
}
@media (max-width: 768px) {
  .floating-contact { bottom: 18px; left: 14px; gap: 10px; }
  .fab { width: 48px; height: 48px; }
  .fab-icon { width: 22px; height: 22px; }
  .fab-call { width: auto; padding: 0 13px 0 15px; font-size: 14px; }
}
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------------- Topbar ---------------- */
.topbar { background: var(--color-primary-dark); color: #d9e4e8; font-size: 13.5px; }
.topbar-inner {
  display: flex;
  gap: 26px;
  padding: 8px 20px;
  flex-wrap: wrap;
}
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item a { opacity: .92; }
.topbar-item a:hover { color: var(--color-accent); }
.topbar-accredited { margin-inline-start: auto; }
.topbar-badge {
  padding: 1px 8px;
  border: 1px solid rgba(217, 228, 232, .35);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.6;
  cursor: default;
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease;
}
.topbar-badge:hover {
  transform: translateY(-2px);
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary-dark);
}
@media (prefers-reduced-motion: reduce) {
  .topbar-badge, .topbar-badge:hover { transition: none; transform: none; }
}

/* ---------------- Header ---------------- */
.site-header {
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 50;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-block: 14px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 46px; height: 46px;
  background: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.3; }
.brand-text strong { font-size: 17px; color: var(--color-primary); }
.brand-text small { font-size: 11.5px; color: var(--color-text-muted); letter-spacing: .5px; }

.main-nav { margin-inline-start: auto; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav a {
  display: block;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 500;
  color: var(--color-text);
}
.main-nav a:hover, .main-nav a.active { background: var(--color-bg); color: var(--color-primary); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.nav-toggle {
  display: none;
  background: var(--color-bg);
  border: none;
  border-radius: var(--radius-sm);
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  cursor: pointer;
  color: var(--color-primary);
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------------- Alerts ---------------- */
.alert {
  margin: 18px 0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}
.alert-success { background: var(--color-success-bg); color: var(--color-success-text); }
.alert-error { background: var(--color-error-bg); color: var(--color-error-text); }

/* ---------------- Hero ---------------- */
.hero {
  background: linear-gradient(155deg, var(--color-primary) 0%, var(--color-primary-dark) 60%, #061a22 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero.hero-with-bg {
  /* التدرج + رابط الصورة بيتحطوا مباشرة كـ inline style من index.php (مش هنا) عشان مسار الصورة
     يتحل صح بالنسبة لرابط الصفحة، مش بالنسبة لمجلد ملف الـ CSS ده — راجع التعليق في index.php */
  background-size: cover;
  background-position: center;
}
.hero.hero-with-bg .hero-badge,
.hero.hero-with-bg h1,
.hero.hero-with-bg p.lead,
.hero.hero-with-bg .hero-stat strong,
.hero.hero-with-bg .hero-stat span {
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, rgba(201,151,62,.18), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(201,151,62,.12), transparent 45%);
  animation: hero-glow-move 18s ease-in-out infinite alternate;
}
@keyframes hero-glow-move {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-3%, 3%) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
  padding-block: var(--hero-pad, 78px);
}
.hero-h-compact .hero-inner { --hero-pad: 44px; }
.hero-h-large .hero-inner { --hero-pad: 128px; }
@media (max-width: 768px) {
  .hero-h-compact .hero-inner { --hero-pad: 34px; }
  .hero-h-large .hero-inner { --hero-pad: 70px; }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.25);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  margin-bottom: 18px;
}
.hero h1 { font-size: clamp(30px, 4vw, 46px); }
.hero p.lead { color: #d7e2e6; font-size: 17.5px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.hero-stat strong { display: block; font-size: 26px; color: var(--color-accent); }
.hero-stat span { font-size: 13.5px; color: #c7d3d7; }

.hero-panel {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(6px);
}
.hero-panel h3 { color: #fff; font-size: 19px; }
.hero-panel ul li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255,255,255,.15);
  color: #dfe8ea;
}
.hero-panel ul li:last-child { border-bottom: none; }
.hero-panel .icon { color: var(--color-accent); flex-shrink: 0; margin-top: 2px; }
.verify-link {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin-top: 8px;
  padding: 4px 12px 4px 10px;
  border: 1px solid rgba(201, 151, 62, .45);
  border-radius: 999px;
  background: rgba(201, 151, 62, .1);
  color: var(--color-accent);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
.verify-link .icon-sm { width: 15px; height: 15px; }
.verify-link-ext { width: 12px; height: 12px; opacity: .7; transition: transform .2s ease; }
.verify-link:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-primary-dark);
  transform: translateY(-1px);
}
.verify-link:hover .verify-link-ext { transform: translate(2px, -2px); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .verify-link, .verify-link:hover, .verify-link:hover .verify-link-ext { transition: none; transform: none; }
}
.bank-logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-top: 10px;
}
.bank-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 5px 6px;
  border-radius: 8px;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
}
.bank-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.bank-logo:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0, 0, 0, .25); }
@media (prefers-reduced-motion: reduce) {
  .bank-logo, .bank-logo:hover { transition: none; transform: none; }
}

/* ---------------- Section shells ---------------- */
.section { padding-block: 78px; }
.section-tight { padding-block: 50px; }
.section-alt { background: var(--color-surface); }
.section-dark { background: var(--color-primary); color: #fff; }
.section-dark p { color: #cfdadd; }
/* البطاقات دائمًا بخلفية فاتحة (var(--color-surface))، فلازم نص داكن حتى لو القسم المحيط بها داكن، وإلا يختفي النص */
.section-dark .card:not(.testimonial-card):not(.blog-card), .section-dark .card p, .section-dark .card h4 { color: var(--color-text); }
.section-dark .card h4 { color: var(--color-primary); }
.section { color: var(--section-text, inherit); }
/* قسم له صورة خلفية (بانر) — نص القسم أبيض افتراضيًا فوق الصورة، لكن نفس منطق ".section-dark .card"
   أعلاه: البطاقات نفسها تفضل بخلفية فاتحة فلازم نصها الداخلي يفضل داكن حتى لو القسم نفسه أبيض النص */
.section-has-bg-image .section-head p,
.section-has-bg-image > .container > p { color: #eef2f4; }
.section-has-bg-image .eyebrow { background: rgba(255,255,255,.14); color: var(--color-accent); }
.section-has-bg-image .card:not(.testimonial-card):not(.blog-card), .section-has-bg-image .card p, .section-has-bg-image .card h4 { color: var(--color-text); }
.section-has-bg-image .card h4 { color: var(--color-primary); }
.section-head { max-width: 640px; margin: 0 auto 46px; text-align: center; }
.eyebrow {
  display: inline-block;
  color: var(--color-accent-dark);
  background: rgba(201,151,62,.12);
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: .3px;
}
.section-dark .eyebrow { color: var(--color-accent); background: rgba(255,255,255,.08); }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }

/* ---------------- Grids & Cards ---------------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* شبكة صفحة "اطلب تقييم" (عمود معلومات + كارت النموذج) بنسبة 1:1.3 على الشاشات
   الكبيرة فقط — كانت هذه النسبة مضبوطة بـ style مباشر داخل request.php، وهو ما كان
   يفوز دائمًا على قاعدة طي الأعمدة لعمود واحد عند max-width:720px (النمط المضمّن
   Inline Style أعلى أولوية من أي قاعدة خارجية غير !important)، فكانت الصفحة تظهر
   بعرض أوسع من الشاشة على الجوال (Scroll أفقي) والفورم يبان مقصوص وصعب التعبئة. */
.request-grid { grid-template-columns: 1fr 1.3fr; }
@media (min-width: 721px) {
  .request-grid { align-items: start; }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon-box { width: 54px; height: 54px; border-radius: 12px; overflow: hidden; margin-bottom: 16px; background: var(--color-bg); }
.card-text { font-size: 14.5px; }

/* حجم محتوى القسم (أيقونات/عناوين/نصوص) — يُختار لكل قسم من لوحة التحكم */
.section-scale-compact .section-head { margin-bottom: 30px; }
.section-scale-compact .section-head h2 { font-size: clamp(19px, 2.4vw, 24px); }
.section-scale-compact .section-head p { font-size: 14px; }
.section-scale-compact .card { padding: 20px 18px; }
.section-scale-compact .card h4 { font-size: 15px; }
.section-scale-compact .card-text { font-size: 13px; }
.section-scale-compact .card-icon-box { width: 38px; height: 38px; }
.section-scale-compact .icon-wrap { width: 40px; height: 40px; }
.section-scale-compact .icon-wrap svg { width: 18px; height: 18px; }

.section-scale-large .section-head { margin-bottom: 56px; }
.section-scale-large .section-head h2 { font-size: clamp(30px, 4.2vw, 42px); }
.section-scale-large .section-head p { font-size: 18.5px; }
.section-scale-large .card { padding: 40px 34px; }
.section-scale-large .card h4 { font-size: 21px; }
.section-scale-large .card-text { font-size: 16.5px; }
.section-scale-large .card-icon-box { width: 70px; height: 70px; }
.section-scale-large .icon-wrap { width: 70px; height: 70px; }
.section-scale-large .icon-wrap svg { width: 30px; height: 30px; }

.service-card .icon-wrap {
  width: 54px; height: 54px;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-primary);
  margin-bottom: 18px;
  overflow: hidden;
}
.service-card .icon-wrap img { width: 100%; height: 100%; object-fit: cover; }
.service-card:hover .icon-wrap { background: var(--color-primary); color: #fff; }
.service-card h3 { font-size: 18.5px; color: var(--color-primary); }
.service-card .more { font-size: 14px; font-weight: 700; color: var(--color-accent-dark); display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; }
.service-card .more .icon { width: 16px; height: 16px; transition: transform .15s ease; }
.service-card:hover .more .icon { transform: translateX(-4px); }
.service-card { padding: 0 0 26px; overflow: hidden; }
.service-card .service-card-cover { height: 180px; margin-bottom: 20px; overflow: hidden; background: var(--color-bg); }
.service-card .service-card-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.service-card:hover .service-card-cover img { transform: scale(1.06); }
.service-card > .icon-wrap { margin: 30px 26px 18px; }
.service-card h3, .service-card p, .service-card .more { margin-inline: 26px; }
.service-card p { margin-bottom: 1em; }

/* ---------------- Testimonials ---------------- */
.testimonial-card { position: relative; padding-top: 34px; }
.testimonial-card .quote-mark { position: absolute; top: 6px; inset-inline-start: 22px; font-size: 46px; line-height: 1; color: var(--color-accent); opacity: .5; font-family: Georgia, serif; }
.testimonial-text { font-size: 15px; color: var(--color-text); }
.testimonial-person { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial-avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.testimonial-avatar-letter { display: flex; align-items: center; justify-content: center; background: var(--color-primary); color: #fff; font-weight: 800; }
.testimonial-person strong { font-size: 14px; color: var(--color-primary); }

/* ---------------- Profile / executive message ---------------- */
.profile-photo-wrap { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.profile-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.profile-message { font-size: 15.5px; color: var(--color-text-muted); }
.profile-caption { margin-top: 14px; font-weight: 800; color: var(--color-primary); }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.stat-box { text-align: center; padding: 20px; }
.stat-box strong { display: block; font-size: 30px; color: var(--color-accent); }
.stat-box span { font-size: 14px; color: #c7d3d7; }

.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.process-step { position: relative; padding-top: 10px; }
.process-step .num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin-bottom: 16px;
}
.process-step h4 { font-size: 16.5px; color: var(--color-primary); }
.process-step p { font-size: 14.5px; }

.blog-card { display: flex; flex-direction: column; }
.blog-card .cover {
  height: 190px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.85);
  margin-bottom: 18px;
}
.blog-card .cover .icon { width: 40px; height: 40px; }
.blog-card .cover { overflow: hidden; padding: 0; }
.blog-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.blog-card .meta { font-size: 12.5px; color: var(--color-text-muted); margin-bottom: 8px; }
.blog-card h3 { font-size: 17.5px; color: var(--color-primary); }
.blog-card .read-more { font-weight: 700; color: var(--color-accent-dark); font-size: 14px; margin-top: auto; padding-top: 12px; }

.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: right;
  background: none;
  border: none;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--color-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 12px;
  font-family: inherit;
}
.faq-question .icon { transition: transform .2s ease; flex-shrink: 0; color: var(--color-accent-dark); }
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.faq-answer-inner { padding: 0 22px 18px; color: var(--color-text-muted); }

.value-list { display: flex; flex-direction: column; gap: 16px; }
.value-item { display: flex; gap: 14px; align-items: flex-start; }
.value-item .icon-wrap {
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(201,151,62,.14);
  color: var(--color-accent-dark);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.value-item h4 { font-size: 16px; margin-bottom: 2px; color: var(--color-primary); }
.value-item p { margin: 0; font-size: 14.5px; }

/* ---------------- Forms ---------------- */
.form-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-weight: 700; font-size: 14px; color: var(--color-primary); }
.form-group .req { color: var(--color-error-text); }
.form-control {
  padding: 12px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color .15s ease, background .15s ease;
}
.form-control:focus { outline: none; border-color: var(--color-primary); background: #fff; }
textarea.form-control { resize: vertical; min-height: 110px; }
.field-error { color: var(--color-error-text); font-size: 13px; }
.field-invalid { border-color: var(--color-error-text) !important; background: var(--color-error-bg) !important; }
.form-hint { font-size: 12.5px; color: var(--color-text-muted); }

/* ---------------- CTA banner ---------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--color-accent-dark), var(--color-accent));
  border-radius: var(--radius-lg);
  padding: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  color: #24190a;
}
.cta-banner h3 { font-size: 24px; margin-bottom: 6px; }
.cta-banner p { color: #4a3714; margin: 0; }
.cta-banner .btn-dark { background: #1c1503; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--color-primary-dark); color: #c6d3d6; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 1fr 1.3fr;
  gap: 40px;
  padding-block: 60px;
}
.footer-map-embed {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}
.footer-map-embed iframe { width: 100%; height: 190px; border: 0; display: block; }
.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13.5px;
  color: #c6d3d6;
}
.footer-col h4 { color: #fff; font-size: 15.5px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--color-accent); }
.footer-brand p { color: #a9bcc0; font-size: 14px; }
.footer-contact li { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 14px; }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
}
.social-links a:hover { background: var(--color-accent); color: #1c1503; }
.brand-footer .brand-text strong { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-block: 18px;
  font-size: 13px;
  color: #93a5a9;
  flex-wrap: wrap;
  align-items: center;
}
.footer-site-name { color: #fff; font-weight: 700; }

/* ---------------- الوثائق والشهادات الرسمية ---------------- */
.docs-open-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 4px;
  padding: 8px 16px;
  border: 1px solid rgba(201, 151, 62, .45);
  border-radius: 999px;
  background: rgba(201, 151, 62, .1);
  color: var(--color-accent);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.docs-open-btn:hover {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  transform: translateY(-1px);
}
.docs-modal {
  width: min(1100px, calc(100vw - 32px));
  height: min(760px, calc(100vh - 32px));
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.docs-modal::backdrop { background: rgba(8, 24, 30, .7); backdrop-filter: blur(3px); }
.docs-modal[open] { animation: docs-modal-in .2s ease; }
@keyframes docs-modal-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.docs-modal-inner { display: grid; grid-template-columns: 260px 1fr; grid-template-rows: minmax(0, 1fr); height: 100%; }
.docs-modal-side {
  background: var(--color-primary-dark);
  color: #fff;
  padding: 24px 16px;
  overflow-y: auto;
}
.docs-modal-side h3 { color: #fff; font-size: 17px; margin: 0 4px 18px; outline: none; }
.docs-modal-close.docs-close-mobile { display: none; }
.docs-list li { margin-bottom: 6px; }
.docs-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #c6d3d6;
  font: inherit;
  font-size: 14.5px;
  text-align: start;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.docs-tab:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.docs-tab.active {
  background: rgba(201, 151, 62, .14);
  border-color: rgba(201, 151, 62, .45);
  color: var(--color-accent);
  font-weight: 600;
}
.docs-modal-viewer { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: #eef1f2; }
.docs-viewer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: #fff;
  border-bottom: 1px solid #e3e8ea;
}
.docs-viewer-title { color: var(--color-primary-dark); font-size: 15px; }
.docs-modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f1f4f5;
  color: var(--color-primary-dark);
  cursor: pointer;
  transition: background-color .2s ease;
}
.docs-modal-close:hover { background: #e3e8ea; }
.docs-modal-viewer { position: relative; }
.docs-viewer-frame {
  flex: 1;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 16px;
  cursor: zoom-in;
}
.docs-viewer-frame:not(.zoomed) { display: flex; }
.docs-viewer-frame:not(.zoomed) img { margin: auto; }
.docs-viewer-frame.zoomed { cursor: zoom-out; }
.docs-viewer-frame.zoomed img { width: 180%; max-width: none; }
.docs-zoom-hint {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(8, 24, 30, .75);
  color: #fff;
  font-size: 12.5px;
  white-space: nowrap;
  pointer-events: none;
}
.docs-viewer-frame img {
  display: block;
  width: 100%;
  max-width: 900px;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .12);
  background: #fff;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}
@media (max-width: 720px) {
  /* على الجوال: النافذة تطلع من تحت (bottom sheet) */
  .docs-modal {
    width: 100vw;
    height: 92dvh;
    margin: auto 0 0;
    border-radius: 20px 20px 0 0;
  }
  .docs-modal[open] { animation: docs-sheet-in .28s cubic-bezier(.2, .8, .2, 1); }
  .docs-modal-inner { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .docs-modal-side { position: relative; padding: 22px 0 12px; overflow: visible; }
  .docs-modal-side::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    width: 40px;
    height: 4px;
    margin-left: -20px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .25);
  }
  .docs-side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 16px;
    margin-bottom: 12px;
  }
  .docs-modal-side h3 { font-size: 16px; margin: 0; }
  .docs-modal-close.docs-close-mobile {
    display: flex;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
  }
  .docs-modal-close.docs-close-mobile:hover { background: rgba(255, 255, 255, .18); }
  .docs-list {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 0 16px 2px;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 16px;
    scrollbar-width: none;
  }
  .docs-list::-webkit-scrollbar { display: none; }
  .docs-list li { margin: 0; flex-shrink: 0; scroll-snap-align: start; }
  .docs-tab {
    padding: 8px 14px;
    border-color: rgba(255, 255, 255, .12);
    border-radius: 999px;
    font-size: 13.5px;
    white-space: nowrap;
  }
  .docs-tab .icon-sm { display: none; }
  .docs-viewer-bar { display: none; }
  .docs-viewer-frame { padding: 14px 12px calc(56px + env(safe-area-inset-bottom)); }
  .docs-viewer-frame img { border-radius: 4px; }
  .docs-viewer-frame.zoomed img { width: 260%; }
  .docs-zoom-hint { bottom: calc(14px + env(safe-area-inset-bottom)); }
}
@keyframes docs-sheet-in {
  from { transform: translateY(100%); }
  to { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .docs-modal[open] { animation: none !important; }
  .docs-open-btn, .docs-open-btn:hover { transition: none; transform: none; }
}
.footer-license {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .2px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
}

/* ---------------- Misc pages (about/services/blog detail) ---------------- */
.page-hero {
  background: var(--color-primary);
  color: #fff;
  padding-block: var(--page-hero-pad, 50px);
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: var(--page-hero-focus, center);
}
.page-hero.page-hero-with-bg {
  /* التدرج + رابط الصورة بيتحطوا مباشرة كـ inline style من render_page_section() (مش هنا)
     عشان مسار الصورة يتحل صح بالنسبة لرابط الصفحة — راجع التعليق جوه includes/functions.php */
}
.page-hero .eyebrow { background: rgba(255,255,255,.1); color: var(--color-accent); }
.page-hero h1 { font-size: clamp(26px, 3.4vw, 36px); }
.page-hero p { color: #cfdadd; max-width: 600px; margin: 0 auto; }
.page-hero-compact { --page-hero-pad: 28px; }
.page-hero-large { --page-hero-pad: 96px; }
.breadcrumbs { font-size: 13px; color: #a9bcc0; margin-bottom: 10px; }
.breadcrumbs a:hover { color: var(--color-accent); }

/* ---------------- صفحة المقال (تصميم مجلة: صورة بانر + عمودان) ---------------- */
.article-hero-cover { height: 360px; overflow: hidden; background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light)); display: flex; align-items: center; justify-content: center; }
.article-hero-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-hero-cover .icon-lg { width: 64px; height: 64px; color: rgba(255,255,255,.7); }
.article-layout { display: grid; grid-template-columns: 1fr 300px; gap: 46px; align-items: start; margin-top: 30px; }
.article-badge { display: inline-block; background: rgba(201,151,62,.12); color: var(--color-accent-dark); font-size: 12.5px; font-weight: 700; padding: 5px 14px; border-radius: 999px; margin-bottom: 14px; }
.article-body { max-width: 100%; }
.article-body h1 { font-size: clamp(24px, 3vw, 34px); color: var(--color-primary); }
.article-body .meta { color: var(--color-text-muted); font-size: 13.5px; margin-bottom: 26px; padding-bottom: 20px; border-bottom: 1px solid var(--color-border); }
.article-body p { font-size: 16.5px; color: #333f4a; line-height: 1.9; margin-bottom: 18px; }
.article-body h2 { font-size: 22px; color: var(--color-primary); margin-top: 38px; scroll-margin-top: 110px; }
.article-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.article-toc-box, .article-share-box, .article-related-box {
  background: var(--color-bg); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 20px 22px;
}
.article-toc-box h4, .article-share-box h4, .article-related-box h4 { font-size: 14.5px; color: var(--color-primary); margin-bottom: 12px; }
.article-toc-box ul, .article-related-box ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.article-toc-box a, .article-related-box a { font-size: 13.5px; color: var(--color-text-muted); display: block; }
.article-toc-box a:hover, .article-related-box a:hover { color: var(--color-primary); }
.article-share-links { display: flex; gap: 8px; }
.article-share-links a {
  flex: 1; text-align: center; padding: 8px 6px; border-radius: 8px; background: #fff; border: 1px solid var(--color-border);
  font-size: 12.5px; font-weight: 600; color: var(--color-primary);
}
.article-share-links a:hover { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }
@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .article-hero-cover { height: 220px; }
}

.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: flex; gap: 18px; padding-bottom: 30px; position: relative; }
.timeline-item::before {
  content: "";
  position: absolute;
  right: 19px; top: 40px; bottom: 0;
  width: 2px;
  background: var(--color-border);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  z-index: 1;
}
.timeline-content h4 { color: var(--color-primary); margin-bottom: 4px; }
.timeline-content p { margin: 0; }

.team-note {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px dashed var(--color-border);
}

/* Contact page */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info-card {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
}
.contact-info-card .value-item h4 { color: #fff; }
.contact-info-card .value-item p { color: #cfdadd; }
.contact-info-card .icon-wrap { background: rgba(255,255,255,.12); color: var(--color-accent); }
.map-embed {
  margin-top: 24px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
}
.map-embed iframe { width: 100%; height: 200px; border: 0; display: block; }

/* ---------------- Scroll reveal animation (بأنواع مختلفة يُختار كل واحد منها لكل قسم من لوحة التحكم) ---------------- */
.reveal { opacity: 0; transition: opacity .7s ease, transform .7s ease; will-change: opacity, transform; }
.reveal.in-view { opacity: 1; transform: none; }
.reveal-fade-up { transform: translateY(28px); }
.reveal-fade-in { transform: none; }
.reveal-zoom-in { transform: scale(.92); }
.reveal-slide-right { transform: translateX(50px); }
.reveal-slide-left { transform: translateX(-50px); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- Flexible page sections (page builder) ---------------- */
.logos-row { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }

/* شعارات متحركة (Marquee) */
.logos-marquee { overflow: hidden; padding-block: 6px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logos-track { display: flex; width: max-content; animation: marquee-scroll linear infinite; }
.logos-track:hover { animation-play-state: paused; }
.logos-track .logos-row { flex-wrap: nowrap; gap: 18px; padding-inline-end: 18px; }
.marquee-slow { animation-duration: 55s; }
.marquee-normal { animation-duration: 32s; }
.marquee-fast { animation-duration: 16s; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
html[dir="rtl"] .logos-track { animation-name: marquee-scroll-rtl; }
@keyframes marquee-scroll-rtl {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; }
}
.logo-box {
  width: 150px; height: 90px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.logo-box:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.section-dark .logo-box { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: #fff; }

.gallery-grid .gallery-item {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--color-bg);
}
.gallery-grid .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease; }
.gallery-grid .gallery-item:hover img { transform: scale(1.05); }

.stats-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 40px; text-align: center; }
.stats-item strong { display: block; font-size: 30px; color: var(--color-accent-dark); }
.section-dark .stats-item strong { color: var(--color-accent); }
.stats-item span { font-size: 14px; color: var(--color-text-muted); }
.section-dark .stats-item span { color: #c7d3d7; }

/* ---------------- Utilities ---------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.badge-new { background: #dbeafe; color: #1e40af; }
.badge-progress { background: #fef3c7; color: #92400e; }
.badge-contacted { background: #e0e7ff; color: #3730a3; }
.badge-done { background: var(--color-success-bg); color: var(--color-success-text); }
.badge-unread { background: var(--color-error-bg); color: var(--color-error-text); }
.badge-read { background: #eef0f2; color: #55606b; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding-block: 50px; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-map { grid-column: 1 / -1; }
  .footer-map-embed iframe { height: 220px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .topbar-address, .topbar-accredited { display: none; }
  .main-nav {
    position: fixed;
    inset-inline: 0;
    top: 0;
    bottom: 0;
    background: #fff;
    transform: translateX(100%);
    transition: transform .25s ease;
    z-index: 100;
    padding: 90px 26px 26px;
    overflow-y: auto;
  }
  /* السبب الحقيقي وراء عدم فتح القائمة على الجوال: القاعدة دي كانت أعلى تخصيصًا (Specificity) من
     .main-nav.open تحتها (بسبب وجود html[dir="rtl"])، فكانت تكسب دايمًا وتبقي القائمة مخفية برّه
     الشاشة حتى بعد إضافة كلاس open فعليًا — الزرار كان شغال والكلاس بيتحط صح، بس الظهور المرئي
     كان محجوب بسبب ده. الحل: نخلي حالة الفتح خاصة بالـ RTL كمان عشان تضمن الأولوية دايمًا. */
  html[dir="rtl"] .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { padding: 14px 16px; font-size: 17px; }
  .nav-toggle { display: flex; }
  /* لازم .header-actions يبقى فوق طبقة القائمة (main-nav) نفسها عشان زر الفتح/الإغلاق يفضل قابل للنقر
     وما يختفيش تحت القائمة لما تنفتح — وإلا يبان للزائر إن الموقع "توقف" لأنه ما يقدر يقفل القائمة */
  .header-actions { position: relative; z-index: 110; }
  .header-actions .btn-primary { display: none; }
  .grid-2, .grid-3, .grid-4, .request-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .hero-stats { justify-content: center; text-align: center; }
  .form-card { padding: 24px; }
  .lead-popup { padding: 30px 22px 24px; }
}

/* ---------------- النافذة المنبثقة (Lead Popup) ---------------- */
.lead-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 28, 38, .6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease;
}
.lead-popup-overlay[hidden] { display: none; }
.lead-popup-overlay.is-visible { opacity: 1; visibility: visible; }
.lead-popup {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 460px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 34px 30px 28px;
  text-align: center;
  transform: translateY(16px) scale(.98);
  transition: transform .25s ease;
  border-top: 5px solid transparent;
  border-image: linear-gradient(90deg, var(--color-accent), var(--color-primary-light)) 1;
}
.lead-popup-overlay.is-visible .lead-popup { transform: translateY(0) scale(1); }
.lead-popup-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.lead-popup-close:hover { background: var(--color-border); color: var(--color-text); }
.lead-popup-close .icon { width: 16px; height: 16px; }
.lead-popup-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-bg);
  color: var(--color-accent-dark);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.lead-popup-badge .icon-sm { width: 14px; height: 14px; }
.lead-popup h3 { font-size: 22px; margin-bottom: 10px; color: var(--color-primary); }
.lead-popup-subtitle { font-size: 14.5px; margin-bottom: 20px; }
.lead-popup-bullets { list-style: none; padding: 0; margin: 0 0 22px; text-align: right; background: var(--color-bg); border-radius: var(--radius-md); padding: 16px 18px; }
.lead-popup-bullets li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--color-text); padding: 6px 0; }
.lead-popup-bullets li .icon-sm { width: 18px; height: 18px; color: var(--color-accent); flex-shrink: 0; }
.lead-popup form { text-align: right; }
.lead-popup .form-group { margin-bottom: 14px; }
.lead-popup-submit { width: 100%; justify-content: center; font-size: 16px; padding: 13px; margin-top: 4px; }
.lead-popup-privacy { font-size: 12px; margin: 14px 0 0; color: var(--color-text-muted); }

@media (max-width: 480px) {
  .lead-popup { padding: 28px 20px 22px; border-radius: var(--radius-md); }
  .lead-popup h3 { font-size: 19px; }
}
