/* ==========================================================================
   روند استتیک — سایت عمومی، رزرو آنلاین، آزمون‌ها، آکادمی، دستیار پذیرش، ورود (ماژول A)
   فقط روی متغیرهای تم (base.css) ساخته شده؛ روز/شب و RTL/LTR خودکار.
   پیشوندها: rs- (سایت) · bk- (رزرو) · qz- (آزمون) · cg- (دستیار) · gc- (کارت هدیه) · ra- (ورود) · err- (خطا)
   ========================================================================== */

:root {
  /* طیف رنگ پوست برای نمایش فتوتایپ (داده‌ی بصری، نه رنگ برند) */
  --skin-1: #F7E4D6; --skin-2: #EDCBB2; --skin-3: #DDAE88; --skin-4: #BE8961; --skin-5: #8E5B3B; --skin-6: #523221;
  --rs-ink-on-dark: #FFF5FA;
}

/* ---------------------------------------------------------------- رنگ‌مایه‌ها */
.tone-rose  { --t: var(--brand);  --t-soft: var(--brand-soft); --t-ink: var(--brand-ink); }
.tone-lilac { --t: var(--lilac);  --t-soft: var(--lilac-soft); --t-ink: var(--lilac); }
.tone-peach { --t: var(--peach);  --t-soft: var(--peach-soft); --t-ink: var(--peach); }
.tone-mint  { --t: var(--mint);   --t-soft: var(--mint-soft);  --t-ink: var(--mint); }
.tone-gold  { --t: var(--gold);   --t-soft: var(--gold-soft);  --t-ink: var(--gold-ink); }

/* ---------------------------------------------------------------- سربرگ و نوار اعلان */
.rs-ribbon { background: var(--grad-joy); color: #fff; font-size: .82rem; position: relative; z-index: 51; }
.rs-ribbon .container { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 36px; text-align: center; flex-wrap: wrap; }
.rs-ribbon a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 4px; }
.rs-ribbon a:hover { color: #fff; opacity: .9; }
.rs-ribbon .rs-ribbon-badge { background: rgba(255, 255, 255, .22); border-radius: 999px; padding: 1px 10px; font-weight: 800; }
.site-header .brand-name { font-size: 1.22rem; }
.rs-header-search { position: relative; }
.rs-search-pop { position: absolute; top: calc(100% + 10px); inset-inline-end: 0; width: min(360px, 86vw); padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); z-index: 60; }
.rs-search-pop form { display: flex; gap: 8px; }
.rs-user-menu { position: relative; }
@media (max-width: 1020px) { .header-actions .rs-hide-md { display: none; } }
@media (max-width: 560px) { .site-header .brand-sub { display: none; } .site-header .container { gap: 10px; } .header-actions { gap: 4px; } }

/* ---------------------------------------------------------------- عنوان‌ها و بخش‌ها */
.rs-display { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; }
.rs-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-xs); font-size: .8rem; font-weight: 700; color: var(--brand-ink); }
.rs-kicker .icon-sm { color: var(--gold); }
.rs-kicker.on-dark { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: var(--rs-ink-on-dark); }
.section-head h2 em, .rs-page-head h1 em, .rs-hero h1 em { font-style: normal; background: var(--grad-joy); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rs-row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.rs-row-head .section-head { margin: 0; }
.section.rs-tight { padding: 72px 0; }
.rs-soft { background: var(--grad-soft); }
.rs-petals { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.rs-petals span { position: absolute; width: 280px; height: 280px; border-radius: 62% 38% 55% 45% / 50% 60% 40% 50%; filter: blur(40px); opacity: .35; }
.rs-petals .p1 { background: var(--brand-soft); top: -80px; inset-inline-end: -60px; }
.rs-petals .p2 { background: var(--lilac-soft); bottom: -100px; inset-inline-start: -60px; }
.rs-petals .p3 { background: var(--peach-soft); top: 40%; inset-inline-start: 45%; width: 200px; height: 200px; }
.section > .container { position: relative; z-index: 1; }

/* ---------------------------------------------------------------- هیروی صفحات داخلی */
.rs-page-head { position: relative; overflow: hidden; padding: 54px 0 46px; background: var(--grad-hero), var(--grad-soft); border-bottom: 1px solid var(--line); isolation: isolate; }
.rs-page-head::after { content: ''; position: absolute; inset-inline-end: -120px; top: -140px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid var(--gold-3); opacity: .55; z-index: -1; }
.rs-page-head::before { content: ''; position: absolute; inset-inline-end: -40px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 1px dashed var(--line-strong); z-index: -1; }
.rs-page-head h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 4.2vw, 3rem); margin: 12px 0 10px; line-height: 1.3; }
.rs-page-head p.lead { color: var(--text-2); max-width: 680px; margin: 0; font-size: 1.04rem; }
.rs-crumbs { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.rs-crumbs a { color: var(--muted); }
.rs-crumbs a:hover { color: var(--brand); }
.rs-page-head .rs-head-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.rs-page-head .rs-head-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; }
@media (max-width: 860px) { .rs-page-head .rs-head-grid { grid-template-columns: 1fr; } .rs-page-head .rs-head-art { display: none; } }

/* ---------------------------------------------------------------- هیروی صفحه‌ی اصلی */
.rs-hero { position: relative; overflow: hidden; padding: 46px 0 84px; isolation: isolate; }
.rs-hero::before { content: ''; position: absolute; inset: 0; background: var(--grad-hero); z-index: -2; }
.rs-hero::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 120px; background: linear-gradient(transparent, var(--bg)); z-index: -1; }
.rs-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 46px; align-items: center; }
.rs-hero h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.24; margin: 20px 0 18px; font-weight: 700; }
.rs-hero .lead { font-size: 1.1rem; color: var(--text-2); max-width: 560px; line-height: 2; margin: 0; }
html[lang="en"] .rs-hero .lead { line-height: 1.75; }
.rs-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.rs-hero-trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: .86rem; }
.rs-hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.rs-hero-trust .icon-sm { color: var(--mint); }
.rs-slide { display: none; }
.rs-slide.is-on { display: block; animation: rsFade .7s var(--ease); }
@keyframes rsFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rs-dots { display: flex; gap: 8px; margin-top: 28px; }
.rs-dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: var(--line-strong); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.rs-dots button.is-on { width: 30px; background: var(--grad-joy); }
@media (max-width: 960px) { .rs-hero-grid { grid-template-columns: 1fr; } .rs-hero { padding: 26px 0 56px; } .rs-hero-visual { max-width: 420px; margin: 8px auto 0; width: 100%; } }

