/* Shared Corporate presentation for both the demonstration and published pages. */
html:has(.corporate-showcase){scroll-behavior:smooth}
.corporate-reference.corporate-showcase .corporate-hero{min-height:0;padding:0 0 1.4rem;background:#fff;color:var(--corporate-ink);overflow:visible}
.corporate-reference.corporate-showcase .corporate-cover{position:relative;inset:auto;width:100%;height:260px;margin:0;border-radius:0;overflow:hidden}
.corporate-reference.corporate-showcase .corporate-cover:after{background:linear-gradient(180deg,rgba(5,26,52,.05),rgba(5,26,52,.34))}
.corporate-reference.corporate-showcase .corporate-hero-content{position:relative;width:min(100% - 2rem,1120px);margin:-50px auto 0;padding:0 1rem;text-align:right}
.corporate-reference.corporate-showcase .corporate-wordmark{display:none}
.corporate-reference.corporate-showcase .corporate-identity{flex-direction:column;align-items:flex-start;gap:.55rem;margin:0}
.corporate-reference.corporate-showcase .corporate-identity>div{margin-top:.65rem}
.corporate-reference.corporate-showcase .corporate-logo{width:96px;height:96px;border:4px solid #fff;border-radius:16px;object-fit:cover;transform:scale(1.12);transform-origin:center}
.corporate-reference.corporate-showcase .corporate-identity h1{color:var(--corporate-ink);font-size:clamp(1.45rem,3vw,2.1rem)}
.corporate-reference.corporate-showcase .corporate-category{margin-top:.2rem;color:var(--corporate-muted)}
.corporate-reference.corporate-showcase .corporate-description{max-width:680px;margin:.9rem 0 0;color:var(--corporate-muted);font-size:1rem}
.corporate-reference.corporate-showcase .corporate-quick-actions{margin:0 0 0 auto}
.corporate-reference.corporate-showcase .corporate-disclaimer{font-size:0}
.corporate-reference.corporate-showcase .corporate-disclaimer:after{content:'لإتمام التحويل إلى هذا النشاط التجاري، يمكنك استخدام أحد الحسابات التالية.';font-size:.83rem}
.corporate-reference.corporate-showcase .corporate-branch{display:flex;flex-direction:column;gap:1rem}
.corporate-reference.corporate-showcase .corporate-branch-title{align-items:flex-start}
.corporate-reference.corporate-showcase .corporate-branch-title h3{font-size:1.05rem}
.corporate-reference.corporate-showcase .corporate-branch-title p{margin-top:.38rem;line-height:1.7}
.corporate-reference.corporate-showcase .corporate-branch-phone{align-self:stretch;margin:.45rem 0 0!important;padding-top:.45rem;border-top:1px solid var(--corporate-line);color:#203b5d!important;font-size:.88rem;font-weight:700;direction:ltr;text-align:right}
.corporate-reference.corporate-showcase .corporate-branch-actions{display:grid;grid-template-columns:1fr 1fr;gap:.55rem;margin-top:auto;padding-top:.85rem;border-top:1px solid var(--corporate-line)}
.corporate-reference.corporate-showcase .corporate-branch-action{display:flex!important;align-items:center;justify-content:center;gap:.35rem;min-height:42px;padding:.5rem;border-radius:8px;background:#fff}
.corporate-reference.corporate-showcase .corporate-branch-action:last-child{border-color:var(--corporate-brand);color:var(--corporate-brand)!important}
.corporate-reference.corporate-showcase #branches{scroll-margin-top:1rem}
.corporate-reference.corporate-showcase .corporate-hero,.corporate-reference.corporate-showcase .corporate-quick-actions,.corporate-reference.corporate-showcase .corporate-section,.corporate-reference.corporate-showcase .corporate-bottom-grid{animation:corporate-live-reveal .48s ease both}
.corporate-reference.corporate-showcase .corporate-quick-actions{animation-delay:.08s}
.corporate-reference.corporate-showcase .corporate-section:nth-of-type(1){animation-delay:.12s}
.corporate-reference.corporate-showcase .corporate-section:nth-of-type(2){animation-delay:.18s}
.corporate-reference.corporate-showcase .corporate-section:nth-of-type(3){animation-delay:.24s}
.corporate-reference.corporate-showcase .corporate-section:nth-of-type(4){animation-delay:.3s}
@keyframes corporate-live-reveal{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:699px){
  .corporate-reference.corporate-showcase .corporate-hero{padding:0 0 1rem}
  .corporate-reference.corporate-showcase .corporate-cover{width:100%;height:175px;border-radius:0}
  .corporate-reference.corporate-showcase .corporate-hero-content{width:calc(100% - 1.25rem);margin:-39px auto 0;padding:0 .45rem}
  .corporate-reference.corporate-showcase .corporate-identity{margin-top:0}
  .corporate-reference.corporate-showcase .corporate-identity>div{margin-top:.8rem}
  .corporate-reference.corporate-showcase .corporate-logo{width:78px;height:78px;border-radius:13px}
  .corporate-reference.corporate-showcase .corporate-identity h1{font-size:1.3rem;line-height:1.3}
  .corporate-reference.corporate-showcase .corporate-category{font-size:.8rem}
  .corporate-reference.corporate-showcase .corporate-description{font-size:.84rem;line-height:1.75}
  .corporate-reference.corporate-showcase .corporate-quick-actions{margin-top:0}
  .corporate-reference.corporate-showcase .corporate-branch{gap:.75rem}
  .corporate-reference.corporate-showcase .corporate-branch-title h3{font-size:.97rem}
}
@media(prefers-reduced-motion:reduce){
  html:has(.corporate-showcase){scroll-behavior:auto}
  .corporate-reference.corporate-showcase .corporate-hero,.corporate-reference.corporate-showcase .corporate-quick-actions,.corporate-reference.corporate-showcase .corporate-section,.corporate-reference.corporate-showcase .corporate-bottom-grid{animation:none}
}
