/* ==========================================================================
   قالب «Artan» — آرتان کلینیک، درمانگاه تخصصی پوست و مو (الهیه، تهران)
   طراحی «از سایه تا درخشش» (نمونه‌ی تأییدشده‌ی Artan Radiance)
   --------------------------------------------------------------------------
   پس از site.css بارگذاری می‌شود: توکن‌های پایه را با پالت این قالب بازتعریف می‌کند (پس صفحه‌هایی
   که قالب بازنویسی نکرده، مثل بلاگ و نوبت‌دهی، هم هم‌رنگ می‌شوند) و اجزای اختصاصی را با پیشوند at-
   می‌افزاید.

   روانشناسی رنگ:
   - مشکی عمیق (noir)   → راز، تجمل و تمرکز؛ صفحه از سایه شروع می‌شود (بالای صفحه، پاورقی)
   - عاج گرم (ivory)     → آرامش، پاکیزگی و اعتماد؛ بخش‌های اطلاعاتی و فرم‌ها
   - طلای فلزی           → ارزش و درخشش؛ فقط برای تأکید و اقدام اصلی (دکمه‌ی مشاوره)
   - سبز زمردی (jewel)   → سلامت، تازگی و تعادل؛ تأکید روی زمینه‌ی روشن و نوار جواهری
   متن طلایی روی زمینه‌ی روشن از gold-ink است (کنتراست AA)، نه طلای روشن.

   قلم: ایران‌یکان در چهار وزن (۴۰۰ معمولی، ۵۰۰ متوسط، ۷۰۰ بولد، ۸۰۰ اکسترابولد)؛ تیترها با وزن
   معمولی و واژه‌ی برجسته با اکسترابولد، تا تضاد وزن حس مجله‌های مد را بدهد.

   ساختار: توکن‌ها ← پایه ← اجزای مشترک ← سرصفحه، منو و پاورقی ← صفحه‌ی اول ← صفحه‌های داخلی
   ← واکنش‌گرایی ← حرکت.
   ========================================================================== */

/* ---------- ۱. توکن‌ها ---------- */
:root {
    --noir: #070707;
    --noir-2: #0F0E0C;
    --noir-3: #191612;
    --ivory: #FBF7F1;
    --ivory-2: #F3ECE1;
    --paper: #FFFFFF;
    --at-ink: #16130F;
    --at-ink-2: #4B443B;
    --at-ink-3: #675E53;
    --on-noir: #F7F0E5;
    --on-noir-2: #C2B7A7;
    --on-noir-3: #958A7B;
    --gold: #D9B567;
    --gold-deep: #8F6A26;
    --gold-hi: #FFF1C9;
    --gold-ink: #7A5A1E;
    --hair-dark: rgba(217, 181, 103, .22);
    --hair-light: rgba(22, 19, 15, .12);
    --jewel: #0D6B54;
    --jewel-deep: #053A2E;
    --jewel-glow: #22B88A;
    --gold-grad: linear-gradient(110deg, #8F6A26 0%, #D9B567 18%, #FFF1C9 34%, #E7C77F 48%, #9C7428 66%, #D9B567 84%, #8F6A26 100%);

    /* بازتعریف توکن‌های پایه (site.css) برای صفحه‌های مشترک */
    --navy-950: #050505;
    --navy-900: var(--noir);
    --navy-800: var(--noir-2);
    --navy-700: var(--noir-3);

    --teal-700: var(--jewel-deep);
    --teal-600: var(--jewel);
    --teal-500: #138A6C;
    --teal-400: var(--gold);
    --teal-300: #E7C77F;
    --teal-100: #D9EEE6;
    --teal-50: #EEF6F2;

    --coral-600: #C79F4E;
    --coral-500: var(--gold);
    --coral-100: #F6EBD3;

    --ink: var(--at-ink);
    --ink-2: var(--at-ink-2);
    --ink-3: var(--at-ink-3);
    --line: #E9E0D2;
    --line-2: #D9CCB7;
    --bg: var(--ivory);
    --bg-soft: var(--ivory-2);
    --bg-mint: #F1EEE6;

    --on-dark: var(--on-noir);
    --on-dark-2: var(--on-noir-2);
    --on-dark-3: var(--on-noir-3);
    --glass: rgba(255, 255, 255, .04);
    --glass-line: rgba(217, 181, 103, .2);

    --star: var(--gold);

    --font: 'IRANYekan', Tahoma, 'Segoe UI', sans-serif;
    --fs-display: clamp(2.5rem, 1.4rem + 4.6vw, 5.75rem);
    --fs-h1: clamp(2.1rem, 1.4rem + 3vw, 4rem);
    --fs-h2: clamp(1.9rem, 1.2rem + 2.8vw, 3.6rem);
    --fs-h3: 1.2rem;

    --container: 1240px;
    --gutter: max(20px, env(safe-area-inset-left, 0px));
    --section-y: clamp(84px, 11vw, 150px);
    --header-h: 76px;

    --r-sm: 12px;
    --r: 18px;
    --r-lg: 24px;
    --r-xl: 30px;

    --sh-1: 0 1px 2px rgba(22, 19, 15, .05), 0 2px 10px rgba(22, 19, 15, .04);
    --sh-2: 0 30px 60px -40px rgba(22, 19, 15, .55);
    --sh-3: 0 50px 100px -60px rgba(7, 7, 7, .7);

    --ease: cubic-bezier(.22, 1, .36, 1);
}

/* ---------- ۲. پایه ---------- */
body { background: var(--ivory); color: var(--at-ink); font-family: var(--font); font-weight: 400; }
body.lang-en { line-height: 1.75; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: 0; color: inherit; }
.lang-en h1, .lang-en h2 { letter-spacing: -.015em; }
::selection { background: rgba(217, 181, 103, .35); color: var(--at-ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.i { stroke-width: 1.6; }
.hl { color: var(--jewel); font-weight: 800; }
.at-dark .hl, .at-card--dark .hl { color: var(--gold); }

/* واژه‌ی برجسته‌ی طلایی با درخشش آرام (روی زمینه‌ی تیره) */
.shine {
    font-weight: 800;
    background: var(--gold-grad); background-size: 220% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
    animation: at-shine 7s linear infinite;
}
@keyframes at-shine { to { background-position: 220% center; } }

/* برچسب لاتین کوچک (نام بین‌المللی درمان‌ها) */
.at-lat { font-size: 11px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; line-height: 1.6; direction: ltr; unicode-bidi: isolate; }

/* زمینه‌های تیره */
.at-dark { background: var(--noir); color: var(--on-noir); }

/* جای‌نگهدار تصویر: رنگ ساده + ابعاد عکس (تا عکس اصلی از پنل جایگزین شود) */
.ph { background: var(--ivory-2); border: 1px dashed rgba(122, 90, 30, .4); border-radius: var(--r-lg); color: var(--at-ink-3); }
.ph__size { color: var(--gold-ink); font-weight: 700; letter-spacing: .02em; direction: ltr; unicode-bidi: isolate; }
.ph__label { color: var(--at-ink-3); }
.ph--mint { background: #ECE4D6; border-color: rgba(122, 90, 30, .35); }
.ph--dark { background: radial-gradient(120% 90% at 50% 30%, #1E1A14 0%, var(--noir-2) 70%); border-color: rgba(217, 181, 103, .3); color: var(--on-noir-3); }
.ph--dark .ph__size { color: var(--gold); }
.ph--dark .ph__label { color: var(--on-noir-3); }
.ph-img { border-radius: var(--r-lg); background: var(--ivory-2); }

/* ---------- ۳. اجزای مشترک ---------- */
/* دکمه‌ها: طلای فلزی فقط برای اقدام اصلی */
.btn { border-radius: 999px; font-weight: 500; letter-spacing: 0; overflow: hidden; }
.btn--accent {
    background: var(--gold-grad); background-size: 200% auto; color: #1D1406; border: 0;
    box-shadow: 0 18px 40px -18px rgba(217, 181, 103, .65);
    transition: background-position .8s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.btn--accent::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
    transform: translateX(130%); transition: transform 1s var(--ease);
}
.btn--accent:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 22px 44px -18px rgba(217, 181, 103, .75); }
.btn--accent:hover::after { transform: translateX(-130%); }
.btn--primary { background: var(--at-ink); color: var(--ivory); }
.btn--primary:hover { background: var(--jewel); transform: translateY(-2px); }
.btn--teal { background: var(--jewel); color: #fff; }
.btn--teal:hover { background: var(--jewel-deep); }
.btn--outline { background: transparent; border-color: rgba(22, 19, 15, .22); color: var(--at-ink); }
.btn--outline:hover { border-color: var(--gold-ink); color: var(--gold-ink); background: transparent; }
.btn--line { background: rgba(255, 255, 255, .03); border-color: rgba(247, 240, 229, .32); color: var(--on-noir); }
.btn--line:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn--ghost-light { color: var(--on-noir); border-color: rgba(247, 240, 229, .3); }
.at-dark .btn--outline, .at-card--dark .btn--outline { color: var(--on-noir); border-color: rgba(247, 240, 229, .32); }
.at-dark .btn--outline:hover, .at-card--dark .btn--outline:hover { color: var(--gold-hi); border-color: var(--gold); }
.link-arrow { color: var(--gold-ink); font-weight: 500; }
.at-dark .link-arrow { color: var(--gold); }

.eyebrow { background: transparent; border: 0; padding: 0; color: var(--gold-ink); font-weight: 500; }
.eyebrow::before { width: 7px; height: 7px; border-radius: 0; transform: rotate(45deg); background: var(--gold-grad); }
.eyebrow--dark { color: var(--gold); background: transparent; border: 0; }

/* برچسب بالای تیتر: لوزی طلایی + متن */
.at-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; color: var(--gold-ink); line-height: 1.7; }
.at-kicker::before { content: ""; flex: none; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold-grad); }
.at-kicker .i { display: none; }
.at-dark .at-kicker, .at-card--dark .at-kicker, .at-page-hero .at-kicker { color: var(--gold); }

/* سرتیتر بخش‌ها */
.at-head { display: grid; gap: 16px; justify-items: start; max-width: 760px; margin-bottom: clamp(36px, 6vw, 64px); }
.at-head h2, .at-h2 { font-size: var(--fs-h2); font-weight: 400; line-height: 1.3; text-wrap: balance; }
.at-head p { color: var(--at-ink-2); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); max-width: 58ch; }
.at-dark .at-head p { color: var(--on-noir-2); }
.at-head--center { justify-items: center; text-align: center; margin-inline: auto; }
.at-head--row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; max-width: none; }
.at-head--row > div { display: grid; gap: 16px; justify-items: start; max-width: 720px; }
.at-rule { display: none; }

.at-section { position: relative; padding-block: var(--section-y); }
.at-section--tight { padding-block: calc(var(--section-y) * .6); }
.at-section--white { background: var(--paper); }
.at-section--soft { background: var(--ivory-2); }
.at-section--dark { background: var(--noir); color: var(--on-noir); }
.at-section--dark .at-head p { color: var(--on-noir-2); }

.at-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; font-size: .88rem; color: var(--at-ink-3); line-height: 1.9; }
.at-note .i { flex: none; margin-top: 4px; color: var(--gold-ink); width: 18px; height: 18px; }
.at-dark .at-note { color: var(--on-noir-3); }
.at-dark .at-note .i { color: var(--gold); }

.at-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--hair-light); font-size: .8rem; color: var(--at-ink-2); }
.at-chip .i { width: 15px; height: 15px; color: var(--gold-ink); }

