/* فونت وزیرمتن — داخل خود سایت (بدون نیاز به Google Fonts) */
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn-persian.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+20-7E, U+A9, U+AB, U+B7, U+BB, U+60C-60D, U+610-612, U+615, U+61B, U+61F, U+621-63A, U+63D, U+640-658, U+65A-65B, U+660-671, U+674, U+679, U+67C, U+67E, U+681, U+685-686, U+688-689, U+691, U+693, U+695-696, U+698, U+69A, U+6A0-6A1, U+6A4, U+6A9-6AD, U+6AF, U+6B5, U+6BA, U+6BC-6BE, U+6C0-6C3, U+6C6-6D0, U+6D2-6D5, U+6DC-6DE, U+6E9, U+6F0-6F9, U+762-763, U+200C-200D, U+2014, U+201C, U+2026, U+2039, U+2265;
}
@font-face {
  font-family: "Vazirmatn";
  src: url("fonts/Vazirmatn.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0, U+D, U+A0-A8, U+AA, U+AC-B6, U+B8-BA, U+BC-17F, U+18F, U+192, U+1A0-1A1, U+1AF-1B0, U+1F0, U+1FA-1FF, U+218-21B, U+237, U+259, U+2BC, U+2C6-2C7, U+2C9, U+2D8-2DD, U+2F3, U+300-301, U+303, U+309, U+30F, U+323, U+2000-200B, U+200E-2013, U+2015, U+2017-201B, U+201D-201E, U+2020-2022, U+2025, U+2027, U+202A-2030, U+2032-2033, U+203A, U+203C, U+2044, U+2074, U+207F, U+20A3-20A4, U+20A6-20AC, U+20B1, U+20B9-20BA, U+20BC-20BD, U+2105, U+2113, U+2116, U+2122, U+2126, U+212E, U+215B-215E, U+2202, U+2206, U+220E-220F, U+2211-2212, U+2215, U+221A, U+221E, U+222B, U+2248, U+2260, U+2264, U+25CA, U+25CC, U+FB01-FB04, U+FB50-FB51, U+FB56-FB59, U+FB66-FB6D, U+FB7A-FB7D, U+FB88-FB95, U+FB9E-FB9F, U+FBA5, U+FBA7-FBB1, U+FBBF-FBC0, U+FBD3-FBDC, U+FBDE-FBDF, U+FBE2-FBE3, U+FBE8-FBE9, U+FBFC-FBFF, U+FD3E-FD3F, U+FDF2, U+FDFC, U+FE70-FE74, U+FE76-FEFC, U+FEFF, U+FFFC-FFFD;
}

/* تم طلایی و مشکی */
: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%);
}
.clip.is-playing::before { 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: #2b2d2a;
  --surface: #323431;
  --inner: #363735;
  --ink: #f5f2ea;
  --heading: var(--ink);
  --text: #e5e1d9;
  --muted: #c6c6be;
  --border: #555951;
  --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 .tool-directory article { background: #3b3e39; border-color: #62675e; }
.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; }
}

.card__icon,
.job__icon,
.story-card__avatar--icon,
.support-icon,
.home-page .topbar .support-icon {
  background: linear-gradient(145deg, rgba(255, 245, 211, .18), rgba(212, 175, 55, .07) 65%, rgba(212, 175, 55, .12));
  box-shadow: inset 0 0 0 1px rgba(255, 231, 165, .19),
              inset 0 1px 1px rgba(255, 250, 227, .14),
              0 2px 6px rgba(0, 0, 0, .12);
  backdrop-filter: blur(5px);
}

