/* ══════════════════════════════════════════════
   علی نریمان — کاتالوگ آموزشی و بالینی
   پالت کاربر: Wine Burgundy #631626 · Warm Taupe #8C7D70 · Cream #E2DDD5
   ══════════════════════════════════════════════ */

@font-face {
    font-family: VZ;
    src: url("../fonts/Vazir.eot");
    src: url("../fonts/Vazir.woff2") format("woff2"),
    url("../fonts/Vazir.woff") format("woff"),
    url("../fonts/Vazir.ttf") format("truetype");
}

@font-face {
    font-family: VZ-Bold;
    src: url("../fonts/Vazir-Bold.eot");
    src: url("../fonts/Vazir-Bold.woff2") format("woff2"),
    url("../fonts/Vazir-Bold.woff") format("woff"),
    url("../fonts/Vazir-Bold.ttf") format("truetype");
}

@font-face {
    font-family: comfortaa;
    src: url("../fonts/comfortaa.eot");
    src: url("../fonts/comfortaa.woff") format("woff"),
    url("../fonts/comfortaa.woff2") format("woff2"),
    url("../fonts/comfortaa.ttf") format("truetype");
}

@font-face {
    font-family: comfortaa-Bold;
    src: url("../fonts/Comfortaa-Bold.eot");
    src: url("../fonts/Comfortaa-Bold.woff") format("woff"),
    url("../fonts/Comfortaa-Bold.woff2") format("woff2"),
    url("../fonts/Comfortaa-Bold.ttf") format("truetype");
}


@font-face {
    font-family: Samim-FD;
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/Samim-FD.eot');
    src: url('../fonts/Samim-FD.eot') format("embedded-opentype"),
    url('../fonts/Samim-FD.woff2') format("woff2"),
    url('../fonts/Samim-FD.woff') format("woff"),
    url('../fonts/Samim-FD.ttf') format("truetype");
}



:root {
    --bg: #f1ede6;
    --bg-2: #e9e3d9;
    --surface: #faf7f1;
    --surface-2: #ffffff;
    --line: rgba(99, 22, 38, .12);
    --line-2: rgba(99, 22, 38, .26);
    --text: #2b1a1e;
    --muted: #6f6259;
    --faint: #9b8f85;
    --gold: #631626; /* رنگ اصلی: burgundy */
    --gold-2: #8a2739; /* burgundy روشن‌تر برای متن کوچک */
    --gold-deep: #470e1a;
    --sand: #e6c9a4; /* رنگ ماسه‌ای گرم برای فوتر تیره */
    --ink: #f4efe8; /* متن روی زمینهٔ burgundy */
    --r: 18px;
    --font: 'Vazirmatn', 'Segoe UI', Tahoma, sans-serif;
    --shadow: 0 24px 60px -18px rgba(74, 16, 26, .28);
    --ease: cubic-bezier(.22, .8, .24, 1);
}
* {
    font-family: 'VZ';
}
.farsi-digit {
    font-family: Samim-FD;
    font-family: 'VZ' !important;
}
.farsi-digit *{
    font-family: Samim-FD !important;
    font-family: 'VZ' !important;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth
}

body {
    font-family: 'VZ';
    background: var(--bg);
    color: var(--text);
    line-height: 1.9;
    overflow-x: hidden;
    font-size: 16px;
}

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

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

ul {
    list-style: none
}

button {
    font-family: inherit;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit
}

::selection {
    background: var(--gold);
    color: var(--ink)
}

::-webkit-scrollbar {
    width: 10px
}

::-webkit-scrollbar-track {
    background: var(--bg)
}

::-webkit-scrollbar-thumb {
    background: #cbbfb2;
    border-radius: 8px
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-2)
}

.wrap {
    width: min(1180px, 92%);
    margin-inline: auto
}

.ic {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex: none
}

/* ── نوار پیشرفت ── */
.progress {
    position: fixed;
    top: 0;
    right: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(90deg, var(--gold-deep), var(--gold-2));
    z-index: 120
}

/* ── هدر ── */
.site-head {
    position: fixed;
    inset-inline: 0;
    top: 0;
    z-index: 100;
    background: rgba(242, 238, 231, .78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    transition: background .4s, box-shadow .4s;
}

.site-head.scrolled {
    background: rgba(246, 242, 235, .95);
    box-shadow: 0 10px 40px -12px rgba(74, 16, 26, .18)
}

.head-in {
    display: flex;
    align-items: center;
    gap: 28px;
    height: 76px;
    justify-content: space-between;
}

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

.brand-mark svg {
    width: 42px;
    height: 42px;
    fill: none
}

.brand-mark rect {
    fill: rgba(99, 22, 38, .07);
    stroke: var(--gold);
    stroke-width: 1.4
}

.brand-mark text {
    fill: var(--gold);
    font-size: 24px;
    font-family: serif
}

.brand-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.4
}