.at-tag { position: absolute; z-index: 3; padding: 4px 12px; border-radius: 999px; background: rgba(7, 7, 7, .62); color: #F7F0E5; font-size: .75rem; pointer-events: none; }

/* کارت‌ها */
.at-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--r-xl); background: var(--paper); border: 1px solid var(--hair-light); display: grid; gap: 12px; align-content: start; }
.at-card h2, .at-card h3 { font-size: 1.2rem; font-weight: 700; }
.at-card p { color: var(--at-ink-2); }
.at-card--dark { background: radial-gradient(120% 120% at 90% 0%, var(--jewel) 0%, var(--jewel-deep) 55%, #020403 100%); color: var(--on-noir); border-color: transparent; }
.at-card--dark p { color: var(--on-noir-2); }
.at-card--dark .btn { justify-self: start; margin-top: 6px; }

/* مسیر راهنما */
.at-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: .85rem; color: var(--on-noir-3); }
.at-crumbs a:hover { color: var(--gold-hi); }
.at-crumbs .i { width: 14px; height: 14px; opacity: .6; }
.at-crumbs [aria-current] { color: var(--on-noir-2); }

/* فیلترها */
.at-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.at-filter { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--hair-light); background: var(--paper); color: var(--at-ink-2); font-size: .9rem; transition: background-color .3s, color .3s, border-color .3s; }
.at-filter[aria-pressed="true"] { background: var(--at-ink); color: var(--ivory); border-color: var(--at-ink); }
.is-filtered-out { display: none !important; }

/* پرسش‌های بازشو */
.at-acc { display: grid; border-top: 1px solid var(--hair-light); }
.at-acc details { border-bottom: 1px solid var(--hair-light); }
.at-acc summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 2px; font-weight: 500; font-size: 1.02rem; cursor: pointer; list-style: none; }
.at-acc summary::-webkit-details-marker { display: none; }
.at-acc summary .i { flex: none; width: 34px; height: 34px; padding: 8px; border-radius: 50%; border: 1px solid var(--hair-light); color: var(--gold-ink); transition: transform .45s var(--ease), background-color .3s; }
.at-acc details[open] summary .i { transform: rotate(45deg); background: var(--ivory-2); }
.at-acc__answer { padding: 0 2px 22px; color: var(--at-ink-2); max-width: 70ch; }
.at-dark .at-acc, .at-dark .at-acc details { border-color: var(--hair-dark); }
.at-dark .at-acc summary .i { border-color: var(--hair-dark); color: var(--gold); }
.at-dark .at-acc details[open] summary .i { background: rgba(255, 255, 255, .05); }
.at-dark .at-acc__answer { color: var(--on-noir-2); }

/* مشخصات سریع (مدت، بی‌حسی، نقاهت، ماندگاری) */
.at-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 0; background: var(--hair-dark); border: 1px solid var(--hair-dark); border-radius: 18px; overflow: hidden; }
.at-fact { display: grid; gap: 2px; padding: 12px 14px; background: var(--paper); }
.at-fact dt small { font-size: .78rem; color: var(--at-ink-3); }
.at-fact dd { margin: 0; }
.at-fact strong { font-size: .98rem; font-weight: 700; color: var(--at-ink); }
.at-dark .at-facts, .at-page-hero .at-facts { background: var(--hair-dark); }
.at-dark .at-fact, .at-page-hero .at-fact { background: #0D0C0A; }
.at-dark .at-fact dt small, .at-page-hero .at-fact dt small { color: var(--on-noir-3); }
.at-dark .at-fact strong, .at-page-hero .at-fact strong { color: var(--gold-hi); }

/* ---------- ۴. نشان، سرصفحه، منو ---------- */
.at-brand { display: inline-flex; align-items: center; gap: 12px; flex: none; color: inherit; }
.at-brand__mark { width: 42px; height: 42px; color: var(--gold); }
.at-brand__logo { max-height: 46px; width: auto; }
.at-brand__text { display: grid; line-height: 1.3; }
.at-brand__name { font-size: 1.1rem; font-weight: 700; }
.at-brand__sub { font-size: .72rem; font-weight: 400; opacity: .7; }

.site-header.at-header { color: var(--on-noir); top: env(safe-area-inset-top, 0px); border-bottom: 1px solid transparent; transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s; }
.site-header.at-header.is-scrolled {
    color: var(--on-noir); background: rgba(7, 7, 7, .66); box-shadow: none; border-bottom-color: var(--hair-dark);
    -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
}
.site-header.at-header[data-tone="light"] { color: var(--at-ink); }
.site-header.at-header[data-tone="light"].is-scrolled { background: rgba(251, 247, 241, .84); border-bottom-color: var(--hair-light); }
.at-header .nav__link { font-weight: 400; opacity: .82; }
.at-header .nav__link:hover, .at-header .nav__link[aria-expanded="true"] { background: rgba(255, 255, 255, .06); opacity: 1; }
.at-header[data-tone="light"] .nav__link:hover, .at-header[data-tone="light"] .nav__link[aria-expanded="true"] { background: rgba(22, 19, 15, .05); }
.at-header .nav__link[aria-current="page"]::after { background: var(--gold); }
.at-header .header-phone { font-weight: 500; }
.at-header .header-phone .i, .at-header.is-scrolled .header-phone .i { color: var(--gold); }
.at-header[data-tone="light"] .header-phone .i { color: var(--gold-ink); }
.at-header .nav-toggle, .at-header.is-scrolled .nav-toggle { border-radius: 50%; border-color: currentColor; background: transparent; color: inherit; opacity: .9; }

/* انتخاب زبان */
.at-lang { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border-radius: 999px; border: 1px solid var(--hair-dark); font-size: .78rem; }
.at-lang a { padding: 4px 10px; border-radius: 999px; opacity: .72; transition: background-color .3s, opacity .3s; }
.at-lang a:hover { opacity: 1; }
.at-lang a.is-active { opacity: 1; background: var(--gold-grad); color: #1D1406; font-weight: 500; }
.at-header[data-tone="light"] .at-lang { border-color: var(--hair-light); }

/* منوی بازشوی خدمات: پنل شیشه‌ای تیره با خط طلایی */
.at-header .mega { background: rgba(13, 12, 10, .97); color: var(--on-noir); border-color: var(--hair-dark); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.at-header .mega__link:hover, .at-header .mega--list .mega__link[aria-current="page"] { background: rgba(255, 255, 255, .05); }
.at-header .mega__icon { background: rgba(217, 181, 103, .1); color: var(--gold); border-radius: 50%; }
.at-header .mega__link:hover .mega__icon { background: var(--gold-grad); color: #1D1406; }
.at-header .mega__title { font-weight: 500; }
.at-header .mega__desc { color: var(--on-noir-3); }
.at-header .mega__foot { background: rgba(255, 255, 255, .04); color: var(--on-noir-2); }
.at-header .mega__foot .link-arrow { color: var(--gold); }

/* کشوی منوی موبایل: پرده‌ی تیره‌ی تمام‌صفحه */
.drawer__backdrop { background: rgba(7, 7, 7, .7); }
.drawer__panel { width: min(460px, 100vw); background: var(--noir); color: var(--on-noir); padding: calc(18px + env(safe-area-inset-top, 0px)) 22px calc(26px + env(safe-area-inset-bottom, 0px)); border-inline-end: 1px solid var(--hair-dark); }
.drawer__close { border-radius: 50%; border-color: var(--hair-dark); background: transparent; color: var(--on-noir); }
.drawer__nav a, .drawer__nav summary { font-size: clamp(1.3rem, 5vw, 1.6rem); font-weight: 400; border-bottom-color: var(--hair-dark); padding-block: 12px; }
.drawer__sub a { font-size: 1rem; color: var(--on-noir-2); }
.drawer__sub a .i, .drawer__contact .i { color: var(--gold); }
.drawer .at-lang { align-self: flex-start; margin-top: 18px; }
.drawer__contact { color: var(--on-noir-2); }

/* نوار اقدام سریع موبایل */
.at-mobilebar {
    position: fixed; inset-inline: 0; bottom: 0; z-index: 40; display: flex; gap: 8px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(7, 7, 7, .86); border-top: 1px solid var(--hair-dark);
    -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
    transform: translateY(110%); transition: transform .55s var(--ease);
}
.at-mobilebar.is-on { transform: none; }
.at-mobilebar a { flex: 1; min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 999px; border: 1px solid var(--hair-dark); color: var(--on-noir); font-size: .9rem; }
.at-mobilebar a .i { width: 18px; height: 18px; color: var(--gold); }
.at-mobilebar a.is-primary { flex: 1.7; background: var(--gold-grad); color: #1D1406; border-color: transparent; font-weight: 500; }
.at-mobilebar a.is-primary .i { color: #1D1406; }

/* ---------- ۵. پاورقی ---------- */
.at-footer { background: var(--noir); color: var(--on-noir-2); border-top: 1px solid var(--hair-dark); padding-block: clamp(56px, 8vw, 96px) 32px; }
.at-footer__word {
    font-weight: 400; font-size: clamp(64px, 19vw, 240px); letter-spacing: .14em; padding-inline-start: .14em; line-height: 1; text-align: center; direction: ltr;
    background: var(--gold-grad); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
    animation: at-shine 9s linear infinite; margin-bottom: clamp(40px, 6vw, 72px); user-select: none;
}
.at-footer__grid { display: grid; gap: 36px; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
.at-footer h2 { font-size: .95rem; font-weight: 500; color: var(--on-noir); margin-bottom: 16px; }
.at-footer__about { margin-top: 18px; font-size: .9rem; line-height: 2; max-width: 40ch; }
.at-footer__links { display: grid; gap: 8px; font-size: .9rem; }
.at-footer__links a:hover, .at-footer__contact a:hover { color: var(--gold-hi); }
.at-footer__contact { display: grid; gap: 12px; font-size: .9rem; }
.at-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.at-footer__contact .i { flex: none; width: 18px; height: 18px; margin-top: 5px; color: var(--gold); }
.at-footer__license { display: flex; gap: 10px; margin-top: 20px; }
.at-footer__license .ph { width: 84px; border-radius: 14px; }
.at-footer__license .ph__size { font-size: .7rem; }
.at-footer__license .ph__label { font-size: .65rem; }
.at-socials { display: flex; gap: 8px; margin-top: 22px; }
.at-socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--hair-dark); color: var(--gold); transition: background-color .3s, color .3s; }
.at-socials a:hover { background: var(--gold-grad); color: #1D1406; }
.at-socials .i { width: 19px; height: 19px; }
.at-footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--hair-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .82rem; color: var(--on-noir-3); }
.at-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.at-footer__bottom a:hover { color: var(--gold-hi); }

/* ---------- ۶. صفحه‌ی اول ---------- */
/* قهرمان: موبایل، تصویر بالای صفحه و متن زیر چهره؛ رایانه، تصویر سمت چپ با محو نرم */
.at-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--noir); color: var(--on-noir); --media-h: min(58svh, 540px); }
.at-hero__media { position: absolute; inset: 0 0 auto 0; height: var(--media-h); z-index: -3; }
.at-hero__media > .ph-img, .at-hero__media > .ph { width: 100%; height: 100%; aspect-ratio: auto !important; object-fit: cover; object-position: 50% 30%; border-radius: 0; border: 0; }
.at-hero__veil { position: absolute; inset: 0 0 auto 0; height: calc(var(--media-h) + 2px); z-index: -2; pointer-events: none; background: linear-gradient(to top, var(--noir) 3%, rgba(7, 7, 7, .55) 30%, rgba(7, 7, 7, 0) 58%, rgba(7, 7, 7, .5) 100%); }
.at-hero__dust { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.at-hero__glow { position: absolute; left: 0; top: 0; z-index: -1; width: 540px; height: 540px; margin: -270px 0 0 -270px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 236, 190, .2) 0%, rgba(217, 181, 103, .09) 36%, transparent 70%); mix-blend-mode: screen; transform: translate3d(50vw, 40vh, 0); will-change: transform; }
.at-hero__in { padding-top: calc(var(--media-h) - 64px); padding-bottom: 56px; }
.at-hero__text { display: grid; gap: 18px; justify-items: start; max-width: 620px; }
.at-hero__eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 500; color: var(--gold); }
.at-hero__eyebrow::before { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold-grad); }
.at-hero h1 { font-size: clamp(38px, 10vw, 54px); font-weight: 400; line-height: 1.25; }
.at-hero h1 .hl { color: inherit; font-weight: 800; background: var(--gold-grad); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: at-shine 7s linear infinite; }
.at-hero__sub { font-size: .95rem; color: var(--on-noir-2); font-weight: 500; }
.at-hero__lead { max-width: 40ch; font-size: clamp(1rem, .95rem + .4vw, 1.2rem); color: var(--on-noir-2); }
.at-hero__cta { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.at-hero__cta .btn { flex: 1 1 100%; }
.at-hero__meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .82rem; color: var(--on-noir-3); }
.at-hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.at-hero__meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.at-hero__vert { display: none; position: absolute; left: 30px; bottom: 44px; writing-mode: vertical-rl; transform: rotate(180deg); color: var(--on-noir-3); direction: ltr; }
.at-hero__scroll { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); display: none; flex-direction: column; align-items: center; gap: 10px; font-size: .75rem; color: var(--on-noir-3); }
.at-hero__scroll i { position: relative; width: 1px; height: 46px; overflow: hidden; background: linear-gradient(var(--gold), transparent); }
.at-hero__scroll i::after { content: ""; position: absolute; left: -2px; top: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-hi); animation: at-drop 2.2s var(--ease) infinite; }
@keyframes at-drop { from { transform: translateY(-6px); opacity: 0; } 30% { opacity: 1; } to { transform: translateY(48px); opacity: 0; } }

