/* ==================================================================
   صفحهٔ اصلی کلینیک نور — استایل بخش‌های جدید (طرح قرمز/سرمه‌ای)
   معرفی · آمار · پزشکان · آخرین مطالب · بیمه‌ها (نوار متحرک) · ویدئو
   ================================================================== */

:root{
  --nh-red:#B31217;
  --nh-red2:#C8102E;
  --nh-navy:#0A192F;
  --nh-navy2:#102A43;
  --nh-ink:#1a2332;
  --nh-mut:#5c6f87;
  --nh-bg:#f7f9fc;
  --nh-ln:#e4e9f1;
}

/* ---------- قالب مشترک بخش‌ها ---------- */
.dl-home .nh-sec{padding:clamp(40px,6vw,84px) 0;position:relative}
.dl-home .nh-sec .c{max-width:1200px;margin:0 auto;padding:0 clamp(14px,3vw,28px)}
.dl-home .nh-kt{margin:0 0 clamp(18px,3vw,34px);font-size:clamp(21px,2.6vw,30px);font-weight:800;color:var(--nh-navy);position:relative;padding-right:16px;line-height:1.5}
.dl-home .nh-kt:before{content:"";position:absolute;right:0;top:.28em;bottom:.28em;width:5px;border-radius:4px;background:linear-gradient(180deg,var(--nh-red2),var(--nh-red))}

