/*
Theme Name: کورد تبلیغ
Theme URI: https://kurdtabligh.ir
Author: KurdTabligh Team
Author URI: https://kurdtabligh.ir
Description: قالب دایرکتوری جامع کسب و کارها - کورد تبلیغ
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: kurd-tabligh
*/

/*
Theme Name: کورد تبلیغ
Theme URI: https://kurdtabligh.ir
Author: KurdTabligh Team
Author URI: https://kurdtabligh.ir
Description: قالب دایرکتوری جامع کسب و کارها - کورد تبلیغ
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: kurd-tabligh
*/

/* ===== فونت وزیرمتن لوکال ===== */
@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('fonts/Vazirmatn-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}

:root {
    /* ===== رنگ‌های اصلی - آبی یخی به جای قرمز ===== */
    --accent: #5bc0de;
    --accent-dark: #46a5c2;
    --accent-soft: rgba(91,192,222,0.08);
    --accent-hover-shadow: rgba(91,192,222,0.25);

    /* ===== سورمه‌ای هدر ===== */
    --header-bg: #1a2744;
    --header-bg-dark: #0f1b33;

    /* ===== رنگ‌های کمکی ===== */
    --blue: #1a5276;
    --blue-dark: #0f3460;
    --gold: #c9a227;
    --gold-light: #e8c547;
    --green: #1fab89;
    --green-soft: rgba(31,171,137,0.06);
    --purple: #6c5ce7;
    --orange: #f08a24;

    /* ===== متن و پس‌زمینه ===== */
    --text: #1a1a2e;
    --text-2: #4a4a5e;
    --text-3: #8e8ea0;
    --text-light: #b5b5c8;
    --bg: #ffffff;
    --bg-2: #f9f7f4;
    --bg-3: #f3f1ee;
    --bg-4: #f0f4ff;
    --bg-dark: #0c0a14;
    --bg-dark-2: #151228;
    --border: #e8e8ed;
    --border-2: #d8d8e0;

    /* ===== گردی و سایه ===== */
    --r: 12px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 999px;
    --shadow: 0 2px 12px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 24px rgba(0,0,0,0.07);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.1);
    --ease: 0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Vazirmatn', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-2);
    background: var(--bg);
    direction: rtl;
    overflow-x: hidden;
}

a { text-decoration: none; color: var(--accent); transition: all var(--ease); }
a:hover { color: var(--accent-dark); }
ul { list-style: none; }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { color: var(--text); font-weight: 800; line-height: 1.3; }
::selection { background: var(--accent); color: #fff; }

.container { max-width: 1300px; margin: 0 auto; padding: 0 24px; }

/* ===== BUTTONS - آبی یخی ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 28px; border-radius: var(--r); font-family: inherit; font-size: 14px;
    font-weight: 600; cursor: pointer; border: 2px solid transparent;
    transition: all var(--ease); white-space: nowrap;
}
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 25px var(--accent-hover-shadow); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: var(--bg-dark); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-white { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--accent); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 16px 38px; font-size: 15px; }

/* =============================================
   HEADER - سورمه‌ای
   ============================================= */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: var(--header-bg);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: all var(--ease);
}
.header.scrolled { background: var(--header-bg-dark); box-shadow: 0 2px 20px rgba(0,0,0,0.2); }

