/* =============================================
   فایل اصلی CSS - سایت استاد فرهنگی
   ============================================= */

/* فونت فارسی */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700&display=swap');

/* ریست */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* رنگ‌ها */
:root {
    --black:      #0B0B0C;
    --dark:       #131417;
    --gold:       #D4AF37;
    --gold-light: #F5D67B;
    --gold-dark:  #9E6C2B;
    --white:      #FAFAF8;
    --gray:       #B8B8B8;
    --gray-dark:  #6B6B6B;
}

/* پایه */
html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: 'Vazirmatn', sans-serif;
    direction: rtl;
    overflow-x: hidden;
    line-height: 1.7;
}

/* اسکرول‌بار */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* انتخاب متن */
::selection { background: rgba(212,175,55,0.3); }

/* =============================================
   کلاس‌های مشترک
   ============================================= */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* متن طلایی */
.gold-text {
    background: linear-gradient(135deg, #D4AF37, #F5D67B, #9E6C2B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* عنوان بخش */
.section-label {
    display: block;
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 6px;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(32px, 6vw, 64px);
    font-weight: 300;
    line-height: 1.15;
}

/* کارت شیشه‌ای */
.glass {
    background: rgba(255,255,255,0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212,175,55,0.12);
    border-radius: 20px;
}

/* خط جداکننده */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.15), transparent);
    margin: 0 24px;
}

/* انیمیشن ورود */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   دکمه‌ها
   ============================================= */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 13px;
    letter-spacing: 2px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: all 0.4s ease;
}

.btn-gold {
    background: linear-gradient(135deg, #9E6C2B, #D4AF37, #F5D67B);
    color: #0B0B0C;
    font-weight: 500;
    box-shadow: 0 8px 30px rgba(212,175,55,0.25);
}
.btn-gold:hover {
    box-shadow: 0 12px 50px rgba(212,175,55,0.45);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--gold);
    border: 1px solid rgba(212,175,55,0.4);
}
.btn-outline:hover {
    background: rgba(212,175,55,0.08);
    border-color: rgba(212,175,55,0.7);
}

/* =============================================
   لودینگ
   ============================================= */

#loading {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transition: opacity 0.8s ease;
}
#loading.hide {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-title {
    text-align: center;
}
.loading-title small {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 5px;
    display: block;
    margin-bottom: 6px;
}
.loading-title h2 {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 4px;
}

.loading-bar {
    width: 160px;
    height: 1px;
    background: rgba(255,255,255,0.08);
}
.loading-fill {
    height: 100%;
    background: linear-gradient(90deg, #9E6C2B, #D4AF37, #F5D67B);
    width: 0%;
    transition: width 0.1s linear;
}

/* =============================================
   نوار بالا (Nav)
   ============================================= */

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    transition: all 0.5s ease;
}
nav.scrolled {
    background: rgba(11,11,12,0.9);
    backdrop-filter: blur(20px);
    padding: 14px 0;
    border-bottom: 1px solid rgba(212,175,55,0.08);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--white);
}
.nav-logo-text span {
    display: block;
}
.nav-logo-text .small { color: var(--gold); font-size: 10px; letter-spacing: 4px; }
.nav-logo-text .big   { font-size: 14px; font-weight: 300; letter-spacing: 2px; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}
.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(212,175,55,0.35);
    color: var(--gold);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    transition: all 0.4s;
}
.nav-cta:hover {
    background: rgba(212,175,55,0.08);
    border-color: var(--gold);
}

/* منوی موبایل */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white);
    font-size: 22px;
}

#mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(11,11,12,0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
#mobile-menu.open { display: flex; }
#mobile-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 3px;
    transition: color 0.3s;
}
#mobile-menu a:hover { color: var(--gold); }

/* =============================================
   هیرو
   ============================================= */

#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 60% at 50% 60%, rgba(212,175,55,0.07) 0%, transparent 70%);
}