/* قاب طاق‌دار با چهره‌ی خطی */
.rs-hero-visual { position: relative; aspect-ratio: 1 / 1.08; }
.rs-arch { position: absolute; inset: 4% 12% 0; border-radius: 999px 999px 40px 40px; background: var(--grad-brand); box-shadow: var(--shadow-lg); overflow: hidden; isolation: isolate; }
.rs-arch::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px 300px at 70% 10%, rgba(255, 196, 220, .45), transparent 70%), radial-gradient(300px 260px at 10% 90%, rgba(168, 145, 247, .4), transparent 70%); z-index: -1; }
.rs-arch img { width: 100%; height: 100%; object-fit: cover; }
.rs-arch .rs-face { position: absolute; inset: 8% 6% 0; width: 88%; height: 92%; }
.rs-arch-ring { position: absolute; inset: 0 8% -3%; border-radius: 999px 999px 48px 48px; border: 1px solid var(--gold-2); opacity: .7; }
.rs-arch-ring.r2 { inset: -3% 4% -6%; border-style: dashed; border-color: var(--line-strong); opacity: .9; }
.rs-face path, .rs-face circle { vector-effect: non-scaling-stroke; }
.rs-float { position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 20px; background: var(--glass); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: .82rem; animation: float 6s ease-in-out infinite; z-index: 2; max-width: 240px; }
.rs-float strong { display: block; font-size: 1rem; line-height: 1.3; }
.rs-float .rs-float-icon { width: 40px; height: 40px; border-radius: 14px; display: grid; place-items: center; background: var(--t-soft, var(--brand-soft)); color: var(--t, var(--brand)); flex-shrink: 0; }
.rs-float.f1 { top: 12%; inset-inline-start: -2%; }
.rs-float.f2 { bottom: 20%; inset-inline-end: -4%; animation-delay: -2s; }
.rs-float.f3 { bottom: 1%; inset-inline-start: 6%; animation-delay: -4s; }
.rs-sparkle { position: absolute; color: var(--gold-2); animation: rsTwinkle 3.6s ease-in-out infinite; z-index: 1; }
.rs-sparkle.s1 { top: 4%; inset-inline-end: 10%; }
.rs-sparkle.s2 { top: 46%; inset-inline-start: 3%; animation-delay: -1.2s; width: 16px; height: 16px; }
.rs-sparkle.s3 { bottom: 12%; inset-inline-end: 20%; animation-delay: -2.4s; }
@keyframes rsTwinkle { 0%, 100% { opacity: .35; transform: scale(.8) rotate(0); } 50% { opacity: 1; transform: scale(1.1) rotate(20deg); } }

/* ---------------------------------------------------------------- هنر کارت‌ها (بدون عکس) */
.rs-art { position: relative; overflow: hidden; display: grid; place-items: center; background: linear-gradient(140deg, var(--t-soft) 0%, var(--surface) 70%); color: var(--t); isolation: isolate; }
.rs-art::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 58% 42% 52% 48% / 46% 54% 46% 54%; background: radial-gradient(circle at 30% 30%, var(--surface) 0%, var(--t-soft) 70%); box-shadow: inset 0 0 0 1px var(--line); z-index: -1; transition: transform .8s var(--ease); }
.rs-art::after { content: ''; position: absolute; inset-inline-end: 10%; top: 14%; width: 22%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--gold-3); z-index: -1; }
.rs-art .icon { width: 38%; height: 38%; max-width: 72px; max-height: 72px; stroke-width: 1.3; }
.rs-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rs-art .rs-art-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-2); inset-inline-start: 16%; bottom: 20%; opacity: .8; }
.card-hover:hover .rs-art::before, .rs-service:hover .rs-art::before { transform: rotate(18deg) scale(1.06); }

/* ---------------------------------------------------------------- پیشنهادهای ویژه */
.rs-promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 22px; }
.rs-promo { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease); color: var(--text); }
.rs-promo:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--text); }
.rs-promo .rs-art { aspect-ratio: 16 / 8.5; }
.rs-promo .rs-promo-badge { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 2; padding: 6px 14px; border-radius: 999px; background: var(--grad-joy); color: #fff; font-weight: 800; font-size: .9rem; box-shadow: var(--shadow-brand); }
.rs-promo-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rs-promo-body h3 { margin: 0; font-size: 1.12rem; }
.rs-promo-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line-strong); font-size: .82rem; color: var(--muted); }
.rs-countdown { display: inline-flex; gap: 6px; direction: ltr; }
.rs-countdown span { min-width: 34px; padding: 3px 6px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-ink); font-weight: 800; text-align: center; font-variant-numeric: tabular-nums; }
.rs-code { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 12px; border-radius: 999px; border: 1px dashed var(--gold-2); background: var(--gold-soft); color: var(--gold-ink); font-weight: 800; letter-spacing: .06em; direction: ltr; }
.rs-code button { border: 0; background: var(--surface); color: var(--gold-ink); border-radius: 999px; width: 28px; height: 28px; display: grid; place-items: center; cursor: pointer; }

/* ---------------------------------------------------------------- دسته‌ها */
.rs-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.rs-cat { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 26px 14px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: .35s var(--ease); overflow: hidden; }
.rs-cat::before { content: ''; position: absolute; inset: auto -30% -60% -30%; height: 70%; background: radial-gradient(closest-side, var(--t-soft), transparent); opacity: .9; transition: .4s var(--ease); }
.rs-cat > * { position: relative; }
.rs-cat:hover { transform: translateY(-5px); border-color: var(--t); box-shadow: var(--shadow); color: var(--text); }
.rs-cat:hover::before { inset: auto -30% -30% -30%; }
.rs-cat .rs-cat-icon { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: var(--t-soft); color: var(--t); transition: transform .4s var(--ease); }
.rs-cat:hover .rs-cat-icon { transform: rotate(-8deg) scale(1.06); }
.rs-cat .rs-cat-icon .icon { width: 28px; height: 28px; }
.rs-cat strong { font-size: .98rem; }
.rs-cat small { color: var(--muted); }

/* ---------------------------------------------------------------- کارت خدمت */
.rs-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 22px; }
.rs-service { display: flex; flex-direction: column; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; height: 100%; }
.rs-service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--gold-3); }
.rs-service .rs-art { aspect-ratio: 16 / 10; }
.rs-service .rs-svc-tags { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.rs-svc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rs-svc-body h3 { margin: 0; font-size: 1.08rem; }
.rs-svc-body h3 a { color: var(--text); }
.rs-svc-body h3 a:hover { color: var(--brand); }
.rs-svc-body p { color: var(--muted); font-size: .88rem; margin: 0; }
.rs-svc-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .78rem; color: var(--muted); }
.rs-svc-meta span { display: inline-flex; gap: 5px; align-items: center; }
.rs-svc-meta .icon-sm { color: var(--gold); width: 14px; height: 14px; }
.rs-svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.rs-price { font-weight: 800; color: var(--text); font-size: .95rem; }
.rs-price small { display: block; font-weight: 500; color: var(--muted); font-size: .72rem; }
.rs-price-strike { text-decoration: line-through; color: var(--faint); font-weight: 500; font-size: .85rem; }

