/* =========================================================================
   هویت‌بان — کیت طراحی (نسخه ۳ — Ocean Blue)
   پشتیبانِ سبک برای بیلد المنتور · RTL · فونت وزیر
   رنگ‌ها و تایپوگرافی در خودِ المنتور تنظیم می‌شوند؛ این فایل فقط کارهایی را
   انجام می‌دهد که ویجت‌های بومی المنتور نمی‌توانند.
   ========================================================================= */

:root{
  --hb-ink:#03045E;
  --hb-body:#40506B;
  --hb-muted:#6E8299;
  --hb-line:#DCE9F2;
  --hb-indigo:#00B4D8;
  --hb-indigo-700:#0077B6;
  --hb-indigo-800:#023E8A;
  --hb-indigo-900:#03045E;
  --hb-peri:#48CAE4;
  --hb-peri-600:#0096C7;
  --hb-peri-100:#CAF0F8;
  --hb-cream:#F2FAFD;
  --hb-cream-200:#DFF3FB;
}

/* ---------- پایه ---------- */
body{font-family:'Vazir',system-ui,Tahoma,sans-serif;line-height:1.9}
h1,h2,h3,h4,h5,h6{line-height:1.35}

/* اعداد و شماره‌ها کمی بازتر نفس بکشند */
.hb-num .elementor-heading-title{line-height:1.1;letter-spacing:-.01em}

/* ---------- دکمه‌ها ---------- */
.elementor-button{transition:transform .25s ease,background .25s ease,box-shadow .25s ease}
.elementor-button:hover{transform:translateY(-2px)}
.hb-btn-shadow .elementor-button:hover{box-shadow:0 8px 20px rgba(0,180,216,.35)}
/* در RTL آیکن دکمه باید سمت چپ متن بنشیند و فلش به چپ اشاره کند */
.hb-rtl .elementor-button .elementor-button-icon{display:inline-flex;align-items:center;justify-content:center}

/* ---------- کارت‌ها و بلوک‌های شناور ---------- */
.hb-lift{transition:transform .25s ease,box-shadow .25s ease}
.hb-lift:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(2,62,138,.08)}
.hb-lift-lg:hover{transform:translateY(-6px);box-shadow:0 10px 30px rgba(2,62,138,.08)}

/* ---------- گام‌ها (شماره شناور روی کارت) ---------- */
.hb-step{position:relative;overflow:visible}
.hb-step .hb-step-num{position:absolute;top:-22px;inset-inline-start:24px;width:44px;height:44px;border-radius:50%;
  background:var(--hb-indigo-800);color:var(--hb-peri);display:grid;place-items:center;font-weight:700;font-size:1.125rem;z-index:2}
.hb-step .hb-step-num .elementor-heading-title{color:inherit;font-size:inherit;line-height:1}

/* ---------- نشان «پیشنهاد ما» روی پلن ویژه ---------- */
.hb-plan{position:relative;overflow:visible}
.hb-badge-float{position:absolute;top:-18px;inset-inline-start:50%;transform:translateX(50%);z-index:3}
.hb-badge-float .elementor-heading-title{
  display:inline-block;background:var(--hb-peri);color:var(--hb-indigo-900);
  font-size:.8125rem;font-weight:700;padding:.4rem 1rem;border-radius:999px;
  animation:hb-pulse 2.8s ease-out infinite}
@keyframes hb-pulse{
  0%{box-shadow:0 0 0 0 rgba(72,202,228,.45)}
  70%{box-shadow:0 0 0 13px rgba(72,202,228,0)}
  100%{box-shadow:0 0 0 0 rgba(72,202,228,0)}
}

/* ---------- راهنمای اسکرول در هیرو ---------- */
.hb-scroll-hint{display:flex;flex-direction:column;align-items:center;gap:.45rem;font-size:.8125rem;color:#CAF0F8}
.hb-scroll-hint .elementor-heading-title{color:inherit;font-size:inherit;font-weight:400}
.hb-scroll-hint::before{content:"";width:24px;height:38px;border:2px solid rgba(255,255,255,.3);border-radius:999px;position:relative;display:block}
.hb-scroll-hint::after{content:"";position:absolute;width:6px;height:6px;border-radius:50%;background:var(--hb-peri);
  margin-top:9px;animation:hb-bob 1.8s ease-in-out infinite}
@keyframes hb-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-7px)}}

