/* نرم‌افزار دندانپزشکی هولدینگ هیراد — استایل سایت
   هویت بصری: سبز-آبی تیره صندلی دندانپزشکی، صورتی لثه، سفید مینای دندان.
   نشانه ساختاری: خط لثه (لبه موج‌دار بین بخش‌ها) و قوس دندان‌ها. */

@font-face {
  font-family: "Vazirmatn";
  src: url("/fonts/Vazirmatn-Variable.woff2") format("woff2-variations"), url("/fonts/Vazirmatn-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --enamel: #F3F8F9;
  --paper: #FFFFFF;
  --ink: #0F2833;
  --ink-2: #33505C;
  --muted: #5F7883;
  --line: #D9E6E9;
  --chair-950: #052631;
  --chair-900: #073340;
  --chair: #0B4F63;
  --chair-600: #11677E;
  --mint: #5FD3BC;
  --mint-300: #9BE4D5;
  --mint-50: #E3F6F1;
  --gum: #E46F82;
  --gum-600: #C8556A;
  --gum-50: #FCE9EC;
  --gold: #E9B949;
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --wrap: 1200px;
  --shadow: 0 30px 60px -30px rgba(7, 51, 64, .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0; font-family: "Vazirmatn", Tahoma, sans-serif; font-size: 17px; line-height: 1.9; color: var(--ink);
  background: var(--enamel); font-feature-settings: "ss01"; overflow-x: clip;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--chair-600); text-decoration: none; }
a:hover { color: var(--chair); }
h1, h2, h3 { line-height: 1.4; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; border-radius: 6px; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.center { text-align: center; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.wrap.narrow { max-width: 820px; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; color: #fff; }

.ic { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.sm { width: 18px; height: 18px; }
.ic.xs { width: 14px; height: 14px; stroke-width: 2.2; }

/* ---------- دکمه‌ها ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.3rem; border-radius: 999px;
  font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.4; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .2s, box-shadow .25s; white-space: nowrap;
}
.btn.lg { padding: .9rem 1.7rem; font-size: 1.02rem; }
.btn.sm { padding: .45rem .95rem; font-size: .85rem; }
.btn:active { transform: translateY(1px); }
.btn-gum { background: var(--gum); color: #fff; box-shadow: 0 12px 24px -12px rgba(228, 111, 130, .8); }
.btn-gum:hover { background: var(--gum-600); color: #fff; transform: translateY(-2px); }
.btn-ink { background: var(--chair); color: #fff; }
.btn-ink:hover { background: var(--chair-900); color: #fff; }
.btn-mint { background: var(--mint); color: var(--chair-950); }
.btn-mint:hover { background: var(--mint-300); color: var(--chair-950); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--paper); }
.btn-line:hover { border-color: var(--chair); color: var(--chair); }
.btn-line.danger { color: #B42318; }
.btn-line-light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-line-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.link { font-weight: 700; display: inline-flex; gap: .4rem; align-items: center; border-bottom: 2px solid var(--mint); padding-bottom: 2px; color: var(--chair); }
.link:hover { border-color: var(--gum); }
.link.light { color: var(--mint-300); }

/* ---------- سربرگ ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(243, 248, 249, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .3s; }
.hdr.scrolled { border-color: var(--line); background: rgba(255, 255, 255, .9); }
.hdr-in { display: flex; align-items: center; gap: 1.5rem; height: 74px; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--ink); flex: none; }
.brand .logo { width: 42px; height: 42px; }
.brand-t { display: flex; flex-direction: column; line-height: 1.15; }
.brand-t b { font-size: 1.45rem; font-weight: 900; letter-spacing: -.01em; }
.brand-t small { font-size: .7rem; color: var(--muted); font-weight: 600; }
.brand.light, .brand.light .brand-t b { color: #fff; }
.brand.light small { color: var(--mint-300); }
.nav { display: flex; align-items: center; gap: .25rem; margin-inline-start: auto; }
.nav > a, .nav-dd > a { color: var(--ink-2); font-weight: 600; font-size: .94rem; padding: .5rem .75rem; border-radius: 10px; display: inline-flex; align-items: center; gap: .25rem; }
.nav > a:hover, .nav-dd > a:hover, .nav a.on { color: var(--chair); background: var(--mint-50); }
.nav-cta-m { display: none !important; }
.nav-dd { position: relative; }
.mega {
  position: absolute; top: calc(100% + 10px); inset-inline-start: -180px; width: 640px; background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-m); box-shadow: var(--shadow); padding: .6rem; display: grid; grid-template-columns: 1fr 1fr; gap: .1rem;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s var(--ease);
}
.nav-dd:hover .mega, .nav-dd:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; gap: .7rem; padding: .55rem .7rem; border-radius: 12px; color: var(--ink); align-items: flex-start; }
.mega a:hover { background: var(--mint-50); }
.mega .ic { color: var(--chair-600); margin-top: 3px; }
.mega b { display: block; font-size: .9rem; }
.mega small { display: block; color: var(--muted); font-size: .76rem; line-height: 1.6; }
.hdr-act { display: flex; align-items: center; gap: .8rem; }
.hdr-tel { display: inline-flex; align-items: center; gap: .35rem; color: var(--ink); font-weight: 700; font-size: .92rem; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: var(--paper); border-radius: 12px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.burger span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .85rem; color: var(--muted); padding: .9rem 0 0; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; }

/* ---------- قهرمان ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden; padding: 64px 0 120px;
  background:
    radial-gradient(700px 420px at 18% 40%, rgba(95, 211, 188, .22), transparent 70%),
    radial-gradient(600px 400px at 90% 0%, rgba(228, 111, 130, .18), transparent 70%),
    linear-gradient(160deg, var(--chair) 0%, var(--chair-900) 55%, var(--chair-950) 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(#000, transparent 80%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; align-items: center; }
.hero-kicker { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--mint-300); font-size: .95rem; margin-bottom: 1rem; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(95, 211, 188, .6); animation: pulse 2.2s infinite; }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 4.1rem); font-weight: 900; line-height: 1.3; letter-spacing: -.015em; margin-bottom: .45em; }
.hero h1 { background: linear-gradient(90deg, #fff 0%, #fff 55%, var(--mint-300) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .82); max-width: 34em; line-height: 2; }
.hero-act { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.8rem 0 1.4rem; }
.hero-act.center { justify-content: center; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding: 0; margin: 0; color: rgba(255, 255, 255, .78); font-size: .92rem; }
.hero-points li { display: inline-flex; gap: .4rem; align-items: center; }
.hero-points .ic { color: var(--mint); }
.hero-art { position: relative; aspect-ratio: 56 / 44; }
.gumline { display: block; width: 100%; height: 60px; fill: var(--enamel); }
.hero-gum { position: absolute; bottom: -1px; left: 0; }

/* دهان متحرک */
.mouth { width: 100%; height: 100%; overflow: visible; }
.m-ring { fill: none; stroke: rgba(255, 255, 255, .12); stroke-width: 1.5; stroke-dasharray: 4 10; transform-origin: 280px 230px; animation: spin 60s linear infinite; }
.m-ring.r2 { stroke: rgba(95, 211, 188, .25); stroke-dasharray: 2 14; animation-direction: reverse; animation-duration: 40s; }
.m-face { transform-origin: 280px 260px; animation: smileIn 1.2s var(--ease) both, breathe 6s 1.2s ease-in-out infinite; }
.m-t { transform-box: fill-box; transform-origin: 50% 0; animation: toothIn .55s var(--ease) both; animation-delay: calc(.35s + var(--i) * .07s); }
.m-t.low { transform-origin: 50% 100%; animation-delay: calc(.6s + var(--i) * .07s); }
.m-jaw { animation: talk 7s 1.8s ease-in-out infinite; }
.m-shine { animation: shine 5s 2s ease-in-out infinite; }
.m-waves path { fill: none; stroke: var(--mint); stroke-width: 3; stroke-linecap: round; opacity: 0; animation: wave 7s 1.8s ease-out infinite; }
.m-waves path:nth-child(2), .m-waves path:nth-child(5) { animation-delay: 2s; }
.m-waves path:nth-child(3), .m-waves path:nth-child(6) { animation-delay: 2.2s; }
.m-spark path { fill: #fff; transform-box: fill-box; transform-origin: center; animation: twinkle 3.2s ease-in-out infinite; }
.m-spark .s2 { animation-delay: 1.1s; fill: var(--mint-300); }
.m-spark .s3 { animation-delay: 2.1s; fill: var(--gum-50); }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .55rem; background: rgba(255, 255, 255, .96); color: var(--ink);
  border-radius: 14px; padding: .55rem .85rem; font-size: .84rem; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .45);
  animation: cardIn .7s var(--ease) both, bob 6s ease-in-out infinite; white-space: nowrap;
}
.float-card .ic { color: var(--chair-600); }
.float-card b { color: var(--chair); }
.fc1 { top: 6%; inset-inline-start: -2%; animation-delay: 1.4s, 2.1s; }
.fc2 { top: 34%; inset-inline-end: -6%; animation-delay: 1.7s, 2.6s; }
.fc2 .ic { color: var(--gum); }
.fc3 { bottom: 12%; inset-inline-start: 4%; animation-delay: 2s, 3.1s; }
.fc3 .ic { color: #1F9D6E; }
.fc4 { bottom: 0; inset-inline-end: 14%; animation-delay: 2.3s, 3.6s; background: var(--gum); color: #fff; }
.fc4 .ic { color: #fff; }

/* نوار کلمات */
.ticker { overflow: hidden; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ticker-track { display: flex; gap: 1.4rem; align-items: center; width: max-content; animation: marquee 50s linear infinite; }
.ticker span { font-weight: 800; font-size: 1.05rem; color: var(--ink-2); white-space: nowrap; }
.ticker .ic { color: var(--gum); }
.ticker:hover .ticker-track { animation-play-state: paused; }

/* ---------- بخش‌ها ---------- */
.sec { padding: 96px 0; position: relative; }
.sec.tight { padding: 56px 0; }
.sec-head { max-width: 760px; margin-bottom: 2.6rem; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.sec-h { font-size: clamp(1.6rem, 3vw, 2.45rem); font-weight: 900; letter-spacing: -.01em; }
.sec-h.mt { margin-top: 3rem; }
.sec-p { color: var(--muted); font-size: 1.06rem; }
.facts { background: var(--paper); border-bottom: 1px solid var(--line); }
.facts-in { display: grid; grid-template-columns: repeat(5, 1fr); }
.facts-in > div { padding: 30px 18px; display: flex; gap: .9rem; align-items: center; border-inline-start: 1px solid var(--line); }
.facts-in > div:first-child { border: 0; }
.facts b { font-size: 2.7rem; font-weight: 900; color: var(--chair); line-height: 1; min-width: 1.6em; }
.facts span { font-size: .83rem; color: var(--muted); line-height: 1.7; }

/* ---------- قوس امکانات ---------- */
.arch-sec { background: linear-gradient(var(--enamel), var(--paper)); }
.arch { position: relative; }
.arch-stage { position: relative; aspect-ratio: 1000 / 760; max-width: 980px; margin: 0 auto; }
.arch-gum { position: absolute; inset: 0; width: 100%; height: 100%; }
.arch-gum path { fill: none; stroke: var(--gum-50); stroke-width: 120; stroke-linecap: round; }
.arch-teeth { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.arch-teeth li { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.arch-tooth { position: relative; width: 96px; height: 88px; border: 0; background: none; cursor: pointer; display: grid; place-items: center; padding: 0; color: var(--chair); }
.arch-tooth > svg:first-child { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(var(--r)); transition: transform .35s var(--ease); }
.arch-tooth path { fill: #fff; stroke: #CFE0E3; stroke-width: 2.5; filter: drop-shadow(0 6px 8px rgba(7, 51, 64, .12)); transition: fill .3s, stroke .3s; }
.arch-tooth .ic { position: relative; width: 26px; height: 26px; transition: color .3s, transform .3s; }
.arch-tooth.molar { width: 104px; height: 94px; }
.arch-tooth.lateral, .arch-tooth.central { width: 92px; height: 80px; }
.arch-lbl { position: absolute; top: 50%; left: 50%; transform: translate(calc(-50% + var(--lx)), calc(-50% + var(--ly))); white-space: nowrap; font-size: .84rem; font-weight: 700; color: var(--ink-2); transition: color .3s; pointer-events: none; }
.arch-tooth:hover path { stroke: var(--mint); }
.arch-tooth:hover > svg:first-child { transform: rotate(var(--r)) scale(1.07); }
.arch-tooth[aria-selected="true"] path { fill: var(--chair); stroke: var(--chair); }
.arch-tooth[aria-selected="true"] .ic { color: #fff; transform: scale(1.1); }
.arch-tooth[aria-selected="true"] .arch-lbl { color: var(--gum-600); }
.arch-tooth[aria-selected="true"]::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--gum); opacity: .5; animation: ping 1.8s ease-out infinite; }
.arch-panel { position: absolute; left: 50%; top: 58%; transform: translate(-50%, -50%); width: min(420px, 48%); text-align: center; }
.arch-card { animation: fadeUp .45s var(--ease); }
.arch-num { display: inline-block; font-size: .8rem; color: var(--muted); font-weight: 700; margin-bottom: .4rem; }
.arch-card h3 { font-size: clamp(1.4rem, 2.6vw, 2.1rem); font-weight: 900; color: var(--chair); margin-bottom: .3em; }
.arch-card p { color: var(--ink-2); }

/* ---------- تور تصاویر ---------- */
.tour-tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.tour-tabs button { font: inherit; font-size: .9rem; font-weight: 700; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink-2); padding: .4rem .95rem; border-radius: 999px; cursor: pointer; transition: .2s; }
.tour-tabs button[aria-selected="true"] { background: var(--chair); border-color: var(--chair); color: #fff; }
.tour-frame { border-radius: var(--r-m); overflow: hidden; background: var(--paper); box-shadow: var(--shadow); border: 1px solid var(--line); }
.tour-chrome { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #EEF4F5; border-bottom: 1px solid var(--line); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #F1A7B2; }
.dot + .dot { background: #F2D27D; }
.dot + .dot + .dot { background: #8EDCC9; }
.tour-url { margin-inline-start: auto; margin-inline-end: auto; font-size: .78rem; color: var(--muted); background: #fff; padding: 2px 14px; border-radius: 999px; }

/* اسلایدر عمومی */
[data-slider] { --per: 1; --gap: 0px; }
.sl-view { overflow: hidden; }
.sl-track { display: flex; gap: var(--gap); transition: transform .65s var(--ease); will-change: transform; touch-action: pan-y; }
.sl-item { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); margin: 0; min-width: 0; }
.sl-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.2rem; }
.sl-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: .2s; }
.sl-nav button:hover { border-color: var(--chair); color: var(--chair); }
.sl-dots { display: flex; gap: 6px; }
.sl-dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; border: 0; background: var(--line); transition: width .3s, background .3s; cursor: pointer; }
.sl-dots button[aria-current="true"] { width: 26px; background: var(--gum); }
.roles, .posts, .cat-pages { --gap: 22px; }
.roles { --per: 3; }
.posts { --per: 3; }
.cat-pages { --per: 3; margin-bottom: 2rem; }
.cat-pages img { border-radius: 12px; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- نمایش امکانات ---------- */
.show.alt { background: var(--paper); }
.show-in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: center; }
.show.alt .show-in { grid-template-columns: 1.05fr 1fr; }
.show.alt .show-copy { order: 2; }
.show-tag { display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; color: var(--gum-600); font-size: .95rem; margin-bottom: .6rem; }
.show-tag.light { color: var(--mint-300); }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .55rem; }
.ticks li { position: relative; padding-inline-start: 1.9rem; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; inset-inline-start: 0; top: .45em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--mint-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B4F63' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") center / 70% no-repeat; }
.ticks.cols { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

/* ---------- دموها (پایه) ---------- */
.demo { position: relative; background: var(--paper); border-radius: var(--r-l); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 20px; color: var(--ink); font-size: .88rem; line-height: 1.7; }
.demo:not(.is-on) *, .demo:not(.is-on) { animation-play-state: paused !important; }
.d-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: .85rem; }
.d-bar b { margin-inline-start: 6px; }
.d-pill { margin-inline-start: auto; font-size: .72rem; background: var(--mint-50); color: var(--chair); padding: 2px 10px; border-radius: 99px; font-weight: 700; }
.d-pill.alt { margin-inline-start: 0; background: var(--gum-50); color: var(--gum-600); }
.d-toast { position: absolute; inset-inline-start: 50%; bottom: 16px; transform: translateX(50%); background: var(--chair); color: #fff; font-size: .78rem; padding: 6px 14px; border-radius: 99px; display: flex; gap: 6px; align-items: center; white-space: nowrap; animation: toastIn 8s 3.6s infinite both; opacity: 0; }
.av { width: 34px; height: 34px; border-radius: 50%; background: var(--chair); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.av.g { background: var(--gum); }
.av.m { background: var(--mint); color: var(--chair-950); }

/* چارت */
.d-chart svg { width: 100%; height: auto; display: block; }
.d-chart text { font-size: 12px; fill: var(--muted); font-family: inherit; }
.dc-caries { animation: dcCaries 12s infinite; }
.dc-fill { animation: dcFill 12s infinite; }
.dc-crown { animation: dcCrown 12s infinite; }
.dc-rct { stroke-dasharray: 80; animation: dcRct 12s infinite; }
.dc-imp { animation: dcImp 12s infinite; }
.dc-x { animation: dcX 12s infinite; }
.dc-log { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; min-height: 9.5em; }
.dc-log li { display: flex; align-items: center; gap: 8px; font-size: .82rem; animation: dcLog 12s infinite; opacity: 0; }
.dc-log i { width: 10px; height: 10px; border-radius: 3px; }
.dc-log .l2 { animation-delay: 1.6s; } .dc-log .l3 { animation-delay: 3.2s; } .dc-log .l4 { animation-delay: 4.8s; } .dc-log .l5 { animation-delay: 6.4s; }

/* صدا */
.dv-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.dv-mic { width: 58px; height: 58px; border-radius: 50%; background: var(--gum); color: #fff; display: grid; place-items: center; flex: none; animation: pulseGum 1.8s infinite; }
.dv-mic .ic { width: 28px; height: 28px; }
.dv-wave { display: flex; align-items: center; gap: 3px; height: 50px; flex: 1; }
.dv-wave i { flex: 1; background: linear-gradient(var(--mint), var(--chair-600)); border-radius: 4px; height: 100%; transform: scaleY(.15); animation: eq 1.1s ease-in-out infinite; animation-delay: calc(var(--d) * -.16s); }
.dv-text { min-height: 3.6em; background: var(--enamel); border-radius: 14px; padding: 12px 14px; font-size: .95rem; margin-bottom: 12px; }
.dv-text::after { content: ""; display: inline-block; width: 2px; height: 1.1em; background: var(--chair); vertical-align: middle; margin-inline-start: 2px; animation: blink 1s steps(2) infinite; }
.dv-chips { display: grid; gap: 6px; }
.dv-chips span { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line); opacity: 0; transform: translateY(6px); transition: .45s var(--ease); }
.dv-chips span.show { opacity: 1; transform: none; }
.dv-chips b { font-size: .72rem; padding: 1px 8px; border-radius: 99px; background: #FFF1D6; color: #9A6A00; }
.dv-chips .ok b { background: #DDF5EA; color: #1F7A52; }
.dv-chips .plan b { background: var(--mint-50); color: var(--chair); }

/* گوشی */
.d-phone { background: none; border: 0; box-shadow: none; padding: 0; display: grid; place-items: center; }
.phone { width: 270px; height: 540px; border-radius: 42px; background: #0D1F27; padding: 12px; position: relative; box-shadow: var(--shadow), inset 0 0 0 2px #2A3E47; }
.phone-notch { position: absolute; top: 12px; left: 50%; transform: translateX(-50%); width: 92px; height: 22px; background: #0D1F27; border-radius: 0 0 14px 14px; z-index: 2; }
.phone-scr { height: 100%; border-radius: 32px; overflow: hidden; background: var(--enamel); position: relative; }
.dp-scroll { padding: 34px 14px 14px; display: grid; gap: 10px; animation: phoneScroll 10s ease-in-out infinite; }
.dp-head b { display: block; font-size: .95rem; }
.dp-head small { color: var(--muted); font-size: .72rem; }
.dp-teeth { display: grid; grid-template-columns: repeat(8, 1fr); gap: 3px; background: #fff; border-radius: 14px; padding: 12px 8px; }
.dp-teeth i { height: 36px; border-radius: 6px 6px 10px 10px; background: linear-gradient(#fff, #E3EDEE); border: 1px solid #D3E1E3; }
.dp-teeth i.c { background: radial-gradient(circle at 50% 60%, #5B3A1E 25%, transparent 27%), linear-gradient(#fff, #E3EDEE); }
.dp-teeth i.g { background: linear-gradient(#F4D57E, #E0AE35); border-color: #C99A2E; }
.dp-teeth i.p { outline: 2px dashed var(--chair-600); outline-offset: 1px; }
.dp-phase, .dp-inst { background: #fff; border-radius: 14px; padding: 10px 12px; display: grid; font-size: .76rem; border-inline-start: 4px solid var(--chair-600); }
.dp-inst { border-color: var(--gum); }
.dp-phase em, .dp-inst em { font-style: normal; font-weight: 800; color: var(--chair); }
.dp-btn { background: var(--gum); color: #fff; text-align: center; font-weight: 800; padding: 11px; border-radius: 14px; font-size: .82rem; animation: pulseGum 2s infinite; }
.dp-toast { position: absolute; left: 12px; right: 12px; top: 40px; background: #1F7A52; color: #fff; border-radius: 14px; padding: 10px; font-size: .78rem; display: flex; gap: 6px; align-items: center; justify-content: center; animation: phoneToast 10s infinite; opacity: 0; }

/* تقویم */
.d-cal { padding-bottom: 60px; }
.dcal-grid { display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: auto repeat(6, 34px); gap: 4px; position: relative; }
.dcal-day { font-size: .72rem; font-weight: 700; color: var(--muted); text-align: center; }
.dcal-grid > i { background: var(--enamel); border-radius: 8px; }
.ev { grid-column: var(--c); grid-row: calc(var(--r) + 1) / span var(--h); background: var(--chair); color: #fff; border-radius: 9px; font-size: .7rem; padding: 4px 7px; font-weight: 700; z-index: 1; animation: evIn .5s var(--ease) both; overflow: hidden; }
.ev.alt { background: var(--mint); color: var(--chair-950); }
.ev.gum { background: var(--gum); }
.e2 { animation-delay: .15s; } .e3 { animation-delay: .3s; } .e4 { animation-delay: .45s; } .e5 { animation-delay: .6s; }
.ev.move { background: var(--gold); color: #3E2E00; animation: evMove 8s 1.2s ease-in-out infinite; box-shadow: 0 10px 20px -8px rgba(0, 0, 0, .35); }

/* مالی */
.d-fin { display: grid; grid-template-columns: 150px 1fr; gap: 18px; align-items: center; }
.df-ring { position: relative; display: grid; place-items: center; text-align: center; }
.df-ring svg { width: 140px; height: 140px; transform: rotate(-90deg); }
.df-ring circle { fill: none; stroke: var(--enamel); stroke-width: 12; }
.df-ring .df-prog { stroke: var(--chair-600); stroke-linecap: round; stroke-dasharray: 314; stroke-dashoffset: 314; animation: ring 8s ease-in-out infinite; }
.df-ring b { position: absolute; top: 44px; font-size: 1.5rem; font-weight: 900; color: var(--chair); }
.df-ring small { position: absolute; top: 80px; font-size: .7rem; color: var(--muted); }
.df-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: .78rem; }
.df-list li { display: grid; grid-template-columns: 1fr 1fr 1fr 16px; gap: 6px; padding: 6px 10px; border-radius: 10px; background: var(--enamel); align-items: center; }
.df-list li .ic { opacity: 0; color: #1F7A52; }
.df-list li.paid { animation: paid 8s infinite; animation-delay: calc(var(--i) * .7s); }
.df-list li.paid .ic { animation: paidIc 8s infinite; animation-delay: calc(var(--i) * .7s); }
.df-cheque { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border: 1.5px dashed var(--line); border-radius: 12px; font-size: .8rem; }
.df-cheque b { color: #1F7A52; animation: stamp 8s 4s infinite both; }

/* پیامک */
.ds-head { display: flex; align-items: center; gap: 8px; padding: 34px 14px 10px; background: #fff; border-bottom: 1px solid var(--line); font-size: .85rem; }
.ds-msgs { padding: 14px; display: grid; gap: 10px; }
.ds-msgs p { margin: 0; background: #fff; border-radius: 16px 16px 16px 4px; padding: 9px 12px; font-size: .74rem; line-height: 1.8; box-shadow: 0 6px 14px -10px rgba(0, 0, 0, .3); opacity: 0; animation: bubble 12s infinite; }
.ds-msgs .b2 { animation-delay: 1.6s; } .ds-msgs .b3 { animation-delay: 3.2s; } .ds-msgs .b4 { animation-delay: 4.8s; background: var(--mint-50); }

/* پرونده */
.dr-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.dr-head b { display: block; }
.dr-head small { color: var(--muted); font-size: .75rem; }
.dr-alert { margin-inline-start: auto; background: #FDECEC; color: #B42318; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; animation: alertPulse 2.4s infinite; }
.dr-tabs { display: flex; gap: 4px; margin-bottom: 12px; flex-wrap: wrap; }
.dr-tabs span { font-size: .72rem; padding: 3px 10px; border-radius: 99px; background: var(--enamel); }
.dr-tabs .on { background: var(--chair); color: #fff; }
.dr-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 12px; }
.dr-fields div { background: var(--enamel); border-radius: 10px; padding: 6px 10px; }
.dr-fields dt { font-size: .68rem; color: var(--muted); }
.dr-fields dd { margin: 0; font-weight: 700; font-size: .8rem; position: relative; overflow: hidden; }
.dr-fields dd::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--enamel), #E1ECEE, var(--enamel)); animation: reveal 7s infinite; }
.dr-fields div:nth-child(2) dd::after { animation-delay: .4s; } .dr-fields div:nth-child(3) dd::after { animation-delay: .8s; } .dr-fields div:nth-child(4) dd::after { animation-delay: 1.2s; }
.dr-files { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.dr-files i { aspect-ratio: 4 / 3; border-radius: 8px; background: radial-gradient(ellipse at 50% 60%, #9FB4BB 20%, #2B3D45 70%); animation: evIn .5s var(--ease) both; animation-delay: calc(var(--i) * .2s + .4s); }

/* لابراتوار */
.dl-steps { list-style: none; padding: 0; margin: 0 0 8px; display: grid; grid-template-columns: repeat(4, 1fr); font-size: .74rem; text-align: center; color: var(--muted); font-weight: 700; }
.dl-track { position: relative; height: 10px; border-radius: 99px; background: var(--enamel); margin: 22px 0 18px; }
.dl-track::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 99px; background: linear-gradient(90deg, var(--mint), var(--chair-600)); width: 0; animation: labFill 9s ease-in-out infinite; }
.dl-dot { position: absolute; top: 50%; inset-inline-start: 0; width: 40px; height: 40px; margin-top: -20px; margin-inline-start: -20px; border-radius: 50%; background: var(--chair); color: #fff; display: grid; place-items: center; animation: labDot 9s ease-in-out infinite; box-shadow: 0 8px 16px -6px rgba(7, 51, 64, .5); }
.dl-note { background: var(--mint-50); border-radius: 12px; padding: 8px 12px; margin: 0; font-size: .8rem; animation: fadeLoop 9s infinite; }

/* امضا */
.d-sign { background: none; border: 0; box-shadow: none; padding: 0; }
.tablet { background: #fff; border: 14px solid #0D1F27; border-radius: 30px; padding: 18px 18px 16px; box-shadow: var(--shadow); display: grid; gap: 9px; }
.tablet > b { font-size: .95rem; }
.tablet .ln { height: 8px; background: #E3ECEE; border-radius: 99px; }
.tablet .ln.s { width: 62%; }
.tablet .pad { background: #fff; border: 2px dashed #C9D8DB; border-radius: 14px; margin-top: 4px; }
.tablet .pad svg { display: block; width: 100%; height: auto; }
.sig { fill: none; stroke: var(--chair); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: sign 7s ease-in-out infinite; }
.tablet .ok { margin: 0; color: #1F7A52; font-weight: 700; font-size: .8rem; display: flex; gap: 6px; align-items: center; animation: fadeLoopLate 7s infinite; }

/* انبار */
.di-row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: center; margin-bottom: 8px; font-size: .8rem; }
.di-bar { height: 12px; background: var(--enamel); border-radius: 99px; overflow: hidden; }
.di-bar i { display: block; height: 100%; width: var(--w); background: linear-gradient(90deg, var(--mint), var(--chair-600)); border-radius: 99px; animation: deplete 7s ease-in-out infinite; transform-origin: right; }
.di-sum { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.di-sum span { background: var(--enamel); border-radius: 10px; padding: 6px 10px; font-size: .76rem; }
.di-sum .profit { background: var(--chair); color: #fff; animation: pulseInk 2.4s infinite; }

/* گزارش */
.dr-bars { display: flex; align-items: flex-end; gap: 6px; height: 150px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.dr-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 0 0; background: linear-gradient(var(--mint), var(--chair-600)); transform-origin: bottom; animation: grow 6s var(--ease) infinite; animation-delay: calc(var(--i) * .08s); }
.dr-bars i:last-child { background: linear-gradient(var(--gum), var(--gum-600)); }
.dr-funnel { display: grid; gap: 5px; justify-items: center; }
.dr-funnel span { width: var(--w); background: var(--mint-50); color: var(--chair); text-align: center; border-radius: 8px; padding: 4px; font-size: .75rem; font-weight: 700; }

/* سایت */
.d-web { background: none; border: 0; box-shadow: none; padding: 0; --brand: #0F8F8A; animation: brandCycle 12s steps(1) infinite; }
.browser { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(255, 255, 255, .2); }
.bw-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #EEF4F5; }
.bw-url { margin-inline: auto; font-size: .72rem; background: #fff; padding: 1px 14px; border-radius: 99px; color: var(--muted); }
.bw-body { padding: 14px; }
.bw-nav { display: flex; gap: 8px; align-items: center; margin-bottom: 14px; }
.bw-nav i { width: 22px; height: 22px; border-radius: 7px; background: var(--brand); transition: background .6s; }
.bw-nav span { width: 34px; height: 6px; border-radius: 9px; background: #E3ECEE; }
.bw-nav em { margin-inline-start: auto; font-style: normal; font-size: .66rem; color: #fff; background: var(--brand); padding: 3px 10px; border-radius: 99px; transition: background .6s; }
.bw-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; align-items: center; margin-bottom: 14px; }
.bw-hero b { display: block; font-size: .92rem; line-height: 1.6; margin-bottom: 8px; color: #1E2A33; }
.bw-ln { display: block; height: 6px; border-radius: 9px; background: #E3ECEE; margin-bottom: 6px; }
.bw-ln.s { width: 60%; }
.bw-hero em { display: inline-block; font-style: normal; font-size: .68rem; margin-top: 6px; color: #fff; background: var(--brand); padding: 4px 12px; border-radius: 99px; transition: background .6s; }
.bw-img { aspect-ratio: 1; border-radius: 18px; background: color-mix(in srgb, var(--brand) 18%, white); display: grid; place-items: center; color: var(--brand); transition: .6s; }
.bw-img .ic { width: 54px; height: 54px; animation: bob 4s ease-in-out infinite; }
.bw-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bw-cards i { height: 56px; border-radius: 12px; background: #F1F6F7; border-top: 4px solid var(--brand); transition: border-color .6s; }
.bw-sw { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.bw-sw i { width: 26px; height: 26px; border-radius: 50%; background: var(--c); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); animation: swPick 12s infinite; }
.bw-sw i:nth-child(2) { animation-delay: 2.4s; } .bw-sw i:nth-child(3) { animation-delay: 4.8s; } .bw-sw i:nth-child(4) { animation-delay: 7.2s; } .bw-sw i:nth-child(5) { animation-delay: 9.6s; }

/* پرتال */
.pt-cards { padding: 14px; display: grid; gap: 10px; }
.pt-cards > div { display: flex; gap: 10px; align-items: center; background: #fff; border-radius: 16px; padding: 10px; box-shadow: 0 6px 14px -10px rgba(0, 0, 0, .3); animation: slideIn 9s infinite both; }
.pt-cards b { display: block; font-size: .8rem; }
.pt-cards small { font-size: .7rem; color: var(--muted); }
.pt-cards .c2 { animation-delay: .5s; } .pt-cards .c3 { animation-delay: 1s; }
.pt-ref { margin: 0 14px; background: var(--chair); color: #fff; border-radius: 14px; padding: 10px; font-size: .72rem; display: flex; gap: 6px; align-items: center; animation: fadeLoopLate 9s infinite; }

/* امنیت */
.d-sec { display: grid; justify-items: center; gap: 16px; padding: 28px; }
.ds-shield { width: 110px; height: 110px; border-radius: 50%; background: var(--mint-50); display: grid; place-items: center; position: relative; }
.ds-shield::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px dashed var(--mint); animation: spin 14s linear infinite; }
.ds-shield svg { width: 60px; height: 60px; fill: none; stroke: var(--chair); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ds-roles { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.ds-roles span { background: var(--enamel); border-radius: 99px; padding: 4px 12px; font-size: .78rem; font-weight: 700; animation: evIn .5s var(--ease) both; }
.ds-roles span:nth-child(2) { animation-delay: .2s; } .ds-roles span:nth-child(3) { animation-delay: .4s; } .ds-roles span:nth-child(4) { animation-delay: .6s; }
.ds-backup { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: .8rem; }
.ds-backup i { height: 8px; border-radius: 99px; background: var(--enamel); position: relative; overflow: hidden; }
.ds-backup i::after { content: ""; position: absolute; inset: 0; background: var(--mint); transform-origin: right; animation: backup 5s ease-in-out infinite; }
.ds-backup b { color: #1F7A52; }

/* داشبورد */
.dd-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.dd-tiles > div { background: var(--enamel); border-radius: 14px; padding: 10px 12px; }
.dd-tiles .gum { background: var(--chair); color: #fff; }
.dd-tiles small { display: block; font-size: .66rem; opacity: .8; }
.dd-tiles b { font-size: 1.6rem; font-weight: 900; }
.dd-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.dd-list li { display: grid; grid-template-columns: 50px 1fr auto; gap: 8px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 12px; font-size: .8rem; animation: slideIn 8s infinite both; }
.dd-list li:nth-child(2) { animation-delay: .3s; } .dd-list li:nth-child(3) { animation-delay: .6s; }
.dd-list em { font-style: normal; font-size: .7rem; background: var(--mint-50); color: var(--chair); padding: 1px 10px; border-radius: 99px; }
.dd-list em.ok { background: #DDF5EA; color: #1F7A52; }

/* ---------- مقایسه قبل و بعد ---------- */
.compare { --pos: 50%; position: relative; border-radius: var(--r-l); overflow: hidden; box-shadow: var(--shadow); user-select: none; min-height: 440px; background: #fff; }
.cmp-side { position: absolute; inset: 0; padding: 42px clamp(20px, 5vw, 64px); }
.cmp-side h3 { font-size: 1.4rem; font-weight: 900; }
.cmp-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 44%; }
.cmp-side li { padding-inline-start: 1.8rem; position: relative; }
.cmp-side.before { background: repeating-linear-gradient(0deg, #FBF7EF, #FBF7EF 31px, #EADFCB 32px); color: #5A4A33; }
.cmp-side.before h3 { color: #6B5432; }
.cmp-side.before li::before { content: "✕"; position: absolute; inset-inline-start: 0; color: #C0573F; font-weight: 900; }
.cmp-side.after { background: linear-gradient(150deg, var(--chair), var(--chair-950)); color: #E8F5F3; clip-path: inset(0 0 0 var(--pos)); }
.cmp-side.after h3 { color: #fff; }
.cmp-side.after li::before { content: "✓"; position: absolute; inset-inline-start: 0; color: var(--mint); font-weight: 900; }
.cmp-side.before h3, .cmp-side.before ul { max-width: 44%; margin-inline-start: auto; }
.cmp-side.after h3 { max-width: 44%; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: #fff; cursor: ew-resize; touch-action: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--gum); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .4); }
.cmp-handle span .ic { width: 16px; height: 16px; stroke-width: 2.6; }

/* ---------- مشتریان ---------- */
.customers { padding: 70px 0; background: var(--paper); border-block: 1px solid var(--line); }
.logo-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); margin: 1.6rem 0; }
.lm-track { list-style: none; padding: 0; margin: 0; display: flex; gap: 46px; width: max-content; animation: marquee 40s linear infinite; }
.logo-marquee:hover .lm-track { animation-play-state: paused; }
.lm-track li { display: grid; justify-items: center; gap: 8px; min-width: 140px; }
.lm-track img { height: 64px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: .3s; }
.lm-track li:hover img { filter: none; opacity: 1; }
.lm-name { height: 64px; display: grid; place-items: center; font-weight: 900; color: var(--chair); font-size: 1.1rem; }
.lm-track small { color: var(--muted); font-size: .78rem; }
.cust-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.cust-grid li, .cust-grid li a { display: grid; justify-items: center; gap: 6px; text-align: center; color: var(--ink); }
.cust-grid li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 22px; }
.cg-logo { height: 80px; display: grid; place-items: center; }
.cg-logo img { max-height: 80px; width: auto; object-fit: contain; }
.cust-grid small { color: var(--muted); }

/* ---------- یک روز ---------- */
.day-sec { background: var(--paper); }
.day { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.day::before { content: ""; position: absolute; top: 22px; inset-inline: 8%; height: 3px; background: var(--line); border-radius: 9px; }
.day::after { content: ""; position: absolute; top: 22px; inset-inline-start: 8%; height: 3px; width: 0; background: linear-gradient(90deg, var(--gum), var(--mint)); border-radius: 9px; transition: width 3s var(--ease); }
.day.is-on::after { width: 84%; }
.day li { position: relative; text-align: center; padding-top: 58px; opacity: .35; transition: opacity .5s; }
.day.is-on li { opacity: 1; }
.day.is-on li:nth-child(2) { transition-delay: .5s; } .day.is-on li:nth-child(3) { transition-delay: 1s; } .day.is-on li:nth-child(4) { transition-delay: 1.5s; } .day.is-on li:nth-child(5) { transition-delay: 2s; } .day.is-on li:nth-child(6) { transition-delay: 2.5s; }
.day li::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 4px solid var(--chair); z-index: 1; }
.day time { font-weight: 900; color: var(--gum-600); font-size: 1.1rem; }
.day h3 { font-size: 1.05rem; margin: .2em 0 .3em; }
.day p { font-size: .86rem; color: var(--muted); margin: 0; }

/* ---------- نقش‌ها ---------- */
.role { background: var(--paper); border-radius: var(--r-l); padding: 28px; border: 1px solid var(--line); height: 100%; }
.role-ic { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--chair); color: #fff; margin-bottom: 14px; }
.sl-item:nth-child(2n) .role-ic { background: var(--gum); }
.role h3 { font-size: 1.35rem; font-weight: 900; }

/* ---------- امکانات بیشتر ---------- */
.more-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; align-items: start; }
.more-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.more-list.three { grid-template-columns: repeat(3, 1fr); }
.more-list li { border-bottom: 1px solid var(--line); }
.more-list a { display: flex; gap: 14px; padding: 18px 8px; color: var(--ink); transition: background .2s; border-radius: 12px; }
.more-list a:hover { background: var(--mint-50); }
.ml-ic { width: 46px; height: 46px; border-radius: 14px; background: var(--mint-50); color: var(--chair); display: grid; place-items: center; flex: none; }
.more-list b { display: block; font-size: 1.02rem; }
.more-list small { color: var(--muted); font-size: .84rem; line-height: 1.7; display: block; }

/* ---------- سایت مطب ---------- */
.web-sec { background: linear-gradient(160deg, var(--chair), var(--chair-950)); color: #E2F1F0; }
.web-sec .sec-h { color: #fff; }
.web-sec .sec-p, .web-sec .ticks li { color: rgba(255, 255, 255, .8); }
.web-sec .ticks li::before { background-color: rgba(95, 211, 188, .25); }

/* ---------- کاتالوگ ---------- */
.cat-in { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.cat-fan { position: relative; height: 380px; }
.cat-fan img { position: absolute; width: 230px; top: 20px; left: 50%; border-radius: 10px; box-shadow: var(--shadow); border: 1px solid var(--line); transform-origin: 50% 110%; transform: translateX(-50%) rotate(calc((var(--i) - 2.5) * 8deg)); transition: transform .6s var(--ease); }
.cat-fan:hover img, .is-on .cat-fan img { transform: translateX(calc(-50% + (var(--i) - 2.5) * 46px)) rotate(calc((var(--i) - 2.5) * 12deg)); }
.cat-fan.big { height: 440px; }
.cat-fan.big img { width: 260px; }
.cat-act { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- مقالات ---------- */
.post-card { background: var(--paper); border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; transition: transform .3s var(--ease), box-shadow .3s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.pc-cover { aspect-ratio: 16 / 8; display: grid; place-items: center; color: #fff; position: relative; overflow: hidden; background: linear-gradient(140deg, var(--chair), var(--chair-950)); }
.pc-cover::before { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; background: rgba(255, 255, 255, .08); top: -60px; left: -40px; }
.pc-cover::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .25); bottom: -40px; right: 20px; }
.pc-cover .ic { width: 64px; height: 64px; stroke-width: 1.2; position: relative; }
.cover-mic, .cover-message, .cover-pen { background: linear-gradient(140deg, var(--gum), #9C3B50); }
.cover-wallet, .cover-calendar { background: linear-gradient(140deg, #128F86, var(--chair-900)); }
.cover-globe, .cover-folder { background: linear-gradient(140deg, #2C6E8E, var(--chair-950)); }
.pc-body { padding: 18px 20px 22px; }
.pc-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .8rem; color: var(--muted); margin-bottom: .4rem; }
.pc-meta span:first-child { color: var(--gum-600); font-weight: 700; }
.pc-meta.light { color: rgba(255, 255, 255, .7); }
.pc-meta.light span:first-child { color: var(--mint-300); }
.post-card h3 { font-size: 1.08rem; line-height: 1.7; }
.post-card h3 a { color: var(--ink); }
.post-card p { color: var(--muted); font-size: .9rem; margin: 0; }
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.posts-grid.two { grid-template-columns: 1fr 1fr; }

/* ---------- پرسش‌ها ---------- */
.faq-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 3rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 18px 0; font-weight: 700; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ic { transition: transform .3s; color: var(--chair); margin-top: 6px; }
.faq details[open] summary .ic { transform: rotate(180deg); }
.faq details p { color: var(--ink-2); padding-bottom: 16px; margin: 0; animation: fadeUp .35s var(--ease); }

/* ---------- نوار دعوت ---------- */
.cta-band { background: var(--gum); color: #fff; padding: 64px 0 90px; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, .08); left: -120px; top: -160px; }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 900; }
.cta-band p { color: rgba(255, 255, 255, .88); max-width: 40em; margin: 0; }
.cta-act { display: flex; gap: .8rem; flex-wrap: wrap; }
.cta-band .btn-gum { background: #fff; color: var(--gum-600); }
.cta-band .btn-gum:hover { background: var(--chair-950); color: #fff; }
.cta-band .btn-line { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .5); }

/* ---------- پاورقی ---------- */
.ftr { background: var(--chair-950); color: rgba(255, 255, 255, .72); position: relative; padding: 40px 0 0; margin-top: -1px; }
.ftr .gumline { position: absolute; top: -59px; left: 0; fill: var(--chair-950); }
.cta-band + .ftr .gumline { fill: var(--chair-950); }
.ftr-grid { display: grid; grid-template-columns: 1.3fr 1.2fr .8fr 1.2fr; gap: 2.4rem; padding-bottom: 40px; }
.ftr-about p { font-size: .9rem; margin: 1rem 0 1.2rem; }
.ftr-h { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.ftr-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; font-size: .9rem; }
.ftr-links.two { grid-template-columns: 1fr 1fr; gap: .35rem 1rem; }
.ftr a { color: rgba(255, 255, 255, .78); }
.ftr a:hover { color: var(--mint-300); }
.ftr-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; font-size: .9rem; }
.ftr-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.ftr-contact .ic { color: var(--mint); margin-top: 5px; }
.ftr address { font-style: normal; }
.ftr-bottom { display: flex; justify-content: space-between; gap: 1rem; border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0 26px; font-size: .82rem; }
.ftr-bottom p { margin: 0; }

.float-cta { position: fixed; inset-inline-start: 18px; bottom: 18px; z-index: 40; display: grid; gap: 10px; }
.fab { width: 52px; height: 52px; border-radius: 50%; background: var(--chair); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 24px -10px rgba(7, 51, 64, .6); transition: transform .25s var(--ease); }
.fab:hover { transform: scale(1.08); color: #fff; }
.fab.wa { background: #1FAF6B; }

/* ---------- صفحه‌های داخلی ---------- */
.page-hero { background: linear-gradient(160deg, var(--chair), var(--chair-950)); color: #fff; padding: 56px 0 72px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 22px; background: var(--enamel); -webkit-mask: radial-gradient(22px at 50% 0, #0000 97%, #000) 50% 0 / 44px 100% repeat-x; mask: radial-gradient(22px at 50% 0, #0000 97%, #000) 50% 0 / 44px 100% repeat-x; }
main > .crumbs + .page-hero { margin-top: .9rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 4vw, 3.1rem); font-weight: 900; max-width: 22em; }
.page-hero .lead { color: rgba(255, 255, 255, .82); font-size: 1.12rem; max-width: 46em; }
.page-hero a:not(.btn) { color: var(--mint-300); }
.feat-hero .fh-in { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3rem; align-items: center; }
.fh-demo .demo:not(.d-phone):not(.d-sign):not(.d-web) { background: #fff; }
.prose-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.prose { font-size: 1.06rem; color: var(--ink-2); line-height: 2.05; max-width: 44em; }
.prose h2 { font-size: 1.5rem; font-weight: 900; color: var(--ink); margin: 1.8em 0 .6em; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-inline-start: 1.4rem; }
.prose li { margin-bottom: .45rem; }
.prose a { color: var(--chair-600); border-bottom: 1.5px solid var(--mint); }
.prose strong { color: var(--ink); }
.benefits { background: var(--paper); border-radius: var(--r-l); padding: 28px; border: 1px solid var(--line); position: sticky; top: 96px; }
.benefits h2 { font-size: 1.2rem; }
.shot { margin: 0; border-radius: var(--r-m); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.shot img { width: 100%; }
.shot figcaption { padding: 10px 16px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }
.shot.mobile { max-width: 340px; margin-inline: auto; border-radius: 34px; }
.steps-sec { background: var(--paper); }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.steps li { counter-increment: s; position: relative; padding: 26px; border-radius: var(--r-m); background: var(--enamel); }
.steps li::before { content: counter(s, persian); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--chair); color: #fff; font-weight: 900; font-size: 1.2rem; margin-bottom: 12px; }
.steps p { margin: 0; font-weight: 600; }
.feat-list { display: grid; gap: 64px; }
.feat-row { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.feat-row:nth-child(even) .fr-demo { order: 2; }
.feat-row h2 { font-size: 1.45rem; font-weight: 900; }
.feat-row h2 a { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.chips a { padding: .35rem 1rem; border-radius: 999px; border: 1.5px solid rgba(255, 255, 255, .3); color: #fff !important; font-size: .9rem; font-weight: 600; }
.chips a.on { background: var(--mint); border-color: var(--mint); color: var(--chair-950) !important; }
.admin .chips a { border-color: var(--line); color: var(--ink) !important; }
.post-hero h1 { max-width: none; }
.post-grid { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; padding: 56px 0; align-items: start; }
.toc { position: sticky; top: 100px; background: var(--paper); border-radius: var(--r-m); padding: 20px; border: 1px solid var(--line); font-size: .9rem; }
.toc ol { list-style: none; padding: 0; margin: .6rem 0 0; display: grid; gap: .35rem; }
.toc a { color: var(--ink-2); }
.toc a.on { color: var(--gum-600); font-weight: 700; }
.post-cta { display: flex; gap: 16px; background: var(--mint-50); border-radius: var(--r-m); padding: 22px; margin: 2.4rem 0 1rem; }
.post-cta b { display: block; color: var(--ink); font-size: 1.05rem; }
.post-cta p { margin: .3rem 0 .9rem; font-size: .95rem; }
.post-cta .btn { border-bottom: 0; color: #fff; }
.post-by { font-size: .88rem; color: var(--muted); }
.company-card dl { margin: 0 0 1.4rem; display: grid; gap: .7rem; }
.company-card dt { font-size: .8rem; color: var(--muted); }
.company-card dd { margin: 0; font-weight: 700; }
.values { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-m); overflow: hidden; }
.values li { background: var(--paper); padding: 26px; display: grid; gap: .4rem; }
.values .ic { width: 34px; height: 34px; color: var(--gum); }
.values span { color: var(--muted); font-size: .9rem; }
.dl-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; }

/* فرم */
.contact-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.4rem; align-items: start; }
.form-card { background: var(--paper); border-radius: var(--r-l); padding: 30px; border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 16px; }
.form-card label { display: grid; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.form-card input:not([type=radio]):not([type=checkbox]), .form-card textarea { font: inherit; font-weight: 400; font-size: 1rem; padding: .7rem .9rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--enamel); color: var(--ink); width: 100%; transition: border-color .2s, background .2s; }
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--chair-600); background: #fff; }
.form-card input.ltr { text-align: left; display: block; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--enamel); border-radius: 14px; padding: 4px; }
.seg label { display: block; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: .6rem; border-radius: 11px; font-weight: 700; transition: .2s; }
.seg input:checked + span { background: var(--chair); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--mint); }
.hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.form-err:not(:empty) { background: #FDECEC; color: #B42318; padding: 10px 14px; border-radius: 12px; font-size: .9rem; }
.form-err ul { margin: 0; padding-inline-start: 1rem; }
.form-ok { background: #DDF5EA; color: #1F7A52; padding: 10px 14px; border-radius: 12px; margin-bottom: 1rem; }
.form-note { font-size: .8rem; color: var(--muted); margin: 0; }
.chk { display: flex !important; align-items: center; gap: 8px; }
.contact-info { display: grid; gap: 12px; }
.ci { display: flex; gap: 14px; align-items: center; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); color: var(--ink); transition: border-color .2s, transform .2s; }
a.ci:hover { border-color: var(--mint); transform: translateX(-3px); color: var(--ink); }
.ci .ic { width: 42px; height: 42px; padding: 9px; border-radius: 14px; background: var(--mint-50); color: var(--chair); }
.ci small { display: block; color: var(--muted); font-size: .8rem; }
.ci b { font-size: 1.02rem; }
.thanks-ic { width: 84px; height: 84px; border-radius: 50%; background: var(--mint); color: var(--chair-950); display: inline-grid; place-items: center; margin-bottom: 1rem; animation: toothIn .6s var(--ease); }
.thanks-ic .ic { width: 44px; height: 44px; stroke-width: 2.4; }
.page-hero .center { margin-inline: auto; }
.err-code { font-size: 6rem; font-weight: 900; color: var(--mint); line-height: 1; margin: 0; }
.empty { text-align: center; color: var(--muted); padding: 2rem; }

/* مدیریت */
.admin h1 { font-size: 1.6rem; }
.admin h1 small { font-size: .9rem; color: var(--muted); font-weight: 400; }
.admin-nav { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.4rem; flex-wrap: wrap; }
.admin-nav form { margin-inline-start: auto; }
.admin-login { max-width: 420px; margin: 0 auto; }
.msgs { display: grid; gap: 12px; margin-top: 1.2rem; }
.msg { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-m); padding: 16px 20px; }
.msg.unread { border-inline-start: 5px solid var(--gum); }
.msg header { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; }
.msg time { margin-inline-start: auto; color: var(--muted); font-size: .85rem; }
.msg .tag { font-size: .75rem; background: var(--mint-50); color: var(--chair); padding: 1px 10px; border-radius: 99px; }
.msg .tag.gum { background: var(--gum-50); color: var(--gum-600); }
.msg-meta { color: var(--muted); font-size: .88rem; margin: .4rem 0; }
.msg footer { display: flex; gap: .5rem; }
.cust-form { margin-bottom: 1.6rem; }
.cust-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.ca-logo { height: 80px; display: grid; place-items: center; background: var(--enamel); border-radius: 12px; color: var(--muted); font-size: .85rem; }
.ca-logo img { max-height: 70px; width: auto; }
.ca-act { display: flex; gap: .5rem; }

/* ورود با اسکرول (فقط وقتی JS فعال است) */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].is-on { opacity: 1; transform: none; }

/* ---------- کلیدفریم‌ها ---------- */
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95, 211, 188, .6); } 70% { box-shadow: 0 0 0 12px rgba(95, 211, 188, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 211, 188, 0); } }
@keyframes pulseGum { 0% { box-shadow: 0 0 0 0 rgba(228, 111, 130, .55); } 70% { box-shadow: 0 0 0 14px rgba(228, 111, 130, 0); } 100% { box-shadow: 0 0 0 0 rgba(228, 111, 130, 0); } }
@keyframes pulseInk { 50% { transform: scale(1.04); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes smileIn { from { opacity: 0; transform: scale(.85) translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes breathe { 50% { transform: scale(1.015); } }
@keyframes toothIn { from { opacity: 0; transform: scaleY(.2); } to { opacity: 1; transform: none; } }
@keyframes talk { 0%, 52%, 100% { transform: translateY(0); } 6%, 18%, 30%, 42% { transform: translateY(14px); } 12%, 24%, 36% { transform: translateY(3px); } }
@keyframes shine { 0%, 55% { transform: translateX(0) skewX(-18deg); } 100% { transform: translateX(700px) skewX(-18deg); } }
@keyframes wave { 0%, 4% { opacity: 0; } 10% { opacity: .9; } 46% { opacity: 0; } 100% { opacity: 0; } }
@keyframes twinkle { 0%, 100% { transform: scale(.4) rotate(0); opacity: .2; } 50% { transform: scale(1.1) rotate(45deg); opacity: 1; } }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes marquee { to { transform: translateX(50%); } }
@keyframes ping { 0% { transform: scale(.9); opacity: .6; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes dcCaries { 0%, 4% { opacity: 0; transform: scale(0); } 8%, 16% { opacity: 1; transform: none; } 20%, 100% { opacity: 0; } }
@keyframes dcFill { 0%, 16% { opacity: 0; } 22%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes dcCrown { 0%, 28% { opacity: 0; } 34%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes dcRct { 0%, 40% { stroke-dashoffset: 80; } 50%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 80; } }
@keyframes dcImp { 0%, 52% { opacity: 0; transform: translateY(-20px); } 60%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes dcX { 0%, 64% { opacity: 0; } 70%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes dcLog { 0% { opacity: 0; transform: translateX(-10px); } 6%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes eq { 0%, 100% { transform: scaleY(.15); } 50% { transform: scaleY(1); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes phoneScroll { 0%, 18% { transform: translateY(0); } 50%, 70% { transform: translateY(-120px); } 100% { transform: translateY(0); } }
@keyframes phoneToast { 0%, 66% { opacity: 0; transform: translateY(-10px); } 72%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes evIn { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
@keyframes evMove { 0%, 20% { transform: translate(0, 0); } 45%, 80% { transform: translate(-200%, -114px); } 100% { transform: translate(0, 0); } }
@keyframes toastIn { 0%, 5% { opacity: 0; transform: translate(50%, 10px); } 10%, 45% { opacity: 1; transform: translate(50%, 0); } 52%, 100% { opacity: 0; } }
@keyframes ring { 0% { stroke-dashoffset: 314; } 50%, 90% { stroke-dashoffset: 105; } 100% { stroke-dashoffset: 314; } }
@keyframes paid { 0%, 5% { background: var(--enamel); } 12%, 90% { background: #E3F6EC; } 100% { background: var(--enamel); } }
@keyframes paidIc { 0%, 5% { opacity: 0; } 12%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes stamp { 0%, 2% { opacity: 0; transform: scale(2) rotate(-12deg); } 8%, 40% { opacity: 1; transform: rotate(-6deg); } 50%, 100% { opacity: 0; } }
@keyframes bubble { 0% { opacity: 0; transform: translateY(14px) scale(.96); } 5%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes alertPulse { 50% { box-shadow: 0 0 0 6px rgba(180, 35, 24, .12); } }
@keyframes reveal { 0%, 8% { transform: translateX(0); } 22%, 90% { transform: translateX(-101%); } 100% { transform: translateX(0); } }
@keyframes labFill { 0%, 8% { width: 0; } 30% { width: 37%; } 55% { width: 63%; } 80%, 92% { width: 100%; } 100% { width: 0; } }
@keyframes labDot { 0%, 8% { inset-inline-start: 0; } 30% { inset-inline-start: 37%; } 55% { inset-inline-start: 63%; } 80%, 92% { inset-inline-start: 100%; } 100% { inset-inline-start: 0; } }
@keyframes fadeLoop { 0%, 55% { opacity: 0; } 62%, 92% { opacity: 1; } 100% { opacity: 0; } }
@keyframes fadeLoopLate { 0%, 60% { opacity: 0; } 68%, 94% { opacity: 1; } 100% { opacity: 0; } }
@keyframes sign { 0%, 8% { stroke-dashoffset: 700; } 55%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 700; } }
@keyframes deplete { 0%, 10% { transform: scaleX(1); } 50%, 90% { transform: scaleX(.72); } 100% { transform: scaleX(1); } }
@keyframes grow { 0% { transform: scaleY(0); } 25%, 90% { transform: scaleY(1); } 100% { transform: scaleY(0); } }
@keyframes brandCycle { 0% { --brand: #0F8F8A; } 20% { --brand: #2F6FE0; } 40% { --brand: #D9577B; } 60% { --brand: #1E2A44; } 80% { --brand: #7A9A3A; } }
@keyframes swPick { 0%, 18% { transform: scale(1.3); box-shadow: 0 0 0 3px var(--chair); } 20%, 100% { transform: none; } }
@keyframes slideIn { 0% { opacity: 0; transform: translateX(-20px); } 8%, 90% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes backup { 0% { transform: scaleX(0); } 70%, 100% { transform: scaleX(1); } }

@property --brand { syntax: "<color>"; inherits: true; initial-value: #0F8F8A; }

/* ---------- واکنش‌گرا ---------- */
@media (max-width: 1100px) {
  .hdr-tel { display: none; }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .facts-in { grid-template-columns: repeat(3, 1fr); }
  .facts-in > div:nth-child(4) { border: 0; }
}
@media (max-width: 960px) {
  .nav { position: fixed; inset: 74px 0 auto 0; background: var(--paper); flex-direction: column; align-items: stretch; padding: 12px 16px 20px; gap: 2px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 74px); overflow: auto; transform: translateY(-120%); transition: transform .35s var(--ease); }
  .nav.open { transform: none; }
  .nav > a, .nav-dd > a { padding: .8rem .9rem; font-size: 1rem; }
  .nav-dd .mega { position: static; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; grid-template-columns: 1fr; padding: 0 0 0 0; display: none; }
  .nav-dd.open .mega { display: grid; }
  .mega small { display: none; }
  .nav-cta-m { display: inline-flex !important; margin-top: .6rem; }
  .burger { display: flex; }
  .hdr-act .btn { display: none; }
  .hero-in, .show-in, .show.alt .show-in, .more-in, .faq-in, .cat-in, .feat-hero .fh-in, .prose-grid, .contact-grid, .dl-hero, .feat-row { grid-template-columns: 1fr; }
  .show.alt .show-copy, .feat-row:nth-child(even) .fr-demo { order: 0; }
  .hero { padding-top: 36px; }
  .hero-art { max-width: 560px; margin: 0 auto; width: 100%; }
  .roles, .posts, .cat-pages { --per: 2; }
  .day { grid-template-columns: repeat(3, 1fr); row-gap: 28px; }
  .day::before, .day::after { display: none; }
  .post-grid { grid-template-columns: 1fr; }
  .toc { position: static; }
  .benefits { position: static; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .more-list.three { grid-template-columns: 1fr 1fr; }
  .arch-tooth { width: 76px; height: 70px; }
  .arch-tooth.molar { width: 80px; height: 74px; }
  .arch-tooth.lateral, .arch-tooth.central { width: 70px; height: 62px; }
  .arch-lbl { font-size: .72rem; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .sec { padding: 64px 0; }
  .facts-in { grid-template-columns: 1fr 1fr; }
  .facts-in > div { border: 0 !important; padding: 18px 8px; }
  .facts b { font-size: 2.1rem; }
  .float-card { font-size: .74rem; padding: .4rem .6rem; }
  .fc2 { inset-inline-end: 0; }
  .roles, .posts, .cat-pages { --per: 1; }
  .posts-grid, .posts-grid.two, .more-list, .more-list.three, .values, .f-row { grid-template-columns: 1fr; }
  .day { grid-template-columns: 1fr 1fr; }
  .ftr-grid { grid-template-columns: 1fr; }
  .sec-head.row { flex-direction: column; align-items: flex-start; }
  .d-fin { grid-template-columns: 1fr; justify-items: center; }
  .df-list { width: 100%; }
  .compare { min-height: 0; }
  .cmp-side { position: static; padding: 26px 20px; }
  .cmp-side.after { clip-path: none; }
  .cmp-side ul, .cmp-side h3, .cmp-side.before h3, .cmp-side.before ul, .cmp-side.after h3 { max-width: 100%; margin-inline-start: 0; }
  .cmp-handle { display: none; }
  .compare-sec .sec-p { display: none; }
  /* قوس روی موبایل: فهرست افقی */
  .arch-stage { aspect-ratio: auto; }
  .arch-gum { display: none; }
  .arch-teeth { position: static; display: flex; gap: 8px; overflow-x: auto; padding: 8px 4px 32px; scroll-snap-type: x mandatory; }
  .arch-teeth li { position: static; transform: none; scroll-snap-align: center; }
  .arch-tooth > svg:first-child { transform: none !important; }
  .arch-lbl { top: 100%; transform: translate(-50%, 0); }
  .arch-panel { position: static; transform: none; width: auto; margin-top: .4rem; }
  .cat-fan { height: 320px; }
  .cat-fan img { width: 180px; }
  .phone { width: 250px; height: 500px; }
  .float-cta { inset-inline-start: 12px; bottom: 12px; }
  .fab { width: 46px; height: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .hdr, .ftr, .float-cta, .cta-band, .ticker { display: none; }
}
