/* ===================================================
   مزایا و آمار اشیونه — ویجت المنتور
   =================================================== */
/* ===================================================
   نوار آمار
   =================================================== */
.ashw-root{
  --ashw-navy:#01193A;
  --ashw-navy-2:#01193A;
  --ashw-gold:#C9A227;
  --ashw-gold-soft:#E3C978;
  --ashw-white:#F8F9FA;
  --ashw-text:#2C2C2C;
  --ashw-muted:#6b7280;
  --ashw-line:#E6E9EE;
  --ashw-gap:20px;
  --ashw-stat-gap:0px;
  --ashw-cols:4;
  --ashw-grid-size:26px;
  --ashw-grid-op:.038;
  direction:rtl;
  line-height:2;
  color:var(--ashw-text);
}
.ashw-root *{box-sizing:border-box}

.ashw-stats{
  position:relative;
  width:calc(100vw - var(--ash-sbw,0px));
  margin-inline:calc(50% - (100vw - var(--ash-sbw,0px)) / 2);
  background:var(--ashw-navy);
  color:var(--ashw-white);
  overflow:hidden;
}

/* بافت نقطه‌چین بسیار محو */
.ashw-stats::before{
  content:"";position:absolute;inset:0;
  background-image:radial-gradient(rgba(201,162,39,.16) 1px,transparent 1px);
  background-size:22px 22px;
  opacity:.35;
}
/* هاله‌ی طلایی گوشه */
.ashw-stats::after{
  content:"";position:absolute;inset:0;
  background:
    radial-gradient(ellipse 70% 60% at 50% -10%,rgba(201,162,39,.22),transparent 62%),
    radial-gradient(ellipse 55% 85% at 84% -6%,rgba(201,162,39,.2),transparent 64%),
    radial-gradient(ellipse 45% 75% at 16% -6%,rgba(201,162,39,.13),transparent 66%);
}

/* خط طلایی بالا و پایین نوار */
.ashw-line{
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(201,162,39,.18) 30%,rgba(201,162,39,.18) 70%,transparent);
}

.ashw-stats-grid{
  position:relative;z-index:1;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:var(--ashw-stat-gap);
  padding-block:38px;
}

.ashw-stat{
  text-align:center;
  padding-inline:18px;
  position:relative;
}
.ashw-stat + .ashw-stat::before{
  content:"";position:absolute;right:0;top:50%;transform:translateY(-50%);
  width:1px;height:54px;
  background:linear-gradient(180deg,transparent,rgba(201,162,39,.3),transparent);
}

/* آیکون ریز بالای عدد */
.ashw-stat i{
  display:block;margin:0 auto 9px;
  width:19px;height:19px;
}
.ashw-stat i svg{width:100%;height:100%;stroke:var(--ashw-gold);fill:none;stroke-width:1.2;opacity:.85}

.ashw-stat b{
  display:block;
  font-size:clamp(26px,3.2vw,38px);
  font-weight:600;
  color:var(--ashw-gold-soft);
  line-height:1.4;
  letter-spacing:.5px;
  text-shadow:0 2px 18px rgba(201,162,39,.18);
}
.ashw-stat span{
  display:block;
  font-size:13px;font-weight:300;
  color:rgba(248,249,250,.6);
  margin-top:3px;letter-spacing:.3px;
}

/* ===================================================
   چرا اشیونه
   =================================================== */
