/* ==========================================================================
   پیشگامان — سامانه‌ی طراحی سایت عمومی
   --------------------------------------------------------------------------
   جایگاه برند: استودیوی برندینگ، طراحی سایت، سئو و تولید محتوا؛ در کنارش آکادمی آموزش.

   روانشناسی رنگ (یک تم روشن؛ بدون بنفش):
   - سرمه‌ای عمیق (navy)  → اقتدار، ثبات و جدیت حرفه‌ای. ساختار صفحه: سرصفحه‌ها، بخش‌های تیره،
                             متن اصلی. رنگ غالب برند.
   - آبی سلطنتی (blue)    → اعتماد، شایستگی و فناوری. فقط برای چیزهای «تعاملی»: پیوند، فوکوس،
                             انتخاب‌شده، آیکن خدمات. همان آبی صفحه‌های ورود و پنل مدیریت.
   - طلایی شامپاینی (gold) → ارزش، کیفیت و حس ممتاز بودن. کم‌مصرف و هدفمند: دکمه‌ی اقدام اصلی
                             هر صفحه و تأکیدهای ویژه؛ تا چشم همیشه یک مسیر روشن داشته باشد.
   - کاغذی گرم (paper)    → آرامش و خوانایی؛ زمینه‌ی متن‌های بلند، به‌جای سفید سرد.
   - سبز/قرمز فقط برای وضعیت (موفق/خطا)، هرگز تزئین.

   قلم‌ها: IRANYekan برای تیترها (هندسی و پرقدرت، هویت برند) و Vazirmatn برای متن و رابط
   (خوانایی بالا در متن بلند، وزن متغیر).

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

/* ---------- قلم‌ها (همه از پوشه‌ی پروژه؛ بدون CDN) ---------- */
@font-face { font-family: 'Vazirmatn'; src: url('/lib/vazirmatn/Vazirmatn-Variable.woff2') format('woff2-variations'), url('/lib/vazirmatn/Vazirmatn-Variable.woff2') format('woff2'); font-weight: 100 900; 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: #071226;
    --navy-900: #0B1B36;
    --navy-800: #12264A;
    --navy-700: #1B3563;
    --navy-600: #2A4A80;

    /* آبی */
    --blue-700: #1E40AF;
    --blue-600: #1D4ED8;
    --blue-500: #2563EB;
    --blue-400: #5B8DEF;
    --blue-300: #93B4F6;
    --blue-200: #C3D5FA;
    --blue-100: #DFE8FD;
    --blue-50:  #F0F5FF;

    /* طلایی شامپاینی */
    --gold-700: #7A5D1E;
    --gold-600: #9C7A32;
    --gold-500: #C6A15B;
    --gold-400: #D6B97D;
    --gold-300: #E4CF9F;
    --gold-100: #F5EBD4;
    --gold-50:  #FBF7EE;

    /* متن و سطوح */
    --ink:     #0E1A2F;
    --ink-2:   #3B4860;
    --ink-3:   #66718A;
    --ink-4:   #8E97AB;
    --paper:   #FAF8F3;
    --paper-2: #F3EFE6;
    --white:   #FFFFFF;
    --line:    #E7E2D7;
    --line-2:  #D8D1C2;
    --line-c:  #E3E8F1;

    /* روی زمینه‌ی تیره */
    --on-dark:   #FFFFFF;
    --on-dark-2: #BFC9DB;
    --on-dark-3: #8A97AF;
    --glass:      rgba(255, 255, 255, .06);
    --glass-2:    rgba(255, 255, 255, .1);
    --glass-line: rgba(255, 255, 255, .13);

    /* وضعیت */
    --ok:   #0E8F64;
    --ok-50: #E8F7F1;
    --err:  #C8382E;
    --err-50: #FDEFEE;
    --warn: #A86A12;

    /* تایپوگرافی */
    --font: 'Vazirmatn', Tahoma, 'Segoe UI', sans-serif;
    --font-head: 'IRANYekan', 'Vazirmatn', Tahoma, sans-serif;
    --fs-display: clamp(2.15rem, 1.25rem + 3.6vw, 4.1rem);
    --fs-h1: clamp(1.95rem, 1.3rem + 2.5vw, 3.1rem);
    --fs-h2: clamp(1.6rem, 1.2rem + 1.6vw, 2.45rem);
    --fs-h3: clamp(1.12rem, 1.05rem + .3vw, 1.28rem);
    --fs-lead: clamp(1.02rem, .97rem + .28vw, 1.17rem);

    /* فاصله و اندازه */
    --wrap: 1240px;
    --gutter: clamp(16px, 4vw, 32px);
    --sec-y: clamp(72px, 9vw, 132px);
    --header-h: 76px;

    --r-xs: 8px;
    --r-sm: 12px;
    --r: 16px;
    --r-lg: 22px;
    --r-xl: 30px;

    --sh-1: 0 1px 2px rgba(11, 27, 54, .05), 0 3px 10px rgba(11, 27, 54, .04);
    --sh-2: 0 18px 44px -20px rgba(11, 27, 54, .22);
    --sh-3: 0 36px 80px -32px rgba(7, 18, 38, .5);
    --sh-gold: 0 14px 30px -14px rgba(156, 122, 50, .55);

    --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; min-height: 100vh; font-family: var(--font); font-size: 1rem; line-height: 1.95; color: var(--ink);
    background: var(--paper); font-feature-settings: "ss01"; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--font-head); font-weight: 800; line-height: 1.4; color: inherit; letter-spacing: -.005em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-300); color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }
