/*
Theme Name: Nemoone Lab
Theme URI: https://nemoonehlab.com/
Author: Nemoone Lab
Description: قالب سبک و امن آزمایشگاه نمونه. فونت وزیرمتن (ارقام فارسی)، بدون وابستگی به wp_options و بدون ساخت هیچ جدول.
Version: 4.5.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: nemoone
*/

/* فونت وزیرمتن (ارقام فارسی) – بهینه‌شده: فقط حروف فارسی/عربی و لاتین مورد نیاز */
@font-face { font-family: "Vazirmatn"; src: url("assets/fonts/Vazirmatn-FD-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("assets/fonts/Vazirmatn-FD-Regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("assets/fonts/Vazirmatn-FD-Medium.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Vazirmatn"; src: url("assets/fonts/Vazirmatn-FD-Bold.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

/* ===== رنگ‌های برند از لوگوی آزمایشگاه نمونه: سبز #068143 و قرمز #ED1C24 ===== */
:root {
	--ink: #04110a;
	--navy: #082317;
	--navy-2: #0d3322;
	--paper: #f3f6f4;
	--text: #0c1f14;
	--muted: #52675a;
	--muted-d: #9bb7a6;
	--line: #d9e3dc;
	--line-d: rgba(255, 255, 255, .11);
	--teal: #35d07f;
	--teal-d: #068143;
	--blue: #0e9b55;
	--red: #ed1c24;
	--wrap: 1360px;
	--gutter: clamp(16px, 3vw, 32px);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: clamp(15px, .45vw + 10px, 18px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1rem/2 "Vazirmatn", Tahoma, "Segoe UI", system-ui, sans-serif; text-rendering: optimizeLegibility; overflow-x: hidden; }
button, input, select, textarea { font: inherit; }
img, svg, iframe { max-width: 100%; }
img, svg { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 700; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--teal); color: #03210f; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--teal); color: #03210f; padding: 8px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.i { width: 1.4em; height: 1.4em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- دکمه‌ها ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 1.7em; border: 1px solid transparent; border-radius: 14px; font-weight: 500; line-height: 1.6; text-align: center; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn .i { width: 1.15em; height: 1.15em; transition: transform .2s var(--ease); }
.btn:hover .i { transform: translateX(-4px); }
.btn-teal { background: var(--teal); color: #03210f; font-weight: 700; }
.btn-teal:hover { box-shadow: 0 10px 30px rgba(53, 208, 127, .35); }
.btn-line { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-line:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .6); }
.btn-white { background: #fff; color: #056b38; font-weight: 700; }
.btn-white:hover { box-shadow: 0 10px 30px rgba(255, 255, 255, .28); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--teal-d); box-shadow: 0 10px 28px rgba(6, 129, 67, .3); }

/* ---------- نوار بالای هدر ---------- */
.topbar { background: var(--ink); color: #b5cdbf; font-size: .84rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.tb-group { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; }
.topbar a, .tb-addr { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: color .15s; }
.topbar a:hover { color: #fff; }
.topbar .i { width: 1.15em; height: 1.15em; color: var(--teal); }
.tb-report { padding: 0 14px; line-height: 26px; border-radius: 99px; background: rgba(53, 208, 127, .14); color: var(--teal) !important; font-weight: 500; }
.tb-report:hover { background: var(--teal); color: #03210f !important; }

/* ---------- هدر ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px); border-bottom: 1px solid rgba(8, 35, 23, .08); transition: box-shadow .3s, background-color .3s; }
.site-head.scrolled { background: rgba(255, 255, 255, .97); box-shadow: 0 16px 40px -22px rgba(8, 35, 23, .4); }
.head-in { display: flex; align-items: center; gap: 20px; min-height: 80px; transition: min-height .3s; }
.site-head.scrolled .head-in { min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { height: 56px; width: auto; display: block; }
.brand-t b { display: block; font-weight: 700; font-size: 1.12rem; line-height: 1.5; }
.brand-t small { display: block; font-size: .74rem; color: var(--muted); line-height: 1.4; }
#site-nav { flex: 1; min-width: 0; }
#site-nav > ul { display: flex; align-items: center; justify-content: center; gap: 2px; }
.nl { display: block; padding: 6px 14px; border-radius: 12px; font-weight: 500; font-size: .95rem; color: var(--text); text-decoration: none; transition: color .15s, background-color .15s; white-space: nowrap; }
.nl:hover, .has-sub:hover > .nl-wrap > .nl { background: rgba(53, 208, 127, .12); color: var(--teal-d); }
.nl-wrap { display: inline-flex; align-items: center; }
.nl-static { cursor: default; padding-inline-end: 4px; }
.sub-toggle { width: 22px; height: 32px; padding: 0; margin-inline-start: -8px; background: none; border: 0; color: var(--text); cursor: pointer; }
.sub-toggle::after { content: ""; display: block; width: 6px; height: 6px; margin: 0 auto; border-inline-end: 1.5px solid currentColor; border-block-end: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.has-sub.open .sub-toggle::after, .has-sub:hover .sub-toggle::after { transform: translateY(1px) rotate(-135deg); }
.has-sub { position: relative; }
.mega { position: absolute; top: 100%; inset-inline-start: -20px; z-index: 40; width: 560px; padding-top: 14px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.has-sub:hover > .mega, .has-sub:focus-within > .mega, .has-sub.open > .mega { opacity: 1; visibility: visible; transform: none; }
.mega-in { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 12px; background: #fff; border: 1px solid rgba(8, 35, 23, .08); border-radius: 22px; box-shadow: 0 40px 80px -30px rgba(8, 35, 23, .5); }
.mg { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; text-decoration: none; transition: background-color .2s, transform .2s var(--ease); }
.mg:hover { background: rgba(53, 208, 127, .12); transform: translateX(-3px); }
.mg b { display: block; font-weight: 700; font-size: .95rem; line-height: 1.6; }
.mg small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.6; }
.mg .tile { width: 46px; height: 46px; border-radius: 14px; flex: none; }
.mg .tile .i { width: 22px; height: 22px; }
.mega-cta { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 14px 18px; color: #fff; text-decoration: none; border-radius: 16px; background: linear-gradient(120deg, #13482d, #082317); transition: box-shadow .25s; }
.mega-cta:hover { box-shadow: 0 16px 30px -14px rgba(8, 35, 23, .7); }
.mega-cta .i { width: 28px; height: 28px; color: #ff8a8c; }
.mega-cta b { display: block; line-height: 1.6; }
.mega-cta small { display: block; color: var(--muted-d); line-height: 1.5; font-size: .9rem; letter-spacing: .03em; }
.nav-cta { display: none; }
.head-tel { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.head-tel .ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--teal-d); background: rgba(53, 208, 127, .14); transition: background-color .2s, color .2s; }
.head-tel:hover .ic { background: var(--teal); color: #03210f; }
.head-tel small { display: block; font-size: .72rem; color: var(--muted); line-height: 1.4; }
.head-tel b { display: block; font-weight: 700; line-height: 1.5; letter-spacing: .02em; }
.head-cta { flex: none; min-height: 46px; font-size: .92rem; padding-inline: 1.3em; }
.nav-btn { display: none; }

/* ---------- قهرمان ---------- */
.hero2 { position: relative; padding-top: clamp(18px, 2.4vw, 36px); color: #fff; }
.hero2 + .sec { padding-top: calc(clamp(40px, 5.5vw, 84px) + clamp(40px, 4.4vw, 60px)); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; border-radius: 0 0 clamp(30px, 4.4vw, 64px) clamp(30px, 4.4vw, 64px); background: radial-gradient(900px 560px at 85% 10%, rgba(53, 208, 127, .16), transparent 62%), linear-gradient(165deg, #0b3a24 0%, #082317 55%, #051a10 100%); }
.hero-bg::before { content: ""; position: absolute; inset: 0; opacity: .06; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(75% 85% at 70% 35%, #000, transparent); mask-image: radial-gradient(75% 85% at 70% 35%, #000, transparent); }
.hero-bg::after { content: ""; position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero-bg > i { position: absolute; border-radius: 50%; filter: blur(70px); animation: drift 14s ease-in-out infinite alternate; }
.au1 { width: 460px; height: 460px; top: -140px; right: 8%; background: rgba(53, 208, 127, .38); }
.au2 { width: 380px; height: 380px; bottom: -120px; left: 10%; background: rgba(14, 155, 85, .42); animation-delay: -5s; }
.au3 { width: 260px; height: 260px; top: 30%; left: 38%; background: rgba(237, 28, 36, .16); animation-delay: -9s; }
.bubbles { position: absolute; inset: 0; overflow: hidden; }
.bubbles i { position: absolute; bottom: -30px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: rgba(53, 208, 127, .55); box-shadow: 0 0 16px rgba(53, 208, 127, .7); opacity: 0; animation: rise var(--t) linear infinite; animation-delay: var(--dl); }
.bubbles i:nth-child(3n) { background: rgba(255, 255, 255, .5); box-shadow: 0 0 14px rgba(255, 255, 255, .5); }
@keyframes rise { 10% { opacity: .9; } 100% { transform: translateY(-760px); opacity: 0; } }
.h2-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(16px, 3vw, 48px); align-items: center; padding-bottom: clamp(28px, 3vw, 40px); }
.hero h1, .hero2 h1 { font-weight: 700; line-height: 1.2; }
.h1-brand { display: inline-flex; align-items: center; gap: 14px; font-size: 1.1rem; font-weight: 500; color: var(--teal); }
.h1-brand::before { content: ""; width: 44px; height: 1px; background: var(--teal); }
.h1-main { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 .4em; margin-top: 16px; line-height: 1.35; }
.h1-main .t-s { font-size: clamp(1.25rem, 2vw, 1.85rem); font-weight: 300; color: #b5cdbf; }
.h1-main strong { font-size: clamp(2.5rem, 5.2vw, 5.2rem); font-weight: 700; color: #fff; text-shadow: 0 0 60px rgba(53, 208, 127, .45); }
.h1-loc { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: clamp(1rem, 1.3vw, 1.2rem); font-weight: 300; color: var(--muted-d); }
.h1-loc .i { color: var(--teal); }
.ecg { display: block; width: min(380px, 100%); height: 52px; margin-top: 14px; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 8px rgba(53, 208, 127, .7)); }
.ecg path { stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 2.6s .6s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lead { margin-top: 12px; max-width: 36em; color: var(--muted-d); }
.rot { display: flex; align-items: center; gap: 10px; margin-top: 16px; color: var(--muted-d); font-size: .96rem; }
.rot-w { position: relative; display: inline-block; flex: 1; max-width: 14em; height: 2em; overflow: hidden; }
.rot-w i { position: absolute; top: 0; inset-inline-start: 0; font-style: normal; font-weight: 700; color: var(--teal); opacity: 0; animation: rotw 9s infinite; }
.rot-w i:nth-child(2) { animation-delay: 3s; } .rot-w i:nth-child(3) { animation-delay: 6s; }
@keyframes rotw { 0% { opacity: 0; transform: translateY(70%); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; transform: translateY(-70%); } }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hstats { display: flex; flex-wrap: wrap; gap: 12px 34px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line-d); }
.hstats b { display: block; font-size: 1.7rem; font-weight: 700; line-height: 1.3; color: #fff; }
.hstats span { display: block; font-size: .85rem; color: var(--muted-d); line-height: 1.5; }
@media (prefers-reduced-motion: no-preference) {
	.hero2 .a { animation: up .9s var(--ease) both; animation-delay: calc(var(--d, 0) * 100ms); }
	@keyframes up { from { opacity: 0; transform: translateY(22px); } }
}
.h2-vis { position: relative; display: grid; place-items: center; min-height: clamp(320px, 34vw, 480px); }
.orbit { position: absolute; width: min(92%, 460px); aspect-ratio: 1; border: 2.5px dotted var(--teal); border-radius: 50%; opacity: .75; pointer-events: none; animation: spin 50s linear infinite; }
.orbit::after { content: ""; position: absolute; top: -7px; left: 50%; width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 18px var(--red); }
.h2-vis > img { position: relative; z-index: 1; display: block; width: min(80%, 400px); height: auto; filter: drop-shadow(0 34px 50px rgba(0, 0, 0, .5)); }
.gcard { position: absolute; z-index: 2; padding: 14px 18px; color: #fff; background: rgba(255, 255, 255, .11); border: 1px solid rgba(255, 255, 255, .24); border-radius: 22px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 50px -22px rgba(0, 0, 0, .6); animation: bob 7s ease-in-out infinite; }
.gcard b { display: block; font-weight: 700; font-size: .95rem; line-height: 1.6; }
.gcard small { display: block; font-size: .78rem; color: var(--muted-d); line-height: 1.5; }
.gc-1 { top: 8%; right: 0; display: flex; align-items: center; gap: 12px; min-width: 230px; }
.gi { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 14px; color: #03210f; background: var(--teal); box-shadow: 0 10px 22px -8px rgba(53, 208, 127, .8); }
.gbar { display: block; height: 5px; margin-top: 8px; border-radius: 3px; background: rgba(255, 255, 255, .18); overflow: hidden; }
.gbar u { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--blue), var(--teal)); transform-origin: 100% 50%; animation: gfill 4.5s ease-in-out infinite; }
@keyframes gfill { 0% { transform: scaleX(.12); } 60%, 100% { transform: scaleX(1); } }
.gc-2 { bottom: 6%; left: -1%; width: 190px; animation-delay: -3s; }
.gtop { margin-bottom: 10px; }
.gchart { display: flex; align-items: flex-end; gap: 5px; height: 52px; direction: ltr; }
.gchart i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(var(--teal), var(--blue)); transform-origin: 50% 100%; animation: gbar 3.2s ease-in-out infinite; }
.gchart i:nth-child(2n) { animation-delay: -.6s; } .gchart i:nth-child(3n) { animation-delay: -1.3s; } .gchart i:nth-child(5n) { animation-delay: -2s; }
@keyframes gbar { 50% { transform: scaleY(.55); } }
.lens-chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 3px 16px 3px 14px; font-size: .86rem; font-weight: 500; color: #fff; white-space: nowrap; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .26); border-radius: 99px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: bob 6s ease-in-out infinite; }
.lens-chip .i { color: var(--teal); width: 1.2em; height: 1.2em; }
.lc-1 { top: 46%; left: 2%; animation-delay: -2s; }
.qrow { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: clamp(12px, 1.4vw, 20px); margin-bottom: calc(-1 * clamp(40px, 4.4vw, 60px)); }
.qt { color: var(--text); display: flex; align-items: center; gap: 14px; padding: 16px 22px; background: #fff; border: 1px solid rgba(8, 35, 23, .08); border-radius: 26px; box-shadow: 0 30px 56px -30px rgba(8, 35, 23, .55); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; }
.qt:hover { transform: translateY(-5px); border-color: rgba(6, 129, 67, .45); box-shadow: 0 40px 64px -30px rgba(8, 35, 23, .6); }
.qt .tile { flex: none; width: 56px; height: 56px; border-radius: 17px; }
.qt.is-red .tile { background: linear-gradient(135deg, #ff6b6d, #e5383b); box-shadow: 0 14px 28px -10px rgba(255, 77, 79, .7), inset 0 1px 0 rgba(255, 255, 255, .4); }
.qt b { display: block; font-weight: 700; font-size: 1.08rem; line-height: 1.7; }
.qt small { display: block; color: var(--muted); font-size: .88rem; line-height: 1.7; }

/* ---------- بخش‌ها و عنوان‌ها ---------- */
.sec { position: relative; padding-block: clamp(40px, 5.5vw, 84px); }
.idx { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 3px 16px 3px 14px; font-size: .9rem; font-weight: 500; color: var(--teal-d); background: rgba(53, 208, 127, .12); border: 1px solid rgba(6, 129, 67, .22); border-radius: 99px; }
.idx::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, var(--teal), var(--blue)); box-shadow: 0 0 10px rgba(53, 208, 127, .8); }
.dark .idx, .alert .idx { color: var(--teal); background: rgba(53, 208, 127, .1); border-color: rgba(53, 208, 127, .3); }
.sec h2, .alert h2 { font-size: clamp(1.7rem, 2.9vw, 2.7rem); font-weight: 700; line-height: 1.5; }
h2 .t-s { font-size: .52em; font-weight: 300; color: var(--muted); }
.dark h2 .t-s, .alert h2 .t-s { color: var(--muted-d); }
h2 strong { font-weight: 700; }
@media (min-width: 720px) { .sec h2, .alert h2 { white-space: nowrap; } }
.sub-p { margin-top: 12px; max-width: 36em; color: var(--muted); }
.dark .sub-p, .alert .sub-p { color: var(--muted-d); }
.dark { background: var(--navy); color: #fff; }
.center-head { max-width: 46em; margin: 0 auto clamp(22px, 3vw, 38px); text-align: center; }
.center-head .sub-p { margin-inline: auto; }

/* افکت ظهور هنگام اسکرول */
.rv-on .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.rv-on .rv.in { opacity: 1; transform: none; }
.rv:nth-child(2) { --d: 1; } .rv:nth-child(3) { --d: 2; } .rv:nth-child(4) { --d: 3; } .rv:nth-child(5) { --d: 4; } .rv:nth-child(6) { --d: 5; }

/* خدمات */
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(22px, 3vw, 38px); }
.bento { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 20px; }
.bx { --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; background: rgba(255, 255, 255, .88); border: 1px solid rgba(8, 35, 23, .08); border-radius: 26px; box-shadow: 0 1px 2px rgba(8, 35, 23, .04), 0 26px 50px -30px rgba(8, 35, 23, .3); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.bx:hover { transform: translateY(-6px); box-shadow: 0 1px 2px rgba(8, 35, 23, .04), 0 34px 60px -26px rgba(8, 35, 23, .38); }
.bx::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; background: radial-gradient(340px circle at var(--mx) var(--my), rgba(53, 208, 127, .18), transparent 70%); }
.bx:hover::before { opacity: 1; }
.bx > * { position: relative; }
.tile { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 19px; color: #fff; background: linear-gradient(135deg, var(--teal), var(--blue)); box-shadow: 0 14px 28px -10px rgba(53, 208, 127, .7), inset 0 1px 0 rgba(255, 255, 255, .4); transition: transform .4s var(--ease); }
.bx:hover .tile { transform: rotate(-8deg) scale(1.08); }
.tile .i { width: 29px; height: 29px; stroke-width: 1.7; }
.bx .wm { position: absolute; inset-inline-end: 16px; bottom: 14px; width: 84px; height: 84px; color: var(--ink); opacity: .06; stroke-width: .9; pointer-events: none; transition: transform .6s var(--ease), opacity .4s; }
.bx:hover .wm { transform: rotate(-10deg) scale(1.08); opacity: .1; }
.bx h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.6; }
.bx h3 a { text-decoration: none; }
.bx h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.bx p { margin-top: 4px; color: var(--muted); font-size: .95rem; line-height: 1.9; }
.go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; font-size: .9rem; font-weight: 500; color: var(--teal-d); }
.go .i { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.bx:hover .go .i { transform: translateX(-6px); }
.bx-feature { grid-row: span 2; justify-content: space-between; border: 0; color: #fff; padding: 28px; background: radial-gradient(420px 320px at 100% 0, rgba(53, 208, 127, .4), transparent 65%), radial-gradient(360px 300px at 0 100%, rgba(14, 155, 85, .35), transparent 70%), linear-gradient(160deg, #13482d, #082317); }
.bx-feature p { color: #c2d8ca; }
.bx-feature h3 { font-size: 1.7rem; }
.bx-feature .tile { width: 76px; height: 76px; border-radius: 24px; }
.bx-feature .tile .i { width: 36px; height: 36px; }
.bx-feature .wm { opacity: .1; color: #fff; width: 130px; height: 130px; }
.bx-feature .rings { position: absolute; inset-inline-end: -80px; top: -80px; width: 260px; height: 260px; pointer-events: none; }
.rings i { position: absolute; inset: 0; border: 1px solid rgba(53, 208, 127, .35); border-radius: 50%; animation: ripple 5s ease-out infinite; }
.rings i:nth-child(2) { animation-delay: 1.6s; } .rings i:nth-child(3) { animation-delay: 3.2s; }
@keyframes ripple { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1.3); opacity: 0; } }
.bx-feature .btn { align-self: flex-start; margin-top: 10px; }
.bx-wide { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 24px; }
.bx-wide > div { flex: 1; }
.bx-wide .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bx-wide .chips span { padding: 0 14px; font-size: .85rem; line-height: 30px; color: var(--teal-d); background: rgba(53, 208, 127, .12); border: 1px solid rgba(6, 129, 67, .2); border-radius: 99px; }

/* درباره */
.about { background: var(--navy) url("assets/img/molecular-network-pattern.svg") center / cover no-repeat; color: #fff; overflow: hidden; }
.about::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 400px at 85% 20%, rgba(14, 155, 85, .18), transparent 65%), linear-gradient(180deg, var(--navy) 0%, rgba(8, 35, 23, .78) 50%, var(--navy) 100%); }
.about .wrap { position: relative; }
.about-top { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 5vw, 90px); align-items: center; }
.statement { margin-top: 24px; font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 300; line-height: 2; color: #d0e1d7; }
.statement strong { color: #fff; font-weight: 700; }
.bignum { text-align: center; }
.bignum b { display: block; font-size: clamp(7rem, 16vw, 14rem); font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--teal); filter: drop-shadow(0 0 24px rgba(53, 208, 127, .35)); }
.bignum span { display: block; margin-top: 6px; color: var(--muted-d); }
.depts { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(26px, 3.6vw, 44px); border: 1px solid var(--line-d); border-radius: 20px; overflow: hidden; background: rgba(255, 255, 255, .03); }
.depts li { display: flex; flex-direction: column; gap: 16px; padding: 16px 20px 18px; border-inline-start: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); transition: background-color .25s; }
.depts li:nth-child(5n+1) { border-inline-start: 0; }
.depts li:nth-child(n+6) { border-bottom: 0; }
.depts li:hover { background: rgba(53, 208, 127, .09); }
.depts .i { width: 30px; height: 30px; color: var(--teal); stroke-width: 1.4; transition: transform .4s var(--ease); }
.depts li:hover .i { transform: translateY(-3px) scale(1.12); }
.depts strong { font-weight: 500; font-size: 1.05rem; line-height: 1.6; }
.crew { display: flex; gap: 18px; align-items: flex-start; margin-top: 24px; max-width: 46em; }
.crew .i { width: 44px; height: 44px; padding: 10px; color: var(--teal); border: 1px solid rgba(53, 208, 127, .4); border-radius: 50%; }
.crew h3 { font-size: 1.12rem; font-weight: 700; }
.crew p { color: var(--muted-d); }

/* جواب‌دهی */
.report-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.steps { position: relative; margin: 22px 0 4px; display: grid; gap: 10px; }
.steps li { position: relative; display: flex; gap: 16px; padding: 14px 20px; background: rgba(255, 255, 255, .85); border: 1px solid rgba(8, 35, 23, .08); border-radius: 20px; box-shadow: 0 20px 40px -30px rgba(8, 35, 23, .35); transition: transform .35s var(--ease), border-color .3s; }
.steps li:hover { transform: translateX(-6px); border-color: rgba(6, 129, 67, .5); }
.steps .num { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 15px; color: #fff; font-weight: 700; line-height: 1; background: linear-gradient(135deg, var(--teal), var(--blue)); box-shadow: 0 10px 22px -8px rgba(53, 208, 127, .7); }
.steps h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.7; }
.steps p { color: var(--muted); font-size: .94rem; line-height: 1.85; }
.report .btn { margin-top: 22px; }
.stage { position: relative; padding: 0 0 56px; }
.ui { position: relative; border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; background: linear-gradient(160deg, #103a27, #082317 70%); color: #fff; box-shadow: 0 50px 90px -30px rgba(8, 35, 23, .55); transform: perspective(1400px) rotateY(var(--ry, 6deg)) rotateX(var(--rx, 2deg)); transition: transform .5s var(--ease); }
.ui::before { content: ""; position: absolute; inset: -30px; z-index: -1; background: radial-gradient(60% 60% at 50% 50%, rgba(53, 208, 127, .38), transparent 70%); filter: blur(30px); }
.ui-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line-d); }
.ui-bar i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.ui-bar span { margin-inline-start: auto; padding: 0 14px; font-size: .78rem; line-height: 26px; color: var(--muted-d); background: rgba(255, 255, 255, .06); border-radius: 99px; direction: ltr; }
.ui-body { padding: 8px 24px 22px; }
.ui-title { display: flex; justify-content: space-between; align-items: baseline; padding-block: 14px; font-weight: 700; }
.ui-title small { font-weight: 400; font-size: .8rem; color: var(--muted-d); }
.res { padding-block: 14px; border-top: 1px solid var(--line-d); }
.res-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.res-top b { font-weight: 500; }
.res-top span { font-weight: 700; font-size: 1.15rem; }
.res-top small { font-weight: 400; font-size: .78rem; color: var(--muted-d); }
.track { direction: ltr; position: relative; height: 6px; margin: 14px 0 8px; background: rgba(255, 255, 255, .1); border-radius: 99px; }
.zone { position: absolute; top: 0; bottom: 0; left: var(--z1); width: calc(var(--z2) - var(--z1)); background: linear-gradient(90deg, var(--blue), var(--teal)); border-radius: 99px; opacity: .9; }
.mk { position: absolute; top: 50%; left: var(--p); width: 16px; height: 16px; margin: -8px 0 0 -8px; background: #fff; border-radius: 50%; box-shadow: 0 0 0 4px rgba(255, 255, 255, .18), 0 0 14px rgba(255, 255, 255, .6); animation: mkpulse 2.6s ease-in-out infinite; }
@keyframes mkpulse { 50% { box-shadow: 0 0 0 8px rgba(255, 255, 255, .06), 0 0 18px rgba(255, 255, 255, .8); } }
.res-rng { font-size: .78rem; color: var(--muted-d); line-height: 1.7; }
.ui-note { padding-left: 120px; padding-top: 12px; border-top: 1px solid var(--line-d); font-size: .76rem; color: var(--muted-d); line-height: 1.8; }
.phone { position: absolute; left: -26px; bottom: -6px; width: 150px; padding: 8px; border-radius: 28px; background: #04110a; border: 1px solid rgba(255, 255, 255, .2); box-shadow: 0 30px 50px -20px rgba(8, 35, 23, .6); animation: bob 7s ease-in-out infinite; }
.phone-in { padding: 12px 12px 12px; border-radius: 21px; background: linear-gradient(170deg, #17482f, #0a2418); }
.phone-in b { display: block; margin-bottom: 10px; font-size: .74rem; font-weight: 700; color: #fff; line-height: 1.6; }
.phone-in i { display: block; height: 6px; margin-bottom: 11px; border-radius: 4px; background: rgba(255, 255, 255, .12); position: relative; }
.phone-in i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--teal)); }
.phone-in em { display: grid; place-items: center; width: 100%; height: 26px; margin-top: 6px; border-radius: 8px; font-style: normal; font-size: .66rem; font-weight: 700; color: #03210f; background: var(--teal); }
.fl { position: absolute; display: flex; align-items: center; gap: 10px; padding: 8px 16px 8px 14px; font-size: .88rem; font-weight: 500; background: #fff; border: 1px solid rgba(8, 35, 23, .08); border-radius: 99px; box-shadow: 0 20px 40px -18px rgba(8, 35, 23, .45); animation: bob 6s ease-in-out infinite; }
.fl .i { color: var(--teal-d); width: 1.3em; height: 1.3em; }
.fl-1 { top: -18px; right: 20px; }
.fl-2 { bottom: 10px; right: 24px; animation-delay: -2.5s; }
@keyframes bob { 50% { transform: translateY(-9px); } }

/* مراجعین */
.aud { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(30px, 4vw, 52px); }
.au { --t: 53, 208, 127; --mx: 50%; --my: 50%; position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 36px; min-height: 250px; padding: 24px; text-decoration: none; overflow: hidden; border: 1px solid rgba(8, 35, 23, .08); border-radius: 28px; background: linear-gradient(165deg, #fff 35%, rgba(var(--t), .16)); box-shadow: 0 26px 50px -32px rgba(8, 35, 23, .35); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.au:nth-child(2) { --t: 14, 155, 85; } .au:nth-child(3) { --t: 237, 28, 36; } .au:nth-child(4) { --t: 255, 180, 77; }
.au::before { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .3s; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(var(--t), .28), transparent 70%); }
.au:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -30px rgba(8, 35, 23, .45); }
.au:hover::before { opacity: 1; }
.au .ic { position: relative; display: grid; place-items: center; width: 78px; height: 78px; border-radius: 50%; color: var(--ink); background: rgba(var(--t), .2); border: 1px solid rgba(var(--t), .55); }
.au .ic::after { content: ""; position: absolute; inset: -9px; border: 1px dashed rgba(var(--t), .6); border-radius: 50%; animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.au .ic .i { width: 40px; height: 40px; stroke-width: 1.3; }
.au h3 { position: relative; font-size: 1.45rem; font-weight: 700; line-height: 1.6; }
.au p { position: relative; margin-top: 4px; color: var(--muted); font-size: .94rem; line-height: 1.9; }
.au .go { position: absolute; top: 28px; inset-inline-end: 28px; display: grid; place-items: center; width: 42px; height: 42px; margin: 0; padding: 0; color: var(--ink); background: #fff; border: 1px solid rgba(8, 35, 23, .12); border-radius: 50%; transition: background-color .3s, color .3s, transform .3s var(--ease); }
.au .go .i { width: 1.1em; height: 1.1em; }
.au:hover .go { background: var(--ink); color: #fff; transform: translateX(-4px); }
.related { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 34px; }
.related a { padding: 2px 20px; border: 1px solid rgba(8, 35, 23, .12); border-radius: 99px; background: rgba(255, 255, 255, .8); text-decoration: none; font-size: .94rem; transition: border-color .2s, color .2s, transform .2s; }
.related a:hover { border-color: var(--teal-d); color: var(--teal-d); transform: translateY(-2px); }

/* اورژانس */
.alert { position: relative; overflow: hidden; color: #fff; padding-block: clamp(46px, 6.5vw, 92px); background: radial-gradient(760px 520px at 88% 45%, rgba(255, 77, 79, .38), transparent 62%), radial-gradient(600px 420px at 0 100%, rgba(14, 155, 85, .22), transparent 70%), linear-gradient(180deg, #06150d, #04110a); }
.alert::before { content: ""; position: absolute; inset: 0; opacity: .05; pointer-events: none; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 60px 60px; -webkit-mask-image: radial-gradient(70% 90% at 70% 50%, #000, transparent); mask-image: radial-gradient(70% 90% at 70% 50%, #000, transparent); }
.alert-ecg { position: absolute; inset-inline: 0; top: 50%; height: 160px; margin-top: -80px; overflow: hidden; pointer-events: none; opacity: .5; direction: ltr; }
.alert-ecg svg { display: block; width: 200%; height: 100%; animation: ecgmove 9s linear infinite; fill: none; stroke: #ff5a5c; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 10px rgba(255, 77, 79, .9)); -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
@keyframes ecgmove { to { transform: translateX(-50%); } }
.alert-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 6vw, 90px); align-items: center; }
.tag-live { display: inline-flex; align-items: center; gap: 10px; padding: 3px 18px; margin-bottom: 20px; border: 1px solid rgba(255, 77, 79, .55); border-radius: 99px; font-size: .9rem; font-weight: 500; color: #ffb9ba; background: rgba(255, 77, 79, .1); }
.tag-live::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--red); animation: live 1.8s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(255, 77, 79, .8); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255, 77, 79, 0); } }
.alert .lead2 { max-width: 34em; margin-top: 18px; color: #b5cdbf; font-size: 1.05rem; }
.al-list { display: grid; gap: 10px; margin-top: 28px; }
.al-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.al-list .i { color: #ff8a8c; width: 1.4em; height: 1.4em; }
.alert .warn { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 4px 18px; border: 1px solid var(--line-d); border-radius: 14px; font-size: .9rem; color: #ffd0d1; background: rgba(255, 255, 255, .05); }
.call-card { position: relative; padding: clamp(28px, 4vw, 44px); border-radius: 32px; text-align: center; background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04)); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 50px 90px -34px rgba(255, 77, 79, .6), inset 0 1px 0 rgba(255, 255, 255, .25); }
.call-ring { position: relative; display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #ff6b6d, #e5383b); box-shadow: 0 18px 40px -10px rgba(255, 77, 79, .8); }
.call-ring::before, .call-ring::after { content: ""; position: absolute; inset: 0; border: 2px solid rgba(255, 90, 92, .7); border-radius: 50%; animation: callripple 2.4s ease-out infinite; }
.call-ring::after { animation-delay: 1.2s; }
@keyframes callripple { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.3); opacity: 0; } }
.call-ring .i { width: 40px; height: 40px; stroke-width: 1.7; animation: ring 2.4s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } 50% { transform: rotate(-6deg); } }
.call-card small { display: block; color: #bfd5c8; font-size: .95rem; }
.btn-call { width: 100%; min-height: 62px; font-size: 1.15rem; font-weight: 700; color: #fff; background: linear-gradient(135deg, #ff5a5c, #e5383b); border-color: transparent; animation: callglow 2.4s ease-in-out infinite; }
.btn-call:hover { box-shadow: 0 16px 40px rgba(255, 77, 79, .55); }
@keyframes callglow { 0%, 100% { box-shadow: 0 10px 30px rgba(255, 77, 79, .35); } 50% { box-shadow: 0 10px 50px rgba(255, 77, 79, .7); } }
.call-alt { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 16px; color: #d1e2d8; text-decoration: none; font-size: 1.05rem; }
.call-alt .ltr { font-weight: 700; font-size: 1.3rem; letter-spacing: .03em; }
.call-alt:hover { color: #fff; }
.call-alt .i { color: #ff8a8c; }


/* تماس */
.center-head { max-width: 40em; margin: 0 auto clamp(22px, 3vw, 38px); text-align: center; }
.center-head .sub-p { margin-inline: auto; }
.cgrid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-radius: 34px; overflow: hidden; background: #fff; border: 1px solid rgba(8, 35, 23, .1); box-shadow: 0 60px 100px -50px rgba(8, 35, 23, .6); }
.cpanel { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(26px, 4vw, 50px); color: #fff; background: radial-gradient(400px 300px at 100% 0, rgba(53, 208, 127, .25), transparent 65%), linear-gradient(160deg, #13482d, #082317); }
.cpanel, .cmap { min-width: 0; }
.cpanel h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.6; }
.cpanel > p { margin-top: -6px; margin-bottom: 8px; color: #b5cdbf; font-size: .95rem; }
.crow { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border: 1px solid var(--line-d); border-radius: 20px; background: rgba(255, 255, 255, .04); text-decoration: none; transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
a.crow:hover { background: rgba(53, 208, 127, .12); border-color: rgba(53, 208, 127, .55); transform: translateX(-6px); }
.crow .ic { flex: none; display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; color: #03210f; background: linear-gradient(135deg, var(--teal), #8ae8b3); box-shadow: 0 10px 24px -8px rgba(53, 208, 127, .7); }
.crow .ic .i { width: 24px; height: 24px; }
.crow small { display: block; color: var(--muted-d); font-size: .82rem; line-height: 1.6; }
.crow > div { min-width: 0; }
.crow b { overflow-wrap: anywhere; display: block; font-weight: 500; font-size: 1.05rem; line-height: 1.7; }
.crow .nums { display: flex; flex-wrap: wrap; gap: 4px 18px; direction: ltr; }
.crow .nums a { font-weight: 700; font-size: 1.2rem; letter-spacing: .03em; text-decoration: none; transition: color .2s; }
.crow .nums a:hover { color: var(--teal); }
.crow .arr { margin-inline-start: auto; color: var(--teal); opacity: .8; transition: transform .3s var(--ease); }
a.crow:hover .arr { transform: translateX(-6px); }
.cpanel .btn { margin-top: 10px; width: 100%; }


/* ---------- صفحات داخلی (موقت) ---------- */
.prose { max-width: 800px; padding-block: 56px 90px; }
.prose h1 { font-size: 2.3rem; font-weight: 700; line-height: 1.5; margin-bottom: 20px; }
.prose h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; font-weight: 700; }
.prose h3 { font-size: 1.25rem; margin: 1.4em 0 .4em; font-weight: 700; }
.prose p, .prose ul, .prose ol { margin-block: 0 1em; }
.prose ul { list-style: disc; padding-inline-start: 1.4em; }
.prose ol { list-style: decimal; padding-inline-start: 1.4em; }
.prose a { color: var(--teal-d); }


/* ---------- پس‌زمینه بخش‌های روشن ---------- */
.light { position: relative; overflow: hidden; background: var(--paper); }
.light::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(640px 440px at 92% 4%, rgba(53, 208, 127, .17), transparent 62%), radial-gradient(720px 500px at 4% 98%, rgba(14, 155, 85, .16), transparent 62%); }
.light::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55; background-image: radial-gradient(rgba(8, 35, 23, .13) 1px, transparent 1.3px); background-size: 26px 26px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent); }
.light > .wrap { position: relative; z-index: 1; }
.light-alt { background: #fff; }
.orb { position: absolute; z-index: 0; border-radius: 50%; filter: blur(60px); pointer-events: none; opacity: .38; animation: drift 16s ease-in-out infinite alternate; }
.orb-t { background: var(--teal); } .orb-b { background: var(--blue); } .orb-v { background: #ff6b6d; }
@keyframes drift { to { transform: translate(40px, -30px) scale(1.15); } }


/* ---------- دکمه تماس شناور (موبایل) ---------- */
.fab-call { display: none; position: fixed; z-index: 60; left: 16px; bottom: 16px; width: 58px; height: 58px; place-items: center; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #ff5a5c, #e5383b); box-shadow: 0 14px 30px rgba(229, 56, 59, .55); animation: callglow 2.4s ease-in-out infinite; }
.fab-call .i { width: 26px; height: 26px; }

/* ---------- دقت و کیفیت ---------- */
.precision { position: relative; overflow: hidden; background: radial-gradient(700px 480px at 12% 30%, rgba(53, 208, 127, .14), transparent 62%), radial-gradient(640px 460px at 95% 90%, rgba(14, 155, 85, .16), transparent 62%), var(--navy); }
.precision::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .06; background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(60% 70% at 25% 50%, #000, transparent); mask-image: radial-gradient(60% 70% at 25% 50%, #000, transparent); }
.precision .wrap { position: relative; z-index: 1; }
.pgrid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 100px); align-items: center; }
.radar { position: relative; width: min(450px, 100%); aspect-ratio: 1; margin-inline: auto; }
.radar .r { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .13); }
.radar .r1 { inset: 0; border-color: rgba(53, 208, 127, .35); box-shadow: 0 0 80px rgba(53, 208, 127, .12), inset 0 0 60px rgba(53, 208, 127, .08); }
.radar .r2 { inset: 14%; } .radar .r3 { inset: 28%; border-style: dashed; } .radar .r4 { inset: 42%; }
.radar .cross { position: absolute; inset: 0; background: linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, .12)) center / 1px 100% no-repeat, linear-gradient(rgba(255, 255, 255, .12), rgba(255, 255, 255, .12)) center / 100% 1px no-repeat; }
.radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(53, 208, 127, 0) 0 72%, rgba(53, 208, 127, .5) 100%); animation: spin 6s linear infinite; }
.radar .sweep::after { content: ""; position: absolute; top: 0; bottom: 50%; left: 50%; width: 2px; margin-left: -1px; background: linear-gradient(var(--teal), transparent); box-shadow: 0 0 14px var(--teal); }
.blip { position: absolute; width: 11px; height: 11px; margin: -5px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 16px var(--teal); animation: blip 3s ease-in-out infinite; animation-delay: var(--dl, 0s); }
@keyframes blip { 0%, 100% { transform: scale(.6); opacity: .35; } 40% { transform: scale(1.3); opacity: 1; } }
.core { position: absolute; inset: 36%; display: grid; place-items: center; border-radius: 50%; color: var(--teal); background: radial-gradient(circle, rgba(53, 208, 127, .35), rgba(8, 35, 23, .92)); border: 1px solid rgba(53, 208, 127, .55); box-shadow: 0 0 70px rgba(53, 208, 127, .45); }
.core .i { width: 46%; height: 46%; stroke-width: 1.4; }
.pchip { position: absolute; display: flex; align-items: center; gap: 8px; padding: 4px 16px 4px 14px; font-size: .88rem; font-weight: 500; white-space: nowrap; color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); border-radius: 99px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6); animation: bob 6s ease-in-out infinite; }
.pchip .i { color: var(--teal); width: 1.25em; height: 1.25em; }
.pc-1 { top: 6%; right: -2%; } .pc-2 { bottom: 14%; left: -6%; animation-delay: -2s; } .pc-3 { top: 50%; right: -10%; animation-delay: -4s; }
.precision h2 strong { color: #fff; text-shadow: 0 0 40px rgba(53, 208, 127, .5); }
.pillars { display: grid; gap: 10px; margin: 22px 0 24px; }
.pillars li { display: flex; align-items: center; gap: 16px; padding: 14px 20px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-d); border-radius: 22px; transition: border-color .3s, background-color .3s, transform .35s var(--ease); }
.pillars li:hover { border-color: rgba(53, 208, 127, .55); background: rgba(53, 208, 127, .07); transform: translateX(-6px); }
.pillars .tile { flex: none; }
.pillars h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.7; }
.pillars p { color: var(--muted-d); font-size: .94rem; line-height: 1.85; }


/* اورژانس – تیتر یک‌خطی (طراحی بخش بدون تغییر) */
.alert h2 { font-size: clamp(1.6rem, 2.7vw, 2.6rem); font-weight: 700; line-height: 1.5; }
.alert h2 strong { display: inline; text-shadow: 0 0 40px rgba(255, 77, 79, .55); }
.tel-big { display: block; direction: ltr; margin-block: 6px 22px; font-size: clamp(2.1rem, 4.4vw, 3.8rem); font-weight: 700; line-height: 1.2; letter-spacing: .02em; text-decoration: none; text-shadow: 0 0 40px rgba(255, 77, 79, .5); transition: text-shadow .3s; }
.tel-big:hover { text-shadow: 0 0 40px rgba(255, 77, 79, .8); }

/* نقشه زنده (موقعیت دقیق با جستجوی آدرس) */
.cmap { position: relative; min-height: 440px; background: #082317; overflow: hidden; }
.mapframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(92%) hue-rotate(180deg) saturate(.75) contrast(.92) brightness(.95); }
.mpulse { position: absolute; top: 50%; left: 50%; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: rgba(53, 208, 127, .55); pointer-events: none; animation: mapulse 2.8s ease-out infinite; }
.mpulse::after { content: ""; position: absolute; inset: -22px; border: 1px solid rgba(53, 208, 127, .6); border-radius: 50%; }
@keyframes mapulse { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(4.2); opacity: 0; } }
.pin-card { position: absolute; top: 16px; inset-inline-end: 16px; display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); padding: 10px 16px 10px 14px; color: #fff; background: rgba(8, 35, 23, .78); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .6); }
.pin-card .ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #03210f; background: var(--teal); }
.pin-card b { display: block; font-weight: 700; line-height: 1.6; }
.pin-card span { display: block; font-size: .82rem; color: var(--muted-d); line-height: 1.6; }

/* ---------- نوار پیشرفت اسکرول ---------- */
.progress { position: fixed; top: 0; inset-inline: 0; z-index: 70; height: 3px; transform-origin: 100% 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--teal), var(--blue)); box-shadow: 0 0 12px rgba(53, 208, 127, .8); pointer-events: none; }

/* ---------- فوتر ---------- */
.site-foot { position: relative; background: radial-gradient(700px 400px at 90% 0, rgba(53, 208, 127, .08), transparent 60%), var(--ink); color: #a6bdb0; border-top: 1px solid var(--line-d); }
.f-cta { position: relative; z-index: 2; overflow: hidden; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 36px; margin-top: calc(-1 * clamp(32px, 4vw, 52px)); padding: clamp(20px, 2.6vw, 34px) clamp(22px, 3.4vw, 48px); color: #fff; border-radius: clamp(20px, 2.6vw, 30px); background: radial-gradient(480px 300px at 100% 0, rgba(255, 255, 255, .14), transparent 62%), repeating-linear-gradient(135deg, rgba(255, 255, 255, .045) 0 2px, transparent 2px 16px), linear-gradient(115deg, #068143 0%, #056b38 55%, #04542c 100%); box-shadow: 0 40px 80px -38px rgba(4, 84, 44, .85); }
.f-cta > * { position: relative; z-index: 1; }
.f-cta-t { font-size: clamp(1.15rem, 2vw, 1.7rem); font-weight: 300; line-height: 1.6; }
.f-cta-t strong { font-weight: 700; }
.f-cta-s { color: #d5ecdf; font-size: .92rem; }
.f-cta-b { display: flex; flex-wrap: wrap; gap: 10px; }
.f-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(16px, 2vw, 30px); align-items: stretch; padding-block: clamp(26px, 3vw, 38px) clamp(18px, 2vw, 26px); }
.f-col { display: flex; flex-direction: column; min-width: 0; }
.f-col > ul { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 2px; }
.f-title { margin-bottom: 10px; padding-bottom: 8px; color: #fff; font-weight: 700; font-size: .95rem; line-height: 1.6; border-bottom: 1px solid var(--line-d); }
.f-about .brand { color: #fff; margin-bottom: 12px; }
.f-about .brand img { background: #fff; border-radius: 12px; padding: 3px; }
.f-about .brand-t small { color: var(--muted-d); }
.f-desc { font-size: .84rem; line-height: 1.9; }
.f-route { margin-top: 12px; align-self: flex-start; min-height: 40px; font-size: .84rem; padding-inline: 1.1em; }
.f-about .f-desc { margin-bottom: 14px; }
.f-contact { font-size: .84rem; gap: 4px; }
.f-contact li { display: flex; align-items: flex-start; gap: 12px; }
.f-contact .i { margin-top: .35em; color: var(--teal); width: 1.2em; height: 1.2em; }
.f-contact a { text-decoration: none; transition: color .15s; }
.f-contact a:hover { color: #fff; }
.f-col li { line-height: 1.7; }
.f-col li a { position: relative; display: inline-block; padding-block: 1px; font-size: .84rem; text-decoration: none; transition: color .15s, transform .2s var(--ease); }
.f-col:not(.f-contact-col) li a::before { content: ""; display: inline-block; width: 5px; height: 5px; margin-inline-end: 10px; border-radius: 50%; background: var(--teal); opacity: .5; transition: opacity .2s; vertical-align: middle; }
.f-col li a:hover { color: #fff; transform: translateX(-4px); }
.f-col li a:hover::before { opacity: 1; }
.f-tagrow { padding-block: 16px; border-top: 1px solid var(--line-d); }
.f-tags { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.f-tags a { flex: 1 1 auto; text-align: center; white-space: nowrap; padding: 0 12px; line-height: 30px; font-size: .8rem; text-decoration: none; border: 1px solid var(--line-d); border-radius: 99px; transition: color .2s, border-color .2s, background-color .2s; }
.f-tags a:hover { color: #fff; border-color: var(--teal); background: rgba(53, 208, 127, .1); }
.f-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; padding-block: 14px 18px; border-top: 1px solid var(--line-d); font-size: .84rem; }
.f-credit a { color: var(--teal); font-weight: 500; text-decoration: none; }
.f-credit a:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- ریسپانسیو (همه دستگاه‌ها و رزولوشن‌ها) ---------- */
@media (min-width: 1700px) {
	.h2-vis { min-height: 620px; }
}
@media (max-width: 1280px) {
	.head-tel small { display: none; }
	.brand-t small { display: none; }
}
@media (max-width: 1180px) {
	.head-tel { display: none; }
	.nl { padding-inline: 11px; }
}
@media (max-width: 1100px) {
	.head-in { flex-wrap: wrap; min-height: 68px; gap: 12px; }
	.brand { margin-inline-end: auto; }
	.head-cta { display: none; }
	.nav-btn { display: inline-grid; align-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 12px; background: #fff; border: 1px solid rgba(8, 35, 23, .16); border-radius: 14px; cursor: pointer; }
	.nav-btn i { display: block; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
	.nav-btn[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.nav-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
	.nav-btn[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	#site-nav { flex-basis: 100%; order: 3; }
	.js #site-nav { display: none; }
	.js #site-nav.open { display: block; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); overflow-y: auto; padding-bottom: 16px; }
	#site-nav > ul { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; }
	#site-nav > ul > li { border-top: 1px solid rgba(8, 35, 23, .07); }
	.nl { padding: 12px 6px; font-size: 1.02rem; }
	.nl:hover { background: none; }
	.sub-toggle { display: none; }
	.nl-static { font-weight: 700; color: var(--teal-d); }
	.mega { position: static; width: auto; padding: 0 0 8px; opacity: 1; visibility: visible; transform: none; }
	.mega-in { grid-template-columns: 1fr 1fr; gap: 2px; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
	.mega-cta { display: none; }
	.mg { padding: 8px 6px; }
	.mg .tile { width: 40px; height: 40px; }
	.nav-cta { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 14px; }
	.nav-cta .btn { flex: 1 1 200px; }
}
@media (max-width: 1080px) {
	.bento { grid-template-columns: 1fr 1fr; }
	.bx-feature { grid-column: 1 / -1; grid-row: auto; }
	.aud { grid-template-columns: 1fr 1fr; }
	.depts { grid-template-columns: repeat(3, 1fr); }
	.depts li { border-inline-start: 1px solid var(--line-d) !important; border-bottom: 1px solid var(--line-d) !important; }
	.f-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	.h2-grid { grid-template-columns: minmax(0, 1fr); }
	.h2-vis { min-height: 360px; }
	.about-top, .report-grid, .alert-in, .cgrid, .pgrid { grid-template-columns: minmax(0, 1fr); }
	.bignum { text-align: start; }
	.stage { max-width: 560px; margin-inline: auto; }
	.ui { transform: none; }
	.cmap { min-height: 420px; }
	.radar { width: min(360px, 88%); }
	.pc-1 { right: -6%; } .pc-2 { left: -8%; } .pc-3 { display: none; }
	.fab-call { display: grid; }
	.topbar .tb-hide { display: none; }
}
@media (max-width: 720px) {
	.sec h2, .alert h2 { white-space: normal; }
	.sec-head { align-items: flex-start; }
	.f-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.f-about, .f-contact-col { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
	.bento, .aud { grid-template-columns: minmax(0, 1fr); }
	.bx-wide { flex-direction: column; align-items: flex-start; }
	.au { min-height: 0; gap: 40px; }
	.depts { grid-template-columns: 1fr 1fr; }
	.phone { left: -6px; width: 118px; }
	.fl-1 { right: 6px; } .fl-2 { right: -4px; }
	.crow b.ltr { font-size: .92rem; overflow-wrap: normal; }
	.crow .arr { display: none; }
	.pin-card { inset-inline: 12px; top: 12px; max-width: none; }
	.lens-chip { font-size: .78rem; }
	.gc-1 { min-width: 0; right: -2%; }
	.gc-2 { width: 150px; }
	.hstats { gap: 12px 22px; }
	.hstats b { font-size: 1.35rem; }
	.mega-in { grid-template-columns: 1fr; }
	.actions .btn, .f-cta-b .btn { flex: 1 1 100%; }
	.topbar .wrap { justify-content: center; }
	.topbar .tb-group:last-child { display: none; }
}
@media (max-width: 480px) {
	.f-grid { grid-template-columns: minmax(0, 1fr); }
	.qt { padding: 16px 18px; }
	.cpanel { padding: 22px 18px; }
	.crow { padding: 12px 14px; gap: 12px; }
	.crow .nums a { font-size: 1.05rem; }
	.brand img { height: 46px; }
	.lc-1 { display: none; }
	.gcard { padding: 10px 14px; }
	.brand-t b { font-size: 1rem; }
	.call-card { padding: 24px 18px; }
	.btn { padding-inline: 1.2em; }
}
@media (max-width: 360px) {
	.h1-main strong { font-size: 2.1rem; }
	.brand-t { display: none; }
}
@media (prefers-reduced-motion: reduce) {
	.orb, .alert-ecg svg, .call-ring::before, .call-ring::after, .call-ring .i, .btn-call, .fab-call, .au .ic::after, .rings i, .fl, .phone, .mk, .lens-chip, .orbit, .gcard, .gbar u, .gchart i, .rot-w i, .hero-bg > i, .bubbles i, .mpulse, .radar .sweep, .blip, .pchip { animation: none; }
	.ecg path { animation: none; stroke-dashoffset: 0; }
	.rot-w i:first-child { opacity: 1; }
	.rv-on .rv { opacity: 1; transform: none; }
	* { transition: none !important; }
}
