/* ==================================================================
   طرح ۴ — الهام‌گرفته از flo.net: روشن، شرکتی، فضای باز، قرمز برند
   ================================================================== */
:root {
    --ink: #161a2c; --ink-2: #4b5168; --muted: #6b7088;
    --red: #e3242b; --red-2: #ff4d55; --red-d: #b3141b; --rose: #d63d78;
    --tint: #f6f2f4; --tint-2: #f1e6e9; --line: #ebe4e7; --white: #fff;
    --radius: 24px; --container: 1300px; --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:has(body.fl) { overflow-x: clip; }
body.fl { margin: 0; font-family: Vazirmatn, Tahoma, sans-serif; color: var(--ink); background: #f6f6f9; line-height: 1.9; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.fl img { max-width: 100%; display: block; }
:where(.fl) a { color: inherit; text-decoration: none; }
.fl button, .fl input, .fl textarea { font: inherit; }
.fl h1, .fl h2, .fl h3, .fl p { margin: 0; }
.fl :focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 6px; }
.fl [data-lucide], .fl .lucide { width: 1.2em; height: 1.2em; stroke-width: 1.9; flex: none; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 32px; }

/* ---------- دکمه‌ها: ساده و تمیز مثل flo ---------- */
.f-btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 46px; padding: 0 1.6rem; border-radius: 999px; border: 0; cursor: pointer; font-weight: 700; font-size: .95rem; white-space: nowrap; transition: background-color .25s, color .25s, box-shadow .25s, transform .25s var(--ease); }
.f-btn:hover { transform: translateY(-2px); }
.f-btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px rgba(227, 36, 43, .7); }
.f-btn--red:hover { background: var(--red-d); }
.f-btn--soft { background: #f08a8e; color: #fff; }
.f-btn--soft:hover { background: var(--red); }
.f-btn--white { background: #fff; color: var(--red-d); }
.f-btn--white:hover { background: #ffe9ea; }
.f-btn--line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(22, 26, 44, .18); }
.f-btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--red); color: var(--red); }
.f-btn svg { transition: transform .25s var(--ease); }
.f-btn:hover svg:last-child { transform: translateX(-4px); }