.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; padding: 10px 18px; border-radius: 999px; background: var(--navy-900); color: #fff; font-weight: 700; transform: translateY(-150%); transition: transform var(--t) var(--ease); }
.skip-link:focus { transform: none; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.num { font-family: var(--font-head); font-feature-settings: "tnum"; }

/* ---------- ۳. چیدمان ---------- */
.header-solid main { padding-top: var(--header-h); }
.wrap, .container { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(860px + var(--gutter) * 2); }
.wrap--read { max-width: calc(760px + var(--gutter) * 2); }
.section { position: relative; padding-block: var(--sec-y); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--flush-top { padding-top: 0; }
.section--white { background: var(--white); }
.section--sand { background: var(--paper-2); }
.section--line { border-top: 1px solid var(--line); }

.sec-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.sec-head--split { max-width: none; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 20px 40px; }
.sec-head h2 { font-size: var(--fs-h2); }
.sec-head p { color: var(--ink-2); font-size: var(--fs-lead); max-width: 640px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--top { align-items: start; }
.stack { display: grid; gap: 14px; }

/* تیتر کوچک بالای عنوان بخش */
.kicker {
    display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-size: .82rem; font-weight: 700;
    letter-spacing: .02em; color: var(--blue-600);
}
.kicker::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold-500), var(--gold-300)); }
.on-dark .kicker, .navy-surface .kicker, .kicker--light { color: var(--gold-300); }
.lead { font-size: var(--fs-lead); color: var(--ink-2); line-height: 2.05; }
.on-dark .lead, .navy-surface .lead { color: var(--on-dark-2); }
.muted { color: var(--ink-3); }
.hl { color: var(--blue-600); }
.hl-gold {
    background: linear-gradient(100deg, var(--gold-300), var(--gold-500) 60%, var(--gold-400));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.underline-gold { background-image: linear-gradient(transparent 62%, rgba(198, 161, 91, .32) 62%); padding-inline: .08em; }

/* ---------- ۴. دکمه‌ها ---------- */
.btn {
    --btn-h: 52px;
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: var(--btn-h); padding-inline: 1.6rem; border-radius: 999px; border: 1.5px solid transparent;
    font-family: var(--font-head); font-weight: 700; font-size: .96rem; line-height: 1; white-space: nowrap;
    transition: background-color var(--t) var(--ease), color var(--t), border-color var(--t), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}
.btn .i { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .7; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; border-inline-end-color: transparent; animation: spin .8s linear infinite; }
/* اقدام اصلی: طلایی (یکی در هر بخش) */
.btn--gold, .btn--accent { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--navy-950); box-shadow: var(--sh-gold); }
.btn--gold:hover, .btn--accent:hover { background: linear-gradient(135deg, var(--gold-300), var(--gold-400)); box-shadow: 0 18px 36px -14px rgba(156, 122, 50, .6); }
/* اقدام عادی روی زمینه‌ی روشن: سرمه‌ای */
.btn--navy, .btn--primary { background: var(--navy-900); color: #fff; }
.btn--navy:hover, .btn--primary:hover { background: var(--navy-700); box-shadow: var(--sh-2); }
/* اقدام تعاملی آبی (جست‌وجو، ارسال) */
.btn--blue, .btn--teal { background: var(--blue-500); color: #fff; }
.btn--blue:hover, .btn--teal:hover { background: var(--blue-600); box-shadow: 0 14px 30px -14px rgba(37, 99, 235, .6); }
.btn--line, .btn--outline { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--line:hover, .btn--outline:hover { border-color: var(--navy-900); background: var(--navy-900); color: #fff; }
.btn--glass, .btn--ghost-light { border-color: var(--glass-line); background: var(--glass); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn--glass:hover, .btn--ghost-light:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .28); }
.btn--sm { --btn-h: 42px; padding-inline: 1.15rem; font-size: .88rem; }
.btn--lg { --btn-h: 58px; padding-inline: 2rem; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }
.i--move { transition: transform var(--t) var(--ease); }
.btn:hover .i--move, .link:hover .i--move, a:hover > .i--move { transform: translateX(-4px); }

.link { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--blue-600); }
.link .i { width: 18px; height: 18px; }
.on-dark .link { color: var(--gold-300); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; color: var(--blue-600); }
.link-arrow .i { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.link-arrow:hover .i, .has-link:hover .link-arrow .i { transform: translateX(-4px); }

/* برچسب‌ها و تراشه‌ها */
.tag {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px;
    font-size: .78rem; font-weight: 700; line-height: 1.7; background: var(--paper-2); color: var(--ink-2); border: 1px solid var(--line);
}
.tag .i { width: 14px; height: 14px; }
.tag--blue, .tag--teal { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-100); }
.tag--gold { background: var(--gold-50); color: var(--gold-700); border-color: var(--gold-100); }
.tag--dark { background: var(--glass); color: var(--on-dark-2); border-color: var(--glass-line); }
.chips, .filters { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px; height: 42px; padding-inline: 18px; border-radius: 999px;
    border: 1.5px solid var(--line); background: var(--white); font-weight: 600; font-size: .9rem; color: var(--ink-2);
    transition: all var(--t) var(--ease);
}
.chip:hover { border-color: var(--navy-900); color: var(--ink); }
.chip[aria-current="page"], .chip[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.chip__count { min-width: 24px; height: 24px; padding-inline: 7px; border-radius: 999px; display: inline-grid; place-items: center; font-size: .74rem; font-weight: 800; background: var(--paper-2); color: var(--ink-2); }
.chip[aria-current="page"] .chip__count, .chip[aria-pressed="true"] .chip__count { background: rgba(255, 255, 255, .16); color: #fff; }

/* آیکن قاب‌دار */
.ico {
    flex: none; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
    background: var(--blue-50); color: var(--blue-600); border: 1px solid var(--blue-100);
    transition: all var(--t) var(--ease);
}
.ico .i { width: 26px; height: 26px; stroke-width: 1.6; }
.ico--gold { background: var(--gold-50); color: var(--gold-600); border-color: var(--gold-100); }
.ico--dark { background: var(--glass); color: var(--gold-300); border-color: var(--glass-line); }
.ico--sm { width: 42px; height: 42px; border-radius: 13px; }
.ico--sm .i { width: 20px; height: 20px; }

/* ---------- ۵. سطح تیره (سرصفحه‌ها و بخش‌های اقتدار) ---------- */
.on-dark { color: var(--on-dark); }
.navy-surface {
    position: relative; isolation: isolate; overflow: hidden; color: var(--on-dark); background-color: var(--navy-900);
    background-image:
        radial-gradient(900px 520px at 88% -18%, rgba(37, 99, 235, .42), transparent 62%),
        radial-gradient(720px 480px at -6% 112%, rgba(198, 161, 91, .2), transparent 60%),
        linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
/* شبکه‌ی ظریف (حس دقت و طراحی) با محوشدن در لبه‌ها */
.navy-surface::before {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    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 80% 70% at 50% 30%, #000 30%, transparent 78%);
    mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 78%);
}
.navy-surface .lead, .navy-surface p { color: var(--on-dark-2); }

/* ---------- ۶. سرصفحه ---------- */
.site-header {
    position: fixed; inset-inline: 0; top: 0; z-index: 60; height: var(--header-h); color: #fff;
    transition: background-color var(--t), box-shadow var(--t), color var(--t), height var(--t);
}
.site-header.is-scrolled, .nav-open .site-header, .header-solid .site-header {
    background: rgba(255, 255, 255, .9); color: var(--ink);
    -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
    box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(11, 27, 54, .35);
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; color: inherit; }
.brand__mark { width: 40px; height: 40px; }
.brand__text { display: grid; line-height: 1.2; }
.brand__name { font-family: var(--font-head); font-weight: 800; font-size: 1.24rem; letter-spacing: -.01em; }
.brand__tag { font-size: .7rem; opacity: .72; font-weight: 500; letter-spacing: .01em; }
.brand__logo { height: 42px; width: auto; }
.brand-word { direction: ltr; font-family: 'Vazirmatn', sans-serif; font-weight: 600; letter-spacing: -.02em; }

.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__item { position: relative; }
.nav__link {
    position: relative; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding-inline: 14px; border-radius: 999px;
    border: 0; background: none; font-family: var(--font-head); font-weight: 600; font-size: .94rem; white-space: nowrap; opacity: .9;
    transition: opacity var(--t), background-color var(--t);
}
.nav__link .i { width: 16px; height: 16px; transition: transform var(--t) var(--ease); }
.nav__link:hover, .nav__item.is-open > .nav__link { opacity: 1; background: rgba(255, 255, 255, .09); }
.is-scrolled .nav__link:hover, .is-scrolled .nav__item.is-open > .nav__link, .header-solid .nav__link:hover, .header-solid .nav__item.is-open > .nav__link { background: var(--paper-2); }
.nav__link[aria-current="page"] { opacity: 1; }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; bottom: 4px; inset-inline: 16px; height: 2px; border-radius: 2px; background: var(--gold-500); }
.nav__item.is-open > .nav__link .i { transform: rotate(180deg); }

/* منوی بزرگ خدمات */
.mega {
    position: absolute; top: calc(100% + 14px); inset-inline-start: 50%; transform: translateX(50%) translateY(8px);
    width: min(760px, 92vw); padding: 18px; border-radius: var(--r-xl); background: #fff; color: var(--ink);
    box-shadow: var(--sh-3); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 6px;
    opacity: 0; visibility: hidden; transition: opacity var(--t), transform var(--t) var(--ease), visibility var(--t);
}
.mega--list { width: 280px; grid-template-columns: 1fr; }
.nav__item.is-open > .mega { opacity: 1; visibility: visible; transform: translateX(50%) translateY(0); }
@media (hover: hover) and (pointer: fine) {
    .nav__item--menu:hover > .mega { opacity: 1; visibility: visible; transform: translateX(50%) translateY(0); }
    .nav__item--menu:hover > .nav__link .i { transform: rotate(180deg); }
}
.mega::before { content: ""; position: absolute; inset-inline: 0; top: -16px; height: 16px; }
.mega__link { display: flex; align-items: flex-start; gap: 14px; padding: 14px; border-radius: var(--r); transition: background-color var(--t); }
.mega__link:hover { background: var(--paper); }
.mega__link:hover .ico { background: var(--blue-500); border-color: var(--blue-500); color: #fff; }
.mega__title { display: block; font-family: var(--font-head); font-weight: 700; font-size: .96rem; line-height: 1.7; }
.mega__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: .8rem; color: var(--ink-3); line-height: 1.75; }
.mega__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; padding: 14px 16px; border-radius: var(--r); background: var(--navy-900); color: var(--on-dark-2); font-size: .86rem; }
.mega__foot .link-arrow { color: var(--gold-300); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: none; }
.header-link { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding-inline: 12px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .9rem; opacity: .9; transition: background-color var(--t), opacity var(--t); }
.header-link:hover { opacity: 1; background: rgba(255, 255, 255, .09); }
.is-scrolled .header-link:hover, .header-solid .header-link:hover { background: var(--paper-2); }
.header-link .i { width: 19px; height: 19px; }
.header-logout { margin: 0; }
.nav-toggle {
    display: none; width: 46px; height: 46px; border-radius: 14px; place-items: center;
    border: 1px solid var(--glass-line); background: var(--glass); color: inherit;
}
.is-scrolled .nav-toggle, .nav-open .nav-toggle, .header-solid .nav-toggle { border-color: var(--line); background: #fff; }

/* کشوی موبایل */
.drawer { position: fixed; inset: 0; z-index: 90; visibility: hidden; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(7, 18, 38, .55); opacity: 0; transition: opacity var(--t); }
.drawer__panel {
    position: absolute; inset-block: 0; inset-inline-end: 0; width: min(380px, 88vw); display: flex; flex-direction: column; gap: 18px;
    padding: 20px; overflow-y: auto; background: var(--white); box-shadow: var(--sh-3);
    transform: translateX(-100%); transition: transform .45s var(--ease);
}
.nav-open .drawer { visibility: visible; }
.nav-open .drawer__backdrop { opacity: 1; }
.nav-open .drawer__panel { transform: none; }
.nav-open { overflow: hidden; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; color: var(--ink); }
.drawer__close { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; }
.drawer__nav { display: grid; }
.drawer__nav > a, .drawer__nav summary {
    display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 6px; border-bottom: 1px solid var(--line);
    font-family: var(--font-head); font-weight: 700; font-size: 1.02rem; cursor: pointer; list-style: none;
}
.drawer__nav summary::-webkit-details-marker { display: none; }
.drawer__nav details[open] summary .i { transform: rotate(180deg); }
.drawer__sub { display: grid; gap: 2px; padding: 8px 0 12px; }
.drawer__sub a { display: flex; align-items: center; gap: 10px; padding: 10px 8px; border-radius: var(--r-sm); color: var(--ink-2); font-weight: 600; }
.drawer__sub a:hover { background: var(--paper); }
.drawer__sub .i { color: var(--blue-500); width: 18px; height: 18px; }
.drawer__actions { display: grid; gap: 10px; margin-top: auto; }
.drawer__contact { display: grid; gap: 10px; padding: 16px; border-radius: var(--r); background: var(--paper); font-size: .9rem; }
.drawer__contact a { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.drawer__contact .i { color: var(--blue-500); width: 18px; height: 18px; }

/* ---------- ۷. سرصفحه‌ی صفحه‌های داخلی ---------- */
.page-hero { padding-block: calc(var(--header-h) + clamp(44px, 6vw, 84px)) clamp(56px, 7vw, 96px); }
.page-hero__inner { max-width: 820px; }
.page-hero--center .page-hero__inner { margin-inline: auto; text-align: center; }
.page-hero--center .crumbs ol { justify-content: center; }
.page-hero h1 { font-size: var(--fs-h1); margin-top: 18px; }
.page-hero__lead { margin-top: 18px; font-size: var(--fs-lead); color: var(--on-dark-2); line-height: 2.05; max-width: 680px; }
.page-hero--center .page-hero__lead { margin-inline: auto; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.page-hero--center .page-hero__actions { justify-content: center; }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 22px; font-size: .88rem; color: var(--on-dark-2); }
.page-hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.page-hero__meta .i { width: 17px; height: 17px; color: var(--gold-400); }
.page-hero--compact { padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero__center { max-width: 860px; text-align: center; }
.page-hero__center .crumbs ol, .page-hero__center .page-hero__actions { justify-content: center; }
.page-hero__center .page-hero__lead, .page-hero__center .search-box { margin-inline: auto; }
.wrap.page-hero__center { max-width: calc(860px + var(--gutter) * 2); }
.container--narrow { max-width: calc(860px + var(--gutter) * 2); }

.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .84rem; color: var(--on-dark-3); }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-500); opacity: .7; }
.crumbs a { color: var(--on-dark-2); transition: color var(--t); }
.crumbs a:hover { color: #fff; }
.crumbs [aria-current="page"] { color: #fff; font-weight: 600; }

/* جست‌وجو در سرصفحه */
.search-box { display: flex; align-items: center; gap: 10px; max-width: 620px; margin-top: 30px; padding: 7px 7px 7px 7px; padding-inline-start: 20px; border-radius: 999px; background: #fff; box-shadow: var(--sh-3); }
.page-hero--center .search-box { margin-inline: auto; }
.search-box > .i { color: var(--ink-3); }
.search-box input { flex: 1; min-width: 0; height: 46px; border: 0; outline: none; background: transparent; color: var(--ink); }
.search-box input::placeholder { color: var(--ink-4); }
.search-box .btn { --btn-h: 46px; }

/* ---------- ۸. قهرمان صفحه‌ی اول ---------- */
.hero { padding-block: calc(var(--header-h) + clamp(40px, 6vw, 88px)) clamp(64px, 8vw, 120px); }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(40px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: var(--fs-display); line-height: 1.3; margin-top: 22px; }
.hero__lead { margin-top: 24px; max-width: 590px; font-size: var(--fs-lead); line-height: 2.1; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; }
.hero__pills li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); font-size: .84rem; font-weight: 600; color: var(--on-dark-2); }
.hero__pills .i { width: 16px; height: 16px; color: var(--gold-400); }

/* «تخته‌ی استودیو»: ترکیب برند، سایت، سئو و محتوا — بدون تصویر، فقط HTML/SVG */
.studio { position: relative; min-height: 520px; }
.studio__card {
    position: absolute; border-radius: var(--r-lg); background: rgba(255, 255, 255, .97); color: var(--ink);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .5);
}
.studio__browser { inset-inline: 4% 0; top: 6%; overflow: hidden; }
.studio__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-c); background: var(--paper); direction: ltr; }
.studio__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.studio__bar span:first-child { background: #E8A598; }
.studio__bar span:nth-child(2) { background: var(--gold-300); }
.studio__bar em { margin-inline-start: 10px; flex: 1; height: 22px; border-radius: 999px; background: #fff; border: 1px solid var(--line-c); font-style: normal; font-size: .66rem; color: var(--ink-4); display: flex; align-items: center; padding-inline: 10px; }
.studio__page { padding: 18px 20px 22px; display: grid; gap: 14px; }
.studio__nav { display: flex; align-items: center; justify-content: space-between; }
.studio__nav i { display: block; height: 8px; border-radius: 4px; background: var(--line-c); }
.studio__hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; align-items: center; }
.studio__lines { display: grid; gap: 8px; }
.studio__lines i { display: block; height: 10px; border-radius: 5px; background: var(--line-c); }
.studio__lines i:first-child { height: 16px; width: 92%; background: var(--navy-900); }
.studio__lines i:nth-child(2) { height: 16px; width: 70%; background: var(--blue-500); }
.studio__cta { margin-top: 6px; width: 46%; height: 26px; border-radius: 999px; background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); }
.studio__art { aspect-ratio: 1.2; border-radius: 14px; background: linear-gradient(140deg, var(--navy-800), var(--blue-600)); position: relative; overflow: hidden; }
.studio__art::after { content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; inset-inline-end: -12%; bottom: -24%; background: radial-gradient(circle, var(--gold-400), transparent 70%); opacity: .85; }
.studio__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.studio__tiles i { display: block; height: 46px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line-c); }