/* ورود آرام متن قهرمان (فقط برای صفحه‌ی دیده‌شده؛ کلاس intro در قالب اصلی) */
.intro .at-hero__text > * { animation: at-rise 1.3s var(--ease) both; }
.intro .at-hero__text > :nth-child(2) { animation-delay: .1s; }
.intro .at-hero__text > :nth-child(3) { animation-delay: .25s; }
.intro .at-hero__text > :nth-child(4) { animation-delay: .4s; }
.intro .at-hero__text > :nth-child(5) { animation-delay: .55s; }
.intro .at-hero__text > :nth-child(n+6) { animation-delay: .7s; }
@keyframes at-rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* نوار درمان‌ها: نام فارسی + برچسب لاتین طلایی */
.at-mq { overflow: hidden; padding-block: 16px; background: var(--noir); color: var(--on-noir); border-block: 1px solid var(--hair-dark); }
.at-mq__track { display: flex; width: max-content; animation: at-mq 60s linear infinite; white-space: nowrap; }
.at-mq__group { display: flex; align-items: center; }
.at-mq__item { display: inline-flex; align-items: center; gap: 14px; }
.at-mq__item::after { content: ""; flex: none; width: 5px; height: 5px; margin-inline: 34px; transform: rotate(45deg); background: var(--gold-grad); }
.at-mq__item b { font-size: clamp(15px, 1.8vw, 18px); font-weight: 500; }
.at-mq__item .at-lat { font-size: 10px; color: var(--gold); }
@keyframes at-mq { to { transform: translateX(50%); } }
[dir="ltr"] .at-mq__track { animation-name: at-mq-ltr; }
@keyframes at-mq-ltr { to { transform: translateX(-50%); } }

/* نقشه‌ی چهره: اندازه‌ی پرتره به ارتفاع صفحه هم وابسته است تا نقطه‌ها و عنوان درمان با هم دیده شوند */
/* رنگ زمینه‌ی ساده هم کنار گرادیان لازم است: artan.js رنگ سرصفحه را از background-color می‌خواند */
.at-face { background: radial-gradient(90% 60% at 50% 0%, #17130D 0%, var(--noir) 70%) var(--noir); color: var(--on-noir); }
.at-seg { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--hair-dark); background: rgba(255, 255, 255, .02); }
.at-seg button { min-width: 92px; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--on-noir-2); font-size: .9rem; transition: background-color .4s, color .4s; }
.at-seg button[aria-selected="true"] { background: var(--gold-grad); color: #1D1406; font-weight: 500; }
.at-face__stage { --fw: min(100%, 400px, max(250px, calc((100svh - 232px) / 1.5 + 22px))); display: grid; justify-items: center; gap: 18px; }
.at-face__frame { position: relative; width: var(--fw); padding: 10px; border: 1px solid var(--hair-dark); border-radius: 36px; }
.at-face__fig { position: relative; isolation: isolate; margin: 0; aspect-ratio: 2 / 3; border-radius: 26px; overflow: hidden; background: var(--noir-3); box-shadow: 0 60px 120px -70px rgba(217, 181, 103, .45); }
.at-face__fig img { width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform 1.2s var(--ease); }
.at-face__fig.is-swap img { opacity: 0; transform: scale(1.04); }
.at-face__fig::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 90% at 50% 35%, transparent 55%, rgba(7, 7, 7, .55) 100%); }
.at-spot { position: absolute; z-index: 2; left: var(--x); top: var(--y); width: 46px; height: 46px; margin: -23px 0 0 -23px; padding: 0; border: 0; border-radius: 50%; background: transparent; transition: left .7s var(--ease), top .7s var(--ease); }
.at-spot i { position: absolute; inset: 15px; border-radius: 50%; background: var(--gold-grad); animation: at-pulse 2.6s var(--ease) infinite; }
.at-spot::before { content: ""; position: absolute; inset: 3px; border-radius: 50%; border: 1px solid rgba(255, 241, 201, .75); opacity: 0; transform: scale(.5); transition: opacity .4s, transform .5s var(--ease); }
.at-spot[aria-pressed="true"] i { background: var(--jewel-glow); animation: none; box-shadow: 0 0 0 5px rgba(34, 184, 138, .32), 0 0 26px var(--jewel-glow); }
.at-spot[aria-pressed="true"]::before { opacity: 1; transform: none; }
@keyframes at-pulse { 0% { box-shadow: 0 0 0 0 rgba(255, 236, 190, .6); } 70% { box-shadow: 0 0 0 14px rgba(255, 236, 190, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 236, 190, 0); } }
.at-spot__tag { position: absolute; z-index: 3; left: var(--x); top: var(--y); transform: translate(-50%, -175%); padding: 4px 12px; border-radius: 999px; background: rgba(7, 7, 7, .74); border: 1px solid var(--hair-dark); font-size: .75rem; color: var(--gold-hi); white-space: nowrap; pointer-events: none; transition: left .7s var(--ease), top .7s var(--ease); }
.at-face__fig .at-tag { top: 12px; right: 12px; }
.at-face__side { display: grid; gap: 22px; width: var(--fw); }
.at-face__aside { display: grid; gap: 12px; justify-items: center; }
.at-hint { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--on-noir-3); }
.at-hint .i { width: 18px; height: 18px; color: var(--gold); }
.at-zchips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.at-zchip { min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--hair-dark); background: transparent; color: var(--on-noir-2); font-size: .82rem; transition: border-color .3s, color .3s, background-color .3s; }
.at-zchip[aria-pressed="true"] { border-color: var(--gold); color: var(--gold-hi); background: rgba(217, 181, 103, .08); }
.at-panel { position: relative; padding: clamp(22px, 3.4vw, 36px); border-radius: 28px; border: 1px solid var(--hair-dark); background: linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .012)); overflow: hidden; }
.at-panel::before { content: ""; position: absolute; top: -120px; left: -80px; width: 320px; height: 320px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(34, 184, 138, .3), transparent 70%); }
.at-panel__body { position: relative; }
.at-panel__body.is-swap { animation: at-swap .6s var(--ease); }
@keyframes at-swap { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.at-panel__zone { font-size: .82rem; color: var(--on-noir-3); }
.at-panel .at-lat { display: block; margin-top: 8px; color: var(--gold); }
.at-panel h3 { margin-top: 4px; font-size: clamp(30px, 5vw, 50px); font-weight: 400; line-height: 1.25; }
.at-panel__text { margin-top: 12px; color: var(--on-noir-2); max-width: 44ch; }
.at-panel .at-facts { margin-top: 20px; }
.at-panel__cta { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 719.98px) { .at-panel__text { min-height: 5.7em; } }

/* داستان: بخش چسبان که با اسکرول از سایه به درخشش می‌رسد (artan.js پیشرفت را می‌دهد) */
.at-story { position: relative; height: 240svh; background: var(--noir); color: var(--on-noir); --p: 0; transition: color .6s; }
.at-story__pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.at-story__ring { position: absolute; left: 50%; top: 50%; width: min(130vw, 900px); aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(217, 181, 103, .16); box-shadow: inset 0 0 140px rgba(217, 181, 103, .05); transform: translate(-50%, -50%) rotate(calc(var(--p) * 70deg)) scale(calc(1 + var(--p) * .12)); pointer-events: none; }
.at-story__ring::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1.5px solid transparent; border-top-color: var(--gold); border-left-color: rgba(217, 181, 103, .4); transform: rotate(-35deg); }
.at-story__in { position: relative; }
.at-story__kicker { font-size: .9rem; font-weight: 500; color: var(--gold); margin-bottom: 22px; transition: color .6s; }
.at-story__text { max-width: 19ch; margin-inline: auto; font-size: clamp(30px, 6.4vw, 76px); font-weight: 400; line-height: 1.55; text-wrap: balance; }
.at-story__text .w { display: inline-block; opacity: .14; transition: opacity .25s linear, color .6s; }
.at-story__text .w.is-lit { opacity: 1; }
.at-story__text .g { font-weight: 800; color: var(--gold); }
.at-story.is-light { color: var(--at-ink); }
.at-story.is-light .at-story__kicker { color: var(--gold-ink); }
.at-story.is-light .at-story__text .g { color: var(--jewel); }
.at-story.is-light .at-story__ring { opacity: 0; transition: opacity .6s; }

