/* ============================================================
   بنیاد یاسمن — هویت رنگی: بنفش تیره / بنفش میانه / طلایی / سفید
   فونت: Abar Low (فونت ایران)
   ============================================================ */

@font-face {
  font-family: 'Abar Low';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/AbarLow-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Abar Low';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/AbarLow-Medium.woff2') format('woff2');
}
@font-face {
  font-family: 'Abar Low';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/AbarLow-SemiBold.woff2') format('woff2');
}
@font-face {
  font-family: 'Abar Low';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/AbarLow-Bold.woff2') format('woff2');
}
@font-face {
  font-family: 'Abar Low';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/AbarLow-ExtraBold.woff2') format('woff2');
}

:root {
  --ink: #482050;          /* بنفش تیره */
  --ink-deep: #331638;     /* پسزمینه تیره */
  --mauve: #905890;        /* بنفش میانه */
  --lavender: #C8B0D8;     /* بنفش روشن */
  --lavender-soft: #F3EDF5;
  --gold: #D0B028;         /* طلایی */
  --gold-soft: #F4E7B4;
  --paper: #FAF9FA;
  --paper-2: #F5F0F5;
  --paper-3: #EADFEE;
  --white: #FFFFFF;
  --text: #503D55;
  --muted: #7E6B82;
  --line: rgba(72, 32, 80, .13);
  --shadow: 0 20px 55px rgba(72, 32, 80, .10);
  --radius: 20px;
  --container: 1180px;
  --font: 'Abar Low', 'Yekan Bakh', 'Estedad', Tahoma, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.9;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font-family: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.35; margin: 0; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
.svg-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 34px; height: 34px; }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

/* ---------- دکمهها ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  font-size: .92rem; font-weight: 600; line-height: 1.6; white-space: nowrap;
  transition: transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .25s ease; }
.btn:hover .icon { transform: translateX(-4px); }
.btn-small { padding: 9px 20px; font-size: .84rem; }
.btn-primary { background: var(--ink); color: var(--white); box-shadow: 0 12px 26px rgba(72,32,80,.22); }
.btn-primary:hover { background: var(--mauve); }
.btn-gold { background: var(--gold); color: #332600; box-shadow: 0 12px 26px rgba(208,176,40,.28); }
.btn-gold:hover { background: #e0bd38; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--lavender-soft); }
.btn-outline { background: transparent; color: var(--ink); border-color: rgba(72,32,80,.35); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light { background: var(--white); color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.5); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }

/* ---------- هدر ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,249,250,.9); backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(72,32,80,.06); }
.header-inner { height: 82px; display: flex; align-items: center; gap: 22px; }
.brand { display: flex; align-items: center; gap: 11px; margin-inline-end: auto; }
.brand-mark {
  width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--ink); border-radius: 14px;
  background: radial-gradient(circle at 30% 30%, var(--lavender-soft), var(--paper-3));
  border: 1px solid var(--line);
}
.brand-mark svg { width: 30px; height: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.35; }
.brand-name { font-size: 1.06rem; font-weight: 500; color: var(--ink); }
.brand-name strong { font-weight: 800; }
.brand-tag { font-size: .7rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { position: relative; padding-block: 8px; font-size: .86rem; font-weight: 500; color: #60476A; transition: color .2s; }
.nav a::after { content: ''; position: absolute; right: 0; bottom: 2px; width: 0; height: 2px; border-radius: 2px; background: var(--gold); transition: width .25s; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.menu-toggle {
  display: none; width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
  border: 1px solid var(--line); background: transparent; padding: 10px;
}
.menu-toggle span { display: block; height: 2px; margin: 5px 0; border-radius: 2px; background: var(--ink); transition: .25s; }
.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); }

/* ---------- Elementary graphic utilities ---------- */
.decor { position: absolute; pointer-events: none; z-index: 0; }
.blob { border-radius: 50%; filter: blur(2px); opacity: .55; }
.blob-lavender { background: radial-gradient(circle at 35% 35%, var(--lavender), transparent 70%); }
.blob-gold { background: radial-gradient(circle at 35% 35%, var(--gold-soft), transparent 70%); }
.dots {
  background-image: radial-gradient(rgba(72,32,80,.16) 1.2px, transparent 1.2px);
  background-size: 20px 20px;
}
.ornament { display: flex; align-items: center; gap: 6px; }
.ornament span { height: 3px; border-radius: 2px; background: var(--gold); }
.ornament span:nth-child(1) { width: 28px; }
.ornament span:nth-child(2) { width: 12px; opacity: .55; }
.ornament span:nth-child(3) { width: 6px; opacity: .3; }
.ornament.center { justify-content: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; color: #A07A24; letter-spacing: .05em; margin-bottom: 14px; }
.eyebrow::before { content: ''; width: 20px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--gold-soft); }
.eyebrow-light::before { background: currentColor; }