.studio__brand { width: 220px; padding: 16px; inset-inline-start: -2%; top: 52%; }
.studio__label { display: flex; align-items: center; gap: 8px; font-family: var(--font-head); font-size: .74rem; font-weight: 700; color: var(--ink-3); }
.studio__label .i { width: 15px; height: 15px; color: var(--blue-500); }
.studio__swatches { display: flex; gap: 6px; margin-top: 12px; }
.studio__swatches span { flex: 1; height: 34px; border-radius: 9px; }
.studio__type { display: flex; align-items: baseline; justify-content: space-between; margin-top: 12px; font-family: var(--font-head); }
.studio__type b { font-size: 1.9rem; line-height: 1; color: var(--navy-900); }
.studio__type small { font-size: .7rem; color: var(--ink-3); }

.studio__seo { width: 230px; padding: 16px; inset-inline-end: -3%; bottom: 2%; }
.studio__seo strong { display: block; margin-top: 4px; font-family: var(--font-head); font-size: 1.5rem; color: var(--ok); line-height: 1.3; }
.studio__seo svg { width: 100%; height: 56px; margin-top: 6px; }
.studio__seo path.line { fill: none; stroke: var(--blue-500); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.studio__seo path.area { fill: url(#seoFill); stroke: none; }

.studio__post { width: 210px; padding: 12px; inset-inline-start: 26%; bottom: -4%; display: flex; gap: 10px; align-items: center; }
.studio__post span { flex: none; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: var(--gold-50); color: var(--gold-600); }
.studio__post span .i { width: 20px; height: 20px; }
.studio__post b { display: block; font-family: var(--font-head); font-size: .8rem; line-height: 1.6; }
.studio__post small { font-size: .7rem; color: var(--ink-3); }
.studio__float { animation: float 8s ease-in-out infinite; }
.studio__float--b { animation-delay: -2.6s; }
.studio__float--c { animation-delay: -5.2s; }

/* نوار تخصص‌ها زیر قهرمان */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: var(--white); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee__item { display: inline-flex; align-items: center; gap: 14px; padding: 22px 30px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--ink-2); white-space: nowrap; }
.marquee__item .i { width: 20px; height: 20px; color: var(--gold-500); }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- ۹. کارت‌ها ---------- */
.card { position: relative; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-1); }
.has-link { position: relative; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }

/* خدمت */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.svc {
    position: relative; display: flex; flex-direction: column; gap: 16px; padding: 30px 28px; border-radius: var(--r-xl);
    background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-1); overflow: hidden; isolation: isolate;
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t);
}
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(420px circle at 100% 0%, rgba(37, 99, 235, .08), transparent 60%); opacity: 0; transition: opacity var(--t); }
.svc:hover { transform: translateY(-6px); box-shadow: var(--sh-2); border-color: var(--blue-100); }
.svc:hover::before { opacity: 1; }
.svc:hover .ico { background: var(--blue-500); border-color: var(--blue-500); color: #fff; transform: rotate(-6deg); }
.svc__num { position: absolute; top: 24px; inset-inline-end: 26px; font-family: var(--font-head); font-weight: 800; font-size: .82rem; color: var(--ink-4); }
.svc h3 { font-size: var(--fs-h3); }
.svc p { color: var(--ink-2); font-size: .95rem; line-height: 1.95; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc .link-arrow { margin-top: auto; padding-top: 4px; }
/* خدمت برجسته (کارت تیره) */
.svc--feature { grid-column: span 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.svc--feature::before { opacity: 1; background: radial-gradient(520px circle at 0% 100%, rgba(198, 161, 91, .22), transparent 60%), radial-gradient(420px circle at 100% 0%, rgba(37, 99, 235, .35), transparent 60%); }
.svc--feature p { color: var(--on-dark-2); }
.svc--feature .ico { background: var(--glass); border-color: var(--glass-line); color: var(--gold-300); }
.svc--feature .link-arrow { color: var(--gold-300); }
.svc--feature .tag { background: var(--glass); border-color: var(--glass-line); color: var(--on-dark-2); }
.svc--feature .svc__num { color: var(--on-dark-3); }
.svc--feature__body { display: flex; flex-direction: column; gap: 16px; }

/* ویژگی (فهرست با آیکن) */
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature { display: flex; gap: 16px; padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.feature h3 { font-size: 1.04rem; }
.feature p { margin-top: 6px; font-size: .92rem; color: var(--ink-2); line-height: 1.95; }
.on-dark .feature, .feature--dark { background: var(--glass); border-color: var(--glass-line); }
.on-dark .feature p, .feature--dark p { color: var(--on-dark-2); }

/* گام‌های روند */
.steps { display: grid; grid-template-columns: repeat(var(--steps, 5), 1fr); gap: 18px; counter-reset: step; position: relative; }
.step { position: relative; padding: 26px 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.step__num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-family: var(--font-head); font-weight: 800; background: var(--navy-900); color: var(--gold-300); }
.step h3 { margin-top: 18px; font-size: 1.05rem; }
.step p { margin-top: 8px; font-size: .9rem; color: var(--ink-2); line-height: 1.9; }
.on-dark .step { background: var(--glass); border-color: var(--glass-line); }
.on-dark .step p { color: var(--on-dark-2); }
.on-dark .step__num { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--navy-950); }

/* آمار */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; border-radius: var(--r-xl); overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.stat { padding: 30px 24px; background: var(--white); text-align: center; }
.stat__value { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); line-height: 1.2; color: var(--navy-900); }
.stat__label { display: block; margin-top: 6px; font-size: .9rem; color: var(--ink-3); }
.on-dark .stats { background: var(--glass-line); border-color: var(--glass-line); }
.on-dark .stat { background: var(--navy-900); }
.on-dark .stat__value { color: var(--gold-300); }
.on-dark .stat__label { color: var(--on-dark-2); }

/* مطلب وبلاگ */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--paper-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 22px 24px 24px; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: .8rem; color: var(--ink-3); }
.post-card__meta time { display: inline-flex; align-items: center; gap: 6px; }
.post-card__meta .i { width: 15px; height: 15px; }
.post-card h3 { font-size: 1.12rem; line-height: 1.75; }
.post-card h3 a { transition: color var(--t); }
.post-card:hover h3 a { color: var(--blue-600); }
.post-card p { color: var(--ink-2); font-size: .92rem; line-height: 1.95; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .84rem; 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: 340px; }
.post-card--featured .post-card__body { padding: clamp(24px, 4vw, 44px); justify-content: center; }
.post-card--featured h3 { font-size: var(--fs-h3); font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem); }