.home-page .home-topic > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  list-style: none;
}
.home-page .home-topic > summary::-webkit-details-marker { display: none; }
.home-page .home-topic > summary::after,
.home-page .service-entry::after {
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  flex: none;
  border-radius: .55rem;
  color: var(--primary-light);
  background: linear-gradient(145deg, rgba(255, 245, 211, .18), rgba(212, 175, 55, .07) 65%, rgba(212, 175, 55, .12));
  box-shadow: inset 0 0 0 1px rgba(255, 231, 165, .19),
              inset 0 1px 1px rgba(255, 250, 227, .14),
              0 2px 6px rgba(0, 0, 0, .12);
  backdrop-filter: blur(5px);
}
.home-page .home-topic > summary::after { content: '⌄'; font-size: 1.15rem; line-height: 1; }
.home-page .home-topic[open] > summary::after { transform: rotate(180deg); }

/* Local light theme inspired by TITI Home Care's blue and teal palette. */
:root,
.home-page {
  --primary: #176e9c;
  --primary-light: #247fa5;
  --primary-dark: #12547a;
  --navy: #103650;
  --heading: #14364d;
  --teal: #0d9a91;
  --green: #14985e;
  --accent: #0d9a91;
  --text: #324e5e;
  --ink: #15394f;
  --muted: #5b7380;
  --bg: #f6fbfe;
  --bg-alt: #eaf5fa;
  --surface: #fff;
  --inner: #f0f7fa;
  --on-accent: #fff;
  --soft: rgba(30, 129, 171, .14);
  --border: #d2e2eb;
  --shadow: 0 18px 40px -25px rgba(13, 65, 96, .4), 0 2px 8px rgba(13, 65, 96, .06);
  --grad: linear-gradient(135deg, #2c98be, #176e9c 65%, #12547a);
  color-scheme: light;
}

/* Navigation and primary actions */
.topbar,
.home-page .topbar { background: #103650; color: #e6f4f9; border-color: #103650; }
.topbar a,
.home-page .topbar .support-link { color: #f4fbfe; }
.topbar .support-link { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; }
.topbar .support-icon,
.home-page .topbar .support-icon { color: #fff; fill: currentColor; }
.topbar .talent-link { border-color: rgba(255,255,255,.4); color: #fff; }
.header,
.header.is-scrolled,
.home-page .header,
.home-page .header.is-scrolled {
  background: rgba(255,255,255,.96);
  border-color: var(--border);
  box-shadow: 0 7px 24px -20px rgba(13,65,96,.45);
}
.logo__en,
.home-page .logo__en { color: var(--ink); }
.logo__sub { color: var(--primary); }
.logo__img img,
.home-page .logo__img img { filter: none; }
.menu-toggle span,
.home-page .menu-toggle span { background: var(--primary-dark); }
.nav__menu { background: #fff; box-shadow: var(--shadow); }

.btn,
.btn--small,
.home-page a.btn[href="#contact"]:not(.btn--ghost),
.home-page #contactForm button[type="submit"] {
  color: #fff !important;
  background: var(--grad);
  box-shadow: 0 10px 22px -14px rgba(14, 96, 142, .65);
}
.btn--green { background: var(--green); border-color: var(--green); }
.btn--ghost,
.home-page .hero__choice .btn--ghost,
.mobile-bar .btn--green {
  color: var(--primary-dark) !important;
  background: #fff;
  border-color: #aacbdc;
  box-shadow: none;
}
.btn--ghost:hover,
.mobile-bar .btn--green:hover { background: #eaf5fa; border-color: var(--primary); }

/* A calmer, brighter first impression */
.hero,
.home-page .hero,
.page-hero,
.article__hero {
  background: radial-gradient(circle at 16% 20%, rgba(86,185,220,.28), transparent 39%),
              radial-gradient(circle at 88% 82%, rgba(13,154,145,.12), transparent 42%),
              linear-gradient(180deg, #e7f5fb, #f6fbfe);
}
.home-page .hero::before,
.home-page .hero::after { content: none; }
.highlight,
.home-page .hero .highlight {
  color: #087f8d;
  background: linear-gradient(90deg, #0c9b90, #1777a8);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p { color: var(--text); }
.badge,
.hero__chip,
.hero__trust b { background: #fff; box-shadow: var(--shadow); }
.badge::before { background: var(--green); box-shadow: 0 0 0 4px rgba(20,152,94,.15); }
.section--alt { background: var(--bg-alt); }
.section--alt::before,
.hero::before { background-image: radial-gradient(rgba(30,129,171,.12) 1px, transparent 1px); }
.section--talent { background: radial-gradient(ellipse at 15% 45%, rgba(36,152,190,.12), transparent 70%), var(--bg); }

/* Cards, links, and form fields */
.card:hover,
.counselor:hover,
.roadmap > li:hover,
.plan:hover,
.parents__item:hover,
.story-card:hover { border-color: #80b9d0; }
.card__icon,
.job__icon,
.story-card__avatar--icon,
.support-icon,
.home-page .topbar .support-icon,
.home-page .home-topic > summary::after,
.home-page .service-entry::after {
  background: linear-gradient(145deg, rgba(255,255,255,.95), rgba(201,233,244,.75));
  box-shadow: inset 0 0 0 1px rgba(35,133,170,.16), 0 4px 10px rgba(13,65,96,.08);
  color: var(--primary);
}
.home-page .topbar .support-icon { background: rgba(255,255,255,.12); color: #fff; }
.team__avatar,
.job__icon { background: linear-gradient(135deg, #d9f1f8, #ebf8f4); }
.counselor__chips span,
.roadmap__when,
.story-card__chips span,
.path__chips span {
  color: var(--primary-dark);
  background: #e7f4f9;
}
.counselor__avatar,
.story-card__avatar { outline-color: #cbe8f0; }
.quiz__opt:hover,
.quiz__opt.is-picked { background: #e9f6fa; }
.compare td.compare__titi { background: #ebf7fa; }
.compare i.yes { background: #ddf5e9; color: #127c4c; }
.compare i.no { background: #fce9e9; color: #b23b3b; }
.plan--featured { background: linear-gradient(180deg, #eaf7fb, #fff 55%); border-color: #87bed4; }
.form input,
.form select,
.form textarea { background: #fff; color: var(--ink); }
.form__status.ok,
.tg-box__msg { color: #127c4c; }
.form__status.err { color: #b23b3b; }
.footer { background: #eaf5fa; color: var(--text); border-color: var(--border); }
.footer h4 { color: var(--heading); }
.mobile-bar { background: rgba(255,255,255,.98); border-color: var(--border); box-shadow: 0 -8px 24px -16px rgba(13,65,96,.4); }

/* The homepage keeps its short copy and new path cards. */
.home-page .home-topic { box-shadow: 0 7px 20px -18px rgba(13,65,96,.45); }
.home-page .tool-directory article { background: #fff; border-color: var(--border); box-shadow: var(--shadow); }
.tool-directory a { color: var(--primary-dark); }
.home-carousel { background: radial-gradient(ellipse at top right, rgba(65,172,205,.16), transparent 62%), #fff; }
.home-carousel__dots button::before { background: #8aa9b8; }
.home-carousel__dots button[aria-current="true"]::before { background: var(--primary); }
.home-carousel:has(.home-slide--planner:not([hidden])) {
  border-color: #b9d9e6;
  background: linear-gradient(to left, transparent 1.1rem, #95c9dc99 1.1rem 1.16rem, transparent 1.16rem),
              linear-gradient(110deg, #fff, #ebf7fb);
  box-shadow: 0 2px 0 #abcbd9, 0 10px 24px -18px rgba(13,65,96,.45);
}
.home-slide--planner,
.home-slide--planner h2,
.saturday-preview b { color: var(--ink); }
.home-slide--planner .btn { color: var(--primary-dark) !important; background: transparent; box-shadow: none; }
.saturday-preview li { border-color: #c9e0e9; }
.saturday-preview li::before { border-color: #6e9eb4; }
.home-carousel:has(.home-slide--planner:not([hidden])) .home-carousel__dots button::before { background: #91adbb; }
.home-carousel:has(.home-slide--planner:not([hidden])) .home-carousel__dots button[aria-current]::before { background: var(--primary); }

/* Text that was tuned for the previous dark palette. */
.sample-week dt,
.sample-review h4,
.article__body b { color: var(--primary-dark); }
.article__body blockquote { background: #e9f7fa; border-color: #b8dce8; color: var(--primary-dark); }
.path__hard b { color: #ad3434; }
.path::before { background: linear-gradient(var(--primary), rgba(30,129,171,.12)); }
.path li.path__goal { background: linear-gradient(135deg, #e5f5f8, #fff); }
.est-approx .is-good { color: #137a4f; }
.est-approx .is-mid { color: #8d680c; }
.est-approx .is-low { color: #b23b3b; }
.talent-chip.is-on { background: #e1f3f8; }
.video { background: linear-gradient(135deg, #103650, #176e9c 60%, #0d9a91); }
.video__soon p,
.clip__sub,
.clip__start small { color: #e5f7fb; }
.clip__cta { color: #fff; }

@media (max-width: 860px) {
  .nav { background: #fff; }
  .nav__menu { background: #f0f7fa; }
}

@media (max-width: 760px) {
  .mobile-bar { background: rgba(255,255,255,.98); }
}

/* A small amount of the original TITI gold, without changing the blue base. */
:root,
.home-page { --titi-gold: #9a6b23; }
.home-page .hero .highlight {
  background: linear-gradient(90deg, #94631d, #bd8d3b);
  -webkit-background-clip: text;
  background-clip: text;
}
.home-page .hero__choice .btn--ghost {
  color: #805817 !important;
  background: #fffdf8;
  border-color: #d8bd82;
}
.section__head h2::after { background: linear-gradient(90deg, var(--primary), #c79a46); }
.home-page .home-topic > summary::after,
.home-page .service-entry::after {
  color: var(--titi-gold);
  background: linear-gradient(145deg, #fffefb, #f8ecd2);
  box-shadow: inset 0 0 0 1px #e8d4a8, 0 4px 10px rgba(104, 76, 25, .08);
}
.home-page .tool-directory article:hover { border-color: #d8bd82; }
.home-carousel__dots button[aria-current="true"]::before,
.home-carousel:has(.home-slide--planner:not([hidden])) .home-carousel__dots button[aria-current]::before {
  background: var(--titi-gold);
}

.topbar .support-link .support-icon,
.home-page .topbar .support-link .support-icon {
  color: #f2ca72;
  fill: currentColor;
  background: rgba(219, 167, 64, .18);
  box-shadow: inset 0 0 0 1px rgba(244, 205, 119, .38);
}

.mobile-bar .btn--green { display: inline-flex; align-items: center; justify-content: center; gap: .35rem; }
.mobile-call-icon { width: 1.15em; height: 1.15em; flex: none; fill: #ad7b29; }

/* Match the white card outlines to the gold path button. */
.home-carousel,
.home-topic,
.home-page .tool-directory article,
.card,
.hero__card,
.quiz,
.counselor,
.compare-wrap,
.parents__item,
.roadmap > li,
.subject,
.plan,
.plan--featured,
.faq,
.form,
.talent-promo__card,
.story-card,
.job,
.path li,
.timeline li { border-color: #d8bd82; }
.home-carousel:has(.home-slide--planner:not([hidden])) { border-color: #d8bd82; }

.mobile-bar .btn { border: 1.5px solid #d8bd82; }


:root {
 --primary:#2866a6; --primary-light:#3478c0; --primary-dark:#1b5088; --navy:#142d4e; --heading:#142d4e;
 --teal:#14836e; --green:#137451; --accent:#2866a6; --text:#334a65; --ink:#142d4e; --muted:#586a81;
 --bg:#f8fafc; --bg-alt:#eef4fa; --surface:#fff; --inner:#f3f7fb; --border:#d6e0eb; --soft:#e6eff9;
 --grad:#2866a6; --shadow:0 12px 30px -23px #142d4e52,0 1px 3px #142d4e0d;
}
body { background:#f8fafc; color:var(--text); }
body .header { background:#fff; border-block-end:1px solid var(--border); }
body .btn:not(.btn--ghost):not(.btn--green) { background:var(--primary); }
body .btn:not(.btn--ghost):not(.btn--green):hover { background:var(--primary-dark); }
body .page-hero,body .article__hero { background:#eef4fa; }
body .footer { background:#eaf1f8; }
.home-page .hero.titi-front { position:relative; background:#142d4e; color:#fff; padding:0; text-align:start; border:none; }
.titi-front__inner { display:grid; grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); align-items:center; gap:clamp(1rem,5vw,5rem); padding-block:clamp(3rem,7vw,6.25rem); }
.titi-front__copy { min-width:0; }
.hero.titi-front h1 { margin:.25rem 0 .75rem; color:#fff; font-size:clamp(2rem,4.6vw,4.05rem); line-height:1.35; letter-spacing:0; }
.hero.titi-front .titi-front__eyebrow { margin:0; font-size:.9rem; color:#bfd5ed; font-weight:700; }
.hero.titi-front .titi-front__intro { color:#e0e9f5; font-size:clamp(1rem,1.75vw,1.18rem); max-width:32rem; margin:0; }
.titi-front__actions,.titi-front__links { display:flex; flex-wrap:wrap; gap:.65rem; margin-block-start:1.35rem; }
.titi-front__actions a { display:inline-flex; align-items:center; justify-content:center; min-height:48px; border-radius:.8rem; padding:.55rem 1.15rem; text-decoration:none; font-weight:750; color:#fff; }
.titi-front__primary { background:#2866a6; border:1px solid #6fa7dd; }
.titi-front__primary:hover { background:#1b5088; }
.titi-front__outline { background:transparent; border:1px solid #c9daec; }
.titi-front__outline:hover { background:#254468; }
.titi-front__links { gap:.45rem 1.1rem; margin-block-start:.9rem; }
.titi-front__links a { color:#d5e5f7; font-size:.88rem; text-decoration:underline; text-underline-offset:.25em; }
.titi-front a:focus-visible { outline:3px solid #c6e8ff; outline-offset:3px; }
.titi-front__art { width:100%; max-width:430px; height:auto; justify-self:center; display:block; }
.titi-features { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(.65rem,2vw,1.1rem); padding-block:1.4rem; }
.titi-features a { display:grid; gap:.14rem; min-width:0; justify-items:start; border:1px solid var(--border); border-radius:1rem; background:#fff; color:#142d4e; padding:.85rem 1rem; text-decoration:none; box-shadow:var(--shadow); }
.titi-features a:hover { border-color:#2866a6; }
.titi-features svg { color:#2866a6; margin-bottom:.2rem; }
.titi-features span { color:var(--muted); font-size:.83rem; }
@media(max-width:680px){
  .titi-front__inner { grid-template-columns:1fr; gap:1.45rem; padding-block:2.1rem; }
  .titi-front__art { width:min(64%,15rem); }
  .titi-features { gap:.45rem; padding-block:.8rem; }
  .titi-features a { padding:.55rem; }
  .titi-features strong { font-size:.82rem; }
  .titi-features span { display:none; }
}
@media(max-width:370px){.titi-front__actions a{flex-grow:1;padding-inline:.55rem}.titi-front__art{display:none}}


/* Editorial rhythm and RTL alignment without adding a second font download. */
:root { color-scheme:light; --reading-size:clamp(.97rem,.93rem + .23vw,1.08rem); --reading-width:43rem; }
body { font-family:Vazirmatn,Tahoma,'Segoe UI',sans-serif; font-size:var(--reading-size); line-height:1.9; font-synthesis:none; }
body button,body input,body select,body textarea { font-family:inherit; }
main h1,main h2,main h3 { line-height:1.48; letter-spacing:normal; }
main h1 { font-weight:850; text-wrap:balance; }
main h2 { font-weight:780; }
main h3 { font-weight:730; }
main p, main li { overflow-wrap:break-word; }
main p { text-wrap:pretty; }
.header__inner { gap:.7rem; }
.header__inner .logo { min-width:0; flex-shrink:0; }
.header__inner .logo__text { line-height:1.38; gap:.1rem; }
.header__inner .logo__sub { color:var(--primary-dark); font-size:.72rem; font-weight:650; }
.nav a:not(.btn), .nav__more summary { font-weight:660; }
.home-page .hero.titi-front { text-align:start; }
.hero.titi-front h1 { max-inline-size:15ch; font-size:clamp(2rem,4.2vw,3.8rem); margin-block:.3rem .85rem; line-height:1.36; }
.hero.titi-front .titi-front__intro { max-inline-size:30rem; line-height:1.9; }
.hero.titi-front .titi-front__actions,.home-page .hero.titi-front .hero__actions.titi-front__links {
  justify-content:flex-start; align-items:center; text-align:start; gap:.6rem 1rem;
}
.hero.titi-front .titi-front__actions { margin-block-start:1.2rem; }
.home-page .hero.titi-front .hero__actions.titi-front__links { margin-block-start:.7rem; }
.titi-front__links a { display:inline-flex; min-height:40px; align-items:center; }
.titi-front__link-divider { color:#bcd3ec; align-self:center; font-size:.72rem; }
.titi-features a { align-content:start; text-align:start; gap:.22rem; }
.titi-features strong { font-weight:760; line-height:1.55; }
.titi-features span { line-height:1.7; }
.section__head,.page-hero .container { text-align:center; }
.section__head { margin-block-end:clamp(1.05rem,3vw,2.1rem); }
.section__head p,.page-hero .container > p { max-inline-size:39rem; margin-inline:auto; line-height:1.85; }
.article__hero,.article__body,.story-card,.tool-directory article,.contact__text,.home-slide,.home-topic { text-align:start; }
.article__body > p,.contact__text > p,.home-slide > p { max-inline-size:var(--reading-width); }
.contact__text > p,.home-slide > p { margin-block:.45rem .8rem; }
.home-topic > summary { line-height:1.65; }
.home-slide h2 { margin-block-end:.35rem; }
.logo__img.titi-symbol { display:block; width:48px; height:48px; flex:none; }
.titi-symbol svg { display:block; width:100%; height:100%; }
.titi-symbol .titi-book-lines { transform-box:view-box; transform-origin:48px 45px; }
@keyframes titi-book-unfold {
  0% { transform:scaleX(.18) scaleY(.88); }
  60% { transform:scaleX(1.026) scaleY(1.01); }
  100% { transform:scale(1); }
}
@media (prefers-reduced-motion:no-preference) {
 .home-page .titi-symbol .titi-book-lines { animation:titi-book-unfold .78s cubic-bezier(.22,.62,.31,1) .13s 1 both; }
}
@media (max-width:680px) {
  .titi-front__inner { padding-block:clamp(1.7rem,6.6vw,2.7rem); gap:1.2rem; }
  .hero.titi-front h1 { max-inline-size:16ch; }
  .titi-features { padding-block:1rem; }
  .topbar__links { gap:.65rem; }
  .header__inner .logo__sub { font-size:.67rem; }
}
@media (max-width:355px) {
 .logo__img.titi-symbol { width:42px;height:42px; }
 .hero.titi-front .titi-front__actions a { flex:1 1 auto; }
}


@font-face { font-family:Estedad; src:url('/fonts/Estedad-v85.woff2') format('woff2'); font-style:normal; font-display:swap; font-weight:100 900; }
body { font-family:Estedad,Vazirmatn,Tahoma,'Segoe UI',sans-serif; font-size:clamp(.93rem,.89rem + .24vw,1.04rem); line-height:1.88; }
body input,body button,body select,body textarea { font-family:inherit; }
main h1,main h2,main h3 { font-weight:760; line-height:1.45; }
.logo__img.titi-symbol { width:56px; height:56px; }
@keyframes titi-book-unfold-clear { 0%,12% {transform:scaleX(.065) scaleY(.66);} 83%,100% {transform:scaleX(1.13) scaleY(1.04);} }
@media(prefers-reduced-motion:no-preference) {
 .home-page .titi-symbol .titi-book-lines { animation:titi-book-unfold-clear 1.65s cubic-bezier(.27,.61,.32,1) .18s 1 both; }
}
@media(prefers-reduced-motion:reduce) { .titi-symbol .titi-book-lines { animation:none;transform:scaleX(1.13) scaleY(1.04); } }
.hero.titi-front { overflow:hidden; }
.titi-front__inner { grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr); gap:clamp(1.6rem,6.6vw,6.6rem);padding-block:clamp(2.4rem,6vw,5.35rem); }
.hero.titi-front .titi-front__eyebrow {color:#b4d2ec; font-size:.84rem; font-weight:680; }
.hero.titi-front h1 { max-inline-size:unset; font-size:clamp(2.02rem,4.2vw,3.8rem); margin-block:.45rem .8rem; font-weight:830; }
.front-title-line { display:block; color:#bcdafa; }
.hero.titi-front .titi-front__intro { max-inline-size:27rem; }
.titi-front__outline {border-color:#86a8cc;}
.front-plan-demo { min-width:0; max-width:32rem; width:100%; align-self:center; justify-self:center; color:#142d4e; background:#fff; border:1px solid #d5e0ed; border-radius:1.15rem; padding:1.05rem 1.15rem; box-shadow:0 12px 32px #071a3548; text-align:start; }
.front-plan-demo__top {display:flex; align-items:center; justify-content:space-between; gap:.3rem; padding-block-end:.7rem; border-block-end:1px solid #d9e3ef;}
.front-plan-demo h2 { font-size:clamp(1.08rem,2.1vw,1.42rem); color:#142d4e; }
.front-plan-demo .front-plan-demo__top p {color:#536982; font-size:.74rem; margin:0;}
.front-plan-demo__label { flex-shrink:0; background:#e9f2fb; color:#20588e; border-radius:999px; padding:.12rem .55rem; font-size:.72rem; white-space:nowrap; }
.front-plan-demo__list { list-style:none; display:grid; margin:0; padding:0; }
.front-plan-demo__list li { min-width:0; display:grid; grid-template-columns:1.62rem minmax(0,1fr) max-content; gap:.58rem; align-items:center; padding:.48rem 0; border-block-end:1px solid #e6edf5; font-size:.85rem; }
.front-plan-demo__list li>span:last-child {color:#536982;font-size:.75rem;}
.front-plan-demo__num { display:grid; place-items:center; line-height:1.6; aspect-ratio:1; background:#e7f6f1; color:#136650; border-radius:50%; font-weight:740; }
.front-plan-demo__link {display:flex; align-items:center; gap:.45rem; color:#215d98; padding-block:.5rem .1rem; text-decoration:underline; text-underline-offset:.25em; font-weight:680; font-size:.84rem; min-height:40px;}
.front-plan-demo__link:focus-visible {outline-color:#215d98!important}
.titi-features>a {padding:1rem;}
.titi-features a>strong { font-size:1.02rem; }
.contact-bale { display:flex; align-items:center; gap:.55rem; }
.contact-bale__icon { width:1.15rem; height:1.15rem; flex:none; }
.contact-bale__wait {color:var(--muted);font-size:.77em;}
@media (max-width:680px) {
 .titi-front__inner {grid-template-columns:1fr; gap:1.2rem; padding-block:1.6rem;}
 .titi-front__copy {text-align:center;}
 .hero.titi-front h1 {font-size:clamp(1.8rem,6.5vw,2.55rem);max-inline-size:none;margin-inline:auto;line-height:1.37;}
 .hero.titi-front .titi-front__intro {margin-inline:auto;max-inline-size:23rem;font-size:.9rem;line-height:1.85;}
 .hero.titi-front .titi-front__actions,.home-page .hero.titi-front .hero__actions.titi-front__links {justify-content:center;gap:.45rem .75rem;}
 .hero.titi-front .titi-front__actions {margin-block-start:.85rem;}
 .hero.titi-front .titi-front__actions a {min-height:44px;padding:.42rem .85rem;font-size:.88rem;}
 .home-page .hero.titi-front .hero__actions.titi-front__links {margin-block-start:.3rem;}
 .front-plan-demo { padding:.7rem .8rem; }
 .titi-features >a { padding:.6rem; }
 .titi-features a>strong { font-size:.79rem; }
}
@media(max-width:355px) {.logo__img.titi-symbol{width:48px;height:48px}.front-plan-demo__label{font-size:.65rem}}

.topbar { position:relative; padding-left:58px; min-height:48px; }
.topbar .topbar__inner { min-height:48px; height:auto; }
#public-theme { position:absolute; top:50%; left:max(6px,env(safe-area-inset-left)); transform:translateY(-50%); width:44px; height:44px; padding:0; border:1px solid #8296ab; border-radius:50%; background:#213951; color:#fff; font:24px/1 system-ui,sans-serif; cursor:pointer; }
#public-theme:focus-visible { outline:3px solid #ffcf65; outline-offset:1px; }
html[data-theme=light] {color-scheme:light}
html[data-theme=dark],html[data-theme=dark] body {
 color-scheme:dark; --bg:#101923; --bg-alt:#152130; --surface:#1c2a3a; --inner:#213244; --border:#486079; --text:#e3eaf2; --muted:#bbcbda; --heading:#eff6fc; --ink:#eff6fc; --navy:#e8f4ff; --primary:#81baf3; --primary-light:#a8cdf9; --primary-dark:#b1d6fb; --soft:#283c51; --accent:#80ded1; --teal:#80ded1; --grad:#2f639c; background:#101923; color:var(--text);
}
html[data-theme=dark] body :is(.header,.header.is-scrolled,.nav__menu,.mobile-bar,.form,.quiz,.story-card,.front-plan-demo,.front-plan-demo__list li,.titi-features a,.home-topic,.home-slide,.tool-directory article,.hero__card,.card,.plan,.career-card,.career-note,.contact,.faq details,.compare,.article__body blockquote,details.est-pct) {background:var(--surface);color:var(--text);border-color:var(--border)}
html[data-theme=dark] body :is(.section--alt,.page-hero,.article__hero,.footer,.section--cta,.section--dark,.section--light,.quiz__option,.tab,.est-coverage,.est-hint,.career-result,th) {background:var(--bg-alt);color:var(--text)}
html[data-theme=dark] body :is(h1,h2,h3,h4,label,summary,.logo__en,.titi-features strong,.front-plan-demo strong,.story-card__title) {color:var(--heading)}
html[data-theme=dark] body :is(p,small,.titi-features span,.front-plan-demo__list li>span,.story-card__result,.article__lead,.quiz__note) {color:var(--muted)}
html[data-theme=dark] body :is(input,textarea,select,.btn--ghost,.nav__menu a) {background:var(--inner); color:var(--text)!important; border-color:var(--border)}
html[data-theme=dark] body .btn:not(.btn--ghost),html[data-theme=dark] body .tab.is-active {background:#285e93;color:white!important}
html[data-theme=dark] body .nav>a:not(.btn),html[data-theme=dark] body .article__back,html[data-theme=dark] body .season-guide a {color:var(--primary)}
html[data-theme=dark] body .hero.titi-front {background:#112842}
html[data-theme=dark] body .front-plan-demo__num,html[data-theme=dark] body .front-plan-demo__label {background:#28405b;color:#dcecff}
html[data-theme=dark] body .menu-toggle span {background:#dcecff}
html[data-theme=dark] body .compare tr:nth-child(even) td {background:var(--inner)}
@media(max-width:900px){html[data-theme=dark] body .nav.is-open {background:var(--surface)}}
.est-records {margin-block:1.2rem;}.est-records summary {cursor:pointer;font-weight:700}.est-records table {width:100%}.est-records a {text-decoration:underline}


body:has(.header > #public-theme) .header {position:relative;padding-left:56px}
