/* فونت وزیرمتن — داخل خود سایت (بدون نیاز به Google Fonts) */
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* تم طلایی و مشکی */
:root {
  --primary: #d4af37;        /* طلایی اصلی */
  --primary-light: #f3d98b;  /* طلایی روشن */
  --primary-dark: #a8832a;   /* طلایی تیره */
  --navy: #050505;
  --heading: #fdf4da;
  --teal: #f0cf73;           /* طلایی دوم برای گرادیان‌ها */
  --green: #17803f;
  --accent: #d4af37;
  --text: #e4ddcb;
  --ink: #faf4e4;
  --muted: #d6d1c8;
  --bg: #2b2926;
  --bg-alt: #33312d;
  --surface: #383735;        /* زمینه کارت‌ها */
  --inner: #444341;
  --on-accent: #141008;      /* متن روی طلایی */
  --soft: rgba(212, 175, 55, .16);
  --border: #5d5b56;
  --radius: 14px;
  --shadow: 0 16px 36px -16px rgba(0, 0, 0, .55), 0 0 0 1px rgba(212, 175, 55, .1);
  --grad: linear-gradient(135deg, var(--primary-light), var(--primary) 50%, var(--primary-dark));
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: "Vazirmatn", Tahoma, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.9;
}
h1, h2, h3, h4 { color: var(--ink); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(760px, 100% - 32px); }

/* دکمه‌ها */
.btn {
  display: inline-block;
  background: var(--grad);
  color: #fff;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  transition: filter .2s, transform .2s, box-shadow .2s;
  text-align: center;
}
.btn:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: var(--surface); color: var(--primary); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--primary); filter: none; }
.btn--green { background: var(--green); border-color: var(--green); }
.btn--small { padding: .45rem 1rem; font-size: .9rem; color: #fff !important; }
.btn--block { width: 100%; }

/* نوار بالا */
.topbar { background: var(--surface); color: var(--muted); font-size: .85rem; border-bottom: 1px solid var(--border); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 1rem; }
.topbar a { color: var(--primary); font-weight: 700; direction: ltr; }

/* سربرگ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: .6rem; }
.logo__mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad); color: #fff; font-size: 1.3rem;
}
.logo__img { flex: none; }
.logo__img img { display: block; width: 48px; height: 48px; }
.logo__text { display: grid; line-height: 1.3; }
.logo__en { font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; color: var(--ink); letter-spacing: .5px; }
.logo__sub { font-size: .78rem; font-weight: 700; color: var(--primary); }

.nav { display: flex; align-items: center; gap: .4rem; font-weight: 800; color: var(--ink); }
.nav a:not(.btn) { padding: .4rem .8rem; border-radius: 10px; transition: background .2s, color .2s; }
.nav a:not(.btn):hover { background: var(--bg-alt); color: var(--primary); }

.menu-toggle {
  display: none; cursor: pointer; padding: 8px 12px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--primary-dark); margin: 5px 0; }

/* معرفی */
.hero {
  background: var(--surface);
  padding: 5rem 0;
}
.hero__inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--surface); color: var(--ink); border: 1px solid var(--border);
  padding: .35rem 1rem; border-radius: 999px; font-size: .9rem; font-weight: 700;
  box-shadow: 0 4px 14px -8px rgba(21, 85, 129, .4);
}
.badge::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px #dcfce7; }
.hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.5; margin: 1.2rem 0 1rem; font-weight: 900; color: var(--heading); }
.highlight {
  background: linear-gradient(90deg, var(--primary) 10%, var(--teal) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 560px; }
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }

.hero__card {
  background: var(--surface); border-radius: 18px; padding: 1.75rem;
  box-shadow: var(--shadow); border: 1px solid var(--border);
}
.hero__card h3 { margin-bottom: 1rem; }
.todo { list-style: none; display: grid; gap: .6rem; margin-bottom: 1.2rem; }
.todo li {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: .6rem .9rem; border-radius: 10px; background: var(--bg-alt); font-size: .95rem;
}
.todo li b { color: var(--muted); font-weight: 500; white-space: nowrap; }
.todo li.done span { text-decoration: line-through; color: var(--muted); }
.todo li.done span::before { content: "✓ "; color: #16a34a; }
.progress { height: 8px; background: var(--bg-alt); border-radius: 99px; overflow: hidden; margin-bottom: .4rem; }
.progress__bar { height: 100%; background: linear-gradient(90deg, var(--primary), var(--teal)); border-radius: 99px; }
.hero__card small { color: var(--muted); }

/* بخش‌ها */
.section { padding: 5rem 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--border); }
.section__head { text-align: center; margin-bottom: 3rem; }
.section__head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
.section__head p { color: var(--muted); }

.grid { display: grid; gap: 1.5rem; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--soft); }
.card__icon {
  font-size: 1.8rem; width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--bg-alt); border: 1px solid var(--border); border-radius: 14px; margin-bottom: 1rem;
}
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); font-size: .95rem; }

.team { text-align: center; }
.team__avatar {
  width: 80px; height: 80px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; font-size: 2.2rem;
  background: linear-gradient(135deg, var(--soft), #d5f0ec);
}

/* بنیان‌گذار */
.founder { max-width: 850px; }
.founder__photo {
  aspect-ratio: 1; border-radius: 24px; overflow: hidden;
  background: var(--grad); display: grid; place-items: center;
  color: #fff; font-size: 4rem; font-weight: 900; box-shadow: var(--shadow);
  outline: 8px solid #fff;
}
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
/* در قاب‌های گرد کوچک، روی صورت زوم شود */
.counselor__avatar { position: relative; }
.clip .clip__photo img, .counselors .counselor__avatar img {
  position: absolute; inset: auto; top: 0; left: -32%;
  width: 170%; height: 170%; max-width: none; object-fit: cover;
}
.founder__text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; margin: 1rem 0 .3rem; color: var(--heading); }
.founder__name { color: var(--primary); font-size: 1.15rem; margin-bottom: .8rem; }
.founder__text p { color: var(--muted); }