/* نمونه‌کار */
.cases-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cases-grid--3 { grid-template-columns: repeat(3, 1fr); }
.case-card { display: flex; flex-direction: column; border-radius: var(--r-xl); overflow: hidden; background: var(--white); border: 1px solid var(--line); transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--sh-2); }
.case-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(140deg, var(--navy-800), var(--blue-600)); }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.case-card:hover .case-card__media img { transform: scale(1.05); }
.case-card__chip { position: absolute; top: 16px; inset-inline-start: 16px; }
.case-card__body { display: flex; flex-direction: column; gap: 12px; flex: 1; padding: 24px; }
.case-card__client { font-size: .84rem; font-weight: 700; color: var(--blue-600); }
.case-card h3 { font-size: 1.2rem; line-height: 1.7; }
.case-card p { color: var(--ink-2); font-size: .92rem; line-height: 1.95; }
.case-card__metrics { display: flex; flex-wrap: wrap; gap: 18px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.case-card__metrics strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--navy-900); }
.case-card__metrics span { font-size: .78rem; color: var(--ink-3); }
.is-filtered-out { display: none !important; }

/* نظر مشتری */
.quote-card { display: flex; flex-direction: column; gap: 18px; padding: 30px; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); min-width: min(380px, 84vw); scroll-snap-align: start; }
.quote-card blockquote { margin: 0; font-size: 1rem; line-height: 2.05; color: var(--ink-2); }
.quote-card__mark { width: 34px; height: 34px; color: var(--gold-500); }
.quote-card__who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-card__avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; background: var(--navy-900); color: var(--gold-300); font-weight: 800; font-size: .86rem; }
.quote-card__avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote-card__who strong { display: block; font-family: var(--font-head); font-size: .96rem; }
.quote-card__who small { color: var(--ink-3); font-size: .8rem; }
.stars { display: inline-flex; gap: 2px; color: var(--gold-500); }
.stars .i { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.slider { position: relative; }
.slider__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-bottom: 8px; scrollbar-width: none; }
.slider__track::-webkit-scrollbar { display: none; }
.slider__nav { display: flex; gap: 10px; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line-2); background: var(--white); 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.is-copied { background: var(--ok); border-color: var(--ok); color: #fff; }

/* پرسش‌های متداول (details/summary) */
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: border-color var(--t), box-shadow var(--t); }
.faq__item[open] { border-color: var(--blue-100); box-shadow: var(--sh-1); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.8; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__toggle { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink-2); transition: all var(--t) var(--ease); }
.faq__toggle .i { width: 16px; height: 16px; }
.faq__item[open] .faq__toggle { background: var(--navy-900); color: var(--gold-300); transform: rotate(45deg); }
.faq__answer { padding: 0 22px 22px; color: var(--ink-2); line-height: 2; font-size: .95rem; }
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 16px; }
.faq-aside h2 { font-size: var(--fs-h2); }

/* تیم */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.member { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 32px 24px; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); text-align: center; transition: transform var(--t) var(--ease), box-shadow var(--t); }
.member:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.member__avatar { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--gold-300); background: linear-gradient(140deg, var(--navy-800), var(--blue-700)); box-shadow: 0 0 0 6px var(--gold-50); }
.member h3 { margin-top: 8px; font-size: 1.08rem; }
.member p { font-size: .9rem; color: var(--ink-2); }

/* فراخوان پایانی */
.cta-band { position: relative; border-radius: var(--r-xl); padding: clamp(36px, 6vw, 72px); overflow: hidden; }
.cta-band__grid { display: grid; grid-template-columns: 1.3fr auto; gap: 28px 48px; align-items: center; }
.cta-band h2 { font-size: var(--fs-h2); }
.cta-band p { margin-top: 14px; max-width: 620px; }
.cta-band__actions { display: grid; gap: 14px; justify-items: start; }
.cta-band__phone { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--on-dark-2); }
.cta-band__phone strong { color: #fff; direction: ltr; }
.cta-band__phone .i { width: 18px; height: 18px; color: var(--gold-400); }

/* سطح خالی */
.empty { display: grid; justify-items: center; gap: 12px; padding: clamp(40px, 7vw, 80px) 20px; border-radius: var(--r-xl); border: 1.5px dashed var(--line-2); background: var(--white); text-align: center; }
.empty > .i { width: 54px; height: 54px; padding: 13px; border-radius: 16px; background: var(--paper-2); color: var(--ink-3); }
.empty h2 { font-size: 1.25rem; }
.empty p { max-width: 460px; color: var(--ink-2); }

/* صفحه‌بندی */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 48px; }
.pager a, .pager span { min-width: 46px; height: 46px; padding-inline: 10px; display: inline-grid; place-items: center; border-radius: 14px; border: 1.5px solid var(--line); background: var(--white); font-weight: 700; transition: all var(--t) var(--ease); }
.pager a:hover { border-color: var(--navy-900); }
.pager [aria-current="page"] { 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; }

/* پیام‌ها */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--r); font-size: .93rem; line-height: 1.95; border: 1px solid transparent; }
.notice > .i { flex: none; width: 22px; height: 22px; margin-top: 3px; }
.notice h4 { font-size: .98rem; margin-bottom: 2px; }
.notice ul { padding-inline-start: 18px; list-style: disc; }
.notice a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.notice--ok { background: var(--ok-50); color: #0A5F44; border-color: #BFE7D6; }
.notice--err { background: var(--err-50); color: #8E2A22; border-color: #F5C9C4; }
.notice--info { background: var(--blue-50); color: var(--blue-700); border-color: var(--blue-100); }
.notice--gold { background: var(--gold-50); color: var(--gold-700); border-color: var(--gold-100); }

/* ---------- ۱۰. پانویس ---------- */
.site-footer { position: relative; padding-top: clamp(64px, 8vw, 104px); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px 32px; padding-bottom: 48px; }
.footer-brand p { margin-top: 18px; max-width: 360px; font-size: .92rem; line-height: 2.05; color: var(--on-dark-2); }
.footer-col h3 { font-size: .96rem; color: #fff; margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--on-dark-2); font-size: .92rem; transition: color var(--t), padding var(--t) var(--ease); }
.footer-links a:hover { color: var(--gold-300); padding-inline-start: 4px; }
.footer-contact { display: grid; gap: 14px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--on-dark-2); line-height: 1.9; }
.footer-contact .i { width: 18px; height: 18px; margin-top: 5px; color: var(--gold-400); }
.footer-contact a:hover { color: #fff; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--glass-line); color: var(--on-dark-2); transition: all var(--t) var(--ease); }
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); transform: translateY(-2px); }
.socials .i { width: 19px; height: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 24px; border-top: 1px solid var(--glass-line); font-size: .84rem; color: var(--on-dark-3); }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a { color: var(--on-dark-2); }
.footer-bottom a:hover { color: #fff; }
.footer-reg { display: inline-block; margin-inline-start: 10px; opacity: .85; }

/* ---------- ۱۱. فرم‌ها ---------- */
.form-card { padding: clamp(24px, 4vw, 44px); border-radius: var(--r-xl); background: var(--white); 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-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--ink); }
.field .req { color: var(--gold-600); }
.input {
    width: 100%; height: 54px; padding-inline: 16px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--paper);
    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='%2366718A' 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: var(--ink-4); }