/* الگوی ایرانی پس‌زمینه */
.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon points='40,4 76,40 40,76 4,40' fill='none' stroke='%23D4AF37' stroke-width='0.6'/%3E%3Cpolygon points='40,14 66,40 40,66 14,40' fill='none' stroke='%23D4AF37' stroke-width='0.3'/%3E%3Ccircle cx='40' cy='40' r='8' fill='none' stroke='%23D4AF37' stroke-width='0.3'/%3E%3C/svg%3E");
}

.hero-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, var(--black), transparent);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 0 24px;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp 1s 0.8s ease forwards;
}
.hero-eyebrow .line {
    height: 1px;
    width: 60px;
}
.hero-eyebrow .line-right { background: linear-gradient(to left, var(--gold), transparent); }
.hero-eyebrow .line-left  { background: linear-gradient(to right, var(--gold), transparent); }
.hero-eyebrow span { color: var(--gold); font-size: 11px; letter-spacing: 6px; }

.hero-h1 {
    font-size: clamp(52px, 12vw, 120px);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;
}
.hero-h1 .line1 {
    display: block;
    opacity: 0;
    animation: fadeUp 1.2s 1s ease forwards;
}
.hero-h1 .line2 {
    display: block;
    opacity: 0;
    animation: fadeUp 1.2s 1.15s ease forwards;
}

.hero-sub {
    color: var(--gray);
    font-size: 16px;
    max-width: 420px;
    margin: 0 auto 40px;
    font-weight: 300;
    line-height: 1.9;
    opacity: 0;
    animation: fadeUp 1s 1.5s ease forwards;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s 1.7s ease forwards;
}

/* موج موسیقی در هیرو */
.wave-bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    justify-content: center;
    height: 40px;
    margin-top: 50px;
    opacity: 0;
    animation: fadeUp 1s 2s ease forwards;
}
.wave-bar {
    width: 3px;
    background: linear-gradient(to top, #9E6C2B, #D4AF37, #F5D67B);
    border-radius: 2px;
    transform-origin: bottom;
    animation: wave var(--spd) ease-in-out infinite var(--dly);
}
@keyframes wave {
    0%, 100% { transform: scaleY(1); }
    50%       { transform: scaleY(2.5); }
}

/* فلش پایین */
.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    animation: fadeUp 1s 2.2s ease forwards;
}
.scroll-hint span { color: var(--gray-dark); font-size: 10px; letter-spacing: 4px; }
.scroll-hint .arrow {
    color: var(--gold);
    font-size: 18px;
    animation: bounce 1.5s ease-in-out infinite;
}
@keyframes bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* =============================================
   درباره استاد
   ============================================= */

#about {
    background: var(--dark);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    margin-top: 60px;
}

.portrait-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--black);
    border: 1px solid rgba(212,175,55,0.1);
}
.portrait-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.portrait-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(180deg, #1A1B20, #0B0B0C);
    color: rgba(212,175,55,0.3);
    font-size: 12px;
    letter-spacing: 3px;
}

.badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    padding: 16px 20px;
    border-radius: 16px;
    animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }
.badge small { color: var(--gold); font-size: 10px; letter-spacing: 3px; display: block; margin-bottom: 4px; }
.badge strong { font-size: 28px; font-weight: 300; }

.about-text p {
    color: var(--gray);
    font-size: 15px;
    line-height: 2;
    font-weight: 300;
    margin-bottom: 20px;
}

/* تایم‌لاین */
.timeline { margin-top: 40px; }
.timeline-label {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 4px;
    margin-bottom: 20px;
    display: block;
}
.timeline-list {
    position: relative;
    padding-right: 20px;
}
.timeline-list::before {
    content: '';
    position: absolute;
    right: 4px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}
.tl-item {
    position: relative;
    margin-bottom: 20px;
}
.tl-item::before {
    content: '';
    position: absolute;
    right: -20px;
    top: 6px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1px solid var(--gold);
    background: var(--black);
    box-shadow: 0 0 8px rgba(212,175,55,0.4);
}
.tl-item .year {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 3px;
}
.tl-item p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.7;
}