/* منوی درمان‌ها: موبایل، کارت اصلی و شبکه‌ی دوتایی؛ رایانه، چیدمان موزاییکی؛ هیچ اسکرول افقی */
.at-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.at-card2 { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; background: var(--noir-3); color: #fff; isolation: isolate; box-shadow: 0 30px 60px -40px rgba(22, 19, 15, .6); }
.at-card2:first-child { grid-column: 1 / -1; aspect-ratio: 1 / 1; border-radius: 28px; }
.at-card2__img { position: absolute; inset: 0; z-index: -2; }
.at-card2__img > .ph-img, .at-card2__img > .ph { width: 100%; height: 100%; aspect-ratio: auto !important; object-fit: cover; border-radius: 0; border: 0; transition: transform 1.4s var(--ease); }
/* جای‌نگهدار بالای کارت، دور از عنوان */
.at-card2__img > .ph { justify-content: flex-start; padding-top: 22px; }
.at-card2::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7, 7, 7, .93) 0%, rgba(7, 7, 7, .58) 38%, rgba(7, 7, 7, 0) 66%); }
.at-card2__body { position: absolute; inset: auto 0 0 0; padding: 16px; display: grid; gap: 4px; }
.at-card2:first-child .at-card2__body { padding: 22px; gap: 6px; }
.at-card2 .at-lat { color: var(--gold-hi); font-size: 10px; }
.at-card2 h3 { font-size: clamp(19px, 5.4vw, 24px); font-weight: 500; line-height: 1.35; }
.at-card2:first-child h3 { font-size: clamp(28px, 7.6vw, 36px); font-weight: 400; }
.at-card2 p { font-size: .88rem; line-height: 1.85; color: rgba(255, 255, 255, .84); }
.at-card2__go { margin-top: 6px; display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--gold); }
.at-card2__go .i { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.at-card2__arr { position: absolute; z-index: 1; top: 12px; left: 12px; width: 36px; height: 36px; border-radius: 50%; display: none; place-items: center; border: 1px solid rgba(255, 241, 201, .32); background: rgba(7, 7, 7, .38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--gold-hi); }
.at-card2__arr .i { width: 16px; height: 16px; }
.at-card2:hover .at-card2__img > * { transform: scale(1.06); }
.at-card2:hover .at-card2__go .i { transform: translateX(-5px); }
[dir="ltr"] .at-card2__arr { left: auto; right: 12px; }
[dir="ltr"] .at-card2__arr .i, [dir="ltr"] .at-card2__go .i { transform: scaleX(-1); }
@media (max-width: 599.98px) {
    .at-card2:not(:first-child) p, .at-card2:not(:first-child) .at-card2__go { display: none; }
    .at-card2:not(:first-child) .at-card2__arr { display: grid; }
}

/* قبل و بعد صفحه‌ی اول: هرگز بلندتر از یک صفحه */
.at-results { background: var(--ivory-2); padding-block: clamp(76px, 9vw, 120px); }
.at-results__in { display: grid; }
.at-results .at-head { margin-bottom: 24px; }
.at-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.at-tab { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--hair-light); background: var(--paper); color: var(--at-ink-2); font-size: .9rem; transition: background-color .3s, color .3s, border-color .3s; }
.at-tab[aria-selected="true"] { background: var(--at-ink); color: var(--ivory); border-color: var(--at-ink); }
.at-results__more { margin-top: 18px; justify-self: start; }

/* مقایسه‌ی کشویی قبل و بعد (صفحه‌ی اول و صفحه‌ی هر نمونه) */
/* پهنا از نسبت عکس (--ratio را artan.js می‌گذارد): عکس افقی ابرو در دسکتاپ تمام ستون را می‌گیرد و
   عکس عمودی آن‌قدر بلند نمی‌شود که از صفحه بیرون بزند (ارتفاع حداکثر حدود ۷۲٪ صفحه) */
.at-compare { position: relative; --pos: 50%; justify-self: center; width: min(100%, calc(72svh * var(--ratio, .8))); aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: #D8D0C4; box-shadow: 0 50px 90px -60px rgba(22, 19, 15, .55); touch-action: pan-y; }
.at-compare__before, .at-compare__after { position: absolute; inset: 0; }
.at-compare__before > *, .at-compare__after > * { width: 100%; height: 100%; aspect-ratio: auto !important; object-fit: cover; border-radius: 0; border: 0; }
.at-compare__before { z-index: 1; clip-path: inset(0 0 0 calc(100% - var(--pos))); }
.at-compare__line { position: absolute; z-index: 2; top: 0; bottom: 0; right: var(--pos); width: 2px; margin-right: -1px; background: #fff; box-shadow: 0 0 22px rgba(255, 241, 201, .9); pointer-events: none; }
.at-compare__knob { position: absolute; z-index: 3; top: 50%; right: var(--pos); width: 58px; height: 58px; margin-right: -29px; margin-top: -29px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #1D1406; box-shadow: 0 10px 30px rgba(7, 7, 7, .35); pointer-events: none; }
.at-compare__knob .i { width: 24px; height: 24px; }
.at-compare__labels { position: absolute; z-index: 3; inset: 16px 16px auto; display: flex; justify-content: space-between; pointer-events: none; }
.at-compare__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; direction: rtl; }
.at-ba__tag { position: absolute; z-index: 3; top: 12px; right: 12px; padding: 4px 13px; border-radius: 999px; font-size: .78rem; background: rgba(7, 7, 7, .66); color: #fff; pointer-events: none; }
.at-ba__tag--after { right: auto; left: 12px; background: var(--gold-grad); color: #1D1406; font-weight: 500; }

/* پزشک */
.at-doc__in { display: grid; gap: 32px; }
.at-doc__fig { position: relative; justify-self: center; width: min(100%, calc(70svh * 4 / 5)); margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: var(--ivory-2); }
.at-doc__fig > .ph-img, .at-doc__fig > .ph { width: 100%; height: 100%; aspect-ratio: auto !important; object-fit: cover; object-position: 50% 22%; border-radius: 0; }
.at-doc__mono { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 20%, #fff 0%, var(--ivory-2) 70%); }
.at-doc__mono span { width: 46%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(122, 90, 30, .3); font-size: clamp(40px, 9vw, 84px); font-weight: 400; color: var(--gold-ink); }
.at-doc__txt { display: grid; gap: 14px; justify-items: start; }
.at-doc__name { font-size: clamp(42px, 11vw, 64px); font-weight: 400; line-height: 1.2; }
.at-doc__role { font-size: 1rem; font-weight: 700; color: var(--jewel); }
.at-doc__bio { color: var(--at-ink-2); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); max-width: 54ch; }
.at-doc__subhead { margin-top: 10px; font-size: .9rem; font-weight: 500; color: var(--gold-ink); }
.at-doc__team { width: 100%; border-top: 1px solid var(--hair-light); }
.at-doc__team li { display: flex; align-items: center; gap: 14px; padding-block: 14px; border-bottom: 1px solid var(--hair-light); }
.at-doc__avatar { flex: none; width: 56px; height: 56px; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--noir); color: var(--gold); font-weight: 700; box-shadow: 0 0 0 1px rgba(122, 90, 30, .3); }
.at-doc__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.at-doc__who { display: grid; line-height: 1.6; }
.at-doc__who b { font-size: 1.05rem; font-weight: 700; }
.at-doc__who span { font-size: .88rem; color: var(--at-ink-3); }

/* نوار جواهری: چرا آرتان */
.at-jewel { position: relative; overflow: hidden; isolation: isolate; color: var(--on-noir); background: radial-gradient(120% 120% at 90% 0%, var(--jewel) 0%, var(--jewel-deep) 52%, #020403 100%) var(--jewel-deep); }
.at-jewel::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background: radial-gradient(60% 50% at 15% 100%, rgba(217, 181, 103, .22), transparent 70%), radial-gradient(40% 40% at 80% 20%, rgba(255, 241, 201, .12), transparent 70%); }
.at-jewel .at-head p { color: var(--on-noir-2); }
.at-jewel .at-kicker { color: var(--gold); }
.at-promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: rgba(255, 241, 201, .16); border: 1px solid rgba(255, 241, 201, .16); border-radius: 26px; overflow: hidden; }
.at-promises li { display: grid; gap: 10px; align-content: start; padding: 28px 24px; background: rgba(5, 58, 46, .82); }
.at-promises .i { width: 32px; height: 32px; color: var(--gold); }
.at-promises h3 { font-size: 1.1rem; font-weight: 500; }
.at-promises p { font-size: .9rem; color: var(--on-noir-2); }

/* مشاوره با عکس (صفحه‌ی اول کش می‌شود؛ فرم اصلی در صفحه‌ی مشاوره است) */
.at-consult-home__in { display: grid; gap: 36px; }
.at-callcard { margin-top: 26px; padding: 22px; border-radius: 24px; background: var(--noir); color: var(--on-noir); display: grid; gap: 6px; justify-items: start; }
.at-callcard small { color: var(--on-noir-3); font-size: .82rem; }
.at-callcard__num { font-size: 1.7rem; font-weight: 400; color: var(--gold-hi); direction: ltr; }
.at-callcard__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.at-start { display: grid; gap: 18px; padding: clamp(22px, 4.5vw, 40px); border-radius: var(--r-xl); border: 1px solid var(--hair-light); background: var(--paper); box-shadow: 0 60px 100px -70px rgba(22, 19, 15, .45); }
.at-start__steps { display: grid; gap: 14px; counter-reset: st; }
.at-start__steps li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; color: var(--at-ink-2); }
.at-start__steps li::before { counter-increment: st; content: counter(st, persian); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(122, 90, 30, .35); color: var(--gold-ink); font-weight: 700; }
.lang-en .at-start__steps li::before, .lang-ar .at-start__steps li::before { content: counter(st); }
.at-start__drop { display: grid; justify-items: center; gap: 6px; padding: 26px 16px; border-radius: 20px; border: 1.5px dashed rgba(122, 90, 30, .45); background: var(--ivory); text-align: center; transition: background-color .3s, border-color .3s; }
.at-start__drop:hover { background: var(--ivory-2); border-color: var(--gold-ink); }
.at-start__drop .i { width: 30px; height: 30px; color: var(--gold-ink); }
.at-start__drop b { font-weight: 700; }
.at-start__drop small { font-size: .8rem; color: var(--at-ink-3); }

/* مراجعه: عکس فضا در پس‌زمینه و کارت شیشه‌ای اطلاعات */
.at-visitband { position: relative; min-height: min(94svh, 880px); display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; background: var(--noir); color: var(--on-noir); }
.at-visitband__bg { position: absolute; inset: 0; z-index: -2; }
.at-visitband__bg > .ph-img, .at-visitband__bg > .ph { width: 100%; height: 100%; aspect-ratio: auto !important; object-fit: cover; border-radius: 0; border: 0; filter: brightness(.56) saturate(1.05); }
.at-visitband__bg > .ph { filter: none; justify-content: flex-start; padding-top: 120px; }
.at-visitband::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(to top, var(--noir) 8%, rgba(7, 7, 7, .55) 46%, rgba(7, 7, 7, .15) 100%); }
.at-visitband__in { display: grid; gap: 28px; padding-top: 150px; padding-bottom: 64px; }
.at-visitband__info { display: grid; gap: 22px; justify-items: start; min-width: 0; }

/* کارت نقشه (Site/_MapCard): خیابان‌های طلایی روی مشکی، پین تپنده‌ی کلینیک در مرکز، دکمه‌های مسیریابی */
.at-map { display: grid; gap: 12px; width: 100%; }
.at-map__fig { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: 26px; overflow: hidden; isolation: isolate; background: #0B0A08; border: 1px solid var(--hair-dark); box-shadow: 0 40px 80px -50px rgba(0, 0, 0, .8); }
.at-map__fig::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(75% 75% at 50% 50%, transparent 55%, rgba(7, 7, 7, .7) 100%); }
.at-map__base { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.at-map__street { position: absolute; z-index: 2; left: var(--x); top: var(--y); transform: translate(-50%, -50%) rotate(var(--a)); font-size: 11px; font-weight: 500; line-height: 1; white-space: nowrap; color: rgba(231, 199, 127, .8); text-shadow: 0 0 3px #0B0A08, 0 0 8px #0B0A08, 0 0 12px #0B0A08; pointer-events: none; }
.at-map__pin { position: absolute; z-index: 3; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--gold-grad); box-shadow: 0 0 0 4px rgba(217, 181, 103, .25), 0 0 26px rgba(255, 236, 190, .85); }
.at-map__pin::before, .at-map__pin::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 1px solid var(--gold); animation: at-map-ping 2.6s ease-out infinite; }
.at-map__pin::after { animation-delay: 1.3s; }
@keyframes at-map-ping { from { transform: scale(.7); opacity: .9; } to { transform: scale(3.6); opacity: 0; } }
.at-map__pin i { position: absolute; inset: 5px; border-radius: 50%; background: #1D1406; }
.at-map__tag { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, calc(-100% - 20px)); display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; white-space: nowrap; background: rgba(7, 7, 7, .84); border: 1px solid var(--hair-dark); color: var(--on-noir); font-size: .78rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.at-map__tag .i { width: 18px; height: 18px; color: var(--gold); }
.at-map__credit { position: absolute; z-index: 3; bottom: 8px; left: 12px; font-size: 9.5px; color: var(--on-noir-3); }
.at-map__go { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 599.98px) {
    .at-map__street { font-size: 10px; }
    .at-map__street--minor { display: none; }
    .at-map__fig { border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) { .at-map__pin::before, .at-map__pin::after { animation: none; opacity: 0; } }
.at-visitband h2 { font-size: var(--fs-h2); font-weight: 400; line-height: 1.3; }
.at-visitband dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px; width: 100%; max-width: 920px; margin: 0; background: var(--hair-dark); border: 1px solid var(--hair-dark); border-radius: 24px; overflow: hidden; }
.at-visitband dl > div { padding: 18px 20px; background: rgba(7, 7, 7, .64); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.at-visitband dt { font-size: .78rem; color: var(--on-noir-3); }
.at-visitband dd { margin: 4px 0 0; }
.at-visitband dd a { display: block; direction: ltr; text-align: start; }
.at-visitband__act { display: flex; flex-wrap: wrap; gap: 12px; }

/* اینستاگرام */
.at-insta__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.at-insta__head .at-head { margin: 0; }

/* ---------- ۷. صفحه‌های داخلی ---------- */
/* سرتیتر صفحه‌ها: تیره، با حلقه‌ی طلایی و نور ملایم */
.at-page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--noir); color: var(--on-noir); padding: calc(var(--header-h) + clamp(48px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px); }
.at-page-hero::before { content: ""; position: absolute; z-index: -1; top: 50%; left: 8%; width: min(90vw, 620px); aspect-ratio: 1; border-radius: 50%; transform: translateY(-50%); border: 1px solid rgba(217, 181, 103, .16); box-shadow: inset 0 0 120px rgba(217, 181, 103, .05); pointer-events: none; }
.at-page-hero::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 85% 0%, rgba(13, 107, 84, .28), transparent 70%), radial-gradient(50% 60% at 10% 100%, rgba(217, 181, 103, .12), transparent 70%); }
.at-page-hero h1 { margin-top: 18px; font-size: var(--fs-h1); font-weight: 400; line-height: 1.3; max-width: 22ch; text-wrap: balance; }
.at-page-hero h1 .hl { color: inherit; font-weight: 800; background: var(--gold-grad); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: at-shine 7s linear infinite; }
.at-page-hero .at-kicker { margin-top: 26px; }
.at-page-hero__lead { margin-top: 16px; max-width: 58ch; color: var(--on-noir-2); font-size: clamp(1rem, .95rem + .3vw, 1.15rem); }
.at-page-hero__actions { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.at-page-hero .btn--outline { color: var(--on-noir); border-color: rgba(247, 240, 229, .32); }
.at-page-hero .btn--outline:hover { color: var(--gold-hi); border-color: var(--gold); }
.at-page-hero .btn--primary { background: var(--gold-grad); color: #1D1406; }

/* صفحه‌ی خدمت: سرتیتر دوستونه با تصویر */
.at-svc-hero { display: grid; gap: 40px; align-items: center; }
.at-svc-hero .at-facts { margin-top: 28px; max-width: 520px; }
.at-svc-hero__media { justify-self: center; width: min(100%, 440px); border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 60px 120px -70px rgba(217, 181, 103, .45); }
.at-svc-hero__media > * { width: 100%; border-radius: 0; }

/* کارت خدمت (فهرست خدمات و خدمات دیگر): همان کارت عکس‌دار صفحه‌ی اول */
.at-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.at-svc { position: relative; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: var(--noir-3); color: #fff; isolation: isolate; box-shadow: 0 30px 60px -40px rgba(22, 19, 15, .6); }
.at-svc__media { position: absolute; inset: 0; z-index: -2; }
.at-svc__media > * { width: 100%; height: 100%; aspect-ratio: auto !important; object-fit: cover; border-radius: 0; border: 0; transition: transform 1.4s var(--ease); }
.at-svc__media > .ph { justify-content: flex-start; padding-top: 74px; }
.at-svc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(7, 7, 7, .93) 0%, rgba(7, 7, 7, .6) 40%, rgba(7, 7, 7, 0) 68%); }
.at-svc__icon { position: absolute; top: 16px; left: 16px; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255, 241, 201, .32); background: rgba(7, 7, 7, .38); color: var(--gold-hi); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.at-svc__icon .i { width: 20px; height: 20px; }
[dir="ltr"] .at-svc__icon { left: auto; right: 16px; }
.at-svc__body { position: absolute; inset: auto 0 0 0; padding: 24px; display: grid; gap: 6px; }
.at-svc h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; line-height: 1.35; }
.at-svc h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.at-svc p { font-size: .88rem; color: rgba(255, 255, 255, .82); line-height: 1.85; }
.at-svc .link-arrow { color: var(--gold); margin-top: 4px; }
.at-svc:hover .at-svc__media > * { transform: scale(1.06); }

