/* ============================================
   سنگ فضل — استایل اصلی
   ============================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --black: #0a0a0a;
    --dark: #111111;
    --dark2: #1a1a1a;
    --gray: #2a2a2a;
    --gray2: #3a3a3a;
    --light-gray: #888;
    --white: #f5f5f5;
    --gold: #c9a96e;
    --gold2: #d4b87a;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-fast: all 0.25s cubic-bezier(0.23, 1, 0.32, 1);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Vazirmatn', 'Vazir', Tahoma, sans-serif;
    background: var(--black);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.8;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

/* ========== لودر ========== */
#loader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--black); display: flex; justify-content: center; align-items: center;
    z-index: 99999; transition: opacity 0.4s ease, visibility 0.4s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-stone {
    width: 60px; height: 60px; border: 2px solid var(--gray);
    margin: 0 auto 15px; position: relative; animation: loaderRotate 1.5s linear infinite;
}
.loader-stone::before {
    content: ''; position: absolute; top: 8px; left: 8px; right: 8px; bottom: 8px;
    border: 2px solid var(--gold);
}
@keyframes loaderRotate { to { transform: rotate(360deg); } }
.loader-text { color: var(--gold); font-size: 1rem; letter-spacing: 4px; text-align: center; }

/* ========== پارتیکل‌ها ========== */
#particles-canvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 0;
}

/* ========== هدر ========== */
header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    padding: 20px 50px; display: flex; justify-content: space-between; align-items: center;
    transition: var(--transition); background: transparent;
}
header.scrolled {
    background: rgba(10,10,10,0.95); padding: 12px 50px;
    backdrop-filter: blur(20px); border-bottom: 1px solid rgba(201,169,110,0.15);
}

/* ========== لوگو ========== */
.animated-logo {
    display: flex; align-items: center; text-decoration: none;
    cursor: pointer; flex-shrink: 0;
}
.logo-box {
    position: relative; padding: 10px 24px;
    border: 1px solid var(--gold); overflow: hidden;
    background: rgba(201,169,110,0.03);
    transition: var(--transition);
    display: inline-flex; align-items: center; white-space: nowrap;
}
.logo-box::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(201,169,110,0.3), transparent);
    animation: logoShine 4s infinite;
}
@keyframes logoShine {
    0% { left: -100%; }
    40%, 100% { left: 100%; }
}
.logo-box:hover {
    background: var(--gold);
    box-shadow: 0 0 30px rgba(201,169,110,0.4);
}
.logo-text-anim {
    position: relative; font-size: 1.5rem; font-weight: 900;
    letter-spacing: 1px; color: var(--white); white-space: nowrap;
    transition: var(--transition); display: inline-block;
}
.logo-text-anim .gold-letter { color: var(--gold); }
.logo-box:hover .logo-text-anim { color: var(--black); }
.logo-box:hover .logo-text-anim .gold-letter { color: var(--black); }
.logo-text-anim::after {
    content: ''; position: absolute; bottom: -3px; right: 0;
    width: 0; height: 2px; background: var(--gold); transition: width 0.4s ease;
}
.logo-box:hover .logo-text-anim::after { width: 100%; }

/* ========== ناوبری ========== */
nav ul { display: flex; list-style: none; gap: 25px; }
nav ul li a {
    text-decoration: none; color: var(--white); font-size: 0.9rem;
    position: relative; padding: 5px 0; transition: var(--transition-fast);
}
nav ul li a::before {
    content: ''; position: absolute; bottom: 0; right: 0; width: 0; height: 1px;
    background: var(--gold); transition: var(--transition);
}
nav ul li a:hover { color: var(--gold); }
nav ul li a:hover::before { width: 100%; }

.header-cta {
    padding: 10px 25px; border: 1px solid var(--gold); color: var(--gold);
    text-decoration: none; font-size: 0.9rem; transition: var(--transition);
    background: transparent; font-family: inherit; cursor: pointer;
}
.header-cta:hover { background: var(--gold); color: var(--black); }

.mobile-menu-btn {
    display: none; flex-direction: column; gap: 5px; cursor: pointer;
    background: none; border: none; padding: 5px;
}
.mobile-menu-btn span {
    width: 25px; height: 2px; background: var(--white); transition: var(--transition);
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ========== هیرو ========== */
#hero {
    min-height: 100vh; display: flex; justify-content: center; align-items: center;
    position: relative; overflow: hidden; padding: 120px 50px 80px;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(201,169,110,0.06), transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(201,169,110,0.04), transparent 50%);
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(201,169,110,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(201,169,110,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridMove 20s linear infinite;
}
@keyframes gridMove { to { transform: translate(60px,60px); } }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 900px; }

