/* ==========================================================================
   قالب شرکت رهپویان صبح وصال — تم نارنجی و سفید
   این فایل روی بوت‌استرپ (css/bootstrap.min.css) سوار می‌شود.
   همه‌چیز راست‌چین و با ویژگی‌های منطقی CSS (inline-start/end) نوشته شده است.
   ========================================================================== */

/* ---------- فونت ----------
   فایل‌های Vazirmatn را در پوشه fonts/ بگذارید (نام‌ها مطابق پایین).
   اگر فایل‌ها نبودند، مرورگر خودکار از Tahoma / فونت سیستم استفاده می‌کند. */
@font-face {
  font-family: "Vazirmatn";
  src: local("Vazirmatn"), url("../fonts/Vazirmatn-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: local("Vazirmatn Medium"), url("../fonts/Vazirmatn-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Vazirmatn";
  src: local("Vazirmatn Bold"), url("../fonts/Vazirmatn-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ---------- متغیرهای تم ---------- */
:root {
  --brand-50:  #fff7ed;
  --brand-100: #ffedd5;
  --brand-200: #fed7aa;
  --brand-300: #fdba74;
  --brand-400: #fb923c;
  --brand-500: #f97316;
  --brand-600: #ea580c;
  --brand-700: #c2410c;
  --brand-800: #9a3412;
  --ink:       #2a1b10;
  --ink-soft:  #6b5a4d;
  --line:      #f1e4d8;
  --surface:   #ffffff;
  --radius:    1rem;
  --shadow-sm: 0 2px 10px rgba(194, 65, 12, .08);
  --shadow-md: 0 14px 40px rgba(194, 65, 12, .14);

  /* هم‌راستاسازی با متغیرهای بوت‌استرپ */
  --bs-primary: var(--brand-500);
  --bs-primary-rgb: 249, 115, 22;
  --bs-primary-text-emphasis: var(--brand-800);
  --bs-primary-bg-subtle: var(--brand-100);
  --bs-primary-border-subtle: var(--brand-200);
  --bs-link-color: var(--brand-600);
  --bs-link-color-rgb: 234, 88, 12;
  --bs-link-hover-color: var(--brand-700);
  --bs-link-hover-color-rgb: 194, 65, 12;
  --bs-body-color: var(--ink);
  --bs-body-color-rgb: 42, 27, 16;
  --bs-body-bg: #fff;
  --bs-body-font-family: "Vazirmatn", "Vazir", "IRANSansX", Tahoma, "Segoe UI", system-ui, sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-line-height: 1.9;
  --bs-heading-color: var(--ink);
  --bs-border-color: var(--line);
}

/* ---------- پایه و راست‌چین ---------- */
html { scroll-behavior: smooth; scroll-padding-top: 80px; direction: rtl; }
body {
  direction: rtl;
  text-align: start;
  font-family: var(--bs-body-font-family);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.5; color: var(--ink); }
ul, ol { padding-inline-start: 1.25rem; padding-left: 0; }
.list-unstyled, .nav, .navbar-nav { padding-inline-start: 0; padding-right: 0; padding-left: 0; }
a { text-decoration: none; }
::selection { background: var(--brand-200); color: var(--brand-800); }
:focus-visible { outline: 3px solid var(--brand-300); outline-offset: 2px; }

/* ---------- کلاس‌های کمکی منطقی (جایگزین ms-/me- که در RTL برعکس‌اند) ---------- */
.ms-auto-rtl { margin-inline-start: auto; }
.me-auto-rtl { margin-inline-end: auto; }
.mi-1 { margin-inline-end: .25rem; } .mi-2 { margin-inline-end: .5rem; } .mi-3 { margin-inline-end: 1rem; }
.pi-1 { padding-inline-start: .25rem; } .pi-2 { padding-inline-start: .5rem; }

.text-brand { color: var(--brand-600) !important; }
.bg-brand-soft { background: var(--brand-50); }
.section { padding-block: 5.5rem; }
.section-sm { padding-block: 3.5rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .85rem; font-weight: 700; letter-spacing: 0;
  color: var(--brand-700); background: var(--brand-100);
  padding: .3rem .9rem; border-radius: 999px; margin-bottom: 1rem;
}
.section-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); margin-bottom: .75rem; }
.section-lead { color: var(--ink-soft); max-width: 40rem; margin-inline: auto; }

/* ---------- دکمه‌ها ---------- */
.justif{text-align:justify;}
.btn { font-weight: 500; border-radius: .8rem; padding: .7rem 1.5rem; transition: transform .15s, box-shadow .2s, background .2s; }
.btn:active { transform: translateY(1px); }
.btn-brand, .btn-primary {
  --bs-btn-color: #fff; --bs-btn-bg: var(--brand-500); --bs-btn-border-color: var(--brand-500);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--brand-600); --bs-btn-hover-border-color: var(--brand-600);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--brand-700); --bs-btn-active-border-color: var(--brand-700);
  --bs-btn-focus-shadow-rgb: 249, 115, 22;
  color: #fff; background: var(--brand-500); border-color: var(--brand-500);
  box-shadow: 0 8px 22px rgba(249, 115, 22, .32);
}
.btn-brand:hover, .btn-primary:hover { color: #fff; background: var(--brand-600); border-color: var(--brand-600); transform: translateY(-2px); }
.btn-outline-brand, .btn-outline-primary {
  --bs-btn-color: var(--brand-600); --bs-btn-border-color: var(--brand-300);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--brand-500); --bs-btn-hover-border-color: var(--brand-500);
  --bs-btn-active-bg: var(--brand-600); --bs-btn-active-border-color: var(--brand-600);
  color: var(--brand-600); border: 1.5px solid var(--brand-300); background: transparent;
}
.btn-outline-brand:hover, .btn-outline-primary:hover { color: #fff; background: var(--brand-500); border-color: var(--brand-500); }
.btn-white { background: #fff; color: var(--brand-700); border-color: #fff; }
.btn-white:hover { background: var(--brand-50); color: var(--brand-800); }
.btn-ghost-white { color: #fff; border: 1.5px solid rgba(255,255,255,.65); background: transparent; }
.btn-ghost-white:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- نوار بالا ---------- */
.site-nav {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  padding-block: .75rem;
  transition: box-shadow .25s, border-color .25s, padding .25s;
}
.site-nav.is-scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); padding-block: .4rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink); font-weight: 700; }
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 2.6rem; height: 2.6rem; border-radius: .8rem;
  display: grid; place-items: center; color: #fff; font-size: 1.15rem;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-600));
  box-shadow: 0 6px 16px rgba(249, 115, 22, .35);
}
.brand-text small { display: block; font-size: .7rem; font-weight: 500; color: var(--ink-soft); line-height: 1.2; }
.brand-text strong { display: block; line-height: 1.3; font-size: 1rem; }
.site-nav .nav-link { color: var(--ink); font-weight: 500; padding: .55rem 1rem; border-radius: .6rem; position: relative; }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--brand-600); background: var(--brand-50); }
.site-nav .navbar-toggler { border: 1.5px solid var(--brand-200); border-radius: .7rem; padding: .45rem .7rem; color: var(--brand-600); }
.site-nav .navbar-toggler:focus { box-shadow: 0 0 0 .22rem rgba(249, 115, 22, .25); }
@media (min-width: 992px) {
  .site-nav .navbar-collapse { align-items: center; }
  .site-nav .nav-actions { margin-inline-start: auto; }
}
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { padding-block: 1rem; }
  .site-nav .nav-actions { margin-top: .75rem; }
}