/* ---------- ستون مقایسه: آیکن‌های فهرست ---------- */
.hb-list-danger .elementor-icon-list-icon i{color:#C2453B}
.hb-list-ok .elementor-icon-list-icon i{color:var(--hb-peri)}

/* ---------- جدول مقایسه (ویجت متن) ---------- */
.hb-table table{width:100%;border-collapse:collapse;font-size:.9375rem;background:#fff;
  border:1px solid var(--hb-line);border-radius:16px;overflow:hidden}
.hb-table th,.hb-table td{padding:.85rem 1rem;text-align:start;border-bottom:1px solid var(--hb-line);vertical-align:top}
.hb-table thead th{background:var(--hb-cream-200);color:var(--hb-ink);font-weight:700}
.hb-table tbody tr:last-child td{border-bottom:0}
.hb-table td:last-child{color:var(--hb-indigo-700);font-weight:500}
@media (max-width:767px){
  .hb-table table,.hb-table thead,.hb-table tbody,.hb-table th,.hb-table td,.hb-table tr{display:block}
  .hb-table thead{display:none}
  .hb-table tr{border:1px solid var(--hb-line);border-radius:12px;margin-bottom:.75rem}
  .hb-table td{border-bottom:1px solid var(--hb-line)}
}

/* ---------- ستون‌های راهنما (about) ---------- */
.hb-pillar{border-inline-start:3px solid var(--hb-peri);padding-inline-start:20px}

/* ---------- کالت‌اوت‌های مقاله ---------- */
.hb-callout{border-radius:16px;padding:20px;font-size:.9375rem;line-height:1.9}
.hb-callout strong{display:block;margin-bottom:.25rem}
.hb-callout--alert{background:#FBEDEC;color:#7A2A24;border:1px solid #F0CFCC}
.hb-callout--tip{background:#E9F6EE;color:#155C3A;border:1px solid #C9E6D6}
.hb-callout--note{background:#FDF4E3;color:#7A5310;border:1px solid #F0DFBB}

/* ---------- فهرست مطالب (TOC) ---------- */
.hb-toc .elementor-toc__header{background:transparent!important;padding:0 0 12px!important}
.hb-toc .elementor-toc__header-text{color:var(--hb-ink)!important;font-weight:700!important}
.hb-toc nav ol{padding-inline-start:0}
.hb-toc .elementor-toc__list-item a{color:var(--hb-body)!important;font-size:.9375rem}
.hb-toc .elementor-toc__list-item a:hover{color:var(--hb-indigo-700)!important}

/* ---------- پوشش خدمات (نقطه سمت چپ) ---------- */
.hb-coverage .elementor-icon-list-item{justify-content:space-between;
  border:1px solid rgba(255,255,255,.14);border-radius:12px;padding:.75rem 1rem;transition:background .25s ease}
.hb-coverage .elementor-icon-list-item:hover{background:rgba(255,255,255,.06)}

/* ---------- فرم تماس ---------- */
.hb-form .elementor-field-group>label{font-size:.9375rem;font-weight:500;color:var(--hb-ink);margin-bottom:.4rem}
.hb-form .elementor-field-textual{background:var(--hb-cream);border:1px solid var(--hb-line);border-radius:8px;padding:.8rem 1rem;font-family:inherit}
.hb-form .elementor-field-textual:focus{border-color:var(--hb-indigo);box-shadow:0 0 0 3px rgba(0,180,216,.14);background:#fff}
.hb-form textarea.elementor-field-textual{min-height:9rem}

/* ---------- پیوند پرش به محتوا ---------- */
.hb-skip{position:absolute;inset-inline-start:-9999px;top:0;z-index:100}
.hb-skip:focus-within{inset-inline-start:1rem}

/* ---------- کاهش حرکت ---------- */
@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important}
  .elementor-button:hover,.hb-lift:hover{transform:none}
}
