/* پویا پخش نوین - طراحی جدید: کورپوریت روشن، سرمه‌ای + آبی */

@font-face {
  font-family: "Vazirmatn";
  src: url("../fonts/vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #0B2545;
  --navy-2: #123A66;
  --accent: #2F7BFF;
  --accent-dark: #1E5FDB;
  --bg: #FFFFFF;
  --bg-soft: #F4F6FA;
  --text: #1E2A38;
  --muted: #64748B;
  --border: #E3E7EE;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Vazirmatn", Tahoma, sans-serif;
  font-size: 16.5px;
  line-height: 2;
  color: var(--text);
  background: var(--bg);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 { font-weight: 700; color: var(--navy); margin: 0; line-height: 1.6; }
h1 { font-weight: 800; }
h3 { font-weight: 600; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 700px; }
.center { text-align: center; }

.eyebrow { color: var(--accent); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; margin: 0 0 8px; }
.eyebrow--light { color: #9FC1FF; }
.crumb { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.tag { width: 22px; height: 3px; border-radius: 2px; background: var(--accent); display: inline-block; }

.lead { font-size: 17px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.lead.center { margin-inline: auto; }

/* ---------- سربرگ ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 40; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 24px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.5; }
.brand-text strong { font-size: 18px; font-weight: 700; color: var(--navy); }
.brand-text span { font-size: 11px; color: var(--muted); }

.site-header nav { display: flex; gap: 4px; flex: 1; justify-content: center; }
.site-header nav a { padding: 10px 14px; font-size: 15px; color: var(--text); border-radius: 8px; }
.site-header nav a:hover { background: var(--bg-soft); color: var(--navy); }
.site-header nav a[aria-current="page"] { color: var(--accent); font-weight: 700; }

.header-cta { white-space: nowrap; }
.hburg { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
.hburg span { display: block; width: 20px; height: 2px; background: var(--navy); margin-inline: auto; transition: transform .2s, opacity .2s; }
.hburg.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hburg.open span:nth-child(2) { opacity: 0; }
.hburg.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- دکمه‌ها ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.actions.center { justify-content: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 30px; border-radius: 10px; font-weight: 700; font-size: 15px; border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-2); }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(47,123,255,0.35); }
.btn--accent:hover { background: var(--accent-dark); }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }
.btn--sm { padding: 9px 20px; font-size: 14px; border-radius: 8px; }

/* ---------- هیرو ---------- */
.hero { padding: 64px 0 80px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(34px, 4.6vw, 54px); line-height: 1.5; margin-bottom: 18px; }
.accent-text { color: var(--accent); }
.hero-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 380px; object-fit: cover; }

/* ---------- بخش‌های عمومی ---------- */
.band { padding: 84px 0; }
.band--soft { background: var(--bg-soft); }
.band--navy { background: var(--navy); color: #E7EDF6; }
.band--navy h2, .band--navy h3 { color: #fff; }
.band h2 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 16px; }

/* ---------- وب‌اپ ---------- */
.webapp-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.benefits { list-style: none; margin: 22px 0 28px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.benefits li { padding-inline-start: 26px; position: relative; }
.benefits li::before { content: ""; position: absolute; inline-size: 8px; block-size: 8px; border-radius: 50%; background: var(--accent); inset-inline-start: 0; top: 12px; }
.webapp-mock { display: flex; justify-content: center; }
.mock-card { background: #fff; border-radius: 16px; padding: 26px; width: 100%; max-width: 340px; box-shadow: 0 20px 50px rgba(0,0,0,0.35); }
.mock-bar { display: flex; gap: 6px; margin-bottom: 20px; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-row { height: 14px; border-radius: 6px; background: var(--bg-soft); margin-bottom: 12px; }
.mock-row.short { width: 60%; }
.mock-btn { margin-top: 22px; height: 42px; border-radius: 8px; background: var(--accent); }

/* ---------- آمار ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { text-align: center; padding: 22px 12px; border-inline-start: 1px solid var(--border); }
.stat:first-child { border-inline-start: 0; }
.stat strong { display: block; font-size: clamp(28px, 3.4vw, 40px); color: var(--navy); font-weight: 800; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- درباره ما ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 340px; object-fit: cover; }
.about-text p { color: var(--muted); margin: 0 0 16px; }
.about-text p:last-of-type { margin-bottom: 0; }
.about-text .actions { margin-top: 24px; }

/* ---------- خدمات ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; text-align: right; }
.svc-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); }
.svc-ico { display: block; width: 40px; height: 40px; border-radius: 10px; background: rgba(47,123,255,0.12); margin-bottom: 16px; position: relative; }
.svc-ico::after { content: ""; position: absolute; inset: 11px; border-radius: 4px; background: var(--accent); }
.svc-card h3 { font-size: 18px; margin-bottom: 8px; }
.svc-card p { margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- برندها ---------- */
.brand-grid { display: grid; gap: 22px; margin-top: 44px; }
.brand-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.b-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); text-align: center; }
.b-logo { height: 84px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.b-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.b-card h3 { font-size: 18px; margin-bottom: 4px; }
.b-cat { color: var(--accent); font-size: 13px; font-weight: 700; margin: 0 0 8px; }
.b-desc { color: var(--muted); font-size: 14px; margin: 0; }
.b-desc.muted { color: #A6B0BD; font-style: italic; }

/* ---------- چرا ما ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 44px; text-align: right; }
.why-item { padding-inline-start: 22px; border-inline-start: 2px solid rgba(255,255,255,0.18); }
.why-dot { display: none; }
.why-item h3 { font-size: 17px; margin-bottom: 6px; }
.why-item p { margin: 0; color: #B9C6DA; font-size: 14.5px; }

/* ---------- گالری عکس ---------- */
.ph-grid { display: grid; gap: 20px; margin-top: 44px; }
.ph-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.ph-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.ph-grid figure { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--navy); }
.ph-grid img { width: 100%; height: 170px; object-fit: cover; }
.ph-grid figcaption { padding: 12px 14px; font-size: 13px; color: var(--muted); background: #fff; }

/* ---------- CTA وب‌اپ ---------- */
.band-cta { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.band-cta h2 { max-width: 22em; }
.band-cta p { color: #C4D2E6; margin: 10px 0 0; max-width: 30em; }

/* ---------- فرصت‌های شغلی ---------- */
.job-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.job-card { display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border); background: #fff; }
.job-card--img img { width: 100%; height: 280px; object-fit: cover; display: block; }
.job-card--pdf { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 280px; color: var(--navy); font-weight: 700; background: var(--bg-soft); }
.job-ico { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(47,123,255,0.14); color: var(--accent); font-size: 13px; font-weight: 800; }
.empty-state { text-align: center; color: var(--muted); padding: 30px 0; }

/* ---------- سربرگ صفحات داخلی ---------- */
.pg-head { padding: 56px 0 48px; background: var(--bg-soft); border-bottom: 1px solid var(--border); }
.pg-head h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 10px; }
.pg-head .lead { margin-bottom: 0; }

/* ---------- دفاتر ---------- */
.office-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; text-align: right; }
.apply-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; text-align: right; }
.office-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.office-card h3 { font-size: 17px; margin-bottom: 8px; }
.office-card p { margin: 0; color: var(--muted); }

/* ---------- تماس ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.info-row { padding: 18px 0; border-bottom: 1px solid var(--border); }
.info-row:first-child { padding-top: 0; }
.info-row h3 { font-size: 15px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.info-row p { margin: 0; font-size: 18px; font-weight: 700; color: var(--navy); }
.contact-form { display: flex; flex-direction: column; gap: 16px; background: var(--bg-soft); padding: 30px; border-radius: var(--radius); }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); font-weight: 600; }
.contact-form input, .contact-form textarea { font-family: inherit; font-size: 15px; padding: 12px 14px; border-radius: 8px; border: 1px solid var(--border); background: #fff; color: var(--text); }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.contact-form button { margin-top: 6px; }
.form-note { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- پایین صفحه ---------- */
.site-footer { background: var(--navy); color: #B9C6DA; padding: 64px 0 28px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-brand .brand-text strong { color: #fff; }
.foot-brand .brand-text span { color: #9FB0C9; }
.foot-note { max-width: 26em; margin: 16px 0 20px; color: #A9B7CC; }
.foot-title { color: #fff; font-weight: 700; margin-bottom: 12px; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.site-footer p { margin: 0 0 8px; }
.rights { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 13px; color: #8CA0BC; }

/* ---------- موبایل ---------- */
@media (max-width: 960px) {
  .hero-grid, .webapp-grid, .about-grid, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .foot-grid { gap: 32px; }
  .svc-grid, .brand-grid.cols-4, .why-grid, .office-grid, .apply-grid, .job-grid { grid-template-columns: repeat(2, 1fr); }
  .ph-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  body { font-size: 15.5px; }
  .site-header nav { position: fixed; inset-inline: 0; top: 70px; background: #fff; flex-direction: column; padding: 14px 24px; border-bottom: 1px solid var(--border); box-shadow: 0 16px 30px rgba(11,37,69,0.14); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
  .site-header nav.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .site-header nav a { padding: 12px 6px; border-bottom: 1px solid var(--border); border-radius: 0; }
  .hburg { display: flex; }
  .header-cta { display: none; }
  .bar { padding: 12px 20px; }

  .hero { padding: 40px 0 48px; }
  .hero-media img { height: 240px; }
  .band { padding: 56px 0; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat { border-inline-start: 0; border-top: 1px solid var(--border); padding-top: 18px; }
  .stat:nth-child(-n+2) { border-top: 0; padding-top: 0; }
  .svc-grid, .brand-grid.cols-4, .why-grid, .office-grid, .apply-grid, .ph-grid.cols-4, .ph-grid.cols-2, .job-grid { grid-template-columns: 1fr; }
  .why-item { border-inline-start: 0; border-top: 1px solid rgba(255,255,255,0.18); padding-inline-start: 0; padding-top: 18px; }
  .why-item:first-child { border-top: 0; padding-top: 0; }
  .band-cta { flex-direction: column; align-items: flex-start; }
  .pg-head { padding: 40px 0 36px; }
}