.ashw{
  position:relative;
  width:calc(100vw - var(--ash-sbw,0px));
  margin-inline:calc(50% - (100vw - var(--ash-sbw,0px)) / 2);
  padding-block:clamp(28px,3.6vw,44px) clamp(54px,7.5vw,92px);
  overflow:hidden;

  /* پس‌زمینه‌ی متمایز: کرم بسیار روشن با بافت */
  background:
    radial-gradient(ellipse 45% 60% at 88% 6%,rgba(201,162,39,.07),transparent 68%),
    radial-gradient(ellipse 40% 50% at 8% 96%,rgba(1,25,58,.045),transparent 70%),
    linear-gradient(180deg,#FBFAF7 0%,#F6F7F9 100%);
}

/* بافت شبکه‌ی بسیار محو */
.ashw::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:
    linear-gradient(rgba(1,25,58,var(--ashw-grid-op)) 1px,transparent 1px),
    linear-gradient(90deg,rgba(1,25,58,var(--ashw-grid-op)) 1px,transparent 1px),
    linear-gradient(rgba(201,162,39,calc(var(--ashw-grid-op) * 1.2)) 1px,transparent 1px),
    linear-gradient(90deg,rgba(201,162,39,calc(var(--ashw-grid-op) * 1.2)) 1px,transparent 1px);
  background-size:
    var(--ashw-grid-size) var(--ashw-grid-size),
    var(--ashw-grid-size) var(--ashw-grid-size),
    calc(var(--ashw-grid-size) * 5) calc(var(--ashw-grid-size) * 5),
    calc(var(--ashw-grid-size) * 5) calc(var(--ashw-grid-size) * 5);
  mask-image:radial-gradient(ellipse 88% 80% at 50% 42%,#000 45%,transparent 88%);
  -webkit-mask-image:radial-gradient(ellipse 88% 80% at 50% 42%,#000 45%,transparent 88%);
}

/* خط طلایی محو بالای بخش سفید */
.ashw::after{
  content:"";position:absolute;top:0;right:0;left:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(201,162,39,.35) 35%,rgba(201,162,39,.35) 65%,transparent);
}

/* محتوای بخش بالای بافت بنشیند */
.ashw > .ashw-wrap{position:relative;z-index:1}

.ashw-head{text-align:center;margin-bottom:clamp(30px,4vw,46px)}

/* خط تزئینی دو طرف روتیتر */
.ashw-eyebrow{
  display:inline-flex;align-items:center;gap:12px;
  font-size:11.5px;letter-spacing:5px;font-weight:500;
  color:var(--ashw-gold);margin-bottom:14px;
}
.ashw-eyebrow::before,
.ashw-eyebrow::after{
  content:"";width:26px;height:1px;
  background:linear-gradient(90deg,transparent,var(--ashw-gold));
}
.ashw-eyebrow::after{background:linear-gradient(90deg,var(--ashw-gold),transparent)}

.ashw-title{
  font-size:clamp(23px,3.1vw,34px);
  font-weight:600;color:var(--ashw-navy);
  line-height:1.6;letter-spacing:-.2px;
}
.ashw-title em{font-style:normal;color:var(--ashw-gold)}

.ashw-sub{
  margin-top:10px;
  font-size:15px;font-weight:300;color:var(--ashw-muted);
  max-width:52ch;margin-inline:auto;
}

/* لوزی تزئینی زیر عنوان */
.ashw-rule{
  display:flex;align-items:center;justify-content:center;gap:10px;
  margin-top:18px;
}
.ashw-rule::before,
.ashw-rule::after{
  content:"";width:46px;height:1px;
  background:linear-gradient(90deg,transparent,rgba(201,162,39,.6));
}
.ashw-rule::after{background:linear-gradient(90deg,rgba(201,162,39,.6),transparent)}
.ashw-rule i{
  width:6px;height:6px;
  transform:rotate(45deg);
  border:1px solid var(--ashw-gold);
}

.ashw-grid{
  display:grid;
  grid-template-columns:repeat(var(--ashw-cols),minmax(0,1fr));
  gap:var(--ashw-gap);
}

.ashw-card{
  position:relative;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(2px);
  border:1px solid var(--ashw-line);
  border-radius:3px;
  padding:32px 24px 28px;
  overflow:hidden;
  transition:border-color .4s ease,transform .4s ease,box-shadow .4s ease;
}

/* شماره‌ی محو گوشه */
.ashw-card::after{
  content:attr(data-n);
  position:absolute;top:-14px;left:10px;
  font-size:70px;font-weight:700;
  color:rgba(1,25,58,.035);
  line-height:1;pointer-events:none;
  transition:color .4s ease;
}
/* خط طلایی بالای کارت */
.ashw-card::before{
  content:"";position:absolute;top:0;right:0;left:0;height:2px;
  background:linear-gradient(90deg,transparent,var(--ashw-gold),transparent);
  transform:scaleX(0);transition:transform .45s ease;
}
.ashw-card:hover{
  background:#fff;
  border-color:rgba(201,162,39,.45);
  transform:translateY(-6px);
  box-shadow:0 22px 46px rgba(1,25,58,.1);
}
.ashw-card:hover::before{transform:scaleX(1)}
.ashw-card:hover::after{color:rgba(201,162,39,.1)}

/* آیکون با قاب لوزی‌گوشه */
.ashw-icon{
  position:relative;
  width:52px;height:52px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:20px;
  border:1px solid rgba(201,162,39,.3);
  background:linear-gradient(135deg,rgba(201,162,39,.06),transparent);
  transition:background .4s ease,border-color .4s ease;
}
/* گوشه‌های طلایی */
.ashw-icon::before,
.ashw-icon::after{
  content:"";position:absolute;width:7px;height:7px;
  border:1px solid var(--ashw-gold);
}
.ashw-icon::before{top:-1px;right:-1px;border-left:0;border-bottom:0}
.ashw-icon::after{bottom:-1px;left:-1px;border-right:0;border-top:0}

.ashw-icon svg{
  width:24px;height:24px;
  stroke:var(--ashw-gold);fill:none;stroke-width:1.2;
  transition:transform .4s ease;
}
.ashw-card:hover .ashw-icon{
  background:linear-gradient(135deg,rgba(201,162,39,.14),transparent);
  border-color:rgba(201,162,39,.5);
}
.ashw-card:hover .ashw-icon svg{transform:scale(1.08)}

.ashw-card h3{
  font-size:16.5px;font-weight:600;
  color:var(--ashw-navy);margin-bottom:9px;line-height:1.7;
}
.ashw-card p{
  font-size:13.5px;font-weight:300;
  color:var(--ashw-muted);line-height:2.15;
}

/* ===================================================
   ریسپانسیو
   =================================================== */
@media (max-width:1023px){
  .ashw-grid{gap:calc(var(--ashw-gap) * .8)}
  .ashw-stats-grid{grid-template-columns:repeat(2,1fr);gap:26px 0;padding-block:30px}
  .ashw-stat:nth-child(3)::before{display:none}
}

@media (max-width:600px){
  .ashw-wrap{padding-inline:18px}
  .ashw{padding-block:22px 44px}
  .ashw{--ashw-grid-size:18px}
  .ashw-grid{gap:calc(var(--ashw-gap) * .55)}

  .ashw-card{padding:20px 15px 18px}
  .ashw-card::after{font-size:52px;top:-10px;left:6px}
  .ashw-icon{width:42px;height:42px;margin-bottom:14px}
  .ashw-icon svg{width:20px;height:20px}
  .ashw-card h3{font-size:13.5px;margin-bottom:6px;line-height:1.65}
  .ashw-card p{font-size:11.8px;line-height:2}

  .ashw-eyebrow{font-size:10.5px;letter-spacing:4px}
  .ashw-eyebrow::before,.ashw-eyebrow::after{width:18px}
  .ashw-sub{font-size:13.5px}

  .ashw-stat{padding-inline:8px}
  .ashw-stat i{width:16px;height:16px;margin-bottom:7px}
  .ashw-stat span{font-size:11.5px}
}

@media (max-width:380px){
  .ashw-grid{gap:calc(var(--ashw-gap) * .45)}
  .ashw-card{padding:16px 12px}
  .ashw-card p{font-size:11px}
}

@media (prefers-reduced-motion:reduce){
  .ashw-card,.ashw-icon,.ashw-card svg,.ashw-card::before,.ashw-card::after{transition:none}
}


/* ---------- سوییچ‌های جزئیات ---------- */
.ashw-no-div .ashw-stat + .ashw-stat::before{display:none}
.ashw-no-pattern .ashw-stats::before{display:none}
.ashw-no-num .ashw-card::after{display:none}
.ashw-no-grid .ashw::before{display:none}

.elementor-widget-ashayane_why,
.elementor-widget-ashayane_why > .elementor-widget-container{
  margin:0 !important;padding:0 !important;
  width:100% !important;overflow:visible !important;
}

/* کانتینر یا سکشنی که ویجت داخلش است نباید عرض را محدود کند */
.elementor-element:has(> .elementor-widget-container > .ashw-fullbleed),
.e-con:has(.ashw-fullbleed),
.e-con-inner:has(.ashw-fullbleed),
.elementor-section:has(.ashw-fullbleed),
.elementor-container:has(.ashw-fullbleed),
.elementor-column-wrap:has(.ashw-fullbleed){
  --content-width:100% !important;
  max-width:100% !important;
  width:100% !important;
  padding-inline:0 !important;
  overflow:visible !important;
}