/* ---------------------------------------------------------------- آمار */
.rs-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rs-stat { position: relative; padding: 28px 22px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.rs-stat::after { content: ''; position: absolute; inset-inline-end: -36px; bottom: -36px; width: 110px; height: 110px; border-radius: 50%; background: var(--t-soft); }
.rs-stat > * { position: relative; z-index: 1; }
.rs-stat .rs-stat-icon { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: var(--t-soft); color: var(--t); margin-bottom: 16px; }
.rs-stat .rs-stat-val { font-family: var(--font-display); font-size: clamp(2rem, 3.6vw, 2.7rem); font-weight: 700; line-height: 1; color: var(--text); direction: ltr; display: inline-block; }
.rs-stat .rs-stat-label { color: var(--muted); margin-top: 8px; font-size: .9rem; }
@media (max-width: 860px) { .rs-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------------------------------------------------------------- فراخوان آزمون پوست */
.rs-quiz { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; padding: 48px; border-radius: var(--radius-xl); background: var(--grad-brand); color: var(--rs-ink-on-dark); overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate; }
.rs-quiz::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; inset-inline-end: -160px; top: -200px; background: radial-gradient(circle, rgba(255, 164, 200, .35), transparent 65%); z-index: -1; }
.rs-quiz h2 { font-family: var(--font-display); color: var(--rs-ink-on-dark); font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin: 14px 0 12px; }
.rs-quiz p { color: rgba(255, 239, 246, .8); }
.rs-quiz-tests { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rs-quiz-test { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: var(--rs-ink-on-dark); transition: .3s var(--ease); }
.rs-quiz-test:hover { background: rgba(255, 255, 255, .16); color: var(--rs-ink-on-dark); transform: translateY(-3px); }
.rs-quiz-test .icon { color: var(--gold-3); }
.rs-quiz-test strong { display: block; font-size: .92rem; }
.rs-quiz-test small { color: rgba(255, 239, 246, .65); }
.rs-skin-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.rs-skin-chips span { padding: 5px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); }
@media (max-width: 900px) { .rs-quiz { grid-template-columns: 1fr; padding: 32px 22px; } }
@media (max-width: 480px) { .rs-quiz-tests { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- قبل و بعد */
.rs-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.rs-case { border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.rs-case-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.rs-case-body h3 { margin: 0; font-size: 1rem; }
.rs-compare { position: relative; aspect-ratio: 1 / 1; overflow: hidden; user-select: none; --pos: 50%; background: var(--surface-3); touch-action: pan-y; }
.rs-compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.rs-compare .rs-cmp-after { clip-path: inset(0 0 0 var(--pos)); }
[dir="rtl"] .rs-compare .rs-cmp-after { clip-path: inset(0 var(--pos) 0 0); }
.rs-compare .rs-cmp-line { position: absolute; top: 0; bottom: 0; inset-inline-start: var(--pos); width: 2px; margin-inline-start: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); pointer-events: none; }
.rs-compare .rs-cmp-knob { position: absolute; top: 50%; inset-inline-start: var(--pos); width: 46px; height: 46px; margin-inline-start: -23px; margin-top: -23px; border-radius: 50%; background: var(--surface); color: var(--brand); box-shadow: var(--shadow-lg); display: grid; place-items: center; pointer-events: none; }
.rs-compare input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.rs-compare input[type="range"]:focus-visible ~ .rs-cmp-knob { outline: 3px solid var(--gold); outline-offset: 2px; }
.rs-cmp-label { position: absolute; top: 12px; z-index: 2; padding: 3px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; background: rgba(20, 6, 16, .55); color: #fff; backdrop-filter: blur(6px); pointer-events: none; }
.rs-cmp-label.l-before { inset-inline-start: 12px; }
.rs-cmp-label.l-after { inset-inline-end: 12px; }

/* ---------------------------------------------------------------- تیم */
.rs-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.rs-staff { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 22px 18px 20px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: .35s var(--ease); height: 100%; }
.rs-staff:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--gold-3); color: var(--text); }
.rs-staff-photo { position: relative; width: 136px; aspect-ratio: 4 / 5; border-radius: 999px 999px 26px 26px; overflow: hidden; background: var(--grad-brand); border: 4px solid var(--surface); outline: 1px solid var(--gold-3); outline-offset: 5px; margin: 6px auto 18px; }
.rs-staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.rs-staff-photo .rs-initials { display: grid; place-items: center; height: 100%; font-family: var(--font-display); font-size: 2.4rem; color: var(--gold-3); }
.rs-staff h3 { font-size: 1.02rem; margin: 0 0 2px; }
.rs-staff .rs-staff-title { color: var(--gold-ink); font-size: .84rem; font-weight: 600; }
.rs-staff .rs-staff-meta { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 10px; font-size: .8rem; color: var(--muted); }

/* ---------------------------------------------------------------- پکیج */
.rs-packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 24px; align-items: stretch; }
.rs-pack { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 26px 26px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); transition: .35s var(--ease); height: 100%; }
.rs-pack:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.rs-pack.is-featured { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-joy) border-box; border: 2px solid transparent; box-shadow: var(--shadow-brand); }
.rs-pack .rs-save { position: absolute; top: -14px; inset-inline-end: 22px; padding: 6px 14px; border-radius: 999px; background: var(--grad-joy); color: #fff; font-weight: 800; font-size: .82rem; box-shadow: var(--shadow-brand); }
.rs-pack h3 { margin: 0; font-family: var(--font-display); font-size: 1.3rem; }
.rs-pack-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.rs-pack-price strong { font-family: var(--font-display); font-size: 1.7rem; color: var(--text); }
.rs-pack ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; font-size: .9rem; }
.rs-pack ul li { display: flex; gap: 10px; align-items: flex-start; }
.rs-pack ul li .icon-sm { color: var(--mint); margin-top: 5px; }
.rs-pack .btn { margin-top: auto; }

/* ---------------------------------------------------------------- آکادمی */
.rs-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 22px; }
.rs-course { display: flex; flex-direction: column; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); overflow: hidden; color: var(--text); transition: .35s var(--ease); height: 100%; }
.rs-course:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); color: var(--text); border-color: var(--gold-3); }
.rs-course .rs-art { aspect-ratio: 16 / 9; }
.rs-course-flags { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; gap: 6px; z-index: 2; flex-wrap: wrap; }
.rs-course-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rs-course-body h3 { margin: 0; font-size: 1.04rem; line-height: 1.6; }
.rs-course-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); gap: 10px; }
.rs-audience-tabs { display: inline-flex; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); gap: 4px; }
.rs-audience-tabs a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; color: var(--text-2); font-weight: 700; font-size: .92rem; }
.rs-audience-tabs a.is-active { background: var(--grad-brand); color: var(--on-brand); box-shadow: var(--shadow-brand); }
[data-theme="dark"] .rs-audience-tabs a.is-active { background: linear-gradient(135deg, #E04E87, #F06A9D); }
.rs-syllabus { border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.rs-syllabus details + details { border-top: 1px solid var(--line); }
.rs-syllabus summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; background: var(--surface-2); }
.rs-syllabus summary::-webkit-details-marker { display: none; }
.rs-syllabus summary .icon-sm { transition: transform .3s; color: var(--gold); }
.rs-syllabus details[open] summary .icon-sm { transform: rotate(180deg); }
.rs-lesson { display: flex; align-items: center; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line); font-size: .92rem; }
.rs-lesson .rs-lesson-icon { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-2); color: var(--muted); flex-shrink: 0; }
.rs-lesson.is-preview .rs-lesson-icon { background: var(--mint-soft); color: var(--mint); }
.rs-lesson .grow { min-width: 0; }
.rs-cert { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--gold-soft), var(--surface)); border: 1px solid var(--gold-3); }
.rs-cert .rs-cert-seal { width: 64px; height: 64px; border-radius: 50%; background: var(--grad-gold); color: var(--on-gold); display: grid; place-items: center; box-shadow: var(--shadow-gold); flex-shrink: 0; }
.rs-buy { position: sticky; top: 96px; }
.rs-buy .rs-buy-price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--text); }