.header-inner {
    display: flex; align-items: center; justify-content: space-between; height: 72px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 42px; height: 42px; background: var(--accent); color: #fff; border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 900; }
.logo-name { font-size: 20px; font-weight: 900; color: #fff; display: block; }
.logo-sub { display: block; font-size: 9px; color: rgba(255,255,255,0.4); font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 2px; }
.nav-link { padding: 8px 16px; color: rgba(255,255,255,0.7); font-size: 14px; font-weight: 500; border-radius: var(--r); transition: all var(--ease); }
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
.nav-link.active { color: var(--accent); font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-toggle { display: none; background: none; border: none; font-size: 22px; color: #fff; cursor: pointer; }

/* =============================================
   HERO BANNER
   ============================================= */
.hero-banner {
    position: relative; min-height: 600px; margin-top: 72px; overflow: hidden;
    background: linear-gradient(135deg, var(--header-bg) 0%, var(--header-bg-dark) 100%);
}
.hero-banner-img {
    position: absolute; inset: 0;
    background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(26,39,68,0.92) 0%, rgba(15,27,51,0.82) 50%, rgba(26,39,68,0.95) 100%);
}
.hero-banner-content {
    position: relative; z-index: 2; min-height: 528px; display: flex; flex-direction: column;
    justify-content: center; max-width: 700px; padding: 40px 0;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(91,192,222,0.15); border: 1px solid rgba(91,192,222,0.3);
    color: #fff; padding: 6px 16px; border-radius: var(--r-full);
    font-size: 13px; font-weight: 600; margin-bottom: 20px; width: fit-content;
}
.hero-tag-dot {
    width: 8px; height: 8px; border-radius: 50%; background: var(--green);
    box-shadow: 0 0 8px var(--green); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

.hero-banner h1 { font-size: 46px; color: #fff; font-weight: 900; line-height: 1.15; margin-bottom: 16px; }
.hero-banner h1 span { color: var(--accent); }
.hero-banner-desc { font-size: 17px; color: rgba(255,255,255,0.6); line-height: 1.8; margin-bottom: 32px; }

.hero-search {
    background: rgba(255,255,255,0.1); backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15); border-radius: var(--r-lg);
    padding: 8px; display: flex; gap: 6px;
}
.hero-search-field {
    flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 16px;
    background: rgba(255,255,255,0.08); border-radius: var(--r);
    border: 1px solid transparent; transition: all var(--ease);
}
.hero-search-field:focus-within { border-color: rgba(255,255,255,0.2); background: rgba(255,255,255,0.12); }
.hero-search-field i { color: rgba(255,255,255,0.4); font-size: 15px; }
.hero-search-field input, .hero-search-field select {
    border: none; outline: none; background: transparent; color: #fff;
    font-family: inherit; font-size: 14px; width: 100%;
}
.hero-search-field input::placeholder { color: rgba(255,255,255,0.35); }
.hero-search-field select { color: rgba(255,255,255,0.6); cursor: pointer; }
.hero-search-field select option { background: var(--bg-dark); color: #fff; }

.hero-stats-row { display: flex; gap: 40px; margin-top: 32px; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num { font-size: 26px; font-weight: 900; color: #fff; }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,0.4); }

/* =============================================
   SECTIONS
   ============================================= */
.sec { padding: 80px 0; position: relative; }
.sec--cream { background: var(--bg-2); }
.sec--light { background: var(--bg-3); }
.sec--blue { background: var(--bg-4); }
.sec--dark { background: var(--bg-dark); color: rgba(255,255,255,0.6); }
.sec--dark h2,.sec--dark h3,.sec--dark h4 { color: #fff; }

.sec-header { text-align: center; margin-bottom: 48px; }
.sec-header h2 { font-size: 32px; margin-bottom: 10px; }
.sec-header p { font-size: 15px; color: var(--text-3); max-width: 600px; margin: 0 auto; }
.accent-line { width: 50px; height: 3px; background: var(--accent); border-radius: 3px; margin: 16px auto 0; }

/* =============================================
   CATEGORY TABS
   ============================================= */
.tabs-nav {
    display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; justify-content: center;
}
.tab-btn {
    padding: 14px 30px; border-radius: var(--r-full); border: 2px solid var(--border);
    background: var(--bg); color: var(--text-2); font-family: inherit; font-size: 14px;
    font-weight: 600; cursor: pointer; transition: all var(--ease);
    display: flex; align-items: center; gap: 8px;
}
.tab-btn:hover { border-color: var(--accent); color: var(--accent); }
.tab-btn.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.tab-btn i { font-size: 16px; }

.tab-panel { display: none; animation: tabFade 0.4s ease; }
.tab-panel.active { display: block; }
@keyframes tabFade { from { opacity:0; transform:translateY(15px); } to { opacity:1; transform:translateY(0); } }

.tab-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.tab-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg);
    overflow: hidden; transition: all var(--ease);
}
.tab-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.tab-card-img { height: 180px; overflow: hidden; position: relative; }
.tab-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.tab-card:hover .tab-card-img img { transform: scale(1.06); }
.tab-card-body { padding: 18px; }
.tab-card-body h4 { font-size: 15px; margin-bottom: 4px; }
.tab-card-body p { font-size: 12px; color: var(--text-3); margin: 0; }
.tab-card-stars { display: flex; gap: 1px; color: var(--gold); font-size: 11px; margin-top: 6px; }
.tab-card-loc { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--text-light); margin-top: 6px; }
.tab-card-loc i { font-size: 10px; }

/* =============================================
   FULL WIDTH BANNER
   ============================================= */
.wide-banner {
    position: relative; height: 380px; border-radius: var(--r-xl); overflow: hidden;
}
.wide-banner img { width: 100%; height: 100%; object-fit: cover; }
.wide-banner-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(26,39,68,0.92) 0%, rgba(26,39,68,0.3) 100%);
    display: flex; align-items: center; padding: 50px;
}
.wide-banner-text { max-width: 500px; color: #fff; }
.wide-banner-text h2 { font-size: 30px; color: #fff; margin-bottom: 12px; }
.wide-banner-text p { font-size: 15px; color: rgba(255,255,255,0.55); margin-bottom: 24px; line-height: 1.7; }

/* =============================================
   BUSINESS CARDS
   ============================================= */
.biz-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.biz-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg);
    overflow: hidden; transition: all var(--ease);
}
.biz-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.biz-card-img { height: 200px; overflow: hidden; position: relative; }
.biz-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.biz-card:hover .biz-card-img img { transform: scale(1.06); }

.biz-badge { position: absolute; top: 12px; right: 12px; padding: 4px 12px; border-radius: var(--r-full); font-size: 11px; font-weight: 700; color: #fff; }
.badge-blue { background: var(--accent); }
.badge-gold { background: var(--gold); }
.badge-green { background: var(--green); }

.biz-card-body { padding: 20px; }
.biz-cat { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.biz-card-body h3 { font-size: 16px; margin-bottom: 6px; }
.biz-card-body h3 a { color: var(--text); }
.biz-card-body h3 a:hover { color: var(--accent); }
.biz-desc { font-size: 13px; color: var(--text-3); line-height: 1.6; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.biz-stars { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-bottom: 8px; }
.biz-stars .stars { color: var(--gold); display: flex; gap: 1px; font-size: 12px; }
.biz-stars span { color: var(--text-3); }
.biz-meta { display: flex; flex-direction: column; gap: 4px; }
.biz-meta-row { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-3); }
.biz-meta-row i { width: 14px; font-size: 11px; color: var(--text-light); }
.biz-card-foot { padding: 14px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.biz-status { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: var(--r-full); }
.st-open { background: var(--green-soft); color: var(--green); }
.st-closed { background: var(--accent-soft); color: var(--accent); }
.biz-link { font-size: 12px; font-weight: 600; color: var(--accent); display: flex; align-items: center; gap: 4px; }
.biz-link i { font-size: 10px; }

/* =============================================
   CAROUSEL
   ============================================= */
.carousel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.carousel-head h2 { font-size: 28px; }
.carousel-head p { font-size: 14px; color: var(--text-3); margin-top: 4px; }
.carousel-arrows { display: flex; gap: 8px; }
.carousel-arrow {
    width: 44px; height: 44px; border-radius: var(--r-full); border: 1px solid var(--border);
    background: var(--bg); color: var(--text-2); font-size: 16px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: all var(--ease);
}
.carousel-arrow:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.carousel-track {
    display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 10px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .biz-card { min-width: 300px; flex-shrink: 0; scroll-snap-align: start; }

/* =============================================
   DOCTORS GRID
   ============================================= */
.doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.doc-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg);
    overflow: hidden; text-align: center; transition: all var(--ease);
}
.doc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.doc-card-img { height: 220px; overflow: hidden; }
.doc-card-img img { width: 100%; height: 100%; object-fit: cover; }
.doc-card-body { padding: 20px; }
.doc-card-body h3 { font-size: 16px; margin-bottom: 4px; }
.doc-specialty { font-size: 13px; color: var(--accent); font-weight: 600; margin-bottom: 6px; }
.doc-card-body .biz-stars { justify-content: center; }
.doc-loc { font-size: 12px; color: var(--text-3); display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 6px; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testi-card {
    padding: 30px; background: var(--bg); border: 1px solid var(--border);
    border-radius: var(--r-lg); transition: all var(--ease); position: relative;
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testi-card::before { content:'\201C'; position: absolute; top: 16px; left: 20px; font-size: 50px; color: var(--accent); opacity: 0.12; font-family: Georgia, serif; line-height: 1; }
.testi-text { font-size: 14px; color: var(--text-2); line-height: 1.8; margin-bottom: 20px; }
.testi-footer { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border); }
.testi-avatar { width: 44px; height: 44px; border-radius: var(--r-full); overflow: hidden; flex-shrink: 0; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-name { font-size: 14px; font-weight: 700; color: var(--text); }
.testi-role { font-size: 12px; color: var(--text-3); }

/* =============================================
   BLOG
   ============================================= */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
    background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg);
    overflow: hidden; transition: all var(--ease);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-card-img { height: 200px; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-body { padding: 22px; }
.blog-tag { font-size: 11px; font-weight: 700; color: var(--accent); text-transform: uppercase; margin-bottom: 8px; display: inline-block; }
.blog-card-body h3 { font-size: 17px; margin-bottom: 8px; }
.blog-card-body h3 a { color: var(--text); }
.blog-card-body h3 a:hover { color: var(--accent); }
.blog-excerpt { font-size: 13px; color: var(--text-3); line-height: 1.7; margin-bottom: 14px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.blog-meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--text-light); }
.blog-meta i { font-size: 11px; }

/* =============================================
   WHY CARDS
   ============================================= */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-card {
    text-align: center; padding: 36px 24px; border-radius: var(--r-lg);
    background: var(--bg); border: 1px solid var(--border); transition: all var(--ease);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.why-icon { width: 64px; height: 64px; border-radius: var(--r-lg); display: inline-flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 18px; }
.wi-1 { background: var(--accent-soft); color: var(--accent); }
.wi-2 { background: var(--green-soft); color: var(--green); }
.wi-3 { background: rgba(201,162,39,0.06); color: var(--gold); }
.wi-4 { background: rgba(108,92,231,0.06); color: var(--purple); }
.why-card h3 { font-size: 16px; margin-bottom: 8px; }
.why-card p { font-size: 13px; color: var(--text-3); line-height: 1.6; }

/* =============================================
   CTA
   ============================================= */
.cta {
    background: linear-gradient(135deg, var(--header-bg) 0%, var(--header-bg-dark) 100%);
    padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta::before { content: ''; position: absolute; top: -50%; right: -20%; width: 500px; height: 500px; border-radius: 50%; background: rgba(91,192,222,0.08); filter: blur(80px); }
.cta-content { position: relative; z-index: 2; max-width: 600px; margin: 0 auto; }
.cta-content h2 { font-size: 32px; color: #fff; margin-bottom: 14px; }
.cta-content p { font-size: 16px; color: rgba(255,255,255,0.5); margin-bottom: 32px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   SINGLE BUSINESS PAGE
   ============================================= */
.single-biz-hero {
    background: linear-gradient(135deg, var(--header-bg) 0%, var(--header-bg-dark) 100%);
    padding: 120px 0 50px; position: relative; overflow: hidden;
}
.single-biz-hero-img {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    opacity: 0.15;
}
.single-biz-hero-content { position: relative; z-index: 2; }
.single-biz-hero .biz-cat { color: var(--accent); font-size: 13px; font-weight: 700; margin-bottom: 8px; display: inline-block; }
.single-biz-hero h1 { color: #fff; font-size: 36px; margin-bottom: 12px; }
.single-biz-hero .biz-stars { margin-bottom: 8px; }
.single-biz-hero .biz-stars .stars { color: var(--gold); }
.single-biz-hero .biz-stars span { color: rgba(255,255,255,0.6); }
.single-biz-hero .hero-meta { display: flex; flex-wrap: wrap; gap: 20px; color: rgba(255,255,255,0.6); font-size: 14px; margin-top: 16px; }
.single-biz-hero .hero-meta i { color: var(--accent); margin-left: 6px; }

.single-biz-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; padding: 50px 0; }

.single-biz-main {}
.single-biz-section { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; margin-bottom: 24px; }
.single-biz-section h2 { font-size: 20px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.single-biz-section .biz-description { font-size: 15px; line-height: 1.9; color: var(--text-2); }
.single-biz-section .biz-description p { margin-bottom: 12px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; border-radius: var(--r); cursor: pointer; transition: transform 0.3s; }
.gallery-grid img:hover { transform: scale(1.03); }

/* Sidebar */
.single-biz-sidebar {}
.sidebar-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; margin-bottom: 20px; }
.sidebar-box h3 { font-size: 16px; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }

.contact-list { display: flex; flex-direction: column; gap: 12px; }
.contact-item { display: flex; align-items: center; gap: 12px; padding: 10px; background: var(--bg-2); border-radius: var(--r); }
.contact-item-icon { width: 40px; height: 40px; border-radius: var(--r); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.ci-phone { background: var(--green-soft); color: var(--green); }
.ci-whatsapp { background: rgba(37,211,102,0.08); color: #25d366; }
.ci-instagram { background: rgba(225,48,108,0.08); color: #e1306c; }
.ci-website { background: var(--accent-soft); color: var(--accent); }
.contact-item-text { font-size: 13px; }
.contact-item-text .ci-label { font-size: 11px; color: var(--text-light); display: block; }
.contact-item-text .ci-value { color: var(--text); font-weight: 600; }
.contact-item-text a { color: var(--text); }
.contact-item-text a:hover { color: var(--accent); }

.work-hours { display: flex; flex-direction: column; gap: 6px; }
.work-hour-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.work-hour-row:last-child { border-bottom: none; }
.wh-day { font-weight: 600; color: var(--text); }
.wh-time { color: var(--text-3); }
.wh-closed { color: var(--accent); font-weight: 600; }

.address-box { font-size: 14px; color: var(--text-2); line-height: 1.8; }
.address-box i { color: var(--accent); margin-left: 6px; }
.map-placeholder { width: 100%; height: 200px; background: var(--bg-3); border-radius: var(--r); margin-top: 12px; display: flex; align-items: center; justify-content: center; color: var(--text-light); font-size: 14px; }

/* Reviews */
.reviews-list { display: flex; flex-direction: column; gap: 16px; }
.review-item { padding: 20px; background: var(--bg-2); border-radius: var(--r-lg); }
.review-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-avatar { width: 44px; height: 44px; border-radius: var(--r-full); overflow: hidden; flex-shrink: 0; background: var(--bg-3); display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--accent); font-size: 16px; }
.review-avatar img { width: 100%; height: 100%; object-fit: cover; }
.review-name { font-weight: 700; font-size: 14px; color: var(--text); }
.review-date { font-size: 12px; color: var(--text-light); }
.review-stars { color: var(--gold); font-size: 12px; display: flex; gap: 1px; margin-bottom: 8px; }
.review-text { font-size: 14px; color: var(--text-2); line-height: 1.7; }

.review-form { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.review-form h3 { font-size: 16px; margin-bottom: 16px; }
.star-rating { display: flex; gap: 4px; margin-bottom: 12px; direction: ltr; }
.star-rating i { font-size: 22px; color: var(--border); cursor: pointer; transition: color 0.2s; }
.star-rating i:hover, .star-rating i.active { color: var(--gold); }

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 50px; }
.contact-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 30px; text-align: center; transition: all var(--ease); }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cc-icon { width: 56px; height: 56px; border-radius: var(--r-lg); background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.contact-card h3 { font-size: 15px; margin-bottom: 8px; }
.contact-card p { font-size: 14px; color: var(--text-3); margin: 0; }

.contact-layout { display: grid; grid-template-columns: 1fr 380px; gap: 30px; }
.contact-form-box { background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 40px; }
.contact-form-box h2 { font-size: 24px; margin-bottom: 6px; }
.contact-form-box > p { color: var(--text-3); font-size: 14px; margin-bottom: 28px; }
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-input { width: 100%; padding: 12px 16px; border: 1px solid var(--border); border-radius: var(--r); font-family: inherit; font-size: 14px; color: var(--text); background: var(--bg); transition: all var(--ease); }
.form-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
textarea.form-input { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-success { background: var(--green-soft); color: var(--green); padding: 14px 20px; border-radius: var(--r); font-size: 14px; font-weight: 600; display: none; align-items: center; gap: 8px; margin-bottom: 20px; }
.form-success.show { display: flex; }

.contact-aside { background: var(--bg-2); border-radius: var(--r-lg); padding: 36px; }
.contact-aside h3 { font-size: 18px; margin-bottom: 24px; }
.ca-list li { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.ca-icon { width: 44px; height: 44px; border-radius: var(--r); background: var(--bg); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; box-shadow: var(--shadow); }
.ca-label { font-size: 12px; color: var(--text-light); font-weight: 600; text-transform: uppercase; }
.ca-value { font-size: 14px; color: var(--text); font-weight: 500; margin-top: 2px; }

/* =============================================
   ABOUT PAGE
   ============================================= */
.about-hero-text { max-width: 800px; margin: 0 auto; text-align: center; }
.about-hero-text h2 { font-size: 30px; margin-bottom: 16px; }
.about-hero-text p { font-size: 16px; color: var(--text-3); line-height: 1.8; }

.about-banner { border-radius: var(--r-xl); overflow: hidden; height: 350px; margin: 40px 0; }
.about-banner img { width: 100%; height: 100%; object-fit: cover; }

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value-card { text-align: center; padding: 40px 28px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); transition: all var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.v-icon { width: 68px; height: 68px; border-radius: var(--r-lg); display: inline-flex; align-items: center; justify-content: center; font-size: 28px; margin-bottom: 18px; }
.v-1 { background: var(--accent-soft); color: var(--accent); }
.v-2 { background: rgba(201,162,39,0.06); color: var(--gold); }
.v-3 { background: var(--green-soft); color: var(--green); }
.value-card h3 { font-size: 18px; margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--text-3); line-height: 1.7; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.team-card { text-align: center; padding: 28px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--r-lg); transition: all var(--ease); }
.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.team-avatar { width: 100px; height: 100px; border-radius: var(--r-full); overflow: hidden; margin: 0 auto 16px; }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 16px; margin-bottom: 4px; }
.team-card p { font-size: 13px; color: var(--text-3); }

/* =============================================
   FOOTER
   ============================================= */
.footer { background: var(--header-bg-dark); color: rgba(255,255,255,0.5); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .logo-name { color: #fff; }
.footer .logo-sub { color: rgba(255,255,255,0.3); }
.footer-about { font-size: 14px; line-height: 1.8; margin: 16px 0; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer h4::after { content: ''; position: absolute; bottom: 0; right: 0; width: 30px; height: 2px; background: var(--accent); }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.5); font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.footer-contact li { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 10px; }
.footer-contact i { color: var(--accent); width: 16px; }
.footer-social { display: flex; gap: 10px; margin-top: 16px; }
.footer-social a { width: 38px; height: 38px; border-radius: var(--r); background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); font-size: 16px; transition: all var(--ease); }
.footer-social a:hover { background: var(--accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding: 20px 0; margin-top: 40px; text-align: center; font-size: 13px; }

/* Breadcrumb */
.page-hero { background: linear-gradient(135deg, var(--header-bg) 0%, var(--header-bg-dark) 100%); padding: 130px 0 50px; }
.page-hero h1 { font-size: 32px; color: #fff; margin-bottom: 8px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.breadcrumb a { color: rgba(255,255,255,0.4); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: rgba(255,255,255,0.15); font-size: 10px; }
.breadcrumb-current { color: rgba(255,255,255,0.7); }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.4,0,0.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== WordPress Specific ===== */
.wp-block-image img { border-radius: var(--r); }
.aligncenter { text-align: center; margin: 20px auto; }
.alignleft { float: right; margin: 0 0 16px 20px; }
.alignright { float: left; margin: 0 20px 16px 0; }
.wp-caption { max-width: 100%; }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.pagination a, .pagination span { width: 42px; height: 42px; border-radius: var(--r); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--text-2); transition: all var(--ease); }
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--accent); border-color: var(--accent); color: #fff; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .biz-grid, .tab-grid, .doc-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-layout, .single-biz-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav { display: none; position: fixed; inset: 0; background: var(--header-bg); flex-direction: column; justify-content: center; align-items: center; gap: 8px; z-index: 999; }
    .nav.active { display: flex; }
    .nav .nav-link { font-size: 18px; padding: 14px 30px; color: rgba(255,255,255,0.8); }
    .mobile-toggle { display: block; z-index: 1001; }
    .header-actions .btn { display: none; }

    .hero-banner { min-height: 500px; }
    .hero-banner h1 { font-size: 28px; }
    .hero-search { flex-direction: column; }
    .hero-stats-row { gap: 20px; }

    .biz-grid, .tab-grid, .doc-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-grid, .blog-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .wide-banner { height: 280px; }
    .wide-banner-overlay { padding: 24px; }
    .wide-banner-text h2 { font-size: 22px; }
    .tabs-nav { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; }
    .tab-btn { white-space: nowrap; }
    .form-row { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .single-biz-hero h1 { font-size: 26px; }
}

@media (max-width: 480px) {
    .hero-banner h1 { font-size: 24px; }
    .why-grid, .contact-grid, .team-grid { grid-template-columns: 1fr; }
    .cta-btns { flex-direction: column; }
    .gallery-grid { grid-template-columns: 1fr; }
}
/* =============================================
   CATEGORIES PAGE
   ============================================= */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 24px 28px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    transition: all var(--ease);
    position: relative;
    color: var(--text-2);
    text-decoration: none;
}

.cat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
    color: var(--text);
}

.cat-card-img {
    width: 100%;
    height: 140px;
    border-radius: var(--r);
    overflow: hidden;
    margin-bottom: 16px;
}

.cat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cat-card:hover .cat-card-img img {
    transform: scale(1.06);
}

.cat-card-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--r-lg);
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    transition: all var(--ease);
}

.cat-card:hover .cat-card-icon {
    background: var(--accent);
    color: #fff;
    transform: scale(1.1);
}

.cat-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
    color: var(--text);
}

.cat-card-count {
    font-size: 13px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.cat-card-desc {
    font-size: 13px;
    color: var(--text-3);
    line-height: 1.6;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cat-card-children {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 10px;
}

.cat-child-tag {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: var(--r-full);
    background: var(--bg-3);
    color: var(--text-3);
    font-weight: 500;
}

.cat-card:hover .cat-child-tag {
    background: var(--accent-soft);
    color: var(--accent);
}

.cat-card-arrow {
    margin-top: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 13px;
    transition: all var(--ease);
}

.cat-card:hover .cat-card-arrow {
    background: var(--accent);
    color: #fff;
}

/* تصویر دسته در Taxonomy */
.cat-term-image {
    width: 100%;
    height: 200px;
    border-radius: var(--r-lg);
    overflow: hidden;
    margin-bottom: 20px;
}

.cat-term-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 1024px) {
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .cat-grid { grid-template-columns: 1fr; }
}
/* =============================================
   TABLES - جدول‌ها با خطوط کامل
   ============================================= */

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 20px 0;
    background: var(--bg);
    border: 2px solid var(--border-2);
    border-radius: var(--r);
    overflow: hidden;
    font-size: 14px;
}

table th,
table td {
    padding: 12px 16px;
    text-align: right;
    border: 1px solid var(--border-2);
    vertical-align: middle;
}

table th {
    background: var(--bg-3);
    color: var(--text);
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    border-bottom: 2px solid var(--border-2);
}

table td {
    color: var(--text-2);
}

table tr:hover td {
    background: var(--bg-2);
}

table tbody tr:nth-child(even) {
    background: var(--bg-2);
}

table tbody tr:nth-child(even):hover td {
    background: var(--bg-3);
}

/* جدول ریسپانسیو */
.biz-description table,
.entry-content table,
.single-biz-section table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
}

/* جدول گوتنبرگ */
.wp-block-table {
    margin: 20px 0;
    overflow-x: auto;
}

.wp-block-table table {
    margin: 0;
}

.wp-block-table figcaption {
    font-size: 12px;
    color: var(--text-3);
    text-align: center;
    margin-top: 8px;
}

@media (max-width: 768px) {
    table th,
    table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    table th,
    table td {
        padding: 8px 10px;
        font-size: 12px;
    }
}