/* چیدمان محتوا + ستون کناری */
.at-layout { display: grid; gap: 40px; align-items: start; }
.at-aside { display: grid; gap: 18px; }
.at-block { margin-bottom: clamp(40px, 5vw, 64px); }
.at-block > h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); font-weight: 400; line-height: 1.4; margin-bottom: 18px; }
.at-prose { color: var(--at-ink-2); font-size: 1.02rem; line-height: 2.1; }
.at-prose > * + * { margin-top: 1em; }
.at-prose h2, .at-prose h3 { color: var(--at-ink); font-weight: 700; line-height: 1.5; }
.at-prose h2 { font-size: 1.45rem; margin-top: 1.6em; }
.at-prose h3 { font-size: 1.18rem; margin-top: 1.4em; }
.at-prose a { color: var(--jewel); text-decoration: underline; text-underline-offset: 4px; }
.at-prose ul, .at-prose ol { padding-inline-start: 1.4em; }
.at-prose ul { list-style: disc; }
.at-prose ol { list-style: decimal; }
.at-prose img { border-radius: var(--r-lg); }
.at-checks { display: grid; gap: 12px; }
.at-checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--at-ink-2); }
.at-checks .i { flex: none; width: 22px; height: 22px; margin-top: 4px; padding: 4px; border-radius: 50%; background: var(--jewel); color: #fff; stroke-width: 2.4; }
.at-deliver { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 1px; background: var(--hair-light); border: 1px solid var(--hair-light); border-radius: 24px; overflow: hidden; }
.at-deliver li { display: grid; gap: 10px; align-content: start; padding: 26px 22px; background: var(--paper); }
.at-deliver .i { width: 30px; height: 30px; color: var(--gold-ink); }
.at-deliver h3 { font-size: 1.05rem; font-weight: 700; }
.at-deliver p { font-size: .9rem; color: var(--at-ink-2); }
.at-timeline { display: grid; counter-reset: tl; }
.at-timeline li { position: relative; padding-inline-start: 58px; padding-bottom: 26px; }
.at-timeline li::before { counter-increment: tl; content: counter(tl, persian); position: absolute; inset-inline-start: 0; top: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--noir); color: var(--gold); font-weight: 700; }
.lang-en .at-timeline li::before, .lang-ar .at-timeline li::before { content: counter(tl); }
.at-timeline li::after { content: ""; position: absolute; inset-inline-start: 19.5px; top: 46px; bottom: 6px; width: 1px; background: var(--hair-light); }
.at-timeline li:last-child::after { display: none; }
.at-timeline h3 { font-size: 1.05rem; font-weight: 700; line-height: 2.4; }
.at-timeline p { color: var(--at-ink-2); }

