/* ==========================================================================
   قصران گشت — لندینگ مشاوره ویزای چین
   توکن‌های طراحی: رنگ سرمه‌ای #222a56 / رنگ قرمز #c51617 / زمینه سفید و خاکستری روشن
   فونت: Vazirmatn
   ========================================================================== */

:root {
  --navy: #222a56;
  --navy-dark: #171d40;
  --navy-tint: #eef0f7;
  --red: #c51617;
  --red-dark: #a11113;
  --bg: #ffffff;
  --bg-alt: #f7f7f9;
  --ink: #1c1e2a;
  --ink-soft: #565a6e;
  --line: #e4e5ec;
  --success: #1f7a4d;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-card: 0 2px 18px rgba(34, 42, 86, 0.07);
  --shadow-card-hover: 0 8px 28px rgba(34, 42, 86, 0.12);

  --container-w: 1160px;
  --header-h: 68px;
  --mobile-bar-h: 64px;

  --font-body: 'Vazirmatn', Tahoma, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  padding-bottom: var(--mobile-bar-h);
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 { color: var(--navy); font-weight: 700; margin: 0 0 .6em; line-height: 1.35; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 20px;
}

:focus-visible {
  outline: 2.5px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ==================== دکمه‌ها ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn-primary {
  background: var(--red);
  color: #fff;
}
.btn-primary:hover { background: var(--red-dark); }
.btn-primary:active { transform: translateY(1px); }

.btn-small { padding: 9px 16px; font-size: 13.5px; }

.btn-block { width: 100%; }

.btn-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: #fff;
  text-align: center;
  line-height: 1.4;
}
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* CTA بزرگ تماس در هیرو */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  padding: 15px 22px;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.cta-phone {
  background: var(--red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(197,22,23,.28);
}
.cta-phone strong { font-size: 17px; letter-spacing: .3px; }
.cta-phone:hover { background: var(--red-dark); }
.cta-phone:active { transform: translateY(1px); }

.cta-secondary {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.cta-secondary:hover { background: var(--navy-tint); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 14px;
}
.hero-ctas .cta-button { flex: 1 1 auto; }

/* ==================== هدر ==================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.logo-link { display: flex; align-items: center; }
.logo-img { height: 36px; width: auto; }

.main-nav { display: none; }
.main-nav ul { display: flex; gap: 26px; }
.main-nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink);
  transition: color .15s ease;
}
.main-nav a:hover { color: var(--red); }

.header-actions { display: none; align-items: center; gap: 14px; }
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--navy);
  font-size: 14.5px;
}
.icon-phone { color: var(--red); }

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  max-height: 0;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid var(--line);
  transition: max-height .25s ease;
}
.mobile-nav.open { max-height: 320px; }
.mobile-nav ul { padding: 6px 20px 14px; display: flex; flex-direction: column; gap: 2px; }
.mobile-nav a {
  display: block;
  padding: 10px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: none; color: var(--red); font-weight: 700; }

/* ==================== هیرو ==================== */
.hero {
  background: linear-gradient(180deg, var(--navy-tint) 0%, var(--bg) 78%);
  padding: 32px 0 40px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
.hero-content h1 {
  font-size: clamp(26px, 5.5vw, 40px);
  margin-bottom: .5em;
}
.hero-subtitle { font-size: 16.5px; color: var(--ink); }
.hero-note { font-size: 13.5px; color: var(--ink-soft); }
.hero-disclaimer {
  font-size: 13px;
  color: var(--ink-soft);
  border-right: 3px solid var(--navy);
  padding-right: 10px;
  margin-top: 10px;
}

.hero-media { order: -1; }
.hero-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  width: 100%;
  aspect-ratio: 640 / 500;
  object-fit: cover;
}

/* ==================== سکشن‌های عمومی ==================== */
.section { padding: 52px 0; }
.section-alt { background: var(--bg-alt); }

.section-figure {
  margin: 0 0 32px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 32px;
}
.section-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.section-title {
  font-size: clamp(21px, 4vw, 28px);
  text-align: center;
  margin-bottom: .5em;
}
.section-lead {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 30px;
  font-size: 15.5px;
}
.section-footnote {
  text-align: center;
  font-size: 13px;
  color: var(--ink-soft);
  margin: 26px auto 0;
  max-width: 640px;
}

/* کارت‌های خدمات */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  box-shadow: var(--shadow-card);
  transition: box-shadow .2s ease, transform .2s ease;
}
.service-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.service-card h3 { font-size: 16.5px; margin-bottom: .4em; }
.service-card p { font-size: 14px; margin: 0; }

/* هدف سفر */
.purpose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.purpose-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
}
.purpose-card h3 { font-size: 18px; }
.purpose-list-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--navy);
  margin: 14px 0 8px;
}
.purpose-card ul { display: flex; flex-direction: column; gap: 7px; }
.purpose-card li {
  font-size: 14px;
  color: var(--ink-soft);
  padding-right: 18px;
  position: relative;
}
.purpose-card li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
}