.brand-txt strong {
    font-size: 1.06rem;
    font-weight: 800
}

.brand-txt em {
    font-style: normal;
    font-size: .68rem;
    color: var(--muted);
    letter-spacing: .02em
}

.main-nav {
    display: flex;
    gap: 4px;
    margin-inline-start: auto
}

.main-nav a {
    position: relative;
    padding: 8px 13px;
    font-size: .88rem;
    color: var(--muted);
    border-radius: 10px;
    transition: color .3s;
}

.main-nav a::after {
    content: "";
    position: absolute;
    bottom: 2px;
    right: 13px;
    left: 13px;
    height: 2px;
    border-radius: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .35s var(--ease);
}

.main-nav a:hover, .main-nav a.on {
    color: var(--text)
}

.main-nav a:hover::after, .main-nav a.on::after {
    transform: scaleX(1)
}

.head-cta {
    display: flex;
    align-items: center;
    gap: 12px
}

/* دکمه‌ها */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 26px;
    border-radius: 12px;
    font-size: .92rem;
    font-weight: 700;
    transition: transform .3s var(--ease), box-shadow .3s, background .3s, color .3s;
    border: 1px solid transparent;
}

.btn-gold {
    background: linear-gradient(135deg, #8a2739, var(--gold) 55%, var(--gold-deep));
    color: var(--ink);
    box-shadow: 0 10px 30px -10px rgba(99, 22, 38, .45)
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px -10px rgba(99, 22, 38, .55)
}

.btn-ghost {
    border-color: var(--line-2);
    color: var(--text);
    background: rgba(255, 255, 255, .25)
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold-2);
    transform: translateY(-3px)
}

.btn-sm {
    padding: 9px 18px;
    font-size: .82rem;
    border-radius: 10px
}

.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px
}

.burger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: .35s var(--ease)
}

body.nav-open .burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg)
}

body.nav-open .burger span:nth-child(2) {
    opacity: 0
}

body.nav-open .burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg)
}