.input:hover { border-color: #C4BBA9; }
.input:focus { border-color: var(--blue-500); background: #fff; box-shadow: 0 0 0 4px rgba(37, 99, 235, .13); }
.input[dir="ltr"] { text-align: right; }
.input.is-invalid, .input.input-validation-error, .field.has-error .input { border-color: var(--err); background: #FFF9F8; }
.input.is-valid { border-color: var(--ok); }
.field-error, .invalid-feedback { font-size: .82rem; color: var(--err); line-height: 1.7; }
.field-error:empty { display: none; }
.field-help, .form-note-text { font-size: .82rem; color: var(--ink-3); line-height: 1.8; }
.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); background: #fff; }
.check-chip span .i { width: 16px; height: 16px; display: none; }
.check-chip input:checked + span { border-color: var(--blue-500); background: var(--blue-50); color: var(--blue-700); }
.check-chip input:checked + span .i { display: block; }
.check-chip input:focus-visible + span { outline: 3px solid var(--blue-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(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.form-alert { margin-top: 22px; padding: 14px 16px; border-radius: 14px; background: var(--err-50); border: 1px solid #F5C9C4; color: #8E2A22; 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; }
.site-form__group { border: 0; padding: 0; margin: 0; min-width: 0; }
.site-form__group > legend { font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 8px; padding: 0; }
.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(--blue-500); }
.form-success { text-align: center; padding: 24px 8px; }
.form-success__icon { width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-50); color: var(--ok); box-shadow: 0 0 0 10px rgba(14, 143, 100, .07); }
.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(--blue-50); color: var(--blue-700); font-size: .9rem; border: 1px solid var(--blue-100); }
.form-note .i { flex: none; width: 18px; height: 18px; margin-top: 4px; }

/* کارت‌های راه ارتباطی */
.info-cards { display: grid; gap: 14px; }
.info-card { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: all var(--t) var(--ease); }
a.info-card:hover { border-color: var(--blue-200); transform: translateY(-2px); box-shadow: var(--sh-1); }
.info-card small { display: block; color: var(--ink-3); font-size: .8rem; }
.info-card strong { display: block; font-family: var(--font-head); font-weight: 700; line-height: 1.7; }
.info-card__arrow { margin-inline-start: auto; color: var(--ink-4); width: 20px; height: 20px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }

/* ---------- ۱۲. متن بلند (مقاله و صفحه‌ها) ---------- */
.prose { font-size: 1.06rem; line-height: 2.15; color: var(--ink-2); overflow-wrap: break-word; }
.prose > * + * { margin-top: 1.15em; }
.prose h2, .prose h3, .prose h4 { color: var(--ink); scroll-margin-top: calc(var(--header-h) + 24px); }
.prose h2 { font-size: clamp(1.35rem, 1.2rem + .7vw, 1.75rem); margin-top: 2em; }
.prose h3 { font-size: clamp(1.15rem, 1.08rem + .4vw, 1.35rem); margin-top: 1.7em; }
.prose h4 { font-size: 1.08rem; margin-top: 1.5em; }
.prose a { color: var(--blue-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.prose a:hover { color: var(--blue-700); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-inline-start: 1.4em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .5em; }
.prose li::marker { color: var(--gold-500); }
.prose blockquote { margin-inline: 0; padding: 18px 24px; border-inline-start: 4px solid var(--gold-500); border-radius: 0 var(--r) var(--r) 0; background: var(--gold-50); color: var(--ink); font-weight: 500; }
.prose img { border-radius: var(--r-lg); margin-inline: auto; }
.prose figure figcaption { margin-top: 10px; text-align: center; font-size: .85rem; color: var(--ink-3); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 12px 14px; border: 1px solid var(--line); text-align: start; }
.prose th { background: var(--paper-2); color: var(--ink); }
.prose code { padding: 2px 7px; border-radius: 6px; background: var(--paper-2); font-size: .9em; direction: ltr; unicode-bidi: embed; }
.prose pre { padding: 18px; border-radius: var(--r); background: var(--navy-950); color: #E5ECF8; overflow-x: auto; direction: ltr; text-align: left; line-height: 1.7; }
.prose pre code { background: none; padding: 0; color: inherit; }
.prose hr { border: 0; height: 1px; background: var(--line); margin-block: 2.4em; }
.prose iframe, .prose video { max-width: 100%; border-radius: var(--r-lg); }

/* صفحه‌ی مقاله */
.article { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.article__cover { margin-top: calc(clamp(56px, 7vw, 96px) * -1); position: relative; z-index: 2; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-3); aspect-ratio: 16 / 8; background: var(--paper-2); }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 18px; }
.aside-card { padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.aside-card h3 { font-size: .98rem; margin-bottom: 12px; }
.toc { display: grid; gap: 2px; counter-reset: toc; }
.toc a { display: block; padding: 7px 10px; border-radius: var(--r-xs); font-size: .88rem; color: var(--ink-2); line-height: 1.8; border-inline-start: 2px solid transparent; transition: all var(--t); }
.toc a:hover { background: var(--paper); color: var(--ink); border-inline-start-color: var(--gold-500); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.share { display: flex; gap: 8px; }
.author-box { display: flex; gap: 16px; align-items: center; margin-top: 48px; padding: 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.author-box__avatar { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-900); color: var(--gold-300); font-family: var(--font-head); font-weight: 800; }
.author-box small { color: var(--ink-3); font-size: .8rem; }
.author-box strong { display: block; font-family: var(--font-head); font-size: 1.02rem; }

/* دیدگاه‌ها */
.comments { margin-top: 56px; }
.comments h2 { font-size: 1.4rem; display: flex; align-items: center; gap: 10px; }
.comment-list { display: grid; gap: 16px; margin-top: 24px; }
.comment { padding: 20px 22px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); }
.comment__head { display: flex; align-items: center; gap: 12px; }
.comment__avatar { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-700); font-weight: 800; font-size: .82rem; }
.comment__head strong { font-family: var(--font-head); font-size: .95rem; }
.comment__head time { display: block; font-size: .78rem; color: var(--ink-3); }
.comment__body { margin-top: 12px; color: var(--ink-2); line-height: 2; font-size: .95rem; white-space: pre-line; }
.comment__reply { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; padding: 0; font-weight: 700; font-size: .84rem; color: var(--blue-600); }
.comment__reply .i { width: 16px; height: 16px; }
.comment__children { display: grid; gap: 12px; margin-top: 14px; padding-inline-start: clamp(14px, 3vw, 32px); border-inline-start: 2px solid var(--line); }
.comment-form { margin-top: 28px; }
.reply-to { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-radius: var(--r-sm); background: var(--blue-50); color: var(--blue-700); font-size: .88rem; }
.reply-to button { border: 0; background: none; font-weight: 700; color: inherit; text-decoration: underline; }

/* ---------- ۱۳. خدمت و نمونه‌کار ---------- */
.deliverables { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.deliverable { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line); transition: transform var(--t) var(--ease), box-shadow var(--t); }
.deliverable:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.deliverable h3 { font-size: 1.04rem; }
.deliverable p { font-size: .92rem; color: var(--ink-2); line-height: 1.95; }
.check-list { display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.9; }
.check-list .i { flex: none; width: 22px; height: 22px; padding: 3px; margin-top: 3px; border-radius: 50%; background: var(--gold-50); color: var(--gold-600); stroke-width: 2.4; }
.on-dark .check-list .i { background: rgba(198, 161, 91, .16); color: var(--gold-300); }
.outcomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.outcome { padding: 22px; border-radius: var(--r-lg); background: var(--glass); border: 1px solid var(--glass-line); }
.outcome strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--gold-300); line-height: 1.3; }
.outcome span { font-size: .86rem; color: var(--on-dark-2); }
.sticky-card { position: sticky; top: calc(var(--header-h) + 24px); }
.media-frame { border-radius: var(--r-xl); overflow: hidden; background: var(--paper-2); box-shadow: var(--sh-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery img { border-radius: var(--r-lg); width: 100%; height: 100%; object-fit: cover; }
.case-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.case-facts div { padding: 14px 16px; border-radius: var(--r); background: var(--paper); border: 1px solid var(--line); }
.case-facts small { display: block; font-size: .78rem; color: var(--ink-3); }
.case-facts strong { font-family: var(--font-head); font-size: .95rem; }

/* نوار اینستاگرام نمونه‌کار (Site/_InstagramButton) */
.ig-btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding-inline: 18px; border-radius: 999px; background: var(--navy-900); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .9rem; transition: all var(--t) var(--ease); }
.ig-btn:hover { background: var(--blue-600); transform: translateY(-2px); }
.ig-btn .i { width: 20px; height: 20px; color: var(--gold-300); }

/* ---------- ۱۴. درباره‌ی ما ---------- */
.org-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.org-facts li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); }
.org-facts__wide { grid-column: 1 / -1; }
.org-facts small { display: block; font-size: .78rem; color: var(--ink-3); }
.org-facts strong { display: block; font-family: var(--font-head); font-weight: 700; line-height: 1.85; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.mission { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mission__card { padding: clamp(26px, 4vw, 40px); border-radius: var(--r-xl); }
.mission__card h3 { font-size: 1.3rem; margin-top: 18px; }
.mission__card p { margin-top: 10px; line-height: 2.05; }
.about-art { position: relative; aspect-ratio: 1 / 1.05; border-radius: var(--r-xl); overflow: hidden; }
.about-art__inner { position: absolute; inset: 0; display: grid; place-items: center; }
.about-art__mark { width: 52%; color: #fff; }
.about-art__badge { position: absolute; inset-inline-start: 22px; bottom: 22px; padding: 16px 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: var(--sh-3); }
.about-art__badge strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--navy-900); line-height: 1.2; }
.about-art__badge span { font-size: .82rem; color: var(--ink-3); }

/* ---------- ۱۵. خطا ---------- */
.error-page { min-height: 78vh; display: grid; place-items: center; text-align: center; padding-block: calc(var(--header-h) + 60px) 80px; }
.error-page__code { font-family: var(--font-head); font-weight: 900; font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: 1; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .25)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.error-page h1 { font-size: var(--fs-h2); margin-top: 18px; }
.error-page p { color: var(--on-dark-2); margin-top: 12px; max-width: 520px; margin-inline: auto; }
.error-page__line { display: block; width: min(520px, 90%); height: 80px; margin: 6px auto 0; fill: none; stroke: var(--gold-400); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 2.2s .3s var(--ease) forwards; }
.legal__updated { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--paper-2); color: var(--ink-3); font-size: .85rem; }
.legal__updated .i { width: 16px; height: 16px; }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* ---------- ۱۶. ماشین‌حساب قیمت ----------
   آبی برای انتخاب و شفافیت (اعتماد)، کارت برآورد سرمه‌ای (جدیت عدد نهایی)، طلایی فقط روی دکمه‌ی
   ثبت درخواست (تنها اقدام اصلی) و نشان «پرطرفدار» طلایی کم‌رنگ. */
.calc__layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; grid-template-areas: "groups summary" "request summary"; gap: 28px 32px; align-items: start; }
.calc__groups { grid-area: groups; display: grid; gap: 22px; }
.calc__summary { grid-area: summary; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
.calc__request { grid-area: request; }
.calc__title { font-size: 1.45rem; }
.calc__intro { color: var(--ink-2); margin: 8px 0 24px; line-height: 2; }
.calc-group { margin: 0; min-width: 0; padding: clamp(18px, 2.4vw, 26px); border: 1px solid var(--line); border-radius: var(--r-xl); background: var(--white); box-shadow: var(--sh-1); }
.calc-group__head { float: inline-start; width: 100%; padding: 0; display: flex; align-items: center; gap: 14px; }
.calc-group__num { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; background: var(--navy-900); color: var(--gold-300); }
.calc-group__title { display: block; font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; line-height: 1.6; color: var(--ink); }
.calc-group__hint { display: block; font-size: .82rem; color: var(--ink-3); }
.calc-group__desc { clear: both; padding-top: 12px; color: var(--ink-2); font-size: .93rem; line-height: 1.9; }
.calc-options { clear: both; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; padding-top: 18px; }
.calc-option { position: relative; display: flex; cursor: pointer; }
.calc-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.calc-option__card { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--r-lg); background: var(--white); transition: border-color var(--t), background var(--t), box-shadow var(--t), transform var(--t) var(--ease); }
.calc-option:hover .calc-option__card { border-color: var(--blue-200); box-shadow: var(--sh-1); transform: translateY(-2px); }
.calc-option__top { display: flex; align-items: flex-start; gap: 10px; }
.calc-option__check { flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line-2); color: #fff; transition: all var(--t); }
.calc-option input[type="checkbox"] + .calc-option__card .calc-option__check { border-radius: 8px; }
.calc-option__check .i { width: 14px; height: 14px; opacity: 0; transform: scale(.6); transition: all var(--t) var(--ease); stroke-width: 3; }
.calc-option__title { font-family: var(--font-head); font-weight: 700; line-height: 1.7; color: var(--ink); }
.calc-option__badge { margin-inline-start: auto; flex: none; font-size: .72rem; font-weight: 800; padding: .15rem .65rem; border-radius: 999px; background: var(--gold-50); color: var(--gold-700); border: 1px solid var(--gold-100); white-space: nowrap; }
.calc-option__desc { font-size: .88rem; color: var(--ink-2); line-height: 1.85; }
.calc-option__features { display: grid; gap: 6px; }
.calc-option__features > span { display: flex; align-items: flex-start; gap: 8px; font-size: .85rem; color: var(--ink-2); line-height: 1.8; }
.calc-option__features .i { flex: none; width: 15px; height: 15px; margin-top: 5px; color: var(--blue-500); }
.calc-option__foot { margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--line-2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; }
.calc-option__price { font-family: var(--font-head); font-weight: 800; color: var(--navy-900); font-size: .98rem; }
.calc-option__requires { display: inline-flex; align-items: center; gap: 5px; font-size: .78rem; color: var(--ink-3); }
.calc-option__requires .i { width: 13px; height: 13px; }
.calc-option--none .calc-option__card { border-style: dashed; justify-content: center; padding-block: 14px; }
.calc-option--none .calc-option__title { font-weight: 600; color: var(--ink-2); }
.calc-option input:checked + .calc-option__card { border-color: var(--blue-500); background: var(--blue-50); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.calc-option input:checked + .calc-option__card .calc-option__check { background: var(--blue-500); border-color: var(--blue-500); }
.calc-option input:checked + .calc-option__card .calc-option__check .i { opacity: 1; transform: none; }
.calc-option input:focus-visible + .calc-option__card { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.calc-option.is-locked { cursor: not-allowed; }
.calc-option.is-locked .calc-option__card { opacity: .55; border-style: dashed; background: var(--paper); box-shadow: none; transform: none; }
.calc-option.is-locked .calc-option__requires { color: var(--warn); font-weight: 700; }
.calc-summary { position: relative; overflow: hidden; isolation: isolate; padding: 26px; border-radius: var(--r-xl); background: var(--navy-900); color: #fff; box-shadow: var(--sh-3); }
.calc-summary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(320px circle at 100% 0%, rgba(37, 99, 235, .35), transparent 60%), radial-gradient(260px circle at 0% 100%, rgba(198, 161, 91, .18), transparent 60%); }
.calc-summary h3 { display: flex; align-items: center; gap: 10px; font-size: 1.08rem; }
.calc-summary h3 .i { color: var(--gold-300); }
.calc-summary__lines { display: grid; margin-top: 14px; }
.calc-summary__lines li { display: flex; justify-content: space-between; gap: 12px; padding-block: 9px; border-bottom: 1px dashed var(--glass-line); font-size: .9rem; color: var(--on-dark-2); line-height: 1.7; }
.calc-summary__lines li span:last-child { flex: none; color: #fff; font-weight: 700; }
.calc-summary__empty { margin-top: 14px; font-size: .88rem; color: var(--on-dark-3); }
.calc-summary__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--glass-line); }
.calc-summary__total span { color: var(--on-dark-2); font-size: .92rem; }
.calc-summary__total strong { font-family: var(--font-head); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); font-weight: 800; color: var(--gold-300); line-height: 1.4; text-align: end; }
.calc-summary__note { display: flex; gap: 8px; margin-top: 12px; font-size: .8rem; line-height: 1.9; color: var(--on-dark-3); }
.calc-summary__note .i { flex: none; width: 16px; height: 16px; margin-top: 4px; }
.calc-summary .btn { margin-top: 18px; }
.calc__request { padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-2); scroll-margin-top: calc(var(--header-h) + 16px); }
.calc__request h3 { font-size: 1.3rem; }
.calc__request > p { margin-top: 8px; color: var(--ink-2); font-size: .93rem; line-height: 1.9; }
.calc-success { padding: 40px 16px; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-2); }
.calc-bar { position: fixed; inset-inline: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 18px; border-radius: 18px; background: rgba(11, 27, 54, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; box-shadow: var(--sh-3); transform: translateY(160%); transition: transform var(--t) var(--ease); }
.calc-bar.is-visible { transform: none; }
.calc-bar__label { font-size: .8rem; color: var(--on-dark-2); }
.calc-bar strong { margin-inline-end: auto; color: var(--gold-300); font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; }
.calc--compact .calc__layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "groups" "summary" "request"; }
.calc--compact .calc__summary { position: static; }
.calc-preset { display: flex; align-items: flex-start; gap: 12px; padding: 14px 18px; margin-bottom: 22px; border-radius: var(--r); background: var(--blue-50); border: 1px solid var(--blue-100); }
.calc-preset .i { flex: none; width: 20px; height: 20px; margin-top: 4px; color: var(--blue-600); }
.calc-preset p { margin: 0; color: var(--ink-2); font-size: .93rem; line-height: 1.9; }
.calc-preset strong { color: var(--blue-700); }
.prose .calc, .prose .pkgs, .prose .site-form { margin-block: 36px; font-size: 1rem; line-height: 1.9; }
.prose .calc ul, .prose .pkgs ul { list-style: none; padding: 0; }
.prose .calc li + li, .prose .pkgs li + li { margin-top: 0; }
.prose .calc h2, .prose .calc h3, .prose .pkgs h2, .prose .pkgs h3, .prose .site-form h2 { margin-top: 0; }
.prose .calc label, .prose .calc legend, .prose .pkgs label, .prose .pkgs legend, .prose .site-form label, .prose .site-form legend { margin: 0; }
.prose .pkgs table { display: table; }
@media (min-width: 1024px) { .calc:not(.calc--compact) .calc-bar { display: none; } }