/* آمار */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 80px;
}
.stat-card {
    padding: 32px 20px;
    text-align: center;
    border-radius: 20px;
    border: 1px solid rgba(212,175,55,0.1);
    background: rgba(255,255,255,0.03);
    transition: border-color 0.4s, transform 0.4s;
}
.stat-card:hover {
    border-color: rgba(212,175,55,0.25);
    transform: translateY(-4px);
}
.stat-num {
    font-size: 42px;
    font-weight: 300;
    display: block;
    margin-bottom: 8px;
}
.stat-lbl {
    color: var(--gray);
    font-size: 12px;
    letter-spacing: 1px;
}

/* =============================================
   گالری
   ============================================= */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: 12px;
    margin-top: 60px;
}
.g-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.g-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.g-card.large { grid-column: span 2; grid-row: span 2; }
.g-card.tall  { grid-row: span 2; }

.g-bg { position: absolute; inset: 0; }
.g-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s;
}
.g-card:hover .g-overlay { opacity: 1; }

.g-content {
    position: absolute;
    inset: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.g-type {
    font-size: 9px;
    letter-spacing: 4px;
    text-transform: uppercase;
}
.g-info h3 {
    color: var(--white);
    font-weight: 300;
    font-size: 17px;
    margin-bottom: 4px;
}
.g-info small { color: rgba(255,255,255,0.4); font-size: 11px; }
.g-border {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: border-color 0.4s;
    pointer-events: none;
}
.g-card:hover .g-border { border-color: rgba(212,175,55,0.2); }

/* لایت‌باکس */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 500;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
#lightbox.open { display: flex; }
.lb-bg {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(16px);
}
.lb-box {
    position: relative;
    max-width: 560px;
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(212,175,55,0.15);
    background: #131417;
    animation: popIn 0.4s ease;
}
@keyframes popIn { from{transform:scale(0.85);opacity:0} to{transform:scale(1);opacity:1} }
.lb-img { height: 240px; display:flex; align-items:center; justify-content:center; font-size:32px; }
.lb-body { padding: 24px; }
.lb-year { color: var(--gold); font-size: 11px; letter-spacing: 3px; display:block; margin-bottom: 8px; }
.lb-title { font-size: 22px; font-weight: 300; margin-bottom: 6px; }
.lb-sub { color: var(--gray); font-size: 13px; }
.lb-close {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--white);
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s;
}
.lb-close:hover { border-color: rgba(212,175,55,0.4); }

/* =============================================
   دوره‌ها
   ============================================= */

#courses { background: var(--dark); }

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.course-card {
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: box-shadow 0.5s, transform 0.5s;
}
.course-card:hover {
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    transform: translateY(-4px);
}
.course-card.featured {
    transform: translateY(-16px);
    box-shadow: 0 20px 60px rgba(212,175,55,0.1), 0 0 0 1px rgba(212,175,55,0.2);
}
.course-card.featured:hover {
    transform: translateY(-20px);
}

.popular-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #9E6C2B, #D4AF37, #F5D67B);
    color: #0B0B0C;
    font-size: 10px;
    letter-spacing: 3px;
    font-weight: 600;
    padding: 5px 16px;
    border-radius: 0 0 12px 12px;
}

.course-inner {
    padding: 32px;
    padding-top: 40px;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-icon { font-size: 28px; margin-bottom: 20px; }
.course-subtitle { color: var(--gold); font-size: 10px; letter-spacing: 4px; display: block; margin-bottom: 8px; }
.course-name { font-size: 22px; font-weight: 300; margin-bottom: 10px; }
.course-desc { color: var(--gray-dark); font-size: 13px; line-height: 1.8; margin-bottom: 24px; }

.price-box { padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px solid rgba(212,175,55,0.08); }
.price-box .amount { font-size: 28px; font-weight: 300; }
.price-box .period { color: var(--gray-dark); font-size: 12px; margin-right: 6px; }
.price-box .contact-price { font-size: 18px; font-weight: 300; color: var(--gold); }

.features-list { list-style: none; margin-bottom: 28px; flex: 1; }
.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--gray);
}
.features-list .check {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.25);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    flex-shrink: 0;
}

