/* ==========================================================================
   کاشف محاسب آرنا — قالب حسابداری، حسابرسی و مالیاتی
   ========================================================================== */

/* ---------- Fonts ---------- */
@font-face{font-family:'Vazirmatn';src:url('../fonts/Vazirmatn-400.woff2') format('woff2');font-weight:400;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('../fonts/Vazirmatn-500.woff2') format('woff2');font-weight:500;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('../fonts/Vazirmatn-700.woff2') format('woff2');font-weight:700;font-display:swap}
@font-face{font-family:'Vazirmatn';src:url('../fonts/Vazirmatn-800.woff2') format('woff2');font-weight:800;font-display:swap}

/* ---------- Tokens ---------- */
:root{
  /* بنفش سلطنتی */
  --p-950:#180733;
  --p-900:#230b47;
  --p-800:#30105e;
  --p-700:#3f1878;
  --p-600:#4f2192;
  --p-500:#632aad;
  --p-400:#7c3fc9;
  --p-300:#a97fe0;
  --p-200:#c9aeee;
  --p-100:#e8dcf9;
  --p-50:#f7f3fc;

  --gold:#eeb93f;
  --ink:#1d1633;
  --body:#5d5674;
  --muted:#8a82a0;
  --line:#e8e2f3;
  --bg:#ffffff;
  --bg-soft:#f7f3fc;

  --radius:14px;
  --radius-lg:18px;
  --shadow-sm:0 3px 12px rgba(35,11,71,.05);
  --shadow:0 10px 30px rgba(35,11,71,.10);
  --shadow-lg:0 22px 55px rgba(35,11,71,.16);
  --container:1200px;
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}
body{
  margin:0;
  font-family:'Vazirmatn',Tahoma,system-ui,sans-serif;
  font-size:15px;line-height:2;
  color:var(--body);background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4,h5{margin:0;color:var(--ink);line-height:1.65;font-weight:800}
p{margin:0}
ul{margin:0;padding:0;list-style:none}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
svg{width:100%;height:100%;fill:currentColor}
button,input{font-family:inherit}
.container{width:100%;max-width:var(--container);margin:0 auto;padding:0 20px}
.gold{color:var(--gold)}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  padding:11px 24px;border-radius:10px;border:1.5px solid transparent;
  font-size:13.5px;font-weight:700;cursor:pointer;transition:.25s ease;white-space:nowrap;
}
.btn--lg{padding:13px 30px;font-size:14.5px}
.btn--primary{background:linear-gradient(135deg,var(--p-400),var(--p-600));color:#fff;box-shadow:0 8px 20px rgba(79,33,146,.30)}
.btn--primary:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(79,33,146,.40)}
.btn--ghost{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.6)}
.btn--ghost:hover{background:#fff;color:var(--p-700);border-color:#fff}
.btn--outline{background:#fff;color:var(--p-600);border-color:var(--p-200)}
.btn--outline:hover{background:var(--p-600);color:#fff;border-color:var(--p-600)}

/* ---------- Sections ---------- */
.section{padding:56px 0}
.head{text-align:center;margin-bottom:34px}
.head h2{font-size:25px;margin-bottom:8px;position:relative;display:inline-block;padding-bottom:12px}
.head h2::after{
  content:"";position:absolute;bottom:0;right:50%;transform:translateX(50%);
  width:56px;height:3px;border-radius:3px;background:linear-gradient(90deg,var(--p-400),var(--p-200));
}
.head p{font-size:13.5px;color:var(--muted)}

.link-more{
  display:inline-flex;align-items:center;gap:5px;
  font-size:12.5px;font-weight:700;color:var(--p-500);transition:.2s;
}
.link-more svg{width:14px;height:14px}
.link-more:hover{color:var(--p-700);gap:9px}

/* ==========================================================================
   NOTICE BAR + COUNTDOWN
   ========================================================================== */
.notice{
  position:relative;color:#fff;
  background:linear-gradient(90deg,var(--p-900),var(--p-700) 45%,var(--p-600));
}
.notice__inner{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  min-height:48px;padding-top:4px;padding-bottom:4px;
}
.notice__head{display:flex;align-items:center;gap:10px;flex:0 1 240px;max-width:260px;min-width:0}
.notice__bell{
  width:34px;height:34px;flex:0 0 34px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.14);color:var(--gold);
}
.notice__bell svg{width:18px;height:18px}
.notice__head > div{min-width:0;flex:1}
.notice__head b{display:block;font-size:14px;font-weight:700;line-height:1.35;white-space:normal}
.notice__link{
  display:inline-flex;align-items:center;gap:4px;margin-top:2px;max-width:100%;
  font-size:11.5px;color:#e5dcff;border:1px solid rgba(255,255,255,.28);
  padding:2px 8px;border-radius:7px;transition:.22s;white-space:normal;line-height:1.3;
  word-break:break-word;
}
.notice__link svg{width:11px;height:11px;flex:0 0 auto}
.notice__link:hover{background:rgba(255,255,255,.14);color:#fff}

.notice__text{flex:1;text-align:center;font-size:13.5px;color:rgba(255,255,255,.92);line-height:1.65}

.countdown{flex:0 0 auto;text-align:center}
.countdown__title{display:block;font-size:11px;color:rgba(255,255,255,.7);margin-bottom:3px}
.countdown__boxes{display:flex;flex-direction:row;gap:6px;direction:ltr}
.cd{
  min-width:44px;padding:3px 6px 4px;border-radius:8px;
  background:rgba(15,4,36,.55);border:1px solid rgba(255,255,255,.12);
}
.cd b{display:block;font-size:15px;font-weight:800;color:#fff;line-height:1.35}
.cd span{display:block;font-size:10px;color:rgba(255,255,255,.65);line-height:1.3}

/* ==========================================================================
   INFO BAR
   ========================================================================== */
.infobar{background:#fff;border-bottom:1px solid var(--line)}
.infobar__inner{display:flex;align-items:center;justify-content:space-between;min-height:44px;gap:16px}
.infobar__contact{display:flex;align-items:center;gap:22px}
.infobar__contact li{display:inline-flex;align-items:center;gap:7px;font-size:12.5px;color:var(--body)}
.infobar__contact svg{width:15px;height:15px;flex:0 0 15px;color:var(--p-500)}
.infobar__contact a{direction:ltr;transition:.2s}
.infobar__contact a:hover{color:var(--p-500)}

.socials{display:flex;align-items:center;gap:8px}
.socials a{
  width:27px;height:27px;border-radius:7px;
  display:flex;align-items:center;justify-content:center;
  background:var(--p-50);color:var(--p-500);transition:.25s;
}
.socials svg{width:14px;height:14px}
.socials a:hover{background:var(--p-500);color:#fff;transform:translateY(-2px)}
.socials--light a{background:rgba(255,255,255,.12);color:#fff}
.socials--light a:hover{background:#fff;color:var(--p-600)}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header{position:sticky;top:0;z-index:70;background:#fff;box-shadow:0 4px 22px rgba(35,11,71,.08)}
.header__inner{display:flex;align-items:center;gap:18px;min-height:74px;position:relative}

.brand{display:flex;align-items:center;gap:11px;flex:0 0 auto}
.brand__mark{width:46px;height:46px;flex:0 0 46px;color:var(--gold);
  display:flex;align-items:center;justify-content:center;border-radius:13px;
  background:linear-gradient(140deg,var(--p-700),var(--p-500));padding:6px}
.brand__mark svg{width:100%;height:100%;display:block}
.brand__mark--img{padding:0;background:#fff;overflow:hidden}
.brand__mark--img img{width:100%;height:100%;object-fit:contain;display:block}
.brand--light .brand__mark--img{
  background:transparent;
  border-radius:0;
  box-shadow:none;
}
.brand__text strong{display:block;font-size:17px;font-weight:800;color:var(--p-700);line-height:1.55}
.brand__text small{display:block;font-size:10.5px;color:var(--muted);line-height:1.5}
.brand--light .brand__text strong{color:#fff;font-size:18px}

.menu{margin-right:auto}
.menu>ul{display:flex;align-items:center}
.menu>ul>li{position:relative}
.menu>ul>li>a{
  display:flex;align-items:center;gap:4px;padding:0 14px;height:74px;
  font-size:13.5px;font-weight:500;color:var(--ink);transition:.2s;
}
.menu>ul>li>a:hover{color:var(--p-500)}
.menu>ul>li.is-active>a{color:var(--p-600);font-weight:700}
.menu>ul>li.is-active>a::after{
  content:"";position:absolute;bottom:16px;right:14px;left:14px;height:3px;
  border-radius:3px;background:var(--p-500);
}
.menu .caret{width:13px;height:13px;flex:0 0 13px;opacity:.6}

.submenu{
  position:absolute;top:100%;right:0;min-width:236px;
  background:#fff;border-radius:0 0 12px 12px;padding:8px 0;
  box-shadow:var(--shadow);border-top:2px solid var(--p-500);
  opacity:0;visibility:hidden;transform:translateY(8px);transition:.22s ease;
}
.menu li.has-sub:hover .submenu,.menu li.has-sub.open .submenu{opacity:1;visibility:visible;transform:translateY(0)}
.submenu a{display:block;padding:8px 20px;font-size:12.5px;color:var(--body);transition:.18s}
.submenu a:hover{background:var(--p-50);color:var(--p-600);padding-right:26px}

.header__cta{flex:0 0 auto}
.burger{display:none;flex-direction:column;gap:5px;background:none;border:0;padding:8px;cursor:pointer;margin-right:auto}
.burger span{display:block;width:22px;height:2px;background:var(--p-600);border-radius:2px}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative;overflow:hidden;color:#fff;
  min-height:640px;display:flex;align-items:center;
  background:linear-gradient(275deg,var(--p-900) 0%,var(--p-800) 34%,#3a1470 62%,#33115f 100%);
}

/* full-bleed hero artwork */
.hero__slides{
  position:absolute;top:0;right:0;bottom:0;left:0;
  width:100%;overflow:hidden;z-index:1;
}
.hero__slides::after{display:none}
.hero__slide{
  position:absolute;top:0;right:0;bottom:0;left:0;
  opacity:0;
  visibility:hidden;
  z-index:1;
  pointer-events:none;
}
.hero__slide.is-active{
  opacity:1 !important;
  visibility:visible;
  z-index:2;
  pointer-events:auto;
}
.hero__slide img{
  display:block;width:100%;height:100%;
  object-fit:cover;object-position:center center;
  transform-origin:center center;
}

.hero__veil{
  position:absolute;top:0;right:0;bottom:0;left:0;
  pointer-events:none;z-index:2;
  background:
    linear-gradient(270deg,rgba(24,7,51,.88) 0%,rgba(35,11,71,.72) 28%,rgba(35,11,71,.35) 52%,rgba(35,11,71,.18) 72%,rgba(35,11,71,.28) 100%),
    linear-gradient(0deg,rgba(24,7,51,.45) 0%,transparent 38%);
}

.hero__nav{
  position:absolute;top:50%;bottom:auto;z-index:5;
  -webkit-transform:translateY(-50%);transform:translateY(-50%);
  width:44px;height:44px;border-radius:50%;border:0;cursor:pointer;
  display:-webkit-flex;display:flex;-webkit-align-items:center;align-items:center;
  -webkit-justify-content:center;justify-content:center;
  background:rgba(255,255,255,.16);color:#fff;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  -webkit-transition:background .25s,-webkit-transform .25s;
  transition:background .25s,transform .25s;
  -webkit-appearance:none;appearance:none;
}
.hero__nav:hover{background:rgba(255,255,255,.3);-webkit-transform:translateY(-50%) scale(1.05);transform:translateY(-50%) scale(1.05)}
.hero__nav svg{width:16px;height:16px;display:block}
.hero__dots{
  position:absolute;bottom:22px;left:50%;
  -webkit-transform:translateX(-50%);transform:translateX(-50%);
  z-index:5;display:-webkit-flex;display:flex;gap:8px;-webkit-align-items:center;align-items:center;
}
.hero__dot{
  width:9px;height:9px;border-radius:50%;border:0;padding:0;cursor:pointer;
  background:rgba(255,255,255,.35);
  -webkit-transition:width .25s,background .25s,border-radius .25s;
  transition:width .25s,background .25s,border-radius .25s;
  -webkit-appearance:none;appearance:none;
}
.hero__dot.is-active{background:#fff;width:22px;border-radius:999px}

.hero__nav--prev{right:22px;left:auto}
.hero__nav--next{left:22px;right:auto}

.hero__inner{position:relative;z-index:3;width:100%;padding-top:56px;padding-bottom:56px}
.hero__panels{position:relative;max-width:560px;margin-right:0;margin-left:auto;min-height:460px}
.hero__panel{
  position:absolute;top:0;right:0;left:0;
  text-align:right;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  z-index:1;
}
.hero__panel.is-active{
  opacity:1 !important;
  visibility:visible;
  pointer-events:auto;
  z-index:2;
}

.hero__panel h1{color:#fff;font-size:35px;line-height:1.62;margin-bottom:12px;text-shadow:0 2px 18px rgba(20,4,48,.5)}
.hero__panel>p{font-size:14.5px;line-height:2.1;color:rgba(255,255,255,.85);margin-bottom:22px}

.hero__cats{display:flex;justify-content:flex-start;margin-bottom:24px}
.hero__cats li{
  flex:1;display:flex;flex-direction:column;align-items:center;gap:7px;
  padding:2px 10px;text-align:center;
}
.hero__cats li + li{border-right:1px solid rgba(255,255,255,.22)}
.hero__catIco{width:23px;height:23px;color:#fff;opacity:.95}
.hero__cats b{font-size:11px;font-weight:500;color:rgba(255,255,255,.9);line-height:1.75}

.hero__actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:flex-start}

/* ==========================================================================
   FEATURES STRIP
   ========================================================================== */
.features{background:var(--p-800);color:#fff}
.features__inner{display:flex;align-items:stretch;justify-content:space-between}
.feature{
  flex:1;display:flex;align-items:center;justify-content:center;gap:9px;
  padding:15px 8px;text-align:center;
}
.feature + .feature{border-right:1px solid rgba(255,255,255,.13)}
.feature__ico{width:22px;height:22px;flex:0 0 22px;color:var(--p-200)}
.feature b{font-size:12.5px;font-weight:500;color:rgba(255,255,255,.92)}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services{background:var(--bg-soft)}
.srv-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.srv{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  padding:20px 16px 18px;transition:.28s ease;
}
.srv:hover{transform:translateY(-6px);box-shadow:var(--shadow);border-color:var(--p-100)}
.srv__ico{
  display:flex;align-items:center;justify-content:center;
  width:44px;height:44px;border-radius:12px;margin-bottom:13px;
  background:var(--p-50);color:var(--p-500);transition:.28s;
}
.srv__ico svg{width:22px;height:22px}
.srv:hover .srv__ico{background:var(--p-500);color:#fff}
.srv h3{font-size:15px;margin-bottom:9px}
.srv ul li{
  position:relative;padding-right:12px;font-size:11.5px;line-height:2.05;color:var(--body);
}
.srv ul li::before{
  content:"";position:absolute;right:0;top:12px;
  width:5px;height:5px;border-radius:50%;background:var(--p-300);
}

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.ind-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.ind{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius-lg);
  overflow:hidden;transition:.28s ease;display:flex;flex-direction:column;
}
.ind:hover{transform:translateY(-6px);box-shadow:var(--shadow-lg)}
.ind__media{position:relative;aspect-ratio:16/9;overflow:hidden}
.ind__media::after{
  content:"";position:absolute;right:-6%;left:-6%;bottom:-34px;height:64px;
  background:#fff;border-radius:50% 50% 0 0 / 100% 100% 0 0;
}
.ind__media img{width:100%;height:100%;object-fit:cover;transition:.55s}
.ind:hover .ind__media img{transform:scale(1.07)}
.ind__body{padding:6px 20px 20px;display:flex;flex-direction:column;flex:1}
.ind__body h3{font-size:16px;margin-bottom:12px;text-align:center}

.ticks li{position:relative;padding-right:24px;font-size:12.5px;line-height:2.3;color:var(--body)}
.ticks li::before{
  content:"";position:absolute;right:0;top:11px;width:15px;height:15px;border-radius:50%;
  background:var(--p-100);
}
.ticks li::after{
  content:"";position:absolute;right:4.5px;top:15.5px;width:5px;height:2.5px;
  border-right:2px solid var(--p-500);border-bottom:2px solid var(--p-500);
  transform:rotate(-50deg);
}
.ind .link-more{
  margin:16px auto 0;background:var(--p-50);border:1px solid var(--p-100);
  padding:7px 18px;border-radius:9px;
}
.ind .link-more:hover{background:var(--p-500);color:#fff;border-color:var(--p-500)}

/* ==========================================================================
   CLIENTS — full-width marquee (no background, soft edge fade)
   ========================================================================== */
.clients{background:var(--bg-soft);overflow:hidden}
.clients-marquee{
  position:relative;
  width:100%;
  max-width:100%;
  overflow:hidden;
  padding:18px 0;
  min-height:200px;
  background:transparent;
  border:0;
  border-radius:0;
}
.clients-marquee::before,
.clients-marquee::after{
  content:"";
  position:absolute;
  top:0;bottom:0;
  width:min(220px,16vw);
  z-index:2;
  pointer-events:none;
}
.clients-marquee::before{
  left:0;
  background:linear-gradient(90deg,var(--bg-soft) 0%,rgba(247,243,252,0) 100%);
}
.clients-marquee::after{
  right:0;
  background:linear-gradient(270deg,var(--bg-soft) 0%,rgba(247,243,252,0) 100%);
}
.clients-marquee__track{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:56px;
  width:max-content;
  direction:ltr;
  will-change:transform;
  transform:translate3d(0,0,0);
}
.client-logo{
  display:block;
  width:auto;
  height:auto;
  max-width:400px;
  max-height:176px;
  object-fit:contain;
  flex:0 0 auto;
  background:transparent;
  border:0;
  box-shadow:none;
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats{
  padding:26px 0;color:#fff;
  background:linear-gradient(90deg,var(--p-800),var(--p-600) 55%,var(--p-500));
}
.stats__inner{display:flex;align-items:center;justify-content:space-between}
.stat{
  flex:1;display:flex;flex-direction:column;align-items:center;gap:1px;
  padding:6px 10px;position:relative;
}
.stat + .stat::after{
  content:"";position:absolute;right:0;top:14%;height:72%;width:1px;background:rgba(255,255,255,.2);
}
.stat__ico{width:26px;height:26px;color:var(--gold);margin-bottom:4px}
.stat b{font-size:25px;font-weight:800;line-height:1.4}
.stat__label{font-size:12px;color:rgba(255,255,255,.82)}

/* ==========================================================================
   BLOG
   ========================================================================== */
.blog__layout{display:grid;grid-template-columns:1fr 232px;gap:22px;align-items:start}
.blog__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}

.post{
  background:#fff;border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;transition:.28s;
}
.post:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.post__thumb{position:relative;display:block;aspect-ratio:16/9;overflow:hidden}
.post__thumb img{width:100%;height:100%;object-fit:cover;transition:.5s}
.post:hover .post__thumb img{transform:scale(1.06)}
.post__cat{
  position:absolute;top:11px;right:11px;
  background:var(--p-500);color:#fff;font-size:10.5px;font-weight:700;
  padding:3px 11px;border-radius:999px;
}
.post__body{padding:14px 16px 16px}
.post__body h3{font-size:14px;line-height:1.9;margin-bottom:10px}
.post__body h3 a:hover{color:var(--p-500)}
.post__meta{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:9px;border-top:1px solid var(--line)}
.post__date{font-size:11px;color:var(--muted)}

.quick{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.quick__title{
  background:linear-gradient(135deg,var(--p-500),var(--p-700));
  color:#fff;font-size:13.5px;font-weight:700;padding:11px 16px;
}
.quick__list{padding:10px 16px 4px}
.quick__list li{position:relative;padding-right:14px}
.quick__list li::before{
  content:"";position:absolute;right:0;top:15px;width:5px;height:5px;border-radius:50%;background:var(--p-300);
}
.quick__list a{font-size:12.5px;line-height:2.4;color:var(--body);transition:.2s}
.quick__list a:hover{color:var(--p-500)}
.quick__btn{display:flex;margin:8px 16px 16px;padding:9px 12px;font-size:12.5px}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer{
  color:rgba(255,255,255,.78);
  background:linear-gradient(120deg,var(--p-950),var(--p-800) 58%,var(--p-700));
}
.footer__grid{display:grid;grid-template-columns:1.2fr .8fr .95fr .8fr 1.25fr;gap:26px;padding:44px 20px 34px}
.footer__col h4{color:#fff;font-size:14px;margin-bottom:14px;position:relative;padding-bottom:9px}
.footer__col h4::after{content:"";position:absolute;bottom:0;right:0;width:32px;height:2.5px;border-radius:3px;background:var(--gold)}

.footer__contact li{display:flex;align-items:flex-start;gap:8px;font-size:12.5px;line-height:2.1;margin-bottom:5px}
.footer__contact svg{width:14px;height:14px;flex:0 0 14px;margin-top:8px;color:var(--p-200)}
.footer__links li{margin-bottom:3px}
.footer__links a{font-size:12.5px;line-height:2.1;color:rgba(255,255,255,.78);transition:.2s}
.footer__links a:hover{color:#fff;padding-right:5px}

.footer__col--brand .brand{margin-bottom:10px}
.footer__about{font-size:12.5px;line-height:2.1;color:rgba(255,255,255,.72);margin-bottom:14px}

.footer__bottom{border-top:1px solid rgba(255,255,255,.15)}
.footer__bottomInner{
  display:flex;align-items:center;justify-content:space-between;gap:14px;
  padding:13px 20px;font-size:11.5px;color:rgba(255,255,255,.68);
}
.footer__policy{display:inline-flex;align-items:center;gap:8px}
.footer__policy a:hover{color:#fff}
.footer__policy i{opacity:.5;font-style:normal}

/* ---------- back to top ---------- */
.totop{
  position:fixed;bottom:22px;left:22px;z-index:80;
  width:40px;height:40px;border-radius:11px;
  display:flex;align-items:center;justify-content:center;
  background:#fff;color:var(--p-600);border:1px solid var(--line);
  box-shadow:var(--shadow);
  opacity:0;visibility:hidden;transform:translateY(12px);transition:.28s;
}
.totop svg{width:19px;height:19px}
.totop.is-visible{opacity:1;visibility:visible;transform:none}
.totop:hover{background:var(--p-500);color:#fff;border-color:var(--p-500)}

/* ---------- reveal ---------- */
.reveal{opacity:0;transform:translateY(24px);transition:opacity .7s ease,transform .7s ease}
.reveal.is-in{opacity:1;transform:none}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1200px){
  .menu>ul>li>a{padding:0 10px;font-size:12.5px}
  .hero__panel h1{font-size:31px}
  .srv-grid{grid-template-columns:repeat(3,1fr)}
}

@media (max-width:992px){
  .burger{display:flex}
  .menu{
    position:absolute;top:100%;right:0;left:0;background:#fff;
    max-height:0;overflow:hidden;transition:max-height .35s ease;
    box-shadow:var(--shadow);margin:0;z-index:80;
  }
  .menu.is-open{max-height:75vh;overflow-y:auto}
  .menu>ul{display:block;padding:6px 0}
  .menu>ul>li>a{height:auto;padding:13px 18px;justify-content:space-between;font-size:14px}
  .menu>ul>li.is-active>a::after{display:none}
  .submenu{position:static;opacity:1;visibility:visible;transform:none;display:none;box-shadow:none;border-top:0;background:var(--p-50);border-radius:0}
  .menu li.has-sub.open .submenu{display:block}
  .submenu a{padding:10px 28px;font-size:13px}

  .header__cta{display:none}
  .infobar{display:none}

  /* موبایل: ارتفاع بیشتر اسلایدر به‌جای نوار تماس */

  /* Notice — خیلی فشرده روی گوشی */
  .notice__inner{
    flex-direction:column;align-items:center;text-align:center;
    gap:6px;padding:7px 12px;min-height:0;
  }
  .notice__head{max-width:none;justify-content:center;gap:6px}
  .notice__head > div{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;justify-content:center}
  .notice__head b{font-size:12px;white-space:nowrap;line-height:1.3}
  .notice__link{margin-top:0;font-size:10px;padding:1px 7px;border-radius:5px}
  .notice__link svg{width:9px;height:9px}
  .notice__bell{width:26px;height:26px;flex:0 0 26px}
  .notice__bell svg{width:14px;height:14px}
  .notice__text{display:none}
  .countdown{width:100%}
  .countdown__title{display:none}
  .countdown__boxes{justify-content:center;gap:4px}
  .cd{min-width:42px;padding:2px 4px 3px;border-radius:6px}
  .cd b{font-size:13px;line-height:1.35}
  .cd span{font-size:9px;line-height:1.2}

  /* Hero — کوتاه و خلوت */
  .hero{
    display:block;min-height:0;
    background:linear-gradient(180deg,var(--p-900),var(--p-800));
  }
  .hero__slides{
    position:relative;width:100%;height:280px;
    top:auto;right:auto;bottom:auto;left:auto;
  }
  .hero__slides::after{display:none}
  .hero__veil{
    display:block;position:absolute;top:0;left:0;right:0;height:280px;bottom:auto;
    background:linear-gradient(180deg,rgba(24,7,51,.1) 40%,rgba(24,7,51,.5) 100%);
  }
  .hero__nav{
    top:140px;width:32px;height:32px;
    -webkit-transform:translateY(-50%);transform:translateY(-50%);
    background:rgba(0,0,0,.35);
  }
  .hero__nav--prev{right:8px;left:auto}
  .hero__nav--next{left:8px;right:auto}
  .hero__nav:hover{-webkit-transform:translateY(-50%);transform:translateY(-50%)}
  .hero__dots{left:50%;bottom:auto;top:258px}

  .hero__inner{padding:18px 0 22px}
  .hero__panels{max-width:none;margin:0;min-height:0}
  .hero__panel{
    position:relative;text-align:center;
    opacity:0;visibility:hidden;height:0;overflow:hidden;pointer-events:none;
  }
  .hero__panel.is-active{
    opacity:1 !important;visibility:visible;height:auto;overflow:visible;pointer-events:auto;
  }
  .hero__panel h1{font-size:20px;line-height:1.65;margin-bottom:8px;text-shadow:none}
  .hero__panel>p{font-size:13px;line-height:1.85;margin-bottom:14px;opacity:.9}
  .hero__cats{display:none} /* آیکون‌های شلوغ حذف */
  .hero__actions{justify-content:center;flex-direction:column;align-items:stretch;gap:8px}
  .hero__actions .btn{width:100%;white-space:normal;padding:11px 14px;font-size:13.5px}
  .hero__actions .btn--ghost{display:none} /* فقط دکمه اصلی */

  /* Features — فقط ۳ تای اول، افقی اسکرول */
  .features{padding:0}
  .features__inner{
    display:flex;flex-wrap:nowrap;overflow-x:auto;-webkit-overflow-scrolling:touch;
    gap:0;padding:0;scrollbar-width:none;
  }
  .features__inner::-webkit-scrollbar{display:none}
  .feature{
    flex:0 0 auto;min-width:42%;padding:10px 14px;gap:7px;
    border:0 !important;border-left:1px solid rgba(255,255,255,.12) !important;
    justify-content:center;
  }
  .feature:nth-child(n+4){display:none}
  .feature__ico{width:18px;height:18px;flex:0 0 18px}
  .feature b{font-size:11.5px;white-space:nowrap;text-align:center;line-height:1.5}

  .section{padding:32px 0}
  .head{margin-bottom:20px}
  .head h2{font-size:18px;padding-bottom:10px}
  .head p{font-size:12.5px;padding:0 8px}

  .srv-grid{grid-template-columns:1fr;gap:10px}
  .srv{padding:14px 14px 12px;border-radius:12px}
  .srv__ico{width:38px;height:38px;margin-bottom:8px;border-radius:10px}
  .srv__ico svg{width:18px;height:18px}
  .srv h3{font-size:14.5px;margin-bottom:4px}
  .srv ul li{font-size:12px;line-height:1.9}

  .ind-grid{grid-template-columns:1fr;gap:12px;max-width:none;margin:0}
  .ind{border-radius:12px}
  .ind__media{aspect-ratio:2/1}
  .ind__body{padding:12px 14px 14px}
  .ind__body h3{font-size:15px;margin-bottom:8px}
  .ind ul{margin-bottom:10px}
  .ind ul li{font-size:12px;line-height:1.85}

  .clients-marquee{padding:14px 0;min-height:180px}
  .clients-marquee__track{gap:40px}
  .client-logo{max-width:360px;max-height:160px}

  .stats{padding:8px 0}
  .stats__inner{flex-wrap:wrap;gap:0}
  .stat{flex:1 1 33.333%;padding:12px 4px}
  .stat + .stat::after{display:none}
  .stat:nth-child(4),.stat:nth-child(5){flex:1 1 50%}
  .stat__ico{width:20px;height:20px;margin-bottom:2px}
  .stat b{font-size:18px}
  .stat__label{font-size:10.5px}

  .blog__layout{grid-template-columns:1fr;gap:12px}
  .blog__grid{grid-template-columns:1fr;gap:12px;max-width:none}
  .quick{display:none} /* سایدبار مقالات حذف */
  .post{border-radius:12px}
  .post__thumb{aspect-ratio:2/1}
  .post__body{padding:12px 14px 14px}
  .post__body h3{font-size:13.5px}

  .footer__grid{grid-template-columns:1fr;gap:18px;padding:28px 16px 20px}
  .footer__col h4{font-size:13.5px;margin-bottom:8px}
  .footer__about{font-size:12px;line-height:1.9}
  .footer__links a,.footer__contact li{font-size:12.5px}
  .footer__bottomInner{flex-direction:column;text-align:center;gap:6px;padding:12px 16px;font-size:11.5px}
}

@media (max-width:640px){
  body{font-size:13.5px}
  .container{padding:0 14px}
  .header__inner{min-height:56px;gap:10px}
  .brand__text strong{font-size:13.5px}
  .brand__text small{font-size:9.5px}
  .brand__mark{width:34px;height:34px;flex:0 0 34px}

  .hero__slides{height:250px}
  .hero__veil{height:250px}
  .hero__nav{top:125px}
  .hero__dots{top:228px}
  .hero__panel h1{font-size:18px}
  .hero__panel>p{font-size:12.5px;margin-bottom:12px}
  .hero__inner{padding:14px 0 18px}

  .feature{min-width:48%}
  .ind__media{aspect-ratio:2.2/1}
  .totop{bottom:12px;left:12px;width:38px;height:38px}
  .clients-marquee{padding:12px 0;min-height:150px}
  .clients-marquee__track{gap:28px}
  .client-logo{max-width:300px;max-height:136px}
}

@media (max-width:400px){
  .cd{min-width:46px}
  .cd b{font-size:13.5px}
  .hero__slides{height:230px}
  .hero__veil{height:230px}
  .hero__nav{top:115px}
  .hero__dots{top:208px}
}
