/* V54: visitor badge beside brand + single-image 3-second hero rotator */
.brand-cluster-v54{display:flex;align-items:center;gap:13px;min-width:0;flex-shrink:0}
.brand-cluster-v54 .brand{flex-shrink:0}
.visitor-badge-v54{position:relative;display:flex;align-items:baseline;gap:4px;min-height:38px;padding:7px 12px 7px 14px;border:1px solid #efc4d5;border-radius:999px;background:linear-gradient(135deg,#fff7fb 0%,#ffeaf3 100%);box-shadow:0 7px 20px rgba(182,50,104,.11);color:var(--navy);white-space:nowrap}
.visitor-badge-v54:before{content:"";position:absolute;left:7px;top:50%;width:5px;height:5px;border-radius:50%;background:var(--blue);transform:translateY(-50%);box-shadow:0 0 0 4px rgba(226,72,127,.10)}
.visitor-label-v54{margin-left:4px;font-size:10px;font-weight:800;color:#8a6071;letter-spacing:-.2px}
.visitor-count-v54{font-variant-numeric:tabular-nums;font-size:16px;line-height:1;font-weight:950;letter-spacing:-.25px;color:var(--blue)}
.visitor-unit-v54{font-size:10px;font-weight:800;color:#8a6071}

.hero-photo-frame-v54{position:relative!important;aspect-ratio:4/3!important;width:min(100%,560px)!important;max-height:none!important;margin-left:auto!important;background:#fff!important;border:8px solid #fff!important;border-radius:38px!important;overflow:hidden!important;box-shadow:0 28px 65px rgba(118,39,76,.20)!important}
.hero-slide-stage-v54{position:absolute;inset:0;overflow:hidden;background:#f9f5f7}
.hero-slide-stage-v54 img{display:block!important;width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;object-position:center center!important;filter:none!important;opacity:1;transform:scale(1);transition:opacity .42s ease,transform .42s ease}
.hero-slide-stage-v54 img.is-changing{opacity:0;transform:scale(.992)}
.hero-photo-frame-v54 .photo-label{z-index:4;left:18px;right:18px;bottom:17px}
.hero-dots-v54{position:absolute;z-index:5;right:19px;top:17px;display:flex;gap:7px;padding:7px 9px;border-radius:999px;background:rgba(255,255,255,.90);box-shadow:0 6px 18px rgba(66,23,46,.12);backdrop-filter:blur(8px)}
.hero-dots-v54 button{appearance:none;width:8px;height:8px;padding:0;border:0;border-radius:50%;background:#d8b8c5;transition:width .25s ease,background .25s ease;cursor:pointer}
.hero-dots-v54 button.is-active{width:22px;border-radius:99px;background:var(--blue)}

@media(max-width:1180px) and (min-width:1021px){
 .brand-cluster-v54{gap:8px}
 .visitor-badge-v54{padding:6px 8px 6px 11px;gap:3px;min-height:34px}
 .visitor-label-v54{font-size:9px}
 .visitor-count-v54{font-size:14px}
 .visitor-unit-v54{font-size:9px}
}
@media(max-width:680px){
 .header-inner{gap:8px}
 .brand-cluster-v54{gap:7px;min-width:0}
 .brand-cluster-v54 .brand{gap:8px}
 .brand-cluster-v54 .brand-mark{width:38px;height:38px;border-radius:12px}
 .brand-cluster-v54 .brand b{font-size:17px;letter-spacing:-.8px}
 .brand-cluster-v54 .brand small{font-size:7px;letter-spacing:2px}
 .visitor-badge-v54{min-height:34px;padding:5px 8px 5px 10px;gap:3px;box-shadow:0 5px 14px rgba(182,50,104,.10)}
 .visitor-badge-v54:before{left:6px;width:4px;height:4px}
 .visitor-label-v54{margin-left:3px;font-size:8.5px}
 .visitor-count-v54{font-size:13.5px}
 .visitor-unit-v54{font-size:8.5px}
 .hero-photo-frame-v54{width:100%!important;margin:auto!important;border-width:6px!important;border-radius:28px!important}
 .hero-photo-frame-v54 .photo-label{left:12px;right:12px;bottom:12px;padding:9px 10px;font-size:12px;border-radius:12px}
 .hero-dots-v54{right:12px;top:12px;gap:6px;padding:6px 8px}
 .hero-dots-v54 button{width:7px;height:7px}
 .hero-dots-v54 button.is-active{width:18px}
}
@media(max-width:420px){
 .brand-cluster-v54{gap:5px}
 .brand-cluster-v54 .brand-mark{width:34px;height:34px}
 .brand-cluster-v54 .brand b{font-size:15.5px}
 .brand-cluster-v54 .brand small{display:none}
 .visitor-badge-v54{padding:5px 7px 5px 9px;min-height:32px}
 .visitor-label-v54{font-size:8px}
 .visitor-count-v54{font-size:12.5px}
 .visitor-unit-v54{font-size:8px}
}
@media(max-width:355px){.visitor-label-v54{display:none}.visitor-badge-v54{padding-left:10px}}
@media(prefers-reduced-motion:reduce){.hero-slide-stage-v54 img,.hero-dots-v54 button{transition:none!important}}


/* V55: smoother single-frame crossfade and visitor lift feedback */
.visitor-count-v54{display:inline-block;min-width:66px;text-align:right;transition:transform .2s ease,color .2s ease;text-rendering:optimizeLegibility}
.visitor-count-v54.is-counting-v55{color:#d62f6f;transform:translateY(-1px)}
.hero-slide-stage-v54{isolation:isolate}
.hero-slide-stage-v54 img.hero-crossfade-layer-v55{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;object-position:center center!important;opacity:0!important;transform:translateZ(0)!important;transition:opacity .98s cubic-bezier(.4,0,.2,1)!important;will-change:opacity;backface-visibility:hidden}
.hero-slide-stage-v54 img.hero-crossfade-layer-v55.is-visible{opacity:1!important}
@media(max-width:420px){.visitor-count-v54{min-width:58px}}
@media(prefers-reduced-motion:reduce){.visitor-count-v54,.hero-slide-stage-v54 img.hero-crossfade-layer-v55{transition:none!important}}
