/* ===== Deluxe Dental – Hero + Marquee =====
   Palette: Brand #294783 · Alt #3D6FA5 · Soft #A9BED9 · Ink #414144 · Text #626267
            Secondary #F5F7FA · Subtle #EEF2F7 · Line #E1E6ED */
.dlx-hero,.dlx-hero *,.dlx-marquee,.dlx-marquee *{box-sizing:border-box}
.dlx-wrap{width:100%}

/* ---------- Hero (داكن – Brand navy) ---------- */
.dlx-hero,.dlx-marquee{
  --brand:#294783;--alt:#3D6FA5;--soft:#A9BED9;--ink:#414144;--muted:#626267;
  --secondary:#F5F7FA;--subtle:#EEF2F7;--line:#E1E6ED;--deep:#1B3263;
}
.dlx-hero{
  position:relative;width:100%;overflow:hidden;isolation:isolate;
  background:linear-gradient(135deg,var(--deep) 0%,var(--brand) 55%,var(--alt) 130%);
  color:#fff;font-family:inherit;
}
.dlx-hero-bg{position:absolute;z-index:-1;inset:0;pointer-events:none;
  background:radial-gradient(circle at 78% 55%,rgba(169,190,217,.28),transparent 42%),
             radial-gradient(circle,rgba(255,255,255,.09) 1.3px,transparent 1.6px) 0 0/26px 26px}
.dlx-hero-container{width:min(1240px,calc(100% - 64px));min-height:640px;margin:0 auto;display:grid;
  grid-template-columns:1.05fr .95fr;align-items:center;gap:30px;padding:56px 0 0}