/* =============================================
   نظرات
   ============================================= */

.testimonials-wrapper {
    overflow: hidden;
    position: relative;
    margin-top: 60px;
}
.testimonials-wrapper::before,
.testimonials-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}
.testimonials-wrapper::before { right: 0; background: linear-gradient(to left, var(--black), transparent); }
.testimonials-wrapper::after  { left: 0;  background: linear-gradient(to right, var(--black), transparent); }

.test-track { display: flex; margin-bottom: 12px; }

.test-card {
    flex-shrink: 0;
    width: 340px;
    margin: 0 8px;
    padding: 28px;
    border-radius: 20px;
    border: 1px solid rgba(212,175,55,0.08);
    background: rgba(255,255,255,0.03);
    transition: border-color 0.4s;
}
.test-card:hover { border-color: rgba(212,175,55,0.2); }

.test-quote { font-size: 28px; color: rgba(212,175,55,0.3); margin-bottom: 16px; }
.test-text {
    color: var(--gray);
    font-size: 13px;
    line-height: 2;
    font-weight: 300;
    margin-bottom: 20px;
}
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.2);
    background: rgba(212,175,55,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 15px;
    flex-shrink: 0;
}
.test-name { font-size: 13px; font-weight: 400; display: block; margin-bottom: 2px; }
.test-role { font-size: 11px; color: var(--gray-dark); }

/* =============================================
   رویدادها
   ============================================= */

#events { background: var(--dark); }

.featured-event {
    border-radius: 24px;
    padding: 36px;
    border: 1px solid rgba(212,175,55,0.2);
    background: linear-gradient(135deg, rgba(212,175,55,0.06), rgba(11,11,12,0.95));
    box-shadow: 0 20px 80px rgba(212,175,55,0.08);
    margin-top: 60px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}
.ev-badge {
    display: inline-block;
    border: 1px solid rgba(212,175,55,0.3);
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 3px;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.featured-event h3 { font-size: 28px; font-weight: 300; margin-bottom: 16px; }
.ev-meta { display: flex; flex-wrap: wrap; gap: 20px; }
.ev-meta span { color: var(--gray); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.ev-meta .ico { color: var(--gold); }

.events-list { display: flex; flex-direction: column; gap: 8px; }
.ev-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.02);
    transition: all 0.3s;
    cursor: pointer;
}
.ev-row:hover {
    background: rgba(212,175,55,0.03);
    border-color: rgba(212,175,55,0.12);
}
.ev-date { text-align: center; min-width: 48px; }
.ev-date .day { color: var(--gold); font-size: 20px; font-weight: 300; display: block; }
.ev-date .month { color: var(--gray-dark); font-size: 10px; }
.ev-sep { width: 1px; height: 40px; background: rgba(212,175,55,0.1); }
.ev-info { flex: 1; }
.ev-info h4 { font-size: 14px; font-weight: 300; margin-bottom: 3px; transition: color 0.3s; }
.ev-row:hover .ev-info h4 { color: var(--gold-light); }
.ev-info small { color: var(--gray-dark); font-size: 11px; }
.ev-status { font-size: 10px; letter-spacing: 2px; }

/* =============================================
   سوالات متداول
   ============================================= */