.hero-logo-big {
    display: inline-block; padding: 20px 45px;
    border: 2px solid var(--gold); margin-bottom: 30px;
    position: relative; overflow: hidden; background: rgba(201,169,110,0.04);
}
.hero-logo-big::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(201,169,110,0.15), transparent, rgba(201,169,110,0.15), transparent);
    animation: logoRotateBig 8s linear infinite;
}
@keyframes logoRotateBig { to { transform: rotate(360deg); } }
.hero-logo-big::after {
    content: ''; position: absolute; inset: 6px; background: var(--black); z-index: 0;
}
.hero-logo-text {
    position: relative; z-index: 1;
    font-size: 3rem; font-weight: 900; letter-spacing: 4px;
    color: var(--white); white-space: nowrap;
}
.hero-logo-text .gold-letter {
    color: var(--gold); text-shadow: 0 0 30px rgba(201,169,110,0.6);
}

.hero-title {
    font-size: 2.2rem; font-weight: 700; letter-spacing: 4px;
    margin-bottom: 15px; color: var(--light-gray);
}
.hero-title-en {
    font-size: 1rem; letter-spacing: 12px; color: var(--gold);
    margin-bottom: 35px; font-weight: 300;
}
.hero-desc {
    font-size: 1.1rem; color: #999; max-width: 620px;
    margin: 0 auto 45px; line-height: 2;
}
.hero-buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }

.btn-primary, .btn-outline {
    padding: 15px 40px; text-decoration: none; font-weight: 700;
    font-size: 1rem; transition: var(--transition);
    cursor: pointer; font-family: inherit;
}
.btn-primary {
    background: var(--gold); color: var(--black); border: 2px solid var(--gold);
}
.btn-primary:hover {
    background: transparent; color: var(--gold);
    box-shadow: 0 0 30px rgba(201,169,110,0.3);
}
.btn-outline {
    background: transparent; color: var(--white);
    border: 2px solid var(--gray2); font-weight: 500;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ========== عنوان بخش‌ها ========== */
.section-title { text-align: center; margin-bottom: 70px; }
.section-title h2 {
    font-size: 2.8rem; font-weight: 800; letter-spacing: 3px;
    margin-bottom: 15px; display: inline-block;
}
.section-title h2 .gold { color: var(--gold); }
.section-title h2::after {
    content: ''; display: block; margin: 15px auto 0;
    width: 60px; height: 3px; background: var(--gold); transition: width 0.6s;
}
.section-title:hover h2::after { width: 120px; }
.section-title p {
    color: var(--light-gray); font-size: 1rem;
    margin-top: 15px; letter-spacing: 1px;
}

/* ========== اسلایدر گالری ========== */
#slider-section { padding: 120px 50px; position: relative; }
.slider-container {
    position: relative; max-width: 1200px; margin: 0 auto;
    overflow: hidden; border: 1px solid var(--gray);
}
.slider-track {
    display: flex; transition: transform 0.7s cubic-bezier(0.23,1,0.32,1);
}
.slide {
    min-width: 100%; height: 550px; position: relative; overflow: hidden;
}
.slide img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(100%) brightness(0.5);
    transition: filter 0.4s, transform 0.4s;
}
.slide:hover img { filter: grayscale(60%) brightness(0.6); transform: scale(1.05); }
.slide-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 60px 50px 40px;
    background: linear-gradient(to top, rgba(10,10,10,0.95), rgba(10,10,10,0.7) 50%, transparent);
}
.slide-overlay h3 {
    font-size: 2rem; font-weight: 800; margin-bottom: 10px; letter-spacing: 2px;
}
.slide-overlay h3 .gold { color: var(--gold); }
.slide-overlay p { color: var(--light-gray); }

.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 55px; height: 55px;
    background: rgba(10,10,10,0.8); border: 1px solid var(--gold);
    color: var(--gold); font-size: 1.5rem; cursor: pointer; z-index: 10;
    display: flex; justify-content: center; align-items: center;
}
.slider-btn:hover { background: var(--gold); color: var(--black); }
.slider-btn.prev { right: 20px; } .slider-btn.next { left: 20px; }
.slider-dots {
    display: flex; justify-content: center; gap: 12px; margin-top: 30px;
}
.slider-dot {
    width: 12px; height: 12px; border: 1px solid var(--gold);
    background: transparent; cursor: pointer; padding: 0;
}
.slider-dot.active { background: var(--gold); transform: rotate(45deg); }

