/* ==========================================================================
   سایت عمومی — سیستم طراحی
   --------------------------------------------------------------------------
   روانشناسی رنگ (آژانس بازاریابی دیجیتال تخصصی حوزه‌ی سلامت):
   - سرمه‌ای عمیق  → اعتماد، تخصص و اقتدار حرفه‌ای (رنگ پایه‌ی برند و بخش‌های تیره)
   - فیروزه‌ای     → سلامت، آرامش، شفافیت و رشد (رنگ هویتی و تأکیدهای اصلی)
   - مرجانی گرم    → انرژی، خلاقیت و جنبه‌ی انسانی؛ فقط برای دکمه‌های اقدام اصلی،
                     تا چشم کاربر همیشه یک مسیر روشن داشته باشد (کم‌مصرف و هدفمند)
   - خاکستری‌آبی   → متن و سطوح؛ خنثی و خوانا، بدون رقابت با رنگ‌های اصلی
   قرمز عمداً استفاده نشده است: در فضای پزشکی تداعی خطر و اورژانس دارد.

   ساختار: توکن‌ها ← پایه ← اجزای مشترک ← پوسته (سرصفحه/پانویس) ← بخش‌ها ← صفحه‌ها
   ← واکنش‌گرایی ← حرکت. برای طراحی دوباره‌ی ویو، کافی است توکن‌ها و بخش‌ها عوض شوند.
   ========================================================================== */