/* ---------------------------------------------------------------- نظرها */
.rs-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.rs-review { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); height: 100%; }
.rs-review::before { content: '“'; position: absolute; top: -4px; inset-inline-end: 22px; font-family: var(--font-serif); font-size: 5.6rem; line-height: 1; color: var(--t, var(--brand)); opacity: .18; }
.rs-review p { margin: 0; color: var(--text-2); line-height: 2; flex: 1; }
html[lang="en"] .rs-review p { line-height: 1.75; }
.rs-review .rs-review-who { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.rs-review .rs-review-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--t-soft); color: var(--t); flex-shrink: 0; }
.rs-review .rs-reply { margin-top: 4px; padding: 10px 14px; border-radius: 14px; background: var(--surface-2); font-size: .86rem; color: var(--text-2); }
.rs-rating-bars { display: flex; flex-direction: column; gap: 6px; font-size: .82rem; }
.rs-rating-bars div { display: grid; grid-template-columns: 22px 1fr 34px; gap: 10px; align-items: center; }

/* ---------------------------------------------------------------- شعب و نقشه */
.rs-branches { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: stretch; }
.rs-branch-list { display: flex; flex-direction: column; gap: 14px; }
.rs-branch { display: flex; gap: 16px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: .3s var(--ease); align-items: flex-start; }
.rs-branch:hover, .rs-branch.is-active { border-color: var(--brand); box-shadow: var(--shadow); color: var(--text); }
.rs-branch .rs-branch-mark { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--grad-brand); flex-shrink: 0; letter-spacing: .04em; }
.rs-branch h3 { margin: 0 0 4px; font-size: 1rem; }
.rs-branch p { margin: 0; color: var(--muted); font-size: .86rem; }
.rs-open { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; }
.rs-open::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 20%, transparent); }
.rs-open.is-open { color: var(--ok); } .rs-open.is-closed { color: var(--muted); }
.rs-map { border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--line); min-height: 360px; height: 100%; background: var(--surface-2); position: relative; z-index: 0; }
.rs-map .leaflet-popup-content-wrapper { border-radius: 16px; font-family: var(--font); }
.rs-map-fallback { display: grid; place-items: center; height: 100%; min-height: 360px; color: var(--muted); text-align: center; padding: 20px; }
.rs-hours { width: 100%; border-collapse: collapse; font-size: .92rem; }
.rs-hours td { padding: 9px 4px; border-bottom: 1px dashed var(--line); }
.rs-hours tr.is-today td { color: var(--brand-ink); font-weight: 800; }
.rs-hours td:last-child { text-align: end; direction: ltr; }
[dir="rtl"] .rs-hours td:last-child { text-align: left; }
@media (max-width: 900px) { .rs-branches { grid-template-columns: 1fr; } .rs-map { min-height: 300px; } }

/* ---------------------------------------------------------------- فراخوان پایانی */
.rs-cta { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 60px 48px; background: var(--grad-brand); color: var(--rs-ink-on-dark); box-shadow: var(--shadow-lg); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 30px; align-items: center; isolation: isolate; }
.rs-cta::before { content: ''; position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent, rgba(255, 170, 205, .18), transparent 30%); animation: spin 22s linear infinite; z-index: -1; }
.rs-cta h2 { font-family: var(--font-display); color: var(--rs-ink-on-dark); font-size: clamp(1.6rem, 3.2vw, 2.4rem); margin: 0 0 10px; }
.rs-cta p { color: rgba(255, 239, 246, .8); margin: 0; max-width: 620px; }
.rs-cta .rs-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.rs-cta .btn-ghost { --b-fg: var(--rs-ink-on-dark); border: 1px solid rgba(255, 255, 255, .3); }
.rs-cta .btn-ghost:hover { --b-bg: rgba(255, 255, 255, .1); }
@media (max-width: 860px) { .rs-cta { grid-template-columns: 1fr; padding: 40px 24px; text-align: center; } .rs-cta .rs-cta-actions { justify-content: center; } .rs-cta p { margin-inline: auto; } }

/* ---------------------------------------------------------------- صفحه‌ی خدمت */
.rs-svc-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: center; }
.rs-svc-hero .rs-art { aspect-ratio: 5 / 4; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.rs-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-top: 24px; }
.rs-fact { padding: 14px 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.rs-fact small { display: block; color: var(--muted); font-size: .76rem; }
.rs-fact strong { font-size: .98rem; }
.rs-fact .icon-sm { color: var(--t, var(--gold)); }
.rs-benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.rs-benefits li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.rs-benefits li .icon-sm { color: var(--mint); margin-top: 5px; }
.rs-areas { width: 100%; border-collapse: separate; border-spacing: 0; }
.rs-areas th, .rs-areas td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: start; }
.rs-areas th { font-size: .78rem; color: var(--muted); background: var(--surface-2); }
.rs-areas tr:last-child td { border-bottom: 0; }
.rs-tabs-panel { padding-top: 18px; }
.rs-consult-hint { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: var(--lilac-soft); color: var(--text-2); border: 1px solid var(--line); }
.rs-consult-hint .icon { color: var(--lilac); margin-top: 2px; }
@media (max-width: 900px) { .rs-svc-hero { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- فیلتر و چیپ */
.rs-filter { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.rs-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text-2); font-weight: 600; font-size: .86rem; transition: .2s; cursor: pointer; }
.rs-chip:hover { border-color: var(--brand); color: var(--brand-ink); }
.rs-chip.is-active { background: var(--brand); border-color: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-brand); }
.rs-chip .rs-chip-n { font-size: .72rem; padding: 0 7px; border-radius: 99px; background: var(--surface-3); color: var(--muted); }
.rs-chip.is-active .rs-chip-n { background: rgba(255, 255, 255, .25); color: inherit; }
.rs-searchbar { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); max-width: 520px; }
.rs-searchbar .input { border: 0; min-height: 42px; background: transparent; box-shadow: none !important; }