/* ========== درباره ما ========== */
#about { padding: 120px 50px; background: var(--dark); }
.about-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 80px; align-items: center;
}
.about-image { position: relative; height: 500px; overflow: hidden; }
.about-image img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(100%); transition: filter 0.4s, transform 0.4s;
}
.about-image:hover img { filter: grayscale(50%); transform: scale(1.05); }
.about-text h3 {
    font-size: 2rem; font-weight: 800; margin-bottom: 25px; letter-spacing: 2px;
}
.about-text h3 .gold { color: var(--gold); }
.about-text p {
    color: var(--light-gray); margin-bottom: 20px;
    line-height: 2.2; font-size: 0.95rem;
}
.about-text strong { color: var(--gold); }
.about-stats {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 30px; margin-top: 40px;
}
.stat-item {
    text-align: center; padding: 20px; border: 1px solid var(--gray);
    transition: var(--transition);
}
.stat-item:hover { border-color: var(--gold); transform: translateY(-5px); }
.stat-number { font-size: 2rem; font-weight: 900; color: var(--gold); margin-bottom: 5px; }
.stat-label { font-size: 0.85rem; color: var(--light-gray); }

/* ========== قیمت سنگ‌ها ========== */
#prices { padding: 120px 50px; position: relative; background: var(--black); }
.prices-container { max-width: 1200px; margin: 0 auto; }
.stone-tabs {
    display: flex; justify-content: center; gap: 15px;
    margin-bottom: 50px; flex-wrap: wrap;
}
.stone-tab {
    padding: 15px 35px; border: 1px solid var(--gray);
    background: var(--dark2); color: var(--white);
    font-family: inherit; font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: var(--transition); letter-spacing: 1px;
}
.stone-tab:hover { border-color: var(--gold); color: var(--gold); }
.stone-tab.active { background: var(--gold); color: var(--black); border-color: var(--gold); }

.stone-table-wrapper { overflow-x: auto; }
.stone-table {
    width: 100%; border-collapse: collapse;
    background: var(--dark2); border: 1px solid var(--gray); min-width: 500px;
}
.stone-table thead {
    background: linear-gradient(90deg, rgba(201,169,110,0.15), rgba(201,169,110,0.05));
    border-bottom: 2px solid var(--gold);
}
.stone-table th {
    padding: 20px 25px; text-align: right; color: var(--gold);
    font-size: 1rem; font-weight: 700; letter-spacing: 1px;
}
.stone-table td {
    padding: 20px 25px; border-bottom: 1px solid var(--gray);
    font-size: 0.95rem; color: var(--white);
}
.stone-table tbody tr { transition: var(--transition); }
.stone-table tbody tr:hover { background: rgba(201,169,110,0.06); }
.stone-table tbody tr:last-child td { border-bottom: none; }
.stone-table .size-cell { font-weight: 700; color: var(--gold2); }
.stone-table .price-cell { font-weight: 900; color: var(--gold); font-size: 1.1rem; }
.stone-table .price-cell small {
    font-size: 0.75rem; color: var(--light-gray); font-weight: 400;
}

.price-note {
    margin-top: 25px; padding: 20px; border: 1px dashed var(--gray2);
    background: rgba(201,169,110,0.03); color: var(--light-gray);
    font-size: 0.9rem; text-align: center; border-radius: 4px;
}
.price-note strong { color: var(--gold); }

/* ========== تاج و کتیبه ========== */
#crown { padding: 120px 50px; background: var(--dark); }
.crown-container { max-width: 1200px; margin: 0 auto; }
.crown-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 30px; margin-bottom: 40px;
}
.crown-card {
    background: var(--dark2); border: 1px solid var(--gray);
    padding: 40px 30px; text-align: center;
    transition: var(--transition); position: relative; overflow: hidden;
}
.crown-card::before {
    content: ''; position: absolute; top: 0; right: -100%;
    width: 100%; height: 3px; background: var(--gold); transition: var(--transition);
}
.crown-card:hover::before { right: 0; }
.crown-card:hover {
    border-color: var(--gold); transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(201,169,110,0.12);
}
.crown-icon { font-size: 3rem; margin-bottom: 20px; }
.crown-card h3 {
    font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; color: var(--gold);
}
.crown-card p {
    color: var(--light-gray); font-size: 0.9rem;
    line-height: 2; margin-bottom: 20px;
}
.crown-price { padding-top: 20px; border-top: 1px solid var(--gray); }
.crown-price .from-label {
    font-size: 0.8rem; color: var(--light-gray);
    margin-bottom: 5px; display: block;
}
.crown-price .price { font-size: 1.6rem; font-weight: 900; color: var(--gold); }
.crown-price .price small {
    font-size: 0.8rem; font-weight: 400; color: var(--light-gray);
}