/* ویدیوی معرفی */
.video {
  margin-top: 3rem; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--primary-dark) 60%, var(--teal));
  box-shadow: var(--shadow); position: relative;
}
.video video, .video iframe { width: 100%; height: 100%; border: 0; display: block; }
.video__soon {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  text-align: center; color: #fff; padding: 1rem; gap: .3rem;
}
.video__play {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .15); border: 2px solid rgba(255, 255, 255, .5);
  font-size: 1.6rem; padding-inline-start: 4px; margin-bottom: .6rem;
  animation: pulse 2s ease-in-out infinite;
}
.video__soon h3 { color: #fff; font-size: 1.2rem; }
.video__soon p { color: #d6e8f5; font-size: .9rem; }
/* کلیپ متحرک */
.clip { position: absolute; inset: 0; color: #fff; overflow: hidden; }
.clip::before {
  content: ""; position: absolute; inset: -20%;
  background: radial-gradient(circle at 30% 30%, rgba(111, 217, 204, .25), transparent 40%),
              radial-gradient(circle at 75% 70%, rgba(111, 192, 240, .25), transparent 45%);
  animation: clipBg 14s linear infinite;
}
@keyframes clipBg { to { transform: rotate(360deg); } }
.clip__scene {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center;
  text-align: center; padding: 1.5rem; gap: .35rem;
  opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s;
}
.clip__scene.is-active { opacity: 1; visibility: visible; }
.clip__scene > * { opacity: 0; transform: translateY(18px); }
.clip__scene.is-active > * { animation: clipIn .7s cubic-bezier(.2, .8, .2, 1) forwards; }
.clip__scene.is-active > *:nth-child(2) { animation-delay: .25s; }
.clip__scene.is-active > *:nth-child(3) { animation-delay: .5s; }
.clip__scene.is-active > *:nth-child(4) { animation-delay: .8s; }
@keyframes clipIn { to { opacity: 1; transform: none; } }
.clip__photo {
  width: clamp(90px, 18vw, 150px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; position: relative;
  display: grid; place-items: center; margin-bottom: .6rem;
  background: rgba(255, 255, 255, .15); border: 4px solid rgba(255, 255, 255, .6);
  font-size: 2rem; font-weight: 900; box-shadow: 0 0 0 10px rgba(255, 255, 255, .08);
}
.clip__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip__scene.is-active .clip__photo img { animation: kenburns 4.5s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.15); } to { transform: scale(1); } }
.clip__photo--small { width: clamp(70px, 12vw, 100px); }
.clip__year {
  font-size: clamp(2.6rem, 8vw, 5rem); font-weight: 900; line-height: 1.1;
  background: linear-gradient(90deg, #fff, #6fd9cc); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.clip__title { color: #fff; font-size: clamp(1.15rem, 3.2vw, 2rem); font-weight: 900; line-height: 1.5; }
.clip__title--big { font-size: clamp(1.3rem, 4vw, 2.4rem); }
.clip__hl { color: #6fd9cc; }
.clip__sub { color: #d6e8f5; font-size: clamp(.85rem, 2vw, 1.1rem); }
.clip__cta { margin-top: .8rem; background: var(--surface); color: var(--primary); }
.clip__bar { position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .15); z-index: 2; }
.clip__bar span { display: block; height: 100%; width: 0; background: #6fd9cc; }
.clip__start {
  position: absolute; inset: 0; z-index: 3; border: 0; cursor: pointer; font-family: inherit; color: #fff;
  display: grid; place-content: center; justify-items: center; gap: .3rem; text-align: center;
  background: linear-gradient(135deg, rgba(15, 63, 97, .55), rgba(15, 143, 131, .35));
  transition: opacity .4s;
}
.clip__start b { font-size: 1.2rem; }
.clip__start small { color: #d6e8f5; font-size: .9rem; }
.clip.is-playing .clip__start { opacity: 0; pointer-events: none; }
.clip__sound {
  position: absolute; top: .8rem; inset-inline-end: .8rem; z-index: 4;
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.05rem;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, .45); border: 1px solid rgba(212, 175, 55, .5); color: #fff;
  opacity: 0; pointer-events: none; transition: opacity .3s, background .2s;
}
.clip.is-playing .clip__sound { opacity: 1; pointer-events: auto; }
.clip__sound:hover { background: rgba(212, 175, 55, .25); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .35); }
  50% { box-shadow: 0 0 0 14px rgba(255, 255, 255, 0); }
}
.timeline { list-style: none; margin-top: 1.5rem; display: grid; gap: .7rem; }
.timeline li {
  display: flex; align-items: center; gap: 1rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: .7rem 1rem;
}
.timeline b {
  flex: none; min-width: 64px; text-align: center; padding: .15rem .6rem;
  border-radius: 999px; background: var(--grad); color: #fff; font-size: .9rem;
}
.timeline span { color: var(--ink); font-weight: 500; }
.timeline a { color: var(--primary); }

/* تست سنجش وضعیت */
.quiz {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 2rem; box-shadow: var(--shadow);
}
.quiz__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.quiz__count { font-weight: 800; color: var(--primary); font-size: .95rem; }
.quiz__back {
  background: none; border: 0; cursor: pointer; font-family: inherit; font-size: .9rem;
  color: var(--muted); font-weight: 700;
}
.quiz__back:hover { color: var(--primary); }
.quiz .progress__bar { transition: width .35s ease; }
.quiz__q { font-size: 1.3rem; margin-top: 1.4rem; }
.quiz__hint { color: var(--muted); font-size: .9rem; margin-bottom: 1.2rem; }
.quiz__options { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; animation: fadeIn .35s ease both; }
.quiz__opt {
  font-family: inherit; text-align: right; cursor: pointer;
  display: grid; gap: .1rem; padding: 1rem 1.1rem;
  background: var(--bg-alt); border: 1.5px solid var(--border); border-radius: var(--radius);
  transition: border-color .2s, background .2s, transform .2s;
}
.quiz__opt b { color: var(--ink); font-size: 1rem; }
.quiz__opt small { color: var(--muted); font-size: .85rem; }
.quiz__opt:hover { border-color: var(--primary); background: var(--surface); transform: translateY(-2px); }
.quiz__opt.is-picked { border-color: var(--primary); background: var(--surface); box-shadow: 0 0 0 3px var(--soft); }

.quiz__result { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.4rem; animation: fadeIn .35s ease both; }
.quiz__score {
  --p: 0; flex: none; width: 96px; height: 96px; border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(var(--teal) calc(var(--p) * 1%), var(--soft) 0);
}
.quiz__score span {
  width: 76px; height: 76px; border-radius: 50%; background: var(--surface);
  display: grid; place-items: center; font-weight: 900; font-size: 1.3rem; color: var(--heading);
}
.quiz__result small { color: var(--muted); }
.quiz__result h3 { font-size: 1.25rem; color: var(--heading); }
.quiz__tip { margin-top: 1.2rem; color: var(--text); }
.quiz__plan {
  margin-top: 1rem; padding: .8rem 1rem; border-radius: var(--radius);
  background: var(--bg-alt); border: 1px dashed var(--primary); color: var(--ink);
}
.quiz__plan b { color: var(--primary); }
.quiz__note { margin-top: .8rem; font-size: .85rem; color: var(--muted); }
.quiz__actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.2rem; }

/* مشاوران */
.counselors { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 1.5rem; }
.counselor {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.6rem 1.4rem;
  text-align: center; display: flex; flex-direction: column; align-items: center;
  animation: fadeIn .35s ease both; transition: transform .25s, box-shadow .25s;
}
.counselor:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.counselor__avatar {
  width: 92px; height: 92px; border-radius: 50%; overflow: hidden; margin-bottom: .9rem;
  display: grid; place-items: center; background: var(--grad); color: #fff;
  font-size: 1.6rem; font-weight: 900; outline: 5px solid var(--soft);
}
.counselor__avatar img { width: 100%; height: 100%; object-fit: cover; }
.counselor h3 { font-size: 1.1rem; }
.counselor__role { color: var(--primary); font-size: .88rem; font-weight: 700; }
.counselor__chips { display: flex; gap: .4rem; justify-content: center; margin: .7rem 0; }
.counselor__chips span {
  font-size: .8rem; font-weight: 800; color: var(--teal); background: #e3f5f2;
  padding: .05rem .7rem; border-radius: 999px;
}
.counselor__results { list-style: none; display: grid; gap: .35rem; margin-bottom: 1.1rem; flex: 1; width: 100%; }
.counselor__results li {
  font-size: .88rem; color: var(--ink); background: var(--bg-alt);
  border-radius: 10px; padding: .45rem .7rem;
}
.counselor--empty { border: 2px dashed var(--border); background: transparent; justify-content: center; }
.counselor--empty:hover { transform: none; box-shadow: none; }
.counselor--empty .counselor__avatar { background: var(--bg-alt); color: var(--muted); outline-color: var(--border); }
.counselor--empty h3 { color: var(--muted); }
.counselor--empty p { color: var(--muted); font-size: .9rem; }

/* جدول مقایسه */
.compare-wrap {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  box-shadow: var(--shadow); overflow: hidden;
}
.compare { width: 100%; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: .9rem 1rem; text-align: right; border-bottom: 1px solid var(--border); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { background: var(--bg-alt); color: var(--ink); font-weight: 800; }
.compare thead th.compare__titi { background: var(--grad); color: #fff; }
.compare td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.compare td { color: var(--muted); }
.compare td.compare__titi { background: #f3f9fd; color: var(--ink); font-weight: 500; }
.compare i {
  font-style: normal; display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%; font-size: .75rem; font-weight: 900;
  margin-inline-end: .5rem; vertical-align: middle;
}
.compare i.yes { background: #dcfce7; color: #16a34a; }
.compare i.no { background: #fee2e2; color: #dc2626; }

/* والدین */
.parents { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.parents__text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; margin: 1rem 0; color: var(--heading); }
.parents__text p { color: var(--muted); margin-bottom: 1rem; }
.parents__text .btn { margin-top: .5rem; }
.parents__list { display: grid; gap: 1rem; }
.parents__item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.2rem;
  transition: transform .25s, box-shadow .25s;
}
.parents__item:hover { transform: translateX(-4px); box-shadow: var(--shadow); }
.parents__item > span {
  flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.4rem; background: var(--bg-alt); border: 1px solid var(--border);
}
.parents__item h3 { font-size: 1.05rem; }
.parents__item p { color: var(--muted); font-size: .92rem; }

/* نقشه سال کنکور */
.roadmap { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: phase; }
.roadmap > li {
  counter-increment: phase; position: relative;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.6rem 1.4rem 1.3rem;
  transition: transform .25s, box-shadow .25s;
}
.roadmap > li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.roadmap > li::before {
  content: counter(phase, persian); position: absolute; top: -16px; inset-inline-start: 1.2rem;
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-weight: 900; box-shadow: 0 0 0 5px var(--bg-alt);
}
.roadmap__when {
  display: inline-block; font-size: .82rem; font-weight: 800; color: var(--teal);
  background: #e3f5f2; padding: .1rem .7rem; border-radius: 999px; margin-bottom: .5rem;
}
.roadmap h3 { font-size: 1.08rem; margin-bottom: .5rem; }
.roadmap ul { list-style: none; display: grid; gap: .25rem; }
.roadmap ul li { color: var(--muted); font-size: .92rem; padding-inline-start: 1.1rem; position: relative; }
.roadmap ul li::before { content: ""; position: absolute; inset-inline-start: 0; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }
.roadmap > li.is-now { border: 2px solid var(--primary); box-shadow: var(--shadow); }
.roadmap > li.is-now::after {
  content: "الان اینجایی"; position: absolute; top: -12px; inset-inline-end: 1.2rem;
  background: var(--accent); color: #fff; font-size: .78rem; font-weight: 800;
  padding: .1rem .7rem; border-radius: 999px;
}

/* تب‌ها و دروس */
.tabs { display: flex; justify-content: center; gap: .5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tab {
  font-family: inherit; font-size: 1rem; font-weight: 800;
  padding: .55rem 1.6rem; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface); color: var(--ink); transition: .2s;
}
.tab:hover { border-color: var(--primary); color: var(--primary); }
.tab.is-active { background: var(--grad); border-color: transparent; color: #fff; }
.subjects { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.subject {
  background: var(--surface); border-radius: var(--radius); padding: 1.2rem; border: 1px solid var(--border);
  display: flex; align-items: center; gap: .8rem; animation: fadeIn .35s ease both;
}
.subject__icon { font-size: 1.5rem; }
.subject h4 { font-size: 1rem; }
.subject small { color: var(--muted); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* مراحل */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.steps li { text-align: center; padding: 1rem; }
.steps b {
  display: grid; place-items: center; width: 56px; height: 56px; margin: 0 auto 1rem;
  border-radius: 50%; background: var(--grad); color: #fff; font-size: 1.3rem;
  box-shadow: 0 0 0 8px var(--soft);
}
.steps p { color: var(--muted); font-size: .95rem; }

/* پلن‌ها */
.plan {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 2rem; display: flex; flex-direction: column; position: relative;
}
.plan--featured { border: 1px solid #77736a; box-shadow: var(--shadow); transform: scale(1.03); }
.plan__tag {
  position: absolute; top: -14px; inset-inline-start: 50%; transform: translateX(50%);
  background: var(--accent); color: #fff; padding: .15rem .9rem; border-radius: 99px; font-size: .85rem; font-weight: 700;
}
.plan__price { font-size: 1.6rem; font-weight: 900; color: var(--primary); margin: .5rem 0 1rem; }
.plan__price small { font-size: .85rem; color: var(--muted); font-weight: 400; }
.plan__price--ask { font-size: 1.25rem; display: grid; line-height: 1.6; }
.plan ul { list-style: none; display: grid; gap: .5rem; margin-bottom: 1.5rem; flex: 1; }
.plan li::before { content: "✓"; color: var(--teal); margin-inline-end: .5rem; font-weight: 700; }

/* سؤالات */
.faq { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: .8rem; background: var(--surface); }
.faq summary {
  padding: 1rem 1.2rem; cursor: pointer; font-weight: 800; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--primary); transition: transform .2s; }
.faq[open] { border-color: var(--soft); box-shadow: var(--shadow); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 1.2rem 1rem; color: var(--muted); }

/* تماس */
.section--cta { background: var(--surface); color: var(--text); border-top: 1px solid var(--border); }
.section--cta h2 { color: var(--heading); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact__text h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 900; margin-bottom: .5rem; }
.contact__text p { color: var(--muted); }
.contact__info { list-style: none; margin-top: 1.5rem; display: grid; gap: .6rem; }
.form {
  background: var(--surface); color: var(--text); padding: 2rem; border-radius: 18px;
  display: grid; gap: 1rem; border: 1px solid var(--border); box-shadow: var(--shadow);
}
.form label { display: grid; gap: .3rem; font-weight: 700; font-size: .95rem; color: var(--ink); }
.form input, .form select, .form textarea {
  font-family: inherit; font-size: 1rem; padding: .7rem .9rem;
  border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--ink);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--soft); }
.form .invalid { border-color: #dc2626; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__status { min-height: 1.5em; font-weight: 700; text-align: center; }
.form__status.ok { color: #16a34a; }
.form__status.err { color: #dc2626; }
.tg-box { display: grid; gap: .7rem; text-align: right; animation: fadeIn .35s ease both; }
.tg-box__msg { color: var(--green); }
.tg-box textarea {
  font-family: inherit; font-size: .9rem; font-weight: 400; color: var(--ink);
  background: var(--bg-alt); border: 1px dashed var(--primary); border-radius: 12px;
  padding: .7rem .9rem; resize: none; width: 100%;
}
.tg-box__actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.tg-box__actions .btn { padding: .6rem .5rem; font-size: .9rem; }

/* پانویس */
.footer { background: var(--surface); color: var(--muted); border-top: 1px solid var(--border); padding: 1.5rem 0; font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; }
.footer a:hover { color: var(--primary); }

/* لینک تماس با پشتیبان */
.support-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; direction: rtl; }
.support-icon {
  width: 26px; height: 26px; padding: 5px; border-radius: 50%; flex: none;
  fill: currentColor; background: rgba(30, 115, 168, .12);
}
.topbar .support-link {
  background: var(--bg-alt); border: 1px solid var(--border);
  padding: .1rem .3rem .1rem .8rem; border-radius: 999px; line-height: 1.6; direction: rtl;
}
.topbar .support-icon { width: 22px; height: 22px; padding: 4px; background: var(--grad); fill: #fff; }
.topbar .support-link:hover { border-color: var(--primary); }

/* نوار پایین موبایل */
.mobile-bar { display: none; }

/* ===================== جلوه‌های تم ===================== */

/* سربرگ هنگام اسکرول */
.header { transition: box-shadow .3s, background .3s; }
.header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(14, 42, 66, .45); background: rgba(255, 255, 255, .97); }
.nav a:not(.btn) { position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; inset-inline: .8rem; bottom: .2rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  transform: scaleX(0); transition: transform .25s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }

/* دکمه‌ها: درخشش */
.btn { position: relative; overflow: hidden; box-shadow: 0 8px 20px -10px rgba(21, 85, 129, .7); }
.btn--ghost { box-shadow: none; }
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.btn:hover::after { left: 120%; }

/* هیرو */
.hero { position: relative; overflow: hidden; padding: 5.5rem 0 6rem; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(30, 115, 168, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(ellipse at 70% 40%, #000 0, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0, transparent 70%);
}
.hero::after {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  inset-inline-start: -120px; bottom: -200px; pointer-events: none;
  background: radial-gradient(circle, rgba(15, 143, 131, .18), transparent 65%);
}
.hero__inner { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.3rem); letter-spacing: -.5px; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2rem; }
.hero__trust li { display: flex; align-items: center; gap: .45rem; font-size: .92rem; font-weight: 700; color: var(--ink); }
.hero__trust b {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem;
  background: var(--surface); border: 1px solid var(--border); box-shadow: 0 4px 12px -6px rgba(21, 85, 129, .4);
}
.hero__visual { position: relative; padding: 1.5rem 0; }
.hero__visual::before {
  content: ""; position: absolute; inset: 8% 6%; border-radius: 32px; z-index: -1;
  background: linear-gradient(135deg, var(--primary-light), var(--teal));
  transform: rotate(-5deg); opacity: .14;
}
.hero__card { position: relative; backdrop-filter: blur(6px); animation: floatY 6s ease-in-out infinite; }
.hero__chip {
  position: absolute; z-index: 2; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: .45rem 1rem; font-size: .85rem; font-weight: 800; color: var(--ink);
  box-shadow: 0 14px 30px -14px rgba(14, 42, 66, .45);
  animation: floatY 5s ease-in-out infinite;
}
.hero__chip--a { top: -4px; inset-inline-end: -10px; }
.hero__chip--b { bottom: -4px; inset-inline-start: -14px; animation-delay: -2.5s; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* سرتیتر بخش‌ها */
.section__head h2 { position: relative; display: inline-block; padding-bottom: .6rem; color: var(--heading); }
.section__head h2::after {
  content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 56px; height: 4px; border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
}
.section__head p { margin-top: .6rem; font-size: 1.05rem; }
.section--alt { position: relative; }
.section--alt::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(30, 115, 168, .08) 1px, transparent 1px);
  background-size: 24px 24px;
}
.section--alt > .container { position: relative; }

/* کارت خدمات */
.card { position: relative; overflow: hidden; }
.card::before {
  content: ""; position: absolute; inset-inline: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--teal));
  transform: scaleX(0); transform-origin: right; transition: transform .35s;
}
.card:hover::before { transform: scaleX(1); }
.card__icon { background: linear-gradient(135deg, var(--soft), #d5f0ec); border: 0; transition: transform .3s; }
.card:hover .card__icon { transform: rotate(-6deg) scale(1.08); }

/* پلن ویژه */
.plan { transition: transform .25s, box-shadow .25s; }
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan--featured { background: linear-gradient(180deg, #f3f9fd, #fff 40%); }
.plan--featured:hover { transform: scale(1.03) translateY(-6px); }
.plan h3 { font-size: 1.25rem; }

/* تماس: دایره‌های تزئینی */
.section--cta { position: relative; overflow: hidden; }
.section--cta::before, .section--cta::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  border: 2px solid rgba(30, 115, 168, .08);
}
.section--cta::before { width: 520px; height: 520px; top: -260px; inset-inline-end: -160px; }
.section--cta::after { width: 340px; height: 340px; bottom: -200px; inset-inline-start: -100px; background: rgba(15, 143, 131, .04); }
.section--cta .container { position: relative; z-index: 1; }
.contact__info li {
  display: flex; align-items: center; gap: .6rem; width: fit-content; color: var(--ink); font-weight: 500;
  background: var(--bg-alt); border: 1px solid var(--border);
  padding: .45rem 1rem; border-radius: 12px;
}

/* پانویس */
.footer { padding: 0; }
.footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem;
  padding: 3.5rem 0 2.5rem; border-bottom: 1px solid var(--border);
}
.footer__inner { padding: 1.3rem 0; }
.footer h4 { color: var(--heading); font-size: 1rem; margin-bottom: .9rem; }
.footer ul { list-style: none; display: grid; gap: .5rem; }
.footer__brand p { margin-top: 1rem; max-width: 340px; line-height: 2; }

/* ظاهر شدن هنگام اسکرول */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__card, .hero__chip, .video__play { animation: none; }
}

@media (max-width: 960px) {
  .hero__visual { max-width: 460px; margin-inline: auto; width: 100%; }
}
@media (max-width: 760px) {
  .hero { padding: 3rem 0 3.5rem; }
  .hero__chip { font-size: .78rem; padding: .35rem .8rem; }
  .hero__chip--a { inset-inline-end: 0; }
  .hero__chip--b { inset-inline-start: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.8rem; padding: 2.5rem 0 1.8rem; }
  .section--cta::before { width: 300px; height: 300px; top: -150px; }
}

/* واکنش‌گرا */
@media (max-width: 960px) {
  .grid--4, .steps, .roadmap { grid-template-columns: repeat(2, 1fr); }
  .roadmap { row-gap: 2rem; }
  .grid--3 { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .plan--featured { transform: none; }
  .hero__inner, .contact, .founder, .parents { grid-template-columns: minmax(0, 1fr); }
  .founder__photo { width: 200px; margin-inline: auto; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; inset-inline: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    max-height: 0; overflow: hidden; transition: max-height .3s;
  }
  .nav a:not(.btn) { padding: .9rem 16px; border-top: 1px solid var(--border); border-radius: 0; }
  .nav .btn--small { margin: .8rem 16px; }
  .nav.is-open { max-height: 80vh; overflow-y: auto; }
}
@media (max-width: 760px) {
  body { padding-bottom: 80px; }
  .topbar__inner span { display: none; }
  .topbar__inner { justify-content: center; }
  .hero { padding: 3rem 0; }
  .section { padding: 3.5rem 0; }
  .grid--4, .steps, .roadmap { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .form { padding: 1.5rem; }
  .quiz { padding: 1.3rem; }
  .video { margin-top: 2rem; }
  .video:has(.video__soon), .video:has(.clip) { aspect-ratio: auto; min-height: 300px; }
  .form input, .form select, .form textarea { min-width: 0; width: 100%; }
  .compare { font-size: .85rem; }
  .compare th, .compare td { padding: .7rem .6rem; }
  .compare td:first-child { white-space: normal; }
  .compare i { display: none; }
  .quiz__options { grid-template-columns: 1fr; }
  .quiz__actions .btn { width: 100%; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
    position: fixed; bottom: 0; inset-inline: 0; z-index: 60; padding: .6rem 12px;
    background: rgba(255, 255, 255, .98); box-shadow: 0 -8px 24px -12px rgba(21, 85, 129, .3);
  }
  .mobile-bar .btn { padding: .7rem .5rem; }
}

/* ===================== صفحه داستان قبولی‌ها ===================== */
.nav a.is-current { color: var(--primary); }
.page-hero {
  padding: 4.5rem 0 3rem; text-align: center; position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, .18), transparent 60%), var(--bg);
}
.page-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 900; color: var(--heading); margin: 1rem 0 .6rem; }
.page-hero p { color: var(--muted); max-width: 620px; margin-inline: auto; font-size: 1.05rem; }

.stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 1.5rem; }
.stories__empty { text-align: center; color: var(--muted); padding: 2rem 0; }
.story-card {
  display: flex; flex-direction: column; gap: .7rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 1.5rem;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.story-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(212, 175, 55, .45); }
.story-card__head { display: flex; align-items: center; gap: .9rem; }
.story-card__head h3 { font-size: 1.05rem; }
.story-card__result { color: var(--primary); font-size: .88rem; font-weight: 700; }
.story-card__avatar {
  flex: none; position: relative; overflow: hidden;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: var(--on-accent); font-weight: 900; outline: 3px solid rgba(212, 175, 55, .3);
}
.story-card__avatar img { position: absolute; max-width: none; object-fit: cover; }
.story-card__avatar--lg { width: 72px; height: 72px; font-size: 1.3rem; }
.story-card__avatar--icon { font-size: 1.6rem; background: linear-gradient(135deg, rgba(212, 175, 55, .3), rgba(212, 175, 55, .08)); }
.story-card__avatar--lg.story-card__avatar--icon { font-size: 2rem; }
.article__body b { color: var(--primary-light); }
.story-card__title { font-size: 1.12rem; color: var(--heading); line-height: 1.7; }
.story-card p { color: var(--muted); font-size: .93rem; flex: 1; }
.story-card__foot { display: flex; justify-content: space-between; align-items: center; gap: .6rem; flex-wrap: wrap; }
.story-card__chips { display: flex; gap: .35rem; flex-wrap: wrap; }
.story-card__chips span {
  font-size: .78rem; font-weight: 700; color: var(--primary-light); background: rgba(212, 175, 55, .12);
  padding: .05rem .65rem; border-radius: 999px;
}
.story-card__more { color: var(--primary); font-weight: 800; font-size: .9rem; }

.article__hero {
  padding: 3.5rem 0 2.5rem; border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 80% 0%, rgba(212, 175, 55, .16), transparent 55%), var(--bg);
}
.article__back { color: var(--primary); font-weight: 700; font-size: .92rem; }
.article__hero h1 { font-size: clamp(1.6rem, 4vw, 2.5rem); font-weight: 900; color: var(--heading); line-height: 1.6; margin: 1rem 0 1.4rem; }
.article__author { display: flex; align-items: center; gap: 1rem; }
.article__author b { display: block; color: var(--ink); font-size: 1.05rem; }
.article__author span { color: var(--muted); font-size: .9rem; }
.article__author .story-card__chips { margin-top: .3rem; }
.article__body { padding-block: 2.5rem 3rem; font-size: 1.08rem; line-height: 2.2; }
.article__body p { margin-bottom: 1.2rem; color: var(--text); }
.article__lead { font-size: 1.18rem; color: var(--ink) !important; font-weight: 500; }
.article__body h2 {
  font-size: 1.35rem; color: var(--heading); margin: 2.2rem 0 .8rem;
  padding-inline-start: .9rem; border-inline-start: 4px solid var(--primary);
}
.article__body blockquote {
  margin: 1.8rem 0; padding: 1.3rem 1.5rem; border-radius: 16px;
  background: rgba(212, 175, 55, .08); border: 1px solid rgba(212, 175, 55, .3);
  color: var(--primary-light); font-size: 1.15rem; font-weight: 700; position: relative;
}
.article__body blockquote::before { content: "“"; position: absolute; top: -.6rem; inset-inline-start: 1rem; font-size: 3rem; color: var(--primary); line-height: 1; }
.article__body ul { list-style: none; display: grid; gap: .5rem; margin: 0 0 1.4rem; }
.article__body li { padding-inline-start: 1.4rem; position: relative; color: var(--text); }
.article__body li::before { content: "◆"; position: absolute; inset-inline-start: 0; color: var(--primary); font-size: .7rem; top: .55em; }
.article__share {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .95rem;
}
.article__share .btn { padding: .45rem 1.1rem; font-size: .9rem; }
.article__more { padding-bottom: 4rem; }
.article__more h3 { font-size: 1.3rem; color: var(--heading); margin-bottom: 1.2rem; }
.story-cta { text-align: center; }
.story-cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--heading); }
.story-cta p { color: var(--muted); margin: .4rem 0 0; }
.story-cta .hero__actions { justify-content: center; }

/* ===================== صفحه مسیر شغلی ===================== */
.career-steps { list-style: none; display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-top: 1.8rem; }
.career-steps li {
  display: flex; align-items: center; gap: .45rem; font-size: .88rem; font-weight: 700; color: var(--muted);
  padding: .3rem .9rem .3rem .4rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
}
.career-steps b {
  width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem;
  background: var(--inner); color: var(--muted);
}
.career-steps li.is-active { color: var(--ink); border-color: var(--primary); }
.career-steps li.is-active b, .career-steps li.is-done b { background: var(--grad); color: var(--on-accent); }
.career-steps li.is-done { color: var(--primary); }

.jobs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); gap: 1rem; }
.job {
  font-family: inherit; cursor: pointer; text-align: center; color: var(--ink);
  display: grid; justify-items: center; gap: .3rem; padding: 1.4rem .8rem;
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.job:hover { transform: translateY(-4px); border-color: var(--primary); box-shadow: var(--shadow); }
.job__icon {
  font-size: 2rem; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(212, 175, 55, .25), rgba(212, 175, 55, .05)); margin-bottom: .3rem;
}
.job b { font-size: 1.05rem; }
.job small { color: var(--muted); font-size: .8rem; }

.path { list-style: none; max-width: 720px; margin: 0 auto; position: relative; display: grid; gap: 1.1rem; counter-reset: p; }
.path::before {
  content: ""; position: absolute; top: 20px; bottom: 20px; inset-inline-start: 19px; width: 2px;
  background: linear-gradient(var(--primary), rgba(212, 175, 55, .1));
}
.path li {
  counter-increment: p; position: relative; margin-inline-start: 56px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 1.1rem 1.3rem;
}
.path li::before {
  content: counter(p, persian); position: absolute; inset-inline-start: -56px; top: .9rem;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: var(--grad); color: var(--on-accent); font-weight: 900; box-shadow: 0 0 0 5px var(--bg);
}
.path li.path__goal { border-color: var(--primary); background: linear-gradient(135deg, rgba(212, 175, 55, .12), var(--surface)); }
.path li.path__goal::before { content: "★"; }
.path__label { font-size: .8rem; font-weight: 800; color: var(--primary); }
.path h3 { font-size: 1.15rem; margin: .1rem 0 .2rem; }
.path p { color: var(--muted); font-size: .93rem; }
.path__chips { display: flex; gap: .35rem; flex-wrap: wrap; margin: .4rem 0; }
.path__chips span { font-size: .8rem; font-weight: 700; color: var(--primary-light); background: rgba(212, 175, 55, .12); padding: .05rem .7rem; border-radius: 999px; }
.path__hard {
  max-width: 720px; margin: 1.4rem auto 0; padding: 1rem 1.2rem; border-radius: 14px;
  background: rgba(220, 38, 38, .08); border: 1px solid rgba(248, 113, 113, .3); color: var(--text); font-size: .95rem;
}
.path__hard b { color: #fca5a5; }
.path__actions { justify-content: center; }

.quiz__options--single { grid-template-columns: 1fr; }
.career-result .quiz__result { margin-top: 0; }
.career-scores { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-top: 1.2rem; }
.career-scores div { background: var(--inner); border: 1px solid var(--border); border-radius: 14px; padding: .8rem 1rem; display: grid; }
.career-scores b { font-size: 1.5rem; color: var(--primary); }
.career-scores b small { font-size: .9rem; color: var(--muted); }
.career-scores span { color: var(--muted); font-size: .88rem; }
.career-result__h { margin: 1.5rem 0 .7rem; font-size: 1.05rem; color: var(--heading); }
.career-review { list-style: none; display: grid; gap: .6rem; }
.career-review li { display: flex; gap: .7rem; align-items: flex-start; background: var(--inner); border-radius: 12px; padding: .7rem .9rem; }
.career-review i {
  flex: none; font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center;
  font-size: .75rem; font-weight: 900;
}
.career-review li.ok i { background: rgba(212, 175, 55, .2); color: var(--primary); }
.career-review li.no i { background: rgba(220, 38, 38, .18); color: #f87171; }
.career-review b { display: block; color: var(--ink); font-size: .92rem; font-weight: 700; }
.career-review span { color: var(--muted); font-size: .88rem; }
.career-tips { list-style: none; display: grid; gap: .45rem; }
.career-tips li { padding-inline-start: 1.3rem; position: relative; color: var(--text); }
.career-tips li::before { content: "◆"; position: absolute; inset-inline-start: 0; color: var(--primary); font-size: .7rem; top: .55em; }
.career-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 2.5rem; }

/* ===================== ابزار تخمین قبولی ===================== */
.est-check { display: flex !important; align-items: center; gap: .5rem; font-weight: 500 !important; color: var(--muted) !important; cursor: pointer; }
.est-check input { width: 18px; height: 18px; accent-color: var(--primary); }
#estResult { margin-top: 1.5rem; }
.est-result h3, .est-empty h3 { font-size: 1.15rem; color: var(--heading); }
.est-empty p { color: var(--muted); margin-top: .5rem; }
.est-majors { list-style: none; display: grid; gap: .6rem; }
.est-majors li {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: var(--inner); border: 1px solid var(--border); border-radius: 12px; padding: .75rem 1rem;
}
.est-majors b { display: block; color: var(--ink); }
.est-majors span { color: var(--muted); font-size: .88rem; }
.est-majors small { flex: none; color: var(--primary); font-weight: 700; font-size: .85rem; }
.est-table-wrap { box-shadow: none; overflow-x: auto; }
.est-table td:first-child { color: var(--primary); }
.est-table tr.is-better td { opacity: .55; }
.est-cta { justify-content: center; }

/* ===================== تم طلایی و مشکی ===================== */

/* متن تیره روی زمینه‌های طلایی */
.btn, .tab.is-active, .timeline b, .steps b, .roadmap > li::before, .roadmap > li.is-now::after,
.compare thead th.compare__titi, .counselor__avatar, .logo__mark, .founder__photo, .plan__tag {
  color: var(--on-accent);
}
.btn--small { color: var(--on-accent) !important; }
.btn { font-weight: 800; box-shadow: 0 10px 24px -12px rgba(212, 175, 55, .55); }
.btn::after { background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); }
.btn--ghost { background: transparent; color: var(--ink); border-color: #87837a; box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: var(--muted); }
.mobile-bar .btn--green { background: transparent; border-color: #87837a; color: var(--ink); box-shadow: none; }
.mobile-bar .btn--green:hover { background: var(--surface); border-color: var(--muted); }

/* سربرگ و نوار بالا */
.topbar { background: #000; border-bottom-color: var(--border); }
.topbar .support-icon { fill: var(--on-accent); }
.header { background: rgba(43, 41, 38, .88); border-bottom-color: var(--border); }
.header.is-scrolled { background: rgba(43, 41, 38, .96); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .55); }
.menu-toggle span { background: var(--primary); }
.logo__en { color: var(--primary); }
.logo__sub { color: var(--muted); }
/* لوگوی تیره روی زمینه مشکی، طلایی می‌شود */
.logo__img img { filter: brightness(0) saturate(100%) invert(76%) sepia(37%) saturate(654%) hue-rotate(4deg) brightness(92%); }
.support-icon { background: rgba(212, 175, 55, .14); }

/* بخش‌ها */
.section--alt { background: var(--bg-alt); border-block-color: var(--border); }
.section--alt::before, .hero::before { background-image: radial-gradient(rgba(212, 175, 55, .1) 1px, transparent 1px); }
.hero {
  background: radial-gradient(circle at 85% 10%, rgba(212, 175, 55, .16) 0, transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(212, 175, 55, .08) 0, transparent 40%), var(--bg);
}
.hero::after { background: radial-gradient(circle, rgba(212, 175, 55, .14), transparent 65%); }
.hero__visual::before { opacity: .22; }
.highlight { background: linear-gradient(90deg, var(--primary-light), var(--primary) 60%, var(--primary-dark)); -webkit-background-clip: text; background-clip: text; }
.badge, .hero__chip, .hero__trust b { background: var(--surface); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .9); }
.badge::before { background: var(--primary); box-shadow: 0 0 0 4px rgba(212, 175, 55, .2); }
.todo li.done span::before { color: var(--primary); }

/* کارت‌ها */
.card:hover, .counselor:hover, .roadmap > li:hover, .plan:hover, .parents__item:hover { border-color: rgba(212, 175, 55, .45); }
.card__icon, .team__avatar { background: linear-gradient(135deg, rgba(212, 175, 55, .22), rgba(212, 175, 55, .05)); }
.founder__photo { outline-color: var(--surface); }
.counselor__avatar { outline-color: rgba(212, 175, 55, .3); }
.counselor__chips span, .roadmap__when { color: var(--primary-light); background: rgba(212, 175, 55, .12); }
.roadmap > li::before { box-shadow: 0 0 0 5px var(--bg-alt); }
.counselor__results li, .todo li, .quiz__opt, .quiz__plan, .tg-box textarea { background: var(--inner); }
.quiz__opt:hover, .quiz__opt.is-picked { background: #524e47; }
.quiz__score span { background: var(--surface); }
.compare td.compare__titi { background: rgba(212, 175, 55, .07); }
.compare thead th { background: var(--inner); }
.compare i.yes { background: rgba(212, 175, 55, .18); color: var(--primary); }
.compare i.no { background: rgba(220, 38, 38, .15); color: #f87171; }
.plan--featured { background: var(--surface); }
.plan li::before { color: var(--primary); }
.form input, .form select, .form textarea { background: var(--inner); border-color: var(--border); }
.form .invalid { border-color: #f87171; }
.form__status.ok, .tg-box__msg { color: var(--primary-light); }
.form__status.err { color: #f87171; }
.contact__info li { background: var(--inner); }
.section--cta::before, .section--cta::after { border-color: rgba(212, 175, 55, .1); }
.section--cta::after { background: rgba(212, 175, 55, .03); }
.footer { background: #1f1e1c; }

/* ویدیو و کلیپ */
.video { background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, .28), transparent 50%), linear-gradient(135deg, #2b2926, #3a3016 60%, #52421d); }
.clip::before {
  background: radial-gradient(circle at 30% 30%, rgba(243, 217, 139, .18), transparent 40%),
              radial-gradient(circle at 75% 70%, rgba(212, 175, 55, .16), transparent 45%);
}
.clip__year { background: linear-gradient(90deg, #fff6dc, var(--primary)); -webkit-background-clip: text; background-clip: text; }
.clip__hl, .video__soon p, .clip__sub, .clip__start small { color: var(--primary-light); }
.clip__sub { color: #d9cfb6; }
.clip__photo { border-color: rgba(212, 175, 55, .7); box-shadow: 0 0 0 10px rgba(212, 175, 55, .1); }
.clip__bar span { background: var(--primary); }
.clip__cta { background: var(--grad); color: var(--on-accent); }
.clip__start { background: linear-gradient(135deg, rgba(30, 27, 22, .9), rgba(60, 50, 24, .82)); }
.video__play { border-color: rgba(212, 175, 55, .7); background: rgba(212, 175, 55, .15); color: var(--primary-light); }

/* منوی «بیشتر» */
.nav__more { position: relative; }
.nav__more summary { list-style: none; cursor: pointer; padding: .4rem .8rem; border-radius: 10px; transition: background .2s, color .2s; }
.nav__more summary::-webkit-details-marker { display: none; }
.nav__more summary::after { content: " ▾"; font-size: .8em; }
.nav__more summary:hover, .nav__more[open] summary { background: var(--bg-alt); color: var(--primary); }
.nav__menu {
  position: absolute; top: calc(100% + 6px); inset-inline-start: 0; min-width: 180px; z-index: 20;
  display: flex; flex-direction: column; padding: .4rem;
  background: #35332f; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 16px 36px -14px rgba(0, 0, 0, .6);
}
.nav__menu a { padding: .55rem .8rem; border-radius: 8px; white-space: nowrap; }
.nav__menu a:hover { background: var(--bg-alt); color: var(--primary); }

@media (max-width: 860px) {
  .nav { background: #33312d; }
  .nav__more summary { padding: .9rem 16px; border-top: 1px solid var(--border); border-radius: 0; }
  .nav__menu { position: static; box-shadow: none; border: 0; border-radius: 0; padding: 0; background: #3b3935; }
  .nav__menu a { padding: .9rem 32px; border-radius: 0; border-top: 1px solid var(--border); }
}
@media (max-width: 760px) {
  .mobile-bar { background: rgba(8, 8, 8, .97); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .9); border-top: 1px solid var(--border); }
}

/* راهنمای تقریبی تخمین قبولی */
.est-approx{margin-bottom:1.25rem}
.est-approx .is-good{color:#5fd08a;font-weight:700}
.est-approx .is-mid{color:#f0c24b;font-weight:700}
.est-approx .is-low{color:#ff8a80;font-weight:700}

/* ورودی تراز و درصدها */
.est-hint{margin:0 0 .5rem;color:var(--muted);font-size:.95rem}
.est-pct{margin:.5rem 0 1rem}
.est-pct summary{cursor:pointer;font-weight:700;padding:.5rem 0}
.est-pct__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.75rem;margin-top:.5rem}

/* ===================== صفحه کشف استعداد ===================== */
.talent-chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .4rem; }
.talent-chip {
  font-family: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--bg-alt); color: var(--ink); font-size: .95rem; font-weight: 700;
  transition: border-color .2s, background .2s, transform .2s;
}
.talent-chip:hover { border-color: var(--primary); transform: translateY(-2px); }
.talent-chip.is-on { border-color: var(--primary); background: rgba(212, 175, 55, .15); color: var(--primary); }
.talent-bars { list-style: none; display: grid; gap: .6rem; }
.talent-bars li { display: grid; grid-template-columns: 11rem 1fr 3rem; align-items: center; gap: .8rem; font-size: .92rem; color: var(--ink); }
.talent-bars__track { height: 10px; border-radius: 99px; background: var(--bg-alt); overflow: hidden; }
.talent-bars__track i { display: block; height: 100%; border-radius: 99px; background: var(--grad); }
.talent-bars b { color: var(--primary); text-align: left; }
.talent-note { margin: -.3rem 0 .8rem; }
.talent-jobs .job { text-decoration: none; }
@media (max-width: 520px) {
  .talent-bars li { grid-template-columns: 1fr 2.8rem; gap: .3rem .8rem; }
  .talent-bars li span { grid-column: 1 / -1; }
}

/* لینک تست استعداد و فیلتر گروه در صفحه مسیر شغلی */
.career-cta { text-align: center; margin: -1.6rem 0 1.4rem; color: var(--muted); }
.career-cta a { color: var(--primary); font-weight: 800; }
.job-filter { display: flex; justify-content: center; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.job-filter .talent-chip { padding: .4rem 1rem; font-size: .9rem; }

/* آیکون تست شخصیت در نوار بالای صفحه اصلی */
.topbar__links { display: flex; align-items: center; gap: .5rem; }
.topbar .talent-link { border-color: rgba(212, 175, 55, .55); color: var(--primary); }
.topbar .talent-link .support-icon { animation: talentPulse 2.4s ease-in-out infinite; }
.topbar .talent-link:hover { background: rgba(212, 175, 55, .12); border-color: var(--primary); }
@keyframes talentPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, .55); }
  50% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0); }
}
@media (prefers-reduced-motion: reduce) { .topbar .talent-link .support-icon { animation: none; } }
@media (max-width: 380px) { .topbar__links { gap: .35rem; } .topbar .support-link { font-size: .78rem; padding-inline-start: .55rem; } }

/* ===================== نتیجه تست شخصیت ===================== */
.ptype__head { text-align: center; margin-bottom: .6rem; }
.ptype__head small { color: var(--muted); }
.ptype__code {
  font-size: clamp(2.8rem, 12vw, 4.4rem); font-weight: 900; letter-spacing: .14em; line-height: 1.2;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ptype__head h3 { font-size: 1.3rem; color: var(--heading); margin-top: .2rem; }
.ptype .quiz__tip { text-align: center; }
.ptype__pick { color: var(--primary); }
.ptype .talent-bars li { grid-template-columns: 1fr 3rem; gap: .35rem .8rem; }
.ptype .talent-bars li span { grid-column: 1 / -1; }
.inline-link { color: var(--primary); font-weight: 800; }
.ptype__saved {
  display: grid; gap: .25rem; margin: 0 0 1rem; padding: .8rem 1rem; border-radius: 14px;
  background: rgba(212, 175, 55, .1); border: 1px dashed rgba(212, 175, 55, .5); font-size: .92rem;
}
.ptype__saved b { color: var(--primary-light); }
.ptype__saved span { color: var(--muted); }
.ptype__saved--off { background: rgba(255, 138, 128, .08); border-color: rgba(255, 138, 128, .5); }
.ptype__del {
  justify-self: start; background: none; border: 0; padding: 0; cursor: pointer;
  font-family: inherit; font-size: .85rem; color: var(--muted); text-decoration: underline;
}
.ptype__del:hover { color: var(--primary-light); }

/* ===================== معرفی کشف استعداد در صفحه اصلی ===================== */
.section--talent {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 55% 65% at 15% 45%, rgba(212, 175, 55, .09), transparent 70%), var(--bg);
}
.talent-promo { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: center; }
.talent-promo h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--heading); margin: 1rem 0 .8rem; line-height: 1.5; }
.talent-promo__text > p { color: var(--muted); font-size: 1.05rem; }
.talent-promo__list { list-style: none; display: grid; gap: .55rem; margin: 1.3rem 0 1.7rem; }
.talent-promo__list li { position: relative; padding-inline-start: 1.8rem; color: var(--text); }
.talent-promo__list li::before {
  content: "✓"; position: absolute; inset-inline-start: 0; top: .2em;
  width: 1.25rem; height: 1.25rem; border-radius: 50%; display: grid; place-items: center;
  font-size: .72rem; font-weight: 900; color: var(--on-accent); background: var(--grad);
}
.talent-promo__actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.talent-promo__card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 1.8rem; box-shadow: var(--shadow);
}
.talent-promo__card h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 1.1rem; color: var(--heading); margin-bottom: 1.1rem; }
.talent-promo__card h3 small { font-size: .78rem; font-weight: 500; color: var(--muted); }
.talent-promo__card .talent-bars li { grid-template-columns: 8.5rem 1fr 2.6rem; }
.talent-promo__jobs { margin-top: 1.3rem; padding-top: 1rem; border-top: 1px dashed var(--border); }
.talent-promo__jobs small { color: var(--muted); font-size: .85rem; }
@media (max-width: 960px) {
  .talent-promo { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .talent-promo__card { max-width: 460px; width: 100%; margin-inline: auto; }
}
@media (max-width: 520px) {
  .talent-promo__card { padding: 1.4rem; }
  .talent-promo__card .talent-bars li { grid-template-columns: 1fr 2.8rem; }
}

.booking-note summary { color: var(--muted); cursor: pointer; }
.booking-note[open] label { margin-top: .6rem; }
#contactForm .form__status:empty { display: none; }
#contactForm button:disabled { opacity: .7; cursor: wait; }

.est-coverage { padding: .75rem 1rem; border-inline-start: 3px solid var(--primary); border-radius: 8px; background: var(--inner); }

.mobile-bar[hidden] { display: none; }

.sample-review { margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--border); }
.sample-review h4 { color: var(--primary-light); font-size: 1rem; }
.sample-review p { margin: .35rem 0 0; font-size: .96rem; line-height: 1.85; }

.plan__audience { margin: .65rem 0 1rem; padding-bottom: .9rem; color: var(--muted); border-bottom: 1px solid var(--border); line-height: 1.85; }

.hero__showcase { min-width: 0; padding-block: .65rem .4rem; }
#services .hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(100%, 270px);
  margin: 0 auto 1.25rem;
  gap: .35rem;
}
#services .hero__trust li {
  flex-direction: column;
  text-align: center;
  font-size: .8rem;
  line-height: 1.5;
}
.home-carousel {
  width: 100%;
  display: grid;
  gap: .15rem;
  padding: .35rem .65rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: radial-gradient(ellipse at top right, rgba(212,175,55,.13), transparent 62%), var(--surface);
  box-shadow: var(--shadow);
}
.home-carousel__slides { display: grid; align-items: center; }
.home-carousel__dots { display: flex; justify-content: center; }
.home-carousel__dots button {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.home-carousel__dots button::before {
  content: "";
  width: .4rem;
  height: .4rem;
  border-radius: 50%;
  background: #87837a;
}
.home-carousel__dots button[aria-current="true"]::before { background: var(--primary-light); }
.home-carousel__dots button:focus-visible { outline: 2px solid var(--primary-light); }
.home-slide { text-align: center; }
.home-slide h2 { font-size: 1rem; line-height: 1.45; }
.home-slide p { margin: .15rem auto .25rem; font-size: .875rem; line-height: 1.45; }
.home-slide .btn { padding: .12rem .6rem; font-size: .875rem; }
.home-topics { display: grid; gap: .65rem; padding-block: 0 2rem; }
.home-topic { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
.home-topic > summary { padding: .8rem 1rem; cursor: pointer; color: var(--ink); font-weight: 700; }
.home-topic > .section { padding-block: 2rem; }
.home-topic .sample-wrap { margin-top: 1.5rem; }
.sample-wrap .hero__card { animation: none; }
.home-carousel:has(.home-slide--planner:not([hidden])) {
  border-color: #c9beaa;
  border-radius: 9px 9px 12px 6px;
  background: linear-gradient(to left, transparent 1.1rem, #c3907e99 1.1rem 1.16rem, transparent 1.16rem),
    linear-gradient(110deg, #f8f3e6, #eee6d5);
  box-shadow: 0 2px 0 #b4a991, 0 4px 0 -1px #e0d7c3, 0 10px 22px -12px #0009;
}
.home-slide--planner:not([hidden]) {
  display: grid;
  gap: .5rem;
  align-items: center;
  padding: .75rem .95rem 0 .55rem;
  text-align: start;
  color: #39372f;
}
.home-slide--planner h2 {
  font-size: clamp(1.16rem, 2.8vw, 1.6rem);
  color: #2f302a;
}
.saturday-preview { list-style: none; }
.saturday-preview li {
  display: grid;
  grid-template-columns: .85rem minmax(3.75rem, auto) 1fr;
  align-items: baseline;
  gap: .7rem;
  padding-block: .3rem;
  border-bottom: 1px solid #c9beaa;
  font-size: .975rem;
}
.saturday-preview li::before {
  content: "";
  align-self: center;
  width: .85rem;
  height: .85rem;
  border: 1.5px solid #776f5e;
  border-radius: 3px;
}
.saturday-preview b { color: #34352e; }
.saturday-preview span { text-align: end; }
.home-slide--planner .btn {
  justify-self: start;
  padding: .32rem 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #484438;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: .3em;
}
.home-slide--planner .btn:hover { color: #201f1b; transform: none; }
.home-slide--planner .btn:focus-visible { outline: 2px solid #514a3b; outline-offset: 3px; }
.home-carousel:has(.home-slide--planner:not([hidden])) .home-carousel__dots button::before { background: #9a917f; }
.home-carousel:has(.home-slide--planner:not([hidden])) .home-carousel__dots button[aria-current]::before { background: #3a372e; }
.home-carousel:has(.home-slide--planner:not([hidden])) .home-carousel__dots button:focus-visible { outline-color: #514a3b; }
@media (min-width: 650px) {
  .home-slide--planner:not([hidden]) {
    grid-template-columns: minmax(11rem, 1fr) minmax(15rem, 1.4fr);
    gap: .25rem clamp(2rem, 6vw, 6rem);
    padding: 1.1rem clamp(1.5rem, 4vw, 4rem) .25rem;
  }
  .home-slide--planner h2 { align-self: end; }
  .home-slide--planner .btn { grid-column: 1; grid-row: 2; align-self: start; }
  .saturday-preview { grid-column: 2; grid-row: 1 / 3; }
}
#sample-plan { scroll-margin-block-start: 6rem; }
.sample-week {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: .65rem 1rem;
  margin: 0;
}
.sample-week dt { font-weight: 700; color: var(--primary-light); }
.sample-week dd { margin: 0; line-height: 1.8; }
.hero .hero__inner { grid-template-columns: minmax(0, 1fr); }
.hero .hero__text { text-align: center; }
.hero .hero__text p { margin-inline: auto; }
.hero .hero__actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  max-width: 34rem;
  margin: 1.5rem auto 0;
}
.hero__choice { display: grid; align-content: start; gap: .4rem; }
.hero__choice small { color: var(--muted); font-size: .875rem; line-height: 1.65; }
@media (max-width: 760px) {
  .hero { padding-block: 2rem; }
  .hero__inner { gap: 1.5rem; }
}

.quiz__steps { padding-inline-start: 1.5rem; line-height: 1.9; }
.tool-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: .85rem;
  margin-top: 1rem;
}
.tool-directory article { padding: 1rem 1.2rem; border: 1px solid var(--border); border-radius: .65rem; }
.tool-directory p { margin-block: .35rem .65rem; color: var(--muted); }
.tool-directory a { display: inline-block; padding-block: .3rem; margin-inline-end: .8rem; color: var(--primary-light); text-decoration: underline; text-underline-offset: .25em; }
.plan-comparison { width: 100%; border-collapse: collapse; margin-block-end: 1rem; }
.plan-comparison caption { text-align: start; font-weight: 700; margin-block-end: .5rem; }
.plan-comparison th,
.plan-comparison td { padding: .55rem .3rem; text-align: start; border-block-end: 1px solid #8885; }
#formStatus { overflow-wrap: anywhere; }

/* صفحهٔ اول — زغال مات، کاغذ و جوهر */
.home-page {
  --bg: #222322;
  --bg-alt: #272827;
  --surface: #2b2c2b;
  --inner: #363735;
  --ink: #f5f2ea;
  --heading: var(--ink);
  --text: #e5e1d9;
  --muted: #c6c6be;
  --border: #484a45;
  --booking-gold: #e6c573;
}
.home-page .header,
.home-page .header.is-scrolled { background: #252624; border-color: var(--border); }
.home-page .topbar { background: #1d1e1d; }
.home-page .topbar .support-link { color: var(--muted); background: transparent; border-color: transparent; }
.home-page .topbar .support-link:hover { color: var(--ink); border-color: var(--border); }
.home-page .topbar .support-icon { background: transparent; fill: currentColor; animation: none; }
.home-page .menu-toggle span { background: var(--ink); }
.home-page .logo__en { color: var(--ink); }
.home-page .logo__img img { filter: brightness(0) invert(.91); }
.home-page .hero { background: var(--bg); padding-block: clamp(1.65rem, 5vw, 4.5rem) clamp(1rem, 3vw, 2.5rem); }
.home-page .hero::before, .home-page .hero::after { content: none; }
.home-page .hero h1 {
  margin: 0 auto .75rem;
  font-size: clamp(2.1rem, 5.4vw, 4.65rem);
  line-height: 1.42;
  text-wrap: balance;
}
.home-page .hero .highlight { color: var(--booking-gold); background: none; white-space: nowrap; }
.home-page .hero p { max-width: 37rem; font-size: clamp(1rem, 1.45vw, 1.14rem); text-wrap: pretty; }
.home-page .hero__choice small { text-wrap: balance; }
.home-page .hero__choice .btn { border-radius: .6rem; }
.home-page a.btn[href="#contact"]:not(.btn--ghost),
.home-page #contactForm button[type="submit"] {
  background: var(--booking-gold);
  color: #252119;
  box-shadow: none;
}
.home-page .hero__choice .btn--ghost { border-color: #74766f; color: var(--ink); }
.home-page .hero__choice .btn::after { content: none; }
.home-page .home-topics { padding-top: .85rem; }
.home-page .home-topic { border-radius: .65rem; }
.home-page .home-topic > summary { padding-block: 1rem; }
.home-page a.service-entry {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  color: var(--ink);
  font-weight: 700;
}
.service-entry::after { content: "‹"; font-size: 1.35rem; line-height: 1; }
.service-entry:hover, .service-entry:focus-visible { border-color: var(--primary-light); }
.services-page .section { padding-block: clamp(1.6rem, 4vw, 3.5rem); }
.services-page .section__head { margin-bottom: 1.2rem; }
.service-nav, .service-jumps { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1rem; }
.service-title { padding-block: clamp(1.8rem, 5vw, 4rem) 1rem; text-align: center; }
.service-title h1 { font-size: clamp(1.9rem, 4.5vw, 3.5rem); }
.service-jumps { justify-content: center; margin-top: 1rem; }
.service-jumps a { border-bottom: 1px solid var(--border); color: var(--muted); }
.service-jumps a:hover, .service-nav a:hover { color: var(--ink); }
.services-page #services .hero__trust { width: auto; max-width: 28rem; margin: 0 auto 1.4rem; }
.services-page .service-sample .hero__card {
  animation: none;
  background: #f4edda;
  border-color: #d4cbb4;
  color: #3c382f;
}
.service-sample h2, .service-sample .sample-week dt, .service-sample .sample-review h4 { color: #403522; }
.service-sample h2 { margin-bottom: 1rem; font-size: clamp(1.25rem, 3vw, 1.7rem); }
.service-sample .sample-review { border-color: #c9bea2; }
.services-page .compare-wrap { margin-bottom: 1.6rem; }
.services-page .plan-comparison { margin: 0; }
.services-page .plan-comparison caption { padding: .65rem; }
.service-finish { text-align: center; padding: 2rem 0 3.5rem; }
.service-finish h2 { margin-bottom: .8rem; font-size: 1.25rem; }
@media (max-width: 480px) {
  .services-page .logo img { width: 36px; height: 36px; }
  .services-page .logo__sub { font-size: .68rem; }
  .service-nav { gap: .55rem; font-size: .85rem; }
  .service-nav a[href="index.html"] { display: none; }
  .service-nav .btn { padding: .45rem .55rem; }
}
@media (max-width: 760px) {
  .home-page .hero .highlight { display: block; }
  .home-page .hero .hero__actions { margin-top: 1.1rem; gap: .85rem; }
  .home-page .hero__choice .btn { padding-block: .54rem; }
}
