/* =========================================================
   POL — Landing design system (from Figma "Pol" file)
   Palette: Primary / Secondary / Warning / Gray scales
   ========================================================= */

:root {
    /* Primary */
    --p10: #EFF8FF; --p20: #DFF1FF; --p30: #B7E5FF; --p40: #78D0FF;
    --p50: #0080CF; --p60: #0065A8; --p70: #084873; --p80: #052E4C;
    /* Secondary (green) */
    --s10: #EFFAF5; --s20: #DBF3E5; --s30: #B5E5D0; --s40: #84D1B3;
    --s50: #51B692; --s60: #2E9977; --s70: #19634F; --s80: #164F40;
    /* Warning (yellow) */
    --w10: #FEFAEF; --w20: #FEF6E0; --w30: #FDF1D0; --w40: #FCE4A2;
    --w50: #FBDB83; --w60: #FAD264; --w70: #D3B050; --w80: #AB8E3D;
    /* Error */
    --e10: #FFF0F0; --e60: #FF2323; --e70: #D70000;
    /* Gray */
    --g10: #F0F2F3; --g20: #E1E4E7; --g30: #D2D7DB; --g40: #A4AFB6;
    --g50: #687A86; --g60: #3E4950; --g70: #2A3136; --g80: #15181B;

    --ink: #0F2A4A;            /* navy used for dark surfaces & primary buttons */
    --ink-2: #163A66;          /* lighter navy for cards on dark */
    --navy-grad: linear-gradient(135deg, #1F5A9E 0%, #0F3A6B 45%, #0B2A4F 100%);
    --blue-card-grad: linear-gradient(160deg, #2A6FB8 0%, #184C8A 55%, #0E2F5A 100%);
    --green-grad: linear-gradient(135deg, #2E9977 0%, #1F7A60 45%, #164F40 100%);
    --cta-grad: linear-gradient(100deg, #0B2A4F 0%, #0F3A6B 35%, #1F6FB5 70%, #7CC6D9 100%);

    --bg: #FFFFFF;
    --bg-soft: #F6F8FA;
    --bg-tint: #F3F7FB;

    --radius-xl: 28px;
    --radius-lg: 24px;
    --radius-md: 20px;
    --radius-sm: 16px;
    --radius-xs: 12px;

    --container: 1248px;
    --gutter: 24px;

    --font: 'Vazirmatn', 'YekanBakhFaNum', 'IRANSans', 'iran-sans', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
    --shadow-sm: 0 1px 2px rgba(21, 24, 27, .06), 0 1px 3px rgba(21, 24, 27, .04);
    --shadow-md: 0 8px 24px rgba(21, 24, 27, .08);
    --shadow-lg: 0 24px 48px rgba(5, 46, 76, .18);
}

/* Local fallback font already shipped with the project */
@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('/assets/front/fonts/landing/woff2/YekanBakhFaNum-Regular.woff2') format('woff2');
    font-weight: 400; font-display: swap;
}
@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('/assets/front/fonts/landing/woff2/YekanBakhFaNum-SemiBold.woff2') format('woff2');
    font-weight: 600; font-display: swap;
}
@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('/assets/front/fonts/landing/woff2/YekanBakhFaNum-Bold.woff2') format('woff2');
    font-weight: 700; font-display: swap;
}
@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('/assets/front/fonts/landing/woff2/YekanBakhFaNum-ExtraBold.woff2') format('woff2');
    font-weight: 800; font-display: swap;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.pol {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.8;
    color: var(--g80);
    background: var(--bg);
    direction: rtl;
    -webkit-font-smoothing: antialiased;
    padding-top: 0 !important;
}
:where(body.pol h1, body.pol h2, body.pol h3, body.pol h4, body.pol p) { margin: 0; }
:where(body.pol a) { color: inherit; text-decoration: none; }
:where(body.pol img) { max-width: 100%; display: block; }
:where(body.pol button) { font-family: inherit; cursor: pointer; }
:where(body.pol ul) { list-style: none; margin: 0; padding: 0; }
:where(body.pol main) { display: block; }

.pol-container {
    width: 100%;
    max-width: calc(var(--container) + var(--gutter) * 2);
    margin: 0 auto;
    padding-inline: var(--gutter);
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    height: 56px; padding: 0 10px 0 10px;
    border-radius: 999px; border: 1px solid transparent;
    font-size: 16px; font-weight: 700; line-height: 1;
    white-space: nowrap; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn .btn-icon {
    width: 40px; height: 40px; border-radius: 50%; flex: 0 0 40px;
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform .25s;
}
.btn .btn-icon svg { width: 18px; height: 18px; }
.btn:hover .btn-icon { transform: translateX(-3px); }
.btn-label { padding-inline-start: 18px; }

.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--p70); }
.btn-primary .btn-icon { background: #fff; color: var(--ink); }

.btn-blue { background: var(--p60); color: #fff; }
.btn-blue:hover { background: var(--p50); }
.btn-blue .btn-icon { background: #fff; color: var(--p60); }

.btn-outline { background: #fff; color: var(--g80); border-color: var(--g30); padding: 0 28px; }
.btn-outline:hover { border-color: var(--g50); background: var(--g10); }

.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--p10); }
.btn-white .btn-icon { background: var(--ink); color: #fff; }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); padding: 0 28px; }
.btn-ghost:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn-sm { height: 48px; font-size: 14px; }
.btn-sm .btn-icon { width: 34px; height: 34px; flex-basis: 34px; }
.btn-sm .btn-icon svg { width: 16px; height: 16px; }
.btn-sm .btn-label { padding-inline-start: 14px; }
.btn-sm.btn-outline { padding: 0 22px; }

/* ---------- Pills / tags ---------- */
.pill {
    display: inline-flex; align-items: center; gap: 8px;
    height: 32px; padding: 0 14px; border-radius: 999px;
    font-size: 13px; font-weight: 600; line-height: 1;
    background: #fff; border: 1px solid var(--g20); color: var(--g70);
}
.pill-soft { background: var(--g10); border-color: transparent; color: var(--g60); }
.tag {
    display: inline-flex; align-items: center; height: 26px; padding: 0 12px;
    border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1;
}
.tag-yellow { background: var(--w60); color: var(--g80); }
.tag-yellow-soft { background: var(--w20); color: var(--w80); }
.tag-green-soft { background: var(--s10); color: var(--s70); border: 1px solid var(--s20); }
.tag-green { background: var(--s70); color: #fff; }
.tag-white-15 { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- Section headings ---------- */
.section { padding: 80px 0; }
.section-title { font-size: 40px; font-weight: 800; line-height: 1.4; color: var(--g80); letter-spacing: -.01em; }
.section-sub { font-size: 16px; color: var(--g50); margin-top: 8px; }
.section-kicker { font-size: 13px; color: var(--g50); margin-bottom: 6px; }
.section-head-center { text-align: center; }
.section-head-center .pill { margin-bottom: 16px; }

/* =========================================================
   HEADER
   ========================================================= */
.pol-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.pol-header.is-scrolled { border-bottom-color: var(--g20); }
.pol-header-inner {
    height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.pol-brand { display: inline-flex; align-items: center; gap: 10px; }
.pol-brand img { height: 40px; width: auto; }
.pol-brand .pol-brand-word { font-size: 20px; font-weight: 800; color: var(--g80); display: none; }

.pol-nav {
    display: flex; align-items: center; gap: 4px;
    padding: 4px; border-radius: 999px; border: 1px solid var(--g20); background: #fff;
}
.pol-nav a {
    display: inline-flex; align-items: center; height: 36px; padding: 0 16px; border-radius: 999px;
    font-size: 14px; font-weight: 600; color: var(--g60); transition: background-color .2s, color .2s;
}
.pol-nav a:hover { background: var(--g10); color: var(--g80); }
.pol-nav a.is-active { background: var(--g10); color: var(--g80); box-shadow: inset 0 0 0 1px var(--g20); }

.pol-header-actions { display: flex; align-items: center; gap: 20px; }
.pol-login { font-size: 14px; font-weight: 700; color: var(--g80); }
.pol-login:hover { color: var(--p60); }
.pol-burger {
    display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--g20); background: #fff;
    align-items: center; justify-content: center; color: var(--g80);
}
.pol-burger svg { width: 20px; height: 20px; }

/* Mobile drawer */
.pol-drawer {
    position: fixed; inset: 0; z-index: 60; display: none;
}
.pol-drawer.is-open { display: block; }
.pol-drawer-backdrop { position: absolute; inset: 0; background: rgba(5,46,76,.45); }
.pol-drawer-panel {
    position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px);
    background: #fff; padding: 20px 20px 28px; display: flex; flex-direction: column; gap: 8px;
    box-shadow: var(--shadow-lg); animation: drawer-in .25s ease-out;
}
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0 } to { transform: none; opacity: 1 } }
.pol-drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.pol-drawer-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--g20); background: #fff; display: inline-flex; align-items: center; justify-content: center; }
.pol-drawer-panel nav a { display: block; padding: 14px 12px; border-radius: 14px; font-size: 16px; font-weight: 700; color: var(--g80); }
.pol-drawer-panel nav a:hover { background: var(--g10); }
.pol-drawer-panel .btn { margin-top: auto; width: 100%; }

/* =========================================================
   HERO
   ========================================================= */
.hero { padding: 56px 0 0; text-align: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 8px;
    border-radius: 999px; border: 1px solid var(--g20); background: #fff; font-size: 14px; font-weight: 600; color: var(--g70);
    box-shadow: var(--shadow-sm);
}
.hero-avatars { display: inline-flex; flex-direction: row-reverse; }
.hero-avatars img, .hero-avatars span {
    width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; object-fit: cover; background: var(--p20);
    margin-inline-start: -8px;
}
.hero-avatars > :last-child { margin-inline-start: 0; }
.hero h1 {
    margin: 28px auto 0; max-width: 820px;
    font-size: 64px; line-height: 1.3; font-weight: 800; color: var(--g80); letter-spacing: -.01em;
}
.hero-sub { margin: 20px auto 0; max-width: 640px; font-size: 20px; line-height: 1.9; color: var(--g60); }
.hero-actions { margin-top: 32px; display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.hero-alt-link { display: none; font-size: 15px; font-weight: 700; color: var(--g60); margin-top: 16px; }

/* Hero steps panel */
.hero-panel {
    margin-top: 40px; padding: 56px 24px 40px; border-radius: var(--radius-xl);
    background: var(--navy-grad); position: relative; overflow: hidden; color: #fff;
}
.hero-panel::before {
    content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
    background:
        radial-gradient(circle at 50% 120%, transparent 0 220px, rgba(255,255,255,.08) 221px 222px, transparent 223px 360px, rgba(255,255,255,.07) 361px 362px, transparent 363px 500px, rgba(255,255,255,.06) 501px 502px, transparent 503px 640px, rgba(255,255,255,.05) 641px 642px, transparent 643px);
}
.steps-card {
    position: relative; margin: 0 auto; width: 100%; max-width: 560px; background: #fff; color: var(--g80);
    border-radius: var(--radius-md); padding: 24px 24px 20px; text-align: right; box-shadow: var(--shadow-lg);
}
.steps-card-title { font-size: 16px; font-weight: 700; }
.steps-card-title b { color: var(--p60); font-weight: 700; }
.steps-progress { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.steps-progress-track { flex: 1; height: 6px; background: var(--g20); border-radius: 999px; overflow: hidden; }
.steps-progress-fill { height: 100%; width: 33.333%; background: var(--p60); border-radius: 999px; transition: width .5s ease; }
.steps-progress-label { font-size: 12px; color: var(--g40); min-width: 36px; text-align: left; }
.steps-list { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.step {
    display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 14px;
    transition: background-color .3s, opacity .3s;
}
.step-num {
    width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-size: 13px; font-weight: 700; border: 1px solid var(--g30); color: var(--g40); background: #fff; transition: all .3s;
}
.step-num svg { width: 14px; height: 14px; display: none; }
.step-body { flex: 1; min-width: 0; }
.step-title { font-size: 15px; font-weight: 700; color: var(--g40); transition: color .3s; }
.step-desc { font-size: 12px; color: var(--g50); display: none; margin-top: 2px; }
.step-arrow { color: var(--g40); display: none; }
.step-arrow svg { width: 16px; height: 16px; }
.step.is-active { background: var(--p10); }
.step.is-active .step-num { background: var(--p60); border-color: var(--p60); color: #fff; }
.step.is-active .step-title { color: var(--g80); }
.step.is-active .step-desc, .step.is-active .step-arrow { display: block; }
.step.is-done .step-num { background: var(--s60); border-color: var(--s60); color: #fff; }
.step.is-done .step-num span { display: none; }
.step.is-done .step-num svg { display: block; }
.step.is-done .step-title { color: var(--g70); }
.hero-panel-note { position: relative; margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.85); text-align: center; }

/* =========================================================
   STATS
   ========================================================= */
.stats { padding: 48px 0 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat {
    background: var(--g10); border-radius: var(--radius-md); padding: 28px 24px; text-align: center;
}
.stat-value { font-size: 40px; font-weight: 800; line-height: 1.2; color: var(--g80); }
.stat-label { margin-top: 6px; font-size: 14px; color: var(--g50); }
.stat-mobile { display: none; }

/* =========================================================
   TOPICS
   ========================================================= */
.topics { padding: 96px 0 0; }
.topics .section-title { margin-bottom: 28px; }
.topics-grid {
    display: grid; gap: 16px;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 128px 128px 92px;
}
.topic {
    position: relative; overflow: hidden; border-radius: var(--radius-lg); color: #fff; display: block;
    isolation: isolate; transition: transform .25s, box-shadow .25s;
}
.topic:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.topic-bg { display: block; position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .6s; }
.topic:hover .topic-bg { transform: scale(1.04); }
.topic::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(5,46,76,0) 20%, rgba(5,46,76,.72) 100%);
}
.topic-body { position: absolute; right: 24px; bottom: 20px; left: 24px; display: block; }
.topic-title { display: block; font-size: 22px; font-weight: 700; line-height: 1.4; }
.topic-sub { display: block; font-size: 13px; color: rgba(255,255,255,.82); margin-top: 2px; }
.topic-arrow {
    position: absolute; top: 16px; left: 16px; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--g80);
    display: inline-flex; align-items: center; justify-content: center; transition: transform .25s;
}
.topic-arrow svg { width: 14px; height: 14px; }
.topic:hover .topic-arrow { transform: translate(-3px, 3px); }
.topic-flag { position: absolute; top: 16px; right: 16px; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; color: var(--g80); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; }

.topic-main { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.topic-main .topic-title { font-size: 28px; }
.topic-main .topic-sub { font-size: 14px; }
.topic-main .topic-arrow { width: 40px; height: 40px; }
.topic-side-1 { grid-column: 8 / span 5; grid-row: 1; }
.topic-side-2 { grid-column: 8 / span 5; grid-row: 2; }
.topic-row-1 { grid-column: 1 / span 4; grid-row: 3; }
.topic-row-2 { grid-column: 5 / span 4; grid-row: 3; }
.topic-row-3 { grid-column: 9 / span 4; grid-row: 3; }
.topic-wide { }
.topic-wide .topic-body { right: 24px; bottom: 50%; transform: translateY(50%); left: 70px; }
.topic-wide .topic-title { font-size: 18px; }
.topic-wide .topic-arrow { top: 50%; transform: translateY(-50%); background: transparent; color: #fff; width: 24px; height: 24px; }
.topic-wide:hover .topic-arrow { transform: translate(-3px, calc(-50% + 3px)); }

/* gradient fallbacks (from the Figma mobile variant) */
.topic-g-anxiety { background: linear-gradient(110deg, #6F6391 0%, #4C4F72 45%, #1F2E4C 100%); }
.topic-g-relation { background: linear-gradient(110deg, #4F86A8 0%, #3B6D8F 50%, #1E3C5C 100%); }
.topic-g-family { background: linear-gradient(110deg, #4E8A6C 0%, #3C6A5B 50%, #1F3744 100%); }
.topic-g-mood { background: linear-gradient(110deg, #6A6F95 0%, #4D5C85 50%, #243352 100%); }
.topic-g-growth { background: linear-gradient(110deg, #567A6A 0%, #2F4F6E 50%, #1C2E4A 100%); }
.topic-g-psychiatry { background: linear-gradient(110deg, #5A6E99 0%, #35507E 50%, #1E2F52 100%); }

/* =========================================================
   WHY POL (trust pillars)
   ========================================================= */
.why { padding: 72px 0 0; }
.why-box {
    background: var(--ink); color: #fff; border-radius: 32px; padding: 56px 56px 64px; position: relative; overflow: hidden;
}
.why-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 1px solid rgba(255,255,255,.18); }
.why-kicker { display: none; font-size: 13px; color: var(--p40); margin-bottom: 8px; }
.why-title { font-size: 40px; font-weight: 800; line-height: 1.4; }
.why-title-mobile { display: none; }
.why-sub { margin-top: 8px; font-size: 16px; color: var(--g30); max-width: 640px; }
.why-badge {
    display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px 0 8px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap;
}
.why-badge .check { width: 28px; height: 28px; border-radius: 50%; background: var(--p40); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.why-badge .check svg { width: 14px; height: 14px; }

.why-body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; margin-top: 40px; }
.pillars { display: flex; flex-direction: column; gap: 6px; position: relative; padding-right: 48px; }
.pillar-index { position: absolute; right: 0; top: 4px; font-size: 22px; font-weight: 700; color: var(--w60); font-variant-numeric: tabular-nums; transition: top .35s; }
.pillar {
    appearance: none; background: none; border: 0; padding: 0; text-align: right;
    font-size: 40px; font-weight: 800; line-height: 1.5; color: rgba(255,255,255,.28); transition: color .3s, transform .3s;
}
.pillar:hover { color: rgba(255,255,255,.6); }
.pillar.is-active { color: #fff; }

.pillar-card {
    background: var(--ink-2); border-radius: var(--radius-md); padding: 28px 28px 24px; min-height: 236px;
    display: flex; flex-direction: column; justify-content: center; position: relative;
}
.pillar-panel { display: none; }
.pillar-panel.is-active { display: block; animation: fade-up .35s ease; }
@keyframes fade-up { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
.pillar-panel .tag { margin-bottom: 12px; }
.pillar-panel h3 { font-size: 24px; font-weight: 700; line-height: 1.5; }
.pillar-panel p { margin-top: 10px; font-size: 16px; line-height: 1.9; color: var(--g20); }
.pillar-dots { display: flex; gap: 6px; justify-content: flex-start; margin-top: 18px; direction: ltr; }
.pillar-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.35); transition: all .3s; }
.pillar-dots button.is-active { width: 28px; background: var(--w60); }

/* =========================================================
   CONSULTANTS
   ========================================================= */
.consultants { margin-top: 72px; background: var(--bg-soft); padding: 72px 0; }
.consultants-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.consultants-track {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4); gap: 24px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.consultants-track::-webkit-scrollbar { display: none; }
.c-card {
    scroll-snap-align: start; background: #fff; border: 1px solid var(--g20); border-radius: var(--radius-lg); padding: 8px 8px 16px;
    display: block; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.c-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--p30); }
.c-media { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 45%, #fff 0%, var(--p10) 60%, var(--p20) 100%); }
.c-media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.c-media:nth-child(1) { }
.c-card:nth-child(4n+1) .c-media { background: radial-gradient(circle at 50% 45%, #fff 0%, #E8EEFF 60%, #D6DEFF 100%); }
.c-card:nth-child(4n+2) .c-media { background: radial-gradient(circle at 50% 45%, #fff 0%, #DFF6FF 60%, #C6EEFF 100%); }
.c-card:nth-child(4n+3) .c-media { background: radial-gradient(circle at 50% 45%, #fff 0%, #FCE8FF 60%, #F3D2FF 100%); }
.c-card:nth-child(4n+4) .c-media { background: radial-gradient(circle at 50% 45%, #fff 0%, #E4FAEE 60%, #CDF1DC 100%); }
.c-view { position: absolute; top: 12px; right: 12px; height: 30px; padding: 0 12px; border-radius: 999px; background: #fff; color: var(--g80); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; box-shadow: var(--shadow-sm); }
.c-arrow { position: absolute; top: 12px; left: 12px; width: 32px; height: 32px; border-radius: 50%; background: #fff; color: var(--g80); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); }
.c-arrow svg { width: 14px; height: 14px; }
.c-body { padding: 14px 12px 0; }
.c-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.c-name { font-size: 18px; font-weight: 700; color: var(--g80); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c-rate { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--w20); color: var(--g80); font-size: 12px; font-weight: 700; }
.c-rate svg { width: 12px; height: 12px; color: var(--w70); }
.c-meta { margin-top: 4px; font-size: 13px; color: var(--g50); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.consultants-all-link { display: none; }

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials { background: var(--bg-tint); padding: 80px 0; overflow: hidden; }
.t-track {
    margin-top: 40px; display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none; padding: 8px calc((100% - var(--container)) / 2 + var(--gutter)); margin-inline: calc((100% - 100vw) / 2); width: 100vw;
}
.t-track::-webkit-scrollbar { display: none; }
.t-card {
    flex: 0 0 380px; scroll-snap-align: center; background: #fff; border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; gap: 16px;
    transition: background .3s, color .3s, transform .3s; border: 1px solid var(--g20);
}
.t-top { display: flex; align-items: center; justify-content: space-between; }
.t-stars { display: inline-flex; gap: 2px; direction: ltr; }
.t-stars svg { width: 14px; height: 14px; color: var(--w60); }
.t-stars svg.off { color: var(--g30); }
.t-quote { width: 28px; height: 28px; color: var(--w60); }
.t-text { font-size: 18px; line-height: 1.9; color: var(--g80); flex: 1; }
.t-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--g20); padding-top: 14px; }
.t-cons { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--g60); min-width: 0; }
.t-cons img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; flex: 0 0 28px; }
.t-cons span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-card.is-active { background: var(--blue-card-grad); color: #fff; border-color: transparent; transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.t-card.is-active .t-text { color: #fff; }
.t-card.is-active .t-cons { color: rgba(255,255,255,.9); }
.t-card.is-active .t-foot { border-top-color: rgba(255,255,255,.2); }
.t-card.is-active .t-stars svg.off { color: rgba(255,255,255,.35); }
.t-nav { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; }
.t-arrows { display: flex; gap: 10px; }
.t-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--g20); background: #fff; color: var(--g80); display: inline-flex; align-items: center; justify-content: center; transition: all .2s; }
.t-arrow svg { width: 18px; height: 18px; }
.t-arrow.is-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.t-arrow:hover { border-color: var(--g50); }
.t-arrow.is-primary:hover { background: var(--p70); }
.t-dots { display: flex; gap: 6px; direction: ltr; }
.t-dots button { width: 8px; height: 8px; border-radius: 999px; border: 0; padding: 0; background: var(--g30); transition: all .3s; }
.t-dots button.is-active { width: 28px; background: var(--ink); }

/* =========================================================
   PACKAGES
   ========================================================= */
.packages { padding: 48px 0 0; }
.packages-box { background: var(--green-grad); color: #fff; border-radius: var(--radius-xl); padding: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.packages-text .tag { margin-bottom: 16px; }
.packages-text h2 { font-size: 36px; font-weight: 800; line-height: 1.4; }
.packages-text p { margin-top: 12px; font-size: 16px; color: rgba(255,255,255,.88); max-width: 460px; }
.packages-text .btn { margin-top: 28px; }
.package-steps { display: flex; flex-direction: column; gap: 12px; }
.pk {
    background: #fff; color: var(--g80); border-radius: var(--radius-sm); padding: 14px 16px; display: flex; align-items: center; gap: 14px;
    transition: transform .25s;
}
.pk-num { width: 36px; height: 36px; border-radius: 10px; background: var(--s10); color: var(--s70); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; }
.pk-body { flex: 1; min-width: 0; }
.pk-title { font-size: 16px; font-weight: 700; }
.pk-sub { font-size: 13px; color: var(--g50); margin-top: 2px; }
.pk.is-hot { box-shadow: 0 0 0 3px rgba(255,255,255,.55), 0 0 0 5px var(--s40); }
.pk.is-hot .pk-num { background: var(--s70); color: #fff; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 96px 0 0; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px; align-items: start; }
.faq-head .pill { margin-bottom: 14px; }
.faq-title-mobile { display: none; }
.faq-list { }
.faq-item { border-bottom: 1px solid var(--g20); }
.faq-q {
    width: 100%; background: none; border: 0; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    text-align: right; font-size: 16px; font-weight: 700; color: var(--g80);
}
.faq-q .faq-ico { width: 24px; height: 24px; flex: 0 0 24px; position: relative; color: var(--g70); }
.faq-q .faq-ico::before, .faq-q .faq-ico::after { content: ""; position: absolute; top: 50%; left: 50%; background: currentColor; transform: translate(-50%, -50%); transition: transform .25s, opacity .25s; }
.faq-q .faq-ico::before { width: 14px; height: 2px; }
.faq-q .faq-ico::after { width: 2px; height: 14px; }
.faq-item.is-open .faq-q .faq-ico::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { font-size: 14px; line-height: 1.9; color: var(--g60); padding: 0 0 18px; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-more { margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--p60); background: none; border: 0; padding: 0; white-space: nowrap; }
.faq-more svg { width: 16px; height: 16px; }
.faq-item.is-extra { display: none; }
.faq-list.show-all .faq-item.is-extra { display: block; }

/* =========================================================
   CTA BAND
   ========================================================= */
.cta { padding: 96px 0 0; }
.cta-box { background: var(--cta-grad); color: #fff; border-radius: var(--radius-xl); padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; left: -10%; bottom: -60%; width: 60%; height: 160%; background: radial-gradient(closest-side, rgba(124,198,217,.55), transparent); pointer-events: none; }
.cta-box h2 { font-size: 36px; font-weight: 800; line-height: 1.45; max-width: 420px; position: relative; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; position: relative; }

/* =========================================================
   PARTNERS (مجموعه‌های همکار)
   ========================================================= */
.partners { padding: 96px 0 0; }
.partners-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.partners-head .section-title { font-size: 32px; }
.partners-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.partner {
    display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-md);
    background: #fff; border: 1px solid var(--g20); position: relative;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.partner:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--p30); }
.partner-logo {
    width: 52px; height: 52px; flex: 0 0 52px; border-radius: 14px; background: var(--g10);
    display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
}
.partner-logo img { width: 32px; height: 32px; object-fit: contain; }
.partner-body { flex: 1; min-width: 0; }
.partner-name { font-size: 15px; font-weight: 700; color: var(--g80); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.partner-desc { font-size: 12.5px; color: var(--g50); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.partner-arrow { width: 28px; height: 28px; flex: 0 0 28px; border-radius: 50%; border: 1px solid var(--g20); color: var(--g50); display: inline-flex; align-items: center; justify-content: center; transition: all .25s; }
.partner-arrow svg { width: 12px; height: 12px; }
.partner:hover .partner-arrow { background: var(--ink); border-color: var(--ink); color: #fff; }

@media (max-width: 1100px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
    .partners { padding-top: 56px; }
    .partners-head { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 16px; }
    .partners-head .section-title { font-size: 24px; }
    .partners-grid { grid-template-columns: 1fr; gap: 10px; }
    .partner { padding: 12px 14px; border-radius: var(--radius-sm); }
    .partner-logo { width: 44px; height: 44px; flex-basis: 44px; border-radius: 12px; }
    .partner-logo img { width: 28px; height: 28px; }
}

/* =========================================================
   EMERGENCY + FOOTER
   ========================================================= */
.emergency { padding: 32px 0 0; }
.emergency-box { background: var(--w10); border: 1px solid var(--w40); border-radius: var(--radius-sm); padding: 14px 20px; font-size: 14px; color: var(--g70); line-height: 1.9; }
.emergency-box b { color: var(--g80); }
.emergency-box .sep { color: var(--g40); margin: 0 6px; }
.emergency-box .em-list { display: inline; }

.pol-footer { padding: 40px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 40px; padding: 24px 0 32px; border-top: 1px solid var(--g20); }
.footer-brand-title { font-size: 18px; font-weight: 800; }
.footer-brand p { margin-top: 10px; font-size: 13px; color: var(--g50); line-height: 1.9; max-width: 300px; }
.footer-col h4 { font-size: 14px; font-weight: 700; color: var(--g80); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 13px; color: var(--g50); padding: 4px 0; transition: color .2s; }
.footer-col a:hover { color: var(--p60); }
.footer-trust { width: 96px; height: 96px; border: 1px dashed var(--g30); border-radius: var(--radius-xs); display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--g50); overflow: hidden; }
.footer-trust img { max-height: 80px; width: auto; }
.footer-bottom { border-top: 1px solid var(--g20); padding: 16px 0 28px; font-size: 13px; color: var(--g50); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-bottom .social { display: flex; gap: 14px; }
.footer-bottom .social a { color: var(--g50); display: inline-flex; }
.footer-bottom .social a:hover { color: var(--p60); }
.footer-bottom .social svg { width: 18px; height: 18px; }

/* Sticky mobile CTA */
.sticky-cta { display: none; }

/* Generic page wrapper for non-home pages (payment/support) */
.pol-page { padding: 48px 0 80px; min-height: 50vh; }
.pol-page .container { max-width: 100%; }
.support-card { max-width: 560px; margin: 0 auto; text-align: center; background: var(--bg-soft); border-radius: var(--radius-lg); padding: 48px 32px; }
.support-card h1 { font-size: 28px; font-weight: 800; }
.support-card p { margin: 12px 0 24px; color: var(--g60); }

/* Utility icon */
.i-arrow-left { }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
    .hero h1 { font-size: 52px; }
    .why-body { grid-template-columns: 1fr; }
    .pillar { font-size: 32px; }
    .consultants-track { grid-auto-columns: calc((100% - 48px) / 3); }
    .faq-grid { grid-template-columns: 1fr; gap: 24px; }
    .packages-box { grid-template-columns: 1fr; }
    .cta-box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 860px) {
    .pol-nav { display: none; }
    .pol-header-cta { display: none; }
    .pol-header-actions { gap: 14px; }
    .pol-burger { display: inline-flex; }
    .pol-header-inner { height: 72px; }
    .pol-brand img { height: 36px; }
    .pol-brand .pol-brand-word { display: inline; }

    .section { padding: 56px 0; }
    .section-title { font-size: 28px; }

    .hero { padding-top: 32px; }
    .hero h1 { font-size: 40px; line-height: 1.35; }
    .hero-sub { font-size: 17px; }
    .hero-actions .btn-outline { display: none; }
    .hero-actions .btn-primary { width: 100%; justify-content: space-between; }
    .hero-alt-link { display: inline-block; }
    .hero-panel { padding: 28px 16px 24px; border-radius: var(--radius-lg); }
    .steps-card { padding: 20px 16px 16px; }

    .stats { padding-top: 32px; }
    .stats-grid { gap: 12px; }
    .stat { padding: 20px 10px; border-radius: var(--radius-sm); }
    .stat-value { font-size: 24px; color: var(--p70); }
    .stat-label { font-size: 13px; }
    .stat-desktop { display: none; }
    .stat-mobile { display: block; }

    .topics { padding-top: 56px; }
    .topics .section-title { font-size: 28px; }
    .topics-grid { grid-template-columns: 1fr; grid-template-rows: none; gap: 12px; }
    .topic, .topic-main, .topic-side-1, .topic-side-2, .topic-row-1, .topic-row-2, .topic-row-3 { grid-column: auto; grid-row: auto; height: 112px; }
    .topic .topic-body, .topic-wide .topic-body { right: 24px; left: 64px; bottom: 50%; transform: translateY(50%); }
    .topic-title, .topic-main .topic-title, .topic-wide .topic-title { font-size: 20px; }
    .topic-sub, .topic-main .topic-sub { font-size: 13px; }
    .topic-arrow, .topic-main .topic-arrow, .topic-wide .topic-arrow { top: 50%; transform: translateY(-50%); background: transparent; color: #fff; width: 24px; height: 24px; left: 24px; }
    .topic-flag { display: none; }
    .topic::after { background: linear-gradient(180deg, rgba(5,46,76,.1), rgba(5,46,76,.35)); }
    .topic-bg { display: none; }

    .why { padding-top: 48px; }
    .why-box { padding: 32px 20px 36px; border-radius: var(--radius-lg); }
    .why-head { border-bottom: 0; padding-bottom: 0; }
    .why-kicker { display: block; }
    .why-title { font-size: 28px; }
    .why-title-desktop { display: none; }
    .why-title-mobile { display: block; }
    .why-badge { display: none; }
    .why-body { gap: 24px; margin-top: 24px; }
    .pillars { padding-right: 56px; }
    .pillar { font-size: 32px; }
    .pillar-card { padding: 22px 20px 20px; min-height: 0; }
    .pillar-panel h3 { font-size: 20px; }

    .consultants { margin-top: 48px; padding: 48px 0; }
    .consultants-head { flex-direction: column; align-items: flex-start; gap: 8px; margin-bottom: 20px; }
    .consultants-head .btn { display: none; }
    .consultants-track { grid-auto-columns: 78%; gap: 14px; }
    .consultants-all-link { display: inline-flex; margin-top: 16px; font-size: 15px; font-weight: 700; color: var(--p60); text-decoration: underline; text-underline-offset: 4px; }

    .testimonials { padding: 56px 0; }
    .t-track { padding: 8px var(--gutter); gap: 14px; }
    .t-card { flex-basis: 82%; padding: 22px 20px; }
    .t-text { font-size: 16px; }
    .t-nav { margin-top: 24px; }

    .packages { padding-top: 24px; }
    .packages-box { padding: 24px 16px; border-radius: var(--radius-lg); gap: 24px; }
    .packages-text h2 { font-size: 26px; }
    .packages-text .btn { width: 100%; justify-content: space-between; }

    .faq { padding-top: 56px; }
    .faq-head .pill, .faq-head .section-sub, .faq-title-desktop { display: none; }
    .faq-title-mobile { display: block; font-size: 28px; }
    .faq-q { font-size: 16px; }

    .cta { padding-top: 56px; }
    .cta-box { padding: 32px 20px; border-radius: var(--radius-lg); }
    .cta-box h2 { font-size: 26px; }
    .cta-actions { width: 100%; }
    .cta-actions .btn { width: 100%; justify-content: space-between; }
    .cta-actions .btn-ghost { justify-content: center; }

    .emergency-box { font-size: 13px; }
    .emergency-box .em-list { display: block; margin-top: 4px; color: var(--g50); }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-trust-wrap { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 110px; }

    .sticky-cta {
        display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 12px 16px 16px;
        background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.95) 40%);
        transform: translateY(110%); transition: transform .3s;
    }
    .sticky-cta.is-visible { transform: none; }
    .sticky-cta .btn { width: 100%; justify-content: space-between; box-shadow: var(--shadow-lg); }
}

@media (max-width: 420px) {
    .hero h1 { font-size: 34px; }
    .hero-badge { font-size: 13px; height: 40px; }
    .pillar { font-size: 28px; }
    .consultants-track { grid-auto-columns: 84%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