/* ========== عکس رنگی ========== */
#color-photo { padding: 120px 50px; background: var(--black); }
.color-photo-container { max-width: 1100px; margin: 0 auto; }
.color-photo-header { text-align: center; margin-bottom: 50px; }
.color-photo-header p {
    color: var(--light-gray); max-width: 700px;
    margin: 20px auto 0; line-height: 2;
}
.ceramic-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px; margin-bottom: 30px;
}
.ceramic-card {
    background: var(--dark2); border: 1px solid var(--gray);
    padding: 30px 20px; text-align: center;
    transition: var(--transition); position: relative;
}
.ceramic-card:hover {
    border-color: var(--gold); transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(201,169,110,0.12);
}
.ceramic-card.featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--dark2), rgba(201,169,110,0.08));
}
.ceramic-size-icon {
    width: 70px; height: 70px; margin: 0 auto 20px;
    border: 2px solid var(--gold);
    display: flex; justify-content: center; align-items: center;
    font-size: 0.85rem; color: var(--gold); font-weight: 700;
    flex-direction: column; line-height: 1.2;
}
.ceramic-card h4 { font-size: 1.05rem; margin-bottom: 8px; font-weight: 700; }
.ceramic-card .ceramic-price {
    font-size: 1.4rem; font-weight: 900; color: var(--gold); margin-top: 15px;
}
.ceramic-card .ceramic-price small {
    font-size: 0.75rem; color: var(--light-gray); font-weight: 400;
}
.ceramic-note {
    text-align: center; padding: 20px; border: 1px dashed var(--gray2);
    background: rgba(201,169,110,0.03); color: var(--light-gray);
    font-size: 0.9rem;
}
.ceramic-note strong { color: var(--gold); }

/* ========== بازسازی سنگ ========== */
#restoration { padding: 120px 50px; background: var(--dark); }
.restoration-container { max-width: 1200px; margin: 0 auto; }
.restoration-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 30px; margin-bottom: 50px;
}
.restoration-card {
    background: var(--dark2); border: 1px solid var(--gray);
    padding: 40px 35px; transition: var(--transition);
    position: relative; overflow: hidden;
}
.restoration-card::before {
    content: ''; position: absolute; top: 0; right: 0;
    width: 0; height: 3px; background: var(--gold); transition: var(--transition);
}
.restoration-card:hover::before { width: 100%; }
.restoration-card:hover {
    border-color: var(--gold); transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(201,169,110,0.12);
}
.restoration-card.featured {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--dark2) 0%, rgba(201,169,110,0.08) 100%);
}
.restoration-badge {
    position: absolute; top: 20px; left: 20px;
    background: var(--gold); color: var(--black);
    padding: 5px 15px; font-size: 0.75rem;
    font-weight: 700; letter-spacing: 1px;
}
.restoration-icon { font-size: 2.5rem; margin-bottom: 20px; }
.restoration-card h3 {
    font-size: 1.3rem; font-weight: 700;
    margin-bottom: 15px; letter-spacing: 1px;
}
.restoration-card p {
    color: var(--light-gray); font-size: 0.9rem;
    line-height: 2.1; margin-bottom: 25px;
}
.restoration-price {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 0; border-top: 1px solid var(--gray);
    border-bottom: 1px solid var(--gray); margin-bottom: 15px;
}
.restoration-price .price-label {
    color: var(--light-gray); font-size: 0.85rem;
}
.restoration-price .price-value {
    color: var(--gold); font-size: 1.4rem; font-weight: 900;
}
.restoration-price .price-value small {
    font-size: 0.75rem; font-weight: 400; color: var(--light-gray);
}
.restoration-note { font-size: 0.8rem; color: var(--light-gray); opacity: 0.7; }
.restoration-cta {
    text-align: center; padding: 40px;
    border: 1px solid var(--gray); background: var(--dark2);
}
.restoration-cta p {
    color: var(--light-gray); margin-bottom: 20px; font-size: 1rem;
}