/* صورة الدكتور (كاتأوت) */
.dlx-hero-visual{position:relative;align-self:end;min-height:590px;overflow:hidden;display:flex;align-items:flex-end;justify-content:center}
.dlx-image-glow{position:absolute;z-index:0;width:min(450px,90%);aspect-ratio:1;bottom:8%;left:50%;transform:translateX(-50%);border-radius:50%;
  background:radial-gradient(circle at 50% 40%,#fff 0%,var(--soft) 45%,var(--alt) 100%);opacity:.95;
  box-shadow:0 0 0 14px rgba(255,255,255,.08),0 0 0 32px rgba(255,255,255,.05)}
.dlx-wrap .dlx-hero .dlx-doctor-image{position:relative;z-index:1;display:block;width:auto;max-width:100%;height:590px;min-height:0;margin:0;padding:0;border:0;object-fit:contain;object-position:center bottom;
  filter:drop-shadow(0 18px 28px rgba(10,25,60,.35))}
.dlx-image-label{position:absolute;z-index:2;left:50%;transform:translateX(-50%);bottom:22px;white-space:nowrap;display:flex;align-items:center;gap:12px;padding:13px 18px;direction:ltr;
  background:rgba(27,50,99,.78);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border:1px solid rgba(255,255,255,.34);border-radius:16px;box-shadow:0 14px 36px rgba(10,25,60,.28)}
.dlx-label-icon{display:flex;color:#fff}
.dlx-label-icon svg{width:28px;height:28px;display:block;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.dlx-image-label strong,.dlx-image-label small{display:block;font-family:inherit}
.dlx-image-label strong{color:#fff;font-size:14px;font-weight:700}
.dlx-image-label small{margin-top:3px;color:var(--soft);font-size:11px;letter-spacing:.4px}

/* النصوص */
.dlx-hero-content{position:relative;z-index:2;padding:20px 0 64px}
.dlx-eyebrow{display:inline-flex;align-items:center;gap:10px;margin-bottom:22px;padding:7px 16px 7px 14px;border-radius:999px;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.25);color:#fff;font-size:14px;font-weight:700}
.dlx-eyebrow-line{display:inline-block;width:24px;height:2px;background:var(--soft)}
.dlx-hero-content h1{margin:0;color:#fff;font-family:inherit;font-size:clamp(40px,4.6vw,66px);font-weight:900;line-height:1.3;letter-spacing:-.8px}
.dlx-hero-content h1 span{display:block;color:var(--soft)}
.dlx-hero-description{max-width:540px;margin:20px 0 32px;color:rgba(255,255,255,.82);font-size:17px;font-weight:500;line-height:2}

.dlx-hero-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.dlx-btn{min-height:56px;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 26px;border-radius:999px;
  font-family:inherit;font-size:15px;font-weight:700;text-decoration:none !important;
  transition:transform .25s ease,box-shadow .25s ease,background .25s ease}
.dlx-btn svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dlx-btn .dlx-wa-icon{fill:currentColor;stroke:none}
.dlx-btn-primary{color:var(--brand) !important;background:#fff;border:1px solid #fff;box-shadow:0 12px 28px rgba(10,25,60,.3)}
.dlx-btn-outline{color:#fff !important;background:rgba(255,255,255,.08);border:1.5px solid rgba(255,255,255,.55)}
.dlx-btn:hover{transform:translateY(-3px);box-shadow:0 16px 32px rgba(10,25,60,.32)}
.dlx-btn-outline:hover{background:rgba(255,255,255,.18)}
.dlx-btn .dlx-btn-arrow{width:18px;height:18px;transition:transform .25s ease}
.dlx-btn:hover .dlx-btn-arrow{transform:translateX(-4px)}
.dlx-hero[dir="ltr"] .dlx-btn-arrow{transform:scaleX(-1)}
.dlx-hero[dir="ltr"] .dlx-btn:hover .dlx-btn-arrow{transform:scaleX(-1) translateX(-4px)}

.dlx-hero-features{display:flex;flex-wrap:wrap;gap:14px;margin-top:40px}
.dlx-feature{display:flex;align-items:center;gap:12px;padding:12px 18px 12px 16px;border-radius:16px;
  background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.2)}
.dlx-feature-icon{width:44px;height:44px;display:flex;flex-shrink:0;align-items:center;justify-content:center;border-radius:12px;background:#fff;color:var(--brand);font-size:20px}
.dlx-feature-icon svg{width:22px;height:22px;display:block;fill:currentColor;stroke:none}
.dlx-feature strong,.dlx-feature small{display:block}
.dlx-feature strong{color:#fff;font-size:14px;font-weight:800}
.dlx-feature small{margin-top:3px;color:var(--soft);font-size:12px}
.dlx-hero-bottom{position:absolute;width:260px;height:260px;left:-110px;top:-110px;border:1px solid rgba(255,255,255,.18);border-radius:50%;pointer-events:none}

/* ---------- Marquee (شريط نظيف: أيقونة + نص + فاصل معيّن) ---------- */
.dlx-marquee{
  --speed:40s;
  position:relative;width:100%;overflow:hidden;direction:ltr;margin:0;padding:18px 0;
  background:#fff;border-bottom:3px solid var(--brand);
  font-family:inherit;
}
.dlx-marquee-track{display:flex;flex-wrap:nowrap;width:max-content;direction:ltr;animation:dlx-marquee-scroll var(--speed) linear infinite;will-change:transform}
.dlx-marquee[dir="rtl"] .dlx-marquee-track{animation-direction:reverse}
.dlx-marquee[dir="ltr"] .dlx-marquee-track{animation-direction:normal}
.dlx-marquee.dlx-rev[dir="rtl"] .dlx-marquee-track{animation-direction:normal}
.dlx-marquee.dlx-rev[dir="ltr"] .dlx-marquee-track{animation-direction:reverse}
.dlx-marquee-group{display:flex;flex:0 0 auto;align-items:center;justify-content:space-around;gap:38px;min-width:100vw;padding-inline:19px}
.dlx-marquee-item{display:inline-flex;flex:0 0 auto;align-items:center;gap:10px;white-space:nowrap;color:var(--brand);font-size:15px;font-weight:800}
.dlx-marquee[dir="rtl"] .dlx-marquee-item{direction:rtl}
.dlx-marquee[dir="ltr"] .dlx-marquee-item{direction:ltr}
.dlx-marquee-icon{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;color:var(--alt);font-size:20px;line-height:1;background:none;border:0}
.dlx-marquee-icon svg{width:20px;height:20px;display:block;fill:currentColor;stroke:none}
.dlx-marquee-dot{width:8px;height:8px;flex:0 0 8px;display:block;background:var(--soft);transform:rotate(45deg);border-radius:2px}
@keyframes dlx-marquee-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media (hover:hover){.dlx-marquee.dlx-pause:hover .dlx-marquee-track{animation-play-state:paused}}

/* ---------- Tablet ---------- */
@media (max-width:900px){
  .dlx-hero-container{width:calc(100% - 40px);grid-template-columns:1.1fr .9fr;gap:14px;min-height:520px;padding-top:40px}
  .dlx-hero-visual{min-height:450px}
  .dlx-wrap .dlx-hero .dlx-doctor-image{height:440px}
  .dlx-hero-content{padding-bottom:44px}
  .dlx-hero-content h1{font-size:clamp(32px,5vw,46px)}
  .dlx-hero-description{font-size:15px}
  .dlx-image-label{bottom:14px;padding:9px 12px}
}

/* ---------- Mobile ---------- */
@media (max-width:600px){
  .dlx-hero-container{width:calc(100% - 36px);display:flex;flex-direction:column-reverse;align-items:stretch;gap:0;padding:34px 0 0;min-height:0}
  .dlx-hero-content{padding:0 0 26px;text-align:center}
  .dlx-eyebrow{margin-bottom:12px;font-size:12px}
  .dlx-hero-content h1{font-size:clamp(34px,9vw,44px);line-height:1.4;letter-spacing:0}
  .dlx-hero-description{margin:12px auto 21px;max-width:420px;font-size:14px;line-height:1.9}
  .dlx-hero-buttons{justify-content:center;gap:9px}
  .dlx-btn{min-height:50px;padding:11px 18px;gap:7px;font-size:13px}
  .dlx-btn svg{width:17px;height:17px}
  .dlx-hero-visual{display:flex;justify-content:center;min-height:0;height:auto;width:100%;max-width:300px;margin:0 auto;overflow:hidden}
  .dlx-wrap .dlx-hero .dlx-doctor-image{width:100% !important;max-width:100% !important;height:auto !important;max-height:none !important}
  .dlx-image-glow{width:96%;bottom:4%}
  .dlx-image-label{bottom:10px;padding:8px 12px;gap:8px;border-radius:12px}
  .dlx-label-icon svg{width:20px;height:20px}
  .dlx-image-label strong{font-size:11px}
  .dlx-image-label small{font-size:9px}
  .dlx-hero-features{justify-content:center;text-align:start;gap:10px;margin-top:24px}
  .dlx-feature{flex:1 1 150px;gap:9px;padding:10px 12px;border-radius:14px}
  .dlx-feature-icon{width:36px;height:36px;border-radius:9px;font-size:16px}
  .dlx-feature-icon svg{width:18px;height:18px}
  .dlx-feature strong{font-size:12px}
  .dlx-feature small{font-size:10px}
  .dlx-marquee{padding:13px 0}
  .dlx-marquee-group{gap:24px;padding-inline:12px}
  .dlx-marquee-item{gap:8px;font-size:13px}
  .dlx-marquee-icon svg{width:17px !important;height:17px !important}
  .dlx-marquee-dot{width:6px;height:6px;flex-basis:6px}
}

/* ---------- Entrance animations ---------- */
@keyframes dlxFadeUp{from{opacity:0;transform:translateY(28px)}to{opacity:1;transform:none}}
@keyframes dlxFadeIn{from{opacity:0}to{opacity:1}}
@keyframes dlxImageIn{from{opacity:0;transform:translateY(50px)}to{opacity:1;transform:none}}
@keyframes dlxGlowIn{from{opacity:0;transform:translateX(-50%) scale(.7)}to{opacity:.95;transform:translateX(-50%)}}
@keyframes dlxLineGrow{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes dlxPop{from{opacity:0;transform:translateY(22px) scale(.92)}to{opacity:1;transform:none}}
@keyframes dlxLabelIn{from{opacity:0;transform:translateX(-50%) translateY(22px)}to{opacity:1;transform:translateX(-50%)}}
.dlx-hero-bg{animation:dlxFadeIn 1.2s ease backwards}
.dlx-hero-bottom{animation:dlxFadeIn 1.6s ease .6s backwards}
.dlx-image-glow{transform-origin:center;animation:dlxGlowIn 1s cubic-bezier(.22,1,.36,1) .1s backwards}
.dlx-doctor-image{animation:dlxImageIn 1.1s cubic-bezier(.22,1,.36,1) .25s backwards}
.dlx-image-label{animation:dlxLabelIn .8s cubic-bezier(.22,1,.36,1) 1s backwards}
.dlx-eyebrow{animation:dlxFadeUp .8s cubic-bezier(.22,1,.36,1) .2s backwards}
.dlx-eyebrow-line{transform-origin:right center;animation:dlxLineGrow .8s cubic-bezier(.22,1,.36,1) .5s backwards}
.dlx-hero-content h1{animation:dlxFadeUp .9s cubic-bezier(.22,1,.36,1) .35s backwards}
.dlx-hero-content h1 span{animation:dlxFadeUp .9s cubic-bezier(.22,1,.36,1) .5s backwards}
.dlx-hero-description{animation:dlxFadeUp .9s cubic-bezier(.22,1,.36,1) .65s backwards}
.dlx-hero-buttons .dlx-btn:nth-child(1){animation:dlxPop .8s cubic-bezier(.22,1,.36,1) .8s backwards}
.dlx-hero-buttons .dlx-btn:nth-child(2){animation:dlxPop .8s cubic-bezier(.22,1,.36,1) .92s backwards}
.dlx-hero-features{animation:dlxFadeIn .9s ease 1s backwards}
.dlx-feature:nth-child(1){animation:dlxFadeUp .8s cubic-bezier(.22,1,.36,1) 1.05s backwards}
.dlx-feature:nth-child(2){animation:dlxFadeUp .8s cubic-bezier(.22,1,.36,1) 1.2s backwards}

/* إيقاف حركات الظهور فقط (الشريط يفضل شغال) */
.dlx-no-anim .dlx-hero *{animation:none !important}
.dlx-no-anim .dlx-hero-bg,.dlx-no-anim .dlx-hero-bottom{animation:none !important}
@media (prefers-reduced-motion:reduce){
  .dlx-hero *,.dlx-hero-bg,.dlx-hero-bottom,.dlx-marquee-track{animation:none !important}
  .dlx-btn{transition:none}
}

/* ---------- Icon fix (يفرض ظهور الأيقونات فوق أي ستايل من الثيم/إلمنتور) ---------- */
.dlx-feature-icon{color:var(--brand) !important;line-height:1}
.dlx-marquee-icon{color:var(--alt) !important;line-height:1}
.dlx-feature-icon i,.dlx-marquee-icon i,
.dlx-feature-icon svg,.dlx-marquee-icon svg,
.dlx-feature-icon svg *,.dlx-marquee-icon svg *{
  color:inherit !important;fill:currentColor !important;stroke:none !important;opacity:1 !important;visibility:visible !important}
.dlx-feature-icon i,.dlx-marquee-icon i{display:inline-block;font-style:normal;line-height:1;width:auto;height:auto}
.dlx-feature-icon svg{width:22px !important;height:22px !important}
.dlx-marquee-icon svg{width:20px !important;height:20px !important}

@media (max-width:600px){
  .dlx-feature-icon svg{width:18px !important;height:18px !important}
  .dlx-marquee-icon svg{width:17px !important;height:17px !important}
}

.dlx-hero[dir="ltr"] .dlx-eyebrow-line{transform-origin:left center}
