/* ===========================================================================
   آرارات | خرید برق (Electricity Purchase) — استایل ویجت
   تمام رنگ‌ها از طریق متغیرهای CSS زیر کنترل می‌شوند و توسط کنترل‌های
   تب «استایل» ویجت در المنتور، روی هر نمونه از ویجت تنظیم می‌گردند.
   =========================================================================== */

.ararat-epw{
      --epw-primary:rgb(255,92,0);
      --epw-secondary:rgb(0,38,152);
      --epw-ink:#101828;
      --epw-muted:#667085;
      --epw-line:#E7EAF0;
      --epw-bg:#F7F9FC;
      --epw-white:#fff;
      --epw-surface-bg:#fff;
      --epw-container-max-width:1180px;
      --epw-section-spacing:78px;
      font-family:inherit;
      direction:rtl;
      color:var(--epw-ink);
      line-height:1.9;
      background:
        radial-gradient(circle at 88% 6%, rgba(255,92,0,.12), transparent 22%),
        radial-gradient(circle at 8% 28%, rgba(0,38,152,.10), transparent 24%),
        var(--epw-surface-bg,#fff);
      overflow:hidden;
    }
        .ararat-epw *{box-sizing:border-box}
    .ararat-epw a{text-decoration:none}
    .ararat-epw.epw-plain-bg{background:var(--epw-surface-bg,#fff) !important;}
    .epw-container{width:min(var(--epw-container-max-width,1180px),calc(100% - 32px));margin:auto}

    .epw-hero{position:relative;padding:76px 0 62px}
    .epw-hero-grid{
      display:grid;grid-template-columns:1.04fr .96fr;gap:42px;align-items:center
    }
    .epw-eyebrow{
      display:inline-flex;align-items:center;gap:8px;
      padding:7px 12px;border-radius:999px;
      background:rgba(0,38,152,.07);color:var(--epw-secondary);
      font-size:13px;font-weight:800;margin-bottom:16px
    }
    .epw-eyebrow i{
      width:8px;height:8px;border-radius:50%;background:var(--epw-primary);display:block
    }
    .epw-hero h1{
      font-size:clamp(22px,3.25vw,62px);
      line-height:1.22;
      margin:0 0 18px;
      font-weight:900;
      letter-spacing:-1.5px;
      white-space:nowrap;
      text-wrap:nowrap;
      max-width:100%;
    }
    .epw-hero h1 span{color:var(--epw-primary)}
    .epw-hero p{
      margin:0 0 26px;
      color:var(--epw-muted);
      font-size:18px;
      max-width:650px;
      text-align:justify;
    }
    .epw-actions{display:flex;gap:12px;flex-wrap:wrap}
    .epw-btn{
      display:inline-flex;align-items:center;justify-content:center;gap:8px;
      min-height:50px;padding:0 20px;border-radius:14px;font-weight:800;border:1px solid transparent;
      transition:.25s ease;cursor:pointer
    }
    .epw-btn-primary{background:var(--epw-primary);color:#fff;box-shadow:0 13px 30px rgba(255,92,0,.22)}
    .epw-btn-primary:hover{transform:translateY(-2px);box-shadow:0 16px 34px rgba(255,92,0,.28)}
    .epw-btn-secondary{background:#fff;color:var(--epw-secondary);border-color:#DCE2EC}
    .epw-btn-secondary:hover{border-color:var(--epw-secondary);transform:translateY(-2px)}
    .epw-hero-card{
      position:relative;min-height:405px;border-radius:30px;padding:26px;
      background:linear-gradient(145deg,var(--epw-secondary),#06246f 60%,#041a52);
      box-shadow:0 26px 60px rgba(0,38,152,.20);overflow:hidden;color:#fff
    }
    .epw-hero-card:before,.epw-hero-card:after{
      content:"";position:absolute;border-radius:50%;filter:blur(2px);opacity:.26
    }
    .epw-hero-card:before{width:260px;height:260px;background:var(--epw-primary);top:-100px;left:-70px}
    .epw-hero-card:after{width:230px;height:230px;background:#fff;bottom:-140px;right:-70px}
    .epw-card-content{position:relative;z-index:2}
    .epw-mini-title{font-size:14px;font-weight:800;opacity:.82;margin-bottom:8px;color:#fff}
    .epw-hero-card h1,.epw-hero-card h2,.epw-hero-card h3,.epw-hero-card h4,
    .epw-side-card h1,.epw-side-card h2,.epw-side-card h3,.epw-side-card h4{
      color:#fff;
    }
    .epw-hero-card h3{font-size:31px;line-height:1.35;margin:0 0 14px}
    .epw-hero-card h3,.epw-side-card h3{color:#fff;text-wrap:balance}
    .epw-hero-card p{color:rgba(255,255,255,.78);font-size:15px;margin:0 0 22px}
    .epw-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
    .epw-stat{
      padding:17px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.08);
      border-radius:18px;backdrop-filter:blur(10px)
    }
    .epw-stat strong{display:block;font-size:28px;line-height:1.2}
    .epw-stat span{font-size:12px;color:rgba(255,255,255,.72)}

    .epw-section{padding:var(--epw-section-spacing,78px) 0}
    .epw-section-head{max-width:760px;margin:0 auto 34px;text-align:center}
    .epw-section-head .kicker{color:var(--epw-primary);font-weight:900;font-size:13px;margin-bottom:6px}
    .epw-section-head h2{
      font-size:clamp(26px,3.45vw,44px);
      line-height:1.28;
      margin:0 0 12px;
      text-wrap:balance;
      text-align:center;
    }
    .epw-section-head p{
      margin:0;
      color:var(--epw-muted);
      text-align:justify;
    }

    .epw-why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:22px;align-items:stretch}
    .epw-panel{
      background:#fff;border:1px solid var(--epw-line);border-radius:24px;padding:28px;
      box-shadow:0 12px 35px rgba(16,24,40,.06)
    }
    .epw-panel h3{margin:0 0 10px;font-size:24px;text-wrap:balance}
    .epw-panel p{margin:0;color:var(--epw-muted)}
    .epw-note{
      margin-top:18px;border-radius:18px;padding:18px;
      background:linear-gradient(135deg,rgba(255,92,0,.10),rgba(255,92,0,.03));
      border:1px solid rgba(255,92,0,.18)
    }
    .epw-note strong{display:block;color:var(--epw-primary);font-size:30px;line-height:1.2}
    .epw-note span{font-size:13px;color:#75442e}

    .epw-compare{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
    .epw-compare-card{
      border:1px solid var(--epw-line);background:#fff;border-radius:22px;padding:22px;
      position:relative;overflow:hidden
    }
    .epw-compare-card.featured{border:2px solid rgba(255,92,0,.36);box-shadow:0 16px 40px rgba(255,92,0,.10)}
    .epw-compare-card .tag{
      display:inline-block;padding:5px 10px;border-radius:999px;background:rgba(255,92,0,.10);
      color:var(--epw-primary);font-size:12px;font-weight:900;margin-bottom:12px
    }
    .epw-compare-card h3{font-size:22px;margin:0 0 10px;text-wrap:balance}
    .epw-compare-card p{font-size:14px;color:var(--epw-muted);margin:0}
    .epw-bullets{list-style:none;padding:0;margin:17px 0 0;display:grid;gap:11px}
    .epw-bullets li{display:flex;gap:9px;align-items:flex-start;font-size:14px;color:#344054}
    .epw-bullets li:before{
      content:"✓";width:22px;height:22px;flex:0 0 22px;border-radius:50%;
      background:rgba(0,38,152,.08);color:var(--epw-secondary);
      display:inline-flex;align-items:center;justify-content:center;font-weight:900;font-size:12px
    }

    .epw-feature-wrap{display:grid;grid-template-columns:1.15fr .85fr;gap:22px}
    .epw-feature-list{display:grid;gap:14px}
    .epw-feature-item{
      display:grid;grid-template-columns:52px 1fr;gap:14px;align-items:start;
      background:#fff;border:1px solid var(--epw-line);border-radius:20px;padding:18px
    }
    .epw-icon{
      width:52px;height:52px;border-radius:15px;background:rgba(0,38,152,.08);
      color:var(--epw-secondary);display:flex;align-items:center;justify-content:center;font-weight:900
    }
    .epw-feature-item h4{margin:0 0 4px;font-size:17px;text-wrap:balance}
    .epw-feature-item p{margin:0;color:var(--epw-muted);font-size:14px}
    .epw-side-card{
      min-height:100%;
      height:auto;
      border-radius:26px;
      padding:28px;
      background:linear-gradient(155deg,#0b2a8f,#001b64);
      color:#fff;
      position:relative;
      overflow:hidden;
      box-shadow:0 20px 50px rgba(0,38,152,.18);
      display:flex;
      flex-direction:column;
      justify-content:center;
    }
    .epw-side-card:after{
      content:"";position:absolute;width:220px;height:220px;border-radius:50%;
      background:rgba(255,92,0,.20);left:-100px;bottom:-100px
    }
    .epw-side-card > *{position:relative;z-index:2}
    .epw-side-card h3{
      font-size:clamp(22px,2.6vw,29px);
      line-height:1.35;
      margin:0 0 14px;
      color:#fff !important;
      text-wrap:balance;
      max-width:100%;
    }
    .epw-side-card p{color:rgba(255,255,255,.75) !important;margin:0 0 20px;max-width:100%}
    .epw-checks{display:grid;gap:12px}
    .epw-check{display:flex;gap:9px;font-size:14px;color:rgba(255,255,255,.88)}
    .epw-check b{color:#fff}

    .epw-products{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
    .epw-product{
      background:#fff;border:1px solid var(--epw-line);border-radius:22px;padding:20px
    }
    .epw-product .num{
      width:34px;height:34px;border-radius:10px;background:var(--epw-secondary);color:#fff;
      display:flex;align-items:center;justify-content:center;font-weight:900;margin-bottom:12px
    }
    .epw-product h3{margin:0 0 7px;font-size:18px;text-wrap:balance}
    .epw-product p{margin:0;color:var(--epw-muted);font-size:14px}

    .epw-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:12px}
    .epw-step{
      position:relative;background:#fff;border:1px solid var(--epw-line);border-radius:20px;padding:20px
    }
    .epw-step .n{
      width:36px;height:36px;border-radius:50%;background:var(--epw-primary);color:#fff;
      display:flex;align-items:center;justify-content:center;font-weight:900;margin-bottom:13px
    }
    .epw-step h3{font-size:16px;margin:0 0 7px;text-wrap:balance}
    .epw-step p{font-size:13px;color:var(--epw-muted);margin:0}

    .epw-cta{
      padding:25px;border-radius:28px;
      background:linear-gradient(135deg,var(--epw-primary),#ff7c35);
      color:#fff;display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:center;
      box-shadow:0 22px 50px rgba(255,92,0,.20)
    }
    .epw-cta h2{margin:0 0 8px;font-size:30px;line-height:1.3}
    .epw-cta p{margin:0;color:rgba(255,255,255,.82)}
    .epw-form{
      display:grid;grid-template-columns:1fr 1fr;gap:10px
    }
    .epw-form input,.epw-form textarea{
      width:100%;border:1px solid rgba(255,255,255,.26);background:rgba(255,255,255,.13);
      color:#fff;border-radius:14px;padding:12px 13px;font-family:inherit;outline:none
    }
    .epw-form input::placeholder,.epw-form textarea::placeholder{color:rgba(255,255,255,.74)}
    .epw-form textarea{min-height:102px;grid-column:1/-1;resize:vertical}
    .epw-form button{
      grid-column:1/-1;border:0;background:#fff;color:var(--epw-primary);min-height:48px;
      border-radius:14px;font:inherit;font-weight:900;cursor:pointer
    }

    .epw-disclaimer{margin-top:11px;font-size:11px;color:#fff;opacity:.75}

    @media (max-width: 980px){
      .epw-hero-grid,.epw-why-grid,.epw-feature-wrap,.epw-cta{grid-template-columns:1fr}
      .epw-compare{grid-template-columns:1fr 1fr}
      .epw-steps{grid-template-columns:repeat(2,1fr)}
      .epw-side-card{min-height:280px}
    }
    @media (max-width: 640px){
      .epw-container{width:min(100% - 20px,1180px)}
      .epw-hero{padding:48px 0 32px}
      .epw-section{padding:56px 0}
      .epw-hero h1{
        font-size:clamp(18px,5.65vw,30px);
        letter-spacing:-.8px;
        white-space:nowrap;
        overflow:visible;
      }
      .epw-side-card{
        min-height:280px;
        padding:24px;
      }
      .epw-side-card h3{
        font-size:clamp(21px,6vw,28px);
      }
      .epw-hero p{font-size:16px;text-align:justify}
      .epw-actions,.epw-actions .epw-btn{width:100%}
      .epw-compare,.epw-products,.epw-steps,.epw-form{grid-template-columns:1fr}
      .epw-steps{grid-template-columns:1fr}
      .epw-form textarea,.epw-form button{grid-column:auto}
      .epw-panel,.epw-compare-card,.epw-product{padding:18px}
      .epw-cta{padding:20px}
    }

    /* Final responsive layout fix */
    .epw-hero-grid{
      grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);
    }
    .epw-hero-grid > *{
      min-width:0;
    }
    .epw-hero h1{
      white-space:normal !important;
      text-wrap:balance !important;
      overflow-wrap:normal;
      word-break:normal;
      max-width:100%;
      font-size:clamp(34px,4.2vw,54px);
      line-height:1.24;
    }
    .epw-hero p{
      text-align:justify;
    }
    .epw-hero-card,
    .epw-side-card{
      min-width:0;
    }
    .epw-side-card h3{
      white-space:normal;
      text-wrap:balance;
      overflow-wrap:normal;
      line-height:1.35;
    }

    @media (max-width: 980px){
      .epw-hero-grid{
        grid-template-columns:1fr;
      }
      .epw-hero h1{
        font-size:clamp(32px,6vw,48px);
      }
    }

    @media (max-width: 640px){
      .epw-hero h1{
        font-size:clamp(27px,8vw,36px);
        white-space:normal !important;
        text-wrap:balance !important;
      }
    }