/* ========== مقالات (اسلایدر) ========== */
#articles { padding: 120px 50px; position: relative; overflow: hidden; }
.articles-slider-wrapper {
    max-width: 1200px; margin: 0 auto; position: relative;
}
.articles-slider-track {
    display: flex; gap: 30px;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 10px 0; will-change: transform;
}
.article-card {
    background: var(--dark2); border: 1px solid var(--gray);
    overflow: hidden;
    transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
    cursor: pointer; flex: 0 0 360px;
    display: flex; flex-direction: column;
}
.article-card:hover {
    transform: translateY(-8px); border-color: var(--gold);
    box-shadow: 0 20px 50px rgba(201, 169, 110, 0.12);
}
.article-image { height: 220px; overflow: hidden; flex-shrink: 0; }
.article-image img {
    width: 100%; height: 100%; object-fit: cover;
    filter: grayscale(100%); transition: filter 0.4s, transform 0.4s;
}
.article-card:hover .article-image img {
    filter: grayscale(30%); transform: scale(1.08);
}
.article-body {
    padding: 25px 30px 30px; flex: 1; display: flex; flex-direction: column;
}
.article-date {
    font-size: 0.8rem; color: var(--gold);
    letter-spacing: 2px; margin-bottom: 12px;
}
.article-body h3 {
    font-size: 1.15rem; font-weight: 700;
    margin-bottom: 12px; line-height: 1.6; transition: color 0.3s;
}
.article-card:hover .article-body h3 { color: var(--gold); }
.article-body p {
    color: var(--light-gray); font-size: 0.9rem; line-height: 2; flex: 1;
}
.articles-loading {
    text-align: center; color: var(--light-gray); padding: 40px; width: 100%;
}

.articles-nav-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 50px; height: 50px;
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid var(--gold); color: var(--gold);
    font-size: 1.4rem; cursor: pointer; z-index: 10;
    display: flex; justify-content: center; align-items: center;
    backdrop-filter: blur(10px); transition: var(--transition);
}
.articles-nav-btn:hover { background: var(--gold); color: var(--black); }
.articles-nav-btn.prev { right: -25px; }
.articles-nav-btn.next { left: -25px; }
.articles-nav-btn:disabled {
    opacity: 0.3; cursor: not-allowed;
    background: rgba(10, 10, 10, 0.6);
    color: var(--light-gray); border-color: var(--gray);
}
.articles-nav-btn:disabled:hover {
    background: rgba(10, 10, 10, 0.6); color: var(--light-gray);
}

.articles-dots {
    display: flex; justify-content: center; gap: 10px;
    margin-top: 35px; flex-wrap: wrap;
}
.articles-dot {
    width: 10px; height: 10px; border: 1px solid var(--gold);
    background: transparent; cursor: pointer;
    transition: var(--transition); padding: 0;
}
.articles-dot.active {
    background: var(--gold); transform: rotate(45deg);
    box-shadow: 0 0 15px rgba(201, 169, 110, 0.5);
}