/* ---------- ۱۷. پکیج‌ها (جدول قیمت) ----------
   کارت‌ها سفید و آرام؛ پکیج برجسته سرمه‌ای با قیمت و دکمه‌ی طلایی تا چشم به پیشنهاد اصلی برسد. */
.pkgs__title { font-size: 1.45rem; }
.pkgs__intro { color: var(--ink-2); margin: 8px 0 28px; line-height: 2; }
.pkgs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; align-items: stretch; padding-top: 14px; }
.pkg { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 32px 26px 26px; border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-1); transition: transform var(--t) var(--ease), box-shadow var(--t), border-color var(--t); }
.pkg:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--blue-100); }
.pkg.is-chosen { border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(37, 99, 235, .16), var(--sh-2); }
.pkg__badge { position: absolute; top: -13px; inset-inline-start: 24px; font-size: .75rem; font-weight: 800; padding: .25rem .85rem; border-radius: 999px; background: var(--gold-50); color: var(--gold-700); border: 1px solid var(--gold-100); white-space: nowrap; }
.pkg__name { font-family: var(--font-head); font-size: 1.15rem; font-weight: 800; line-height: 1.6; }
.pkg__tagline { color: var(--ink-2); font-size: .9rem; line-height: 1.85; margin-top: -6px; }
.pkg__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding-block: 16px; border-block: 1px dashed var(--line-2); }
.pkg__price strong { font-family: var(--font-head); font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); font-weight: 900; line-height: 1.1; color: var(--navy-900); }
.pkg__price-prefix { font-weight: 700; color: var(--ink-3); }
.pkg__price-unit { font-weight: 700; color: var(--ink-2); }
.pkg__price-period { font-size: .85rem; color: var(--ink-3); }
.pkg__items { display: grid; gap: 10px; }
.pkg__items li { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; line-height: 1.8; color: var(--ink-2); }
.pkg__items .i { flex: none; width: 17px; height: 17px; margin-top: 5px; color: var(--blue-500); }
.pkg__items strong { color: var(--ink); }
.pkg__more { font-size: .85rem; font-weight: 700; color: var(--blue-600); text-decoration: underline; text-underline-offset: 4px; }
.pkg__actions { margin-top: auto; display: grid; gap: 10px; padding-top: 6px; }
.pkg__customize { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--blue-600); }
.pkg__customize .i { width: 16px; height: 16px; }
.pkg__customize:hover { text-decoration: underline; text-underline-offset: 4px; }
.pkg--featured { background: var(--navy-900); color: #fff; border-color: var(--navy-900); box-shadow: var(--sh-3); transform: translateY(-8px); isolation: isolate; overflow: visible; }
.pkg--featured::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(320px circle at 100% 0%, rgba(37, 99, 235, .34), transparent 60%), radial-gradient(260px circle at 0% 100%, rgba(198, 161, 91, .18), transparent 60%); }
.pkg--featured:hover { transform: translateY(-12px); border-color: var(--navy-900); }
.pkg--featured .pkg__badge { background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--navy-950); border-color: var(--gold-500); }
.pkg--featured .pkg__tagline, .pkg--featured .pkg__items li { color: var(--on-dark-2); }
.pkg--featured .pkg__price { border-color: var(--glass-line); }
.pkg--featured .pkg__price strong { color: var(--gold-300); }
.pkg--featured .pkg__price-prefix, .pkg--featured .pkg__price-unit, .pkg--featured .pkg__price-period { color: var(--on-dark-2); }
.pkg--featured .pkg__items .i { color: var(--gold-300); }
.pkg--featured .pkg__items strong { color: #fff; }
.pkg--featured .pkg__more, .pkg--featured .pkg__customize { color: var(--gold-300); }
.pkg--featured .btn--outline, .pkg--featured .btn--line { border-color: var(--glass-line); color: #fff; }
.pkgs__note { display: flex; align-items: flex-start; justify-content: center; gap: 8px; margin-top: 28px; font-size: .86rem; color: var(--ink-3); text-align: center; }
.pkgs__note .i { flex: none; width: 16px; height: 16px; margin-top: 4px; }
.pkgs-compare { margin-top: clamp(48px, 6vw, 72px); scroll-margin-top: calc(var(--header-h) + 16px); }
.pkgs-compare h3 { text-align: center; font-size: 1.4rem; margin-bottom: 20px; }
.pkgs-compare__wrap { overflow-x: auto; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--white); box-shadow: var(--sh-1); }
.pkgs-compare__wrap:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; }
.pkgs-table { width: 100%; min-width: 640px; border-collapse: separate; border-spacing: 0; }
.pkgs-table th, .pkgs-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: center; font-size: .92rem; line-height: 1.7; }
.pkgs-table tbody tr:last-child th, .pkgs-table tbody tr:last-child td { border-bottom: 0; }
.pkgs-table thead th { background: var(--paper); font-family: var(--font-head); font-weight: 800; color: var(--ink); vertical-align: bottom; }
.pkgs-table thead th small { display: block; margin-top: 4px; font-size: .8rem; font-weight: 600; color: var(--ink-3); }
.pkgs-table thead th.is-featured { background: var(--navy-900); color: #fff; }
.pkgs-table thead th.is-featured small { color: var(--gold-300); }
.pkgs-table tbody th { text-align: start; font-weight: 600; color: var(--ink-2); }
.pkgs-table td.is-featured { background: var(--blue-50); }
.pkgs-table th:first-child { position: sticky; inset-inline-start: 0; z-index: 1; background: var(--white); min-width: 190px; }
.pkgs-table thead th:first-child { background: var(--paper); text-align: start; }
.pkgs-table tr.is-section th { background: var(--gold-50); color: var(--gold-700); font-weight: 800; font-size: .86rem; text-align: start; }
.pkgs-yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-500); color: #fff; }
.pkgs-yes .i { width: 15px; height: 15px; stroke-width: 3; }
.pkgs-no { color: var(--line-2); font-weight: 800; }
.pkgs-text { font-weight: 700; color: var(--ink); }
.pkgs__request { max-width: 860px; margin: clamp(48px, 6vw, 72px) auto 0; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--sh-2); scroll-margin-top: calc(var(--header-h) + 16px); }
.pkgs__request h3 { font-size: 1.35rem; }
.pkgs__request-lead { margin-top: 8px; color: var(--ink-2); font-size: .93rem; line-height: 1.9; }
.pkgs__choice { margin-top: 22px; }
.pkgs__request .form-grid { margin-top: 18px; }