/* ── هیرو / اسلایدر ── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-top: 120px;
    overflow: hidden
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .55
}

.orb-a {
    width: 520px;
    height: 520px;
    top: -160px;
    right: -120px;
    background: radial-gradient(circle, rgba(99, 22, 38, .20), transparent 70%)
}

.orb-b {
    width: 420px;
    height: 420px;
    bottom: 6%;
    left: -140px;
    background: radial-gradient(circle, rgba(140, 125, 112, .32), transparent 70%)
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 20%, transparent 75%);
}

.hero-word {
    position: absolute;
    bottom: -4%;
    left: 2%;
    font-family: serif;
    font-size: clamp(9rem, 22vw, 20rem);
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(99, 22, 38, .12);
    user-select: none;
}

.hero-in {
    position: relative;
    display: grid;
    grid-template-columns:1.08fr .92fr;
    gap: 56px;
    align-items: center;
    padding-block: 34px 70px;
    flex: 1;
}

.hero-copy {
    position: relative
}

.slides {
    position: relative;
    min-height: 280px
}

.slide {
    display: none
}

.slide.is-active {
    display: flex;
    flex-direction: column;
    justify-content: center;
    animation: slideIn .7s var(--ease)
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(26px)
    }
    to {
        opacity: 1;
        transform: none
    }
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold-2);
    font-size: .86rem;
    font-weight: 600;
    margin-bottom: 18px
}

.eyebrow .line {
    width: 44px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent)
}

.slide h1 {
    font-size: clamp(2.5rem, 5.4vw, 4.3rem);
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #4a101c;
}

.lead {
    font-size: 1.06rem;
    color: var(--muted);
    max-width: 56ch
}

.lead b {
    color: var(--text)
}

.lead.quote {
    font-size: clamp(1.2rem, 2.4vw, 1.7rem);
    color: var(--text);
    font-weight: 700;
    line-height: 2;
    border-inline-start: 3px solid var(--gold);
    padding-inline-start: 22px
}

.slide-note {
    margin-top: 20px;
    color: var(--muted);
    font-size: .95rem;
    max-width: 56ch
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap
}

.pillar-list {
    margin-top: 8px;
    max-width: 520px
}

.pillar-list li {
    display: flex;
    gap: 16px;
    align-items: baseline;
    padding: 16px 4px;
    border-bottom: 1px dashed var(--line-2)
}

.pillar-list li:last-child {
    border-bottom: none
}

.pillar-list b {
    color: var(--gold-2);
    font-size: 1.05rem;
    flex: none;
    min-width: 108px
}

.pillar-list span {
    color: var(--muted);
    font-size: .95rem
}

.slider-ui {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 22px
}

.dots {
    display: flex;
    gap: 8px
}

.dots button {
    width: 26px;
    height: 4px;
    border-radius: 4px;
    background: var(--line-2);
    transition: .4s var(--ease);
    position: relative;
    overflow: hidden
}

.dots button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .3s
}

.dots button.on {
    width: 44px
}

.dots button.on::after {
    transform: scaleX(1)
}

.dots button.on.auto::after {
    transition: transform 6s linear
}

.arrows {
    display: flex;
    gap: 8px;
    margin-inline-start: auto
}

.arr {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-2);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--muted);
    transition: .3s
}

.arr svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.arr:hover {
    border-color: var(--gold);
    color: var(--gold-2);
    transform: translateY(-2px)
}

.slide-count {
    font-size: .8rem;
    color: var(--faint);
    letter-spacing: .14em;
    font-weight: 600
}

.hero-visual {
    position: relative;
    justify-self: end;
    width: min(430px, 100%)
}

.frame {
    position: relative
}

.frame img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: 50% 22%;
    border-radius: 22px;
    border: 1px solid var(--line-2);
    box-shadow: var(--shadow);
    filter: saturate(.92) contrast(1.04);
}

.frame-line {
    position: absolute;
    inset: -16px;
    border: 1px solid rgba(99, 22, 38, .45);
    border-radius: 26px;
    transform: rotate(-2.4deg);
    pointer-events: none;
}

.rot-badge {
    position: absolute;
    top: -52px;
    left: -34px;
    width: 120px;
    height: 120px;
    z-index: 3;
    pointer-events: none
}

.rot-badge svg {
    width: 100%;
    height: 100%;
    animation: spin 26s linear infinite
}

.rot-badge text {
    font-size: 13.5px;
    fill: var(--gold-2);
    letter-spacing: 1px;
    font-weight: 700
}

.rot-badge::after {

    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: serif;
    font-size: 2.3rem;
    color: var(--gold)
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(252, 249, 244, .9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--line-2);
    border-radius: 14px;
    padding: 10px 16px;
    font-size: .78rem;
    color: var(--muted);
    box-shadow: 0 14px 34px -12px rgba(74, 16, 26, .28);
    animation: float 7s ease-in-out infinite;
}

.chip b {
    color: var(--gold-2);
    font-size: .95rem
}

.chip-a {
    top: 8%;
    right: -34px
}

.chip-b {
    bottom: 16%;
    left: -40px;
    animation-delay: 1.6s
}

.chip-c {
    bottom: -4%;
    right: 12%;
    animation-delay: 3.1s
}

.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 10px 14px;
    box-shadow: 0 20px 44px -18px rgba(74, 16, 26, .35);
    animation: float 7s ease-in-out infinite;
    z-index: 2
}

.fc-ava {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 20%
}

.fc-txt {
    display: flex;
    flex-direction: column;
    line-height: 1.5
}

.fc-txt b {
    font-size: .8rem;
    font-weight: 800
}

.fc-txt em {
    font-style: normal;
    font-size: .68rem;
    color: var(--muted)
}

.fc-rate {
    background: rgba(99, 22, 38, .08);
    color: var(--gold-2);
    font-size: .72rem;
    font-weight: 800;
    padding: 4px 9px;
    border-radius: 9px
}

.fc-ic {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--gold);
    color: var(--ink);
    display: grid;
    place-items: center;
    font-family: serif;
    font-size: 1.15rem
}

.fc-a {
    top: 6%;
    right: -34px
}

.fc-b {
    bottom: 16%;
    left: -40px;
    animation-delay: 1.6s
}

.hero-tools {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 26px;
    flex-wrap: wrap
}

.hero-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gold-2);
    font-size: .85rem;
    font-weight: 800;
    border-bottom: 1.5px solid rgba(99, 22, 38, .35);
    padding-bottom: 3px;
    transition: .3s
}

.hero-link:hover {
    color: var(--gold);
    border-color: var(--gold)
}

.hero-link .ic {
    transition: transform .3s
}

.hero-link:hover .ic {
    transform: translateX(-4px)
}

.search-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 280px;
    max-width: 540px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 7px;
    box-shadow: 0 14px 34px -20px rgba(74, 16, 26, .35)
}

.search-pill .ic {
    color: var(--faint);
    width: 18px;
    height: 18px;
    margin-inline-start: 12px
}

.search-pill input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: inherit;
    font-size: .88rem;
    color: var(--text);
    min-width: 0
}

.search-pill input::placeholder {
    color: var(--faint)
}

.search-pill .btn {
    border-radius: 999px
}

.social-proof {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .78rem;
    color: var(--muted)
}

.social-proof b {
    color: var(--gold-2)
}

.avatars {
    display: flex
}

.avatars i {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-style: normal;
    font-size: .7rem;
    color: #f4efe8;
    border: 2px solid var(--bg);
    margin-inline-start: -8px
}

.avatars i:first-child {
    margin-inline-start: 0
}

.avatars i:nth-child(1) {
    background: #631626
}

.avatars i:nth-child(2) {
    background: #8c7d70
}

.avatars i:nth-child(3) {
    background: #470e1a
}

.avatars i:nth-child(4) {
    background: #a5968a
}

@keyframes float {
    0%, 100% {
        transform: translateY(0)
    }
    50% {
        transform: translateY(-10px)
    }
}

/* ── نوار مزایا ── */
.feat-strip {
    border-block: 1px solid var(--line);
    background: var(--surface)
}