/* ========== FAQ ========== */
#faq { padding: 120px 50px; background: var(--dark); }
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--gray); margin-bottom: 15px;
    background: var(--dark2); overflow: hidden;
}
.faq-item.active { border-color: var(--gold); }
.faq-question {
    padding: 25px 30px; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-question h3 { font-size: 1.05rem; font-weight: 600; }
.faq-item.active .faq-question h3 { color: var(--gold); }
.faq-icon {
    width: 30px; height: 30px; border: 1px solid var(--gray2);
    display: flex; justify-content: center; align-items: center;
    color: var(--gold); font-size: 1.2rem; flex-shrink: 0; transition: var(--transition);
}
.faq-item.active .faq-icon {
    background: var(--gold); color: var(--black); transform: rotate(45deg);
}
.faq-answer {
    max-height: 0; overflow: hidden; padding: 0 30px;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.active .faq-answer { max-height: 300px; padding: 0 30px 25px; }
.faq-answer p {
    color: var(--light-gray); font-size: 0.95rem; line-height: 2.2;
}

/* ========== تماس ========== */
#contact { padding: 120px 50px; }
.contact-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
}
.contact-info h3 {
    font-size: 2rem; font-weight: 800; margin-bottom: 30px; letter-spacing: 2px;
}
.contact-info h3 .gold { color: var(--gold); }
.contact-info > p {
    color: var(--light-gray); margin-bottom: 40px; line-height: 2.2;
}
.contact-item {
    display: flex; align-items: center; gap: 20px;
    margin-bottom: 25px; padding: 20px;
    border: 1px solid var(--gray); transition: var(--transition);
}
.contact-item:hover { border-color: var(--gold); transform: translateX(-10px); }
.contact-icon {
    width: 50px; height: 50px; border: 1px solid var(--gold);
    display: flex; justify-content: center; align-items: center;
    font-size: 1.3rem; color: var(--gold); flex-shrink: 0;
}
.contact-item-text { flex: 1; }
.contact-item-text h4 {
    font-size: 0.9rem; color: var(--light-gray); margin-bottom: 5px;
}
.contact-item-text p { font-size: 1rem; font-weight: 600; }

/* شماره تماس و ایمیل LTR */
.phone-number {
    direction: ltr; display: inline-block;
    unicode-bidi: embed;
    font-family: 'Vazirmatn', monospace;
    letter-spacing: 1px;
}
.phone-name {
    font-size: 0.85rem; color: var(--light-gray);
    font-weight: 400; margin-right: 5px;
}
.email-text {
    direction: ltr; display: inline-block;
    unicode-bidi: embed;
    font-family: 'Vazirmatn', monospace;
    letter-spacing: 0.5px;
    word-break: break-all;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form input, .contact-form textarea {
    padding: 18px 20px; background: var(--dark2);
    border: 1px solid var(--gray); color: var(--white);
    font-family: inherit; font-size: 0.95rem; outline: none;
}
.contact-form input:focus, .contact-form textarea:focus {
    border-color: var(--gold);
}
.contact-form textarea { resize: vertical; min-height: 150px; }
.contact-form button {
    padding: 18px; background: var(--gold); color: var(--black);
    border: 2px solid var(--gold);
    font-family: inherit; font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: var(--transition);
}
.contact-form button:hover { background: transparent; color: var(--gold); }

/* ========== نقشه ========== */
#map { padding: 0 50px 120px; background: var(--black); }
.map-container { max-width: 1200px; margin: 0 auto; }
.map-header { text-align: center; margin-bottom: 40px; }
.map-header h2 {
    font-size: 2.5rem; font-weight: 800; letter-spacing: 3px;
}
.map-header h2 .gold { color: var(--gold); }
.map-header p { color: var(--light-gray); margin-top: 15px; }
.map-wrapper {
    position: relative; border: 1px solid var(--gold);
    overflow: hidden; box-shadow: 0 20px 60px rgba(201,169,110,0.1);
}
.map-wrapper iframe {
    display: block; width: 100%; height: 450px; border: 0;
    filter: grayscale(100%) invert(92%) contrast(83%);
    transition: filter 0.5s;
}
.map-wrapper:hover iframe {
    filter: grayscale(80%) invert(92%) contrast(83%);
}
.map-address {
    margin-top: 25px; padding: 20px;
    background: var(--dark2); border: 1px solid var(--gray);
    text-align: center; color: var(--light-gray);
}
.map-address strong { color: var(--gold); }

/* ========== فوتر ========== */
footer {
    background: var(--dark); border-top: 1px solid var(--gray);
    padding: 80px 50px 30px;
}
.footer-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px; margin-bottom: 50px;
}
.footer-about h3 {
    font-size: 1.5rem; font-weight: 800;
    margin-bottom: 20px; letter-spacing: 2px;
}
.footer-about h3 .gold { color: var(--gold); }
.footer-about p {
    color: var(--light-gray); font-size: 0.9rem;
    line-height: 2.2; margin-bottom: 25px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
    width: 40px; height: 40px; border: 1px solid var(--gray);
    display: flex; justify-content: center; align-items: center;
    color: var(--light-gray); text-decoration: none; transition: var(--transition);
}
.footer-social a:hover { border-color: var(--gold); color: var(--gold); }
.footer-col h4 {
    font-size: 1.1rem; font-weight: 700;
    margin-bottom: 25px; padding-bottom: 10px; position: relative;
}
.footer-col h4::after {
    content: ''; position: absolute; bottom: 0; right: 0;
    width: 30px; height: 2px; background: var(--gold);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
    color: var(--light-gray); text-decoration: none;
    font-size: 0.9rem; transition: var(--transition-fast);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
    max-width: 1200px; margin: 0 auto;
    padding-top: 30px; border-top: 1px solid var(--gray);
    text-align: center;
}
.footer-bottom p {
    color: var(--light-gray); font-size: 0.85rem; margin-bottom: 8px;
}
.footer-bottom p .gold { color: var(--gold); }
.developer-credit {
    color: var(--light-gray); font-size: 0.8rem; letter-spacing: 1px;
}
.developer-credit .dev-name {
    color: var(--gold); font-weight: 700; letter-spacing: 2px;
}

/* ========== مودال کانفیگ ========== */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px); z-index: 10000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s; padding: 20px;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.config-modal {
    background: var(--dark); border: 1px solid var(--gray);
    max-width: 1000px; width: 100%; max-height: 90vh;
    overflow-y: auto; transform: scale(0.9); transition: transform 0.4s;
}
.modal-overlay.active .config-modal { transform: scale(1); }
.config-header {
    padding: 30px 40px; border-bottom: 1px solid var(--gray);
    display: flex; justify-content: space-between; align-items: center;
    position: sticky; top: 0; background: var(--dark); z-index: 10;
}
.config-header h2 { font-size: 1.6rem; font-weight: 800; }
.config-header h2 .gold { color: var(--gold); }
.config-close {
    width: 40px; height: 40px; border: 1px solid var(--gray);
    background: transparent; color: var(--white);
    font-size: 1.5rem; cursor: pointer; transition: var(--transition);
}
.config-close:hover { border-color: var(--gold); color: var(--gold); }
.config-body { padding: 40px; }
.config-steps {
    display: flex; gap: 12px; margin-bottom: 40px; flex-wrap: wrap;
}
.config-step {
    flex: 1; min-width: 90px; padding: 15px 10px;
    text-align: center; border: 1px solid var(--gray);
    cursor: pointer; font-size: 0.8rem; transition: var(--transition);
}
.config-step.active {
    border-color: var(--gold);
    background: rgba(201,169,110,0.08); color: var(--gold);
}
.config-step.completed { border-color: var(--gold); color: var(--gold); }
.config-step-num {
    font-size: 1.2rem; font-weight: 900; color: var(--gold); margin-bottom: 5px;
}
.config-panel { display: none; }
.config-panel.active { display: block; }
.config-panel h3 {
    font-size: 1.3rem; font-weight: 700; margin-bottom: 25px; color: var(--gold);
}
.option-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px,1fr));
    gap: 15px; margin-bottom: 30px;
}
.option-card {
    border: 1px solid var(--gray); padding: 20px 15px;
    text-align: center; cursor: pointer; transition: var(--transition);
    background: var(--dark2); position: relative;
}
.option-card.selected {
    border-color: var(--gold);
    box-shadow: 0 0 25px rgba(201,169,110,0.2);
}
.option-card.selected::after {
    content: '✓'; position: absolute; top: 8px; left: 8px;
    width: 22px; height: 22px; background: var(--gold);
    color: var(--black); border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 0.7rem; font-weight: 900;
}
.option-card .option-icon { font-size: 2rem; margin-bottom: 10px; }
.option-card h4 { font-size: 0.95rem; margin-bottom: 5px; }
.option-card p { font-size: 0.8rem; color: var(--light-gray); }
.option-card .opt-price {
    font-size: 0.85rem; color: var(--gold);
    font-weight: 700; margin-top: 8px;
}
.text-options {
    display: flex; flex-direction: column; gap: 15px; margin-bottom: 30px;
}
.text-option-item {
    display: flex; align-items: center; gap: 15px;
    padding: 15px 20px; border: 1px solid var(--gray);
    cursor: pointer; background: var(--dark2); transition: var(--transition);
}
.text-option-item.selected {
    border-color: var(--gold); background: rgba(201,169,110,0.08);
}
.radio-circle {
    width: 20px; height: 20px; border: 2px solid var(--gray2);
    border-radius: 50%; display: flex; justify-content: center;
    align-items: center; flex-shrink: 0; transition: var(--transition);
}
.text-option-item.selected .radio-circle { border-color: var(--gold); }
.text-option-item.selected .radio-circle::after {
    content: ''; width: 10px; height: 10px;
    background: var(--gold); border-radius: 50%;
}
.price-display {
    background: var(--dark2); border: 1px solid var(--gold);
    padding: 25px; margin-top: 20px;
    display: flex; justify-content: space-between; align-items: center;
}
.price-display .price-label { color: var(--light-gray); }
.price-display .price-amount {
    font-size: 1.8rem; font-weight: 900; color: var(--gold);
}
.price-display .price-amount small {
    font-size: 0.8rem; font-weight: 400; color: var(--light-gray);
}
.config-actions {
    display: flex; gap: 15px; margin-top: 30px; flex-wrap: wrap;
}
.config-actions button {
    padding: 15px 35px; font-family: inherit;
    font-size: 0.95rem; font-weight: 700;
    cursor: pointer; border: 2px solid var(--gold);
}
.config-actions .btn-next,
.config-actions .btn-submit {
    background: var(--gold); color: var(--black);
}
.config-actions .btn-next:hover,
.config-actions .btn-submit:hover {
    background: transparent; color: var(--gold);
}
.config-actions .btn-prev {
    background: transparent; color: var(--white); border-color: var(--gray2);
}
.config-actions .btn-prev:hover {
    border-color: var(--gold); color: var(--gold);
}
.config-actions .btn-submit { flex: 1; }

