@font-face { font-family: Vazirmatn; src: url(fonts/Vazirmatn-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: Vazirmatn; src: url(fonts/Vazirmatn-Bold.ttf) format("truetype"); font-weight: 700 800; font-display: swap; }

:root {
  --navy: #0a1328;
  --blue: #2f6fb3;
  --blue2: #3b7be0;
  --gold: #fdba3a;
  --ink: #1b2027;
  --txt: #5a626c;
  --line: #e6e9ee;
  --soft: #f4f6f9;
  --card: #ffffff;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: Vazirmatn, Tahoma, sans-serif; color: var(--ink); background: #fff; line-height: 1.9; font-size: 16px; }
a { color: var(--blue); }
img { max-width: 100%; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* نوار بالا */
.bar {
  text-align: center; color: #fff; font-weight: 700; font-size: 15px; padding: 12px 16px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='40'%3E%3Cpath d='M14 8l1.6 3.6L19 13l-3.4 1.4L14 18l-1.6-3.6L9 13l3.4-1.4z' fill='%23ffffff' fill-opacity='.13'/%3E%3Cpath d='M42 26l1 2.2 2.2 1-2.2 1-1 2.2-1-2.2-2.2-1 2.2-1z' fill='%23fdba3a' fill-opacity='.25'/%3E%3C/svg%3E"),
    linear-gradient(90deg, var(--blue2), #1f3f86 55%, var(--navy));
}

/* سربرگ */
.head { border-bottom: 1px solid var(--line); background: #fff; }
.row1 { display: flex; align-items: center; gap: 16px; min-height: 92px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand img { width: 52px; height: 52px; border-radius: 50%; }
.brand span { display: flex; flex-direction: column; line-height: 1.5; }
.brand b { font-size: 18px; font-weight: 800; }
.brand small { font-size: 13px; color: var(--txt); }
.head-side { margin-inline-start: auto; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 14px; direction: ltr; }
.contact .ic { width: 20px; height: 20px; color: var(--txt); }
.row2 { display: flex; gap: 22px; padding-block: 12px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.row2 a { color: var(--ink); text-decoration: none; font-size: 15px; }
.row2 a:hover { color: var(--blue); }

/* دکمه‌ها */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 10px; font-weight: 700; text-decoration: none; font-size: 15px; border: 1px solid transparent; }
.btn .ic { width: 18px; height: 18px; }
.btn.main { background: var(--gold); color: var(--navy); }
.btn.line { border-color: var(--ink); color: var(--ink); background: rgba(255,255,255,.6); }

/* استوری */
.stories { display: flex; gap: 22px; padding: 28px 0 22px; overflow-x: auto; }
.stories a { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-size: 14px; flex: none; }
.ring { width: 96px; height: 96px; border-radius: 50%; padding: 3px; background: conic-gradient(var(--gold), var(--blue2), #2fae6b, var(--gold)); display: grid; place-items: center; }
.dot { width: 100%; height: 100%; border-radius: 50%; border: 3px solid #fff; display: grid; place-items: center; color: #fff; }
.dot .ic { width: 34px; height: 34px; }

/* رنگ دایره‌ها */
.c1 { background: #2f6fb3; } .c2 { background: #e0a020; } .c3 { background: #2f9e64; } .c4 { background: #6a55c9; }
.c5 { background: #1f3f86; } .c6 { background: #d0573d; } .c7 { background: #2b8fa8; }

/* اسلایدر */
.slider { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 1024 / 500; background: var(--navy); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .7s; display: grid; place-items: center; }
.slide.on { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.s2 { background: radial-gradient(circle at 15% 80%, #ffe3a6 0, transparent 45%), linear-gradient(135deg, #fff8e8, #f3f6fb); }
.s3 { background: radial-gradient(circle at 85% 20%, #cfe0fa 0, transparent 45%), linear-gradient(135deg, #f3f6fb, #e9f6ef); }
.slide-text { text-align: center; max-width: 620px; padding: 16px; }
.slide-text h2 { font-size: 36px; margin: 0 0 8px; font-weight: 800; }
.slide-text p { color: var(--txt); margin: 0 0 18px; font-size: 17px; }
.dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; background: rgba(255,255,255,.75); padding: 6px 10px; border-radius: 20px; }
.dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: #9aa3ae; cursor: pointer; }
.dots button.on { background: var(--navy); }

/* نوار دسته‌ها */
.cats { display: grid; grid-template-columns: repeat(7, 1fr); border: 1px solid var(--line); border-radius: 16px; margin-top: 28px; overflow: hidden; }
.cats a { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 8px; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 700; border-inline-start: 1px solid var(--line); text-align: center; }
.cats a:first-child { border-inline-start: 0; }
.cats a:hover { background: var(--soft); }
.cdot { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.cdot .ic { width: 36px; height: 36px; }
.cdot.sm { width: 48px; height: 48px; margin-bottom: 10px; }
.cdot.sm .ic { width: 24px; height: 24px; }

/* بخش‌ها */
section { padding: 48px 0 8px; scroll-margin-top: 16px; }
.title { font-size: 24px; margin: 0 0 18px; font-weight: 800; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 22px; scroll-margin-top: 16px; }
.card h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.card p { margin: 0; color: var(--txt); font-size: 15px; }
.card.soon { background: #fffaf0; border-color: #f2dca6; }

.band { display: flex; gap: 24px; align-items: center; background: var(--soft); border-radius: 18px; padding: 28px; margin-top: 48px; }
.band .title { margin-bottom: 6px; }
.band p { margin: 0; color: var(--txt); }
.band.dark { background: linear-gradient(90deg, var(--blue2), #1f3f86 55%, var(--navy)); color: #fff; }
.band.dark p { color: #d5def0; }
.band.dark .dl { margin-top: 12px; }
.band.dark img { width: 96px; height: 96px; border-radius: 22px; flex: none; }

/* پانویس */
.foot { background: var(--navy); color: #aab6c8; margin-top: 56px; padding: 40px 0 32px; font-size: 14px; }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.foot .brand { color: #fff; }
.foot .brand small { color: #aab6c8; }
.foot h4 { color: #fff; margin: 0 0 10px; font-size: 15px; }
.foot a:not(.brand) { display: block; color: #dfe6f1; text-decoration: none; margin-bottom: 6px; }

/* متن بلند (حریم خصوصی) */
header.top { background: var(--navy); }
header.top .wrap { display: flex; align-items: center; min-height: 64px; }
header.top .brand { color: #fff; font-weight: 800; font-size: 20px; }
header.top .brand img { width: 36px; height: 36px; border-radius: 9px; }
footer:not(.foot) { background: var(--navy); color: #aab6c8; font-size: 14px; padding: 24px 0; margin-top: 24px; }
footer:not(.foot) a { color: #dfe6f1; }
.doc { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 24px 28px; margin: 32px auto; max-width: 1040px; }
.doc h1 { font-size: 26px; margin-top: 0; }
.doc h2 { font-size: 19px; margin-top: 28px; }
.doc li { color: var(--txt); }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.doc .en { direction: ltr; text-align: left; }

@media (max-width: 900px) {
  .cats { grid-template-columns: repeat(4, 1fr); }
  .cats a:nth-child(5) { border-inline-start: 0; }
  .cats a:nth-child(n+5) { border-top: 1px solid var(--line); }
  .grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .contact { display: none; }
  .row1 { min-height: 76px; }
  .row2 { gap: 14px; overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; }
  .ring { width: 72px; height: 72px; }
  .dot .ic { width: 26px; height: 26px; }
  .slider { aspect-ratio: 16 / 11; }
  .slide img { object-fit: contain; }
  .s1 { background: linear-gradient(90deg, #2f6ee0, #0d1a3a); }
  .slide-text h2 { font-size: 24px; }
  .slide-text p { font-size: 15px; }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .cats a { border-top: 1px solid var(--line); border-inline-start: 1px solid var(--line); }
  .cats a:nth-child(-n+3) { border-top: 0; }
  .cats a:nth-child(3n+1) { border-inline-start: 0; }
  .cdot { width: 60px; height: 60px; } .cdot .ic { width: 28px; height: 28px; }
  .grid, .grid.two { grid-template-columns: 1fr; }
  .band { flex-direction: column; text-align: center; }
  .foot .cols { grid-template-columns: 1fr; }
}
