/* Mobile hero: a deliberate card layout rather than a scaled-down desktop slide. */
@media(max-width:760px){
  .hero{min-height:510px!important;height:510px!important;max-height:none!important;padding:0!important;align-items:flex-end!important;background-image:linear-gradient(180deg,rgba(4,27,48,.02) 0%,rgba(4,27,48,.10) 38%,rgba(244,250,255,.28) 55%,rgba(248,252,255,.92) 82%,#fff 100%),var(--hero-image,url('assets/endoscopy-feature.webp'))!important;background-position:center center!important;background-size:cover!important;isolation:isolate}
  .hero .container{position:static!important;z-index:3;width:100%!important;padding:0 14px!important;display:block!important}
  .hero-slide-layer{background-size:cover!important;background-position:center center!important}
  .hero:before{content:"";display:block!important;z-index:1!important;background:linear-gradient(180deg,rgba(4,27,48,.02) 0%,rgba(4,27,48,.08) 38%,rgba(245,250,254,.20) 55%,rgba(247,251,255,.88) 82%,#fff 100%)!important}
  .hero-copy{position:absolute!important;z-index:3;top:50%!important;right:14px!important;left:14px!important;transform:translateY(-48%)!important;width:auto!important;max-width:520px!important;max-height:none!important;overflow:visible!important;margin:0 auto!important;padding:18px 18px 16px!important;border:1px solid rgba(255,255,255,.62)!important;border-radius:20px!important;background:linear-gradient(135deg,rgba(255,255,255,.45),rgba(201,231,248,.18))!important;box-shadow:0 15px 38px rgba(4,37,71,.18),inset 0 1px 0 rgba(255,255,255,.48)!important;backdrop-filter:blur(14px) saturate(135%)!important;-webkit-backdrop-filter:blur(14px) saturate(135%)!important;text-align:right!important}
  .hero h1,.hero p{color:#102e4b!important;text-shadow:0 1px 2px rgba(255,255,255,.72)!important}
  .hero .eyebrow{display:inline-block!important;margin:0!important;padding:4px 8px!important;border-right:3px solid var(--red)!important;border-radius:5px!important;background:rgba(255,255,255,.46)!important;font-size:10px!important;line-height:1.5!important}
  .hero h1{margin:9px 0 7px!important;font-size:clamp(25px,7.4vw,31px)!important;line-height:1.36!important;letter-spacing:-.55px!important}
  .hero p{display:-webkit-box!important;overflow:hidden!important;margin:0 0 12px!important;font-size:12px!important;line-height:1.8!important;-webkit-box-orient:vertical;-webkit-line-clamp:2}
  .hero .quick{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin:9px 0 12px!important;padding:0!important;background:transparent!important;font-size:9px!important;line-height:1.55!important}
  .hero .quick span{display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important;text-align:center!important;white-space:normal!important}
  .hero .quick span:before{width:14px!important;height:14px!important;min-width:14px!important;margin-left:3px!important;font-size:9px!important}
  .hero .btns{display:block!important;width:100%!important;margin:0!important}
  .hero .primary{display:flex!important;align-items:center;justify-content:center;width:100%!important;min-height:46px!important;padding:11px 16px!important;border-radius:12px!important;font-size:12px!important}
  .hero .secondary{display:none!important}
  .hero-dots{z-index:4!important;bottom:13px!important;padding:4px 7px!important;background:rgba(255,255,255,.8)!important;box-shadow:0 7px 18px rgba(6,41,73,.15)!important}
  .hero-dots button{min-width:32px!important;width:32px!important;height:30px!important}
  body.theme-dark .hero:before{background:linear-gradient(180deg,rgba(5,17,31,.10),rgba(5,17,31,.30) 40%,rgba(8,23,39,.72) 61%,#091725 100%)!important}
  body.theme-dark .hero-copy{background:linear-gradient(135deg,rgba(8,30,51,.48),rgba(14,63,96,.20))!important;border-color:rgba(169,213,244,.30)!important}
  body.theme-dark .hero h1,body.theme-dark .hero p{color:#f0f7fd!important;text-shadow:0 1px 3px rgba(0,0,0,.55)!important}
  /* نوار مزیت‌ها در موبایل: هر موردِ کامل در مرکز، آیکن کنار متن */
  .benefit-grid{grid-template-columns:1fr!important;gap:0!important}
  .benefit,.benefit:last-child{grid-column:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:10px!important;min-height:68px!important;padding:9px 14px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.20)!important}
  .benefit:last-child{border-bottom:0!important}
  .benefit i{flex:0 0 auto!important;margin:0!important}
  .benefit>div{text-align:center!important}
  .benefit b,.benefit span{white-space:normal!important;text-align:center!important}
  #products .title{text-align:center!important;margin-inline:auto!important}
}
@media(max-width:390px){
  .hero{min-height:480px!important;height:480px!important}
  .hero-copy{top:49%!important;margin:0 auto!important;padding:15px 14px!important;border-radius:17px!important}
  .hero h1{font-size:25px!important}.hero p{font-size:11px!important;margin-bottom:10px!important}.hero .primary{min-height:43px!important}
}

/* فوتر صفحهٔ اصلی پس از حذف ستون محصولات */
.footer .footgrid{grid-template-columns:1.7fr 1fr 1.3fr!important}
.footer-company p{max-width:245px!important;line-height:1.95!important}
@media(max-width:900px){.footer .footgrid{grid-template-columns:repeat(2,1fr)!important}}
@media(max-width:560px){.footer .footgrid{grid-template-columns:1fr!important}.footer-company p{max-width:300px!important}}