/* کارت‌های قبل و بعد (Site/_CaseCard؛ گالری، صفحه‌ی خدمت و «نمونه‌ی بعدی») */
.at-cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 20px; }
.at-case { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 26px; overflow: hidden; background: var(--paper); border: 1px solid var(--hair-light); box-shadow: 0 30px 60px -48px rgba(22, 19, 15, .45); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.at-case:hover { transform: translateY(-4px); box-shadow: 0 40px 70px -40px rgba(22, 19, 15, .5); }
.at-case__media { position: relative; display: grid; grid-template-columns: 1fr; gap: 2px; aspect-ratio: 8 / 5; overflow: hidden; background: var(--gold-grad); }
.at-case__media.is-pair { grid-template-columns: 1fr 1fr; }
.at-case__shot { position: relative; overflow: hidden; background: var(--noir-3); }
.at-case__shot > .ph-img, .at-case__shot > .ph { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto !important; object-fit: cover; border: 0; border-radius: 0; transition: transform 1.2s var(--ease); }
.at-case:hover .at-case__shot > .ph-img { transform: scale(1.05); }
/* نمونه‌ی بدون عکس: کارت متنی تیره، بدون هیچ کادر یا نشان جایگزین */
.at-case.at-case--text { grid-template-rows: 1fr; background: radial-gradient(130% 90% at 100% 0%, rgba(217, 181, 103, .17) 0%, transparent 55%), linear-gradient(165deg, #1C1914 0%, var(--noir-2) 72%); border-color: var(--hair-dark); color: var(--on-noir); }
.at-case.at-case--text::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--gold-grad); opacity: .75; }
.at-case.at-case--text .at-case__body { display: flex; flex-direction: column; gap: 12px; min-height: 250px; padding: 28px 26px 26px; }
.at-case.at-case--text h3 { font-size: 1.32rem; font-weight: 500; color: var(--on-noir); }
.at-case.at-case--text p { color: var(--on-noir-2); -webkit-line-clamp: 3; }
.at-case.at-case--text .at-case__meta span { border-color: rgba(217, 181, 103, .38); color: var(--gold); }
.at-case.at-case--text .at-case__meta span.is-time { border-color: rgba(247, 240, 229, .16); color: var(--on-noir-3); }
.at-case.at-case--text .at-case__more { margin-top: auto; color: var(--gold); }
/* نمونه‌ای که همین حالا دیده می‌شود */
.at-case.is-current { box-shadow: 0 0 0 2px var(--gold), 0 30px 60px -48px rgba(22, 19, 15, .45); }
.at-case.is-current:hover { transform: none; }
.at-case.is-current .at-case__meta span.is-now { border-color: transparent; background: var(--gold-grad); color: #1D1406; font-weight: 700; }
.at-case__lbl { position: absolute; z-index: 2; bottom: 12px; right: 12px; padding: 3px 12px; border-radius: 999px; background: rgba(7, 7, 7, .62); color: #fff; font-size: .75rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.at-case__lbl--after { right: auto; left: 12px; background: var(--gold-grad); color: #1D1406; font-weight: 700; }
.at-case__knob { position: absolute; z-index: 3; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-grad); color: #1D1406; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18), 0 10px 24px rgba(7, 7, 7, .35); transition: transform .5s var(--ease); }
.at-case:hover .at-case__knob { transform: scale(1.08); }
.at-case__knob .i { width: 18px; height: 18px; }
.at-case__body { display: grid; gap: 8px; align-content: start; padding: 20px 22px 24px; }
.at-case__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.at-case__meta span { display: inline-flex; align-items: center; gap: 5px; padding: 2px 11px; border-radius: 999px; border: 1px solid rgba(122, 90, 30, .3); color: var(--gold-ink); font-size: .74rem; font-weight: 500; }
.at-case__meta span.is-time { border-color: var(--hair-light); color: var(--at-ink-3); }
.at-case__meta .i { width: 13px; height: 13px; }
.at-case h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.6; }
.at-case h3 a::after { content: ""; position: absolute; inset: 0; z-index: 4; }
.at-case p { font-size: .88rem; color: var(--at-ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.at-case__more { margin-top: 2px; }
/* صفحه‌ی نمونه بدون مقایسه (فقط یک عکس) */
.at-single { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 50px 90px -60px rgba(22, 19, 15, .55); }
.at-single > .ph-img, .at-single > .ph { display: block; width: 100%; height: auto; border: 0; border-radius: 0; }
.at-single > .at-ba__tag { top: 16px; right: 16px; }
.at-single > .at-ba__tag--after { right: auto; left: 16px; }
/* صفحه‌ی نمونه‌ای که نه عکس دارد نه شرح: ستون کناری به‌صورت ردیف کارت‌ها، بدون جای خالی */
.at-solo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 20px; align-items: start; }
.at-solo > .at-aside { display: contents; }
.at-solo .at-note { align-self: center; margin: 0; }

/* «نمونه‌های دیگر» (Site/_CaseExplorer): زبانه‌ی موضوع، نمونه‌های همان درمان و کارت موضوع */
.at-explore__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 40px; margin-bottom: 30px; }
.at-explore__intro { display: grid; gap: 14px; justify-items: start; max-width: 640px; }
.at-explore__intro h2 { font-size: var(--fs-h2); font-weight: 400; line-height: 1.3; text-wrap: balance; }
.at-explore__intro > p:last-child { color: var(--at-ink-2); }
.at-explore__next { display: flex; align-items: center; gap: 18px; max-width: 100%; min-height: 66px; padding: 10px; padding-inline-start: 24px; border-radius: 999px; background: var(--paper); border: 1px solid var(--hair-light); box-shadow: 0 24px 50px -40px rgba(22, 19, 15, .5); transition: border-color .3s, box-shadow .4s var(--ease); }
.at-explore__next:hover { border-color: rgba(122, 90, 30, .4); box-shadow: 0 30px 60px -38px rgba(22, 19, 15, .55); }
.at-explore__next-text { display: grid; min-width: 0; line-height: 1.6; }
.at-explore__next-text small { color: var(--at-ink-3); font-size: .78rem; }
.at-explore__next-text strong { font-weight: 700; font-size: .98rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at-explore__next-go { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--at-ink); color: var(--gold); transition: transform .4s var(--ease); }
.at-explore__next:hover .at-explore__next-go { transform: translateX(-4px); }
[dir="ltr"] .at-explore__next:hover .at-explore__next-go { transform: translateX(4px); }
.at-explore__next-go .i { width: 20px; height: 20px; }
.at-topics { display: flex; gap: 8px; margin: 0 0 26px; padding: 2px 2px 4px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.at-topics::-webkit-scrollbar { display: none; }
.at-topics__tab { flex: none; display: inline-flex; align-items: center; gap: 9px; scroll-snap-align: start; }
.at-topics__tab:hover { border-color: rgba(122, 90, 30, .4); }
.at-filter[aria-selected="true"] { background: var(--at-ink); color: var(--ivory); border-color: var(--at-ink); }
.at-filter[aria-selected="true"] .at-filter__count { background: var(--gold-grad); color: #1D1406; font-weight: 700; }
.at-filter:focus-visible, .at-explore__next:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }
.at-explore__panel:focus-visible { outline: 2px dashed var(--gold-deep); outline-offset: 8px; border-radius: 26px; }
.at-explore__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 20px; }
/* کارت‌های زبانه‌ها با انیمیشن خود زبانه ظاهر می‌شوند، نه نمایش تدریجی هنگام اسکرول (که کارت‌های افقیِ بیرون از دید را پنهان نگه می‌داشت) */
.reveal-ready .at-explore [data-reveal] { opacity: 1; transform: none; }
/* فقط هنگام تعویض زبانه (artan.js کلاس is-entering را می‌گذارد)؛ بار اول صفحه کارت‌ها بی‌انیمیشن و همیشه پیدا هستند */
.at-explore__panel.is-entering .at-explore__list > * { animation: at-fade-up .6s var(--ease) backwards; }
.at-explore__panel.is-entering .at-explore__list > :nth-child(2) { animation-delay: .07s; }
.at-explore__panel.is-entering .at-explore__list > :nth-child(3) { animation-delay: .14s; }
.at-explore__panel.is-entering .at-explore__list > :nth-child(n+4) { animation-delay: .2s; }
@keyframes at-fade-up { from { opacity: 0; transform: translateY(14px); } }
.at-topic { display: flex; flex-direction: column; gap: 12px; min-height: 250px; padding: 28px 26px 26px; border-radius: 26px; background: linear-gradient(180deg, var(--paper) 0%, var(--ivory) 100%); border: 1px solid rgba(122, 90, 30, .22); }
.at-topic__n { color: var(--gold-ink); font-size: .82rem; font-weight: 500; }
.at-topic h3 { font-size: 1.5rem; font-weight: 500; line-height: 1.45; }
.at-topic p:not(.at-topic__n) { color: var(--at-ink-2); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.at-topic__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding-top: 6px; }
@media (max-width: 719px) {
    .at-explore__next { width: 100%; }
    .at-topics, .at-explore__list { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
    .at-explore__list { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
    .at-explore__list::-webkit-scrollbar { display: none; }
    .at-explore__list > * { flex: 0 0 min(84%, 340px); scroll-snap-align: start; }
    .at-topic, .at-case--text .at-case__body { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .at-explore__panel.is-entering .at-explore__list > * { animation: none; }
}

/* تیم */
.at-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 22px; }
.at-member { display: grid; gap: 18px; align-content: start; }
.at-member__photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; background: var(--ivory-2); }
.at-member__photo > * { width: 100%; height: 100%; aspect-ratio: auto !important; object-fit: cover; border-radius: 0; }
.at-member__body { display: grid; gap: 8px; justify-items: start; }
.at-member h3 { font-size: 1.35rem; font-weight: 500; }
.at-member__role { color: var(--jewel); font-weight: 700; font-size: .92rem; }
.at-member__bio { color: var(--at-ink-2); }
.at-member__points { display: grid; gap: 8px; margin-top: 4px; }
.at-member__points li { display: flex; gap: 10px; font-size: .9rem; color: var(--at-ink-2); }
.at-member__points .i { flex: none; width: 18px; height: 18px; margin-top: 5px; color: var(--gold-ink); }
.at-team--detail { grid-template-columns: 1fr; gap: clamp(48px, 7vw, 96px); }
.at-team--detail .at-member { gap: 28px; }
.at-team--detail .at-member__photo { width: min(100%, 440px); }
.at-team--detail .at-member h3 { font-size: clamp(30px, 6vw, 52px); font-weight: 400; }

/* نظرها */
.at-reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 18px; }
.at-review { position: relative; display: grid; gap: 18px; align-content: space-between; padding: 28px 26px; border-radius: 26px; background: var(--paper); border: 1px solid var(--hair-light); }
.at-review .i--quote { width: 34px; height: 34px; color: var(--gold); }
.at-review blockquote { margin: 0; color: var(--at-ink-2); line-height: 2; }
.at-review footer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.at-review footer strong { display: block; font-weight: 700; }
.at-review footer span span { display: block; font-size: .8rem; color: var(--at-ink-3); }
.at-review__avatar { width: 46px; height: 46px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: var(--noir); color: var(--gold); font-weight: 700; }
.at-stars { display: inline-flex; gap: 2px; margin-inline-start: auto; color: var(--gold); }
.at-stars .i { width: 15px; height: 15px; fill: currentColor; }

/* مراجعه (صفحه‌ی تماس و درباره) */
.at-visit { display: grid; gap: 0; border-radius: var(--r-xl); overflow: hidden; background: var(--noir); color: var(--on-noir); }
.at-visit__map { padding: clamp(14px, 2vw, 22px); align-self: center; }
.at-visit__info { display: grid; gap: 18px; align-content: center; justify-items: start; padding: clamp(26px, 4vw, 48px); }
.at-visit__info .at-kicker { color: var(--gold); }
.at-visit__info h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); font-weight: 400; line-height: 1.35; }
.at-visit__list { display: grid; gap: 16px; }
.at-visit__list li { display: flex; gap: 12px; align-items: flex-start; }
.at-visit__list .i { flex: none; width: 20px; height: 20px; margin-top: 4px; color: var(--gold); }
.at-visit__list small { display: block; font-size: .78rem; color: var(--on-noir-3); }
.at-visit__list span, .at-visit__list a { color: var(--on-noir); }
.at-visit__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.at-visit .btn--primary { background: var(--gold-grad); color: #1D1406; }
.at-visit .btn--outline { color: var(--on-noir); border-color: rgba(247, 240, 229, .32); }
.at-aside .at-visit__list .i { color: var(--gold-ink); }
.at-aside .at-visit__list span, .at-aside .at-visit__list a { color: var(--at-ink-2); }

/* دعوت پایانی به مشاوره */
.at-cta { position: relative; overflow: hidden; isolation: isolate; display: grid; gap: 28px; align-items: center; padding: clamp(30px, 5vw, 64px); border-radius: 32px; color: var(--on-noir); background: radial-gradient(120% 120% at 90% 0%, var(--jewel) 0%, var(--jewel-deep) 52%, #020403 100%); }
.at-cta::before { content: ""; position: absolute; z-index: -1; top: -40%; left: -10%; width: 520px; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255, 241, 201, .18); pointer-events: none; }
.at-cta .at-kicker { color: var(--gold); }
.at-cta h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem); font-weight: 400; line-height: 1.4; }
.at-cta p { margin-top: 12px; color: var(--on-noir-2); max-width: 60ch; }
.at-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.at-cta .btn--outline { color: var(--on-noir); border-color: rgba(247, 240, 229, .32); }

