/* ==================================================================
   مدرن شبکه پارتاک — سیستم طراحی سایت
   تیره و فناورانه با رنگ قرمز برند؛ همهٔ صفحه‌ها از همین فایل استفاده می‌کنند.
   ================================================================== */

:root {
    --bg: #05070d;
    --bg-2: #0a0f1c;
    --surface: #0e1525;
    --surface-2: #131c30;
    --line: rgba(255, 255, 255, .08);
    --line-2: rgba(255, 255, 255, .14);
    --text: #eef1f7;
    --muted: #9aa5ba;

    --paper: #f5f7fb;
    --paper-2: #ffffff;
    --ink: #0b1220;
    --ink-2: #4a5568;
    --ink-line: #e3e8f0;

    --red: #e3242b;
    --red-2: #ff5a4e;
    --red-soft: rgba(227, 36, 43, .12);
    --glow: 0 10px 40px -10px rgba(227, 36, 43, .55);
    --blue: #4f7cff;

    --radius: 22px;
    --radius-sm: 14px;
    --container: 1220px;
    --header-h: 76px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: Vazir, Tahoma, sans-serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.85;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select, option, optgroup { font: inherit; font-family: Vazir, Tahoma, sans-serif; }
h1, h2, h3, h4 { line-height: 1.35; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- آیکون‌ها ---------- */
[data-lucide], .lucide { width: 1.25em; height: 1.25em; stroke-width: 1.8; flex: none; }

/* ---------- دکمه‌ها ---------- */
.btn {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    min-height: 52px; padding: 0 1.55rem; border-radius: 999px; border: 1px solid transparent;
    font-weight: 700; font-size: .97rem; letter-spacing: -.005em; cursor: pointer; white-space: nowrap;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
/* آیکون داخل دایرهٔ کوچک، مثل دکمه‌های امروزی */
.btn > svg { width: 32px; height: 32px; padding: 7px; border-radius: 50%; flex: none; background: rgba(255, 255, 255, .2); transition: transform .35s var(--ease), background-color .3s; }
.btn:has(> svg:first-child) { padding-inline-start: .4rem; }
.btn:has(> svg:last-child) { padding-inline-end: .4rem; }
.btn:hover > svg:last-child { transform: translateX(-3px); }
.btn:hover > svg:first-child { transform: rotate(-8deg) scale(1.06); }
/* نور عبوری روی دکمه هنگام hover */
.btn::after { content: ''; position: absolute; inset: -2px auto -2px -60%; width: 45%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.btn:hover::after { left: 120%; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.97); }
.btn--primary {
    color: #fff; border-color: rgba(255, 255, 255, .14);
    background: linear-gradient(180deg, #ff5357 0%, var(--red) 55%, #c3141c 100%);
    box-shadow: 0 12px 30px -10px rgba(227, 36, 43, .65), inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -2px 6px rgba(120, 0, 10, .25);
}
.btn--primary:hover { box-shadow: 0 18px 40px -12px rgba(227, 36, 43, .8), inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -2px 6px rgba(120, 0, 10, .25); }
.btn--ghost {
    color: var(--text); background: linear-gradient(rgba(255, 255, 255, .05), rgba(255, 255, 255, .05)) padding-box, linear-gradient(135deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .06) 50%, rgba(255, 90, 78, .45)) border-box;
    backdrop-filter: blur(10px);
}
.btn--ghost > svg { background: rgba(255, 255, 255, .1); }
.btn--ghost:hover { background: linear-gradient(rgba(255, 255, 255, .1), rgba(255, 255, 255, .1)) padding-box, linear-gradient(135deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, .1) 50%, rgba(255, 90, 78, .7)) border-box; }
.btn--dark { color: #fff; background: linear-gradient(180deg, #1d2536, var(--ink)); border-color: rgba(255, 255, 255, .08); box-shadow: 0 14px 30px -14px rgba(11, 18, 32, .7), inset 0 1px 0 rgba(255, 255, 255, .14); }
.btn--dark > svg { background: rgba(255, 255, 255, .12); }
.btn--outline {
    color: var(--ink); background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, rgba(227, 36, 43, .55), rgba(11, 18, 32, .12) 45%, rgba(11, 18, 32, .12) 60%, rgba(227, 36, 43, .4)) border-box;
    box-shadow: 0 10px 24px -18px rgba(11, 18, 32, .45);
}
.btn--outline > svg { background: var(--red-soft); color: var(--red); }
.btn--outline::after, .btn--ghost::after { background: linear-gradient(100deg, transparent, rgba(227, 36, 43, .12), transparent); }
.btn--white { color: var(--red); background: #fff; box-shadow: 0 14px 30px -16px rgba(0, 0, 0, .5); }
.btn--white > svg { background: var(--red-soft); }
.btn--sm { min-height: 42px; padding: 0 1.1rem; font-size: .88rem; }
.btn--sm > svg { width: 28px; height: 28px; padding: 6px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .65; cursor: progress; transform: none; }

/* ---------- سربرگ ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
    transition: background-color .3s, box-shadow .3s, border-color .3s, backdrop-filter .3s;
    border-bottom: 1px solid transparent;
}
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.site-logo { display: flex; align-items: center; flex: none; }
.site-logo img { height: 40px; width: auto; }
.site-logo .logo-dark { display: none; }
.site-nav { margin-inline-start: auto; display: flex; align-items: center; gap: .25rem; }
.site-nav > a, .site-nav__group > button {
    position: relative; display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .9rem; border-radius: 999px;
    color: rgba(255, 255, 255, .78); font-size: .93rem; font-weight: 600; background: none; border: 0; cursor: pointer;
    transition: color .2s, background-color .2s;
}
.site-nav > a:hover, .site-nav__group > button:hover, .site-nav > a.is-active { color: #fff; background: rgba(255, 255, 255, .07); }
.site-nav__group { position: relative; }
.site-nav__menu {
    position: absolute; top: calc(100% + 10px); inset-inline-end: 0; min-width: 210px; padding: .5rem;
    background: rgba(14, 21, 37, .96); backdrop-filter: blur(16px); border: 1px solid var(--line-2); border-radius: 16px;
    box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6); opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.site-nav__group:hover .site-nav__menu, .site-nav__group:focus-within .site-nav__menu { opacity: 1; visibility: visible; transform: none; }
.site-nav__menu a { display: flex; align-items: center; gap: .6rem; padding: .65rem .8rem; border-radius: 10px; color: rgba(255, 255, 255, .85); font-size: .92rem; }
.site-nav__menu a:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.site-header__cta { margin-inline-start: .5rem; }
.menu-toggle { display: none; margin-inline-start: auto; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); color: #fff; align-items: center; justify-content: center; cursor: pointer; }

/* حالت اسکرول‌شده و صفحه‌های روشن */
.site-header.is-scrolled { background: rgba(5, 7, 13, .78); backdrop-filter: blur(18px) saturate(1.4); border-bottom-color: var(--line); }
body.page-light .site-header:not(.is-scrolled) .site-nav > a, body.page-light .site-header:not(.is-scrolled) .site-nav__group > button { color: var(--ink-2); }
body.page-light .site-header:not(.is-scrolled) .site-nav > a:hover, body.page-light .site-header:not(.is-scrolled) .site-nav > a.is-active { color: var(--ink); background: rgba(11, 18, 32, .06); }
body.page-light .site-header:not(.is-scrolled) .logo-light { display: none; }
body.page-light .site-header:not(.is-scrolled) .logo-dark { display: block; }
body.page-light .site-header:not(.is-scrolled) .menu-toggle { color: var(--ink); border-color: var(--ink-line); background: #fff; }

/* منوی موبایل */
.mobile-nav {
    position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; gap: .25rem;
    padding: calc(var(--header-h) + 10px) 24px 32px; background: rgba(5, 7, 13, .97); backdrop-filter: blur(20px);
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; }
.mobile-nav a { display: flex; align-items: center; justify-content: space-between; padding: 1rem .25rem; border-bottom: 1px solid var(--line); color: #fff; font-size: 1.08rem; font-weight: 600; }
.mobile-nav a small { color: var(--muted); font-weight: 400; }
.mobile-nav .btn { margin-top: 1.5rem; border-bottom: 0; justify-content: center; }
.mobile-nav__close { position: absolute; top: 15px; inset-inline-end: 20px; }
body.nav-open { overflow: hidden; }

/* ---------- بخش‌ها ---------- */
.section { position: relative; padding-block: clamp(70px, 9vw, 120px); overflow-x: clip; }
.section--dark { background: var(--bg); color: var(--text); }
.section--dark-2 { background: var(--bg-2); color: var(--text); }
.section--white { background: #fff; }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .9rem; border-radius: 999px;
    font-size: .82rem; font-weight: 700; color: var(--red); background: var(--red-soft); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(227, 36, 43, .18); }
.section--dark .eyebrow, .section--dark-2 .eyebrow { color: #ff7a72; background: rgba(227, 36, 43, .14); }
.h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -.01em; }
.h2 .grad { background: linear-gradient(90deg, var(--red-2), var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin-top: 1rem; font-size: 1.05rem; color: var(--ink-2); }
.section--dark .lead, .section--dark-2 .lead { color: var(--muted); }

/* الگوی شبکه و هالهٔ نور برای بخش‌های تیره */
.bg-grid::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.glow { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; opacity: .55; }
.glow--red { background: radial-gradient(circle, rgba(227, 36, 43, .55), transparent 70%); }
.glow--blue { background: radial-gradient(circle, rgba(79, 124, 255, .35), transparent 70%); }

/* ---------- قهرمان ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; overflow: hidden; background: var(--bg); color: var(--text); padding-top: var(--header-h); isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ''; position: absolute; inset: auto 0 0 0; height: 160px; background: linear-gradient(to top, var(--bg), transparent); z-index: -1; }
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 3rem; padding-block: 60px 90px; }
.hero__badge { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem .5rem .4rem 1rem; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); font-size: .85rem; color: var(--muted); }
.hero__badge b { padding: .2rem .7rem; border-radius: 999px; background: var(--red); color: #fff; font-size: .78rem; }
.hero h1 { margin-top: 1.4rem; font-size: clamp(2rem, 4.2vw, 3.35rem); font-weight: 900; letter-spacing: -.02em; line-height: 1.3; }
.hero h1 .grad { background: linear-gradient(90deg, #fff 0%, #ffd2cf 30%, var(--red-2) 70%, var(--red)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text { margin-top: 1.3rem; max-width: 560px; font-size: 1.08rem; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 2.2rem; margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }
.hero__stat b { display: block; font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1.2; }
.hero__stat span { font-size: .86rem; color: var(--muted); }

/* کارت‌های شناور قهرمان */
.hero__visual { position: relative; height: 480px; }
.hero__orb { position: absolute; inset: 8% 10%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(255, 90, 78, .28), rgba(227, 36, 43, .08) 45%, transparent 70%); border: 1px solid rgba(255, 255, 255, .06); animation: orb 9s ease-in-out infinite; }
.hero__orb::before, .hero__orb::after { content: ''; position: absolute; inset: 12%; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .1); animation: spin 40s linear infinite; }
.hero__orb::after { inset: 28%; border-style: solid; border-color: rgba(227, 36, 43, .25); animation-duration: 26s; animation-direction: reverse; }
.hero__core { position: absolute; top: 50%; left: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 32px; display: grid; place-items: center; background: linear-gradient(145deg, #1a2238, #0b1120); border: 1px solid var(--line-2); box-shadow: 0 0 0 10px rgba(227, 36, 43, .06), 0 30px 70px -20px rgba(227, 36, 43, .6); }
.hero__core svg { width: 54px; height: 54px; color: var(--red-2); }
.float-card {
    position: absolute; display: flex; align-items: center; gap: .8rem; padding: .85rem 1.1rem; border-radius: 18px;
    background: rgba(17, 25, 43, .72); backdrop-filter: blur(16px); border: 1px solid var(--line-2);
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .8); animation: float 7s ease-in-out infinite; white-space: nowrap;
}
.float-card__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-2); }
.float-card b { display: block; font-size: .95rem; color: #fff; }
.float-card span { font-size: .8rem; color: var(--muted); }
.float-card .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34, 197, 94, .18); }
.float-card--1 { top: 6%; inset-inline-start: 2%; }
.float-card--2 { top: 42%; inset-inline-end: -2%; animation-delay: -2.5s; }
.float-card--3 { bottom: 6%; inset-inline-start: 10%; animation-delay: -4.5s; }

.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255, 255, 255, .25); }
.scroll-cue::after { content: ''; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s ease-in-out infinite; }