/* ---------- Hero (صفحه نخست) — طرح یادبود ---------- */
.hero { position: relative; padding: 76px 0 0; overflow: hidden; background: #FCFAF9; }
.hero-clouds {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: url('../img/clouds.jpg') center 12% / cover no-repeat;
  opacity: .6; mix-blend-mode: multiply;
}
.hero-wash {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(105deg, rgba(252,250,249,.94) 0%, rgba(252,250,249,.55) 44%, rgba(243,237,245,.3) 100%);
}
.hero-halo {
  position: absolute; z-index: 0; pointer-events: none;
  width: 720px; height: 720px; left: -150px; top: -200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(200,176,216,.35), transparent 68%);
}
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: center; min-height: 560px; }

.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px;
  border-radius: 999px; background: rgba(255,255,255,.82);
  border: 1px solid rgba(208,176,40,.42); color: #8A6A15;
  font-size: .76rem; font-weight: 700; box-shadow: 0 6px 18px rgba(72,32,80,.05);
}
.hero-kicker .icon { color: var(--gold); }
.hero h1 { font-size: clamp(2.9rem, 5.2vw, 4.6rem); margin-top: 22px; letter-spacing: -.045em; line-height: 1.25; }
.hero h1 em { font-style: normal; color: var(--ink); position: relative; display: inline-block; isolation: isolate; }
.hero h1 em::after { content: ''; position: absolute; inset: auto 0 -6px; height: 12px; border-radius: 50%; background: rgba(200,176,216,.5); z-index: -1; }
.hero-lead { margin-top: 18px; font-size: 1.12rem; color: var(--ink); font-weight: 600; max-width: 580px; line-height: 1.85; }
.hero-sub { margin-top: 12px; font-size: .93rem; color: #67536C; max-width: 560px; }

.hero-legacy { display: flex; gap: 16px; align-items: stretch; margin-top: 26px; padding-block: 14px; }
.legacy-rule { width: 3px; flex: none; border-radius: 2px; background: linear-gradient(180deg, var(--gold), var(--lavender)); }
.legacy-quote { font-size: 1.12rem; font-weight: 600; color: var(--mauve); }
.legacy-quote strong { color: var(--ink); }
.legacy-by { margin-top: 4px; font-size: .78rem; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 520px; }
.portrait-stage { position: relative; width: min(100%, 520px); aspect-ratio: 1; display: grid; place-items: center; }
.portrait-glow {
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.95) 0%, rgba(243,237,245,.72) 48%, transparent 72%);
  box-shadow: 0 30px 80px rgba(72,32,80,.08);
  animation: glow-breathe 8s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.04); opacity: 1; }
}
.portrait-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(144,88,144,.22); pointer-events: none; }
.portrait-orbit--outer { inset: 1%; border-style: dashed; border-color: rgba(208,176,40,.45); animation: orbit-spin 90s linear infinite; }
.portrait-orbit--inner { inset: 13%; border-color: rgba(144,88,144,.25); animation: orbit-spin 70s linear infinite reverse; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
.portrait-photo {
  position: absolute; z-index: 3; width: 68%; bottom: 5%; left: 50%; transform: translateX(-50%);
  object-fit: contain; object-position: bottom; filter: drop-shadow(0 24px 26px rgba(72,32,80,.16));
  -webkit-mask-image: linear-gradient(to bottom, #000 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 92%, transparent 100%);
}
.portrait-frame {
  position: absolute; z-index: 2; width: 104%; height: 104%; top: -2%; left: -2%;
  object-fit: contain; pointer-events: none; mix-blend-mode: multiply; opacity: .9;
  animation: frame-spin 120s linear infinite; filter: drop-shadow(0 12px 22px rgba(72,32,80,.08));
}
@keyframes frame-spin { to { transform: rotate(360deg); } }
.portrait-star {
  position: absolute; z-index: 4; color: var(--gold);
  animation: star-twinkle 4s ease-in-out infinite;
}
.portrait-star svg { width: 22px; height: 22px; }
.portrait-star--1 { top: 12%; right: 10%; }
.portrait-star--2 { bottom: 22%; left: 8%; color: var(--mauve); animation-delay: -2s; }
@keyframes star-twinkle {
  0%, 100% { transform: scale(1) rotate(0); opacity: .85; }
  50% { transform: scale(1.18) rotate(14deg); opacity: 1; }
}
.art-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 15px; border-radius: 999px; background: rgba(255,255,255,.94);
  border: 1px solid var(--line); box-shadow: var(--shadow);
  font-size: .74rem; font-weight: 600; color: var(--ink);
}
.art-chip .icon { width: 15px; height: 15px; color: var(--mauve); }
.art-chip-1 { top: 9%; right: 1%; }
.art-chip-2 { bottom: 20%; left: -2%; }
.art-chip-3 { bottom: 3%; right: 16%; }
.art-spark { position: absolute; color: var(--gold); }
.art-spark-1 { top: 2%; left: 22%; }
.art-spark-2 { top: 46%; right: -3%; }
/* چهار کارت مینیمال و هماندازه در اطراف عکس */
.orbit-cards { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.orbit-card {
  position: absolute; top: var(--y); left: var(--x); box-sizing: border-box;
  width: 158px; height: 36px;
  display: flex; align-items: center; justify-content: center; padding: 0 10px;
  border-radius: 10px; background: var(--white);
  box-shadow: 0 8px 22px rgba(72,32,80,.13);
  color: var(--ink); font-size: .68rem; font-weight: 500; line-height: 1;
  white-space: nowrap; text-align: center;
  transform: translate(-50%, -50%);
  animation: orbit-card-float 7s ease-in-out infinite;
}
.orbit-card:nth-child(2) { animation-delay: -1.8s; animation-duration: 8s; }
.orbit-card:nth-child(3) { animation-delay: -3.6s; animation-duration: 6.5s; }
.orbit-card:nth-child(4) { animation-delay: -5.4s; animation-duration: 7.5s; }
@keyframes orbit-card-float {
  0%, 100% { transform: translate(-50%, -50%); }
  50% { transform: translate(-50%, calc(-50% - 7px)); }
}

/* ---------- Section framework ---------- */
.section { position: relative; padding: 104px 0; overflow: hidden; }
.section-head { max-width: 560px; position: relative; z-index: 1; }
.section-head.centered { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3vw, 2.65rem); }
#focusTitle { white-space: nowrap; font-size: clamp(1.1rem, 3vw, 2.65rem); }
.section-head p { margin-top: 14px; font-size: .96rem; color: var(--muted); }
.section-head .ornament { margin-top: 24px; }
.bg-tint { background: var(--paper-2); }
.section .decor-dots { width: 220px; height: 220px; opacity: .4; top: 10%; left: -60px; }

/* ---------- معرفی کوتاه در صفحه نخست ---------- */
.intro-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.intro-visual { position: relative; min-height: 380px; display: grid; place-items: center; }
.intro-frame { position: relative; width: min(100%, 420px); aspect-ratio: 1; }
.intro-frame::before {
  content: ''; position: absolute; inset: 8% 8% 6% 14%;
  border: 1px solid rgba(144,88,144,.25); border-radius: 48% 52% 46% 54% / 52% 44% 56% 48%;
  transform: rotate(-12deg);
}
.intro-frame::after {
  content: ''; position: absolute; inset: 18% 20% 16% 4%;
  border: 1px dashed rgba(208,176,40,.45); border-radius: 56% 44% 52% 48% / 46% 56% 44% 54%;
  transform: rotate(18deg);
}
.intro-center {
  position: absolute; inset: 26%; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(145deg, var(--ink), var(--mauve)); color: var(--white);
  box-shadow: 0 30px 70px rgba(72,32,80,.28);
}
.intro-center svg { width: 58%; color: var(--gold-soft); }
.intro-label {
  position: absolute; padding: 6px 13px; border-radius: 999px; font-size: .72rem; font-weight: 600;
  background: var(--white); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow);
}
.intro-label-1 { top: 12%; right: 4%; }
.intro-label-2 { bottom: 12%; left: 2%; }
.intro-copy .prose p { margin-bottom: 18px; }
.intro-copy .prose p:first-child { font-size: 1.05rem; color: var(--ink); font-weight: 500; }
.quote-card {
  margin: 26px 0; padding: 24px 28px; position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); color: var(--ink); font-weight: 600; font-size: 1.02rem;
}
.quote-card::before { content: ''; position: absolute; right: 0; top: 24px; bottom: 24px; width: 3px; border-radius: 2px; background: var(--gold); }
.quote-card::after { content: '❝'; position: absolute; left: 22px; top: 6px; font-size: 2rem; color: var(--lavender); line-height: 1; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; font-size: .9rem; color: var(--ink); }
.text-link .icon { width: 18px; color: var(--mauve); transition: transform .25s; }
.text-link:hover .icon { transform: translateX(-5px); }