/* فرم مشاوره و تماس */
.at-consult { display: grid; gap: 40px; align-items: start; }
.at-steps-mini { display: grid; gap: 16px; margin-top: 26px; }
.at-steps-mini li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; color: var(--at-ink-2); }
.at-steps-mini b { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(122, 90, 30, .35); color: var(--gold-ink); font-weight: 700; }
.at-hero__phone { display: flex; gap: 12px; align-items: center; margin-top: 26px; padding: 18px 20px; border-radius: 22px; background: var(--noir); color: var(--on-noir-3); font-size: .85rem; }
.at-hero__phone .i { flex: none; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--gold-grad); color: #1D1406; }
.at-hero__phone a { font-size: 1.35rem; color: var(--gold-hi); }
.at-form { padding: clamp(22px, 4.5vw, 40px); border-radius: var(--r-xl); border: 1px solid var(--hair-light); background: var(--paper); box-shadow: 0 60px 100px -70px rgba(22, 19, 15, .45); }
.at-form__grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
.field > label, .field > .label { font-weight: 500; font-size: .9rem; color: var(--at-ink); }
.field .req { color: #A1262E; }
.input { border-radius: 16px; border: 1px solid var(--hair-light); background: #FCFAF6; min-height: 54px; }
.input:hover { border-color: var(--line-2); }
.input:focus { border-color: var(--jewel); background: #fff; box-shadow: 0 0 0 4px rgba(13, 107, 84, .14); }
.field-error, .validation-summary-errors { color: #A1262E; }
.at-drop { position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 16px; border-radius: 20px; border: 1.5px dashed rgba(122, 90, 30, .45); background: var(--ivory); text-align: center; cursor: pointer; transition: background-color .3s, border-color .3s; }
.at-drop:hover, .at-drop.is-over { background: var(--ivory-2); border-color: var(--gold-ink); }
.at-drop .i { width: 30px; height: 30px; color: var(--gold-ink); }
.at-drop strong { font-weight: 700; }
.at-drop small { font-size: .8rem; color: var(--at-ink-3); }
.at-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.at-thumbs { display: flex; flex-wrap: wrap; gap: 8px; }
.at-thumbs:empty { display: none; }
.at-thumbs figure { margin: 0; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; }
.at-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.at-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--at-ink-2); font-weight: 400 !important; }
.at-consent input { flex: none; width: 20px; height: 20px; margin-top: 5px; accent-color: var(--jewel); }
.at-form__foot { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.at-form__foot .btn { background: var(--gold-grad); color: #1D1406; }
.at-form__privacy { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--at-ink-3); }
.at-form__privacy .i { width: 16px; height: 16px; color: var(--gold-ink); }
.at-success { display: grid; justify-items: center; gap: 14px; padding: 28px 8px; text-align: center; }
.at-success__icon { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-grad); color: #1D1406; box-shadow: 0 0 0 12px rgba(217, 181, 103, .14); }
.at-success__icon .i { width: 34px; height: 34px; }
.at-success h2 { font-size: 1.6rem; font-weight: 400; }
.at-success p { color: var(--at-ink-2); max-width: 46ch; }
.at-success .at-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

/* پرسش‌ها: ستون عنوان + فهرست */
.at-faq { display: grid; gap: 32px; align-items: start; }
.at-faq__aside .link-arrow { margin-top: 4px; }

/* درباره‌ی ما: داستان با تصویر */
.at-why { display: grid; gap: 40px; align-items: center; }
.at-why__media { position: relative; justify-self: center; width: min(100%, 460px); }
.at-arch { border-radius: var(--r-xl); overflow: hidden; }
.at-arch > * { width: 100%; border-radius: 0; }
.at-why__badge { position: absolute; bottom: 18px; inset-inline-start: 18px; display: grid; gap: 2px; padding: 14px 18px; border-radius: 18px; background: rgba(7, 7, 7, .78); color: var(--on-noir); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--hair-dark); }
.at-why__badge strong { color: var(--gold-hi); font-weight: 700; }
.at-why__badge span { font-size: .78rem; color: var(--on-noir-2); }
.at-slats, .at-why__slats, .at-hero__slats { display: none; }
.at-feats { display: grid; gap: 18px; }
.at-feat { display: flex; gap: 14px; align-items: flex-start; }
.at-feat__icon { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(122, 90, 30, .3); color: var(--gold-ink); }
.at-feat__icon .i { width: 20px; height: 20px; }
.at-feat h3 { font-size: 1.02rem; font-weight: 700; }
.at-feat p { color: var(--at-ink-2); font-size: .9rem; }
.at-trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.at-trust__item { display: flex; gap: 12px; align-items: flex-start; }
.at-trust__icon .i { width: 26px; height: 26px; color: var(--gold-ink); }
.at-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px; background: var(--hair-dark); border: 1px solid var(--hair-dark); border-radius: 26px; overflow: hidden; }
.at-step { display: grid; gap: 10px; align-content: start; padding: 26px 22px; background: var(--noir-2); }
.at-step__num { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--gold-grad); color: #1D1406; font-weight: 700; }
.at-step h3 { font-size: 1.05rem; font-weight: 500; }
.at-step p { color: var(--on-noir-2); font-size: .9rem; }
.at-quote { display: flex; gap: 14px; margin-top: 32px; color: var(--on-noir-2); }
.at-quote .i { flex: none; color: var(--gold); }

/* ۴۰۴ */
.at-404 { min-height: 80svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; background: var(--noir); color: var(--on-noir); }
.at-404__mark { font-size: clamp(96px, 26vw, 220px); font-weight: 400; line-height: 1; background: var(--gold-grad); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: at-shine 7s linear infinite; }
.at-404 h1 { font-size: var(--fs-h2); font-weight: 400; margin-top: 10px; }
.at-404 p { color: var(--on-noir-2); margin-top: 12px; }
.at-404__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }

/* صفحه‌های مشترک (بلاگ، صفحه‌های محتوایی) زیر سرصفحه‌ی ثابت */
main:not(.is-home) > :first-child:not(.at-page-hero):not(.at-404):not([class*="hero"]) { padding-top: calc(var(--header-h) + 32px); }

/* ---------- مجله (بلاگ) ---------- */
.at-page-hero .crumbs { margin-bottom: 4px; }
.at-search { display: flex; align-items: center; gap: 6px; max-width: 560px; margin-top: 28px; padding: 6px; padding-inline-start: 16px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--hair-dark); }
.at-search .i { flex: none; width: 20px; height: 20px; color: var(--gold); }
.at-search input { flex: 1; min-width: 0; height: 44px; border: 0; outline: none; background: transparent; color: var(--on-noir); font: inherit; }
.at-search input::placeholder { color: var(--on-noir-3); }
a.at-filter { display: inline-flex; align-items: center; gap: 8px; }
.at-filter[aria-current] { background: var(--at-ink); color: var(--ivory); border-color: var(--at-ink); }
.at-filter__count { padding: 0 7px; border-radius: 999px; background: var(--ivory-2); font-size: .72rem; }
.at-filter[aria-current] .at-filter__count { background: rgba(255, 255, 255, .14); }
.at-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 22px; }
.at-post { position: relative; display: grid; grid-template-rows: auto 1fr; border-radius: 26px; overflow: hidden; background: var(--paper); border: 1px solid var(--hair-light); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.at-post:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.at-post__media { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--ivory-2); }
.at-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.at-post:hover .at-post__media img { transform: scale(1.05); }
.at-post__cat { position: absolute; top: 14px; right: 14px; padding: 3px 12px; border-radius: 999px; background: var(--gold-grad); color: #1D1406; font-size: .75rem; font-weight: 700; }
[dir="ltr"] .at-post__cat { right: auto; left: 14px; }
.at-post__body { display: grid; gap: 8px; align-content: start; padding: 20px 22px 24px; }
.at-post__date { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--at-ink-3); }
.at-post__date .i { width: 15px; height: 15px; color: var(--gold-ink); }
.at-post h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.7; }
.at-post h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.at-post p { font-size: .9rem; color: var(--at-ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.at-post .link-arrow { margin-top: 4px; }
@media (min-width: 900px) {
    .at-post--featured { grid-column: 1 / -1; grid-template-columns: 1.2fr 1fr; grid-template-rows: none; }
    .at-post--featured .at-post__media { aspect-ratio: auto; min-height: 380px; }
    .at-post--featured .at-post__body { align-content: center; gap: 14px; padding: clamp(28px, 4vw, 52px); }
    .at-post--featured h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem); font-weight: 400; line-height: 1.5; }
    .at-post--featured p { -webkit-line-clamp: 4; font-size: 1rem; }
}
.at-empty { display: grid; justify-items: center; gap: 8px; padding: 56px 20px; text-align: center; border-radius: 26px; background: var(--paper); border: 1px dashed rgba(122, 90, 30, .35); }
.at-empty .i { width: 40px; height: 40px; color: var(--gold-ink); }
.at-empty h2 { font-size: 1.3rem; font-weight: 500; }
.at-empty p { color: var(--at-ink-2); }
.pager [aria-current] { background: var(--at-ink); border-color: var(--at-ink); color: var(--ivory); }

/* صفحه‌ی مقاله (نمای پایه با رنگ‌های آرتان) */
.page-hero.dark-surface { background: var(--noir); color: var(--on-noir); }
.page-hero.dark-surface::before { content: ""; position: absolute; z-index: -1; top: 50%; left: 6%; width: min(90vw, 620px); aspect-ratio: 1; border-radius: 50%; transform: translateY(-50%); border: 1px solid rgba(217, 181, 103, .16); box-shadow: inset 0 0 120px rgba(217, 181, 103, .05); pointer-events: none; }
.page-hero.dark-surface::after { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(60% 80% at 85% 0%, rgba(13, 107, 84, .28), transparent 70%), radial-gradient(50% 60% at 10% 100%, rgba(217, 181, 103, .12), transparent 70%); }
.page-hero h1 { font-weight: 400; line-height: 1.4; }
.article-cats a { background: rgba(217, 181, 103, .14); color: var(--gold-hi); }
.article-cats a:hover { background: rgba(217, 181, 103, .24); }
.article-meta .i { color: var(--gold); }
.author-box { background: var(--ivory-2); }
.avatar { background: var(--noir); color: var(--gold); }
.comment, .form-card { background: var(--paper); border-color: var(--hair-light); }
.sec-head h2 { font-weight: 400; }

/* ---------- پیش‌بارگذار «قلم طلا» (فقط اولین صفحه‌ی هر بازدید؛ کلاس at-pl از اسکریپت سر صفحه) ----------
   هر ضربه‌ی لوگو با ماسکی که خط مرکزی‌اش کشیده می‌شود ظاهر می‌شود: هلال ← پای چپ ← پای راست ← خط خمیده
   ← پایه؛ بعد هاله‌ی گرم، برق طلا و نام کلینیک. artan.js خروج (رفتن لوگو به سرصفحه) را انجام می‌دهد؛ اگر
   اجرا نشود، پس از ۶ ثانیه همین CSS پیش‌بارگذار را کنار می‌زند و اسکرول را آزاد می‌کند. */