/* ---------------------------------------------------------------- رزرو آنلاین */
.bk-shell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.bk-steps { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.bk-steps::-webkit-scrollbar { display: none; }
.bk-step { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 0; background: transparent; font: inherit; font-size: .84rem; font-weight: 700; color: var(--muted); white-space: nowrap; cursor: default; }
.bk-step .bk-n { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .74rem; background: var(--surface-3); color: var(--muted); }
.bk-step.is-done { color: var(--text-2); cursor: pointer; }
.bk-step.is-done .bk-n { background: var(--mint-soft); color: var(--mint); }
.bk-step.is-current { background: var(--brand-soft); color: var(--brand-ink); }
.bk-step.is-current .bk-n { background: var(--brand); color: var(--on-brand); }
.bk-panel { padding: 28px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 360px; }
.bk-panel h2 { font-family: var(--font-display); font-size: 1.45rem; margin: 0 0 6px; }
.bk-panel > p.muted { margin-bottom: 22px; }
.bk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.bk-card { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 20px; border: 1.5px solid var(--line); background: var(--surface); text-align: start; font: inherit; color: var(--text); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease), background .2s; width: 100%; }
.bk-card:hover { border-color: var(--brand-3); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.bk-card.is-on { border-color: var(--brand); background: linear-gradient(140deg, var(--brand-soft), var(--surface) 70%); box-shadow: var(--shadow-brand); }
.bk-card .bk-check { position: absolute; top: 14px; inset-inline-end: 14px; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; color: transparent; transition: .2s; }
.bk-card.is-on .bk-check { background: var(--brand); border-color: var(--brand); color: var(--on-brand); }
.bk-card strong { font-size: .98rem; padding-inline-end: 30px; }
.bk-card small { color: var(--muted); font-size: .8rem; line-height: 1.7; }
.bk-card .bk-card-icon { width: 44px; height: 44px; border-radius: 15px; display: grid; place-items: center; background: var(--t-soft, var(--brand-soft)); color: var(--t, var(--brand)); margin-bottom: 4px; }
.bk-card .bk-price { font-weight: 800; font-size: .88rem; color: var(--text); }
.bk-card[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.bk-svc-extra { grid-column: 1 / -1; padding: 16px 18px; border-radius: 18px; background: var(--surface-2); border: 1px dashed var(--line-strong); display: flex; flex-direction: column; gap: 12px; }
.bk-areas { display: flex; flex-wrap: wrap; gap: 8px; }
.bk-area { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 14px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--surface); font: inherit; color: var(--text); cursor: pointer; transition: .2s; line-height: 1.5; }
.bk-area small { color: var(--muted); font-size: .72rem; }
.bk-area.is-on { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-ink); }
.bk-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); overflow: hidden; }
.bk-stepper button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--brand); font-size: 1.2rem; cursor: pointer; display: grid; place-items: center; }
.bk-stepper button:hover { background: var(--brand-soft); }
.bk-stepper input { width: 64px; border: 0; text-align: center; font: inherit; font-weight: 800; background: transparent; color: var(--text); }
.bk-stepper input:focus { outline: 0; }
.bk-cat-tabs { margin-bottom: 18px; }
.bk-staff-photo { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; border: 2px solid var(--surface); box-shadow: 0 0 0 1px var(--gold-3); }
.bk-any { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--grad-joy); color: #fff; }
.bk-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
.bk-day { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--surface); font: inherit; color: var(--text); cursor: pointer; transition: .2s; min-width: 0; }
.bk-day .bk-wd { font-size: .72rem; color: var(--muted); }
.bk-day .bk-dn { font-size: 1.3rem; font-weight: 800; line-height: 1.2; }
.bk-day .bk-mn { font-size: .68rem; color: var(--muted); }
.bk-day .bk-cnt { font-size: .66rem; font-weight: 700; color: var(--mint); margin-top: 2px; }
.bk-day:hover:not([disabled]) { border-color: var(--brand-3); }
.bk-day.is-on { border-color: var(--brand); background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-brand); }
.bk-day.is-on .bk-wd, .bk-day.is-on .bk-mn, .bk-day.is-on .bk-cnt { color: inherit; opacity: .9; }
.bk-day[disabled] { opacity: .4; cursor: not-allowed; background: var(--surface-2); }
.bk-week-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.bk-times-group { margin-top: 20px; }
.bk-times-group h4 { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); margin: 0 0 10px; }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.bk-time { padding: 10px 6px; border-radius: 14px; border: 1.5px solid var(--line-strong); background: var(--surface); font: inherit; font-weight: 700; color: var(--text); cursor: pointer; transition: .18s; direction: ltr; }
.bk-time:hover { border-color: var(--brand); color: var(--brand-ink); }
.bk-time.is-on { background: var(--grad-brand); color: var(--on-brand); border-color: transparent; box-shadow: var(--shadow-brand); }
[data-theme="dark"] .bk-time.is-on { background: linear-gradient(135deg, #E04E87, #F06A9D); }
.bk-skeleton { height: 70px; border-radius: 16px; background: linear-gradient(90deg, var(--surface-2), var(--surface-3), var(--surface-2)); background-size: 200% 100%; animation: bkShine 1.2s infinite; }
@keyframes bkShine { to { background-position: -200% 0; } }
.bk-otp { max-width: 440px; }
.bk-code { letter-spacing: .6em; text-align: center; font-size: 1.4rem; font-weight: 800; direction: ltr; }
.bk-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.bk-summary { position: sticky; top: 96px; padding: 24px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.bk-summary h3 { font-size: 1.05rem; display: flex; gap: 8px; align-items: center; margin-bottom: 16px; }
.bk-summary h3 .icon { color: var(--gold); }
.bk-sum-row { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.bk-sum-row span:first-child { color: var(--muted); }
.bk-sum-row span:last-child { text-align: end; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.bk-sum-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.bk-sum-total strong { font-family: var(--font-display); font-size: 1.5rem; }
.bk-sum-lines { list-style: none; padding: 0; margin: 0 0 6px; }
.bk-sum-lines li { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.bk-sum-lines li small { display: block; color: var(--muted); font-size: .76rem; }
.bk-deposit { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: var(--gold-soft); color: var(--gold-ink); font-size: .84rem; display: flex; gap: 10px; align-items: flex-start; }
.bk-mobile-bar { display: none; }
@media (max-width: 1020px) {
  .bk-shell { grid-template-columns: 1fr; }
  .bk-summary { display: none; }
  .bk-mobile-bar { display: flex; position: fixed; inset-inline: 0; bottom: 0; z-index: 45; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0, 0, 0, .3); }
  .bk-mobile-bar strong { font-size: 1.05rem; }
  .bk-page { padding-bottom: 90px; }
}
@media (max-width: 640px) { .bk-panel { padding: 20px 16px; } .bk-days { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* صفحه‌ی موفقیت */
.bk-done-hero { text-align: center; max-width: 640px; margin: 0 auto 30px; }
.bk-done-icon { width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-joy); color: #fff; box-shadow: var(--shadow-brand); animation: pulseRing 2.4s infinite; }
.bk-done-icon.is-wait { background: var(--grad-gold); color: var(--on-gold); box-shadow: var(--shadow-gold); }
.bk-done-icon .icon { width: 44px; height: 44px; }
.bk-ticket { position: relative; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.bk-ticket-head { padding: 22px 26px; background: var(--grad-brand); color: var(--rs-ink-on-dark); display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.bk-ticket-head strong { font-family: var(--font-display); font-size: 1.3rem; }
.bk-ticket-body { padding: 24px 26px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; }
.bk-ticket-body div small { display: block; color: var(--muted); font-size: .78rem; }
.bk-ticket-body div strong { font-size: .98rem; }
.bk-ticket-cut { position: relative; height: 0; border-top: 2px dashed var(--line-strong); margin: 0 22px; }
.bk-ticket-cut::before, .bk-ticket-cut::after { content: ''; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); }
.bk-ticket-cut::before { inset-inline-start: -35px; } .bk-ticket-cut::after { inset-inline-end: -35px; }
@media (max-width: 560px) { .bk-ticket-body { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- آزمون */
.qz-shell { max-width: 760px; margin: 0 auto; }
.qz-card { position: relative; padding: 34px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.qz-card::before { content: ''; position: absolute; inset-inline-end: -80px; top: -80px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, var(--brand-soft), transparent 70%); }
.qz-card > * { position: relative; }
.qz-progress { height: 10px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.qz-progress span { display: block; height: 100%; border-radius: inherit; background: var(--grad-joy); transition: width .5s var(--ease); }
.qz-meta { display: flex; justify-content: space-between; gap: 10px; margin: 10px 0 24px; font-size: .82rem; color: var(--muted); }
.qz-q { font-family: var(--font-display); font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.6; margin: 0 0 8px; }
.qz-help { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.qz-img { max-height: 240px; border-radius: var(--radius); margin: 0 auto 18px; }
.qz-options { display: grid; gap: 10px; }
.qz-options.is-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.qz-opt { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px 18px; border-radius: 18px; border: 1.5px solid var(--line-strong); background: var(--surface); font: inherit; color: var(--text); text-align: start; cursor: pointer; transition: border-color .2s, background .2s, transform .2s var(--ease); }
.qz-opt:hover { border-color: var(--brand-3); transform: translateX(-3px); }
[dir="ltr"] .qz-opt:hover { transform: translateX(3px); }
.qz-opt .qz-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line-strong); flex-shrink: 0; display: grid; place-items: center; color: transparent; transition: .2s; }
.qz-opt.is-multi .qz-dot { border-radius: 8px; }
.qz-opt.is-on { border-color: var(--brand); background: linear-gradient(140deg, var(--brand-soft), var(--surface) 80%); }
.qz-opt.is-on .qz-dot { border-color: var(--brand); background: var(--brand); color: var(--on-brand); }
.qz-opt img { width: 100%; border-radius: 12px; }
.qz-options.is-grid .qz-opt { flex-direction: column; text-align: center; }
.qz-nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 26px; }
.qz-intro { text-align: center; }
.qz-intro .qz-icon { width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 30px; display: grid; place-items: center; background: var(--grad-joy); color: #fff; box-shadow: var(--shadow-brand); transform: rotate(-6deg); }
.qz-intro .qz-icon .icon { width: 42px; height: 42px; }
.qz-intro-facts { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 18px 0 26px; }
.qz-fade-enter { animation: rsFade .45s var(--ease); }

/* نتیجه */
.rz-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 30px; align-items: center; }
.rz-badge { position: relative; width: 168px; height: 168px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: var(--surface); box-shadow: var(--shadow-lg), inset 0 0 0 10px var(--t-soft, var(--brand-soft)); color: var(--t-ink, var(--brand-ink)); }
.rz-badge::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px dashed var(--t, var(--brand)); opacity: .5; animation: spin 40s linear infinite; }
.rz-badge strong { display: block; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.3; padding: 0 10px; }
.rz-badge .icon { width: 34px; height: 34px; margin: 0 auto 4px; display: block; }
.rz-skin { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--t-soft); color: var(--t-ink); font-weight: 800; }
.rz-skin i { width: 28px; height: 28px; border-radius: 50%; background: var(--t); display: inline-block; box-shadow: inset 0 0 0 3px var(--surface); }
.rz-scale { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.rz-scale div { text-align: center; font-size: .76rem; color: var(--muted); }
.rz-scale div i { display: block; height: 54px; border-radius: 14px; margin-bottom: 6px; border: 2px solid transparent; transition: transform .3s var(--ease); }
.rz-scale div.is-on { color: var(--text); font-weight: 800; }
.rz-scale div.is-on i { border-color: var(--brand); transform: translateY(-6px); box-shadow: var(--shadow-brand); }
.rz-meter { height: 14px; border-radius: 99px; background: linear-gradient(90deg, var(--mint), var(--warn), var(--bad)); position: relative; margin: 24px 0 8px; }
[dir="rtl"] .rz-meter { background: linear-gradient(-90deg, var(--mint), var(--warn), var(--bad)); }
.rz-meter span { position: absolute; top: 50%; width: 26px; height: 26px; margin-top: -13px; margin-inline-start: -13px; border-radius: 50%; background: var(--surface); border: 4px solid var(--text); box-shadow: var(--shadow); inset-inline-start: var(--v, 50%); }
.rz-tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rz-tips li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.rz-tips li .rz-tip-n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); font-weight: 800; font-size: .8rem; flex-shrink: 0; }
.rz-lead { padding: 26px; border-radius: var(--radius-xl); background: var(--grad-soft); border: 1px solid var(--line); }
@media (max-width: 640px) { .rz-hero { grid-template-columns: 1fr; text-align: center; } .rz-badge { margin: 0 auto; } .rz-scale { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rs-skin-normal { --t: var(--mint); --t-soft: var(--mint-soft); --t-ink: var(--mint); }
.rs-skin-dry { --t: var(--peach); --t-soft: var(--peach-soft); --t-ink: var(--peach); }
.rs-skin-oily { --t: var(--gold); --t-soft: var(--gold-soft); --t-ink: var(--gold-ink); }
.rs-skin-combination { --t: var(--lilac); --t-soft: var(--lilac-soft); --t-ink: var(--lilac); }
.rs-skin-sensitive { --t: var(--brand); --t-soft: var(--brand-soft); --t-ink: var(--brand-ink); }
.rs-level-low { --t: var(--mint); --t-soft: var(--mint-soft); --t-ink: var(--mint); }
.rs-level-medium { --t: var(--gold); --t-soft: var(--gold-soft); --t-ink: var(--gold-ink); }
.rs-level-high { --t: var(--brand); --t-soft: var(--brand-soft); --t-ink: var(--brand-ink); }

/* ---------------------------------------------------------------- دستیار هوشمند */
.cg-fab { position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 70; width: 62px; height: 62px; border-radius: 50%; border: 0; background: var(--grad-joy); color: #fff; box-shadow: var(--shadow-brand); cursor: pointer; display: grid; place-items: center; transition: transform .3s var(--ease); }
.cg-fab:hover { transform: scale(1.06) rotate(-6deg); }
.cg-fab::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--brand-3); opacity: .5; animation: pulseRing 2.6s infinite; }
.cg-fab .icon { width: 28px; height: 28px; }
.cg-hint { position: fixed; bottom: 34px; inset-inline-end: 96px; z-index: 69; padding: 10px 16px; border-radius: 18px 18px 4px 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); font-size: .86rem; max-width: 240px; }
[dir="rtl"] .cg-hint { border-radius: 18px 18px 18px 4px; }
.cg-panel { position: fixed; bottom: 96px; inset-inline-end: 22px; z-index: 71; width: min(390px, calc(100vw - 24px)); height: min(590px, calc(100vh - 130px)); display: flex; flex-direction: column; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.cg-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--grad-brand); color: var(--rs-ink-on-dark); }
.cg-head .cg-av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .24); }
.cg-head strong { display: block; font-size: .98rem; color: var(--rs-ink-on-dark); }
.cg-head small { color: rgba(255, 239, 246, .75); display: inline-flex; align-items: center; gap: 6px; }
.cg-head small::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #6EE7B7; }
.cg-head button { margin-inline-start: auto; color: var(--rs-ink-on-dark); }
.cg-body { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--grad-soft); }
.cg-msg { max-width: 86%; padding: 11px 15px; border-radius: 18px; font-size: .9rem; line-height: 1.85; box-shadow: var(--shadow-xs); overflow-wrap: anywhere; }
.cg-msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-start-start-radius: 4px; }
.cg-msg.me { align-self: flex-end; background: var(--grad-brand); color: var(--on-brand); border-start-end-radius: 4px; }
[data-theme="dark"] .cg-msg.me { background: linear-gradient(135deg, #E04E87, #F06A9D); }
.cg-msg a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cg-typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.cg-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-3); animation: cgDot 1.2s infinite; }
.cg-typing i:nth-child(2) { animation-delay: .2s; } .cg-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes cgDot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-4px); } }
.cg-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.cg-quick button { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font: inherit; font-size: .8rem; color: var(--brand-ink); cursor: pointer; }
.cg-quick button:hover { border-color: var(--brand); }
.cg-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.cg-form .input { min-height: 44px; border-radius: 999px; }
.cg-foot { font-size: .7rem; color: var(--faint); text-align: center; padding: 0 12px 10px; background: var(--surface); }
@media (max-width: 760px) { .cg-fab { bottom: 84px; inset-inline-end: 16px; width: 56px; height: 56px; } .cg-panel { bottom: 0; inset-inline-end: 0; width: 100vw; height: 88vh; border-radius: 24px 24px 0 0; } .cg-hint { display: none; } }