/* ---------- سه راه همراهی ---------- */
.path-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 50px; }
.path-card {
  position: relative; overflow: hidden; padding: 38px 32px 34px;
  border-radius: 24px; border: 1px solid var(--line); background: var(--white);
  transition: transform .3s, box-shadow .3s;
}
.path-card::after {
  content: ''; position: absolute; width: 180px; height: 180px; border-radius: 50%;
  left: -110px; bottom: -110px; background: radial-gradient(circle, var(--lavender-soft), transparent 70%);
}
.path-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.path-card:nth-child(2) { background: linear-gradient(160deg, var(--ink), #5B2A62); color: var(--white); border-color: transparent; }
.path-card:nth-child(2) h3 { color: var(--white); }
.path-card:nth-child(2) p { color: rgba(255,255,255,.75); }
.path-card:nth-child(3)::after { background: radial-gradient(circle, var(--gold-soft), transparent 70%); }
.path-icon {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px;
  background: var(--lavender-soft); color: var(--ink); margin-bottom: 22px;
  border: 1px solid var(--line); position: relative; z-index: 1;
}
.path-card:nth-child(2) .path-icon { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); color: var(--gold-soft); }
.path-card:nth-child(3) .path-icon { background: rgba(208,176,40,.14); color: #8A6A15; border-color: rgba(208,176,40,.25); }
.path-card h3 { font-size: 1.2rem; }
.path-card p { margin-top: 12px; font-size: .86rem; color: var(--muted); }
.path-card .text-link { margin-top: 22px; position: relative; z-index: 1; }
.path-card:nth-child(2) .text-link { color: var(--white); }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: 66px 0 20px; }
.page-hero .blob-a { width: 520px; height: 520px; top: -290px; left: -120px; }
.page-hero .blob-b { width: 300px; height: 300px; bottom: -180px; right: 4%; }
.page-hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.page-hero h1 { font-size: clamp(2.2rem, 3.8vw, 3.4rem); margin-top: 8px; }
.page-hero p { margin-top: 18px; max-width: 640px; color: #5B4761; font-size: 1rem; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .icon { width: 13px; height: 13px; }
.page-hero-art { position: relative; display: grid; place-items: center; min-height: 280px; }
.page-hero-art svg { width: min(100%, 330px); }
.page-hero-art .art-chip { top: 4%; left: 0; }

/* ---------- فلسفه وجودی (صفحه درباره) ---------- */
.philosophy-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.prose p { color: #57445D; font-size: .95rem; margin-bottom: 18px; line-height: 1.95; }

/* ---------- اهداف ---------- */
.goals-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.goal-card {
  position: relative; padding: 30px 26px 28px; min-height: 232px;
  border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.goal-card::before {
  content: ''; position: absolute; top: 0; right: 26px; width: 34px; height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--lavender));
}
.goal-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(144,88,144,.35); }
.goal-icon { width: 48px; height: 48px; flex: none; aspect-ratio: 1; display: grid; place-items: center; border-radius: 15px; background: var(--lavender-soft); color: var(--ink); border: 1px solid var(--line); }
.goal-card h3 { font-size: 1rem; margin-top: 18px; }
.goal-card p { margin-top: 9px; font-size: .83rem; line-height: 1.85; color: var(--muted); }

/* ---------- ارزشها با آیکون ---------- */
.values-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 22px; max-width: 980px; margin: 48px auto 0; }
.value-item {
  display: flex; align-items: center; gap: 16px; padding: 18px 22px;
  border-radius: 16px; border: 1px solid var(--line);
  background: linear-gradient(125deg, var(--white), var(--paper-2));
  font-size: .9rem; font-weight: 500; color: #523D58;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.value-item:hover { transform: translateX(-4px); box-shadow: var(--shadow); border-color: rgba(208,176,40,.4); }
.value-icon {
  width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px;
  background: var(--lavender-soft); color: var(--mauve);
  border: 1px solid rgba(144,88,144,.18);
  box-shadow: 0 5px 14px rgba(72,32,80,.06);
}

/* ---------- مأموریت و چشمانداز ---------- */
.mission-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; align-items: stretch; }
.mission-panel { border-radius: 26px; padding: 44px 42px; position: relative; overflow: hidden; }
.mission-panel::after {
  content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  left: -120px; bottom: -120px; border: 1px solid rgba(255,255,255,.12);
}
.mission-panel--dark { background: linear-gradient(150deg, var(--ink-deep), var(--ink)); color: var(--white); box-shadow: 0 26px 60px rgba(51,22,56,.22); }
.mission-panel--light { background: var(--white); border: 1px solid var(--line); }
.panel-index { font-size: .74rem; font-weight: 700; letter-spacing: .07em; color: #A07A24; }
.mission-panel--dark .panel-index { color: var(--gold-soft); }
.mission-panel h3 { font-size: 2rem; margin-top: 12px; }
.mission-panel--dark h3 { color: var(--white); }
.panel-lead { margin-top: 10px; font-size: .87rem; opacity: .75; }
.tick-list { display: grid; gap: 13px; margin-top: 28px; }
.tick-list li { position: relative; padding-right: 28px; font-size: .87rem; line-height: 1.8; }
.tick-list li::before {
  content: ''; position: absolute; right: 0; top: 7px; width: 17px; height: 17px; border-radius: 50%;
  background: var(--lavender-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23482050' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E") center/12px no-repeat;
}
.mission-panel--dark .tick-list li { color: rgba(255,255,255,.88); }
.mission-panel--dark .tick-list li::before { background-color: rgba(244,231,180,.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F4E7B4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4.5 4.5L19 7'/%3E%3C/svg%3E"); }

/* ---------- تماس ---------- */
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; margin-top: 30px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.contact-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--white);
  transition: transform .25s, box-shadow .25s;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.contact-card .value-icon { width: 46px; height: 46px; color: var(--mauve); }
.contact-card h3 { font-size: .98rem; }
.contact-card p, .contact-card a { display: block; margin-top: 5px; font-size: .86rem; color: var(--muted); word-break: break-all; }
.contact-card em { font-style: normal; font-size: .74rem; opacity: .75; }
.contact-card a:hover { color: var(--ink); text-decoration: underline; }
.contact-aside {
  margin-top: 18px; padding: 24px; border-radius: 18px;
  background: linear-gradient(140deg, var(--lavender-soft), var(--paper-2));
  border: 1px solid var(--line); font-size: .85rem; color: #5C4762;
}
.contact-aside strong { color: var(--ink); display: block; margin-bottom: 6px; }

/* ---------- فرمها ---------- */
.form-card {
  position: relative; z-index: 1; padding: 38px 40px;
  border-radius: 26px; background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(72,32,80,.07);
}
.form-card > h2 { font-size: 1.45rem; }
.form-card > p { margin-top: 8px; font-size: .88rem; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .82rem; font-weight: 600; color: var(--ink); }
.field label .req { color: #B44848; }
.field input, .field textarea, .field select {
  width: 100%; padding: 12px 15px; border-radius: 12px;
  border: 1px solid rgba(72,32,80,.18); background: var(--paper);
  color: var(--text); font-size: .88rem; line-height: 1.7;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--mauve); background: var(--white);
  box-shadow: 0 0 0 4px rgba(144,88,144,.12);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23482050' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: left 14px center; padding-left: 38px; }
.check-group { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.check-pill { position: relative; }
.check-pill input { position: absolute; opacity: 0; pointer-events: none; }
.check-pill span {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; cursor: pointer;
  border-radius: 999px; border: 1px solid rgba(72,32,80,.16); background: var(--paper);
  font-size: .8rem; color: #604B65; transition: .2s;
}
.check-pill span::before { content: '+'; font-weight: 700; color: var(--mauve); }
.check-pill input:checked + span { background: var(--lavender-soft); border-color: var(--mauve); color: var(--ink); }
.check-pill input:checked + span::before { content: '✓'; }
.check-pill input:focus-visible + span { box-shadow: 0 0 0 3px rgba(144,88,144,.2); }
.consent-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 4px; font-size: .82rem; color: var(--muted); }
.consent-row input { width: 17px; height: 17px; margin-top: 4px; accent-color: var(--ink); flex: none; }
.form-actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.form-hint { font-size: .76rem; color: var(--muted); max-width: 380px; }
.form-note {
  grid-column: 1 / -1; margin-top: 6px; padding: 14px 18px; border-radius: 12px;
  background: rgba(208,176,40,.12); border: 1px solid rgba(208,176,40,.3);
  color: #7A5D10; font-size: .83rem; display: none;
}
.form-note.show { display: block; }

/* ---------- حوزههای فعالیت ---------- */
.focus-grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 46px; }
.focus-card {
  position: relative; display: flex; gap: 16px; align-items: flex-start; justify-content: center;
  padding: 24px 24px 22px; border-radius: 18px; border: 1px solid var(--line);
  background: var(--white); text-align: center; transition: transform .25s, box-shadow .25s;
}
.focus-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.focus-card > div { min-width: 0; }
.focus-card .goal-icon { width: 44px; height: 44px; border-radius: 13px; flex: none; aspect-ratio: 1; }
.focus-card h3 { font-size: .98rem; margin-top: 2px; }
.focus-card p { margin-top: 7px; font-size: .82rem; color: var(--muted); line-height: 1.8; }

/* ---------- اخبار و رسانه ---------- */
.news-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; margin-top: 46px; }
.news-card {
  position: relative; overflow: hidden; padding: 34px 32px; border-radius: 22px;
  border: 1px solid var(--line); background: var(--white);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.news-card::after {
  content: ''; position: absolute; width: 190px; height: 190px; border-radius: 50%; left: -110px; bottom: -120px;
  background: radial-gradient(circle, var(--lavender-soft), transparent 70%);
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(144,88,144,.35); }
.news-card--feature {
  grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-start;
  background: linear-gradient(160deg, var(--ink), #5D2A64); color: var(--white); border-color: transparent;
}
.news-card--feature::after { background: radial-gradient(circle, rgba(208,176,40,.25), transparent 70%); width: 280px; height: 280px; left: -150px; bottom: -160px; }
.news-card--feature h3, .news-card--feature .news-tag { color: var(--white); }
.news-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .76rem; color: var(--muted); }
.news-tag { padding: 4px 12px; border-radius: 999px; background: var(--lavender-soft); color: var(--ink); font-weight: 700; font-size: .72rem; }
.news-card--feature .news-tag { background: rgba(244,231,180,.2); border: 1px solid rgba(244,231,180,.35); }
.news-card--soon .news-tag { background: rgba(208,176,40,.16); color: #81640F; }
.news-card h3 { font-size: 1.12rem; margin-top: 16px; }
.news-card--feature h3 { font-size: 1.55rem; margin-top: 20px; }
.news-card p { margin-top: 12px; font-size: .85rem; color: var(--muted); line-height: 1.85; position: relative; z-index: 1; }
.news-card--feature p { color: rgba(255,255,255,.76); font-size: .92rem; }
.news-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-size: .84rem; font-weight: 600; color: var(--ink); position: relative; z-index: 1; }
.news-link .icon { width: 17px; color: var(--mauve); transition: transform .25s; }
.news-link:hover .icon { transform: translateX(-4px); }
.news-card--feature .news-link { color: var(--gold-soft); margin-top: auto; padding-top: 24px; }

/* کارتهای رسانهای؛ تصویر مربوط به هر خبر در پسزمینه */
.news-card--media {
  background-color: var(--ink); background-position: center; background-size: cover;
  border-color: transparent; color: var(--white); isolation: isolate;
}
.news-card--media::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(38,16,44,.4) 0%, rgba(38,16,44,.72) 58%, rgba(38,16,44,.93) 100%);
}
.news-card--media::after { display: none; }
.news-card--media h3, .news-card--media .news-meta { color: var(--white); }
.news-card--media p { color: rgba(255,255,255,.85); }
.news-card--media .news-tag {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.32); color: var(--white);
}
.news-card--media .news-link { color: var(--gold-soft); }
.news-card--media .news-link .icon { color: var(--gold-soft); }
.news-card--media:hover { border-color: rgba(255,255,255,.32); }
.news-card--img-1 { background-image: url('../img/news/news-ceremony.jpg'); }
.news-card--img-2 { background-image: url('../img/news/news-launch.jpg'); }
.news-card--img-3 { background-image: url('../img/news/news-archive.jpg'); }
.news-archive .news-date-box { background: rgba(255,255,255,.13); border-color: rgba(255,255,255,.26); }
.news-archive .news-date-box strong, .news-archive .news-date-box span { color: var(--white); }
.news-archive p a { color: var(--gold-soft); }