/* ---------- اجزای تکمیلی ---------- */
/* جای تصویر وقتی تصویری ثبت نشده: کاشی سرمه‌ای با نشان برند (به‌جای جای‌خالی خاکستری) */
.art-fallback, .ph {
    position: relative; display: grid; place-items: center; width: 100%; height: 100%; min-height: 160px; overflow: hidden;
    background: radial-gradient(420px circle at 85% 0%, rgba(37, 99, 235, .55), transparent 60%), radial-gradient(320px circle at 0% 100%, rgba(198, 161, 91, .3), transparent 60%), var(--navy-900);
    color: rgba(255, 255, 255, .9);
}
.art-fallback .i { width: 30%; max-width: 110px; height: auto; aspect-ratio: 1; opacity: .9; }
.ph { border-radius: var(--r-xl); }
.ph__size { display: none; }
.ph__label { font-family: var(--font-head); font-weight: 700; color: var(--on-dark-2); }
.ph-img { width: 100%; height: auto; border-radius: var(--r-xl); object-fit: cover; }
.why__aside { position: sticky; top: calc(var(--header-h) + 32px); }
.features--single { grid-template-columns: 1fr; }
.quote-card__top { display: flex; align-items: center; justify-content: space-between; }
.case-card__metrics > div { display: flex; flex-direction: column-reverse; }
.case-card__metrics dd { margin: 0; }
.case-card__ig { position: relative; z-index: 2; }

