/* ====================================================================
   همکاران هوشمند — استایل مشترک
   بدون وابستگی بیرونی تا در هر شبکه‌ای بالا بیاید.
   ==================================================================== */

:root {
  --graphite: #1B2430;
  --graphite-2: #28333F;
  --brass: #C8963E;
  --brass-dim: #8E6B2A;
  --panel: #E4E7EB;
  --paper: #F7F8FA;
  --ink: #222B36;
  --muted: #5C6773;
  --line: #D6DBE1;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Vazirmatn, "IRANSans", "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.95;
}

.wrap { width: min(1040px, 92vw); margin-inline: auto; }
a { color: var(--brass-dim); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

/* ---------------------- نوار بالا ---------------------- */
header {
  background: var(--graphite);
  color: var(--panel);
  padding: 12px 0;
  position: sticky; top: 0; z-index: 20;
}
.bar { display: flex; align-items: center; gap: 12px; }
.mark {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(150deg, var(--brass), var(--brass-dim));
  display: grid; place-items: center; flex-shrink: 0;
}
.mark span { width: 11px; height: 11px; border-radius: 50%; background: var(--graphite); }
.brand { font-weight: 700; font-size: 16px; white-space: nowrap; }
.brand a { color: inherit; text-decoration: none; }

nav.main { margin-inline-start: auto; display: flex; gap: 4px; }
nav.main a {
  color: #A9B4C0; text-decoration: none; font-size: 14.5px;
  padding: 7px 13px; border-radius: 8px;
}
nav.main a:hover { color: var(--panel); background: rgba(255,255,255,.06); }
nav.main a.active { color: var(--brass); background: rgba(200,150,62,.12); }

.menu-btn {
  display: none; margin-inline-start: auto;
  width: 38px; height: 38px; border: 0; border-radius: 9px;
  background: rgba(255,255,255,.07); cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.menu-btn i { width: 17px; height: 2px; background: var(--panel); border-radius: 2px; display: block; }

@media (max-width: 780px) {
  .menu-btn { display: flex; }
  nav.main {
    display: none; position: absolute; top: 58px; inset-inline: 0;
    background: var(--graphite-2); flex-direction: column;
    padding: 8px; gap: 2px; border-top: 1px solid #3B4856;
  }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 14px; font-size: 15px; }
}

/* ---------------------- بخش‌ها ---------------------- */
.page-head { padding: 46px 0 8px; }
h1 {
  font-size: clamp(24px, 4.2vw, 34px);
  line-height: 1.5; margin: 0 0 14px;
  font-weight: 800; letter-spacing: -.5px;
}
.lead { font-size: 17px; color: var(--muted); max-width: 58ch; margin: 0; }

section { padding: 44px 0; }
.band { background: #fff; border-block: 1px solid var(--line); }
h2 {
  font-size: clamp(20px, 3.1vw, 25px);
  margin: 0 0 9px; font-weight: 800; letter-spacing: -.3px;
}
h3 { font-size: 17px; margin: 0 0 6px; }
.sub { color: var(--muted); margin: 0 0 26px; max-width: 62ch; }
p { margin: 0 0 14px; }
p:last-child { margin-bottom: 0; }

.prose { max-width: 72ch; color: var(--ink); }
.prose h3 { margin: 24px 0 6px; }
.prose p { color: var(--muted); }

/* ---------------------- کارت شناسنامه ---------------------- */
.idcard {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 22px 24px; margin: 26px 0 0;
  box-shadow: 0 6px 22px rgba(27,36,48,.06);
}
.idcard dl {
  margin: 0; display: grid; grid-template-columns: max-content 1fr;
  gap: 11px 22px; font-size: 15.5px;
}
.idcard dt { color: var(--muted); white-space: nowrap; }
.idcard dd { margin: 0; font-weight: 600; }
@media (max-width: 620px) {
  .idcard dl { grid-template-columns: 1fr; gap: 0; }
  .idcard dt { margin-top: 12px; font-size: 13.5px; }
  .idcard dt:first-of-type { margin-top: 0; }
}

/* ---------------------- شبکه‌ها ---------------------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; gap: 20px; }
}

.item h3 { margin: 0 0 4px; font-size: 16.5px; }
.item p { margin: 0; color: var(--muted); font-size: 14.8px; }

/* کارت خدمت */
.svc {
  background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 20px;
}
.svc .num {
  display: inline-block; font-size: 12.5px; font-weight: 700;
  color: var(--brass-dim); margin-bottom: 8px;
}
.svc h3 { margin: 0 0 7px; }
.svc p { margin: 0; color: var(--muted); font-size: 15px; }

/* مراحل */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 22px; } }
.step { padding-top: 15px; border-top: 3px solid var(--brass); }
.step b { display: block; font-size: 13.5px; color: var(--brass-dim); margin-bottom: 5px; font-weight: 700; }
.step h3 { margin: 0 0 5px; font-size: 16.5px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------------------- پیامک ---------------------- */
.sms-box { background: #FFF9EE; border: 1px solid #EBD9B4; border-radius: 16px; padding: 22px 24px; }
.msg {
  background: #fff; border: 1px solid var(--line);
  border-radius: 13px 13px 13px 4px; padding: 14px 16px;
  font-size: 15px; margin-bottom: 12px;
}
.msg small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 7px; line-height: 1.85; }
.msg:last-child { margin-bottom: 0; }

/* ---------------------- پرسش و پاسخ ---------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 16px;
  list-style: none; padding-inline-end: 26px; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; inset-inline-end: 0; top: -2px;
  color: var(--brass-dim); font-size: 20px; font-weight: 400;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); font-size: 15px; margin: 10px 0 0; }

/* ---------------------- تماس ---------------------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 34px; }
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; gap: 18px; } }
.contact-grid h3 { margin: 0 0 4px; font-size: 14px; color: var(--muted); font-weight: 600; }
.contact-grid p { margin: 0; font-size: 17px; font-weight: 700; }
.contact-grid a { text-decoration: none; }
.ltr { direction: ltr; unicode-bidi: embed; display: inline-block; }

/* ---------------------- دکمه ---------------------- */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 10px;
  text-decoration: none; font-weight: 700; font-size: 15px;
  background: var(--graphite); color: var(--panel);
  border: 1.5px solid transparent;
}
.btn.line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* ---------------------- پانویس ---------------------- */
footer { background: var(--graphite); color: #93A0AE; padding: 32px 0; font-size: 14px; }
footer .cols { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer a { color: #B9C4D0; text-decoration: none; margin-inline-start: 16px; }
footer .fnav { display: flex; flex-wrap: wrap; }
@media (max-width: 620px) {
  footer .cols { flex-direction: column; gap: 12px; }
  footer a { margin: 0 16px 0 0; }
}