/* ========== دکمه بالا ========== */
#backToTop {
    position: fixed; bottom: 30px; left: 30px;
    width: 50px; height: 50px;
    background: var(--gold); color: var(--black);
    border: none; cursor: pointer; font-size: 1.3rem;
    z-index: 999; opacity: 0; visibility: hidden; transition: var(--transition);
}
#backToTop.visible { opacity: 1; visibility: visible; }
#backToTop:hover {
    background: var(--black); color: var(--gold); border: 1px solid var(--gold);
}

/* ========== توست ========== */
#toast {
    position: fixed; bottom: 30px; right: 30px;
    background: var(--dark2); border: 1px solid var(--gold);
    color: var(--white); padding: 18px 30px;
    z-index: 100000; transform: translateX(150%);
    transition: var(--transition); max-width: 350px;
}
#toast.show { transform: translateX(0); }
#toast .toast-icon { color: var(--gold); margin-left: 10px; }

/* ========== ریویل ========== */
.reveal, .reveal-left, .reveal-right {
    opacity: 0; transform: translateY(40px);
    transition: opacity 0.7s, transform 0.7s;
}
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal.visible, .reveal-left.visible, .reveal-right.visible {
    opacity: 1; transform: translate(0);
}

/* ========== پنل ادمین ========== */
#admin-panel {
    position: fixed; inset: 0; background: rgba(0,0,0,0.95);
    z-index: 10001; display: none; justify-content: center;
    align-items: center; padding: 20px;
}
#admin-panel.active { display: flex; }
.admin-box {
    background: var(--dark); border: 1px solid var(--gold);
    max-width: 700px; width: 100%; max-height: 90vh;
    overflow-y: auto; padding: 40px;
}
.admin-box h2 {
    color: var(--gold); margin-bottom: 30px; font-size: 1.5rem;
}
.admin-box input, .admin-box textarea {
    width: 100%; padding: 15px; background: var(--dark2);
    border: 1px solid var(--gray); color: var(--white);
    font-family: inherit; margin-bottom: 15px; font-size: 0.95rem;
}
.admin-box input:focus, .admin-box textarea:focus {
    border-color: var(--gold); outline: none;
}
.admin-box textarea { min-height: 150px; resize: vertical; }
.admin-box button {
    padding: 12px 30px; background: var(--gold); color: var(--black);
    border: none; font-family: inherit; font-weight: 700;
    cursor: pointer; margin-left: 10px;
}
.admin-box button.danger {
    background: transparent; color: var(--gold); border: 1px solid var(--gold);
}