.news-more { display: flex; justify-content: center; margin-top: 34px; position: relative; z-index: 1; }
.news-archive { position: relative; z-index: 1; display: grid; gap: 18px; margin-top: 40px; }
.news-archive .news-card { display: grid; grid-template-columns: 160px 1fr; gap: 24px; align-items: start; }
.news-archive .news-card h3 { margin-top: 10px; }
.news-date-box { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 14px 16px; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--line); }
.news-date-box strong { font-size: 1.15rem; color: var(--ink); }
.news-date-box span { font-size: .74rem; color: var(--muted); }
.news-date-box .news-tag { margin-top: 6px; }
.news-archive .news-meta { margin-top: 10px; }
.news-archive p a { color: var(--ink); text-decoration: underline; }
.news-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- CTA ---------- */
.cta { position: relative; overflow: hidden; padding: 82px 0; background: linear-gradient(135deg, var(--ink-deep), var(--mauve)); color: var(--white); }
.cta::before {
  content: ''; position: absolute; width: 460px; height: 460px; border: 1px solid rgba(255,255,255,.08);
  border-radius: 50%; left: -150px; top: -190px; box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.015);
}
.cta::after { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; bottom: -140px; background: radial-gradient(circle, rgba(208,176,40,.3), transparent 70%); }
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta h2 { color: var(--white); font-size: clamp(1.7rem, 2.6vw, 2.35rem); max-width: 650px; }
.cta p { margin-top: 12px; font-size: .92rem; color: rgba(255,255,255,.75); max-width: 620px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; flex: none; }