.feat-in {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 18px;
    padding-block: 26px
}

.feat-in .feat {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center
}

.f-ic {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: rgba(99, 22, 38, .07);
    border: 1px solid rgba(99, 22, 38, .16);
    color: var(--gold-2);
    display: grid;
    place-items: center
}

.f-ic svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round
}

.f-txt b {
    display: block;
    font-size: .88rem;
    font-weight: 800
}

.f-txt em {
    font-style: normal;
    font-size: .7rem;
    color: var(--muted)
}

/* ── سرتیتر بخش‌ها ── */
.sec {
    padding: 104px 0
}

.sec-alt {
    background: var(--bg-2);
    border-block: 1px solid var(--line)
}

.sec-head {
    margin-bottom: 52px;
    max-width: 720px
}

.sec-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--gold-2);
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 14px
}

.sec-eyebrow span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(99, 22, 38, .35);
    border-radius: 10px;
    font-size: .8rem;
    color: var(--gold-2);
    background: rgba(99, 22, 38, .06);
}

.sec-head h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    font-weight: 900;
    margin-bottom: 12px;
    color: var(--gold-deep)
}

.sec-sub {
    color: var(--muted);
    font-size: 1rem
}

/* ── دوره‌های تخصصی ── */
.course-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 20px
}

.course-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, #fffcf8, var(--surface));
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 16px 16px 18px;
    transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
}

.course-card::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity .4s;
}

.course-card:hover {
    transform: translateY(-7px);
    border-color: rgba(99, 22, 38, .35);
    box-shadow: var(--shadow)
}

.course-card:hover::before {
    opacity: 1
}

.course-card, .gen-card, .pod-feat {
    box-shadow: 0 12px 34px -24px rgba(74, 16, 26, .28)
}

.c-thumb {
    position: relative;
    aspect-ratio: 16/10;
    margin: 0 0 16px;
    overflow: hidden;
    background: var(--bg);
    border-radius: 12px;
    border: 1px solid var(--line)
}

.c-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease)
}

.course-card:hover .c-thumb img {
    transform: scale(1.05)
}

.c-thumb .rate {
    position: absolute;
    bottom: 10px;
    inset-inline-end: 10px;
    z-index: 3;
    margin: 0;
    background: rgba(255, 252, 248, .94);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(99, 22, 38, .25);
    border-radius: 10px;
    padding: 4px 11px;
    box-shadow: 0 6px 16px -8px rgba(74, 16, 26, .35);
}

.c-num {
    position: absolute;
    bottom: -16px;
    inset-inline-start: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--surface-2);
    border: 1px solid rgba(99, 22, 38, .35);
    color: var(--gold-2);
    font-size: .85rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    padding: 0;
    box-shadow: 0 10px 22px -8px rgba(74, 16, 26, .35);
}

.c-badge {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    z-index: 3;
    margin: 0;
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(255, 252, 248, .92);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(99, 22, 38, .3);
    color: var(--gold-2);
    font-size: .66rem;
    font-weight: 700;
}

.course-card h3 {
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 8px
}

.course-card p {
    color: var(--muted);
    font-size: .83rem;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px
}

.tags span {
    padding: 4px 12px;
    border: 1px solid var(--line-2);
    border-radius: 999px;
    font-size: .72rem;
    color: var(--muted)
}

.c-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px dashed var(--line-2);
    font-size: .72rem;
    color: var(--muted)
}

.c-meta span {
    display: inline-flex;
    align-items: center;
    gap: 7px
}

.c-meta .ic {
    color: var(--gold-2)
}

.c-meta .rate {
    color: var(--gold-2);
    font-weight: 800
}

.c-meta .rate em {
    font-style: normal;
    color: var(--faint);
    font-weight: 400
}

.c-meta .teach {
    margin-inline-start: auto
}

.teach img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 20%;
    border: 1px solid var(--line-2)
}