/* ---------- هیرو ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-block: 8.5rem 5.5rem;
  background:
    radial-gradient(60rem 30rem at 85% -10%, var(--brand-100), transparent 60%),
    radial-gradient(40rem 25rem at 0% 110%, var(--brand-50), transparent 60%),
    #fff;
}
.hero::before {            /* الگوی نقطه‌ای ظریف */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(249, 115, 22, .16) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 75%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(1.9rem, 3.7vw, 3.05rem); font-weight: 800; line-height: 1.5; text-wrap: balance; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--brand-500), var(--brand-700));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { color: var(--ink-soft); font-size: 1.12rem; max-width: 34rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .95rem;
  border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: .88rem; color: var(--ink); box-shadow: var(--shadow-sm);
}
.chip i { color: var(--brand-500); }

/* کارت‌های شناور سمت تصویر هیرو */
.hero-visual { position: relative; padding-block: 1rem 3rem; }
.dash {
  background: #fff; border: 1px solid var(--line); border-radius: 1.25rem;
  box-shadow: var(--shadow-md); overflow: hidden;
}
.dash-bar { display: flex; align-items: center; gap: .4rem; padding: .75rem 1.1rem; background: var(--brand-50); border-bottom: 1px solid var(--line); }
.dash-bar .dot { width: .65rem; height: .65rem; border-radius: 50%; background: var(--brand-200); }
.dash-bar .dot:first-child { background: var(--brand-500); }
.dash-bar .ttl { margin-inline-start: .6rem; font-size: .85rem; font-weight: 700; color: var(--ink); }
.dash-bar .live { margin-inline-start: auto; font-size: .72rem; color: #15803d; background: #dcfce7; padding: .1rem .6rem; border-radius: 999px; display: inline-flex; align-items: center; gap: .35rem; }
.dash-bar .live::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: #16a34a; }
.dash-body { padding: 1.1rem; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; margin-bottom: .9rem; }
.kpi { border: 1px solid var(--line); border-radius: .9rem; padding: .7rem .8rem; background: #fffdfb; }
.kpi .k-top { display: flex; align-items: center; justify-content: space-between; gap: .4rem; color: var(--ink-soft); font-size: .72rem; }
.kpi .k-top i { color: var(--brand-500); }
.kpi .k-val { font-size: 1.25rem; font-weight: 800; line-height: 1.5; color: var(--ink); margin-top: .1rem; }
.kpi .k-trend { font-size: .7rem; color: #15803d; font-weight: 700; }
.dash-charts { display: grid; grid-template-columns: 1fr 1.7fr; gap: .65rem; }
.chart-card { border: 1px solid var(--line); border-radius: .9rem; padding: .8rem .9rem; }
.chart-card h6 { font-size: .75rem; color: var(--ink-soft); font-weight: 500; margin-bottom: .6rem; }
.bars { display: flex; align-items: flex-end; gap: .45rem; height: 7rem; }
.bars span { flex: 1; height: var(--h); border-radius: .4rem .4rem .15rem .15rem; background: linear-gradient(to top, var(--brand-500), var(--brand-300)); opacity: .9; }
.bars span:nth-child(even) { background: linear-gradient(to top, var(--brand-200), var(--brand-100)); }
.bars span:last-child { background: linear-gradient(to top, var(--brand-700), var(--brand-500)); opacity: 1; }
.donut-wrap { display: flex; flex-direction: column; align-items: center; gap: .55rem; }
.donut {
  width: 5.2rem; height: 5.2rem; border-radius: 50%; position: relative;
  background: conic-gradient(var(--brand-600) 0 42%, var(--brand-400) 42% 70%, var(--brand-200) 70% 88%, var(--brand-100) 88% 100%);
}
.donut::after { content: ""; position: absolute; inset: 1.05rem; border-radius: 50%; background: #fff; }
.legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .15rem .6rem; font-size: .66rem; color: var(--ink-soft); }
.legend i { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; margin-inline-end: .25rem; }

/* موبایل و کارت اعلان روی داشبورد */
.dash-phone {
  position: absolute; inset-block-end: 0; inset-inline-end: -.75rem; width: 7.6rem;
  background: #2a1b10; border-radius: 1.5rem; padding: .4rem; box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}
.dash-phone .screen { background: #fff; border-radius: 1.15rem; overflow: hidden; }
.dash-phone .p-head { background: linear-gradient(135deg, var(--brand-500), var(--brand-600)); color: #fff; padding: .6rem .6rem .55rem; font-size: .68rem; font-weight: 700; display: flex; align-items: center; justify-content: space-between; }
.dash-phone .p-row { display: flex; align-items: center; gap: .4rem; padding: .45rem .55rem; border-bottom: 1px solid var(--line); font-size: .62rem; color: var(--ink-soft); }
.dash-phone .p-row b { display: block; color: var(--ink); font-size: .66rem; line-height: 1.4; }
.dash-phone .p-ico { width: 1.35rem; height: 1.35rem; border-radius: .45rem; display: grid; place-items: center; background: var(--brand-100); color: var(--brand-600); font-size: .62rem; flex: none; }
.dash-phone .p-btn { margin: .5rem; border-radius: .55rem; background: var(--brand-500); color: #fff; text-align: center; font-size: .64rem; padding: .3rem 0; font-weight: 700; }
.dash-notif {
  position: absolute; inset-block-end: 0; inset-inline-start: -.5rem;
  background: #fff; border: 1px solid var(--line); border-radius: 1rem; box-shadow: var(--shadow-md);
  padding: .7rem 1rem; display: flex; align-items: center; gap: .75rem;
  animation: float 6s ease-in-out infinite; animation-delay: -3s;
}
.dash-notif .ico { width: 2.3rem; height: 2.3rem; border-radius: .75rem; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, #22c55e, #15803d); }
.dash-notif small { display: block; color: var(--ink-soft); line-height: 1.3; font-size: .72rem; }
.dash-notif strong { line-height: 1.3; font-size: .88rem; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- آمار ---------- */
.stats { margin-top: -2.5rem; position: relative; z-index: 2; }
.stats-card { background: #fff; border: 1px solid var(--line); border-radius: 1.25rem; box-shadow: var(--shadow-md); padding: 1.75rem 1rem; }
.stat { text-align: center; padding: .5rem 1rem; }
.stat .num { font-size: 2.2rem; font-weight: 800; color: var(--brand-600); line-height: 1.3; }
.stat .lbl { color: var(--ink-soft); font-size: .92rem; }
@media (min-width: 768px) { .stat + .stat { border-inline-start: 1px solid var(--line); } }

/* ---------- خدمات ---------- */
.service-card {
  height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.6rem; position: relative; overflow: hidden;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card::after {
  content: ""; position: absolute; inset-inline: 0; inset-block-start: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-400), var(--brand-600));
  transform: scaleX(0); transform-origin: right; transition: transform .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--brand-200); }
.service-card:hover::after { transform: scaleX(1); }
.icon-box {
  width: 3.6rem; height: 3.6rem; border-radius: 1rem; display: grid; place-items: center;
  font-size: 1.5rem; color: var(--brand-600); background: var(--brand-100); margin-bottom: 1.25rem;
  transition: background .25s, color .25s;
}
.service-card:hover .icon-box { background: var(--brand-500); color: #fff; }
.service-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.service-card p { color: var(--ink-soft); margin-bottom: 1rem; font-size: .96rem; }
.service-card .tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.tag { font-size: .76rem; padding: .15rem .65rem; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100); }

/* ---------- باند نارنجی (پلتفرم‌ها) ---------- */
.band {
  color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--brand-500), var(--brand-700));
}
.band::before, .band::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.band::before { width: 22rem; height: 22rem; inset-block-start: -9rem; inset-inline-start: -6rem; }
.band::after  { width: 16rem; height: 16rem; inset-block-end: -7rem; inset-inline-end: 8%; }
.band .container { position: relative; z-index: 1; }
.band h2, .band h3, .band h4 { color: #fff; }
.band .eyebrow { background: rgba(255, 255, 255, .18); color: #fff; }
.platform {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; height: 100%;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius); backdrop-filter: blur(4px); transition: background .2s, transform .2s;
}
.platform:hover { background: rgba(255, 255, 255, .2); transform: translateY(-3px); }
.platform i { font-size: 1.9rem; }
.platform strong { display: block; line-height: 1.4; }
.platform small { opacity: .85; }

/* ---------- مراحل کار ---------- */
.steps { counter-reset: step; position: relative; }
.step { text-align: center; position: relative; padding-inline: .75rem; }
.step-num {
  width: 3.4rem; height: 3.4rem; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: 1.15rem;
  color: var(--brand-600); background: #fff; border: 2px solid var(--brand-300);
  box-shadow: 0 0 0 .45rem var(--brand-50); position: relative; z-index: 1;
  transition: background .25s, color .25s;
}
.step:hover .step-num { background: var(--brand-500); color: #fff; border-color: var(--brand-500); }
.step h4 { font-size: 1.05rem; }
.step p { color: var(--ink-soft); font-size: .92rem; margin: 0; }
@media (min-width: 992px) {
  .step:not(:first-child)::after {
    content: ""; position: absolute; inset-block-start: 1.7rem; inset-inline-start: -50%;
    width: 100%; border-block-start: 2px dashed var(--brand-200);
  }
}

/* ---------- فناوری‌ها ---------- */
.tech-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.tech {
  display: inline-flex; align-items: center; gap: .6rem; padding: .65rem 1.2rem;
  border-radius: .9rem; background: #fff; border: 1px solid var(--line); font-weight: 500;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.tech i { color: var(--brand-500); font-size: 1.2rem; }
.tech:hover { border-color: var(--brand-300); transform: translateY(-3px); box-shadow: var(--shadow-sm); }

/* ---------- نمونه‌کارها ---------- */
.project {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%;
  transition: transform .25s, box-shadow .25s;
}
.project:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.project-thumb {
  aspect-ratio: 16 / 10; display: grid; place-items: center; color: #fff; font-size: 3rem;
  background: linear-gradient(135deg, var(--brand-400), var(--brand-700));
  position: relative; overflow: hidden;
}
.project-thumb.alt-1 { background: linear-gradient(135deg, #fdba74, #ea580c); }
.project-thumb.alt-2 { background: linear-gradient(135deg, #fb923c, #9a3412); }
.project-thumb.alt-3 { background: linear-gradient(135deg, #f97316, #7c2d12); }
.project-thumb.alt-4 { background: linear-gradient(135deg, #fdba74, #c2410c); }
.project-thumb.alt-5 { background: linear-gradient(135deg, #ea580c, #9a3412); }
.project-thumb::after { content: ""; position: absolute; width: 11rem; height: 11rem; border-radius: 50%; background: rgba(255,255,255,.12); inset-block-end: -5rem; inset-inline-start: -3rem; }
.project-body { padding: 1.3rem 1.4rem 1.5rem; }
.project-body h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.project-body p { color: var(--ink-soft); font-size: .92rem; margin-bottom: .9rem; }

/* ---------- درباره ---------- */
.about-list li { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: .85rem; }
.about-list i { color: var(--brand-500); margin-top: .5rem; }
.about-panel { background: var(--brand-50); border: 1px solid var(--brand-100); border-radius: 1.25rem; padding: 2rem; }
.quote { font-size: 1.05rem; color: var(--brand-800); border-inline-start: 4px solid var(--brand-400); padding-inline-start: 1rem; }

/* ---------- نظرات ---------- */
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; height: 100%; }
.testimonial .stars { color: var(--brand-500); margin-bottom: .75rem; letter-spacing: .15rem; }
.avatar { width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; font-weight: 700; }

/* ---------- سوالات متداول ---------- */
.accordion { --bs-accordion-border-color: var(--line); --bs-accordion-active-bg: var(--brand-50); --bs-accordion-active-color: var(--brand-800); --bs-accordion-btn-focus-box-shadow: 0 0 0 .22rem rgba(249,115,22,.25); --bs-accordion-border-radius: var(--radius); --bs-accordion-inner-border-radius: calc(var(--radius) - 1px); }
.accordion-item { margin-bottom: .75rem; border-radius: var(--radius) !important; overflow: hidden; border: 1px solid var(--line); }
.accordion-button { font-weight: 600; text-align: start; font-family: inherit; }
.accordion-button::after { margin-inline-start: auto; margin-left: 0; }
.accordion-button:not(.collapsed)::after { filter: hue-rotate(-155deg) saturate(3); }
.accordion-body { color: var(--ink-soft); }

/* ---------- فراخوان ---------- */
.cta { border-radius: 1.5rem; padding: 3.5rem 2rem; text-align: center; }

/* ---------- تماس و فرم ---------- */
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-sm); }
.contact-item { display: flex; align-items: center; gap: 1rem; padding: .9rem 0; }
.contact-item + .contact-item { border-block-start: 1px dashed var(--line); }
.contact-item .icon-box { margin: 0; width: 3rem; height: 3rem; font-size: 1.15rem; flex: none; }
.contact-item small { color: var(--ink-soft); display: block; line-height: 1.4; }
.contact-item a, .contact-item strong { color: var(--ink); }
.ltr-text { direction: ltr; unicode-bidi: embed; display: inline-block; }
.form-label { font-weight: 500; margin-bottom: .35rem; }
.form-control, .form-select {
  border-radius: .8rem; border: 1.5px solid var(--line); padding: .75rem 1rem; background-color: #fffdfb;
  font-family: inherit; text-align: start;
}
.form-select { background-position: left .9rem center; padding-inline-start: 2.4rem; padding-inline-end: 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand-400); box-shadow: 0 0 0 .22rem rgba(249, 115, 22, .2); background-color: #fff; }
.form-control::placeholder { color: #b9a898; }
.form-check-input:checked { background-color: var(--brand-500); border-color: var(--brand-500); }
.form-check-input:focus { border-color: var(--brand-400); box-shadow: 0 0 0 .22rem rgba(249, 115, 22, .2); }
.form-check { padding-inline-start: 0; padding-left: 0; padding-right: 1.5em; }
.form-check .form-check-input { float: right; margin-right: -1.5em; margin-left: 0; }
.was-validated .form-control:valid, .was-validated .form-select:valid { border-color: var(--line); background-image: none; }

/* ---------- فوتر ---------- */
.site-footer { background: #1d130b; color: #d9c9bb; padding-top: 4rem; }
.site-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.site-footer a { color: #d9c9bb; }
.site-footer a:hover { color: var(--brand-400); }
.site-footer .brand, .site-footer .brand:hover { color: #fff; }
.site-footer .brand-text small { color: #b9a898; }
.footer-links li { margin-bottom: .55rem; }
.social { display: flex; gap: .55rem; }
.social a {
  width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: .75rem;
  background: rgba(255, 255, 255, .07); color: #fff; transition: background .2s, transform .2s;
}
.social a:hover { background: var(--brand-500); color: #fff; transform: translateY(-3px); }
.footer-bottom { border-block-start: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding-block: 1.25rem; font-size: .88rem; color: #a8978a; }

/* ---------- دکمه برگشت به بالا ---------- */
.to-top {
  position: fixed; inset-block-end: 1.25rem; inset-inline-start: 1.25rem; z-index: 1030;
  width: 3rem; height: 3rem; border: 0; border-radius: .9rem; color: #fff;
  background: var(--brand-500); box-shadow: 0 8px 22px rgba(249, 115, 22, .4);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .25s, transform .25s, visibility .25s, background .2s; cursor: pointer;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-600); }

/* ---------- انیمیشن ظاهر شدن هنگام اسکرول ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .dash-phone, .dash-notif { animation: none; }
}

/* ---------- واکنش‌گرایی ---------- */
@media (max-width: 991.98px) {
  .section { padding-block: 4rem; }
  .hero { padding-block: 7rem 4.5rem; }
  .hero-visual { margin-top: 3rem; }
}
@media (max-width: 575.98px) {
  .hero-visual { padding-block-end: 0; }
  .dash-phone, .dash-notif { display: none; }
  .kpi .k-val { font-size: 1rem; }
  .dash-charts { grid-template-columns: 1fr; }
  .cta { padding: 2.5rem 1.25rem; }
}

/* ---------- چاپ ---------- */
@media print {
  .site-nav, .to-top, .hero::before { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