.at-preloader { display: none; }
html.at-pl { overflow: hidden; animation: at-pl-unlock 0s 6s forwards; }
@keyframes at-pl-unlock { to { overflow: visible; } }
.at-pl .at-preloader {
    position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; color: var(--on-noir);
    background: radial-gradient(60% 50% at 50% 46%, #15110B 0%, var(--noir) 72%) var(--noir);
    animation: at-pl-failsafe .5s 6s forwards;
}
@keyframes at-pl-failsafe { to { opacity: 0; visibility: hidden; } }
.at-preloader.is-out { transition: clip-path .9s cubic-bezier(.7, 0, .2, 1); }
.at-preloader__in { display: grid; justify-items: center; gap: 14px; }
.at-preloader__logo { width: clamp(120px, 30vw, 180px); height: auto; overflow: visible; transform-origin: 0 0; }
.at-preloader.is-out .at-preloader__logo { transition: transform .9s cubic-bezier(.7, 0, .2, 1); }
.at-preloader__mk { fill: none; stroke: #fff; stroke-linecap: round; stroke-dasharray: 1 2; stroke-dashoffset: 1.01; animation: at-pl-draw var(--d) var(--s) cubic-bezier(.65, 0, .35, 1) forwards; }
.at-preloader__mk--c { stroke-width: 12; --s: .15s; --d: 1s; }
.at-preloader__mk--l { stroke-width: 7; --s: 1s; --d: .3s; }
.at-preloader__mk--r { stroke-width: 11; --s: 1.2s; --d: .4s; }
.at-preloader__mk--s { stroke-width: 12; --s: 1.45s; --d: .5s; }
.at-preloader__mk--f { stroke-width: 5; --s: 1.85s; --d: .17s; }
@keyframes at-pl-draw { to { stroke-dashoffset: 0; } }
.at-preloader__glow { opacity: 0; animation: at-pl-glow 1s 1.9s ease forwards; }
@keyframes at-pl-glow { to { opacity: .85; } }
.at-preloader__shine { transform: translateX(-40px) skewX(-18deg); animation: at-pl-shine 1.1s 2s cubic-bezier(.4, 0, .2, 1) forwards; }
@keyframes at-pl-shine { to { transform: translateX(130px) skewX(-18deg); } }
.at-preloader__pen { opacity: 0; transition: opacity .25s; }
.at-preloader__name { display: grid; justify-items: center; gap: 2px; margin: 0; opacity: 0; animation: at-pl-name .8s 2.05s cubic-bezier(.22, 1, .36, 1) forwards; }
@keyframes at-pl-name { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.at-preloader.is-out .at-preloader__name { opacity: 0 !important; transition: opacity .3s; animation: none; }
.at-preloader__name b { font-size: clamp(18px, 2.2vw, 24px); font-weight: 700; }
.at-preloader__name small { direction: ltr; font-size: 10px; letter-spacing: .42em; padding-left: .42em; color: var(--gold); }
@media (prefers-reduced-motion: reduce) {
    .at-preloader__mk, .at-preloader__glow, .at-preloader__name { animation-duration: .01s !important; animation-delay: 0s !important; }
    .at-preloader__shine { display: none; }
}

/* ---------- ۸. واکنش‌گرایی ---------- */
@media (min-width: 600px) {
    .at-cards { gap: 16px; }
    .at-card2 { aspect-ratio: 4 / 4.4; border-radius: 26px; }
    .at-card2:first-child { aspect-ratio: 16 / 8.5; }
    .at-card2__body, .at-card2:first-child .at-card2__body { padding: 24px; gap: 6px; }
    .at-card2 h3 { font-size: clamp(24px, 3.4vw, 32px); }
    .at-card2:first-child h3 { font-size: clamp(30px, 4.4vw, 42px); }
    .at-form__grid { grid-template-columns: 1fr 1fr; }
}

/* نقشه‌ی چهره: پرتره و توضیحات کنار هم از تبلت به بالا */
@media (min-width: 720px) {
    .at-face__stage { grid-template-columns: min(42%, 440px, max(280px, calc((100svh - 200px) / 1.5 + 22px))) minmax(0, 1fr); justify-items: stretch; align-items: center; gap: clamp(28px, 5vw, 88px); }
    .at-face__frame, .at-face__side { width: auto; }
    .at-face__side { max-width: 560px; }
    .at-face__aside { justify-items: start; }
    .at-zchips { justify-content: flex-start; }
    .at-visit { grid-template-columns: 1.1fr 1fr; }
}

@media (min-width: 1024px) {
    body { padding-bottom: 0; }
    .at-mobilebar { display: none; }
    .at-hero { min-height: min(100svh, 920px); display: flex; align-items: center; }
    .at-hero > .container { width: min(100% - 2 * var(--gutter), var(--container)); }
    .at-hero__media { inset: 0 auto 0 0; width: 58%; height: auto; -webkit-mask-image: linear-gradient(to right, #000 48%, transparent 98%); mask-image: linear-gradient(to right, #000 48%, transparent 98%); }
    .at-hero__veil { inset: 0; height: auto; background: linear-gradient(to left, var(--noir) 30%, rgba(7, 7, 7, .35) 62%, rgba(7, 7, 7, 0) 100%), linear-gradient(to top, var(--noir) 0%, rgba(7, 7, 7, 0) 26%); }
    [dir="ltr"] .at-hero__media { inset: 0 0 0 auto; -webkit-mask-image: linear-gradient(to left, #000 48%, transparent 98%); mask-image: linear-gradient(to left, #000 48%, transparent 98%); }
    [dir="ltr"] .at-hero__veil { background: linear-gradient(to right, var(--noir) 30%, rgba(7, 7, 7, .35) 62%, rgba(7, 7, 7, 0) 100%), linear-gradient(to top, var(--noir) 0%, rgba(7, 7, 7, 0) 26%); }
    .at-hero__in { padding-top: 120px; padding-bottom: 110px; }
    .at-hero__text { gap: 22px; }
    .at-hero h1 { font-size: clamp(60px, 5.8vw, 96px); line-height: 1.18; }
    .at-hero__cta { width: auto; }
    .at-hero__cta .btn { flex: 0 0 auto; }
    .at-hero__vert, .at-hero__scroll { display: flex; }

    .at-cards { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(240px, 31svh, 300px); gap: 18px; }
    .at-card2, .at-card2:first-child { aspect-ratio: auto; }
    .at-card2:first-child { grid-column: span 5; grid-row: span 2; }
    .at-card2:first-child h3 { font-size: clamp(36px, 3.4vw, 48px); }
    .at-card2:nth-child(2) { grid-column: span 4; }
    .at-card2:nth-child(3) { grid-column: span 3; }
    .at-card2:nth-child(4) { grid-column: span 3; }
    .at-card2:nth-child(5) { grid-column: span 4; }
    .at-card2:nth-child(n+6) { grid-column: span 4; }
    .at-card2:nth-child(3) p, .at-card2:nth-child(4) p { display: none; }

    .at-results__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: 1fr auto auto auto 1fr; grid-template-areas: ". frame" "head frame" "tabs frame" "more frame" ". frame"; column-gap: clamp(40px, 5vw, 80px); }
    .at-results .at-head { grid-area: head; }
    .at-results .at-head h2 { font-size: clamp(40px, 4.2vw, 62px); }
    .at-results .at-tabs { grid-area: tabs; margin-bottom: 0; }
    .at-results__more { grid-area: more; }
    .at-results .at-compare { grid-area: frame; align-self: center; width: min(100%, calc(72svh * 5 / 4)); aspect-ratio: 5 / 4; }

    .at-visitband__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 48px; }
    .at-doc__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 96px); align-items: center; }
    .at-doc__name { font-size: clamp(56px, 5.4vw, 88px); }

    .at-consult-home__in, .at-consult { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
    .at-consult > :first-child { position: sticky; top: calc(var(--header-h) + 30px); }

    .at-svc-hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 64px; }
    .at-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; }
    .at-aside { position: sticky; top: calc(var(--header-h) + 24px); }
    .at-faq { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; }
    .at-why { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; }
    .at-cta { grid-template-columns: 1fr auto; }
    .at-team--detail .at-member { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); align-items: center; gap: 64px; }
    .at-team--detail .at-member:nth-child(even) .at-member__photo { order: 2; }
}

@media (max-width: 1023.98px) {
    :root { --header-h: 70px; }
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
    .at-header .at-lang { display: none; }
    .drawer .at-lang { display: inline-flex; }
    .at-footer__grid { grid-template-columns: 1fr 1fr; }
    .at-footer__grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 599.98px) {
    .at-hero__meta { font-size: .78rem; }

    /* پاورقی موبایل: کوتاه و جمع‌وجور؛ معرفی و تماس تمام‌عرض، خدمات و دسترسی سریع کنار هم */
    .at-footer { padding-block: 44px 24px; }
    .at-footer__word { margin-bottom: 30px; }
    .at-footer__grid { grid-template-columns: 1fr 1fr; gap: 26px 18px; }
    .at-footer__grid > :first-child, .at-footer__grid > :last-child { grid-column: 1 / -1; }
    .at-footer__grid > :first-child { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 16px; }
    .at-footer__grid > :first-child .at-footer__about { grid-column: 1 / -1; grid-row: 2; margin-top: 0; font-size: .84rem; line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
    .at-footer__grid > :first-child .at-socials { grid-row: 1; grid-column: 2; margin-top: 0; }
    .at-socials a { width: 38px; height: 38px; }
    .at-footer h2 { margin-bottom: 8px; font-size: .88rem; color: var(--gold); }
    .at-footer__links { gap: 2px; font-size: .84rem; }
    .at-footer__links a { display: block; padding-block: 3px; }
    .at-footer__grid > :last-child { padding-top: 22px; border-top: 1px solid var(--hair-dark); }
    .at-footer__contact { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .84rem; }
    .at-footer__contact li { flex: 1 1 100%; }
    .at-footer__contact li:has(a[href^="tel:"]) { flex: 0 1 auto; }
    .at-footer__contact .i { width: 16px; height: 16px; margin-top: 4px; }
    .at-footer__license { margin-top: 14px; }
    .at-footer__license .ph { width: 58px; padding: 8px; border-radius: 12px; }
    .at-footer__license .ph__label { display: none; }
    .at-footer__bottom { margin-top: 26px; padding-top: 16px; flex-direction: column; align-items: center; text-align: center; gap: 8px; font-size: .76rem; }
    .at-footer__bottom nav { justify-content: center; gap: 14px; }
}

/* ---------- ۹. حرکت ---------- */
@media (prefers-reduced-motion: reduce) {
    .at-mq__track, .shine, .at-hero h1 .hl, .at-page-hero h1 .hl, .at-footer__word, .at-404__mark, .at-spot i { animation: none !important; }
    .intro .at-hero__text > * { animation: none !important; }
    .at-story { height: auto; }
    .at-story__pin { position: relative; height: auto; min-height: 70svh; padding-block: 96px; }
    .at-story__text .w { opacity: 1; }
}

@media print {
    .at-mobilebar, .at-mq, .at-hero__dust, .at-hero__glow { display: none !important; }
}