.link-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 9px 14px;
    border: 1px solid var(--line-2);
    border-radius: 11px;
    color: var(--gold-2);
    font-size: .8rem;
    font-weight: 800;
    background: rgba(99, 22, 38, .03);
    transition: .3s;
}

.link-more:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink)
}

.link-more .ic {
    transition: transform .3s
}

.link-more:hover .ic {
    transform: translateX(-5px)
}

/* ── دوره‌های عمومی ── */
.gen-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 18px
}

.gen-card {
    display: block;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px 24px;
    transition: transform .4s var(--ease), border-color .4s, background .4s;
}

.gen-card:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 22, 38, .4);
    background: var(--surface-2)
}

.g-ic {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    margin-bottom: 16px;
    border: 1px solid rgba(99, 22, 38, .35);
    color: var(--gold-2);
    background: rgba(99, 22, 38, .06);
    transition: .4s;
}

.g-ic svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round
}

.gen-card:hover .g-ic {
    background: var(--gold);
    color: var(--ink)
}

.gen-card h3 {
    font-size: 1.04rem;
    font-weight: 800;
    margin-bottom: 8px
}

.gen-card p {
    color: var(--muted);
    font-size: .86rem;
    margin-bottom: 14px
}

.gen-card em {
    font-style: normal;
    font-size: .74rem;
    color: var(--gold-2)
}

.g-thumb {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 1px solid var(--line)
}

.g-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease)
}

.gen-card:hover .g-thumb img {
    transform: scale(1.06)
}

.g-thumb .g-ic {
    position: absolute;
    bottom: 10px;
    inset-inline-start: 10px;
    margin: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 252, 248, .95);
    border: 1px solid rgba(99, 22, 38, .28);
    box-shadow: 0 6px 16px -6px rgba(74, 16, 26, .35)
}

/* ── پادکست ── */
.pod-layout {
    display: grid;
    grid-template-columns:1.12fr .88fr;
    gap: 26px;
    align-items: start
}

.pod-feat {
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    background: var(--surface);
    transition: transform .45s var(--ease), box-shadow .45s, border-color .45s;
}

.pod-feat:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 22, 38, .35);
    box-shadow: var(--shadow)
}

.pod-thumb {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9.4
}

.pod-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--ease);
    filter: saturate(.85)
}

.pod-feat:hover .pod-thumb img {
    transform: scale(1.06)
}

.play {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 66px;
    height: 66px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(99, 22, 38, .94);
    color: var(--ink);
    box-shadow: 0 0 0 0 rgba(99, 22, 38, .5);
    animation: pulse 2.6s infinite;
}

.play svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    margin-right: -3px
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(99, 22, 38, .45)
    }
    70% {
        box-shadow: 0 0 0 22px rgba(99, 22, 38, 0)
    }
    100% {
        box-shadow: 0 0 0 0 rgba(99, 22, 38, 0)
    }
}

.dur {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(43, 16, 24, .82);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(244, 239, 232, .25);
    border-radius: 8px;
    padding: 3px 10px;
    font-size: .72rem;
    color: #f1e4da
}

.pod-body {
    padding: 26px
}

.p-eyebrow {
    color: var(--gold-2);
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 8px
}

.pod-body h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px
}

.pod-body p {
    color: var(--muted);
    font-size: .92rem;
    margin-bottom: 16px
}

.pod-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.pod-meta span {
    padding: 5px 13px;
    border: 1px dashed var(--line-2);
    border-radius: 999px;
    font-size: .72rem;
    color: var(--muted)
}

.pod-list {
    display: flex;
    flex-direction: column;
    gap: 13px
}

.pod-item {
    display: grid;
    grid-template-columns:104px 1fr;
    gap: 16px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    background: var(--surface);
    transition: .35s var(--ease);
}

.pod-item:hover {
    border-color: rgba(99, 22, 38, .4);
    background: var(--surface-2);
    transform: translateX(-6px)
}

.p-thumb {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/10
}

.p-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(.85)
}

.p-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #f1e4da;
    font-size: .8rem;
    background: rgba(43, 16, 24, .4);
    opacity: 0;
    transition: .3s;
}

.pod-item:hover .p-play {
    opacity: 1
}

.p-info b {
    display: block;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.7
}

.p-info em {
    font-style: normal;
    font-size: .74rem;
    color: var(--faint)
}

/* ── کتاب‌ها ── */
.book-grid {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 22px
}

.book {
    perspective: 900px
}

.cover {
    position: relative;
    aspect-ratio: 2/3;
    border-radius: 8px 14px 14px 8px;
    overflow: hidden;
    box-shadow: 0 22px 44px -16px rgba(74, 16, 26, .4);
    transform: rotateY(-14deg);
    transition: transform .55s var(--ease), box-shadow .55s;
    border: 1px solid var(--line-2);
    color: var(--ink);
    background-size: contain;
}