/* ---------- نوار لوگوی مشتریان ---------- */
.logos { position: relative; background: var(--bg); padding-block: 34px 60px; overflow: hidden; }
.logos__title { text-align: center; color: var(--muted); font-size: .9rem; margin-bottom: 1.6rem; }
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__track { display: flex; flex: none; gap: 18px; padding-inline-end: 18px; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.logo-chip { flex: none; width: 168px; height: 84px; display: grid; place-items: center; padding: 14px 20px; border-radius: 16px; background: #fff; border: 1px solid rgba(255, 255, 255, .1); transition: transform .3s var(--ease); }
.logo-chip img { max-height: 54px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .3s, opacity .3s; }
.logo-chip:hover { transform: translateY(-3px); }
.logo-chip:hover img { filter: none; opacity: 1; }

/* ---------- معرفی ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-media { position: relative; }
.about-media__img { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: 0 40px 80px -40px rgba(11, 18, 32, .5); }
.about-media__img img { width: 100%; height: 100%; object-fit: cover; }
.about-media__badge { position: absolute; bottom: -26px; inset-inline-end: -14px; display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.3rem; border-radius: 20px; background: var(--ink); color: #fff; box-shadow: 0 30px 60px -20px rgba(11, 18, 32, .6); }
.about-media__badge .ico { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--red-2), var(--red)); }
.about-media__badge b { display: block; font-size: 1.05rem; }
.about-media__badge span { font-size: .82rem; color: #a7b0c2; }
.about-media__frame { position: absolute; inset: -18px auto auto -18px; width: 46%; height: 46%; border-radius: 28px; border: 2px solid var(--red-soft); z-index: -1; }
.check-list { list-style: none; padding: 0; margin: 1.6rem 0 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.2rem; }
.check-list li { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; }
.check-list li svg { color: var(--red); width: 22px; height: 22px; padding: 3px; border-radius: 8px; background: var(--red-soft); }

/* ---------- خدمات ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-card {
    position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--ink-line);
    overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(11, 18, 32, .35); border-color: transparent; }
.service-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #e9edf4; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.service-card:hover .service-card__media img { transform: scale(1.07); }
.service-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5, 7, 13, .55), transparent 55%); }
.service-card__num { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 1; padding: .15rem .65rem; border-radius: 999px; background: rgba(5, 7, 13, .55); backdrop-filter: blur(6px); color: #fff; font-size: .78rem; font-weight: 700; }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.2rem 1.3rem 1.3rem; }
.service-card__title { font-size: 1.04rem; font-weight: 800; }
.service-card__desc { margin-top: .5rem; font-size: .88rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.service-card__more { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-size: .88rem; font-weight: 700; color: var(--red); }
.service-card__more svg { transition: transform .25s var(--ease); }
.service-card:hover .service-card__more svg { transform: translateX(-4px); }
.service-card::after { content: ''; position: absolute; inset: auto 0 0 0; height: 3px; background: linear-gradient(90deg, var(--red-2), var(--red)); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.service-card:hover::after { transform: scaleX(1); }
.services-more { display: none; }
.services-more.is-open { display: grid; margin-top: 20px; }
.center-actions { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-top: 2.6rem; }

/* ---------- چرا پارتاک ---------- */
.why-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.why-text p { color: var(--muted); margin-top: 1rem; }
.why-text strong { color: #fff; }
.why-text__more { display: none; }
.why-text__more.is-open { display: block; }
.link-btn { margin-top: 1.2rem; display: inline-flex; align-items: center; gap: .4rem; color: #ff7a72; font-weight: 700; background: none; border: 0; cursor: pointer; padding: 0; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.feature {
    position: relative; padding: 1.5rem; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .015));
    border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .3s var(--ease);
}
.feature:hover { border-color: rgba(227, 36, 43, .45); transform: translateY(-4px); }
.feature::before { content: ''; position: absolute; width: 160px; height: 160px; top: -80px; inset-inline-start: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 36, 43, .35), transparent 70%); opacity: 0; transition: opacity .4s; }
.feature:hover::before { opacity: 1; }
.feature__icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--red-2), var(--red)); box-shadow: var(--glow); margin-bottom: 1.1rem; }
.feature__icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.05rem; font-weight: 800; color: #fff; }
.feature p { margin-top: .45rem; font-size: .9rem; color: var(--muted); }