/* ========== ریسپانسیو ========== */
@media (max-width: 1024px) {
    .about-container, .contact-container { grid-template-columns: 1fr; gap: 50px; }
    .footer-container { grid-template-columns: repeat(2,1fr); }
    .crown-grid { grid-template-columns: repeat(2,1fr); }
    .ceramic-grid { grid-template-columns: repeat(2,1fr); }
    nav ul { gap: 15px; }
    nav ul li a { font-size: 0.85rem; }
    .articles-nav-btn.prev { right: -10px; }
    .articles-nav-btn.next { left: -10px; }
}

@media (max-width: 768px) {
    header { padding: 15px 25px; }
    header.scrolled { padding: 10px 25px; }
    nav ul {
        position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
        background: var(--dark); flex-direction: column;
        padding: 100px 30px; gap: 25px;
        transition: var(--transition); border-left: 1px solid var(--gray);
    }
    nav ul.open { right: 0; }
    .mobile-menu-btn { display: flex; }
    .header-cta { display: none; }
    .hero-logo-big { padding: 15px 25px; }
    .hero-logo-text { font-size: 2rem; letter-spacing: 3px; }
    .hero-title { font-size: 1.4rem; }
    #hero, #slider-section, #about, #prices, #crown,
    #color-photo, #restoration, #articles, #faq, #contact { padding: 80px 20px; }
    #map { padding: 0 20px 80px; }
    .slide { height: 400px; }
    .footer-container { grid-template-columns: 1fr; }
    .about-stats { grid-template-columns: 1fr; }
    .restoration-grid { grid-template-columns: 1fr; }
    .crown-grid { grid-template-columns: 1fr; }
    .ceramic-grid { grid-template-columns: 1fr; }
    .config-body { padding: 20px; }
    .option-grid { grid-template-columns: repeat(2,1fr); }
    .section-title h2 { font-size: 2rem; }
    .logo-text-anim { font-size: 1rem; letter-spacing: 0; }
    .logo-box { padding: 8px 14px; }
    .stone-tab { padding: 12px 20px; font-size: 0.85rem; }
    .map-wrapper iframe { height: 300px; }
    .article-card { flex: 0 0 280px; }
    .articles-nav-btn { width: 40px; height: 40px; font-size: 1.1rem; }
    .articles-nav-btn.prev { right: 5px; }
    .articles-nav-btn.next { left: 5px; }
}