.book:hover .cover {
    transform: rotateY(0) translateY(-8px);
    box-shadow: 0 30px 60px -18px rgba(74, 16, 26, .5)
}

.cover::before {

    position: absolute;
    bottom: -14%;
    left: -4%;
    font-family: serif;
    font-size: 9rem;
    line-height: 1;
    color: rgba(244, 239, 232, .07);
}

.spine {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    width: 12px;
    background: linear-gradient(90deg, rgba(0, 0, 0, .5), transparent);
    z-index: 2
}

.cv-in {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 26px 24px;
    z-index: 1
}

.cv-in em {
    font-style: normal;
    font-size: .72rem;
    color: var(--sand);
    border-bottom: 1px solid rgba(244, 239, 232, .18);
    padding-bottom: 12px
}

.cv-in b {
    font-size: 1.22rem;
    font-weight: 900;
    line-height: 1.7
}

.cv-in i {
    font-style: normal;
    font-size: .8rem;
    color: rgba(244, 239, 232, .72)
}

.cv-a {
    background: linear-gradient(160deg, #7a2434, #470e1a 70%)
}

.cv-b {
    background: linear-gradient(160deg, #8c7d70, #57493d 70%)
}

.cv-c {
    background: linear-gradient(160deg, #631626, #33101a 70%)
}

.cv-d {
    background: linear-gradient(160deg, #4b3f36, #2b211b 70%)
}

.b-info {
    padding-top: 20px
}

.b-info h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 8px
}

.b-state {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 700;
    margin-bottom: 10px
}

.st-pub {
    background: rgba(99, 22, 38, .08);
    border: 1px solid rgba(99, 22, 38, .35);
    color: var(--gold-2)
}

.st-soon {
    background: rgba(140, 125, 112, .14);
    border: 1px solid rgba(140, 125, 112, .45);
    color: #6f6259
}

.b-info p {
    color: var(--muted);
    font-size: .84rem
}

/* ── دانشنامه ── */
.ency {
    display: grid;
    grid-template-columns:300px 1fr;
    gap: 26px;
    align-items: start
}

.ency-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: sticky;
    top: 96px
}

.e-tab {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: right;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px 14px;
    transition: .35s var(--ease);
    background: var(--surface);
}

.e-tab img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 20%;
    border: 1px solid var(--line-2);
    filter: grayscale(1) sepia(.22) contrast(1.05)
}

.e-tab span {
    display: flex;
    flex-direction: column;
    line-height: 1.6
}

.e-tab b {
    font-size: .95rem;
    font-weight: 800
}

.e-tab em {
    font-style: normal;
    font-size: .72rem;
    color: var(--muted)
}

.e-tab:hover {
    border-color: var(--line-2);
    transform: translateX(-4px)
}

.e-tab.is-active {
    background: var(--surface-2);
    border-color: rgba(99, 22, 38, .45);
    box-shadow: 0 14px 34px -14px rgba(74, 16, 26, .3)
}

.e-tab.is-active img {
    filter: grayscale(.5) sepia(.15) contrast(1.05)
}

.e-panel {
    display: none
}

.e-panel.is-active {
    display: grid;
    grid-template-columns:290px 1fr;
    gap: 30px;
    animation: slideIn .6s var(--ease)
}

.e-photo {
    position: relative;
    overflow: hidden;
    border-radius: 18px
}

.e-photo img {
    width: 100%;
    aspect-ratio: 4/5;
    object-fit: cover;
    object-position: 50% 18%;
    border-radius: 18px;
    border: 1px solid var(--line-2);
    filter: grayscale(.85) sepia(.25) contrast(1.05);
}

img.crop-top {
    object-position: 62% 30%
}

.e-years {
    position: absolute;
    bottom: 14px;
    right: 14px;
    background: rgba(43, 16, 24, .85);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(230, 201, 164, .45);
    color: #f1e4da;
    border-radius: 10px;
    padding: 4px 14px;
    font-size: .78rem;
    font-weight: 700;
}

.e-body h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 6px;
    color: var(--gold-deep)
}

.e-body h3 i {
    font-style: normal;
    font-size: .85rem;
    color: var(--faint);
    font-weight: 400;
    margin-inline-start: 10px
}

.e-body > p {
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: 18px
}

.e-concepts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px
}

.e-concepts span {
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(99, 22, 38, .07);
    border: 1px solid rgba(99, 22, 38, .3);
    color: var(--gold-2);
    font-size: .74rem;
    font-weight: 600
}

.e-works {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 0 26px;
    margin-bottom: 20px
}

.e-works li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 2px;
    border-bottom: 1px dashed var(--line-2);
    font-size: .85rem
}

.e-works b {
    font-weight: 700
}

.e-works em {
    font-style: normal;
    color: var(--faint);
    font-size: .76rem
}