.faq-list { margin-top: 60px; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.02);
    overflow: hidden;
    transition: border-color 0.4s;
}
.faq-item.open {
    border-color: rgba(212,175,55,0.2);
    background: rgba(212,175,55,0.03);
}
.faq-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: right;
    font-family: 'Vazirmatn', sans-serif;
    color: var(--gray);
    font-size: 14px;
    transition: color 0.3s;
}
.faq-item.open .faq-btn { color: var(--white); }
.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(212,175,55,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--gray-dark);
    flex-shrink: 0;
    transition: all 0.3s;
}
.faq-item.open .faq-icon { background: rgba(212,175,55,0.12); color: var(--gold); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
    padding: 0 24px 24px;
    border-top: 1px solid rgba(212,175,55,0.08);
    padding-top: 16px;
    color: var(--gray);
    font-size: 13px;
    line-height: 2;
}

/* =============================================
   تماس
   ============================================= */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-top: 60px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.c-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(212,175,55,0.15);
    background: rgba(212,175,55,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.c-label { color: var(--gray-dark); font-size: 10px; letter-spacing: 3px; display: block; margin-bottom: 3px; }
.c-val { color: var(--white); font-size: 13px; font-weight: 300; }

.socials { display: flex; gap: 12px; margin-top: 32px; }
.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    text-decoration: none;
    transition: all 0.3s;
}
.social-btn:hover { border-color: rgba(212,175,55,0.2); background: rgba(212,175,55,0.04); }
.social-btn .ico { font-size: 18px; display: block; }
.social-btn small { color: var(--gray-dark); font-size: 10px; letter-spacing: 1px; }

/* فرم */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    color: var(--gray);
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 14px 18px;
    color: var(--white);
    font-family: 'Vazirmatn', sans-serif;
    font-size: 14px;
    outline: none;
    direction: rtl;
    transition: border-color 0.3s, background 0.3s;
    resize: none;
}
.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(212,175,55,0.4);
    background: rgba(212,175,55,0.03);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #3A3A3A; }

.form-error {
    color: #E07070;
    font-size: 12px;
    margin-bottom: 12px;
    display: none;
}
.form-success-msg {
    display: none;
    text-align: center;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid rgba(212,175,55,0.15);
    background: rgba(212,175,55,0.03);
}
.form-success-msg .ico { font-size: 40px; margin-bottom: 16px; }
.form-success-msg h3 { font-size: 20px; font-weight: 300; margin-bottom: 8px; }
.form-success-msg p { color: var(--gray); font-size: 13px; }

/* =============================================
   فوتر
   ============================================= */

footer {
    border-top: 1px solid rgba(212,175,55,0.08);
    padding: 60px 0 30px;
    position: relative;
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.3), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer-brand p { color: var(--gray-dark); font-size: 13px; line-height: 1.9; margin-top: 16px; max-width: 260px; }
.footer-col h4 { color: var(--gold); font-size: 10px; letter-spacing: 4px; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--gray-dark); text-decoration: none; font-size: 13px; transition: color 0.3s; }
.footer-col a:hover { color: var(--gray); }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-bottom p,
.footer-bottom span { color: #3A3A3A; font-size: 11px; }
.footer-bottom .diamond { color: var(--gold); }

/* =============================================
   ریسپانسیو
   ============================================= */

@media (max-width: 900px) {
    .about-grid         { grid-template-columns: 1fr; }
    .courses-grid       { grid-template-columns: 1fr; }
    .contact-grid       { grid-template-columns: 1fr; }
    .footer-grid        { grid-template-columns: 1fr 1fr; }
    .stats-grid         { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid       { grid-template-columns: repeat(2, 1fr); }
    .g-card.large       { grid-column: span 1; grid-row: span 1; }
    .g-card.tall        { grid-row: span 1; }
    .nav-links          { display: none; }
    .nav-cta            { display: none; }
    .nav-toggle         { display: block; }
    .course-card.featured { transform: none; }
}

@media (max-width: 600px) {
    .section        { padding: 70px 0; }
    .footer-grid    { grid-template-columns: 1fr 1fr; }
    .stats-grid     { grid-template-columns: repeat(2, 1fr); }
    .hero-btns      { flex-direction: column; align-items: center; }
    .featured-event { flex-direction: column; }
}