/* ---------- قلم ایران‌یکان (ارقام فارسی، woff2 زیرمجموعه‌شده) ---------- */
@font-face { font-family: 'IRANYekan'; src: url('/lib/iranyekan/iranyekan-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANYekan'; src: url('/lib/iranyekan/iranyekan-medium.woff2') format('woff2'); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANYekan'; src: url('/lib/iranyekan/iranyekan-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'IRANYekan'; src: url('/lib/iranyekan/iranyekan-extrabold.woff2') format('woff2'); font-weight: 800 900; font-style: normal; font-display: swap; }

/* ---------- ۱. توکن‌ها ---------- */
:root {
    /* سرمه‌ای */
    --navy-950: #061427;
    --navy-900: #0A1F3A;
    --navy-800: #0F2A4D;
    --navy-700: #173B66;

    /* فیروزه‌ای */
    --teal-700: #09615F;
    --teal-600: #0B7F7D;   /* متن و دکمه روی زمینه‌ی روشن (کنتراست AA) */
    --teal-500: #12A39F;
    --teal-400: #3CCFC4;   /* تأکید روی زمینه‌ی تیره */
    --teal-300: #7BE3DA;
    --teal-100: #D5F3EF;
    --teal-50:  #EEFAF8;

    /* مرجانی (فقط اقدام اصلی) */
    --coral-600: #F4623F;
    --coral-500: #FF7A59;
    --coral-100: #FFE9E2;

    /* متن و سطوح */
    --ink:   #0E1A2B;
    --ink-2: #3E4E65;
    --ink-3: #5E6E86;
    --line:  #E4EAF2;
    --line-2:#CFD8E4;
    --bg:      #FFFFFF;
    --bg-soft: #F6F8FB;
    --bg-mint: #F1FAF8;

    /* روی زمینه‌ی تیره */
    --on-dark:   #FFFFFF;
    --on-dark-2: #B4C1D4;
    --on-dark-3: #8193AD;
    --glass:     rgba(255, 255, 255, .06);
    --glass-line:rgba(255, 255, 255, .12);

    --star: #F5B301;

    /* تایپوگرافی */
    --font: 'IRANYekan', Tahoma, 'Segoe UI', sans-serif;
    --fs-display: clamp(2.05rem, 1.25rem + 3.2vw, 3.55rem);
    --fs-h1: clamp(1.9rem, 1.3rem + 2.4vw, 3rem);
    --fs-h2: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem);
    --fs-h3: 1.2rem;
    --fs-lead: clamp(1.02rem, .96rem + .3vw, 1.16rem);

    /* فاصله و اندازه */
    --container: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --section-y: clamp(72px, 9vw, 128px);
    --header-h: 78px;

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

    --sh-1: 0 1px 2px rgba(10, 31, 58, .05), 0 2px 8px rgba(10, 31, 58, .04);
    --sh-2: 0 18px 40px -18px rgba(10, 31, 58, .22);
    --sh-3: 0 34px 70px -28px rgba(6, 20, 39, .45);

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

/* ---------- ۲. پایه ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.9;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.45; font-weight: 800; }
p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }

:focus-visible { outline: 3px solid var(--teal-400); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--teal-100); color: var(--navy-900); }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
    position: fixed; top: 12px; inset-inline-start: 12px; z-index: 200;
    background: var(--navy-900); color: #fff; padding: 10px 18px; border-radius: var(--r-sm);
    transform: translateY(-160%); transition: transform var(--t) var(--ease);
}
.skip-link:focus { transform: none; }

/* آیکن‌های sprite */
.i {
    width: 1.25em; height: 1.25em; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.8;
    stroke-linecap: round; stroke-linejoin: round;
}

.logo-mark { width: 42px; height: 42px; flex: none; }

/* ---------- ۳. چیدمان ---------- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--gutter), 860px); margin-inline: auto; }

.section { padding-block: var(--section-y); position: relative; }
.section--soft { background: var(--bg-soft); }
.section--mint { background: var(--bg-mint); }
.section--tight { padding-block: calc(var(--section-y) * .6); }
.section--flush-top { padding-top: 0; }

/* سرتیتر بخش */
.sec-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 64px); }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-head h2 { font-size: var(--fs-h2); margin-top: 16px; }
.sec-head p { margin-top: 16px; color: var(--ink-2); font-size: var(--fs-lead); }
.sec-head--split {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px;
    max-width: none; flex-wrap: wrap;
}
.sec-head--split > div { max-width: 680px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: .85rem; font-weight: 700; line-height: 1.6;
    color: var(--teal-600); background: var(--teal-50);
    border: 1px solid var(--teal-100);
    padding: .3rem .9rem; border-radius: 999px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.eyebrow--dark { color: var(--teal-300); background: rgba(60, 207, 196, .1); border-color: rgba(60, 207, 196, .22); }
.eyebrow--live::before { animation: ping 2.2s var(--ease) infinite; }

.hl { color: var(--teal-600); }
.hl-grad {
    background: linear-gradient(100deg, var(--teal-400), var(--teal-300) 55%, #CFFAF4);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.lead { font-size: var(--fs-lead); color: var(--ink-2); }

/* ---------- ۴. دکمه‌ها و پیوندها ---------- */
.btn {
    --btn-h: 54px;
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    height: var(--btn-h); padding-inline: 1.6rem; border-radius: 999px;
    border: 1.5px solid transparent; font-weight: 700; font-size: .98rem; line-height: 1;
    white-space: nowrap; cursor: pointer; position: relative; isolation: isolate;
    transition: background-color var(--t) var(--ease), color var(--t) var(--ease),
                border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.btn .i { width: 1.15em; height: 1.15em; transition: transform var(--t) var(--ease); }
.btn:hover .i--move { transform: translateX(-4px); }
.btn:active { transform: translateY(1px); }
.btn--sm { --btn-h: 44px; padding-inline: 1.2rem; font-size: .9rem; }
.btn--block { width: 100%; }

.btn--accent { background: var(--coral-500); color: var(--navy-900); box-shadow: 0 12px 28px -12px rgba(255, 122, 89, .7); }
.btn--accent:hover { background: var(--coral-600); box-shadow: 0 16px 34px -12px rgba(244, 98, 63, .75); }

.btn--primary { background: var(--navy-900); color: #fff; }
.btn--primary:hover { background: var(--navy-700); box-shadow: var(--sh-2); }

.btn--teal { background: var(--teal-600); color: #fff; }
.btn--teal:hover { background: var(--teal-700); }

.btn--ghost-light { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .02); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }

.btn--outline { color: var(--ink); border-color: var(--line-2); background: #fff; }
.btn--outline:hover { border-color: var(--teal-500); color: var(--teal-600); }

.link-arrow {
    display: inline-flex; align-items: center; gap: .45rem;
    font-weight: 700; font-size: .93rem; color: var(--teal-600);
}
.link-arrow .i { width: 1.1em; height: 1.1em; transition: transform var(--t) var(--ease); }
.link-arrow:hover .i, a:hover > .link-arrow .i, .has-link:hover .link-arrow .i { transform: translateX(-5px); }

/* کارت کامل قابل‌کلیک: پیوند عنوان کل کارت را می‌پوشاند */
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

.icon-btn {
    width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
    border: 1.5px solid var(--line-2); background: #fff; color: var(--ink);
    transition: all var(--t) var(--ease);
}
.icon-btn:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.icon-btn .i { width: 20px; height: 20px; }

.tag {
    display: inline-flex; align-items: center; font-size: .78rem; font-weight: 600; line-height: 1.8;
    color: var(--ink-2); background: var(--bg-soft); border: 1px solid var(--line);
    padding: 0 .75rem; border-radius: 999px;
}
.tag--teal { color: var(--teal-700); background: var(--teal-50); border-color: var(--teal-100); }
.tag--dark { color: var(--teal-300); background: rgba(60, 207, 196, .12); border-color: rgba(60, 207, 196, .25); }
a.tag--dark:hover { background: rgba(60, 207, 196, .22); }

/* ---------- ۵. جای‌نگهدار تصویر (مرحله‌ی طراحی) ---------- */
.ph {
    position: relative; width: 100%; overflow: hidden; border-radius: var(--r-lg);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
    text-align: center; padding: 16px;
    background:
        repeating-linear-gradient(135deg, transparent 0 14px, rgba(10, 31, 58, .025) 14px 28px),
        linear-gradient(135deg, #E9F1F8, #F4F8FB);
    color: var(--ink-3); border: 1px dashed var(--line-2);
}
.ph__size { font-weight: 800; font-size: clamp(.95rem, .8rem + .6vw, 1.35rem); color: var(--ink-2); }
.ph__label { font-size: .8rem; max-width: 90%; }
.ph--mint {
    background:
        repeating-linear-gradient(135deg, transparent 0 14px, rgba(11, 127, 125, .04) 14px 28px),
        linear-gradient(135deg, #DDF3EF, #EFF9F7);
    border-color: #BFE6DF; color: var(--teal-700);
}
.ph--mint .ph__size { color: var(--teal-700); }
.ph--dark {
    background:
        repeating-linear-gradient(135deg, transparent 0 14px, rgba(255, 255, 255, .03) 14px 28px),
        linear-gradient(145deg, #17365C, #0F2A4D);
    border-color: rgba(255, 255, 255, .16); color: var(--on-dark-3);
}
.ph--dark .ph__size { color: var(--on-dark-2); }

/* تصویر واقعی به‌جای جای‌نگهدار (همان ابعاد و گردی) */
.ph-img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--r-lg); background: var(--bg-soft); }

/* ---------- ۶. پیش‌بارگذار (فقط اولین ورود در هر بازدید) ---------- */
.preloader {
    position: fixed; inset: 0; z-index: 100; display: none; place-items: center;
    background: radial-gradient(circle at 50% 42%, #0F2A4D 0, var(--navy-950) 62%);
    transition: opacity .9s ease .15s, visibility .9s ease .15s;
}
.has-preloader .preloader { display: grid; animation: pl-safety .8s ease 5.2s forwards; }
/* خروج آرام: محتوا کمی بزرگ و محو می‌شود، سپس پس‌زمینه کنار می‌رود */
.preloader-done .preloader { opacity: 0; visibility: hidden; }
.preloader__inner { display: flex; flex-direction: column; align-items: center; gap: 16px; transition: opacity .7s var(--ease), transform .9s var(--ease), filter .7s ease; }
.preloader-done .preloader__inner { opacity: 0; transform: scale(1.06); filter: blur(2px); }
.preloader__name { color: #fff; font-weight: 800; font-size: 1.25rem; animation: pl-fade .8s .25s var(--ease) both; }

/* نوار پیشرفت: همزمان با ساخت صفحه‌ی نمادین (حدود ۱٫۷ ثانیه) پر می‌شود */
.preloader__bar { width: 160px; height: 4px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.preloader__bar span {
    display: block; height: 100%; border-radius: inherit; transform-origin: right center; transform: scaleX(0);
    background: linear-gradient(270deg, var(--teal-400), var(--coral-500));
    animation: pl-grow 1.7s cubic-bezier(.5, 0, .2, 1) forwards;
}

/*
   پنجره‌ی مرورگرِ در حال ساخت (Views/Shared/Site/_Preloader): هر بخش با تأخیر خودش ظاهر
   می‌شود تا ترتیب «طراحی ← محتوا ← کلیک» دیده شود. transform-box: fill-box لازم است تا
   بزرگ‌شدن هر شکل از گوشه‌ی خودش باشد، نه از مبدأ SVG.
*/
.pl-site { width: min(300px, 78vw); height: auto; overflow: visible; filter: drop-shadow(0 24px 48px rgba(0, 0, 0, .35)); }
.pl-site * { transform-box: fill-box; }
.pl-frame { fill: rgba(255, 255, 255, .04); stroke: rgba(255, 255, 255, .16); stroke-width: 1.2; transform-origin: center; animation: pl-frame .55s var(--ease) both; }
.pl-chrome { animation: pl-fade-in .35s .25s ease both; }
.pl-chrome line { stroke: rgba(255, 255, 255, .12); stroke-width: 1; }
.pl-dot { fill: rgba(255, 255, 255, .35); }
.pl-dot--teal { fill: var(--teal-400); }
.pl-dot--coral { fill: var(--coral-500); }
.pl-url { fill: rgba(255, 255, 255, .08); }
.pl-block { transform-origin: right center; }
.pl-logo { fill: var(--teal-400); animation: pl-type .35s .4s var(--ease) both; }
.pl-nav rect { fill: rgba(255, 255, 255, .3); }
.pl-nav { transform-origin: left center; animation: pl-type .4s .5s var(--ease) both; }
.pl-media { transform-origin: center; animation: pl-media .5s .5s var(--ease) both; }
.pl-sun { fill: var(--coral-500); }
.pl-hill { fill: rgba(255, 255, 255, .28); }
.pl-line { fill: rgba(255, 255, 255, .55); transform-origin: right center; transform: scaleX(0); animation: pl-type .32s var(--ease) forwards; }
.pl-line--title { fill: #fff; animation-delay: .7s; }
.pl-line--2 { animation-delay: .85s; }
.pl-line--3 { animation-delay: .95s; }
.pl-line--4 { animation-delay: 1.05s; }
.pl-caret { fill: var(--teal-300); opacity: 0; animation: pl-caret .9s 1.3s steps(1) infinite; }
.pl-btn { fill: var(--coral-500); transform-origin: center; animation: pl-pop-in .4s 1.15s var(--ease) both; }
.pl-card { fill: rgba(255, 255, 255, .07); stroke: rgba(123, 227, 218, .35); stroke-width: 1; transform-origin: center bottom; animation: pl-rise .45s var(--ease) both; }
.pl-card--1 { animation-delay: 1.1s; }
.pl-card--2 { animation-delay: 1.2s; }
.pl-card--3 { animation-delay: 1.3s; }
.pl-pointer { fill: #fff; stroke: var(--navy-950); stroke-width: .8; stroke-linejoin: round; opacity: 0; animation: pl-pointer .9s .85s var(--ease) forwards; }
.pl-ripple { fill: none; stroke: var(--coral-500); stroke-width: 2; transform-origin: center; opacity: 0; animation: pl-ripple .55s 1.58s ease-out forwards; }
.pl-shine { animation: pl-shine 1.8s 1.8s ease-in-out infinite; }

/* ---------- ۷. سرصفحه ---------- */
.site-header {
    position: fixed; inset-inline: 0; top: 0; z-index: 50; color: #fff;
    transition: background-color .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease);
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.site-header.is-scrolled {
    color: var(--ink);
    background: rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
    box-shadow: 0 1px 0 var(--line), 0 12px 32px -24px rgba(10, 31, 58, .4);
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; flex: none; }
.brand__logo { max-height: 46px; width: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.3; }
.brand__name { font-size: 1.3rem; }
.brand__tag { font-size: .72rem; font-weight: 500; opacity: .72; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
    display: inline-flex; align-items: center; gap: 6px; height: 44px; padding-inline: 14px;
    border-radius: 12px; font-weight: 600; font-size: .95rem; background: none; border: 0;
    opacity: .88; transition: opacity var(--t), background-color var(--t), color var(--t);
}
.nav__link:hover, .nav__link[aria-expanded="true"] { opacity: 1; background: rgba(255, 255, 255, .08); }
.is-scrolled .nav__link:hover, .is-scrolled .nav__link[aria-expanded="true"] { background: var(--bg-soft); }
.nav__link[aria-current="page"] { opacity: 1; }
.nav__link[aria-current="page"]::after {
    content: ""; position: absolute; bottom: 4px; inset-inline: 50%; width: 5px; height: 5px;
    border-radius: 50%; background: var(--teal-400); transform: translateX(50%);
}
.nav__link .i { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.nav__link[aria-expanded="true"] .i { transform: rotate(180deg); }

/* منوی بزرگ خدمات */
.mega {
    position: absolute; top: calc(100% + 14px); left: 50%;
    width: min(760px, 92vw); padding: 14px;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px;
    background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-lg);
    box-shadow: var(--sh-3);
    opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.mega::before { content: ""; position: absolute; inset-inline: 0; top: -16px; height: 16px; }
.nav__item.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
@media (hover: hover) and (pointer: fine) {
    .nav__item--menu:hover .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}
.mega__link { display: flex; gap: 14px; padding: 14px; border-radius: var(--r); transition: background-color var(--t); }
.mega__link:hover { background: var(--bg-mint); }
.mega__icon {
    flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
    background: var(--teal-50); color: var(--teal-600); transition: all var(--t) var(--ease);
}
.mega__link:hover .mega__icon { background: var(--teal-600); color: #fff; }
.mega__icon .i { width: 22px; height: 22px; }
.mega__title { display: block; font-weight: 700; font-size: .95rem; line-height: 1.6; }
.mega__desc { display: block; font-size: .8rem; color: var(--ink-3); line-height: 1.7; margin-top: 2px; }
.mega__foot {
    grid-column: 1 / -1; margin-top: 6px; padding: 14px 16px; border-radius: var(--r);
    background: var(--bg-soft); display: flex; align-items: center; justify-content: space-between; gap: 12px;
    font-size: .88rem; color: var(--ink-2);
}

.header-actions { display: flex; align-items: center; gap: 14px; flex: none; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .92rem; opacity: .9; }
.header-phone:hover { opacity: 1; }
.header-phone .i { color: var(--teal-400); }
.is-scrolled .header-phone .i { color: var(--teal-600); }
.nav-toggle {
    display: none; width: 46px; height: 46px; border-radius: 14px; place-items: center;
    border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .04);
}
.is-scrolled .nav-toggle { border-color: var(--line-2); background: #fff; }
.nav-toggle .i { width: 22px; height: 22px; }

/* کشوی منوی موبایل */
.drawer { position: fixed; inset: 0; z-index: 70; visibility: hidden; pointer-events: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(6, 20, 39, .6); opacity: 0; transition: opacity .4s var(--ease); }
.drawer__panel {
    position: absolute; inset-block: 0; inset-inline-start: 0; width: min(420px, 90vw);
    display: flex; flex-direction: column; gap: 8px; padding: 18px 22px 26px; overflow-y: auto;
    background: var(--navy-900); color: #fff; transform: translateX(100%); transition: transform .5s var(--ease);
}
.nav-open { overflow: hidden; }
.nav-open .drawer { visibility: visible; pointer-events: auto; }
.nav-open .drawer__backdrop { opacity: 1; }
.nav-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.drawer__close { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--glass-line); background: var(--glass); color: #fff; }
.drawer__nav a, .drawer__nav summary {
    display: flex; align-items: center; justify-content: space-between; padding: 14px 4px;
    font-size: 1.08rem; font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .08); cursor: pointer;
}
.drawer__nav summary { list-style: none; }
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav details[open] summary .i { transform: rotate(180deg); }
.drawer__nav summary .i { transition: transform var(--t) var(--ease); }
.drawer__sub a { font-size: .95rem; font-weight: 500; color: var(--on-dark-2); padding: 10px 14px; border: 0; justify-content: flex-start; gap: 10px; }
.drawer__sub a .i { color: var(--teal-400); }
.drawer__cta { margin-top: 22px; }
.drawer__contact { margin-top: auto; padding-top: 24px; display: grid; gap: 10px; font-size: .9rem; color: var(--on-dark-2); }
.drawer__contact a { display: flex; align-items: center; gap: 10px; }
.drawer__contact .i { color: var(--teal-400); }

/* ---------- ۸. زمینه‌های تیره (قهرمان صفحه‌ها) ---------- */
.dark-surface { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-900); color: #fff; }
.dark-surface__grid, .dark-surface__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.dark-surface__grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 70% 20%, #000 10%, transparent 75%);
    mask-image: radial-gradient(ellipse 75% 70% at 70% 20%, #000 10%, transparent 75%);
}
.dark-surface__glow {
    background:
        radial-gradient(680px circle at 88% 8%, rgba(18, 163, 159, .34), transparent 60%),
        radial-gradient(520px circle at 6% 96%, rgba(255, 122, 89, .14), transparent 60%);
}

/* ---------- ۹. قهرمان صفحه‌ی اول ---------- */
.hero { padding-block: calc(var(--header-h) + clamp(44px, 7vw, 96px)) clamp(80px, 10vw, 136px); }
.hero__grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero h1 { font-size: var(--fs-display); line-height: 1.32; margin-top: 22px; }
.hero__lead { margin-top: 22px; font-size: var(--fs-lead); color: var(--on-dark-2); max-width: 580px; line-height: 2; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust {
    display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 44px; padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, .1); color: var(--on-dark-2); font-size: .92rem;
}
.hero__trust strong { color: #fff; }
.avatars { display: flex; padding-inline-start: 10px; }
.avatars span {
    width: 42px; height: 42px; border-radius: 50%; margin-inline-start: -10px;
    display: grid; place-items: center; font-size: .72rem; font-weight: 800; color: #fff;
    border: 2px solid var(--navy-900);
    background: linear-gradient(135deg, var(--teal-500), var(--navy-700));
}
.avatars span:nth-child(2) { background: linear-gradient(135deg, #2F6FA6, var(--navy-700)); }
.avatars span:nth-child(3) { background: linear-gradient(135deg, var(--coral-500), #B24B39); }
.avatars span:nth-child(4) { background: linear-gradient(135deg, #1E8C7E, #0E4B52); }
.rating { display: flex; align-items: center; gap: 6px; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .i { width: 16px; height: 16px; }

.hero__visual { position: relative; }
.hero__frame {
    position: relative; z-index: 1; padding: 10px; border-radius: var(--r-xl);
    background: linear-gradient(150deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .03));
    border: 1px solid var(--glass-line); box-shadow: var(--sh-3);
}
.hero__frame .ph, .hero__frame .ph-img { border-radius: 24px; }
.hero__pulse { position: absolute; z-index: 0; inset-inline: -18% -6%; bottom: 20%; height: 130px; pointer-events: none; overflow: visible; }
.hero__pulse path { fill: none; stroke: url(#pulseGrad); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 3.2s .5s var(--ease) forwards; }
.hero__pulse circle { fill: var(--teal-300); opacity: 0; animation: dot-in .5s 3.2s var(--ease) forwards, beat 2.4s 3.7s ease-in-out infinite; }

.float-card {
    position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; min-width: 214px; border-radius: 20px;
    background: rgba(255, 255, 255, .97); color: var(--ink); box-shadow: var(--sh-3);
    animation: float 7s ease-in-out infinite;
}
.float-card--a { top: 9%; inset-inline-end: -34px; }
.float-card--b { bottom: 8%; inset-inline-start: -38px; animation-delay: -3.5s; }
.float-card__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); }
.float-card__icon--coral { background: var(--coral-100); color: #C4472B; }
.float-card__value { display: block; font-weight: 800; font-size: 1.28rem; line-height: 1.3; }
.float-card__label { display: block; font-size: .78rem; color: var(--ink-3); line-height: 1.6; }
.sparkline { width: 74px; height: 34px; margin-inline-start: auto; }
.sparkline path { fill: none; stroke: var(--teal-500); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sparkline path + path { stroke: none; fill: rgba(18, 163, 159, .12); }

/* ---------- ۱۰. نوار اعتماد (لوگوی مشتریان) ---------- */
.logos { padding-block: 44px; border-bottom: 1px solid var(--line); }
.logos__title { text-align: center; color: var(--ink-3); font-size: .92rem; margin-bottom: 22px; }
.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; gap: 18px; width: max-content; animation: marquee 46s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee .ph, .marquee .ph-img { width: 176px; flex: none; border-radius: 16px; padding: 8px; }
.marquee .ph__size { font-size: .85rem; }
.marquee .ph__label { font-size: .7rem; }

/* ---------- ۱۱. خدمات ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
    position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.svc-card::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease);
    background: radial-gradient(360px circle at 100% 0%, rgba(18, 163, 159, .09), transparent 60%);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: var(--teal-100); }
.svc-card:hover::before { opacity: 1; }
.svc-card__icon {
    width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
    background: var(--teal-50); color: var(--teal-600); transition: all .5s var(--ease);
}
.svc-card__icon .i { width: 27px; height: 27px; }
.svc-card:hover .svc-card__icon { background: var(--teal-600); color: #fff; transform: rotate(-6deg); }
.svc-card h3 { font-size: var(--fs-h3); }
.svc-card p { color: var(--ink-2); font-size: .95rem; line-height: 1.9; }
.svc-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-card .link-arrow { margin-top: auto; padding-top: 6px; }

.svc-card--feature {
    grid-column: span 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 32px; align-items: center;
    background: linear-gradient(140deg, var(--navy-900), var(--navy-800)); color: #fff; border-color: transparent;
}
.svc-card--feature::before { background: radial-gradient(420px circle at 0% 100%, rgba(60, 207, 196, .22), transparent 60%); opacity: 1; }
.svc-card--feature > div { display: flex; flex-direction: column; gap: 14px; position: relative; }
.svc-card--feature p { color: var(--on-dark-2); }
.svc-card--feature .svc-card__icon { background: rgba(60, 207, 196, .14); color: var(--teal-300); }
.svc-card--feature:hover .svc-card__icon { background: var(--teal-400); color: var(--navy-900); }
.svc-card--feature .tag { background: var(--glass); border-color: var(--glass-line); color: var(--on-dark-2); }
.svc-card--feature .link-arrow { color: var(--teal-300); }
.svc-card--feature .ph, .svc-card--feature .ph-img { border-radius: 20px; }

/* ---------- ۱۲. چرا ما (دوستونه) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 104px); align-items: center; }
.split--rev > :first-child { order: 2; }
.media-stack { position: relative; isolation: isolate; }
.media-stack .ph, .media-stack .ph-img { border-radius: 28px; box-shadow: var(--sh-2); }
.media-stack::before {
    content: ""; position: absolute; z-index: -1; top: -22px; inset-inline-end: -22px; width: 62%; height: 62%;
    border-radius: 28px; background: var(--teal-50); border: 1px solid var(--teal-100);
}
.media-stack::after {
    content: ""; position: absolute; z-index: -1; bottom: -26px; inset-inline-start: -26px; width: 120px; height: 120px;
    background-image: radial-gradient(var(--teal-500) 1.6px, transparent 1.6px); background-size: 16px 16px; opacity: .35;
}
.badge-stat {
    position: absolute; bottom: 28px; inset-inline-start: -28px; z-index: 2;
    display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-radius: 20px;
    background: var(--navy-900); color: #fff; box-shadow: var(--sh-3);
}
.badge-stat__value { font-size: 2rem; font-weight: 800; line-height: 1; color: var(--teal-300); }
.badge-stat__label { font-size: .85rem; line-height: 1.7; color: var(--on-dark-2); }

.feature-list { display: grid; gap: 24px; margin-top: 34px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon {
    flex: none; width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center;
    background: var(--teal-50); color: var(--teal-600);
}
.feature__icon .i { width: 24px; height: 24px; }
.feature h3 { font-size: 1.05rem; line-height: 1.6; }
.feature p { color: var(--ink-2); font-size: .94rem; margin-top: 4px; line-height: 1.9; }

/* ---------- ۱۳. آمار ---------- */
.stats {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; grid-template-columns: repeat(4, 1fr);
    padding: clamp(32px, 5vw, 56px) clamp(16px, 3vw, 40px);
    border-radius: var(--r-xl); background: var(--navy-900); color: #fff;
}
.stats::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(400px circle at 100% 0%, rgba(60, 207, 196, .22), transparent 60%),
        radial-gradient(360px circle at 0% 100%, rgba(255, 122, 89, .12), transparent 60%);
}
.stat { text-align: center; padding: 8px 16px; }
.stat + .stat { border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.stat__value {
    display: block; font-size: clamp(2.2rem, 1.5rem + 2.2vw, 3.3rem); font-weight: 800; line-height: 1.25;
    background: linear-gradient(180deg, #fff 30%, var(--teal-300)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat__label { display: block; color: var(--on-dark-2); font-size: .95rem; margin-top: 6px; }

/* ---------- ۱۴. نمونه‌کارها ---------- */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.cases-grid--3 { grid-template-columns: repeat(3, 1fr); }
.case-card {
    position: relative; display: flex; flex-direction: column; background: #fff;
    border: 1px solid var(--line); border-radius: 28px; overflow: hidden;
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.case-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: var(--teal-100); }
.case-card__media { overflow: hidden; position: relative; }
.case-card__media .ph, .case-card__media .ph-img { border-radius: 0; border: 0; transition: transform .9s var(--ease); }
.case-card:hover .case-card__media .ph, .case-card:hover .case-card__media .ph-img { transform: scale(1.045); }
.case-card__arrow {
    position: absolute; top: 18px; inset-inline-end: 18px; z-index: 2; width: 50px; height: 50px; border-radius: 50%;
    display: grid; place-items: center; background: var(--coral-500); color: var(--navy-900);
    box-shadow: var(--sh-2); opacity: 0; transform: scale(.7) rotate(-20deg); transition: all .5s var(--ease);
}
.case-card:hover .case-card__arrow { opacity: 1; transform: none; }
.case-card__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.case-card__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.case-card h3 { font-size: 1.18rem; line-height: 1.7; }
.case-card__client { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: .88rem; }
.case-card__client .i { width: 16px; height: 16px; color: var(--teal-500); }
.results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.results > div { display: flex; flex-direction: column-reverse; }
.results dd { margin: 0; }
.result__value { display: block; font-weight: 800; font-size: 1.15rem; line-height: 1.4; color: var(--teal-600); }
.result__label { display: block; font-size: .76rem; color: var(--ink-3); line-height: 1.6; }

/* ---------- ۱۵. روند همکاری ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px; }
.steps::before {
    content: ""; position: absolute; top: 29px; inset-inline: 10%; height: 2px;
    background: linear-gradient(90deg, var(--teal-100), var(--teal-400), var(--teal-100));
}
.step { position: relative; text-align: center; }
.step__num {
    position: relative; z-index: 1; width: 58px; height: 58px; margin-inline: auto; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
    background: #fff; border: 2px solid var(--teal-400); color: var(--teal-600);
    box-shadow: 0 0 0 8px var(--step-ring, var(--bg-soft)); transition: all .5s var(--ease);
}
.step:hover .step__num { background: var(--teal-600); color: #fff; border-color: var(--teal-600); }
.step h3 { font-size: 1.05rem; margin-top: 18px; }
.step p { font-size: .9rem; color: var(--ink-2); margin-top: 8px; line-height: 1.9; }

/* ---------- ۱۶. نظر مشتریان ---------- */
.t-head-nav { display: flex; gap: 10px; }
.t-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: min(470px, 86%); gap: 24px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    padding: 4px 4px 12px; scrollbar-width: none;
}
.t-track::-webkit-scrollbar { display: none; }
.t-card {
    scroll-snap-align: start; display: flex; flex-direction: column; gap: 20px;
    padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 28px;
}
.t-card__quote { color: var(--teal-400); }
.t-card__quote .i { width: 38px; height: 38px; }
.t-card blockquote { font-size: 1.02rem; line-height: 2.05; color: var(--ink); }
.t-card__person { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.avatar {
    flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--teal-500), var(--navy-700));
}
img.avatar { object-fit: cover; }
.t-card__name { display: block; font-weight: 800; }
.t-card__role { display: block; font-size: .84rem; color: var(--ink-3); }
.t-card .stars { margin-inline-start: auto; }

/* ---------- ۱۷. کارت مطلب ---------- */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post-card {
    position: relative; display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: var(--teal-100); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.post-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .8rem; color: var(--ink-3); }
.post-card__meta time { display: inline-flex; align-items: center; gap: 5px; }
.post-card__meta .i { width: 15px; height: 15px; }
.post-card h3 { font-size: 1.08rem; line-height: 1.75; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card p { font-size: .9rem; color: var(--ink-2); line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .82rem; color: var(--ink-3); }
.post-card--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.post-card--featured .post-card__media { aspect-ratio: auto; min-height: 100%; }
.post-card--featured .post-card__body { padding: clamp(24px, 4vw, 44px); justify-content: center; gap: 14px; }
.post-card--featured h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); -webkit-line-clamp: 3; }

/* ---------- ۱۸. پرسش‌های متداول ---------- */
.faq { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: border-color var(--t), box-shadow var(--t); }
.faq-item[open] { border-color: var(--teal-100); box-shadow: var(--sh-1); }
.faq-item summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 19px 22px; font-weight: 700; font-size: 1rem; line-height: 1.8; border-radius: var(--r);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
    flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
    background: var(--bg-soft); color: var(--ink-2); transition: transform .4s var(--ease), background-color .4s, color .4s;
}
.faq-item__icon .i { width: 18px; height: 18px; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--teal-600); color: #fff; }
.faq-item__body { padding: 0 22px 22px; color: var(--ink-2); line-height: 2.05; animation: fade-down .4s var(--ease); }
.faq-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 32px); }
.help-card { margin-top: 28px; padding: 26px; border-radius: var(--r-lg); background: var(--navy-900); color: #fff; }
.help-card p { color: var(--on-dark-2); margin: 8px 0 18px; font-size: .94rem; }

/* ---------- ۱۹. دعوت به اقدام ---------- */
.cta {
    position: relative; overflow: hidden; isolation: isolate;
    display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px 48px; align-items: center;
    padding: clamp(40px, 6vw, 80px); border-radius: 36px; color: #fff;
    background:
        radial-gradient(circle at 12% 18%, rgba(18, 163, 159, .5), transparent 46%),
        radial-gradient(circle at 92% 92%, rgba(255, 122, 89, .22), transparent 42%),
        var(--navy-900);
}
.cta::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .7;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: linear-gradient(90deg, #000, transparent 70%); mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.cta h2 { font-size: var(--fs-h2); }
.cta p { margin-top: 14px; color: var(--on-dark-2); font-size: var(--fs-lead); max-width: 560px; }
.cta__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 18px; }
.cta__buttons { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.cta__phone { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark-2); font-size: .92rem; }
.cta__phone strong { color: #fff; font-size: 1.05rem; }
.cta__phone .i { color: var(--teal-300); }

/* ---------- ۲۰. پانویس ---------- */
.site-footer { position: relative; overflow: hidden; isolation: isolate; background: var(--navy-950); color: var(--on-dark-2); padding-top: clamp(64px, 8vw, 104px); }
.site-footer::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: radial-gradient(600px circle at 100% 0%, rgba(18, 163, 159, .14), transparent 60%);
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.35fr; gap: 40px; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: 18px; max-width: 340px; line-height: 2.05; font-size: .94rem; }
.footer-title { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 16px; }
.footer-links a { display: inline-block; padding: 5px 0; font-size: .93rem; transition: color var(--t), transform var(--t) var(--ease); }
.footer-links a:hover { color: #fff; transform: translateX(-4px); }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
    width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff;
    background: var(--glass); border: 1px solid rgba(255, 255, 255, .08); transition: all var(--t) var(--ease);
}
.socials a:hover { background: var(--teal-500); border-color: var(--teal-500); transform: translateY(-3px); }
.socials .i { width: 20px; height: 20px; }
.contact-list { display: grid; gap: 12px; font-size: .93rem; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.8; }
.contact-list .i { margin-top: 4px; color: var(--teal-400); }
.contact-list a:hover { color: #fff; }
.trust { display: flex; gap: 12px; margin-top: 22px; }
.trust .ph, .trust .ph-img { width: 92px; border-radius: 16px; padding: 6px; }
.trust .ph__size { font-size: .78rem; }
.trust .ph__label { font-size: .68rem; }
.footer-bottom {
    margin-top: 56px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .08);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; font-size: .86rem;
}
.footer-bottom nav { display: flex; gap: 20px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- ۲۱. قهرمان صفحه‌های داخلی ---------- */
.page-hero { padding-block: calc(var(--header-h) + clamp(40px, 6vw, 84px)) clamp(56px, 7vw, 100px); }
.page-hero--cover { padding-bottom: clamp(120px, 14vw, 200px); }
.page-hero h1 { font-size: var(--fs-h1); margin-top: 18px; max-width: 900px; line-height: 1.45; }
.page-hero__lead { margin-top: 16px; color: var(--on-dark-2); max-width: 720px; font-size: var(--fs-lead); line-height: 2; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.page-hero__center { text-align: center; }
.page-hero__center h1, .page-hero__center .page-hero__lead { margin-inline: auto; }
.page-hero__center .crumbs { justify-content: center; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .86rem; color: var(--on-dark-3); }
.crumbs a { transition: color var(--t); }
.crumbs a:hover { color: #fff; }
.crumbs .i { width: 14px; height: 14px; opacity: .7; }
.crumbs [aria-current] { color: var(--on-dark-2); }

.facts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 30px; color: var(--on-dark-2); font-size: .92rem; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts .i { color: var(--teal-300); width: 18px; height: 18px; }
.facts strong { color: #fff; font-weight: 700; }

/* ---------- ۲۲. صفحه‌ی خدمت ---------- */
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.svc-row + .svc-row { margin-top: clamp(64px, 8vw, 112px); }
.svc-row:nth-child(even) > :first-child { order: 2; }
.svc-row__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); }
.svc-row__icon .i { width: 28px; height: 28px; }
.svc-row h2 { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); margin-top: 18px; }
.svc-row p { margin-top: 14px; color: var(--ink-2); line-height: 2; }
.check-list { display: grid; gap: 10px; margin-top: 22px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.check-list .i { flex: none; margin-top: 5px; width: 20px; height: 20px; color: var(--teal-500); }
.svc-row .link-arrow, .svc-row .btn { margin-top: 26px; }

.deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.deliverable {
    padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease);
}
.deliverable:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--teal-100); }
.deliverable .feature__icon { margin-bottom: 16px; }
.deliverable h3 { font-size: 1.05rem; }
.deliverable p { margin-top: 8px; color: var(--ink-2); font-size: .93rem; line-height: 1.9; }

.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.outcome { padding: 30px 26px; border-radius: var(--r-lg); background: var(--navy-900); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.outcome::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px circle at 100% 0%, rgba(60, 207, 196, .25), transparent 60%); }
.outcome__value { display: block; font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.6rem); font-weight: 800; line-height: 1.3; color: var(--teal-300); }
.outcome__label { display: block; color: var(--on-dark-2); margin-top: 6px; }
.outcomes-note { margin-top: 16px; font-size: .82rem; color: var(--ink-3); }

.mini-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: ms; }
.mini-step { padding: 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); position: relative; }
.mini-step::before {
    counter-increment: ms; content: counter(ms, persian);
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
    background: var(--teal-600); color: #fff; font-weight: 800; margin-bottom: 16px;
}
.mini-step h3 { font-size: 1.02rem; }
.mini-step p { font-size: .9rem; color: var(--ink-2); margin-top: 6px; line-height: 1.9; }

.other-services { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.other-service {
    display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-radius: var(--r);
    border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .95rem; transition: all var(--t) var(--ease);
}
.other-service:hover { border-color: var(--teal-500); color: var(--teal-600); transform: translateY(-2px); }
.other-service .i { color: var(--teal-500); }

/* ---------- ۲۳. نمونه‌کار (صفحه‌ی اختصاصی) ---------- */
.cover { margin-top: calc(-1 * clamp(88px, 11vw, 160px)); position: relative; z-index: 2; }
.cover .ph, .cover img { border-radius: var(--r-xl); box-shadow: var(--sh-3); }
.cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--bg-soft); }
.case-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.case-block + .case-block { margin-top: 48px; }
.case-block h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; }
.case-block h2 .i { color: var(--teal-500); width: 26px; height: 26px; }
.case-block > p { margin-top: 14px; color: var(--ink-2); line-height: 2.05; font-size: 1.04rem; }
.case-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 22px; }
.case-side { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 18px; }
.side-card { padding: 26px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.side-card h3 { font-size: 1.02rem; margin-bottom: 14px; }
.side-list { display: grid; gap: 12px; font-size: .92rem; }
.side-list li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px dashed var(--line-2); }
.side-list li:last-child { border: 0; padding: 0; }
.side-list span { color: var(--ink-3); }
.side-list strong { text-align: left; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 22px; }
.gallery > :first-child { grid-column: 1 / -1; }
.quote-block { margin-top: 48px; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-xl); background: var(--bg-mint); position: relative; }
.quote-block .t-card__quote { margin-bottom: 14px; }
.quote-block blockquote { font-size: 1.12rem; line-height: 2.1; font-weight: 500; }
.quote-block .t-card__person { border-color: rgba(11, 127, 125, .15); }
.next-case {
    display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 28px 32px;
    border-radius: var(--r-xl); background: var(--navy-900); color: #fff; transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.next-case:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.next-case small { display: block; color: var(--on-dark-3); font-size: .85rem; }
.next-case strong { display: block; font-size: 1.15rem; line-height: 1.7; }
.next-case .icon-btn { background: var(--coral-500); border-color: var(--coral-500); color: var(--navy-900); flex: none; }

/* ---------- ۲۴. فیلتر، صفحه‌بندی، جست‌وجو ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filters--center { justify-content: center; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; height: 44px; padding-inline: 18px;
    border-radius: 999px; border: 1.5px solid var(--line-2); background: #fff;
    font-weight: 600; font-size: .9rem; transition: all var(--t) var(--ease);
}
.chip:hover { border-color: var(--teal-500); color: var(--teal-600); }
.chip.is-active, .chip[aria-pressed="true"], .chip[aria-current] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip__count { font-size: .75rem; font-weight: 700; min-width: 24px; height: 24px; padding-inline: 6px; border-radius: 999px; display: grid; place-items: center; background: var(--bg-soft); color: var(--ink-2); }
.chip.is-active .chip__count, .chip[aria-current] .chip__count { background: rgba(255, 255, 255, .16); color: #fff; }
.is-filtered-out { display: none !important; }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 56px; }
.pager a, .pager span {
    min-width: 46px; height: 46px; padding-inline: 12px; border-radius: 14px; display: grid; place-items: center;
    border: 1px solid var(--line); background: #fff; font-weight: 700; transition: all var(--t);
}
.pager a:hover { border-color: var(--teal-500); color: var(--teal-600); }
.pager [aria-current] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.pager .is-disabled { opacity: .4; pointer-events: none; }
.pager .i { width: 18px; height: 18px; }

.search-box {
    display: flex; align-items: center; gap: 6px; max-width: 580px; margin-top: 30px; padding: 6px;
    border-radius: 18px; background: #fff; box-shadow: var(--sh-3);
}
.search-box .i { width: 20px; height: 20px; color: var(--ink-3); margin-inline-start: 12px; }
.search-box input { flex: 1; min-width: 0; height: 50px; border: 0; background: transparent; outline: none; color: var(--ink); padding-inline: 6px; }
.search-box .btn { --btn-h: 50px; border-radius: 14px; }

.empty {
    text-align: center; padding: 64px 24px; border-radius: var(--r-xl); border: 1px dashed var(--line-2); background: var(--bg-soft);
}
.empty .i { width: 44px; height: 44px; margin: 0 auto 16px; color: var(--teal-500); }
.empty h2 { font-size: 1.3rem; }
.empty p { color: var(--ink-2); margin-top: 8px; }
.empty .btn { margin-top: 22px; }

/* ---------- ۲۵. فرم‌ها ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.form-card h2 { font-size: 1.45rem; }
.form-card > p { margin-top: 8px; color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > .label { font-weight: 700; font-size: .92rem; }
.field .req { color: #C4472B; }
.input {
    width: 100%; height: 54px; padding-inline: 16px; border-radius: 14px;
    border: 1.5px solid var(--line-2); background: var(--bg-soft); outline: none;
    transition: border-color var(--t), background-color var(--t), box-shadow var(--t);
}
textarea.input { height: auto; min-height: 140px; padding-block: 14px; resize: vertical; line-height: 1.9; }
select.input {
    appearance: none; padding-inline-end: 44px; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235E6E86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-size: 18px; background-position: left 16px center;
}
.input::placeholder { color: #93A1B5; }
.input:hover { border-color: #B7C3D3; }
.input:focus { border-color: var(--teal-500); background: #fff; box-shadow: 0 0 0 4px rgba(18, 163, 159, .14); }
.input[dir="ltr"] { text-align: right; }
.check-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.check-chip { position: relative; }
.check-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-chip span {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px;
    border: 1.5px solid var(--line-2); font-size: .9rem; font-weight: 600; cursor: pointer; transition: all var(--t) var(--ease);
}
.check-chip span .i { width: 16px; height: 16px; display: none; }
.check-chip input:checked + span { border-color: var(--teal-600); background: var(--teal-50); color: var(--teal-700); }
.check-chip input:checked + span .i { display: block; }
.check-chip input:focus-visible + span { outline: 3px solid var(--teal-400); outline-offset: 2px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 26px; }
.consent { font-size: .82rem; color: var(--ink-3); line-height: 1.9; }
.consent a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 3px; }
/* خطاها و وضعیت‌های فرم (قرمز فقط برای خطا؛ رنگ وضعیت، نه تزئین) */
.field-error { font-size: .82rem; color: #B42318; line-height: 1.7; }
.field-error:empty { display: none; }
.input.input-validation-error { border-color: #E5484D; background: #FFF8F8; }
.form-alert { margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: #FEF3F2; border: 1px solid #FECDCA; color: #B42318; font-size: .92rem; }
.form-alert ul { margin: 0; padding: 0; list-style: none; }
.form-alert.validation-summary-valid { display: none; }
.hp-field { position: absolute !important; inset-inline-start: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* فرم‌های فرم‌ساز (Views/Shared/Site/_SiteForm) */
.site-form__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.site-form__group > legend { font-weight: 700; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.field-help { font-size: .82rem; color: var(--ink-3); line-height: 1.8; }
.field.has-error .input { border-color: #F04438; }
.consent-check { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: .92rem; line-height: 1.9; cursor: pointer; }
.consent-check input { width: 20px; height: 20px; margin-top: 5px; flex: none; accent-color: var(--teal-600); }
.prose .site-form { margin-block: 36px; }
.prose .site-form h2 { margin-top: 0; }
.prose .site-form label, .prose .site-form legend { margin: 0; }
.btn.is-loading { opacity: .75; pointer-events: none; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success__icon { width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); box-shadow: 0 0 0 10px rgba(18, 163, 159, .08); }
.form-success__icon .i { width: 38px; height: 38px; }
.form-success h2 { font-size: 1.5rem; }
.form-success p { margin: 12px auto 0; max-width: 460px; color: var(--ink-2); line-height: 2; }

.form-note {
    display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border-radius: 14px;
    background: var(--teal-50); color: var(--teal-700); font-size: .9rem; border: 1px solid var(--teal-100);
}

.info-cards { display: grid; gap: 14px; }
.info-card {
    display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 20px;
    background: #fff; border: 1px solid var(--line); transition: all var(--t) var(--ease);
}
a.info-card:hover { border-color: var(--teal-500); transform: translateY(-2px); box-shadow: var(--sh-1); }
.info-card__icon { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); }
.info-card__icon--wa { background: #E3F7EA; color: #1E8A4C; }
.map-link__arrow { margin-inline-start: auto; color: var(--ink-3); width: 20px; height: 20px; }
.info-card small { display: block; color: var(--ink-3); font-size: .8rem; }
.info-card strong { display: block; font-weight: 700; line-height: 1.7; }
.map-card { margin-top: 14px; }
.map-card .ph, .map-card .ph-img { border-radius: 20px; }

/* ---------- ۲۶. مقاله و متن بلند ---------- */
.prose { font-size: 1.06rem; line-height: 2.1; color: #1D2A3C; overflow-wrap: anywhere; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.35rem, 1.15rem + .7vw, 1.65rem); margin-top: 2em; }
.prose h3 { font-size: 1.22rem; margin-top: 1.7em; }
.prose h4 { font-size: 1.08rem; margin-top: 1.5em; }
.prose a { color: var(--teal-600); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(11, 127, 125, .35); }
.prose a:hover { text-decoration-color: currentColor; }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: persian; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--teal-500); }
.prose blockquote {
    padding: 18px 22px; border-inline-start: 4px solid var(--teal-500); background: var(--bg-mint);
    border-start-end-radius: 16px; border-end-end-radius: 16px; color: var(--ink);
}
.prose img { border-radius: 18px; margin-inline: auto; }
.prose figure figcaption { text-align: center; font-size: .86rem; color: var(--ink-3); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: right; }
.prose th { background: var(--bg-soft); }
.prose pre { background: var(--navy-900); color: #E2E8F0; border-radius: 16px; padding: 18px 20px; overflow-x: auto; direction: ltr; text-align: left; font-size: .9rem; line-height: 1.8; }
.prose code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; }
.prose :not(pre) > code { background: var(--bg-soft); padding: .1em .4em; border-radius: 6px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2.4em; }

.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 26px; color: var(--on-dark-2); font-size: .9rem; }
.article-meta li { display: inline-flex; align-items: center; gap: 7px; }
.article-meta .i { width: 17px; height: 17px; color: var(--teal-300); }
.article-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.article-cats a { font-size: .8rem; font-weight: 700; padding: .2rem .8rem; border-radius: 999px; background: rgba(60, 207, 196, .12); color: var(--teal-300); border: 1px solid rgba(60, 207, 196, .25); }
.article-cats a:hover { background: rgba(60, 207, 196, .22); }
.article-layout { display: grid; grid-template-columns: 64px minmax(0, 780px); justify-content: center; gap: 44px; padding-block: 56px var(--section-y); }
.share { position: sticky; top: calc(var(--header-h) + 28px); align-self: start; display: flex; flex-direction: column; gap: 10px; }
.share__title { font-size: .78rem; color: var(--ink-3); text-align: center; }
.share a, .share button {
    width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-inline: auto;
    border: 1px solid var(--line); background: #fff; color: var(--ink-2); transition: all var(--t) var(--ease);
}
.share a:hover, .share button:hover { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.share .i { width: 20px; height: 20px; }
.article-lead { font-size: 1.14rem; line-height: 2.1; color: var(--ink-2); padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.article-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 44px; }
.article-tags .i { color: var(--ink-3); width: 18px; height: 18px; }
.author-box { display: flex; align-items: center; gap: 18px; margin-top: 40px; padding: 24px; border-radius: var(--r-lg); background: var(--bg-mint); border: 1px solid var(--teal-100); }
.author-box small { display: block; color: var(--ink-3); font-size: .82rem; }
.author-box strong { display: block; font-size: 1.05rem; }

.comments { margin-top: 64px; }
.comments__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.comments__head h2 { font-size: 1.4rem; }
.comment { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); }
.comment + .comment { margin-top: 14px; }
.comment__head { display: flex; align-items: center; gap: 12px; }
.comment__head .avatar { width: 44px; height: 44px; font-size: .85rem; }
.comment__name { display: block; font-weight: 800; font-size: .95rem; }
.comment__date { display: block; font-size: .78rem; color: var(--ink-3); }
.comment__text { margin-top: 12px; color: var(--ink-2); line-height: 2; white-space: pre-line; }
.comment__reply { margin-top: 10px; background: none; border: 0; padding: 0; color: var(--teal-600); font-weight: 700; font-size: .85rem; display: inline-flex; align-items: center; gap: 6px; }
.comment__replies { display: grid; gap: 12px; margin-top: 16px; padding-inline-start: 18px; border-inline-start: 2px solid var(--teal-100); }
.comment__replies .comment { background: var(--bg-soft); }
.reply-to { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); font-size: .88rem; margin-top: 18px; }
.reply-to button { background: none; border: 0; color: inherit; font-weight: 700; }

.legal { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 28px); padding: 22px; border-radius: var(--r-lg); background: var(--bg-soft); border: 1px solid var(--line); }
.toc h2 { font-size: .95rem; margin-bottom: 10px; }
.toc a { display: block; padding: 7px 12px; border-radius: 10px; font-size: .9rem; color: var(--ink-2); transition: all var(--t); }
.toc a:hover { background: #fff; color: var(--teal-600); }
.legal__updated { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--ink-3); margin-bottom: 20px; }

/* ---------- ۲۷. خطا (۴۰۴ و ۵۰۰) ---------- */
.error-page { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 80px; }
.error-page__code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 900; line-height: 1; background: linear-gradient(180deg, #fff 20%, var(--teal-400)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page__line { width: min(520px, 90vw); height: 80px; margin: 10px auto 0; overflow: visible; }
.error-page__line path { fill: none; stroke: var(--teal-400); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 900; stroke-dashoffset: 900; animation: draw 2.4s var(--ease) forwards; }
.error-page h1 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); margin-top: 20px; }
.error-page p { color: var(--on-dark-2); margin-top: 12px; max-width: 520px; margin-inline: auto; }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* ---------- ۲۸. واکنش‌گرایی ---------- */
@media (max-width: 1199.98px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .deliverables { grid-template-columns: repeat(2, 1fr); }
    .cases-grid--3 { grid-template-columns: repeat(2, 1fr); }
    .header-phone { display: none; }
    .float-card--a { inset-inline-end: -12px; }
    .float-card--b { inset-inline-start: -14px; }
}

@media (max-width: 1023.98px) {
    :root { --header-h: 70px; }
    .nav { display: none; }
    .nav-toggle { display: grid; }
    .header-actions { margin-inline-start: auto; }

    .hero__grid, .split, .svc-row, .faq-layout, .contact-grid, .case-layout, .cta { grid-template-columns: 1fr; }
    .hero__visual { max-width: 560px; margin-inline: auto; width: 100%; }
    .split--rev > :first-child, .svc-row:nth-child(even) > :first-child { order: 0; }
    .media-stack { max-width: 560px; }
    .faq-aside, .case-side, .toc, .share { position: static; }
    .cta__actions { align-items: flex-start; }
    .cta__buttons { justify-content: flex-start; }

    .steps { grid-template-columns: 1fr; gap: 0; }
    .steps::before { top: 10px; bottom: 10px; inset-inline: auto; inset-inline-start: 28px; width: 2px; height: auto; background: linear-gradient(180deg, var(--teal-100), var(--teal-400), var(--teal-100)); }
    .step { display: grid; grid-template-columns: 58px 1fr; gap: 0 18px; text-align: start; padding-bottom: 26px; }
    .step__num { margin: 0; grid-row: span 2; }
    .step h3 { margin-top: 12px; }
    .step p { margin-top: 2px; }
    .mini-steps { grid-template-columns: repeat(2, 1fr); }

    .article-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .share { flex-direction: row; justify-content: flex-start; order: 2; margin-top: 36px; }
    .share__title { align-self: center; margin-inline-end: 6px; }
    .share a, .share button { margin: 0; }
    .legal { grid-template-columns: 1fr; }
    .post-card--featured { grid-template-columns: 1fr; }
    .post-card--featured .post-card__media { aspect-ratio: 16 / 10; }
}

@media (max-width: 767.98px) {
    .services-grid, .posts-grid, .cases-grid, .cases-grid--3, .deliverables, .outcomes, .form-grid { grid-template-columns: 1fr; }
    .svc-card--feature { grid-column: auto; grid-template-columns: 1fr; }
    .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
    .stat + .stat { border: 0; }
    .stat:nth-child(even) { border-inline-start: 1px solid rgba(255, 255, 255, .1); }
    .footer-grid { grid-template-columns: 1fr; gap: 34px; }
    .footer-bottom { justify-content: center; text-align: center; }
    .results, .case-results { grid-template-columns: repeat(3, 1fr); }
    .mini-steps { grid-template-columns: 1fr; }
    .gallery { grid-template-columns: 1fr; }
    .float-card { min-width: 0; padding: 10px 12px; }
    .float-card--a { top: -18px; inset-inline-end: 8px; }
    .float-card--b { bottom: -22px; inset-inline-start: 8px; }
    .sparkline { display: none; }
    .badge-stat { inset-inline-start: 12px; bottom: 12px; }
    .media-stack::before { inset-inline-end: -10px; top: -10px; }
    .hero__actions .btn, .page-hero__actions .btn { flex: 1 1 100%; }
    .sec-head--split { align-items: flex-start; }
    .next-case { padding: 22px; }
}

@media (max-width: 479.98px) {
    .header-actions .btn { display: none; }
    .brand__tag { display: none; }
    .results, .case-results { grid-template-columns: 1fr 1fr; }
    .t-card { padding: 24px; }
}

/* ---------- ۲۹. حرکت ---------- */
.reveal-ready [data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
    transition-delay: var(--d, 0ms);
}
.reveal-ready [data-reveal="fade"] { transform: none; }
.reveal-ready [data-reveal="scale"] { transform: scale(.96); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }

[data-enter] { animation: enter .9s var(--ease) both; animation-delay: var(--d, 0ms); }
.has-preloader:not(.preloader-done) [data-enter],
.has-preloader:not(.preloader-done) .hero__pulse path,
.has-preloader:not(.preloader-done) .hero__pulse circle { animation-play-state: paused; }

@keyframes enter { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dot-in { to { opacity: 1; } }
@keyframes beat { 0%, 100% { r: 5; } 50% { r: 8; } }
@keyframes marquee { to { transform: translateX(50%); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(60, 207, 196, .7); } 80%, 100% { box-shadow: 0 0 0 9px rgba(60, 207, 196, 0); } }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes pl-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes pl-safety { to { opacity: 0; visibility: hidden; } }
@keyframes pl-grow { to { transform: scaleX(1); } }
@keyframes pl-frame { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes pl-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes pl-type { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pl-media { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: none; } }
@keyframes pl-pop-in { 0% { opacity: 0; transform: scale(.4); } 70% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: none; } }
@keyframes pl-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pl-caret { 0% { opacity: 1; } 50% { opacity: 0; } }
@keyframes pl-pointer {
    0% { opacity: 0; transform: translate(60px, 158px); }
    15% { opacity: 1; }
    70% { transform: translate(196px, 109px); }
    80% { transform: translate(196px, 109px) scale(.85); }
    100% { opacity: 1; transform: translate(196px, 109px); }
}
@keyframes pl-ripple { from { opacity: .9; transform: scale(.2); } to { opacity: 0; transform: scale(1.4); } }
@keyframes pl-shine { from { transform: translateX(0); } to { transform: translateX(400px); } }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal-ready [data-reveal] { opacity: 1; transform: none; }
    .marquee__track { flex-wrap: wrap; justify-content: center; width: auto; }
    .marquee__track [aria-hidden="true"] { display: none; }
}

@media print {
    .site-header, .site-footer, .drawer, .preloader, .share, .cta, .comments form { display: none !important; }
    .dark-surface { background: none; color: #000; }
    body { font-size: 12pt; }
}

/* منوی بازشوی ساده (پیوند دارای زیرمنو در منوی اصلی؛ از پنل: منوها) */
.mega.mega--list { width: 240px; grid-template-columns: 1fr; padding: 8px; }
.mega--list .mega__link { padding: 10px 14px; }
.mega--list .mega__link[aria-current="page"] { background: var(--bg-mint); }
