/* ==========================================================================
   header-corporate.css — هدر شرکتی (سراسری)
   نوار سفید ثابت، خط جداکننده‌ی ظریف، دکمه‌های با گوشه‌ی کم‌انحنا، جست‌وجوی جمع‌وجور
   ========================================================================== */
:root{--hc-ink:#0c333b;--hc-brand:#176575;--hc-line:#dbe6e8;--hc-muted:#5e7a80;--hc-gold:#f2c879}

/* نوار بالایی */
#root > div > .bg-ink,#root .bg-ink.text-white\/70{background:#0a2c34}
#root > div > .bg-ink > div{padding-block:.4rem!important;font-size:12px}

/* خودِ هدر: همیشه سفید، بدون شناور شدن روی هیرو */
html header.site-curved-header,
html header.site-curved-header > div:first-child,
html header.site-curved-header.site-header-scrolled,
html header.site-curved-header.site-header-scrolled > div:first-child{
  background:#fff!important;margin-bottom:0!important;border:0!important;border-radius:0!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html header.site-curved-header{border-bottom:1px solid var(--hc-line)!important;box-shadow:0 6px 20px rgba(12,51,59,.05)!important;position:sticky!important;top:0!important}
html header.site-curved-header > div:first-child{height:76px!important;min-height:76px!important;gap:1.25rem}

/* لوگو */
html header.site-curved-header .site-header-logo{width:auto!important;height:auto!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
html header.site-curved-header .site-header-logo-img{width:auto!important;height:58px!important;max-width:150px;object-fit:contain!important;border-radius:0!important}
html header.site-curved-header .site-logo-wordmark{display:none!important}

/* لینک‌های منو */
html header.site-curved-header nav{gap:.25rem!important}
html header.site-curved-header .nav-link{position:relative;color:var(--hc-ink)!important;font-size:14.5px!important;font-weight:700!important;padding:1.6rem .9rem!important;height:76px;display:inline-flex;align-items:center;transition:color .2s}
html header.site-curved-header .nav-link:hover{color:var(--hc-brand)!important}
html header.site-curved-header .nav-link.active{color:var(--hc-brand)!important}
html header.site-curved-header .nav-link::after{content:"";position:absolute;inset-inline:.9rem;bottom:-1px;height:3px;width:auto;border-radius:0;background:var(--hc-brand);transform:scaleX(0);transition:transform .2s;opacity:1}
html header.site-curved-header .nav-link.active::after,
html header.site-curved-header .nav-link:hover::after{transform:scaleX(1)}

/* جست‌وجو */
html header.site-curved-header .site-sbox{flex:0 1 230px!important;min-width:0;margin-inline-start:1rem}
html header.site-curved-header .site-sbox-form{height:40px!important;border:1px solid var(--hc-line)!important;border-radius:8px!important;background:#f5f9f9!important;box-shadow:none!important;flex-wrap:nowrap!important;overflow:hidden}
html header.site-curved-header .site-sbox-form:focus-within{border-color:var(--hc-brand)!important;background:#fff!important}
html header.site-curved-header .site-sbox-form .input-group-text{background:transparent!important;border:0!important;color:var(--hc-muted)!important;width:auto!important;height:auto!important;min-width:0;padding:0 .2rem 0 .85rem!important;border-radius:0!important;box-shadow:none!important}
html header.site-curved-header .site-sbox-form .input-group-text .fa{color:var(--hc-muted)!important}
html header.site-curved-header .site-sbox-input.form-control,
html header.site-curved-header .site-sbox-form .site-sbox-input.form-control{background:transparent!important;border:0!important;box-shadow:none!important;color:var(--hc-ink)!important;font-size:13.5px!important;height:38px;padding-inline:.5rem!important;min-width:0!important}
html header.site-curved-header .site-sbox-input.form-control::placeholder{color:#7e969b!important;opacity:1}

/* دکمه‌ها */
html header.site-curved-header .hdr-actions{gap:.6rem!important;align-items:center}
html header.site-curved-header .site-cta-group{gap:.6rem!important;align-items:center}
html header.site-curved-header .hdr-btn{height:40px!important;min-height:40px;border-radius:8px!important;padding-inline:1.1rem!important;font-size:13.5px!important;font-weight:800!important;box-shadow:none!important;display:inline-flex;align-items:center;justify-content:center;gap:.5rem;transition:background .2s,color .2s,border-color .2s}
html header.site-curved-header .hdr-btn--primary{background:var(--hc-brand)!important;border:1px solid var(--hc-brand)!important;color:#fff!important}
html header.site-curved-header .hdr-btn--primary:hover{background:var(--hc-ink)!important;border-color:var(--hc-ink)!important}
html header.site-curved-header .hdr-btn--outline{background:#fff!important;border:1px solid #b9ccd0!important;color:var(--hc-ink)!important}
html header.site-curved-header .hdr-btn--outline:hover{border-color:var(--hc-brand)!important;color:var(--hc-brand)!important;background:#f5f9f9!important}
html header.site-curved-header .site-language-trigger,
html header.site-curved-header.site-header-scrolled .site-language-trigger{height:40px;border-radius:8px!important;background:transparent!important;color:var(--hc-ink)!important;border:1px solid var(--hc-line)!important;padding-inline:.9rem 1rem!important;font-size:13px!important;font-weight:700!important;display:inline-flex;align-items:center;gap:.45rem}
html header.site-curved-header .site-language-trigger::before{content:"\f0ac";font-family:FontAwesome;font-weight:400;color:var(--hc-brand);font-size:1rem}
html header.site-curved-header .site-language-trigger:hover{border-color:var(--hc-brand)!important;background:#f5f9f9!important;color:var(--hc-brand)!important}
html header.site-curved-header .site-language-menu{border-radius:10px!important;border:1px solid var(--hc-line)!important;box-shadow:0 14px 34px rgba(12,51,59,.14)!important}

/* همبرگر موبایل */
html header.site-curved-header .site-burger{border:1px solid var(--hc-line)!important;border-radius:8px!important;background:#fff!important;width:44px;height:44px}
html header.site-curved-header .site-burger span{background:var(--hc-ink)!important}

/* ریسپانسیو */
@media(max-width:1199.98px){
  html header.site-curved-header .site-sbox{flex-basis:170px!important;margin-inline-start:.25rem}
  html header.site-curved-header .nav-link{padding-inline:.65rem!important}
}
@media(max-width:1023.98px){
  html header.site-curved-header > div:first-child{height:64px!important;min-height:64px!important}
  html header.site-curved-header .site-header-logo-img{height:48px!important}
}

/* همبرگر: سه خط هم‌اندازه، بدون پس‌زمینه و سایه */
html header.site-curved-header .site-burger,
html header.site-curved-header.site-header-scrolled .site-burger--header{background:transparent!important;border:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;gap:6px}
html header.site-curved-header .site-burger span,
html header.site-curved-header .site-burger span:nth-child(2),
html header.site-curved-header .site-burger:hover span:nth-child(2){width:26px!important;height:3px!important;border-radius:3px}
html header.site-curved-header .site-burger.is-x span:nth-child(1),.site-menu .site-burger.is-x span:nth-child(1){transform:translateY(9px) rotate(45deg)}
html header.site-curved-header .site-burger.is-x span:nth-child(3),.site-menu .site-burger.is-x span:nth-child(3){transform:translateY(-9px) rotate(-45deg)}
.site-menu .site-burger{background:transparent!important;box-shadow:none!important;border:0!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;gap:6px}
.site-menu .site-burger span,.site-menu .site-burger span:nth-child(2){width:26px!important;height:3px!important}
/* هدر موبایل بزرگ‌تر و لوگوی برجسته */
@media(max-width:1023.98px){
  html header.site-curved-header > div:first-child{height:88px!important;min-height:88px!important}
  html header.site-curved-header .site-header-logo-img{height:68px!important;width:auto!important;max-width:200px}
  html header.site-curved-header .site-header-logo{width:auto!important;height:72px!important}
  html header.site-curved-header .site-burger{width:52px;height:52px}
}