.e-body blockquote {
    border-inline-start: 3px solid var(--gold);
    background: var(--surface);
    border-radius: 0 14px 14px 0;
    padding: 16px 22px;
    color: var(--text);
    font-size: 1.02rem;
    font-weight: 600;
}

/* ── نوار دعوت ── */
.cta-band {
    padding: 56px 0;
    background: var(--bg-2);
    border-block: 1px solid var(--line)
}

.cta-in {
    position: relative;
    overflow: hidden;
    text-align: center;
    color: #f4efe8;
    background: linear-gradient(135deg, #7a2434, #631626 45%, #470e1a);
    border-radius: 26px;
    padding: 60px 36px;
    box-shadow: 0 30px 70px -30px rgba(74, 16, 26, .55);
}

.cta-in::before {

    position: absolute;
    top: -30px;
    left: 24px;
    font-family: serif;
    font-size: 11rem;
    line-height: 1;
    color: rgba(244, 239, 232, .06)
}

.cta-in p {
    color: var(--sand);
    font-size: .95rem;
    margin-bottom: 12px
}

.cta-in h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 900;
    margin-bottom: 8px;
    color: #fdf9f3
}

.cta-stats {
    display: flex;
    gap: 46px;
    justify-content: center;
    align-items: flex-end;
    margin: 30px 0 34px;
    flex-wrap: wrap
}

.cta-stats b {
    display: block;
    font-size: 2rem;
    font-weight: 900;
    color: var(--sand);
    line-height: 1.4
}

.cta-stats span {
    font-size: .74rem;
    color: rgba(244, 239, 232, .78)
}

.cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap
}

.cta-band .btn-gold {
    background: var(--sand);
    color: #3f0d18;
    box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .4)
}

.cta-band .btn-gold:hover {
    background: #f0d9b6
}

.cta-band .btn-ghost {
    border-color: rgba(244, 239, 232, .4);
    color: #f4efe8;
    background: transparent
}

/* ── فوتر (بورگوندی تیره) ── */
.site-foot {
    background: #3f0d18;
    color: #f1e8e2;
    padding-top: 70px;
    border-top: 1px solid rgba(230, 201, 164, .2);
    --line: rgba(244, 239, 232, .14);
    --line-2: rgba(244, 239, 232, .28);
    --muted: #d3c2ba;
    --faint: #a98f88;
    --text: #f4efe8;
    --gold-2: #e6c9a4;
    --surface: rgba(255, 255, 255, .07);
    --surface-2: rgba(255, 255, 255, .1);
}

.foot-grid {
    display: grid;
    grid-template-columns:1.35fr .75fr .85fr 1.15fr;
    gap: 44px;
    padding-bottom: 54px
}

.f-about p {
    color: var(--muted);
    font-size: .88rem;
    margin: 18px 0 22px
}

.f-about .brand {
    margin-bottom: 4px
}

.site-foot .brand-mark rect {
    fill: rgba(230, 201, 164, .1);
    stroke: var(--sand)
}

.site-foot .brand-mark text {
    fill: var(--sand)
}

.socials {
    display: flex;
    gap: 10px
}

.socials a {
    width: 40px;
    height: 40px;
    border: 1px solid var(--line-2);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: var(--muted);
    transition: .3s;
}

.socials a svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round
}

.socials a:hover {
    background: var(--sand);
    border-color: var(--sand);
    color: #3f0d18;
    transform: translateY(-4px)
}

.f-col h4 {
    font-size: .95rem;
    font-weight: 800;
    color: var(--gold-2);
    margin-bottom: 18px
}

.f-col a {
    display: block;
    color: var(--muted);
    font-size: .86rem;
    padding: 5px 0;
    transition: .25s
}

.f-col a:hover {
    color: var(--gold-2);
    transform: translateX(-5px)
}

.f-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: .85rem;
    padding: 5px 0
}

.f-contact .ic {
    color: var(--gold-2)
}

.news {
    display: flex;
    gap: 8px;
    margin-top: 16px
}

.news input {
    flex: 1;
    background: var(--surface);
    border: 1px solid var(--line-2);
    border-radius: 10px;
    padding: 10px 14px;
    color: var(--text);
    font-family: inherit;
    font-size: .82rem;
    outline: none;
    transition: .3s;
}

.news input:focus {
    border-color: var(--sand)
}

.news input::placeholder {
    color: var(--faint)
}

.site-foot .btn-gold {
    background: var(--sand);
    color: #3f0d18;
    box-shadow: none
}

.site-foot .btn-gold:hover {
    background: #f0d9b6
}

.foot-bar {
    border-top: 1px solid var(--line);
    padding: 20px 0
}

.foot-bar-in {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    color: var(--faint);
    font-size: .78rem
}