/* مدارک متداول */
.doc-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 26px;
}
.doc-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 14.5px;
  position: relative;
  padding-right: 40px;
}
.doc-list li::before {
  content: '✓';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--navy);
  font-weight: 700;
}

.warning-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #fff5f5;
  border: 1px solid #f3c9c9;
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.warning-box svg { color: var(--red); flex-shrink: 0; margin-top: 2px; }
.warning-box p { margin: 0; font-size: 13.5px; color: var(--ink); }

/* مراحل همکاری */
.process-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 720px;
  margin: 0 auto;
  counter-reset: step;
}
.process-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.process-num {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 15px;
}
.process-list h3 { font-size: 16px; margin-bottom: .25em; }
.process-list p { font-size: 14px; margin: 0; }

/* چرا قصران گشت */
.why-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
}
.why-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  padding-right: 42px;
  position: relative;
}
.why-list li::before {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--red);
}

/* هشدار و شفاف‌سازی */
.disclosure-section { padding: 0 0 52px; }
.disclosure-box {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  max-width: 900px;
  margin: 0 auto;
}
.disclosure-box p {
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 14.5px;
  text-align: center;
  line-height: 1.9;
}

/* سؤالات متداول */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 4px 18px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 15px 0;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--red);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { font-size: 14px; padding-bottom: 16px; margin: 0; }

/* فراخوان نهایی */
.final-cta {
  background: var(--navy);
  color: #fff;
}
.final-cta-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
}
.final-cta h2 { color: #fff; font-size: 24px; }
.final-cta p { color: rgba(255,255,255,.82); margin: 0; }
.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}
.final-cta-actions .btn { flex: 1 1 200px; }

/* ==================== فوتر ==================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  padding: 40px 0 30px;
  font-size: 13.5px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.footer-brand img { filter: brightness(0) invert(1); margin-bottom: 10px; }
.footer-brand p { margin: 0 0 4px; color: rgba(255,255,255,.7); }
.footer-brand a { color: #fff; font-weight: 600; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}
.footer-links a { color: rgba(255,255,255,.75); }
.footer-links a:hover { color: #fff; }

.footer-legal {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 18px;
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  margin: 0;
}

/* ==================== نوار ثابت موبایل ==================== */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  height: var(--mobile-bar-h);
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -4px 16px rgba(0,0,0,.06);
  display: flex;
  z-index: 60;
}
.mobile-bar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
}
.mobile-bar-call {
  background: var(--red);
  color: #fff;
}
.mobile-bar-consult {
  background: var(--navy);
  color: #fff;
}

/* ==================== واکنش‌گرایی: تبلت و دسکتاپ ==================== */
@media (min-width: 720px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .purpose-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-list { grid-template-columns: repeat(2, 1fr); }
  .why-list { grid-template-columns: repeat(2, 1fr); }
  .final-cta-inner { flex-direction: row; justify-content: space-between; align-items: center; }
  .final-cta-actions { width: auto; }
}

@media (min-width: 900px) {
  .main-nav { display: block; }
  .header-actions { display: flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none; }
  .mobile-sticky-bar { display: none; }
  body { padding-bottom: 0; }

  .cards-grid { grid-template-columns: repeat(3, 1fr); }

  .hero { padding: 56px 0 64px; }
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
  .hero-media { order: 0; }
}

@media (min-width: 1080px) {
  .hero-content h1 { font-size: 42px; }
}