/* کارت آکادمی صفحه‌ی اول */
.academy-art { display: grid; gap: 18px; }
.academy-art__card { padding: clamp(26px, 4vw, 40px); border-radius: var(--r-xl); box-shadow: var(--sh-3); }
.academy-art__card h3 { margin-top: 18px; font-size: 1.35rem; }
.academy-art__card p { margin-top: 8px; }
.academy-art__path { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.academy-art__path span { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); font-size: .86rem; font-weight: 600; color: #fff; }
.academy-art__path .i { width: 17px; height: 17px; color: var(--gold-300); }
.academy-art .stats { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
.academy-art .stat { padding: 22px 16px; }

/* زنجیره‌ی تخصص‌ها (صفحه‌ی خدمات) */
.chain { position: relative; display: grid; gap: 14px; }
.chain::before { content: ""; position: absolute; inset-block: 28px; inset-inline-start: 27px; width: 2px; background: linear-gradient(var(--blue-200), var(--gold-300)); }
.chain li { position: relative; display: flex; align-items: center; gap: 18px; padding: 16px 20px 16px 16px; padding-inline-start: 0; }
.chain .ico { position: relative; z-index: 1; background: #fff; }
.chain li > div { flex: 1; padding: 16px 20px; border-radius: var(--r-lg); background: var(--paper); border: 1px solid var(--line); }
.chain strong { display: block; font-family: var(--font-head); font-size: 1.05rem; }
.chain span { font-size: .92rem; color: var(--ink-2); }

/* تصویر کدی سرصفحه‌ی خدمت */
.svc-visual { position: relative; padding: clamp(26px, 4vw, 40px); border-radius: var(--r-xl); background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); overflow: hidden; }
.svc-visual::after { content: ""; position: absolute; width: 260px; aspect-ratio: 1; inset-inline-end: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(198, 161, 91, .35), transparent 70%); }
.svc-visual__icon { display: grid; place-items: center; width: 86px; height: 86px; border-radius: 26px; background: linear-gradient(135deg, var(--gold-400), var(--gold-500)); color: var(--navy-950); box-shadow: var(--sh-gold); margin-bottom: 24px; }
.svc-visual__icon .i { width: 42px; height: 42px; stroke-width: 1.6; }
.svc-visual .check-list li { color: #fff; font-weight: 600; }

/* ---------- صفحه‌های حساب کاربری (_LoginLayout) ----------
   فرم روی سطح روشن (تمرکز)، ستون سرمه‌ای برند (اعتماد). دکمه‌ی اصلی سرمه‌ای؛ فقط ثبت‌نام طلایی. */
.auth-body { background: var(--white); }
.auth { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); }
.auth__panel { display: flex; flex-direction: column; gap: 32px; padding: clamp(20px, 4vw, 44px) clamp(20px, 6vw, 80px); color: var(--ink); }
.auth__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.auth__top .link .i { width: 16px; height: 16px; }
.auth__box { width: 100%; max-width: 440px; margin: auto; }
.auth__title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.auth__lead { margin-top: 10px; color: var(--ink-2); line-height: 2; }
.auth__form { display: grid; gap: 18px; margin-top: 28px; }
.auth__form .form-alert { margin-top: 0; }
.auth__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.auth__row .link { font-size: .9rem; }
.auth__switch { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 10px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .93rem; }
.auth__foot { font-size: .8rem; color: var(--ink-4); text-align: center; }
.auth__aside { display: grid; place-items: center; padding: 48px; border-start-start-radius: 0; }
.auth__aside-inner { max-width: 440px; display: grid; gap: 18px; }
.auth__aside h2 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); line-height: 1.5; }
.auth__aside .check-list li { color: var(--on-dark-2); }
.auth__mark { width: 74px; height: 74px; color: #fff; margin-bottom: 8px; }
.input-wrap { position: relative; }
.input-wrap > .i { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; color: var(--ink-4); pointer-events: none; }
.input-wrap .input { padding-inline-start: 46px; }
.input-wrap .input[dir="ltr"] { text-align: right; padding-left: 16px; padding-right: 46px; }
.input-wrap__btn { position: absolute; inset-inline-end: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 10px; background: none; color: var(--ink-3); display: grid; place-items: center; }
.input-wrap__btn:hover { background: var(--paper-2); color: var(--ink); }
.input-wrap__btn .i { width: 19px; height: 19px; }
.input-wrap__btn[aria-pressed="true"] { color: var(--blue-600); }
.input-wrap:has(.input-wrap__btn) .input { padding-inline-end: 54px; }
.field-validation-error { font-size: .82rem; color: var(--err); }
.validation-summary-errors ul { margin: 0; padding: 0; list-style: none; }
.form-alert.validation-summary-valid, .validation-summary-valid { display: none; }
.auth-result { display: grid; gap: 14px; text-align: center; }
.auth-result__icon { width: 84px; height: 84px; margin: 0 auto 6px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-50); color: var(--blue-600); box-shadow: 0 0 0 10px rgba(37, 99, 235, .06); }
.auth-result__icon .i { width: 40px; height: 40px; }
.auth-result__icon--ok { background: var(--ok-50); color: var(--ok); box-shadow: 0 0 0 10px rgba(14, 143, 100, .07); }
.auth-result__icon--err { background: var(--err-50); color: var(--err); box-shadow: 0 0 0 10px rgba(200, 56, 46, .06); }
.auth-result h2 { font-size: 1.4rem; }
.auth-result p { color: var(--ink-2); line-height: 2; }
.auth-result__list { text-align: start; margin: 4px auto 8px; }
.auth-result__list .i { background: var(--paper-2); color: var(--ink-3); }
@media (max-width: 1023.98px) {
    .auth { grid-template-columns: 1fr; }
    .auth__aside { display: none; }
}

/* ---------- ۱۸. حرکت ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ورود نرم بخش‌ها (site.js کلاس reveal-ready و is-in را می‌گذارد) */
.reveal-ready [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal-ready [data-reveal="scale"] { transform: scale(.96); }
.reveal-ready [data-reveal].is-in { opacity: 1; transform: none; }
[data-enter] { animation: rise .9s var(--ease) both; animation-delay: var(--d, 0ms); }
.studio__seo path.line { stroke-dasharray: 420; stroke-dashoffset: 420; animation: draw 2.4s .6s var(--ease) forwards; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal-ready [data-reveal] { opacity: 1; transform: none; }
    .marquee__track { animation: none; }
}

/* ---------- ۱۹. واکنش‌گرایی ---------- */
@media (max-width: 1199.98px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(3, 1fr); }
    .nav__link { padding-inline: 10px; font-size: .9rem; }
    .header-link span, .brand__tag { display: none; }
}
@media (max-width: 1023.98px) {
    .nav { display: none; }
    .nav-toggle { display: grid; }
    .header-actions { margin-inline-start: auto; }
    .header-actions .header-link, .header-actions .header-logout { display: none; }
    .hero__grid, .split, .contact-grid, .faq-layout, .article, .cta-band__grid { grid-template-columns: 1fr; }
    .studio { min-height: 460px; max-width: 560px; width: 100%; margin-inline: auto; }
    .svc-grid, .posts-grid, .cases-grid--3, .deliverables, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .svc--feature { grid-column: 1 / -1; }
    .post-card--featured { grid-template-columns: 1fr; }
    .post-card--featured .post-card__media { min-height: 0; aspect-ratio: 16 / 9; }
    .faq-aside, .article__aside, .sticky-card, .calc__summary { position: static; }
    .calc__layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "groups" "summary" "request"; }
    .article__cover { margin-top: -40px; }
}
@media (max-width: 767.98px) {
    :root { --header-h: 68px; }
    .sec-head--split { grid-template-columns: 1fr; }
    .svc-grid, .posts-grid, .cases-grid, .cases-grid--3, .deliverables, .team-grid, .features, .outcomes, .mission, .values-grid, .gallery, .org-facts, .form-grid { grid-template-columns: 1fr; }
    .svc--feature { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .pkgs__grid { grid-template-columns: 1fr; gap: 26px; }
    .pkg--featured, .pkg--featured:hover { transform: none; }
    .studio { min-height: 400px; }
    .studio__brand { width: 180px; top: 56%; }
    .studio__seo { width: 190px; }
    .studio__post { display: none; }
    .header-actions .btn { display: none; }
    .brand__mark { width: 36px; height: 36px; }
    .case-facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 479.98px) {
    .hero__actions .btn, .page-hero__actions .btn { flex: 1 1 100%; }
    .calc-options { grid-template-columns: 1fr; }
    .search-box { padding-inline-start: 14px; }
    .search-box .btn { padding-inline: 1rem; }
}
@media print {
    .site-header, .site-footer, .drawer, .cta-band, .calc-bar { display: none !important; }
    body { background: #fff; }
    .navy-surface { background: none; color: var(--ink); }
}
