@font-face {
  font-family: "VazirmatnLocal";
  src: local("Vazirmatn"), local("Vazir"), local("Tahoma");
}

:root {
  --navy: #071426;
  --navy-2: #0d203a;
  --gold: #c7a24a;
  --cream: #f4ead7;
  --paper: #fffaf0;
  --white: #ffffff;
  --muted: #667085;
  --line: rgba(199, 162, 74, 0.32);
  --shadow: 0 24px 70px rgba(7, 20, 38, 0.14);
  --radius: 26px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: VazirmatnLocal, Tahoma, Arial, sans-serif;
  background: var(--paper);
  color: var(--navy);
  line-height: 1.9;
}

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 240, 0.84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(199, 162, 74, 0.18);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 8px 26px rgba(7, 20, 38, 0.06);
}

.brand strong { display: block; font-size: 15px; }
.brand small { display: block; color: var(--muted); font-size: 12px; margin-top: -4px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(7, 20, 38, 0.78);
  font-size: 14px;
}

.main-nav a:hover { color: var(--gold); }

.menu-btn {
  display: none;
  border: 0;
  background: var(--navy);
  color: var(--cream);
  width: 42px;
  height: 42px;
  border-radius: 14px;
  font-size: 20px;
}

.hero {
  background:
    radial-gradient(circle at 18% 10%, rgba(199, 162, 74, 0.18), transparent 30%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--cream);
  padding: 92px 0 72px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 44px;
}

.eyebrow,
.section-title span {
  display: inline-block;
  color: var(--gold);
  letter-spacing: 0.03em;
  font-weight: 700;
  font-size: 14px;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

.hero h1 {
  margin: 18px 0 10px;
  font-size: clamp(38px, 7vw, 72px);
  line-height: 1.18;
  letter-spacing: -1px;
}

.lead {
  font-size: clamp(17px, 2vw, 22px);
  max-width: 780px;
  color: rgba(244, 234, 215, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn.primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 14px 36px rgba(199, 162, 74, 0.25);
}

.btn.secondary {
  background: var(--cream);
  color: var(--navy);
}

.btn.ghost {
  border: 1px solid rgba(244, 234, 215, 0.34);
  color: var(--cream);
}

.hero-card {
  min-height: 410px;
  border-radius: var(--radius);
  padding: 34px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(199, 162, 74, 0.34);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

.gold-line {
  position: absolute;
  top: 34px;
  right: 34px;
  left: 34px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.scale {
  position: absolute;
  top: 92px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 112px;
  color: rgba(199, 162, 74, 0.88);
  filter: drop-shadow(0 18px 38px rgba(0,0,0,.22));
}

.hero-card h2 { margin: 0 0 8px; font-size: 28px; }
.hero-card p { margin: 0; color: rgba(244, 234, 215, 0.78); }

.section { padding: 86px 0; }

.section.soft {
  background: #fff4df;
  border-block: 1px solid rgba(199, 162, 74, 0.18);
}

.section-title {
  margin-bottom: 30px;
  text-align: center;
}

.section-title.compact {
  text-align: right;
  margin-bottom: 14px;
}

.section-title h2 {
  margin: 12px 0 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.35;
}

.cards.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid rgba(199, 162, 74, 0.18);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 20px 60px rgba(7, 20, 38, 0.08);
  min-height: 286px;
}

.card .icon {
  font-size: 38px;
  margin-bottom: 18px;
}

.card h3 {
  font-size: 24px;
  margin: 0 0 8px;
}

.card p { color: var(--muted); margin: 0 0 24px; }
.card a { color: var(--gold); font-weight: 800; }

.split {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: center;
}

.split p,
.author-box p {
  color: var(--muted);
  margin: 0;
}

.resource-list {
  display: grid;
  gap: 14px;
}

.resource-list a {
  background: var(--white);
  border-radius: 22px;
  border: 1px solid rgba(199, 162, 74, 0.2);
  padding: 18px 20px;
  box-shadow: 0 12px 36px rgba(7, 20, 38, 0.06);
}

.resource-list strong,
.resource-list small {
  display: block;
}

.resource-list small {
  color: var(--muted);
  margin-top: 4px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.timeline article {
  border-right: 3px solid var(--gold);
  background: var(--white);
  border-radius: 22px;
  padding: 24px;
  box-shadow: 0 16px 46px rgba(7, 20, 38, 0.07);
}

.timeline time {
  color: var(--gold);
  font-weight: 800;
}

.timeline h3 { margin: 8px 0; }
.timeline p { color: var(--muted); margin: 0; }

.author-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.site-footer {
  background: var(--navy);
  color: rgba(244, 234, 215, 0.74);
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

.footer-inner p { margin: 0; }

@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 78px;
    right: 16px;
    left: 16px;
    background: var(--white);
    border: 1px solid rgba(199, 162, 74, 0.22);
    border-radius: 20px;
    padding: 16px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open { display: flex; }
  .menu-btn { display: inline-grid; place-items: center; }

  .hero { padding: 64px 0 54px; }
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-card { min-height: 320px; }
  .scale { font-size: 78px; top: 82px; }

  .cards.three,
  .timeline {
    grid-template-columns: 1fr;
  }

  .author-box,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
