/*!
 * RayanHost — استایل اصلی قالب
 * طراحی لوکس: سرمه‌ای عمیق + آبی نئونی + سبز تاکیدی + صورتی برجسته
 * RTL-first و کاملاً ریسپانسیو
 */

/* ============ ۱) متغیرها و ریست ============ */
:root {
        --rh-primary: #2e5bff;
        --rh-primary-deep: #1f46d6;
        --rh-primary-soft: #eaf0ff;
        --rh-accent: #00c48c;
        --rh-accent-deep: #00a878;
        --rh-highlight: #ff3e8a;
        --rh-gold: #ffb13c;
        --rh-navy-900: #070f26;
        --rh-navy-800: #0a1832;
        --rh-navy-700: #122350;
        --rh-navy-600: #1a3170;
        --rh-ink: #101a33;
        --rh-body: #46516e;
        --rh-muted: #8590ad;
        --rh-bg: #f6f8fe;
        --rh-card: #ffffff;
        --rh-line: #e6eaf5;
        --rh-radius: 18px;
        --rh-radius-sm: 12px;
        --rh-shadow-sm: 0 2px 10px rgba(16, 26, 51, 0.06);
        --rh-shadow-md: 0 10px 30px rgba(16, 26, 51, 0.10);
        --rh-shadow-lg: 0 24px 60px rgba(16, 26, 51, 0.16);
        --rh-glow-primary: 0 10px 30px rgba(46, 91, 255, 0.35);
        --rh-glow-accent: 0 10px 30px rgba(0, 196, 140, 0.35);
        --rh-grad-primary: linear-gradient(135deg, #2e5bff 0%, #7a3bff 100%);
        --rh-grad-dark: linear-gradient(160deg, #0a1832 0%, #122350 60%, #1a3170 100%);
        --rh-grad-accent: linear-gradient(135deg, #00c48c 0%, #00a878 100%);
        --rh-font: "Vazirmatn", Tahoma, "Segoe UI", Arial, sans-serif;
        --rh-transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
        margin: 0;
        font-family: var(--rh-font);
        font-size: 16px;
        line-height: 1.9;
        color: var(--rh-body);
        background: var(--rh-bg);
        text-rendering: optimizeLegibility;
        overflow-x: hidden;
}
body.rh-fs-small { font-size: 15px; }
body.rh-fs-large { font-size: 17px; }

img { max-width: 100%; height: auto; }
a { color: var(--rh-primary); text-decoration: none; transition: var(--rh-transition); }
a:hover { color: var(--rh-primary-deep); }

h1, h2, h3, h4, h5, h6 {
        color: var(--rh-ink);
        font-weight: 800;
        line-height: 1.5;
        margin: 0 0 0.6em;
}

p { margin: 0 0 1.1em; }

.rh-container {
        max-width: 1180px;
        margin-inline: auto;
        padding-inline: 22px;
}

.screen-reader-text {
        border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
        height: 1px; width: 1px; margin: -1px; overflow: hidden;
        padding: 0; position: absolute; word-wrap: normal !important;
}
.skip-link:focus {
        clip: auto; clip-path: none; height: auto; width: auto;
        position: fixed; top: 10px; right: 10px; z-index: 99999;
        background: var(--rh-navy-800); color: #fff; padding: 10px 18px; border-radius: 10px;
}

/* ============ ۲) آیکون‌ها و دکمه‌ها ============ */
.rh-icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; flex-shrink: 0; }
.rh-icon-xs { width: 1em; height: 1em; }
.rh-icon-sm { width: 1.25em; height: 1.25em; }
.rh-icon-md { width: 1.6em; height: 1.6em; }
.rh-icon-lg { width: 1.9em; height: 1.9em; }

.rh-btn {
        display: inline-flex; align-items: center; justify-content: center; gap: 8px;
        padding: 12px 26px; border-radius: 14px; border: 2px solid transparent;
        font-family: inherit; font-size: 0.95rem; font-weight: 700; cursor: pointer;
        transition: var(--rh-transition); text-align: center; line-height: 1.6;
}
.rh-btn-lg { padding: 15px 34px; border-radius: 16px; font-size: 1.02rem; }
.rh-btn-sm { padding: 9px 18px; border-radius: 12px; font-size: 0.88rem; }

.rh-btn-primary {
        background: var(--rh-grad-primary); color: #fff; box-shadow: var(--rh-glow-primary);
}
.rh-btn-primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(46, 91, 255, 0.45); }

.rh-btn-accent {
        background: var(--rh-grad-accent); color: #052e21; box-shadow: var(--rh-glow-accent);
}
.rh-btn-accent:hover { color: #052e21; transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 196, 140, 0.45); }

.rh-btn-ghost {
        background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.35);
}
.rh-btn-ghost:hover { color: #fff; border-color: var(--rh-accent); background: rgba(0, 196, 140, 0.12); transform: translateY(-3px); }

.rh-btn-outline { background: #fff; color: var(--rh-primary); border-color: var(--rh-line); }
.rh-btn-outline:hover { color: #fff; background: var(--rh-grad-primary); border-color: transparent; box-shadow: var(--rh-glow-primary); transform: translateY(-3px); }

/* ============ ۳) هدر ============ */
.rh-header { position: relative; z-index: 100; }
.rh-header-sticky { position: sticky; top: 0; }

.rh-topbar {
        background: var(--rh-navy-900); color: #b9c4e2; font-size: 0.82rem;
}
.rh-topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 8px; }
.rh-topbar-note { display: flex; align-items: center; gap: 6px; color: var(--rh-accent); }
.rh-topbar-contacts { display: flex; align-items: center; gap: 18px; }
.rh-topbar-item { display: inline-flex; align-items: center; gap: 6px; color: #b9c4e2; }
.rh-topbar-item:hover { color: #fff; }

.rh-header-bar {
        background: rgba(255, 255, 255, 0.88);
        -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--rh-line);
        transition: var(--rh-transition);
}
/* پش‌دراپ منوی موبایل - خارج از موبایل بی‌اثر */
.rh-nav-backdrop { display: none; }
.rh-header.is-scrolled .rh-header-bar {
        box-shadow: var(--rh-shadow-md);
        background: rgba(255, 255, 255, 0.96);
}
.rh-header-inner { display: flex; align-items: center; gap: 26px; min-height: 76px; }

.rh-branding { flex-shrink: 0; min-width: 0; }
.rh-logo { display: inline-flex; align-items: center; gap: 10px; }
/* محدودیت خودکار اندازه لوگو: هر تصویری از هر مسیری کوچک و متناسب نمایش داده می‌شود */
.rh-logo img,
.rh-branding img {
        max-height: 52px; width: auto; height: auto; max-width: 220px;
        object-fit: contain;
}
.rh-logo-text-inner { font-size: 1.3rem; font-weight: 800; color: var(--rh-ink); }
.rh-logo-mark {
        display: inline-flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; border-radius: 13px;
        background: var(--rh-grad-primary); color: #fff; box-shadow: var(--rh-glow-primary);
}
.rh-logo-mark-dark { background: rgba(255, 255, 255, 0.1); box-shadow: none; border: 1px solid rgba(255, 255, 255, 0.18); }

/* --- منو با انیمیشن hover: سایه درخشان + تغییر رنگ متن --- */
.rh-nav { flex: 1; }
.rh-menu {
        display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none;
}
.rh-menu > li { position: relative; }
.rh-menu > li > a {
        display: inline-flex; align-items: center; gap: 6px;
        padding: 10px 16px; border-radius: 12px; font-weight: 600; font-size: 0.95rem;
        color: var(--rh-ink); position: relative; transition: var(--rh-transition);
}
.rh-menu > li > a::after {
        content: ""; position: absolute; bottom: 6px; inset-inline: 16px; height: 2px;
        background: var(--rh-grad-accent); border-radius: 2px;
        transform: scaleX(0); transform-origin: center; transition: transform 0.3s ease;
}
.rh-menu > li > a:hover,
.rh-menu > li > a:focus-visible,
.rh-menu > li.current-menu-item > a,
.rh-menu > li.current_page_item > a {
        color: var(--rh-primary);
        background: var(--rh-primary-soft);
        box-shadow: 0 8px 24px rgba(46, 91, 255, 0.28), 0 0 0 1px rgba(46, 91, 255, 0.18) inset;
        transform: translateY(-2px);
}
.rh-menu > li > a:hover::after { transform: scaleX(1); }

.rh-menu-arrow {
        display: inline-block; width: 7px; height: 7px; margin-inline-start: -22px;
        border-inline-end: 2px solid currentColor; border-bottom: 2px solid currentColor;
        transform: rotate(45deg) translateY(-2px); opacity: 0.55; pointer-events: none;
}

.rh-submenu {
        position: absolute; top: calc(100% + 10px); inset-inline-start: 0; min-width: 230px;
        background: #fff; border: 1px solid var(--rh-line); border-radius: 16px;
        box-shadow: var(--rh-shadow-lg); padding: 8px; margin: 0; list-style: none;
        opacity: 0; visibility: hidden; transform: translateY(12px);
        transition: var(--rh-transition); z-index: 60;
}
.rh-menu li:hover > .rh-submenu,
.rh-menu li:focus-within > .rh-submenu {
        opacity: 1; visibility: visible; transform: translateY(0);
}
.rh-submenu a {
        display: block; padding: 10px 14px; border-radius: 10px;
        color: var(--rh-ink); font-size: 0.9rem; font-weight: 600;
}
.rh-submenu a:hover { background: var(--rh-primary-soft); color: var(--rh-primary); box-shadow: 0 6px 16px rgba(46, 91, 255, 0.18); }

.rh-header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.rh-header-cta { white-space: nowrap; }

/* دکمه ورود / پنل کاربری در هدر */
.rh-header-account { white-space: nowrap; padding: 9px 18px; }
.rh-header-account .rh-icon-xs { margin-inline-end: 2px; }

@media (max-width: 1024px) {
        .rh-header-account span { display: none; }
        .rh-header-account { padding: 9px 12px; }
}

.rh-burger {
        display: none; flex-direction: column; justify-content: center; gap: 5px;
        width: 44px; height: 44px; padding: 10px; border: 1px solid var(--rh-line);
        border-radius: 12px; background: #fff; cursor: pointer;
}
.rh-burger span { display: block; height: 2.5px; border-radius: 2px; background: var(--rh-ink); transition: var(--rh-transition); }
.rh-burger.is-active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.rh-burger.is-active span:nth-child(2) { opacity: 0; }
.rh-burger.is-active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ ۴) نوار ارتباطی (شبکه‌های اجتماعی) ============ */
.rh-social-strip { background: #fff; border-bottom: 1px solid var(--rh-line); padding-block: 18px; }
.rh-social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.rh-social-card {
        display: flex; align-items: center; gap: 14px; padding: 14px 18px;
        border-radius: var(--rh-radius); border: 1px solid var(--rh-line);
        background: linear-gradient(135deg, rgba(246, 248, 254, 0.6), #fff);
        transition: var(--rh-transition);
}
.rh-social-card:hover { transform: translateY(-4px); box-shadow: var(--rh-shadow-lg); border-color: transparent; color: inherit; }

.rh-social-icon {
        display: inline-flex; align-items: center; justify-content: center;
        width: 46px; height: 46px; border-radius: 50%; color: #fff; flex-shrink: 0;
        transition: var(--rh-transition);
}
.rh-social-card:hover .rh-social-icon { transform: scale(1.12) rotate(-6deg); }

.rh-social-whatsapp .rh-social-icon { background: linear-gradient(135deg, #25d366, #128c4b); box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4); }
.rh-social-telegram .rh-social-icon { background: linear-gradient(135deg, #38b0e3, #1c7fb3); box-shadow: 0 8px 20px rgba(56, 176, 227, 0.4); }
.rh-social-eitaa .rh-social-icon { background: linear-gradient(135deg, #ff8a3c, #e0610f); box-shadow: 0 8px 20px rgba(255, 138, 60, 0.4); }
.rh-social-bale .rh-social-icon { background: linear-gradient(135deg, #23c4cf, #0e8b95); box-shadow: 0 8px 20px rgba(35, 196, 207, 0.4); }
.rh-social-phone .rh-social-icon { background: linear-gradient(135deg, #2e5bff, #1f46d6); box-shadow: 0 8px 20px rgba(46, 91, 255, 0.4); }
.rh-social-mail .rh-social-icon { background: linear-gradient(135deg, #7a3bff, #5829d6); box-shadow: 0 8px 20px rgba(122, 59, 255, 0.4); }

.rh-social-info { display: flex; flex-direction: column; line-height: 1.7; min-width: 0; }
.rh-social-name { color: var(--rh-ink); font-size: 0.98rem; }
.rh-social-reply { color: var(--rh-muted); font-size: 0.76rem; }
.rh-social-handle { color: var(--rh-body); font-size: 0.85rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============ ۵) هیرو ============ */
.rh-hero {
        position: relative; overflow: hidden;
        background: var(--rh-grad-dark); color: #fff;
        padding-block: 84px 96px;
}
.rh-hero-bg::before,
.rh-hero-bg::after {
        content: ""; position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5;
}
.rh-hero-bg::before { width: 480px; height: 480px; background: rgba(46, 91, 255, 0.5); top: -160px; inset-inline-end: -120px; }
.rh-hero-bg::after { width: 380px; height: 380px; background: rgba(0, 196, 140, 0.35); bottom: -160px; inset-inline-start: -100px; }

.rh-hero-inner {
        position: relative; z-index: 2;
        display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center;
}

.rh-hero-badge {
        display: inline-flex; align-items: center; gap: 8px;
        padding: 8px 18px; border-radius: 999px; margin-bottom: 22px;
        background: rgba(0, 196, 140, 0.14); border: 1px solid rgba(0, 196, 140, 0.35);
        color: #5ff2c3; font-size: 0.85rem; font-weight: 700;
}

.rh-hero-title {
        color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 800; margin-bottom: 18px;
}
.rh-gradient-text {
        background: linear-gradient(120deg, #5ff2c3, #38b0e3 55%, #7a9bff);
        -webkit-background-clip: text; background-clip: text; color: transparent;
}

.rh-hero-subtitle { color: #b9c4e2; font-size: 1.05rem; max-width: 540px; margin-bottom: 30px; }

.rh-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

.rh-hero-trust {
        display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; padding: 0; list-style: none;
        color: #9fb0d5; font-size: 0.86rem;
}
.rh-hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.rh-hero-trust .rh-icon { color: var(--rh-accent); }

.rh-hero-visual { position: relative; min-width: 0; }
.rh-hero-figure { margin: 0; }
.rh-hero-img {
        display: block; width: 100%; height: auto; max-height: 440px;
        object-fit: contain;
        border-radius: 26px;
        box-shadow: 0 30px 80px rgba(3, 8, 20, 0.6);
}

.rh-hero-card {
        position: absolute; bottom: -34px; inset-inline-start: -26px;
        width: min(330px, 86%); padding: 18px 20px;
        background: rgba(255, 255, 255, 0.97); border-radius: 20px;
        box-shadow: var(--rh-shadow-lg); border: 1px solid rgba(255, 255, 255, 0.4);
        animation: rh-float 5s ease-in-out infinite;
}
@keyframes rh-float {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-10px); }
}

.rh-hero-card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.rh-hero-card-head strong { color: var(--rh-ink); font-size: 0.95rem; }
.rh-hero-card-badge {
        display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
        width: 42px; height: 42px; border-radius: 12px;
        background: var(--rh-grad-primary); color: #fff; box-shadow: var(--rh-glow-primary);
}
.rh-hero-card-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.rh-hero-card-list li { display: flex; align-items: center; gap: 9px; color: var(--rh-body); font-size: 0.88rem; }

.rh-check-dot {
        display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
        width: 19px; height: 19px; border-radius: 50%; background: rgba(0, 196, 140, 0.15);
        color: var(--rh-accent-deep);
}
.rh-check-dot .rh-icon { width: 0.72em; height: 0.72em; stroke-width: 3; }

/* ============ ۶) چیدمان عمومی بخش‌ها ============ */
.rh-section { padding-block: 74px; }
.rh-section:nth-of-type(even):not(.rh-hero):not(.rh-social-strip) { background: #fff; }

.rh-section-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }
.rh-section-title { position: relative; display: inline-block; font-size: clamp(1.4rem, 2.6vw, 2rem); padding-bottom: 14px; margin-bottom: 10px; }
.rh-section-title::after {
        content: ""; position: absolute; bottom: 0; inset-inline-start: 50%; transform: translateX(50%);
        width: 74px; height: 4px; border-radius: 4px; background: var(--rh-grad-accent);
}
.rh-section-subtitle { color: var(--rh-muted); font-size: 0.98rem; margin: 0; }

/* ============ ۷) خدمات ============ */
.rh-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.rh-service-card {
        position: relative; padding: 30px 26px; border-radius: var(--rh-radius);
        background: #fff; border: 1px solid var(--rh-line);
        transition: var(--rh-transition); overflow: hidden;
}
.rh-service-card::before {
        content: ""; position: absolute; inset: 0 0 auto; height: 3px;
        background: var(--rh-grad-primary); opacity: 0; transition: var(--rh-transition);
}
.rh-service-card:hover { transform: translateY(-6px); box-shadow: var(--rh-shadow-lg); border-color: transparent; }
.rh-service-card:hover::before { opacity: 1; }

.rh-service-icon {
        display: inline-flex; align-items: center; justify-content: center;
        width: 60px; height: 60px; border-radius: 16px; margin-bottom: 18px;
        background: var(--rh-primary-soft); color: var(--rh-primary);
        transition: var(--rh-transition);
}
.rh-service-card:hover .rh-service-icon { background: var(--rh-grad-primary); color: #fff; box-shadow: var(--rh-glow-primary); transform: scale(1.06) rotate(-4deg); }

.rh-service-title { font-size: 1.08rem; margin-bottom: 8px; }
.rh-service-title a { color: var(--rh-ink); }
.rh-service-title a:hover { color: var(--rh-primary); }
.rh-service-desc { color: var(--rh-muted); font-size: 0.9rem; margin-bottom: 14px; }
.rh-service-more { font-size: 0.87rem; font-weight: 700; color: var(--rh-primary); }

/* ============ ۸) آمار ============ */
.rh-stats { background: transparent !important; }
.rh-stats-grid {
        display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
        background: #fff; border: 1px solid var(--rh-line); border-radius: 22px;
        padding: 34px 20px; box-shadow: var(--rh-shadow-sm);
}
.rh-stat { text-align: center; position: relative; }
.rh-stat:not(:last-child)::after {
        content: ""; position: absolute; inset-inline-end: -9px; top: 50%; transform: translateY(-50%);
        width: 1px; height: 46px; background: var(--rh-line);
}
.rh-stat-number { display: block; font-size: 2rem; font-weight: 800; color: var(--rh-primary); }
.rh-stat:nth-child(2) .rh-stat-number { color: var(--rh-highlight); }
.rh-stat:nth-child(3) .rh-stat-number { color: var(--rh-accent); }
.rh-stat:nth-child(4) .rh-stat-number { color: var(--rh-gold); }
.rh-stat-label { color: var(--rh-muted); font-size: 0.88rem; }

/* ============ ۹) مزایا ============ */
.rh-advantages-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.rh-advantage-card {
        padding: 28px 22px; text-align: center; border-radius: var(--rh-radius);
        background: #fff; border: 1px solid var(--rh-line);
        transition: var(--rh-transition);
}
.rh-advantage-card:hover { transform: translateY(-6px); box-shadow: var(--rh-shadow-lg); }

.rh-advantage-icon {
        display: inline-flex; align-items: center; justify-content: center;
        width: 64px; height: 64px; border-radius: 50%; margin-bottom: 16px; color: #fff;
        transition: var(--rh-transition);
}
.rh-advantage-icon-1 { background: linear-gradient(135deg, #2e5bff, #1f46d6); box-shadow: 0 10px 24px rgba(46, 91, 255, 0.35); }
.rh-advantage-icon-2 { background: linear-gradient(135deg, #00c48c, #00a878); box-shadow: 0 10px 24px rgba(0, 196, 140, 0.35); }
.rh-advantage-icon-3 { background: linear-gradient(135deg, #ff3e8a, #d91f6c); box-shadow: 0 10px 24px rgba(255, 62, 138, 0.35); }
.rh-advantage-icon-4 { background: linear-gradient(135deg, #ffb13c, #f08c00); box-shadow: 0 10px 24px rgba(255, 177, 60, 0.35); }
.rh-advantage-card:hover .rh-advantage-icon { transform: scale(1.1) rotate(6deg); }

.rh-advantage-title { font-size: 1.02rem; margin-bottom: 8px; }
.rh-advantage-desc { color: var(--rh-muted); font-size: 0.88rem; margin: 0; }

/* ============ ۱۰) مراحل ============ */
.rh-steps-grid {
        display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
        margin: 0; padding: 0; list-style: none; counter-reset: rh-step;
}
.rh-step-card {
        position: relative; padding: 30px 24px 26px; border-radius: var(--rh-radius);
        background: #fff; border: 1px solid var(--rh-line); transition: var(--rh-transition);
}
.rh-step-card:hover { transform: translateY(-6px); box-shadow: var(--rh-shadow-lg); border-color: var(--rh-primary); }

.rh-step-number {
        display: inline-flex; align-items: center; justify-content: center;
        width: 44px; height: 44px; border-radius: 14px; margin-bottom: 16px;
        background: var(--rh-grad-primary); color: #fff; font-weight: 800; font-size: 1.1rem;
        box-shadow: var(--rh-glow-primary);
}
.rh-step-title { font-size: 1rem; margin-bottom: 6px; }
.rh-step-desc { color: var(--rh-muted); font-size: 0.87rem; margin: 0; }

/* ============ ۱۱) پلن‌های قیمت ============ */
.rh-pricing-grid {
        display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch;
}

.rh-plan-card {
        position: relative; display: flex; flex-direction: column;
        padding: 34px 28px; border-radius: 24px; background: #fff;
        border: 1px solid var(--rh-line); box-shadow: var(--rh-shadow-sm);
        transition: var(--rh-transition);
}
.rh-plan-card:hover { transform: translateY(-8px); box-shadow: var(--rh-shadow-lg); }

.rh-plan-featured {
        border: 2px solid transparent;
        background: linear-gradient(#fff, #fff) padding-box, var(--rh-grad-primary) border-box;
        box-shadow: 0 20px 60px rgba(46, 91, 255, 0.25);
        transform: scale(1.03);
        z-index: 2;
}
.rh-plan-featured:hover { transform: scale(1.03) translateY(-8px); }

.rh-plan-badge {
        position: absolute; top: -15px; inset-inline-start: 50%; transform: translateX(50%);
        padding: 6px 22px; border-radius: 999px; white-space: nowrap;
        background: var(--rh-grad-primary); color: #fff; font-size: 0.8rem; font-weight: 700;
        box-shadow: var(--rh-glow-primary);
}

.rh-plan-name { text-align: center; font-size: 1.15rem; color: var(--rh-ink); margin-bottom: 14px; }

.rh-plan-price { text-align: center; margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px dashed var(--rh-line); }
.rh-plan-amount { font-size: 1.9rem; font-weight: 800; color: var(--rh-primary); }
.rh-plan-currency { color: var(--rh-muted); font-size: 0.9rem; margin-inline-start: 4px; }
.rh-plan-period { color: var(--rh-muted); font-size: 0.82rem; }
.rh-plan-custom { color: var(--rh-ink); }

.rh-plan-features { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; flex: 1; }
.rh-plan-features li { display: flex; align-items: flex-start; gap: 9px; font-size: 0.9rem; color: var(--rh-body); }

.rh-plan-btn { width: 100%; }

.rh-pricing-note {
        display: flex; align-items: center; justify-content: center; gap: 8px;
        margin: 26px 0 0; color: var(--rh-muted); font-size: 0.88rem; text-align: center;
}
.rh-pricing-note .rh-icon { color: var(--rh-accent); }

/* ============ ۱۲) نمونه پروژه‌ها ============ */
.rh-projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.rh-project-card { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--rh-line); transition: var(--rh-transition); }
.rh-project-card:hover { box-shadow: var(--rh-shadow-lg); transform: translateY(-6px); }

.rh-project-thumb { display: block; position: relative; }
.rh-project-thumb img { display: block; width: 100%; aspect-ratio: 640 / 420; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
.rh-project-card:hover .rh-project-thumb img { transform: scale(1.07); }
.rh-thumb-fallback {
        display: flex; align-items: center; justify-content: center;
        width: 100%; aspect-ratio: 640 / 420; background: var(--rh-primary-soft); color: var(--rh-primary);
}

.rh-project-overlay {
        position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
        padding: 20px;
        background: linear-gradient(to top, rgba(7, 15, 38, 0.88) 0%, rgba(7, 15, 38, 0.25) 55%, transparent 100%);
        color: #fff; opacity: 0; transition: var(--rh-transition);
}
.rh-project-card:hover .rh-project-overlay,
.rh-project-thumb:focus-visible .rh-project-overlay { opacity: 1; }
.rh-project-title { font-weight: 800; font-size: 1.02rem; }
.rh-project-client { font-size: 0.82rem; color: #9fb0d5; }

/* ============ ۱۳) نظرات مشتریان ============ */
.rh-testimonials { background: var(--rh-grad-dark); color: #fff; overflow: hidden; }
.rh-testimonials .rh-section-title { color: #fff; }
.rh-testimonials .rh-section-subtitle { color: #9fb0d5; }

.rh-slider { max-width: 820px; margin-inline: auto; overflow: hidden; }
.rh-slider-track {
        display: flex; gap: 22px; transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.rh-testimonial-card {
        flex: 0 0 100%; margin: 0; padding: 34px 34px 28px; border-radius: 24px;
        background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.12);
        -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.rh-testimonial-stars { margin-bottom: 14px; }
.rh-star { color: rgba(255, 255, 255, 0.25); font-size: 1.05rem; }
.rh-star.is-on { color: var(--rh-gold); }

.rh-testimonial-text { margin: 0 0 22px; color: #dfe6f7; font-size: 1rem; line-height: 2.1; }

.rh-testimonial-author { display: flex; align-items: center; gap: 14px; }
.rh-testimonial-avatar {
        display: inline-flex; align-items: center; justify-content: center;
        width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
        background: var(--rh-grad-primary); color: #fff; font-weight: 800; font-size: 1.2rem;
}
.rh-testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rh-testimonial-meta { display: flex; flex-direction: column; }
.rh-testimonial-meta strong { color: #fff; }
.rh-testimonial-meta small { color: #9fb0d5; }

.rh-slider-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.rh-slider-btn {
        width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.25);
        background: rgba(255, 255, 255, 0.06); color: #fff; font-size: 1.15rem; cursor: pointer;
        transition: var(--rh-transition);
}
.rh-slider-btn:hover { background: var(--rh-accent); border-color: transparent; color: #052e21; transform: scale(1.08); }
.rh-slider-dots { display: flex; gap: 8px; }
.rh-slider-dot {
        width: 9px; height: 9px; border-radius: 999px; border: 0; padding: 0; cursor: pointer;
        background: rgba(255, 255, 255, 0.25); transition: var(--rh-transition);
}
.rh-slider-dot.is-active { width: 26px; background: var(--rh-accent); }

/* ============ ۱۴) مقالات ============ */
.rh-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.rh-post-card {
        display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
        background: #fff; border: 1px solid var(--rh-line); transition: var(--rh-transition);
}
.rh-post-card:hover { transform: translateY(-6px); box-shadow: var(--rh-shadow-lg); }

.rh-post-thumb { display: block; }
.rh-post-thumb img { display: block; width: 100%; aspect-ratio: 640 / 400; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
.rh-post-card:hover .rh-post-thumb img { transform: scale(1.06); }

.rh-post-body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 24px; }
.rh-post-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.78rem; color: var(--rh-muted); margin-bottom: 10px; }
.rh-post-meta .rh-icon { color: var(--rh-accent); }
.rh-post-cat a { color: var(--rh-primary); font-weight: 600; }
.rh-post-title { font-size: 1.02rem; line-height: 1.8; margin-bottom: 8px; }
.rh-post-title a { color: var(--rh-ink); }
.rh-post-title a:hover { color: var(--rh-primary); }
.rh-post-excerpt { color: var(--rh-muted); font-size: 0.88rem; margin-bottom: 14px; flex: 1; }
.rh-post-more { font-size: 0.86rem; font-weight: 700; color: var(--rh-primary); }

/* ============ ۱۵) سوالات متداول ============ */
.rh-faq-container { max-width: 860px; }
.rh-faq-list { display: grid; gap: 14px; }

.rh-faq-item { background: #fff; border: 1px solid var(--rh-line); border-radius: 16px; overflow: hidden; transition: var(--rh-transition); }
.rh-faq-item.is-open { box-shadow: var(--rh-shadow-md); border-color: rgba(46, 91, 255, 0.35); }

.rh-faq-q { margin: 0; }
.rh-faq-trigger {
        display: flex; align-items: center; justify-content: space-between; gap: 14px;
        width: 100%; padding: 18px 22px; border: 0; background: transparent; cursor: pointer;
        font-family: inherit; font-size: 0.98rem; font-weight: 700; color: var(--rh-ink);
        text-align: start; transition: var(--rh-transition);
}
.rh-faq-trigger:hover { color: var(--rh-primary); }
.rh-faq-chevron {
        position: relative; width: 11px; height: 11px; flex-shrink: 0;
        border-inline-end: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
        transform: rotate(45deg); transition: var(--rh-transition);
}
.rh-faq-item.is-open .rh-faq-chevron { transform: rotate(225deg); color: var(--rh-primary); }

.rh-faq-a { overflow: hidden; transition: max-height 0.4s ease; }
.rh-faq-a-inner { padding: 0 22px 20px; color: var(--rh-body); font-size: 0.92rem; }

/* ============ ۱۶) فرم مشاوره ============ */
.rh-consult-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 26px; align-items: start; }

.rh-consult-form-wrap {
        padding: 32px; border-radius: 24px; background: #fff;
        border: 1px solid var(--rh-line); box-shadow: var(--rh-shadow-sm);
}

.rh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.rh-form-field { margin-bottom: 16px; }
.rh-form-field label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--rh-ink); margin-bottom: 7px; }
.rh-req { color: var(--rh-highlight); }

.rh-consult-form input,
.rh-consult-form select,
.rh-consult-form textarea {
        width: 100%; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--rh-line);
        background: var(--rh-bg); font-family: inherit; font-size: 0.92rem; color: var(--rh-ink);
        transition: var(--rh-transition);
}
.rh-consult-form input:focus,
.rh-consult-form select:focus,
.rh-consult-form textarea:focus {
        outline: none; border-color: var(--rh-primary); background: #fff;
        box-shadow: 0 0 0 4px rgba(46, 91, 255, 0.12);
}

.rh-honey { position: absolute; inset-inline-start: -9999px; opacity: 0; height: 0; overflow: hidden; }

.rh-form-footer { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.rh-form-status { margin: 0; font-size: 0.88rem; font-weight: 700; }
.rh-form-status.is-ok { color: var(--rh-accent-deep); }
.rh-form-status.is-error { color: var(--rh-highlight); }

.rh-btn-spinner {
        display: none; width: 18px; height: 18px; border-radius: 50%;
        border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
        animation: rh-spin 0.8s linear infinite;
}
.rh-btn.is-loading .rh-btn-spinner { display: inline-block; }
.rh-btn.is-loading .rh-btn-text { opacity: 0.7; }
@keyframes rh-spin { to { transform: rotate(360deg); } }

.rh-consult-contact {
        padding: 30px; border-radius: 24px; background: var(--rh-grad-dark); color: #fff;
        position: relative; overflow: hidden;
}
.rh-consult-contact::after {
        content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%;
        background: rgba(0, 196, 140, 0.25); filter: blur(70px); bottom: -80px; inset-inline-end: -60px;
}
.rh-contact-title { color: #fff; font-size: 1.1rem; margin-bottom: 18px; position: relative; z-index: 1; }

.rh-contact-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 16px; position: relative; z-index: 1; }
.rh-contact-list li { display: flex; align-items: flex-start; gap: 12px; color: #c6d0ea; font-size: 0.9rem; line-height: 1.9; }
.rh-contact-icon {
        display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
        width: 40px; height: 40px; border-radius: 12px;
        background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14);
        color: var(--rh-accent);
}
.rh-contact-mail { position: relative; z-index: 1; width: 100%; }

/* ============ ۱۷) فوتر ============ */
.rh-footer { background: var(--rh-navy-900); color: #9fb0d5; margin-top: 0; }
.rh-footer-grid {
        display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px;
        padding-block: 56px 40px;
}
.rh-footer-col { min-width: 0; }

.rh-widget-title, .rh-footer-col h4 {
        color: #fff; font-size: 1rem; margin-bottom: 18px; position: relative; padding-bottom: 12px;
}
.rh-widget-title::after, .rh-footer-col h4::after {
        content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 34px; height: 3px;
        border-radius: 3px; background: var(--rh-grad-accent);
}

.rh-footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; color: #fff; font-size: 1.1rem; }
.rh-footer-desc { font-size: 0.88rem; line-height: 2; }

.rh-footer-socials { display: flex; gap: 10px; margin-top: 18px; }
.rh-social-btn {
        display: inline-flex; align-items: center; justify-content: center;
        width: 42px; height: 42px; border-radius: 12px; color: #fff;
        background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12);
        transition: var(--rh-transition);
}
.rh-social-btn:hover { transform: translateY(-4px); color: #fff; }
.rh-social-btn.rh-social-whatsapp:hover { background: #25d366; border-color: transparent; box-shadow: 0 10px 24px rgba(37, 211, 102, 0.4); }
.rh-social-btn.rh-social-telegram:hover { background: #38b0e3; border-color: transparent; box-shadow: 0 10px 24px rgba(56, 176, 227, 0.4); }
.rh-social-btn.rh-social-eitaa:hover { background: #ff8a3c; border-color: transparent; box-shadow: 0 10px 24px rgba(255, 138, 60, 0.4); }
.rh-social-btn.rh-social-bale:hover { background: #23c4cf; border-color: transparent; box-shadow: 0 10px 24px rgba(35, 196, 207, 0.4); }

.rh-footer-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rh-footer-menu a { color: #9fb0d5; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.rh-footer-menu a::before { content: "←"; font-size: 0.8em; opacity: 0; transition: var(--rh-transition); }
.rh-footer-menu a:hover { color: #fff; padding-inline-start: 4px; }
.rh-footer-menu a:hover::before { opacity: 1; }

.rh-footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.rh-footer-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; line-height: 1.9; }
.rh-footer-contact .rh-icon { color: var(--rh-accent); margin-top: 5px; }

.rh-widget ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rh-widget a { color: #9fb0d5; font-size: 0.9rem; }
.rh-widget a:hover { color: #fff; }
.rh-widget { margin-bottom: 0; }
.rh-footer-col .rh-widget:last-child { margin-bottom: 0; }

/*
 * ابزارک‌ها و محتوای آزاد وردپرس در فوتر.
 * فوتر روی پس‌زمینه سرمه‌ای تیره است؛ هر محتوایی که مدیر در ابزارک‌ها بنویسد
 * (پاراگراف، عنوان، تقویم، جستجو و ...) باید با پالت روشن فوتر هم‌رنگ شود
 * تا سیاه‌روی‌سیاه و ناخوانا نشود.
 */
.rh-footer h1, .rh-footer h2, .rh-footer h3,
.rh-footer h4, .rh-footer h5, .rh-footer h6 { color: #fff; }

.rh-footer .rh-widget,
.rh-footer .rh-widget p,
.rh-footer .rh-widget div,
.rh-footer .rh-widget span,
.rh-footer .rh-widget li,
.rh-footer .rh-widget address,
.rh-footer .rh-widget time,
.rh-footer .rh-widget caption,
.rh-footer .rh-widget strong,
.rh-footer .rh-widget b,
.rh-footer .rh-widget em,
.rh-footer .rh-widget small { color: #9fb0d5; }

/* تقویم وردپرس در فوتر */
.rh-footer .rh-widget td,
.rh-footer .rh-widget th { padding: 3px 4px; text-align: center; }
.rh-footer #wp-calendar { width: 100%; font-size: 0.82rem; }
.rh-footer #wp-calendar caption { color: #fff; font-weight: 700; padding-bottom: 10px; }
.rh-footer #wp-calendar th { color: #fff; font-weight: 700; }
.rh-footer #wp-calendar a { color: var(--rh-accent); font-weight: 700; }
.rh-footer #wp-calendar a:hover { color: #fff; }
.rh-footer #wp-calendar #prev a, .rh-footer #wp-calendar #next a { color: #9fb0d5; font-weight: 400; }

/* فرم‌ها و انتخابگرهای داخل ابزارک‌های فوتر */
.rh-footer .rh-widget select,
.rh-footer .rh-widget input[type="search"],
.rh-footer .rh-widget input[type="text"],
.rh-footer .rh-widget input[type="email"],
.rh-footer .rh-widget input[type="url"] {
        width: 100%; margin: 0; padding: 9px 14px;
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 10px; color: #fff; font-family: inherit; font-size: 0.9rem;
}
.rh-footer .rh-widget input::placeholder { color: #6d7ba0; opacity: 1; }
.rh-footer .rh-widget .wp-block-search__button,
.rh-footer .rh-widget .button {
        background: var(--rh-grad-accent); color: #052e21; border: 0;
        border-radius: 10px; padding: 9px 18px; font-family: inherit; cursor: pointer;
}

/* برچسب‌ها (ابر برچسب) در فوتر */
.rh-footer .rh-widget .tagcloud a,
.rh-footer .rh-widget .wp-block-tag-cloud a {
        display: inline-block; margin: 0 0 8px; padding: 3px 12px;
        border-radius: 8px; font-size: 0.78rem !important;
        background: rgba(255, 255, 255, 0.07);
        border: 1px solid rgba(255, 255, 255, 0.12); color: #9fb0d5;
}
.rh-footer .rh-widget .tagcloud a:hover,
.rh-footer .rh-widget .wp-block-tag-cloud a:hover { color: #fff; border-color: var(--rh-accent); }

.rh-footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-block: 20px; }
.rh-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.rh-copyright, .rh-footer-credit { margin: 0; font-size: 0.82rem; color: #6d7ba0; }

/* دکمه شناور + بازگشت به بالا */
.rh-float-cta {
        position: fixed; bottom: 26px; inset-inline-end: 26px; z-index: 90;
        display: inline-flex; align-items: center; gap: 8px;
        padding: 13px 22px; border-radius: 999px;
        background: var(--rh-grad-accent); color: #052e21; font-weight: 800; font-size: 0.92rem;
        box-shadow: 0 14px 36px rgba(0, 196, 140, 0.45);
        transition: var(--rh-transform, var(--rh-transition));
}
.rh-float-cta:hover { transform: translateY(-4px); color: #052e21; box-shadow: 0 20px 44px rgba(0, 196, 140, 0.55); }

.rh-back-top {
        position: fixed; bottom: 26px; inset-inline-start: 26px; z-index: 90;
        width: 48px; height: 48px; border-radius: 14px; border: 0; cursor: pointer;
        background: var(--rh-grad-primary); color: #fff; font-size: 1.2rem; font-weight: 800;
        box-shadow: var(--rh-glow-primary); opacity: 0; visibility: hidden; transform: translateY(14px);
        transition: var(--rh-transition);
}
.rh-back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.rh-back-top:hover { transform: translateY(-4px); }

/* ============ ۱۸) صفحات داخلی ============ */
.rh-page-wrap { padding-block: 34px 70px; }

.rh-breadcrumb { margin-bottom: 22px; font-size: 0.84rem; }
.rh-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--rh-muted); }
.rh-breadcrumb li { display: flex; align-items: center; gap: 6px; }
.rh-breadcrumb li + li::before { content: "‹"; color: var(--rh-muted); }
.rh-breadcrumb a { color: var(--rh-muted); }
.rh-breadcrumb a:hover { color: var(--rh-primary); }
.rh-breadcrumb [aria-current] { color: var(--rh-ink); font-weight: 600; }

.rh-archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 34px; align-items: start; }
.rh-archive-layout:has(> .rh-archive-content:only-child) { grid-template-columns: minmax(0, 1fr); }

.rh-page-title { font-size: clamp(1.3rem, 2.4vw, 1.8rem); margin-bottom: 8px; }
.rh-archive-head { margin-bottom: 30px; }
.rh-archive-desc { color: var(--rh-muted); font-size: 0.92rem; }

.rh-single-article, .rh-page-article {
        background: #fff; border: 1px solid var(--rh-line); border-radius: 22px;
        padding: 34px; box-shadow: var(--rh-shadow-sm);
}
.rh-entry-header { margin-bottom: 20px; }
.rh-entry-thumb { margin: 0 0 24px; }
.rh-entry-thumb img { border-radius: 16px; width: 100%; }

.rh-entry-content { font-size: 0.98rem; color: #3a4666; }
.rh-entry-content h2, .rh-entry-content h3 { margin-top: 1.6em; }
.rh-entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.rh-entry-content img { border-radius: 14px; }
.rh-entry-content blockquote {
        margin: 1.5em 0; padding: 18px 22px; border-inline-start: 4px solid var(--rh-accent);
        background: var(--rh-bg); border-radius: 0 14px 14px 0; color: var(--rh-body);
}
.rh-entry-content pre {
        background: var(--rh-navy-900); color: #cde3ff; padding: 18px; border-radius: 14px;
        overflow-x: auto; direction: ltr; text-align: left; font-size: 0.85rem;
}
.rh-entry-content code { background: var(--rh-primary-soft); padding: 2px 7px; border-radius: 6px; font-size: 0.88em; }
.rh-entry-content table { width: 100%; border-collapse: collapse; margin: 1.4em 0; }
.rh-entry-content th, .rh-entry-content td { border: 1px solid var(--rh-line); padding: 10px 14px; text-align: start; }
.rh-entry-content th { background: var(--rh-bg); }

.rh-post-nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--rh-line); font-size: 0.9rem; }
.rh-post-prev, .rh-post-next { max-width: 48%; }
.rh-post-nav a { color: var(--rh-ink); font-weight: 700; }
.rh-post-nav a:hover { color: var(--rh-primary); }

.rh-entry-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 0.85rem; }
.rh-entry-tags a { background: var(--rh-primary-soft); color: var(--rh-primary); padding: 5px 14px; border-radius: 999px; font-weight: 600; }
.rh-entry-tags a:hover { background: var(--rh-grad-primary); color: #fff; }

.rh-sidebar { position: sticky; top: 100px; display: grid; gap: 20px; }
.rh-sidebar .rh-widget {
        background: #fff; border: 1px solid var(--rh-line); border-radius: 18px; padding: 22px;
}
.rh-sidebar .rh-widget-title { font-size: 0.98rem; }

.rh-pagination, .navigation.pagination { margin-top: 34px; }
.rh-pagination .nav-links, .navigation.pagination .nav-links { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.rh-pagination .page-numbers, .navigation.pagination .page-numbers {
        display: inline-flex; align-items: center; justify-content: center;
        min-width: 42px; height: 42px; padding-inline: 12px; border-radius: 12px;
        background: #fff; border: 1px solid var(--rh-line); color: var(--rh-ink);
        font-weight: 700; font-size: 0.9rem; transition: var(--rh-transition);
}
.rh-pagination .page-numbers:hover, .navigation.pagination .page-numbers:hover {
        color: var(--rh-primary); border-color: var(--rh-primary); transform: translateY(-2px);
}
.rh-pagination .page-numbers.current, .navigation.pagination .page-numbers.current {
        background: var(--rh-grad-primary); color: #fff; border-color: transparent; box-shadow: var(--rh-glow-primary);
}
.rh-pagination .page-numbers.dots, .navigation.pagination .page-numbers.dots { border: 0; background: transparent; }

.rh-comments-wrap { margin-top: 30px; }
.rh-comments, .rh-comment-list { }
.rh-comments-title { font-size: 1.15rem; margin-bottom: 18px; }
.rh-comment-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 16px; }
.rh-comment-list .children { list-style: none; margin: 14px 0 0; padding-inline-start: 26px; display: grid; gap: 14px; }
.rh-comment-list .comment-body {
        background: #fff; border: 1px solid var(--rh-line); border-radius: 16px; padding: 18px 20px;
}
.rh-comment-list .comment-author img { border-radius: 50%; }
.rh-comment-list .comment-metadata { font-size: 0.78rem; }
.rh-comment-list .comment-metadata a { color: var(--rh-muted); }
.rh-comment-list .reply a { font-size: 0.82rem; font-weight: 700; }
.rh-comments-closed { color: var(--rh-muted); }

.rh-comment-form, #respond {
        background: #fff; border: 1px solid var(--rh-line); border-radius: 18px; padding: 24px;
}
#respond .comment-form-author, #respond .comment-form-email, #respond .comment-form-url { display: grid; gap: 6px; }
#respond input:not([type="submit"]), #respond textarea {
        width: 100%; padding: 11px 15px; border-radius: 12px; border: 1.5px solid var(--rh-line);
        font-family: inherit; font-size: 0.92rem; background: var(--rh-bg);
}
#respond input:focus, #respond textarea:focus { outline: none; border-color: var(--rh-primary); background: #fff; }

.rh-empty-state {
        background: #fff; border: 1px solid var(--rh-line); border-radius: 22px;
        padding: 60px 30px; text-align: center;
}

.rh-error-404 { text-align: center; padding: 70px 20px; }
.rh-404-code {
        margin: 0 0 6px; font-size: clamp(4rem, 12vw, 7rem); font-weight: 800; line-height: 1;
        background: var(--rh-grad-primary);
        -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rh-404-actions { margin: 24px 0; }
.rh-404-search { max-width: 420px; margin-inline: auto; }

.rh-search-form .rh-search-inner { display: flex; gap: 8px; }
.rh-search-input {
        flex: 1; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--rh-line);
        font-family: inherit; font-size: 0.92rem; background: #fff;
}
.rh-search-input:focus { outline: none; border-color: var(--rh-primary); box-shadow: 0 0 0 4px rgba(46, 91, 255, 0.12); }
.rh-search-submit {
        padding: 0 20px; border-radius: 12px; border: 0; cursor: pointer;
        background: var(--rh-grad-primary); color: #fff; font-size: 1rem; transition: var(--rh-transition);
}
.rh-search-submit:hover { box-shadow: var(--rh-glow-primary); transform: translateY(-2px); }

/* ============ ۱۹) انیمیشن ورود بخش‌ها ============ */
@media (prefers-reduced-motion: no-preference) {
        .rh-reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); }
        .rh-reveal.is-visible { opacity: 1; transform: translateY(0); }
}

/* ============ ۲۰) ریسپانسیو ============ */
@media (max-width: 1080px) {
        .rh-hero-inner { grid-template-columns: 1fr; gap: 60px; }
        .rh-hero-card { inset-inline-start: 10px; bottom: -40px; }
        .rh-advantages-grid, .rh-steps-grid { grid-template-columns: repeat(2, 1fr); }
        .rh-services-grid, .rh-pricing-grid, .rh-projects-grid, .rh-posts-grid { grid-template-columns: repeat(2, 1fr); }
        .rh-consult-grid { grid-template-columns: 1fr; }
        .rh-archive-layout { grid-template-columns: 1fr; }
        .rh-sidebar { position: static; }
}

@media (max-width: 900px) {
        /* حذف افکت شیشه‌ای هدر در موبایل: backdrop-filter مرورگر را برای عناصر fixed
           به بلوک جای‌دهنده تبدیل می‌کند و کشوی تمام‌قد منو را می‌شکند */
        .rh-header-bar { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
        .rh-nav-backdrop { display: block; }
        /* کشوی منوی موبایل — فقط با خواص فیزیکی (سازگار با همه مرورگرها) */
        .rh-nav {
                position: fixed; top: 0; right: 0; bottom: 0; left: auto;
                width: 320px; max-width: 84vw;
                background: #fff; color: var(--rh-ink);
                padding: 90px 22px 30px; z-index: 200;
                transform: translateX(110%);
                transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
                box-shadow: -20px 0 60px rgba(7, 15, 38, 0.25);
                overflow-y: auto; -webkit-overflow-scrolling: touch;
        }
        /* در چیدمان LTR کشو از سمت چپ باز می‌شود */
        html[dir="ltr"] .rh-nav { right: auto; left: 0; transform: translateX(-110%); }
        .rh-nav.is-open { transform: translateX(0); }
        .admin-bar .rh-nav { top: 46px; }

        .rh-nav-backdrop {
                position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 190;
                background: rgba(7, 15, 38, 0.55);
                opacity: 0; visibility: hidden;
                transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        .rh-nav-backdrop.is-open { opacity: 1; visibility: visible; }
        .admin-bar .rh-nav-backdrop { top: 46px; }

        .rh-nav .rh-menu { flex-direction: column; align-items: stretch; gap: 6px; }
        .rh-nav .rh-menu > li > a {
                display: flex; justify-content: space-between; width: 100%;
                color: var(--rh-ink); background: transparent; box-shadow: none; transform: none;
        }
        .rh-nav .rh-menu > li > a:hover,
        .rh-nav .rh-menu > li > a:focus-visible {
                color: var(--rh-primary); background: var(--rh-primary-soft); box-shadow: none; transform: none;
        }
        .rh-submenu {
                position: static; opacity: 1; visibility: visible; transform: none;
                box-shadow: none; border: 0; background: var(--rh-bg); display: none; padding: 6px;
        }
        .rh-menu li.is-open > .rh-submenu { display: block; }
        .rh-menu li:hover > .rh-submenu { transform: none; }
        .rh-submenu a { color: var(--rh-ink); }
        .rh-burger { display: flex; z-index: 210; position: relative; }
        .rh-topbar-contacts .rh-topbar-item:nth-child(2) { display: none; }
        .rh-social-grid { grid-template-columns: repeat(2, 1fr); }
        .rh-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
        .rh-stat:nth-child(2)::after { display: none; }
        .rh-header-inner { min-height: 66px; }
}

/* نوار مدیریت وردپرس در صفحه‌های پهن‌تر از ۷۸۲ پیکسل کوتاه‌تر است */
@media (max-width: 900px) and (min-width: 783px) {
        .admin-bar .rh-nav { top: 32px; }
        .admin-bar .rh-nav-backdrop { top: 32px; }
}

@media (max-width: 640px) {
        .rh-section { padding-block: 54px; }
        .rh-hero { padding-block: 56px 74px; }
        .rh-hero-title { font-size: 1.55rem; }
        .rh-hero-actions .rh-btn { flex: 1; }
        .rh-hero-card { position: static; width: 100%; margin-top: -20px; animation: none; }
        .rh-services-grid, .rh-pricing-grid, .rh-projects-grid, .rh-posts-grid,
        .rh-advantages-grid, .rh-steps-grid, .rh-form-row { grid-template-columns: 1fr; }
        .rh-plan-featured { transform: none; }
        .rh-plan-featured:hover { transform: translateY(-8px); }
        .rh-topbar-inner { justify-content: center; }
        .rh-topbar-note { display: none; }
        .rh-social-grid { grid-template-columns: 1fr; }
        .rh-footer-grid { grid-template-columns: 1fr; gap: 30px; }
        .rh-footer-bottom-inner { justify-content: center; text-align: center; }
        .rh-single-article, .rh-page-article, .rh-consult-form-wrap { padding: 22px; }
        .rh-float-cta span { display: none; }
        .rh-float-cta { padding: 15px; }
}

/* ============ ۲۱) سازگاری با کلاس‌های هسته وردپرس ============ */
.alignwide { width: calc(100% + 80px); max-width: none; margin-inline: -40px; }
.alignfull { width: 100vw; max-width: none; margin-inline: calc((100vw - 100%) / -2); }
.aligncenter { margin-inline: auto; }
.alignleft { float: left; margin: 0 0 1.2em 1.6em; }
.alignright { float: right; margin: 0 1.6em 1.2em 0; }
.wp-caption { max-width: 100%; }
.wp-caption-text { text-align: center; font-size: 0.82rem; color: var(--rh-muted); }
.sticky { }
.bypostauthor { }