/* ---------------------------------------------------------------- نوار شناور موبایل */
.rs-dock { display: none; }
@media (max-width: 760px) {
  .rs-dock { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; inset-inline: 10px; bottom: 10px; z-index: 44; padding: 6px; border-radius: 22px; background: var(--glass); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border: 1px solid var(--line); box-shadow: var(--shadow-lg); margin-bottom: env(safe-area-inset-bottom); }
  .rs-dock a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 2px; border-radius: 16px; color: var(--text-2); font-size: .7rem; font-weight: 600; }
  .rs-dock a.is-main { background: var(--grad-brand); color: var(--on-brand); box-shadow: var(--shadow-brand); }
  body.has-dock { padding-bottom: 82px; }
  body.has-dock .back-top { bottom: 92px; }
}

/* ---------------------------------------------------------------- کارت هدیه */
.gc-card { position: relative; aspect-ratio: 1.6 / 1; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; overflow: hidden; box-shadow: var(--shadow-lg); isolation: isolate; transition: background .4s; }
.gc-card::before { content: ''; position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; inset-inline-end: -20%; top: -40%; background: rgba(255, 255, 255, .14); z-index: -1; }
.gc-card::after { content: ''; position: absolute; width: 46%; aspect-ratio: 1; border-radius: 50%; inset-inline-start: -14%; bottom: -36%; border: 1px solid rgba(255, 255, 255, .3); z-index: -1; }
.gc-card .gc-amount { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2.2rem); font-weight: 700; }
.gc-card .gc-to { font-size: .9rem; opacity: .9; }
.gc-card .gc-msg { font-size: .82rem; opacity: .85; max-width: 80%; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.gc-rose { background: linear-gradient(135deg, #8E1F51 0%, #C8326F 45%, #F06A9D 100%); }
.gc-pearl { background: linear-gradient(135deg, #CDB6C4 0%, #F4E6EC 45%, #FFFFFF 100%); color: #4B2F46; }
.gc-gold { background: linear-gradient(135deg, #8C5231 0%, #C4825A 40%, #F6D5C0 75%, #D8986F 100%); color: #2A1308; }
.gc-lilac { background: linear-gradient(135deg, #5B3FC4 0%, #8B6CEF 50%, #D7C9FF 100%); }
.gc-velvet { background: linear-gradient(135deg, #0E0910 0%, #32102A 50%, #82215C 100%); }
.gc-designs { display: flex; gap: 10px; flex-wrap: wrap; }
.gc-swatch { width: 54px; height: 36px; border-radius: 10px; border: 2px solid transparent; cursor: pointer; box-shadow: var(--shadow-sm); padding: 0; }
.gc-swatch.is-on { border-color: var(--text); transform: translateY(-2px); }
.gc-amounts { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------------------------------------------------------------- ورود و ثبت‌نام */
.ra-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: var(--bg); }
.ra-art { position: relative; overflow: hidden; background: var(--grad-brand); color: var(--rs-ink-on-dark); padding: 46px 52px; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; isolation: isolate; }
.ra-art::before { content: ''; position: absolute; inset: 0; background: radial-gradient(520px 380px at 85% 8%, rgba(255, 170, 205, .35), transparent 70%), radial-gradient(420px 360px at 0% 100%, rgba(168, 145, 247, .32), transparent 70%); z-index: -1; }
.ra-art .brand-name { color: var(--rs-ink-on-dark); }
.ra-art .brand-sub { color: var(--gold-3); }
.ra-art h2 { font-family: var(--font-display); color: var(--rs-ink-on-dark); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.35; margin: 16px 0 12px; }
.ra-art p { color: rgba(255, 239, 246, .78); max-width: 440px; }
.ra-art-visual { position: relative; width: min(340px, 80%); aspect-ratio: 1 / 1.1; margin: 0 auto; }
.ra-art-visual .rs-arch { inset: 0 10% 0; }
.ra-points { display: grid; gap: 12px; }
.ra-points div { display: flex; gap: 12px; align-items: center; }
.ra-points .chip { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: var(--rs-ink-on-dark); }
.ra-panel { display: grid; place-items: center; padding: 34px 20px; }
.ra-card { width: 100%; max-width: 460px; }
.ra-card h1 { font-family: var(--font-display); font-size: 1.9rem; margin: 6px 0 6px; }
.ra-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); margin: 22px 0; }
.ra-tabs button, .ra-tabs a { padding: 10px; border-radius: 999px; border: 0; background: none; font: inherit; font-weight: 700; font-size: .88rem; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.ra-tabs .is-active { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.ra-phone { position: relative; }
.ra-phone .input { padding-inline-start: 56px; direction: ltr; text-align: left; font-size: 1.05rem; letter-spacing: .04em; }
.ra-phone .ra-flag { position: absolute; inset-inline-start: 12px; top: 50%; transform: translateY(-50%); font-weight: 800; font-size: .8rem; color: var(--muted); direction: ltr; }
[dir="rtl"] .ra-phone .input { padding-inline-start: 14px; padding-inline-end: 56px; }
[dir="rtl"] .ra-phone .ra-flag { inset-inline-start: auto; inset-inline-end: 12px; }
.ra-code { font-size: 1.6rem; letter-spacing: .7em; text-align: center; direction: ltr; font-weight: 800; padding-inline-start: .7em; }
.ra-resend { display: flex; justify-content: space-between; align-items: center; font-size: .84rem; color: var(--muted); flex-wrap: wrap; gap: 8px; }
.ra-resend button { border: 0; background: none; color: var(--brand); font: inherit; font-weight: 700; cursor: pointer; padding: 0; }
.ra-resend button[disabled] { color: var(--faint); cursor: default; }
.ra-foot { margin-top: 22px; font-size: .84rem; color: var(--muted); text-align: center; }
.ra-consents { padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: .86rem; }
.ra-consents a { font-weight: 700; }
@media (max-width: 900px) { .ra-shell { grid-template-columns: 1fr; } .ra-art { display: none; } }

/* ---------------------------------------------------------------- صفحات خطا و لایسنس */
.err-page { min-height: 100vh; display: grid; place-items: center; padding: 32px 18px; position: relative; overflow: hidden; background: var(--grad-hero), var(--bg); }
.err-page .rs-petals span { opacity: .55; }
.err-card { position: relative; z-index: 1; width: 100%; max-width: 600px; padding: 42px 36px 34px; border-radius: 32px; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow-lg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); text-align: center; }
.err-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 22px; }
.err-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.err-brand:hover { color: var(--text); }
.err-brand img, .err-brand svg { width: 40px; height: 40px; }
.err-code { font-family: var(--font-serif); font-size: clamp(5rem, 19vw, 8.6rem); line-height: .95; font-weight: 600; background: var(--grad-joy); -webkit-background-clip: text; background-clip: text; color: transparent; direction: ltr; }
.err-icon { width: 66px; height: 66px; margin: -4px auto 14px; border-radius: 22px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); transform: rotate(-6deg); }
.err-card h1 { font-family: var(--font-display); font-size: clamp(1.45rem, 4vw, 1.95rem); margin: 0 0 10px; }
.err-card p { color: var(--muted); max-width: 450px; margin: 0 auto 24px; }
.err-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.err-foot { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; font-size: .84rem; color: var(--muted); }
.err-foot a { font-weight: 600; }
.err-detail { margin: 0 auto 20px; padding: 10px 14px; border-radius: 14px; background: var(--surface-2); color: var(--text-2); font-size: .84rem; max-width: 440px; }
@media (max-width: 520px) { .err-card { padding: 30px 18px 24px; border-radius: 24px; } }

/* ---------------------------------------------------------------- متفرقه */
.rs-aside-card { padding: 22px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.rs-aside-card + .rs-aside-card { margin-top: 18px; }
.rs-check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.rs-check-list li { display: flex; gap: 10px; align-items: flex-start; }
.rs-check-list li .icon-sm { color: var(--mint); margin-top: 5px; }
.rs-icon-tile { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--t-soft, var(--brand-soft)); color: var(--t, var(--brand)); flex-shrink: 0; }
.rs-modal-video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.rs-modal-video iframe, .rs-modal-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.rs-empty-art { max-width: 220px; margin: 0 auto 10px; }
.rs-result-group + .rs-result-group { margin-top: 34px; }
.rs-hl { background: var(--gold-soft); border-radius: 4px; padding: 0 2px; }
.rs-legal-body { counter-reset: legal; }
.rs-note { font-size: .82rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.rs-note .icon-sm { color: var(--gold); margin-top: 4px; }
.rs-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; background: var(--glass); backdrop-filter: blur(8px); border: 1px solid var(--line); color: var(--text-2); }
.rs-tag.is-joy { background: var(--grad-joy); color: #fff; border: 0; }
.rs-tag.is-mint { background: var(--mint-soft); color: var(--mint); border-color: transparent; }
.rs-tag.is-lilac { background: var(--lilac-soft); color: var(--lilac); border-color: transparent; }
.rs-respond { max-width: 560px; margin: 0 auto; }
@media (prefers-reduced-motion: reduce) { .rs-float, .rs-sparkle, .cg-fab::after, .rs-cta::before, .rz-badge::after { animation: none !important; } }

/* ---------------------------------------------------------------- تکمیلی */
.rs-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 44px; align-items: start; }
.rs-split-even { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 900px) { .rs-split, .rs-split-even { grid-template-columns: 1fr; gap: 26px; } }
.rs-draw path, .rs-draw ellipse { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: rsDraw 3.4s var(--ease) .2s forwards; }
@keyframes rsDraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .rs-draw path, .rs-draw ellipse { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; } }
.rs-profile-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 40px; align-items: center; }
.rs-profile-hero h1 { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.7rem); margin: 12px 0 4px; }
.rs-profile-photo { width: 200px; margin: 0; }
@media (max-width: 700px) { .rs-profile-hero { grid-template-columns: 1fr; text-align: center; gap: 18px; } .rs-profile-photo { width: 160px; margin: 0 auto; } .rs-profile-hero .row, .rs-profile-hero .rs-head-actions { justify-content: center; } }
.rs-svc-hero h1 { font-family: var(--font-display); font-size: clamp(1.9rem, 4.2vw, 3rem); margin: 12px 0 10px; line-height: 1.3; }
.steps.rs-steps3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .steps.rs-steps3 { grid-template-columns: 1fr; } .steps.rs-steps3 .step::before { display: none; } }

/* موبایل باریک: سربرگ جمع‌وجور (دکمه‌ی رزرو در نوار پایین هست) */
@media (max-width: 480px) {
  .site-header .brand .brand-sub { display: none; }
  .site-header .brand .brand-name { font-size: .98rem; }
  .site-header .brand-mark, .site-header .brand-logo { width: 36px; height: 36px; }
  .site-header .header-actions { gap: 4px; }
  .site-header .header-actions .btn-primary.btn-sm { display: none; }
}