/* ---------- نوار بالا و سربرگ ---------- */
.f-top { background: #eef0f5; font-size: .84rem; color: #3b4058; }
.f-top .container { display: flex; align-items: center; justify-content: space-between; height: 46px; }
.f-top__links { display: flex; gap: 1.6rem; align-items: center; }
.f-top__links a { display: inline-flex; align-items: center; gap: .4rem; }
.f-top__links a:hover { color: var(--red); }
.f-top__pill { padding: .3rem 1rem; border-radius: 999px; background: #fff; color: var(--red-d); font-weight: 600; }
.f-header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid #edeef3; transition: box-shadow .3s; }
.f-header.is-scrolled { box-shadow: 0 12px 30px -24px rgba(22, 26, 44, .5); }
.f-header .container { display: flex; align-items: center; height: 88px; gap: 2rem; }
.f-logo img { height: 44px; width: auto; }
.f-nav { margin-inline-start: auto; display: flex; align-items: center; gap: .3rem; }
.f-nav > a, .f-nav__group > button { display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .95rem; border: 0; background: none; cursor: pointer; font-weight: 700; font-size: .95rem; color: var(--ink); border-radius: 10px; transition: color .2s; }
.f-nav > a:hover, .f-nav__group > button:hover { color: var(--red); }
.f-nav__group > button svg { color: var(--red); width: 16px; height: 16px; }
.f-nav__group { position: relative; }
.f-nav__menu { position: absolute; top: calc(100% + 12px); inset-inline-end: 0; min-width: 230px; padding: .6rem; background: #fff; border-radius: 16px; box-shadow: 0 30px 60px -24px rgba(22, 26, 44, .35); border: 1px solid #f0f0f4; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.f-nav__group:hover .f-nav__menu, .f-nav__group:focus-within .f-nav__menu { opacity: 1; visibility: visible; transform: none; }
.f-nav__menu a { display: flex; align-items: center; gap: .6rem; padding: .65rem .8rem; border-radius: 10px; font-weight: 600; font-size: .92rem; }
.f-nav__menu a:hover { background: var(--tint); color: var(--red); }
.f-nav__menu svg { color: var(--red); }
.f-burger { display: none; margin-inline-start: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid #e6e7ee; background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.f-mnav { position: fixed; inset: 0; z-index: 150; background: #fff; padding: 90px 28px 30px; display: flex; flex-direction: column; overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.f-mnav.is-open { opacity: 1; visibility: visible; }
.f-mnav a { padding: 1rem .2rem; border-bottom: 1px solid #f0f0f4; font-weight: 700; font-size: 1.05rem; display: flex; justify-content: space-between; }
.f-mnav .f-btn { margin-top: 1.4rem; justify-content: center; border: 0; }
.f-mnav__close { position: absolute; top: 20px; inset-inline-end: 24px; display: inline-flex; }
body.nav-open { overflow: hidden; }

/* ---------- عنوان‌ها ---------- */
.f-kicker { display: flex; align-items: center; gap: 1rem; font-weight: 700; color: var(--red-d); font-size: 1.02rem; margin-bottom: .9rem; }
.f-kicker::after { content: ''; flex: 1; max-width: 360px; height: 1px; background: var(--red-d); opacity: .7; }
.f-kicker--dark { color: var(--ink); }
.f-kicker--dark::after { background: var(--ink); opacity: .5; }
.f-h1 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); font-weight: 300; line-height: 1.35; color: var(--ink); letter-spacing: -.01em; }
.f-h2 { font-size: clamp(1.8rem, 3.2vw, 2.7rem); font-weight: 700; line-height: 1.4; color: var(--red); }
.f-h2--light { font-weight: 300; color: var(--ink); }
.f-h2 b, .f-h1 b { font-weight: 800; }
.f-grad { background: linear-gradient(90deg, var(--red), var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.f-red { color: var(--red); font-weight: 700; }
.f-lead { margin-top: 1.1rem; font-size: 1.06rem; color: var(--ink-2); }
.f-center { text-align: center; }
.f-section { position: relative; padding-block: clamp(70px, 9vw, 120px); }

/* ---------- قهرمان ---------- */
.f-hero { position: relative; background: linear-gradient(180deg, #fff 0%, #fff 55%, var(--tint-2) 100%); overflow: hidden; }
.f-hero__media { position: absolute; top: 0; bottom: 0; left: 0; width: 50%; clip-path: ellipse(100% 72% at 0% 46%); background: #1c1530; }
.f-film__scene { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.f-film__scene.is-active { opacity: 1; z-index: 1; }
.f-film__scene.is-prev { z-index: 0; opacity: 0; transition-delay: .2s; }
.f-film__scene img { width: 100%; height: 100%; object-fit: cover; object-position: 35% center; transform: scale(1.08); filter: saturate(1.08) contrast(1.06); }
.f-film__scene.is-active img { animation: kb1 8s linear forwards; }
.f-film__scene:nth-child(2).is-active img { animation-name: kb2; }
.f-film__scene:nth-child(3).is-active img { animation-name: kb3; object-position: center 70%; }
.f-film__scene:nth-child(4).is-active img { animation-name: kb4; }
.f-hero__media::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(to top, rgba(120, 8, 14, .7), transparent 48%), linear-gradient(to bottom, rgba(14, 10, 26, .6), transparent 35%), linear-gradient(to right, rgba(14, 10, 26, .45), transparent 60%); }
.f-film__video { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: 40% center; opacity: 0; transition: opacity 1.2s ease; }
.f-film.is-video .f-film__video { opacity: 1; z-index: 2; }
.f-film__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; mix-blend-mode: screen; pointer-events: none; }
.f-film__scan { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: linear-gradient(180deg, transparent 0, rgba(255, 90, 96, .16) 48%, rgba(255, 255, 255, .28) 50%, transparent 52%) no-repeat; background-size: 100% 220%; animation: scan 6.5s linear infinite; mix-blend-mode: screen; }
.f-film .f-beam { z-index: 3; }
.f-beam { position: absolute; top: -10%; bottom: -10%; width: 3px; background: linear-gradient(180deg, transparent, #ff6b70 20%, #fff 50%, #ff6b70 80%, transparent); box-shadow: 0 0 18px 4px rgba(255, 77, 85, .75), 0 0 50px 10px rgba(227, 36, 43, .45); opacity: .85; animation: beam 4.5s ease-in-out infinite; z-index: 1; }
.f-beam--1 { left: 16%; }
.f-beam--2 { left: 66%; animation-delay: -2.2s; }
.f-hero .container { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; align-items: center; }
.f-hero__copy { grid-column: 1; padding-block: 90px 140px; padding-inline-end: 1rem; }
.f-hero__copy .f-lead { max-width: 560px; }
.f-hero__copy .f-btn { margin-top: 2rem; }

/* کارت‌های آمار روی لبهٔ قهرمان */
.f-stats { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: -90px; }
/* کارت‌های آمار: نوار گرادیان، نشان آیکن، عدد گرادیانی و آیکن محو در پس‌زمینه */
.f-stat { position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 1.15rem; padding: 1.7rem 1.7rem 1.6rem; border-radius: 22px; background: linear-gradient(160deg, #fff 55%, #fff7f8); border: 1px solid rgba(235, 228, 231, .9); box-shadow: 0 30px 60px -40px rgba(22, 26, 44, .45), 0 2px 6px rgba(22, 26, 44, .04); transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s; }
.f-stat::before { content: ''; position: absolute; top: 0; right: 0; height: 3px; width: 34%; border-radius: 0 0 0 3px; background: linear-gradient(90deg, var(--rose), var(--red) 60%, var(--red-2)); transition: width .6s var(--ease); }
.f-stat::after { content: ''; position: absolute; left: -30px; top: -30px; width: 150px; height: 150px; background: radial-gradient(rgba(227, 36, 43, .16) 1.2px, transparent 1.6px) 0 0 / 14px 14px; -webkit-mask: radial-gradient(circle at 30% 30%, #000, transparent 70%); mask: radial-gradient(circle at 30% 30%, #000, transparent 70%); pointer-events: none; }
.f-stat:hover { transform: translateY(-6px); border-color: rgba(227, 36, 43, .22); box-shadow: 0 40px 70px -38px rgba(179, 20, 27, .45), 0 2px 6px rgba(22, 26, 44, .04); }
.f-stat:hover::before { width: 100%; }
.f-stat__ico { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; color: #fff; background: linear-gradient(140deg, var(--red-2), var(--red-d)); box-shadow: 0 14px 26px -12px rgba(227, 36, 43, .75), inset 0 1px 0 rgba(255, 255, 255, .35); transition: transform .45s var(--ease); }
.f-stat__ico::after { content: ''; position: absolute; inset: -6px; border-radius: 22px; border: 1.5px dashed rgba(227, 36, 43, .28); }
.fl .f-stat__ico svg { width: 27px; height: 27px; stroke-width: 1.8; }
.f-stat:hover .f-stat__ico { transform: rotate(-8deg) scale(1.05); }
.f-stat__body { position: relative; z-index: 1; min-width: 0; }
.f-stat b { display: block; font-size: clamp(2.2rem, 3.5vw, 3rem); font-weight: 900; line-height: 1.15; letter-spacing: -.5px; background: linear-gradient(120deg, var(--red-d), var(--red) 45%, var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.f-stat__body > span { display: block; margin-top: .45rem; padding-top: .55rem; border-top: 1px solid var(--line); font-weight: 700; font-size: 1rem; line-height: 1.6; color: var(--ink-2); }
.f-stat__mark { position: absolute; left: -14px; bottom: -22px; width: 118px !important; height: 118px !important; color: var(--red); opacity: .06; stroke-width: 1.3 !important; transform: rotate(-12deg); transition: opacity .45s, transform .6s var(--ease); pointer-events: none; }
.f-stat:hover .f-stat__mark { opacity: .1; transform: rotate(-4deg) scale(1.06); }
.f-stat__badge { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; padding: .15rem .7rem; border-radius: 999px; font-style: normal; font-size: .78rem; font-weight: 700; color: var(--red-d); background: #ffeef0; }
.f-stat__badge i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(227, 36, 43, .55); animation: statPulse 1.8s ease-out infinite; }
@keyframes statPulse { to { box-shadow: 0 0 0 8px rgba(227, 36, 43, 0); } }

/* ---------- سبد خدمات با تصویر ایزومتریک ---------- */
.f-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.f-split .f-lead + .f-lead { margin-top: .8rem; }
.f-split .f-btn { margin-top: 2.2rem; }
.f-iso { position: relative; }
.f-iso img { width: 100%; height: auto; }

/* ---------- بنر قرمز روی کارت سفید ---------- */
.f-band { position: relative; display: grid; grid-template-columns: 360px 1fr; align-items: center; }
.f-band__card { position: relative; z-index: 2; aspect-ratio: 1 / 1.1; border-radius: 24px; background: #fff; display: grid; place-items: center; box-shadow: 0 40px 80px -50px rgba(22, 26, 44, .5); overflow: hidden; }
.f-band__glow { position: absolute; width: 70%; height: 70%; border-radius: 50%; background: radial-gradient(circle at 40% 40%, rgba(255, 77, 85, .85), rgba(214, 61, 120, .55) 45%, rgba(255, 255, 255, 0) 72%); filter: blur(28px); animation: glow 7s ease-in-out infinite alternate; }
.f-band__mark { position: relative; font-size: 7rem; font-weight: 900; color: #fff; line-height: 1; text-shadow: 0 10px 40px rgba(179, 20, 27, .5); }
.f-band__body { position: relative; margin-inline-start: -110px; padding: clamp(36px, 5vw, 60px) clamp(36px, 5vw, 70px) clamp(36px, 5vw, 60px) clamp(36px, 5vw, 60px); padding-inline-start: calc(110px + clamp(36px, 5vw, 70px)); border-radius: 26px; color: #fff; background: linear-gradient(160deg, #ef3a41, var(--red) 40%, #a50f16); }
.f-band__body h3 { font-size: 1.05rem; font-weight: 700; opacity: .9; }
.f-band__body h2 { margin-top: .6rem; font-size: clamp(1.6rem, 2.8vw, 2.4rem); font-weight: 800; line-height: 1.45; }
.f-band__body p { margin-top: 1rem; opacity: .95; }
.f-band__body .f-btn { margin-top: 1.8rem; }

/* ---------- کارت‌های خدمت/مقاله (مثل مطالعات موردی flo) ---------- */
.f-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.f-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.f-card { display: flex; flex-direction: column; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 50px -40px rgba(22, 26, 44, .5); transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.f-card:hover { transform: translateY(-6px); box-shadow: 0 36px 70px -40px rgba(227, 36, 43, .45); }
.f-card__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #eceef4; }
.f-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.f-card:hover .f-card__media img { transform: scale(1.07); }
.f-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(227, 36, 43, .28), transparent 55%); opacity: 0; transition: opacity .4s; }
.f-card:hover .f-card__media::after { opacity: 1; }
.f-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.7rem 1.6rem; }
.f-card__body h3 { font-size: 1.12rem; font-weight: 400; line-height: 1.6; color: var(--ink); }
.f-card__body p { margin-top: .5rem; font-size: .9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.f-card__more { margin-top: auto; padding-top: 1.3rem; display: flex; align-items: center; justify-content: space-between; color: var(--red-d); font-size: .9rem; font-weight: 600; }
.f-card__more svg { width: 26px; height: 26px; transition: transform .3s var(--ease); }
.f-card:hover .f-card__more svg { transform: translateX(-6px); }
.f-card__meta { display: flex; gap: .6rem; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: .6rem; }
.f-chip { padding: .1rem .7rem; border-radius: 999px; background: #fde8e9; color: var(--red-d); font-weight: 700; }
.f-more { display: none; }
.f-more.is-open { display: grid; margin-top: 28px; }
.f-actions { display: flex; justify-content: center; gap: .8rem; flex-wrap: wrap; margin-top: 2.6rem; }

/* ---------- چرا پارتاک: کارت‌های دو نیمه ---------- */
.f-why { background: linear-gradient(180deg, #f6f6f9, var(--tint-2) 30%, var(--tint-2)); }
.f-why .f-h2 { text-align: center; margin-bottom: clamp(40px, 6vw, 80px); }
.f-zig { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 40px 80px -60px rgba(22, 26, 44, .55); }
.f-zig + .f-zig { margin-top: 70px; }
.f-zig__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 4vw, 60px); }
.f-zig__copy h3 { font-size: clamp(1.6rem, 2.6vw, 2.25rem); font-weight: 300; line-height: 1.45; color: var(--ink); }
.f-zig__copy p { margin-top: 1.2rem; color: var(--muted); font-size: 1.02rem; }
.f-zig__copy .f-btn { margin-top: 2rem; align-self: flex-start; }
.f-zig__media { position: relative; overflow: hidden; background: #1c1530; }
.f-zig__media img { width: 100%; height: 100%; object-fit: cover; }
.f-zig__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(227, 36, 43, .55), transparent 55%); }
.f-zig__media svg.streaks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; mix-blend-mode: screen; }
.streaks path { fill: none; stroke-linecap: round; stroke-dasharray: 220 900; animation: streak 5.5s linear infinite; }
.f-zig--flip .f-zig__copy { order: 2; }

/* ---------- مشتریان ---------- */
.f-clients .f-lead { max-width: 900px; }
.f-logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; margin-top: 3rem; }
.f-logo-card { display: grid; place-items: center; height: 150px; padding: 26px 34px; background: #fff; border-radius: 20px; box-shadow: 0 24px 50px -42px rgba(22, 26, 44, .55); transition: transform .35s var(--ease), box-shadow .35s; }
.f-logo-card img { max-height: 96px; max-width: 100%; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .35s, opacity .35s, transform .35s var(--ease); }
.f-logo-card:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -38px rgba(227, 36, 43, .4); }
.f-logo-card:hover img { filter: none; opacity: 1; transform: scale(1.05); }
.f-logos.f-more { display: none; }
.f-logos.f-more.is-open { display: grid; margin-top: 18px; }

/* ---------- طرح‌ها ---------- */
.f-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: stretch; margin-top: 3rem; }
.f-plan { position: relative; display: flex; flex-direction: column; padding: 2.2rem 2rem; background: #fff; border-radius: 22px; box-shadow: 0 24px 50px -40px rgba(22, 26, 44, .5); border-top: 4px solid transparent; transition: transform .3s var(--ease); }
.f-plan:hover { transform: translateY(-5px); }
.f-plan--hot { border-top-color: var(--red); box-shadow: 0 40px 80px -46px rgba(227, 36, 43, .55); }
.f-plan__tag { position: absolute; top: 18px; inset-inline-end: 18px; padding: .15rem .8rem; border-radius: 999px; background: var(--red); color: #fff; font-size: .78rem; font-weight: 700; }
.f-plan h3 { font-size: 1.25rem; font-weight: 700; }
.f-plan__price { margin-top: 1rem; font-size: 2rem; font-weight: 800; color: var(--red); line-height: 1.3; }
.f-plan__price small { font-size: .85rem; font-weight: 600; color: var(--muted); }
.f-plan ul { list-style: none; padding: 1.3rem 0 0; margin: 1.3rem 0; border-top: 1px solid #f0edf0; display: grid; gap: .7rem; flex: 1; }
.f-plan li { display: flex; gap: .55rem; font-size: .93rem; color: var(--ink-2); }
.f-plan li svg { flex: none; margin-top: .3rem; width: 17px; height: 17px; color: var(--red); }
.f-plan__extra { font-size: .85rem; color: var(--muted); margin-bottom: 1.2rem; }
.f-plan .f-btn { justify-content: center; }

/* ---------- کاتالوگ ---------- */
.f-cat { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 40px 80px -60px rgba(22, 26, 44, .55); }
.f-cat__pages { position: relative; min-height: 420px; background: linear-gradient(150deg, #fdeaec, #f4d4d8); display: grid; place-items: center; overflow: hidden; cursor: pointer; }
.f-cat__pages img { position: absolute; width: 58%; aspect-ratio: 900 / 624; object-fit: cover; border-radius: 10px; box-shadow: 0 30px 50px -24px rgba(22, 26, 44, .55); transition: transform .6s var(--ease); }
.f-cat__pages img:nth-child(1) { transform: translate(-22%, -26%) rotate(-6deg); }
.f-cat__pages img:nth-child(2) { transform: translate(0, 0) rotate(0); z-index: 2; }
.f-cat__pages img:nth-child(3) { transform: translate(22%, 26%) rotate(6deg); }
.f-cat__pages:hover img:nth-child(1) { transform: translate(-30%, -34%) rotate(-9deg); }
.f-cat__pages:hover img:nth-child(3) { transform: translate(30%, 34%) rotate(9deg); }
.f-cat__copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 5vw, 64px); }
.f-cat__copy .f-actions { justify-content: flex-start; margin-top: 2rem; }

/* ---------- تماس روی عکس ---------- */
.f-contact { position: relative; padding-block: 50px 80px; isolation: isolate; }
.f-contact__photo { position: absolute; inset: 0 0 150px 0; z-index: -1; overflow: hidden; }
.f-contact__photo img { width: 100%; height: 100%; object-fit: cover; }
.f-contact__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 14, 30, .1), rgba(22, 14, 30, .35)), linear-gradient(to top, rgba(179, 20, 27, .55), transparent 60%); }
.f-contact::after { content: ''; position: absolute; inset: auto 0 0 0; height: 150px; z-index: -2; background: linear-gradient(160deg, var(--red), #a50f16); }
.f-contact .container { display: grid; grid-template-columns: 1fr minmax(0, 560px); gap: 3rem; align-items: center; }
.f-contact__text { color: #fff; text-shadow: 0 4px 24px rgba(0, 0, 0, .5); }
.f-contact__text h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 300; line-height: 1.45; }
.f-contact__text h2 b { font-weight: 800; }
.f-contact__text ul { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; }
.f-contact__text li { display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.f-contact__text li svg { color: #fff; background: rgba(227, 36, 43, .85); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }
.f-form { padding: clamp(28px, 4vw, 44px); background: #fff; border-radius: 26px; box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .6); }
.f-form h3 { text-align: center; font-size: 1.6rem; font-weight: 800; color: var(--red); margin-bottom: 1.4rem; }
.f-field { margin-bottom: 1rem; }
.f-field label { display: block; margin-bottom: .35rem; font-size: .9rem; color: var(--ink-2); }
.f-field label i { color: var(--red); font-style: normal; }
.f-field input, .f-field textarea { width: 100%; padding: .75rem .95rem; border-radius: 10px; border: 1.5px solid #d9dbe6; background: #fafbfd; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.f-field input:focus, .f-field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 36, 43, .12); background: #fff; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 .8rem; }
.f-form .f-btn { display: flex; margin: 1.2rem auto 0; justify-content: center; }
.form-status { display: none; margin-top: 1rem; padding: .8rem 1rem; border-radius: 12px; font-size: .92rem; text-align: center; }
.form-status.is-ok { display: block; background: #e8f8ee; color: #186a3b; }
.form-status.is-err { display: block; background: #fdeaea; color: #a3151b; }
.hp-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------- پاورقی قرمز ---------- */
.f-footer { background: linear-gradient(160deg, var(--red), #a50f16 70%); color: rgba(255, 255, 255, .92); padding-top: 60px; }
.f-footer__grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap: 2.2rem; padding-bottom: 50px; }
.f-footer__brand img { height: 46px; width: auto; filter: brightness(0) invert(1); }
.f-footer__brand p { margin-top: 1.2rem; font-size: .9rem; opacity: .85; }
.f-footer h4 { margin: 0 0 1rem; padding-bottom: .7rem; font-size: 1rem; font-weight: 800; color: #fff; border-bottom: 2px solid rgba(255, 255, 255, .35); }
.f-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .92rem; }
.f-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.f-footer li { display: flex; gap: .5rem; }
.f-footer li svg { flex: none; margin-top: .3rem; }
.f-social { display: flex; gap: .7rem; }
.f-social a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .14); transition: background-color .25s, transform .25s var(--ease); cursor: pointer; }
.f-social a:hover { background: #fff; color: var(--red); transform: translateY(-3px); text-decoration: none; }
.f-footer__bottom { display: flex; justify-content: center; text-align: center; flex-wrap: wrap; gap: .6rem 1.5rem; padding-block: 1.3rem; border-top: 1px solid rgba(255, 255, 255, .22); font-size: .8rem; opacity: .85; }
.f-footer__bottom a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- مودال (نمایشگر کاتالوگ، دفترها) ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(22, 14, 30, .72); backdrop-filter: blur(6px); 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: 92vh; overflow: auto; padding: 1.8rem; border-radius: 24px; background: #fff; transform: translateY(14px); transition: transform .3s var(--ease); }
.modal.is-open .modal__box { transform: none; }
.modal__box--wide { width: min(100%, 1100px); padding: 1.2rem; }
.modal__close { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 12px; border: 0; background: #f2f3f7; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.modal h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 1.2rem; }
.viewer { position: relative; display: flex; align-items: center; justify-content: center; min-height: 50vh; background: #f6f2f4; border-radius: 16px; }
.viewer img { max-height: 76vh; width: auto; border-radius: 10px; box-shadow: 0 30px 60px -30px rgba(22, 26, 44, .6); }
.viewer__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%; border: 0; background: #fff; color: var(--red); box-shadow: 0 10px 30px -10px rgba(22, 26, 44, .5); display: grid; place-items: center; cursor: pointer; }
.viewer__nav--prev { right: 14px; }
.viewer__nav--next { left: 14px; }
.viewer__bar { display: flex; align-items: center; justify-content: space-between; padding: 1rem .4rem 0; color: var(--muted); }
.office { display: flex; gap: 1rem; padding: 1rem; border-radius: 16px; background: var(--tint); }
.office + .office { margin-top: .8rem; }
.office .ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: #fff; color: var(--red); }
.office p { font-size: .9rem; color: var(--muted); margin: .2rem 0 .7rem; }

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

@keyframes kb1 { from { transform: scale(1.06) translate(0, 0); } to { transform: scale(1.18) translate(2%, -1.5%); } }
@keyframes kb2 { from { transform: scale(1.2) translate(3%, 0); } to { transform: scale(1.07) translate(-2%, 1%); } }
@keyframes kb3 { from { transform: scale(1.05) translate(0, 2%); } to { transform: scale(1.16) translate(0, -2%); } }
@keyframes kb4 { from { transform: scale(1.16) translate(-3%, 0); } to { transform: scale(1.06) translate(2%, 0); } }
@keyframes scan { from { background-position: 0 120%; } to { background-position: 0 -120%; } }
@keyframes livePulse { 70% { box-shadow: 0 0 0 9px rgba(255, 59, 66, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 59, 66, 0); } }
@keyframes labelIn { from { opacity: 0; transform: translateY(14px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes bar { to { transform: none; } }
@keyframes beam { 0%, 100% { opacity: .35; } 50% { opacity: .95; } }
@keyframes glow { to { transform: translate(8%, 6%) scale(1.15); } }
@keyframes streak { from { stroke-dashoffset: 1120; } to { stroke-dashoffset: 0; } }

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 1100px) {
    .f-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .f-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 960px) {
    .container { padding-inline: 20px; }
    .f-top { display: none; }
    .f-nav { display: none; }
    .f-burger { display: inline-flex; margin-inline-start: 0; }
    .f-hdr__tools { margin-inline-start: auto; }
    .f-header .container { height: 72px; }
    .f-logo img { height: 38px; }
    .f-hero__media { position: relative; width: 100%; height: 380px; clip-path: ellipse(120% 100% at 50% 0%); }
    .f-hero .container { grid-template-columns: 1fr; min-height: 0; }
    .f-hero__copy { padding-block: 34px 120px; }
    .f-stats { grid-template-columns: 1fr; gap: 16px; }
    .f-stat { padding: 1.3rem 1.3rem 1.25rem; gap: 1rem; }
    .f-stat__ico { width: 50px; height: 50px; border-radius: 15px; }
    .fl .f-stat__ico svg { width: 23px; height: 23px; }
    .f-split, .f-zig, .f-cat, .f-contact .container { grid-template-columns: 1fr; }
    .f-zig--flip .f-zig__copy { order: 0; }
    .f-zig__media { min-height: 300px; order: -1; }
    .f-band { grid-template-columns: 1fr; }
    .f-band__card { width: 62%; margin-inline: auto; aspect-ratio: 1; }
    .f-band__body { margin-inline-start: 0; margin-top: -70px; padding-inline-start: clamp(28px, 5vw, 60px); padding-top: 100px; }
    .f-cards, .f-cards--3, .f-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .f-plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
    .f-cat__pages { min-height: 300px; }
    .f-contact__photo { inset: 0 0 260px 0; }
}
@media (max-width: 600px) {
    .f-cards, .f-cards--3 { grid-template-columns: 1fr; }
    .f-logos { gap: 14px; }
    .f-logo-card { height: 110px; padding: 18px; }
    .f-logo-card img { max-height: 72px; }
    .f-row { grid-template-columns: 1fr; }
    .f-footer__grid { grid-template-columns: 1fr; }
    .f-kicker::after { max-width: 120px; }
}
/* ==================================================================
   پرداخت ظاهری بخش‌های صفحهٔ اول — هم‌زبان با کارت‌های آمار:
   نوار گرادیان، نشان آیکن قرمز، الگوی نقطه‌ای، حرکت نرم با هاور
   ================================================================== */
.fl { --dots: radial-gradient(rgba(227, 36, 43, .16) 1.2px, transparent 1.6px) 0 0 / 14px 14px; --badge: linear-gradient(140deg, var(--red-2), var(--red-d)); }

/* عنوان کوچک بخش: نقطهٔ قرمز در ابتدا */
.f-kicker::before { content: ''; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(227, 36, 43, .14); }

/* سبد راهکارها */
.f-feats { list-style: none; padding: 0; margin: 1.6rem 0 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.f-feats li { display: inline-flex; align-items: center; gap: .55rem; padding: .45rem 1rem .45rem .5rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 700; color: var(--ink); box-shadow: 0 10px 24px -18px rgba(22, 26, 44, .4); transition: transform .3s var(--ease), border-color .3s; }
.f-feats li:hover { transform: translateY(-3px); border-color: rgba(227, 36, 43, .3); }
.f-feats span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: #fff; background: var(--badge); }
.fl .f-feats svg { width: 16px; height: 16px; }
.f-iso__ring { position: absolute; inset: 6% 8%; border-radius: 50%; border: 1.5px dashed rgba(227, 36, 43, .22); animation: isoSpin 60s linear infinite; }
.f-iso__ring::before { content: ''; position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 77, 85, .12), transparent 70%); }
.f-iso img { position: relative; }
@keyframes isoSpin { to { transform: rotate(360deg); } }

/* بنر قرمز: نشان لوگو با مدارهای چرخان، الگوی نقطه‌ای و برچسب‌ها */
.f-band__card { background: radial-gradient(circle at 50% 45%, #fff 0 38%, #fff6f7 70%); }
.f-band__orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(227, 36, 43, .18); transform: translate(-50%, -50%); animation: isoSpin 24s linear infinite; }
.f-band__orbit--1 { width: 46%; aspect-ratio: 1; }
.f-band__orbit--2 { width: 68%; aspect-ratio: 1; border-style: dashed; animation-duration: 40s; animation-direction: reverse; }
.f-band__orbit--3 { width: 90%; aspect-ratio: 1; border-color: rgba(227, 36, 43, .1); animation-duration: 60s; }
.f-band__orbit i { position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(227, 36, 43, .15); }
.f-band__orbit--2 i { top: auto; bottom: -4px; width: 8px; height: 8px; background: var(--rose); }
.f-band__orbit--3 i { width: 7px; height: 7px; background: #ff8a8e; }
.f-band__core { position: relative; z-index: 1; display: grid; place-items: center; width: 44%; aspect-ratio: 1; border-radius: 50%; background: #fff; box-shadow: 0 24px 50px -24px rgba(179, 20, 27, .55), inset 0 0 0 1px rgba(227, 36, 43, .12); }
.f-band__core img { width: 74%; height: auto; }
.f-band__body { overflow: hidden; isolation: isolate; }
.f-band__body::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255, 255, 255, .16) 1.2px, transparent 1.6px) 0 0 / 16px 16px; -webkit-mask: linear-gradient(110deg, transparent 35%, #000); mask: linear-gradient(110deg, transparent 35%, #000); }
.f-band__body::after { content: ''; position: absolute; z-index: -1; left: -80px; bottom: -120px; width: 320px; height: 320px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .06); }
.f-band__tags { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.f-band__tags li { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .85rem; border-radius: 999px; font-size: .85rem; font-weight: 700; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.fl .f-band__tags svg { width: 15px; height: 15px; }

/* کارت‌های خدمات و مقالات */
.f-card { position: relative; border: 1px solid rgba(235, 228, 231, .9); }
.f-card::before { content: ''; position: absolute; z-index: 3; top: 0; right: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--rose), var(--red) 60%, var(--red-2)); transition: width .6s var(--ease); }
.f-card:hover::before { width: 100%; }
.f-card:hover { border-color: rgba(227, 36, 43, .2); }
.f-card__ico { position: relative; z-index: 2; align-self: flex-start; margin: calc(-1.5rem - 25px) 0 .9rem; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 15px; color: #fff; background: var(--badge); box-shadow: 0 12px 24px -10px rgba(227, 36, 43, .7), 0 0 0 4px #fff; transition: transform .45s var(--ease); }
.fl .f-card__ico svg { width: 23px; height: 23px; stroke-width: 1.8; }
.f-card:hover .f-card__ico { transform: rotate(-8deg) scale(1.06); }
.f-card__body h3 { font-weight: 700; font-size: 1.08rem; }
.f-card__more { border-top: 1px solid var(--line); margin-top: auto; padding-top: 1rem; }
.f-card__body p + .f-card__more, .f-card__body h3 + .f-card__more { margin-top: 1.2rem; }
.f-card__more b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fde8e9; color: var(--red); transition: background .3s, color .3s, transform .3s var(--ease); }
.fl .f-card__more b svg { width: 18px; height: 18px; }
.f-card:hover .f-card__more b { background: var(--red); color: #fff; transform: translateX(-4px); }
.f-card:hover .f-card__more svg { transform: none; }
.f-card__media--art { display: grid; place-items: center; align-content: center; gap: .6rem; color: #fff; background: var(--dots), linear-gradient(140deg, var(--red-2), var(--red-d) 70%, #7d0c12); background-size: 16px 16px, auto; background-image: radial-gradient(rgba(255, 255, 255, .18) 1.2px, transparent 1.6px), linear-gradient(140deg, var(--red-2), var(--red-d) 70%, #7d0c12); }
.f-card__media--art::before { content: ''; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .35); }
.fl .f-card__media--art svg { width: 54px; height: 54px; stroke-width: 1.4; transition: transform .6s var(--ease); }
.f-card__media--art span { font-weight: 700; font-size: .9rem; opacity: .9; }
.f-card:hover .f-card__media--art svg { transform: scale(1.1) rotate(-6deg); }
.f-card__media--art::after { display: none; }

/* مقالات: اگر کمتر از سه مقاله بود، وسط‌چین */
.f-cards--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 380px)); justify-content: center; }

/* چرا پارتاک: شمارهٔ بزرگ، عنوان کوچک و الگوی نقطه‌ای */
.f-why .f-h2 { position: relative; }
.f-why .f-h2::after { content: ''; display: block; width: 64px; height: 4px; margin: 1rem auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--rose), var(--red)); }
.f-zig { position: relative; border: 1px solid rgba(235, 228, 231, .9); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.f-zig:hover { transform: translateY(-6px); box-shadow: 0 50px 90px -60px rgba(179, 20, 27, .55); }
.f-zig__copy { position: relative; isolation: isolate; }
.f-zig__copy::after { content: ''; position: absolute; z-index: -1; left: 24px; bottom: 24px; width: 160px; height: 160px; background: var(--dots); -webkit-mask: radial-gradient(circle, #000, transparent 70%); mask: radial-gradient(circle, #000, transparent 70%); }
.f-zig__num { font-size: clamp(3rem, 5vw, 4.4rem); font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(227, 36, 43, .35); letter-spacing: 2px; }
.f-zig__kicker { display: flex; align-items: center; gap: .6rem; margin: .6rem 0 .8rem !important; color: var(--red-d) !important; font-weight: 700; font-size: .92rem !important; }
.f-zig__kicker::before { content: ''; width: 28px; height: 2px; background: var(--red); }
.f-zig__copy .f-btn svg, .f-split .f-btn svg { width: 18px; height: 18px; }

/* همراهان */
.f-logo-card { position: relative; overflow: hidden; border: 1px solid rgba(235, 228, 231, .9); }
.f-logo-card::before { content: ''; position: absolute; top: 0; right: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--rose), var(--red)); transition: width .5s var(--ease); }
.f-logo-card:hover::before { width: 100%; }

/* همراهان: بخش تیره با نقشهٔ شبکه — هاب پارتاک در مرکز و لوگوها روی دو مدار چرخان */
.f-clients { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(80px, 10vw, 140px); color: #fff; background: radial-gradient(ellipse at 75% 50%, #3a0a12, transparent 60%), radial-gradient(ellipse at 10% 0%, #2a0d1c, transparent 55%), #0d0710; }
.f-clients::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask: radial-gradient(ellipse at 60% 50%, #000, transparent 75%); mask: radial-gradient(ellipse at 60% 50%, #000, transparent 75%); }
.f-clients::after { content: ''; position: absolute; z-index: -1; left: 20%; top: 50%; width: 700px; height: 700px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(227, 36, 43, .28), transparent 65%); filter: blur(20px); }
.f-clients__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 80px); align-items: center; }
.f-clients .f-kicker { color: #ff8a8e; }
.f-clients .f-kicker::after { background: #ff8a8e; opacity: .5; }
.f-clients .f-h2 { color: #fff; }
.f-clients .f-lead { color: rgba(255, 255, 255, .72); }
.f-clients__inds { list-style: none; padding: 0; margin: 1.8rem 0 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.f-clients__inds li { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .95rem; border-radius: 999px; font-size: .88rem; font-weight: 700; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px); transition: background .3s, border-color .3s; }
.f-clients__inds li:hover { background: rgba(227, 36, 43, .22); border-color: rgba(255, 77, 85, .5); }
.fl .f-clients__inds svg { width: 17px; height: 17px; color: #ff6b70; }
.f-clients__nums { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2.4rem; border-radius: 20px; background: linear-gradient(140deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(255, 255, 255, .12); }
.f-clients__nums div { display: grid; gap: .2rem; padding: 1.2rem 1.3rem; }
.f-clients__nums div + div { border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.f-clients__nums b { font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 900; line-height: 1.1; background: linear-gradient(120deg, #fff, #ffb3b6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.f-clients__nums span { font-size: .85rem; color: rgba(255, 255, 255, .65); font-weight: 600; }

.f-orbit { position: relative; width: min(600px, 100%); aspect-ratio: 1; margin-inline: auto; }
.f-orbit__path { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(255, 255, 255, .1); pointer-events: none; }
.f-orbit__path--1 { width: 60%; height: 60%; border-style: dashed; border-color: rgba(255, 138, 142, .3); }
.f-orbit__path--2 { width: 92%; height: 92%; border-style: dashed; border-color: rgba(255, 138, 142, .22); }
.f-orbit__path--3 { width: 108%; height: 108%; border-color: rgba(255, 255, 255, .05); }
.f-orbit__ring { position: absolute; inset: 0; animation: isoSpin 90s linear infinite; }
.f-orbit__ring--2 { animation-duration: 140s; animation-direction: reverse; }
.f-orbit:hover .f-orbit__ring, .f-orbit:hover .f-orbit__item span { animation-play-state: paused; }
.f-orbit__spokes { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.f-orbit__spokes line { stroke: rgba(255, 107, 112, .35); stroke-width: .25; stroke-dasharray: 1 1.6; animation: spokeFlow 2.4s linear infinite; }
.f-orbit__spokes circle { fill: #fff; filter: drop-shadow(0 0 1.2px #ff4d55); }
@keyframes spokeFlow { to { stroke-dashoffset: -5.2; } }
.f-orbit__item { position: absolute; width: 15%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.f-orbit__ring--2 .f-orbit__item { width: 13.5%; }
.f-orbit__item span { display: grid; place-items: center; width: 100%; height: 100%; padding: 16%; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .07), 0 16px 34px -12px rgba(0, 0, 0, .7), 0 0 30px -6px rgba(227, 36, 43, .55); animation: isoSpin 90s linear infinite reverse; transition: box-shadow .35s; }
.f-orbit__ring--2 .f-orbit__item span { animation-duration: 140s; animation-direction: normal; }
.f-orbit__item img { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .35s var(--ease); }
.f-orbit__item:hover span { box-shadow: 0 0 0 6px rgba(255, 77, 85, .45), 0 16px 34px -12px rgba(0, 0, 0, .7), 0 0 40px -4px rgba(255, 77, 85, .9); }
.f-orbit__item:hover img { transform: scale(1.1); }
.f-orbit__hub { position: absolute; left: 50%; top: 50%; z-index: 2; width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.f-orbit__hub span { position: relative; z-index: 1; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff, #ffe9ea); box-shadow: 0 0 0 8px rgba(227, 36, 43, .25), 0 0 0 18px rgba(227, 36, 43, .1), 0 0 70px 10px rgba(227, 36, 43, .55); }
.f-orbit__hub img { width: 72%; height: auto; }
.f-orbit__hub i { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(255, 77, 85, .6); animation: hubRipple 3.6s ease-out infinite; }
.f-orbit__hub i:nth-child(2) { animation-delay: 1.2s; }
.f-orbit__hub i:nth-child(3) { animation-delay: 2.4s; }
@keyframes hubRipple { from { transform: scale(1); opacity: .9; } to { transform: scale(2.3); opacity: 0; } }

/* طرح‌ها: سربرگ گرافیکی با نشانگر سطح (مثل آنتن شبکه)، کارت پیشنهادی قرمز و برجسته */
.f-pricing { isolation: isolate; overflow: hidden; }
.f-pricing::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 58%; width: min(1100px, 120%); height: 520px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 77, 85, .13), transparent 68%); }
.f-pricing::after { content: ''; position: absolute; z-index: -1; inset: 30% 0 auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(227, 36, 43, .25), transparent); }
.f-pricing__head { text-align: center; max-width: 760px; margin-inline: auto; }
.f-pricing__head .f-kicker { justify-content: center; }
.f-pricing__head .f-kicker::after { display: none; }
.f-plans { align-items: center; gap: 30px; margin-top: 3.4rem; }
.f-plan { position: relative; overflow: hidden; isolation: isolate; padding: 0 0 2rem; border: 1px solid rgba(235, 228, 231, .95); border-top-width: 1px; border-radius: 26px; background: #fff; box-shadow: 0 30px 60px -44px rgba(22, 26, 44, .5); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.f-plan:hover { transform: translateY(-8px); box-shadow: 0 44px 80px -46px rgba(179, 20, 27, .5); }
.f-plan > :not(.f-plan__top):not(.f-plan__tag) { margin-inline: 2rem; }
.f-plan__top { position: relative; display: flex; align-items: center; gap: 1rem; padding: 2rem 2rem 1.6rem; margin-bottom: 1.4rem; background: radial-gradient(rgba(227, 36, 43, .14) 1.2px, transparent 1.6px) 0 0 / 14px 14px, linear-gradient(160deg, #fff5f6, #fff); border-bottom: 1px solid var(--line); overflow: hidden; }
.f-plan__top::after { content: ''; position: absolute; left: -50px; top: -60px; width: 170px; height: 170px; border-radius: 50%; border: 26px solid rgba(227, 36, 43, .06); }
.f-plan__ico { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 58px; height: 58px; margin: 0; border-radius: 18px; color: #fff; background: var(--badge); box-shadow: 0 14px 26px -12px rgba(227, 36, 43, .75); transition: transform .45s var(--ease); }
.f-plan:hover .f-plan__ico { transform: rotate(-8deg) scale(1.05); }
.fl .f-plan__ico svg { width: 27px; height: 27px; }
.f-plan h3 { font-size: 1.35rem; font-weight: 800; line-height: 1.4; }
.f-plan__lvl { direction: ltr; display: inline-flex; align-items: flex-end; gap: 3px; height: 18px; margin-bottom: .25rem; }
.f-plan__lvl i { width: 6px; border-radius: 2px; background: rgba(227, 36, 43, .18); }
.f-plan__lvl i:nth-child(1) { height: 40%; } .f-plan__lvl i:nth-child(2) { height: 70%; } .f-plan__lvl i:nth-child(3) { height: 100%; }
.f-plan__lvl i.on { background: var(--red); }
.f-plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .2rem .6rem; margin-top: 0; padding: 0; background: none; border-radius: 0; }
.f-plan__price b { font-size: clamp(2rem, 3vw, 2.5rem); font-weight: 900; line-height: 1.2; letter-spacing: -.5px; background: linear-gradient(120deg, var(--red-d), var(--red) 50%, var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.f-plan__price small { font-size: .85rem; font-weight: 600; color: var(--muted); }
.f-plan ul { margin: 1.3rem 2rem; padding-top: 1.3rem; border-top: 1px dashed #ecdfe2; }
.f-plan li svg { padding: 3px; border-radius: 50%; background: #fde8e9; width: 20px; height: 20px; stroke-width: 2.6; margin-top: .25rem; }
.f-plan__extra { display: inline-flex; align-items: center; gap: .3rem; align-self: flex-start; padding: .15rem .7rem; border-radius: 999px; background: #f6f2f4; font-weight: 700; }
.fl .f-plan__extra svg { width: 14px; height: 14px; }
.f-plan .f-btn { justify-content: center; }
.f-plan .f-btn svg { width: 18px; height: 18px; }
.f-plan__tag { position: absolute; z-index: 3; inset: 26px auto auto -46px; display: inline-flex; align-items: center; justify-content: center; gap: .3rem; width: 170px; padding: .3rem 0; border-radius: 0; transform: rotate(-45deg); background: #fff; color: var(--red-d); font-size: .78rem; font-weight: 800; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .5); }
.fl .f-plan__tag svg { width: 14px; height: 14px; }

/* کارت پیشنهادی: تمام‌قرمز */
.f-plan--hot { color: #fff; border-color: transparent; background: radial-gradient(rgba(255, 255, 255, .14) 1.2px, transparent 1.6px) 0 0 / 16px 16px, linear-gradient(155deg, var(--red-2), var(--red) 40%, var(--red-d) 85%, #7d0c12); box-shadow: 0 50px 90px -40px rgba(227, 36, 43, .7); transform: scale(1.04); }
.f-plan--hot:hover { transform: scale(1.04) translateY(-8px); }
.f-plan--hot::before { content: ''; position: absolute; z-index: -1; right: -90px; bottom: -90px; width: 280px; height: 280px; border-radius: 50%; border: 44px solid rgba(255, 255, 255, .07); transform: none; background: none; height: 280px; }
.f-plan--hot::after { display: none; }
.f-plan--hot .f-plan__top { background: rgba(255, 255, 255, .08); border-bottom-color: rgba(255, 255, 255, .16); }
.f-plan--hot .f-plan__top::after { border-color: rgba(255, 255, 255, .08); }
.f-plan--hot .f-plan__ico { color: var(--red); background: #fff; box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .45); }
.f-plan--hot .f-plan__lvl i { background: rgba(255, 255, 255, .3); }
.f-plan--hot .f-plan__lvl i.on { background: #fff; }
.f-plan--hot .f-plan__price b { background: none; color: #fff; -webkit-text-fill-color: #fff; }
.f-plan--hot .f-plan__price small, .f-plan--hot li, .f-plan--hot .f-plan__extra { color: rgba(255, 255, 255, .85); }
.f-plan--hot ul { border-top-color: rgba(255, 255, 255, .25); }
.f-plan--hot li svg { color: var(--red); background: #fff; }
.f-plan--hot .f-plan__extra { background: rgba(255, 255, 255, .14); }

/* کاتالوگ */
.f-cat { border: 1px solid rgba(235, 228, 231, .9); }
.f-cat__pages { background: radial-gradient(rgba(255, 255, 255, .18) 1.2px, transparent 1.6px) 0 0 / 16px 16px, linear-gradient(150deg, var(--red-2), var(--red-d) 75%, #7d0c12); isolation: isolate; }
.f-cat__pages::before, .f-cat__pages::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .3); width: 70%; aspect-ratio: 1; }
.f-cat__pages::after { width: 100%; border-style: solid; border-color: rgba(255, 255, 255, .12); }
.f-cat__pages img { box-shadow: 0 30px 60px -20px rgba(40, 0, 6, .7); border: 4px solid #fff; }

/* تماس */
.f-contact__photo::after { background: linear-gradient(90deg, rgba(22, 14, 30, .25), rgba(22, 14, 30, .7)), linear-gradient(to top, rgba(179, 20, 27, .7), transparent 65%); }
.f-contact__text li { padding: .55rem 1rem .55rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(8px); width: fit-content; text-shadow: none; }
.f-form { position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, .6); }
.f-form::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--rose), var(--red), var(--red-2)); }
.f-form::after { content: ''; position: absolute; left: -30px; top: -30px; width: 160px; height: 160px; background: var(--dots); -webkit-mask: radial-gradient(circle, #000, transparent 70%); mask: radial-gradient(circle, #000, transparent 70%); pointer-events: none; }
.f-form__ico { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto .8rem; border-radius: 18px; color: #fff; background: var(--badge); box-shadow: 0 14px 26px -12px rgba(227, 36, 43, .75); }
.fl .f-form__ico svg { width: 27px; height: 27px; }
.f-form .f-btn { min-width: 220px; }

@media (max-width: 980px) {
    .f-plan--hot, .f-plan--hot:hover { transform: none; }
    .f-plans { align-items: stretch; }
    .f-clients__grid { grid-template-columns: 1fr; }
    .f-orbit { width: min(520px, 100%); }
}
@media (max-width: 640px) {
    .f-ticket span { display: none; }
    .f-ticket { padding: 0; width: 42px; justify-content: center; }
    .f-clients__nums div { padding: 1rem .8rem; }
    .f-orbit__item span { box-shadow: 0 0 0 3px rgba(255, 255, 255, .07), 0 10px 20px -8px rgba(0, 0, 0, .7); }
    .f-feats li { font-size: .84rem; }
    .f-card__ico { width: 44px; height: 44px; border-radius: 13px; margin-top: calc(-1.5rem - 22px); }
    .f-zig__num { font-size: 2.8rem; }
}

/* صفحهٔ منابع تصاویر */
.f-credits__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; margin-top: 2.6rem; }
.f-credit { margin: 0; overflow: hidden; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 50px -40px rgba(22, 26, 44, .5); }
.f-credit img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.f-credit figcaption { display: grid; gap: .3rem; padding: 1.1rem 1.3rem 1.3rem; font-size: .92rem; color: var(--ink-2); }
.f-credit b { color: var(--ink); }
.f-credit a { color: var(--red-d); text-decoration: underline; text-underline-offset: 3px; }
.f-footer__bottom a { opacity: .85; }

/* خطوط نورانی متحرک (fl_flow): منحنی کم‌رنگ + نوری که رویش حرکت می‌کند */
.f-flow { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.f-flow path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.f-flow__base { stroke-width: 1.4; }
.f-flow__run { stroke-width: 3; stroke-dasharray: 210 790; animation: flowRun 8s linear infinite; }
.f-flow--red .f-flow__base { stroke: rgba(227, 36, 43, .22); }
.f-flow--red .f-flow__run { stroke: #ff4d55; filter: drop-shadow(0 0 6px rgba(255, 77, 85, .9)); }
.f-flow--white .f-flow__base { stroke: rgba(255, 255, 255, .28); }
.f-flow--white .f-flow__run { stroke: #fff; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .95)); }
/* ردهای نورانی روی فیلم (assets/js/hero-trails.js) */
.f-film__trails { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
@keyframes flowRun { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
.f-flow ~ .container { position: relative; z-index: 1; }
.f-flow--back { z-index: -1; }
.f-flowsec { overflow: hidden; isolation: isolate; }
.f-footer { position: relative; overflow: hidden; isolation: isolate; }
@media (prefers-reduced-motion: reduce) { .f-flow__run { display: none; } }

/* ابزارهای سربرگ: تغییر زبان و سامانهٔ تیکت */
.f-hdr__tools { display: flex; align-items: center; gap: .6rem; }
.f-lang { display: inline-flex; align-items: center; gap: .35rem; height: 42px; padding: 0 .85rem; border-radius: 999px; border: 1.5px solid #e6e7ee; font-weight: 800; font-size: .85rem; color: var(--ink); transition: border-color .2s, color .2s; }
.f-lang:hover { border-color: var(--red); color: var(--red); }
.fl .f-lang svg { width: 17px; height: 17px; }
.f-ticket { min-height: 42px; padding: 0 1.1rem; }
.fl .f-ticket svg { width: 18px; height: 18px; }

/* نسخهٔ چپ‌به‌راست (انگلیسی): پیکان‌ها برعکس می‌شوند */
[dir="ltr"] .lucide-arrow-left, [dir="ltr"] .lucide-arrow-right, [dir="ltr"] .lucide-chevron-left, [dir="ltr"] .lucide-chevron-right { scale: -1 1; }
[dir="ltr"] .f-btn:hover svg:last-child { transform: translateX(4px); }
[dir="ltr"] .f-card:hover .f-card__more b { transform: translateX(4px); }
/* قهرمان در حالت LTR: فیلم سمت راست، متن سمت چپ */
@media (min-width: 961px) {
    [dir="ltr"] .f-hero__media { left: auto; right: 0; clip-path: ellipse(100% 72% at 100% 46%); }
    [dir="ltr"] .f-film__map { left: auto; right: 34px; }
}

/* ==================================================================
   صفحه‌های داخلی: سربرگ صفحه (پنل قرمز)، مسیر صفحه و اجزای مشترک
   ================================================================== */
.f-nav > a.is-active, .f-nav__group.is-active > button { color: var(--red); }
.f-nav > a.is-active { background: #fde8e9; }
.f-phero { padding-top: clamp(24px, 3vw, 40px); }
.f-phero__panel { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1fr 300px; align-items: center; gap: 2rem; min-height: 300px; padding: clamp(32px, 5vw, 64px); border-radius: 30px; color: #fff; background: radial-gradient(rgba(255, 255, 255, .15) 1.2px, transparent 1.6px) 0 0 / 16px 16px, linear-gradient(135deg, var(--red-2), var(--red) 45%, var(--red-d) 85%, #7d0c12); box-shadow: 0 50px 90px -60px rgba(179, 20, 27, .8); }
.f-phero__panel::after { content: ''; position: absolute; z-index: -1; right: -120px; bottom: -160px; width: 420px; height: 420px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .06); }
.f-phero__body { position: relative; min-width: 0; }
.f-phero h1 { margin-top: .9rem; font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 800; line-height: 1.35; }
.f-phero__kicker { margin-top: 1rem; font-weight: 700; opacity: .9; }
.f-phero__kicker + h1 { margin-top: .3rem; }
.f-phero__lead { margin-top: .9rem; max-width: 640px; font-size: 1.05rem; opacity: .92; }
.f-crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .35rem; padding: .35rem .9rem; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font-size: .85rem; font-weight: 600; backdrop-filter: blur(6px); }
.f-crumbs a { display: inline-flex; align-items: center; gap: .3rem; opacity: .9; }
.f-crumbs a:hover { opacity: 1; text-decoration: underline; }
.fl .f-crumbs svg { width: 15px; height: 15px; }
.fl .f-crumbs .f-crumbs__sep { width: 14px; height: 14px; opacity: .6; }
.f-phero__art { position: relative; width: 260px; aspect-ratio: 1; justify-self: center; }
.f-phero__art .f-band__orbit { border-color: rgba(255, 255, 255, .3); }
.f-phero__art .f-band__orbit--3 { border-color: rgba(255, 255, 255, .14); }
.f-phero__art .f-band__orbit i { background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .2); }
.f-phero__ico { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 42%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; color: var(--red); background: #fff; box-shadow: 0 20px 40px -16px rgba(60, 0, 8, .6), 0 0 0 10px rgba(255, 255, 255, .12); }
.fl .f-phero__ico svg { width: 44%; height: 44%; stroke-width: 1.6; }

/* بلوک‌های عمومی صفحه‌های داخلی */
.f-panel { position: relative; overflow: hidden; padding: clamp(24px, 3.5vw, 44px); border-radius: 26px; background: #fff; border: 1px solid rgba(235, 228, 231, .9); box-shadow: 0 30px 60px -46px rgba(22, 26, 44, .5); }
.f-panel::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, var(--rose), var(--red), var(--red-2)); }
.f-prose { color: var(--ink-2); font-size: 1.04rem; line-height: 2.05; }
.f-prose p + p { margin-top: 1rem; }
.f-prose h2, .f-prose h3 { color: var(--ink); font-weight: 800; line-height: 1.5; margin: 2rem 0 .8rem; }
.f-prose h2 { font-size: 1.45rem; } .f-prose h3 { font-size: 1.2rem; }
.f-prose ul { padding-inline-start: 1.3rem; }
.f-prose li + li { margin-top: .4rem; }
.f-prose a { color: var(--red-d); text-decoration: underline; text-underline-offset: 3px; }
.f-ico { display: grid; place-items: center; flex: none; width: 52px; height: 52px; border-radius: 16px; color: #fff; background: var(--badge); box-shadow: 0 12px 24px -10px rgba(227, 36, 43, .7); }
.fl .f-ico svg { width: 24px; height: 24px; }
.f-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.f-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.f-empty { display: grid; place-items: center; gap: .8rem; padding: 3rem 1rem; text-align: center; color: var(--muted); }
.form-status { margin-top: 1rem; font-weight: 700; text-align: center; }
.form-status.is-ok, .form-status.success { color: #138a4b; }
.form-status.is-err, .form-status.error { color: var(--red-d); }
.f-field select { width: 100%; padding: .75rem .95rem; border-radius: 10px; border: 1.5px solid #d9dbe6; background: #fafbfd; color: var(--ink); font: inherit; }
.f-field select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 36, 43, .12); background: #fff; }
.f-field input[type=file] { padding: .55rem; }
@media (max-width: 980px) {
    .f-phero__panel { grid-template-columns: 1fr; min-height: 0; }
    .f-phero__art { display: none; }
    .f-grid-2, .f-grid-3 { grid-template-columns: 1fr; }
}

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

/* آیکون نقشه کنار نشانی دفتر */
.office-pin{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:34px;margin-inline-end:.35rem;border-radius:50%;background:rgba(255,255,255,.18);color:#fff!important;vertical-align:middle;cursor:pointer;transition:transform .2s,background .2s,color .2s}
.office-pin:hover,.office-pin:focus-visible{background:#fff;color:#c8102e!important;transform:scale(1.1);outline:none}
.office-pin svg,.office-pin i{width:18px;height:18px}

/* کاتالوگ به‌شکل کتاب */
.viewer { min-height: 56vh; padding: 1.2rem 3.8rem; overflow: hidden; background: radial-gradient(ellipse at center, #fff, #ece7e9); }
.book { width: 100%; max-width: 1040px; margin: 0 auto; }
.book-page { background: #fff; overflow: hidden; }
.book-page img { width: 100% !important; height: 100% !important; max-height: none !important; object-fit: cover; border-radius: 0 !important; box-shadow: none !important; display: block; user-select: none; pointer-events: none; }
@media (max-width: 720px) { .viewer { padding: .6rem .3rem 4.2rem; } .viewer__nav { top: auto; bottom: .5rem; transform: none; width: 44px; height: 44px; } }
.book { transition: transform .7s cubic-bezier(.22,.8,.24,1); }
.book--front { transform: translateX(25%); }
.book--back { transform: translateX(-25%); }