/* ── شناور ── */
.to-top {
    position: fixed;
    bottom: 26px;
    left: 26px;
    z-index: 90;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--surface-2);
    border: 1px solid var(--line-2);
    color: var(--gold-2);
    display: grid;
    place-items: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: .4s var(--ease);
}

.to-top svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round
}

.to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: none
}

.to-top:hover {
    background: var(--gold);
    color: var(--ink)
}

.toast {
    position: fixed;
    bottom: 30px;
    right: 50%;
    transform: translate(50%, 80px);
    z-index: 130;
    background: var(--surface-2);
    border: 1px solid rgba(99, 22, 38, .4);
    color: var(--text);
    border-radius: 14px;
    padding: 12px 26px;
    font-size: .86rem;
    box-shadow: var(--shadow);
    opacity: 0;
    transition: .45s var(--ease);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translate(50%, 0)
}

/* ── ریویل (فقط با JS؛ بدون JS همه‌چیز نمایان است) ── */
html.js .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s var(--ease), transform .8s var(--ease)
}

html.js .reveal.in {
    opacity: 1;
    transform: none
}

@media print {
    .reveal {
        opacity: 1 !important;
        transform: none !important
    }
}

.course-grid .reveal:nth-child(2), .gen-grid .reveal:nth-child(2), .pod-list .reveal:nth-child(2), .book-grid .reveal:nth-child(2) {
    transition-delay: .08s
}

.course-grid .reveal:nth-child(3), .gen-grid .reveal:nth-child(3), .pod-list .reveal:nth-child(3), .book-grid .reveal:nth-child(3) {
    transition-delay: .16s
}

.course-grid .reveal:nth-child(4), .gen-grid .reveal:nth-child(4), .pod-list .reveal:nth-child(4), .book-grid .reveal:nth-child(4) {
    transition-delay: .24s
}

.gen-grid .reveal:nth-child(5), .pod-list .reveal:nth-child(5) {
    transition-delay: .32s
}

.gen-grid .reveal:nth-child(6) {
    transition-delay: .4s
}

/* ── واکنش‌گرا ── */
@media (max-width: 1080px) {
    .course-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .hero-in {
        grid-template-columns:1fr;
        gap: 64px
    }

    .hero-visual {
        justify-self: center
    }

    .chip-a, .fc-a {
        right: -10px
    }

    .chip-b, .fc-b {
        left: -10px
    }

    .book-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .ency {
        grid-template-columns:1fr
    }

    .ency-nav {
        position: static;
        flex-direction: row;
        flex-wrap: wrap
    }

    .e-tab {
        flex: 1 1 220px
    }

    .e-panel.is-active {
        grid-template-columns:1fr
    }

    .e-photo {
        max-width: 340px
    }
}

@media (max-width: 960px) {
    .main-nav {
        position: fixed;
        top: 76px;
        right: 0;
        left: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(246, 242, 235, .97);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--line);
        padding: 14px 5%;
        transform: translateY(-12px);
        opacity: 0;
        pointer-events: none;
        transition: .4s var(--ease);
    }

    .main-nav a {
        padding: 13px 8px;
        border-bottom: 1px solid var(--line);
        border-radius: 0;
        font-size: .95rem
    }

    .main-nav a::after {
        display: none
    }

    body.nav-open .main-nav {
        transform: none;
        opacity: 1;
        pointer-events: auto
    }

    .burger {
        display: flex
    }

    .head-cta .btn {
        display: none
    }

    .pod-layout {
        grid-template-columns:1fr
    }

    .gen-grid {
        grid-template-columns:1fr 1fr
    }

    .feat-in {
        grid-template-columns:1fr 1fr;
        gap: 22px
    }

    .foot-grid {
        grid-template-columns:1fr 1fr
    }
}

@media (max-width: 620px) {
    .slider-ui {
        margin-top: -88px;
    }

    .course-grid {
        grid-template-columns:1fr
    }

    .slides {
        min-height: 360px
    }

    .gen-grid {
        grid-template-columns:1fr
    }

    .book-grid {
        grid-template-columns:1fr
    }

    .book .cover {
        max-width: 300px
    }

    .foot-grid {
        grid-template-columns:1fr
    }

    .e-works {
        grid-template-columns:1fr
    }

    .chip {
        font-size: .7rem;
        padding: 8px 12px
    }

    .chip-a, .fc-a {
        right: 0
    }

    .chip-b, .fc-b {
        left: 0
    }

    .rot-badge {
        width: 92px;
        height: 92px;
        top: -42px;
        left: -6px
    }

    .cta-in {
        padding: 44px 22px
    }

    .cta-stats {
        gap: 26px
    }

    .hero {
        padding-top: 96px
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important
    }
}