/* ---------- فوتر ---------- */
.site-footer { background: #2B1630; color: rgba(255,255,255,.72); padding: 58px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-logo { font-size: 1.2rem; font-weight: 500; color: var(--white); }
.footer-logo strong { font-weight: 800; }
.footer-brand p { margin-top: 10px; font-size: .82rem; max-width: 360px; }
.footer-links, .footer-contact, .footer-note { display: flex; flex-direction: column; gap: 8px; font-size: .82rem; }
.footer-title { color: var(--gold-soft); font-weight: 700; margin-bottom: 4px; }
.footer-nav { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-contact a { word-break: break-all; }
.footer-site em { font-style: normal; font-size: .72rem; opacity: .6; }
.footer-note { justify-content: flex-end; font-size: .74rem; opacity: .65; }

/* ---------- انیمیشن ظهور ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- واکنشگرایی ---------- */
@media (max-width: 1050px) {
  .nav { gap: 16px; }
  .nav a { font-size: .8rem; }
  .goals-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-grid { gap: 36px; }
}
@media (max-width: 860px) {
  .header-inner { height: 70px; }
  .header-cta { display: none; }
  .menu-toggle { display: block; margin-right: auto; }
  .nav {
    position: absolute; top: 70px; right: 0; left: 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 10px 24px 18px; background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .25s;
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .hero { padding-top: 48px; }
  .hero-inner, .intro-grid, .page-hero-inner, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 420px; }
  .portrait-stage { max-width: 410px; }
  .intro-visual { min-height: 320px; }
  .page-hero-art { min-height: 220px; }
  .orbit-card { width: 148px; height: 34px; font-size: .64rem; padding: 0 9px; }
  .section { padding: 76px 0; }
  .mission-grid { grid-template-columns: 1fr; }
  .mission-panel { padding: 34px 28px; }
  .path-grid, .focus-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card--feature { grid-row: auto; }
  .news-archive .news-card { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; align-items: flex-start; }
}
@media (max-width: 560px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .brand-tag { display: none; }
  .hero h1 { font-size: 2.35rem; }
  .hero-legacy { margin-top: 20px; }
  .portrait-stage { max-width: 330px; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .orbit-card { width: 132px; height: 30px; font-size: .58rem; padding: 0 8px; border-radius: 9px; }
  .goals-grid, .values-grid, .focus-grid { grid-template-columns: 1fr; }
  .news-card { padding: 26px 22px; }
  .goal-card { min-height: auto; }
  .form-card { padding: 28px 20px; border-radius: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .art-chip { font-size: .66rem; padding: 6px 10px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-note { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