/* ---------- روند همکاری ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; inset-inline: 12%; height: 2px; background: repeating-linear-gradient(90deg, var(--ink-line) 0 10px, transparent 10px 18px); }
.step { position: relative; text-align: center; padding: 0 .5rem; }
.step__num { position: relative; z-index: 1; width: 68px; height: 68px; margin: 0 auto 1.2rem; border-radius: 22px; display: grid; place-items: center; background: #fff; border: 1px solid var(--ink-line); box-shadow: 0 16px 36px -20px rgba(11, 18, 32, .35); color: var(--red); }
.step__num svg { width: 28px; height: 28px; }
.step__num::after { counter-increment: step; content: counter(step, persian); position: absolute; top: -8px; inset-inline-end: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 800; display: grid; place-items: center; }
.step h3 { font-size: 1.02rem; font-weight: 800; }
.step p { margin-top: .4rem; font-size: .9rem; color: var(--ink-2); }

/* ---------- بنرهای ویژه (فروشگاه، Sylonix، Rodaco) ---------- */
.promo { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 2.5rem; align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: 30px; background: var(--bg-2); color: var(--text); overflow: hidden; isolation: isolate; }
.promo + .promo { margin-top: 24px; }
.promo__logo { height: 46px; width: auto; margin-bottom: 1.2rem; }
.promo h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; color: #fff; }
.promo p { margin-top: .8rem; color: var(--muted); }
.promo__list { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; }
.promo__list li { display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: #d7dceb; }
.promo__list li svg { color: var(--red-2); }
.promo__media { border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); background: #10182a; }
.promo__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- طرح‌های پشتیبانی ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 2rem 1.8rem; border-radius: 26px; background: #fff; border: 1px solid var(--ink-line); transition: transform .3s var(--ease), box-shadow .3s; }
.plan:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -32px rgba(11, 18, 32, .35); }
.plan--featured { background: var(--bg); color: var(--text); border-color: transparent; box-shadow: 0 40px 80px -40px rgba(227, 36, 43, .55); }
.plan--featured::before { content: ''; position: absolute; inset: -1px; border-radius: 27px; padding: 1px; background: linear-gradient(160deg, var(--red-2), transparent 40%, transparent 60%, var(--red)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.plan__tag { position: absolute; top: 20px; inset-inline-end: 20px; padding: .2rem .8rem; border-radius: 999px; background: var(--red); color: #fff; font-size: .78rem; font-weight: 700; }
.plan h3 { font-size: 1.2rem; font-weight: 800; }
.plan__price { margin-top: 1.1rem; font-size: 2rem; font-weight: 900; line-height: 1.3; }
.plan__price small { font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.plan--featured .plan__price small { color: var(--muted); }
.plan__features { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .75rem; flex: 1; border-top: 1px solid var(--ink-line); padding-top: 1.5rem; }
.plan--featured .plan__features { border-color: var(--line); }
.plan__features li { display: flex; align-items: flex-start; gap: .6rem; font-size: .93rem; }
.plan__features li svg { flex: none; margin-top: .25rem; width: 18px; height: 18px; color: var(--red); }
.plan__features li.is-off { opacity: .45; text-decoration: line-through; }
.plan__extra { font-size: .85rem; color: var(--ink-2); margin-bottom: 1.2rem; }
.plan--featured .plan__extra { color: var(--muted); }

/* ---------- کاتالوگ ---------- */
.catalog-band { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: clamp(28px, 5vw, 60px); border-radius: 32px; background: linear-gradient(120deg, #1a0b10, var(--bg-2) 45%); color: var(--text); overflow: hidden; isolation: isolate; }
.catalog-band h2 { color: #fff; }
.catalog-band .lead { color: var(--muted); }
.catalog-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }
.catalog-fan { position: relative; height: 300px; }
.catalog-fan img { position: absolute; top: 50%; left: 50%; width: 46%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; border: 4px solid rgba(255, 255, 255, .9); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); transition: transform .5s var(--ease); cursor: pointer; }
.catalog-fan img:nth-child(1) { transform: translate(-95%, -50%) rotate(-12deg); }
.catalog-fan img:nth-child(2) { transform: translate(-50%, -54%) rotate(0); z-index: 2; }
.catalog-fan img:nth-child(3) { transform: translate(-5%, -50%) rotate(12deg); }
.catalog-band:hover .catalog-fan img:nth-child(1) { transform: translate(-110%, -50%) rotate(-16deg); }
.catalog-band:hover .catalog-fan img:nth-child(3) { transform: translate(10%, -50%) rotate(16deg); }

/* ---------- مقالات ---------- */
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.article { display: flex; flex-direction: column; border-radius: var(--radius); background: #fff; border: 1px solid var(--ink-line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.article:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -32px rgba(11, 18, 32, .35); }
.article__media { aspect-ratio: 16 / 9; overflow: hidden; background: #e9edf4; }
.article__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.article:hover .article__media img { transform: scale(1.06); }
.article__body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem 1.4rem 1.4rem; }
.article__meta { display: flex; align-items: center; gap: .7rem; font-size: .8rem; color: var(--ink-2); }
.chip { display: inline-flex; padding: .15rem .7rem; border-radius: 999px; background: var(--red-soft); color: var(--red); font-weight: 700; font-size: .78rem; }
.article h3 { margin-top: .8rem; font-size: 1.08rem; font-weight: 800; }
.article p { margin-top: .5rem; font-size: .9rem; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article__more { margin-top: auto; padding-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .88rem; color: var(--ink); }

/* ---------- فرم بازدید رایگان ---------- */
.visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 32px; overflow: hidden; background: var(--bg-2); color: var(--text); box-shadow: 0 50px 100px -50px rgba(11, 18, 32, .7); position: relative; isolation: isolate; }
.visit__info { padding: clamp(28px, 5vw, 56px); }
.visit__info h2 { color: #fff; }
.visit .lead, .catalog-band .lead { color: var(--muted); }
.visit .eyebrow, .catalog-band .eyebrow, .promo .eyebrow { color: #ff7a72; background: rgba(227, 36, 43, .14); }
.benefits { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.1rem; }
.benefits li { display: flex; gap: .9rem; }
.benefits li .ico { flex: none; width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); color: var(--red-2); }
.benefits b { display: block; color: #fff; font-size: .98rem; }
.benefits span { font-size: .88rem; color: var(--muted); }
.visit__note { margin-top: 1.8rem; padding: 1rem 1.2rem; border-radius: 16px; background: rgba(34, 197, 94, .08); border: 1px solid rgba(34, 197, 94, .22); color: #bdf0cf; font-size: .9rem; }
.visit__form { padding: clamp(28px, 5vw, 56px); background: rgba(255, 255, 255, .03); border-inline-start: 1px solid var(--line); }
.visit__form h3 { font-size: 1.35rem; font-weight: 800; color: #fff; margin-bottom: 1.4rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .4rem; font-size: .88rem; font-weight: 600; color: #cfd5e3; }
.field input, .field textarea {
    width: 100%; padding: .85rem 1rem; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(5, 7, 13, .5); color: #fff;
    transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input::placeholder, .field textarea::placeholder { color: #6b7590; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red-2); box-shadow: 0 0 0 4px rgba(227, 36, 43, .18); background: rgba(5, 7, 13, .8); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.form-status { display: none; margin-top: 1rem; padding: .85rem 1rem; border-radius: 14px; font-size: .92rem; }
.form-status.is-ok { display: block; background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .3); color: #bdf0cf; }
.form-status.is-err { display: block; background: rgba(227, 36, 43, .12); border: 1px solid rgba(227, 36, 43, .35); color: #ffc2bf; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- پاورقی ---------- */
.site-footer { position: relative; background: var(--bg); color: var(--muted); padding-top: 80px; overflow: hidden; isolation: isolate; }
.footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; padding: 2rem 2.2rem; border-radius: 26px; background: linear-gradient(120deg, var(--red), #8f0d14); color: #fff; margin-bottom: 64px; box-shadow: 0 40px 80px -40px rgba(227, 36, 43, .7); }
.footer-cta h3 { font-size: clamp(1.25rem, 2.4vw, 1.7rem); font-weight: 800; }
.footer-cta p { color: rgba(255, 255, 255, .8); margin-top: .3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2.5rem; padding-bottom: 50px; }
.footer-brand img { height: 42px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .92rem; }
.footer-col h4 { color: #fff; font-size: 1rem; font-weight: 800; margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .65rem; }
.footer-col a { font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; gap: .7rem; font-size: .9rem; }
.footer-contact li svg { flex: none; margin-top: .3rem; color: var(--red-2); }
.footer-contact b { display: block; color: #dfe4ef; font-weight: 700; }
.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: #dfe4ef; transition: background-color .25s, border-color .25s, transform .25s var(--ease); cursor: pointer; }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.4rem; border-top: 1px solid var(--line); font-size: .85rem; }

/* ---------- پنجرهٔ مودال ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(3, 5, 10, .78); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.modal.is-open { opacity: 1; visibility: visible; }
.modal__box { position: relative; width: min(100%, 560px); max-height: 90vh; overflow: auto; padding: 1.8rem; border-radius: 26px; background: var(--surface); color: var(--text); border: 1px solid var(--line-2); transform: translateY(14px) scale(.98); transition: transform .3s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__box--wide { width: min(100%, 980px); padding: 1.2rem; }
.modal__close { position: absolute; top: 14px; inset-inline-end: 14px; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .05); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 2; }
.modal h3 { font-size: 1.2rem; font-weight: 800; color: #fff; margin-bottom: 1.2rem; }
.office { display: flex; gap: 1rem; padding: 1.1rem; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.office + .office { margin-top: .8rem; }
.office .ico { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--red-soft); color: var(--red-2); }
.office b { color: #fff; }
.office p { font-size: .9rem; color: var(--muted); margin: .2rem 0 .7rem; }
.viewer { position: relative; display: flex; align-items: center; justify-content: center; min-height: 60vh; }
.viewer img { max-height: 76vh; width: auto; border-radius: 14px; }
.viewer__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(5, 7, 13, .7); color: #fff; display: grid; place-items: center; cursor: pointer; }
.viewer__nav--prev { right: 10px; }
.viewer__nav--next { left: 10px; }
.viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem .4rem 0; color: var(--muted); font-size: .9rem; }

/* ---------- نمایش هنگام اسکرول ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* ---------- انیمیشن‌ها ---------- */
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orb { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(100%); } }

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
    .site-nav, .site-header__cta { display: none; }
    .menu-toggle { display: inline-flex; }
    .hero__inner, .about-grid, .why-grid, .promo, .catalog-band, .visit { grid-template-columns: 1fr; }
    .hero__visual { height: 380px; order: -1; margin-top: 10px; }
    .hero { min-height: auto; }
    .hero__inner { padding-block: 30px 70px; gap: 1rem; }
    .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
    .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; }
    .steps::before { display: none; }
    .visit__form { border-inline-start: 0; border-top: 1px solid var(--line); }
    .catalog-fan { height: 260px; }
}
@media (max-width: 600px) {
    :root { --header-h: 66px; }
    .site-logo img { height: 34px; }
    .hero__visual { height: 250px; }
    .hero__orb { inset: 4% 16%; }
    .hero__core { width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 26px; }
    .hero__core svg { width: 42px; height: 42px; }
    .float-card { padding: .55rem .75rem; gap: .55rem; }
    .float-card b { font-size: .85rem; }
    .float-card span { font-size: .72rem; }
    .float-card__icon { width: 32px; height: 32px; border-radius: 10px; }
    .float-card--1 { top: 0; inset-inline-start: 0; }
    .float-card--2 { display: none; }
    .float-card--3 { bottom: 0; inset-inline-start: auto; inset-inline-end: 0; }
    /* خدمات در موبایل: ردیف افقی قابل کشیدن */
    .services-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: -20px; padding: 6px 20px 16px; scrollbar-width: none; }
    .services-grid::-webkit-scrollbar { display: none; }
    .services-grid > .service-card { flex: 0 0 80%; scroll-snap-align: center; }
    .services-more { display: none; }
    .services-more.is-open { display: flex; margin-top: 0; }
    .hero__stats { gap: 1.4rem; }
    .hero__stat b { font-size: 1.5rem; }
    .features, .check-list, .promo__list, .field-row { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-media__badge { inset-inline-end: 8px; bottom: -22px; }
    .footer-cta { padding: 1.6rem; }
    .btn { min-height: 48px; }
}
@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 { opacity: 1; transform: none; }
}