/* ---------- ۱) معرفی + دسترسی سریع ---------- */
.dl-home .nh-intro{background:#fff}
.dl-home .nh-intro-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:clamp(20px,4vw,56px);align-items:center}
.dl-home .nh-intro-desc{color:var(--nh-mut);font-size:15.5px;line-height:2.1}
.dl-home .nh-intro-desc p{margin:0 0 12px}
.dl-home .nh-intro-img img{width:100%;border-radius:22px;box-shadow:0 18px 44px rgba(10,25,47,.14)}
.dl-home .nh-quick{display:grid;gap:12px;margin-top:14px}
.dl-home .nh-qbtn{display:flex;align-items:center;gap:10px;justify-content:space-between;background:linear-gradient(135deg,var(--nh-red2),var(--nh-red));color:#fff;padding:15px 20px;border-radius:14px;font-weight:700;font-size:15px;text-decoration:none;transition:.22s;box-shadow:0 8px 22px rgba(179,18,23,.28)}
.dl-home .nh-qbtn:hover{color:#fff;transform:translateY(-2px);filter:brightness(1.07)}
.dl-home .nh-qbtn svg{width:20px;height:20px;flex:none;transform:scaleX(-1)}
@media(max-width:900px){.dl-home .nh-intro-grid{grid-template-columns:1fr}}

/* ---------- ۲) آمار ---------- */
.dl-home .nh-stats{background:linear-gradient(180deg,var(--nh-bg),#fff)}
.dl-home .nh-stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.dl-home .nh-stat{background:#fff;border:1px solid var(--nh-ln);border-radius:22px;padding:clamp(20px,2.5vw,34px) 18px;text-align:center;transition:.25s;position:relative;overflow:hidden}
.dl-home .nh-stat:before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:linear-gradient(90deg,var(--nh-red2),var(--nh-navy2))}
.dl-home .nh-stat:hover{transform:translateY(-4px);box-shadow:0 16px 36px rgba(10,25,47,.12)}
.dl-home .nh-stat-ico{display:inline-grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#B3121710;color:var(--nh-navy2);font-size:24px;margin-bottom:12px}
.dl-home .nh-stat-num{display:block;font-size:clamp(30px,4vw,44px);font-weight:800;color:var(--nh-navy);background:linear-gradient(135deg,var(--nh-navy),var(--nh-red2));-webkit-background-clip:text;background-clip:text;color:transparent}
.dl-home .nh-stat-label{display:block;color:var(--nh-mut);font-size:14px;margin-top:6px;font-weight:600}
@media(max-width:900px){.dl-home .nh-stats-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.dl-home .nh-stats-grid{grid-template-columns:1fr}}

/* ---------- ۳) پزشکان ما ---------- */
.dl-home .nh-docs{background:var(--nh-navy)}
.dl-home .nh-docs .nh-kt{color:#fff}
.dl-home .nh-docs-head{display:flex;justify-content:flex-end;margin:-46px 0 8px}
.dl-home .nh-arrows{display:flex;gap:8px}
.dl-home .nh-arrow{width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.08);color:#fff;cursor:pointer;display:grid;place-items:center;transition:.2s;backdrop-filter:blur(8px)}
.dl-home .nh-arrow:hover{background:var(--nh-red2);border-color:transparent}
.dl-home .nh-arrow svg{width:20px;height:20px}
.dl-home .nh-docs-slider{overflow:hidden}
.dl-home .nh-docs-track{display:flex;gap:18px;transition:transform .55s cubic-bezier(.33,1,.68,1)}
.dl-home .nh-doc{flex:0 0 calc((100% - 54px) / 4);background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:22px;padding:26px 16px;text-align:center;color:#fff;transition:.25s}
.dl-home .nh-doc:hover{background:rgba(255,255,255,.1);transform:translateY(-4px)}
.dl-home .nh-doc-av{width:104px;height:104px;border-radius:50%;margin:0 auto 14px;display:grid;place-items:center;font-size:44px;overflow:hidden;background:linear-gradient(135deg,#ffffff22,#ffffff08);border:3px solid rgba(255,255,255,.2)}
.dl-home .nh-doc-av img{width:100%;height:100%;object-fit:cover}
.dl-home .nh-doc b{display:block;font-size:16px}
.dl-home .nh-doc small{color:rgba(255,255,255,.65);font-size:12.5px;display:block;margin-top:5px}
.dl-home .nh-docs-dots{display:flex;gap:7px;justify-content:center;margin-top:20px}
.dl-home .nh-docs-dots i{width:9px;height:9px;border-radius:50%;background:rgba(255,255,255,.25);transition:.2s;cursor:pointer}
.dl-home .nh-docs-dots i.on{background:var(--nh-red2);width:26px;border-radius:6px}
@media(max-width:1000px){.dl-home .nh-doc{flex-basis:calc((100% - 36px) / 3)}}
@media(max-width:760px){.dl-home .nh-doc{flex-basis:calc((100% - 18px) / 2)}}

/* ---------- ۴) آخرین مطالب ---------- */
/* ---------- ۴) آخرین مطالب ---------- */
.dl-home .nh-articles{background:#fff}
/* ستون‌ها خودکار با عرض محتوای صفحه سازگار می‌شوند — واکنش‌گرا در دسکتاپ/تبلت/موبایل */
.dl-home .nh-art-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));gap:26px}
.dl-home .nh-art{background:var(--nh-bg);border:1px solid var(--nh-ln);border-radius:20px;overflow:hidden;transition:.25s;display:flex;flex-direction:column}
.dl-home .nh-art:hover{transform:translateY(-5px);box-shadow:0 18px 40px rgba(10,25,47,.13)}
.dl-home .nh-art-img{display:block;aspect-ratio:16/10;overflow:hidden;background:#dfe7f0}
.dl-home .nh-art-img img{width:100%;height:100%;object-fit:cover;transition:.5s}
.dl-home .nh-art:hover .nh-art-img img{transform:scale(1.06)}
.dl-home .nh-art-img svg{width:100%;height:100%;padding:34px;color:#8ba5bd}
.dl-home .nh-art-body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.dl-home .nh-art-date{font-size:12px;color:var(--nh-mut)}
.dl-home .nh-art h3{margin:0;font-size:16.5px;line-height:1.7}
.dl-home .nh-art h3 a{color:var(--nh-navy);text-decoration:none}
.dl-home .nh-art h3 a:hover{color:var(--nh-red2)}
.dl-home .nh-art p{margin:0;color:var(--nh-mut);font-size:13.5px;line-height:2;flex:1}
.dl-home .nh-more{display:inline-flex;align-items:center;gap:6px;color:var(--nh-red2);font-weight:700;font-size:13.5px;text-decoration:none;margin-top:4px}
.dl-home .nh-more svg{width:16px;height:16px;transform:scaleX(-1);transition:.2s}
.dl-home .nh-more:hover svg{transform:scaleX(-1) translateX(4px)}
@media(max-width:900px){.dl-home .nh-art-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.dl-home .nh-art-grid{grid-template-columns:1fr}}

/* ---------- ۵) بیمه‌های طرف قرارداد — نوار متحرک ---------- */
.dl-home .nh-ins{background:var(--nh-bg);overflow:hidden}
/* بیمه‌های طرف قرارداد: یک ردیف واحد، حرکت یکنواخت راست→چپ، حلقهٔ بی‌نهایت بدون توقف */
.dl-home .nh-marquee{position:relative}
.dl-home .nh-marquee-row{position:relative;overflow:hidden;direction:ltr;-webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent)}
/* نکتهٔ حیاتی: در RTL بلوکِ پهن‌تر از صفحه به لبهٔ راست می‌چسبد و حرکت به چپ
   جای خالی سمت راست می‌سازد؛ ترک با direction:ltr به لبهٔ چپ می‌چسبد و
   flex-direction:row-reverse ترتیب بصری راست‌به‌چپ کارت‌ها را حفظ می‌کند. */
.dl-home .nh-marquee-track{display:flex;flex-direction:row-reverse;direction:ltr;width:max-content;animation:nh-marquee var(--nh-ins-speed,45s) linear infinite;will-change:transform}
.dl-home .nh-marquee-group{display:flex;flex-direction:row-reverse;gap:18px;padding-inline-start:18px;flex:none}
.dl-home .nh-ins-card{flex:none;background:#fff;border:1px solid var(--nh-ln);border-radius:18px;padding:16px 22px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-width:150px;text-align:center;text-decoration:none;transition:box-shadow .25s,border-color .25s}
.dl-home .nh-ins-card:hover{border-color:var(--nh-pr);box-shadow:0 10px 28px rgba(13,59,102,.14)}
.dl-home .nh-ins-card .il{height:64px;width:100%;display:flex;align-items:center;justify-content:center}
.dl-home .nh-ins-card img{height:64px;width:auto;max-width:136px;object-fit:contain}
.dl-home .nh-ins-card .nm{font-size:14.5px;color:var(--nh-navy);font-weight:700;line-height:1.7;white-space:normal;max-width:148px}
@keyframes nh-marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* صفحهٔ وب بیمه‌ها — گرید مرتب و کامل با UI تمیز */
.nh-ins-page{padding:clamp(30px,4vw,54px) 0 48px}
.nh-ins-head{text-align:center;max-width:660px;margin:0 auto 32px}
.nh-ins-head .nh-ins-eyebrow{display:inline-flex;align-items:center;gap:8px;background:rgba(13,59,102,.08);color:#0d3b66;font-size:13px;font-weight:700;padding:7px 16px;border-radius:999px;margin:0 0 16px}
.nh-ins-head .nh-ins-eyebrow svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nh-ins-title{font-size:clamp(24px,3.4vw,36px);font-weight:900;color:#0d3b66;margin:0 0 10px;line-height:1.5}
.nh-ins-sub{margin:0;color:#5a6b8a;font-size:15.5px;line-height:1.9}
.nh-ins-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(215px,1fr));gap:16px}
.nh-ins-grid .nh-ins-card{position:relative;background:#fff;border:1px solid #e3eaf5;border-radius:16px;padding:20px 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:13px;text-align:center;box-shadow:0 2px 10px rgba(13,59,102,.05);transition:transform .25s,box-shadow .25s,border-color .25s}
.nh-ins-grid .nh-ins-card:hover{transform:translateY(-4px);border-color:#c9d8ea;box-shadow:0 14px 30px rgba(13,59,102,.13)}
.nh-ins-grid .nh-ins-card .il{height:74px;width:100%;display:flex;align-items:center;justify-content:center;background:#f8fafd;border-radius:12px;padding:8px}
.nh-ins-grid .nh-ins-card img{height:100%;width:auto;max-width:150px;object-fit:contain}
.nh-ins-grid .nh-ins-card .nm{font-size:16px;color:#0d3b66;font-weight:700;line-height:1.7}
.nh-ins-grid .nh-ins-card.nh-hl{border-color:#0d3b66;box-shadow:0 0 0 3px rgba(13,59,102,.15),0 14px 30px rgba(13,59,102,.13)}
.nh-ins-grid .nh-ins-card.nh-hl::after{content:"انتخاب شما";position:absolute;top:10px;inset-inline-start:12px;font-size:11px;font-weight:700;color:#fff;background:#0d3b66;border-radius:999px;padding:3px 10px}
@media(max-width:700px){
	.dl-home .nh-ins-card{min-width:126px;padding:13px 16px;gap:8px}
	.dl-home .nh-ins-card img{height:52px}
	.dl-home .nh-ins-card .nm{font-size:13px;max-width:124px}
	.nh-ins-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
	.nh-ins-grid .nh-ins-card{padding:14px 10px;gap:10px}
	.nh-ins-grid .nh-ins-card .il{height:56px}
	.nh-ins-grid .nh-ins-card .nm{font-size:13.5px}
}

/* ---------- ۶) ویدئو ---------- */
.dl-home .nh-video{background:#fff}
.dl-home .nh-video-sub{color:var(--nh-mut);margin:-14px 0 22px;font-size:15px}
.dl-home .nh-video-frame{border-radius:24px;overflow:hidden;box-shadow:0 24px 60px rgba(10,25,47,.18);background:#000}
.dl-home .nh-video-frame video{display:block;width:100%;max-height:600px}

/* ---------- اسلایدر: نوار پیشرفت + نوار اطلاعات (طرح قبلی) ---------- */
.delsaro-hero .hero-progress{position:absolute;left:0;right:0;bottom:0;height:4px;background:rgba(255,255,255,.22);z-index:5;overflow:hidden}
.delsaro-hero .hero-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--nh-red2),#ff6b6b)}
.delsaro-hero .hero-info{background:linear-gradient(135deg,var(--nh-red2),var(--nh-red));color:#fff}
.delsaro-hero .hero-info .c{max-width:1200px}
.delsaro-hero .hero-info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:4px 28px;padding:16px 0}
.delsaro-hero .hero-info-item{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;border-bottom:1px dashed rgba(255,255,255,.28);padding:6px 0}
.delsaro-hero .hero-info-item b{font-weight:600}
.delsaro-hero .hero-info-item span{font-weight:800;white-space:nowrap}
.delsaro-hero .hero-bar{background:var(--nh-navy);color:#fff;position:relative;z-index:2}
.delsaro-hero .hero-bar .c{display:flex;align-items:center;justify-content:center;gap:26px;padding:13px clamp(14px,3vw,28px);flex-wrap:wrap}
.delsaro-hero .hero-bar-text{font-weight:700;font-size:14px}
.delsaro-hero .hero-bar-phone{display:inline-flex;align-items:center;gap:8px;color:#fff;text-decoration:none;font-weight:800;font-size:15px;letter-spacing:.3px}
.delsaro-hero .hero-bar-phone svg{width:17px;height:17px;color:var(--nh-red2)}
.delsaro-hero .hero-bar-phone:hover{color:#ff9d9d}
@media(max-width:860px){.delsaro-hero .hero-info-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.delsaro-hero .hero-info-grid{grid-template-columns:1fr}}
