/* خدمات پس از فروش (راهنمای مشتریان) — همه‌ی قاعده‌ها با پیشوند .cg */
.cg{
  --ink:#0B3B3A; --ink-2:#2a3850; --muted:#5a6677; --paper:#f4f6f9; --card:#ffffff; --line:#dbe1ea;
  --brand:#00706F; --brand-soft:#E8F4F3;
  --gem:#5fb7d4; --gem-soft:#e3f4fa;
  --ok:#12906b; --warn:#9a5b00; --warn-bg:#fff4dc;
  --r:10px; --maxw:1180px;
}
.cg *{box-sizing:border-box}
.cg{scroll-behavior:smooth;scroll-padding-top:84px}
.cg{margin:0;background:var(--paper);color:var(--ink);font-family:"Vazirmatn",Tahoma,"Segoe UI",sans-serif;font-size:17px;line-height:1.95;-webkit-font-smoothing:antialiased}
.cg a,.cg a:hover,.cg a:focus,.cg a:visited,.cg abbr,.cg u,.cg ins,.cg summary,.cg button{text-decoration:none !important}
.cg a{color:inherit}
.cg :focus-visible{outline:3px solid var(--brand);outline-offset:3px;border-radius:4px}
.cg h1,.cg h2,.cg h3,.cg h4{line-height:1.5;margin:0;font-weight:800;letter-spacing:0}
.cg p{margin:0 0 1em}
.cg ul{margin:0 0 1em;padding-inline-start:1.3em}
.cg li{margin-bottom:.35em}
.cg bdi{unicode-bidi:isolate}
.cg .ltr{direction:ltr;unicode-bidi:isolate;display:inline-block}
.cg .wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:16px}
.cg .sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
@media (max-width:860px){}
.cg .hero{background:var(--ink);color:#fff;padding:48px 0 0;overflow:hidden;position:relative}
.cg .hero .wrap{display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center}
.cg .hero h1{font-size:clamp(30px,4.6vw,52px);font-weight:800;line-height:1.35;margin-bottom:14px}
.cg .hero .lead{color:#c3cee0;font-size:18px;max-width:34em}
.cg .crumbs{font-size:14px;color:#8fa0b9;margin-bottom:18px}
.cg .crumbs a:hover{color:#fff}
.cg .gemstage{display:grid;justify-items:center;gap:14px}
.cg .gem{width:min(270px,62vw);filter:drop-shadow(0 18px 30px rgba(0,0,0,.45));transition:transform .2s ease-out}
.cg .gem polygon{fill:var(--gem);transition:fill .6s}
.cg .gem .f1{filter:brightness(1.45)}
.cg .gem .f2{filter:brightness(1.18)}
.cg .gem .f3{filter:brightness(.92)}
.cg .gem .f4{filter:brightness(1.05)}
.cg .gem .f5{filter:brightness(.78)}
.cg .gem .f6{filter:brightness(.6)}
.cg .gem polygon{opacity:0;animation:facet .7s forwards}
.cg .gem .f1{animation-delay:.05s}
.cg .gem .f2,.cg .gem .f3{animation-delay:.2s}
.cg .gem .f4{animation-delay:.35s}
.cg .gem .f5{animation-delay:.5s}
.cg .gem .f6{animation-delay:.65s}
@keyframes facet{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.cg .tiers{display:flex;gap:8px;flex-wrap:wrap;justify-content:center}
.cg .tiers button{font:inherit;font-weight:700;font-size:15px;padding:6px 16px;border-radius:99px;border:1.5px solid rgba(255,255,255,.28);background:transparent;color:#fff;cursor:pointer}
.cg .tiers button[aria-pressed="true"]{background:var(--gem);border-color:var(--gem);color:#0b1626}
.cg .tierinfo{min-height:96px;text-align:center;max-width:380px;color:#d6deeb;font-size:15.5px;line-height:1.8}
.cg .tierinfo b{color:#fff;font-size:18px}
.cg .intents{margin-top:40px;background:var(--paper);border-radius:18px 18px 0 0;padding:22px 18px 0;color:var(--ink)}
.cg .intents h2{font-size:17px;margin-bottom:12px;color:var(--muted);font-weight:500}
.cg .intents ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,1fr);gap:10px}
.cg .intents li{margin:0}
.cg .intents a{display:block;height:100%;padding:12px 14px;border:1px solid var(--line);background:var(--card);border-radius:var(--r);font-weight:700;font-size:15px;line-height:1.6}
.cg .intents a small{display:block;font-weight:400;color:var(--muted);font-size:13px;line-height:1.5}
.cg .intents a:hover{border-color:var(--ink);background:#fff}
@media (max-width:980px){.cg .hero .wrap{grid-template-columns:minmax(0,1fr)}
.cg .gemstage{order:-1}
.cg .intents ul{grid-template-columns:repeat(2,1fr)}}
.cg .layout{display:block;max-width:900px;padding-block:36px 64px}
.cg .toggle.floating{position:fixed;inset-inline-start:14px;bottom:14px;z-index:70;background:#fff;border:1px solid var(--line);border-radius:99px;padding:6px 14px;box-shadow:0 4px 18px rgba(15,27,45,.18);align-items:center;max-width:calc(100vw - 28px)}
.cg main section{padding-block:30px;border-top:1px solid var(--line)}
.cg main section:first-child{border-top:0;padding-top:0}
.cg h2.sec{font-size:clamp(24px,3vw,32px);margin-bottom:6px}
.cg h2.sec+.sub{color:var(--muted);margin-bottom:22px;max-width:46em}
.cg h3{font-size:20px;margin:26px 0 8px}
.cg .prose{max-width:46em}
.cg .note{background:var(--card);border:1px solid var(--line);border-inline-start:4px solid var(--ink);padding:12px 16px;border-radius:var(--r);margin:16px 0;font-size:16px}
.cg .note.brand{border-inline-start-color:var(--brand)}
.cg .todo{background:var(--warn-bg);color:var(--warn);border:1.5px dashed #d9a441;border-radius:var(--r);padding:10px 14px;font-size:14.5px;line-height:1.8;margin:14px 0}
.cg .todo::before{content:"✎ برای ویرایش‌گر: ";font-weight:800}
.cg .ph{display:grid;place-items:center;text-align:center;min-height:150px;margin:16px 0;border:1.5px dashed #9fb0c8;border-radius:var(--r);background:repeating-linear-gradient(135deg,#eef2f8 0 12px,#e6ecf5 12px 24px);color:#47587a;font-size:14.5px;padding:14px}
.cg .ph b{display:block;font-size:15px}
.cg.hide-todo .todo,.cg.hide-todo .ph{display:none}
.cg .tablewrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--r);background:var(--card);margin:14px 0 20px}
.cg table{border-collapse:collapse;width:100%;font-size:15.5px;line-height:1.7}
.cg th,.cg td{padding:10px 14px;border-bottom:1px solid var(--line);text-align:start;vertical-align:top}
.cg thead th{background:#eaeff6;font-weight:700;white-space:nowrap}
.cg tbody tr:last-child td{border-bottom:0}
.cg tbody th{font-weight:700;background:#f7f9fc;white-space:nowrap}
.cg td.num,.cg th.num{text-align:center}
.cg caption{caption-side:top;text-align:start;padding:10px 14px;font-weight:700}
.cg .tbl-sticky thead th{position:sticky;top:0}
.cg .cmp th[data-tier],.cg .cmp td[data-tier]{transition:background .25s}
.cg .cmp[data-active="diamond"] [data-tier="diamond"],.cg .cmp[data-active="ruby"] [data-tier="ruby"],.cg .cmp[data-active="emerald"] [data-tier="emerald"],.cg .cmp[data-active="turq"] [data-tier="turq"]{background:var(--gem-soft);box-shadow:inset 0 0 0 0 transparent}
.cg .cmp thead th[data-tier]{border-top:4px solid var(--c)}
.cg [data-tier="diamond"]{--c:#4fb0d0}
.cg [data-tier="ruby"]{--c:#c0213f}
.cg [data-tier="emerald"]{--c:#12906b}
.cg [data-tier="turq"]{--c:#1aa9b2}
.cg .cmp thead th button{font:inherit;font-weight:700;background:none;border:0;cursor:pointer;color:inherit;padding:0}
.cg .chip{display:inline-block;padding:1px 10px;border-radius:99px;font-size:13.5px;font-weight:700;background:#e9eef6}
.cg .chip.ok{background:#dff3ea;color:#0b6b50}
.cg .chip.try{background:#fff0cf;color:#835000}
.cg .chip.q{background:#e8ecf3;color:#41506a}
.cg .chip.none{background:#f3e3e6;color:#8c1f35}
.cg .finder{display:flex;gap:10px;flex-wrap:wrap;margin:12px 0}
.cg input[type="search"],.cg select{font:inherit;font-size:16px;padding:9px 14px;border:1.5px solid var(--line);border-radius:var(--r);background:#fff;color:var(--ink);min-width:220px;flex:1}
.cg input[type="search"]:focus,.cg select:focus{border-color:var(--ink);outline:none}
.cg details.sw,.cg details.faq{background:var(--card);border:1px solid var(--line);border-radius:var(--r);margin-bottom:8px}
.cg details summary{cursor:pointer;list-style:none;padding:13px 16px;font-weight:700;display:flex;gap:12px;align-items:center}
.cg details summary::-webkit-details-marker{display:none}
.cg details summary::after{content:"+";margin-inline-start:auto;font-size:22px;line-height:1;color:var(--muted);transition:transform .2s}
.cg details[open] summary::after{content:"−"}
.cg details[open]{border-color:#b9c4d6}
.cg .dbody{padding:2px 18px 16px;border-top:1px solid var(--line);padding-top:12px}
.cg .tag{font-size:12.5px;font-weight:500;background:#e9eef6;color:#3a4a66;border-radius:99px;padding:0 10px}
.cg .btn{display:inline-flex;align-items:center;gap:8px;padding:8px 18px;border-radius:99px;background:var(--ink);color:#fff;font-weight:700;font-size:15px;border:0;cursor:pointer;font-family:inherit}
.cg .btn:hover{background:var(--brand)}
.cg .btn.ghost{background:transparent;color:var(--ink);border:1.5px solid var(--ink)}
.cg .btn.ghost:hover{background:var(--ink);color:#fff}
.cg .links{display:flex;gap:8px;flex-wrap:wrap;margin-top:6px}
.cg .steps{list-style:none;margin:20px 0;padding:0;counter-reset:s;position:relative}
.cg .steps::before{content:"";position:absolute;inset-block:12px;inset-inline-start:17px;width:2px;background:var(--line)}
.cg .steps li{position:relative;padding-inline-start:54px;margin-bottom:22px;counter-increment:s}
.cg .steps li::before{content:counter(s,persian);position:absolute;inset-inline-start:0;top:0;width:36px;height:36px;border-radius:50%;background:var(--ink);color:#fff;display:grid;place-items:center;font-weight:800}
.cg .steps li:last-child::before{background:var(--brand)}
.cg .steps b{display:block;font-size:18px}
@counter-style persian{system:numeric;symbols:"۰" "۱" "۲" "۳" "۴" "۵" "۶" "۷" "۸" "۹"}
.cg .four{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.cg .four article{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px 18px}
.cg .four h3{margin:0 0 4px;font-size:18px}
.cg .four .en{font-size:13.5px;color:var(--muted);margin-bottom:8px}
@media (max-width:700px){.cg .four{grid-template-columns:1fr}}
.cg .code{display:inline-flex;align-items:center;gap:8px;background:#eef1f6;border:1px solid var(--line);border-radius:7px;padding:1px 4px 1px 10px;font-family:Consolas,Menlo,monospace;font-size:14.5px;direction:ltr}
.cg .code button{font:inherit;font-size:12.5px;border:0;background:var(--ink);color:#fff;border-radius:5px;padding:2px 8px;cursor:pointer}
.cg .code button.done{background:var(--ok)}
.cg mark{background:#ffe08a;color:inherit;padding:0 2px;border-radius:3px}
.cg .groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.cg .grp{background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:16px 20px}
.cg .grp h3{margin:0 0 8px;font-size:18px}
.cg .grp ul{list-style:none;padding:0;margin:0}
.cg .grp li{padding:5px 0 5px 0;border-top:1px solid var(--line);margin:0;font-size:16px;line-height:1.7}
.cg .grp li:first-child{border-top:0}
@media (max-width:700px){.cg .groups{grid-template-columns:minmax(0,1fr)}}
.cg .hidden{display:none !important}
.cg.hide-turq [data-tier="turq"],.cg.hide-turq .tiers button[data-t="turq"]{display:none}
@media (prefers-reduced-motion:reduce){.cg *{animation:none !important;transition:none !important;scroll-behavior:auto !important}
.cg .gem polygon{opacity:1}}
@media print{.cg .hero .gemstage,.cg .intents,.cg .finder,.cg .toggle{display:none}
.cg .layout{display:block}
.cg details>*{display:block}
.cg details{break-inside:avoid}
.cg .todo,.cg .ph{display:none}}
.cg{background:var(--paper);font-family:inherit;font-size:16px}.cg .hero{border-radius:0 0 28px 28px}
.cg .actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px;margin:26px 0}
.cg .actions a,.cg .actions button{display:grid;gap:6px;padding:18px;border-radius:18px;background:#fff;box-shadow:0 18px 36px -28px rgba(11,59,58,.5);color:var(--ink);text-align:start;font:inherit;border:0;cursor:pointer}
.cg .actions b{font-size:16px}.cg .actions small{color:var(--muted);font-size:13px}
.cg figure.cgimg{margin:18px 0;border-radius:20px;overflow:hidden}.cg figure.cgimg img{display:block;width:100%;height:auto}
.cg .hero h1, .cg .hero > .wrap h1 { color: #fff !important; }
.cg .hero .intents h2 { color: var(--ink); }
.cg .sec { color: var(--ink); }
/* چهار دکمه‌ی اقدام: کارت‌های رنگی با آیکون */
.cg .actions { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.cg .actions .act { position: relative; overflow: hidden; display: grid; gap: 8px; align-content: start; padding: 24px 22px 26px; border-radius: 26px; color: #fff; text-align: start; border: 0; cursor: pointer; font: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s; box-shadow: 0 26px 40px -28px var(--ac); background: var(--ag); }
.cg .act::before { content: ""; position: absolute; inset-inline-end: -40px; inset-block-start: -40px; width: 150px; height: 150px; border-radius: 50%; background: rgba(255,255,255,.14); }
.cg .act::after { content: ""; position: absolute; inset-inline-start: -30px; inset-block-end: -50px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cg .act:hover { transform: translateY(-6px); box-shadow: 0 34px 48px -26px var(--ac); }
.cg .act > * { position: relative; z-index: 1; }
.cg .act b { font-size: 17px; font-weight: 900; color: #fff; }
.cg .act small { color: rgba(255,255,255,.85); font-size: 13px; line-height: 1.8; }
.cg .act__ic { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 17px; background: rgba(255,255,255,.2); backdrop-filter: blur(4px); margin-bottom: 6px; }
.cg .act__ic svg { width: 28px; height: 28px; }
.cg .act__go { position: absolute !important; inset-inline-start: 18px; inset-block-end: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.22); }
.cg .act__go svg { width: 15px; height: 15px; }
html[dir="rtl"] .cg .act__go svg { transform: scaleX(-1); }
.cg .act--a { --ag: linear-gradient(135deg, #0B3B3A, #00706F); --ac: rgba(0,112,111,.7); }
.cg .act--b { --ag: linear-gradient(135deg, #1F5FE0, #3B8BFF); --ac: rgba(31,95,224,.65); }
.cg .act--c { --ag: linear-gradient(135deg, #D97706, #F2B33D); --ac: rgba(217,119,6,.6); }
.cg .act--d { --ag: linear-gradient(135deg, #6D28D9, #A855F7); --ac: rgba(109,40,217,.6); }
.cg .act--c small, .cg .act--c b { color: #fff; }
