/* Harbal Advertisement – curved 3D client logo wall (replaces the old .hc-showcase marquee). */
.cw-section{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  padding:28px 0 18px;
  background:url("../owl-poster.jpg") center 62%/cover no-repeat;
  color:#fff;
}
/* Soft natural vignette over the existing forest photo so the ivory tiles and white heading read clearly. */
.cw-section::before{
  content:"";
  position:absolute;inset:0;z-index:-1;
  background:
    radial-gradient(120% 90% at 50% 55%,rgba(6,22,10,0) 35%,rgba(6,22,10,.42) 100%),
    linear-gradient(180deg,rgba(6,22,10,.50) 0%,rgba(6,22,10,.14) 26%,rgba(6,22,10,.10) 74%,rgba(6,22,10,.46) 100%);
  pointer-events:none;
}
.cw-title{
  display:flex;align-items:center;justify-content:center;gap:clamp(12px,2.4vw,34px);
  width:max-content;max-width:calc(100% - 32px);
  margin:0 auto 6px;padding:0 0 14px;
  font-size:clamp(12px,1.45vw,21px);font-weight:600;letter-spacing:.2em;text-transform:uppercase;line-height:1.25;
  text-align:center;color:#fff;text-shadow:0 2px 10px rgba(0,0,0,.45);
  background:linear-gradient(90deg,#1a6fd1,#3aa0ff) center bottom/clamp(80px,12vw,200px) 3px no-repeat;
}
.cw-title::before,.cw-title::after{content:"";flex:none;width:clamp(28px,6vw,82px);height:2px;border-radius:2px;background:linear-gradient(90deg,#c99a2e,#f0cf6b)}
.cw-title::after{background:linear-gradient(90deg,#f0cf6b,#c99a2e)}

.cw-viewport{
  position:relative;
  height:var(--cw-h,380px);
  perspective:var(--cw-persp,1000px);
  perspective-origin:50% 50%;
  touch-action:pan-y;           /* vertical swipes always scroll the page on touch devices */
  cursor:grab;
  user-select:none;-webkit-user-select:none;
  -webkit-tap-highlight-color:transparent;
  outline:none;
  -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%);
          mask-image:linear-gradient(90deg,transparent 0,#000 5%,#000 95%,transparent 100%);
}
.cw-viewport.is-dragging{cursor:grabbing}
.cw-viewport:focus-visible{box-shadow:inset 0 0 0 2px rgba(255,255,255,.5)}
.cw-stage{position:absolute;left:50%;top:50%;width:0;height:0;transform-style:preserve-3d}

.cw-tile{
  position:absolute;
  left:calc(var(--cw-tw) / -2);top:calc(var(--cw-th) / -2);
  width:var(--cw-tw);height:var(--cw-th);
  transform-style:preserve-3d;
  will-change:transform;
}
.cw-face{
  position:relative;
  width:100%;height:100%;
  display:flex;align-items:center;justify-content:center;
  border-radius:var(--cw-radius,12px);
  background:rgba(250,248,240,.95);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.75),inset 0 -10px 18px rgba(120,125,110,.10),0 6px 16px rgba(0,0,0,.22);
  transform:translateZ(0) rotateX(0) rotateY(0) scale(1);
  backface-visibility:hidden;
  transition:transform .42s cubic-bezier(.2,.85,.25,1),background-color .3s ease,box-shadow .42s ease;
}
.cw-face img{
  display:block;max-width:none;
  pointer-events:none;user-select:none;-webkit-user-drag:none;
  image-rendering:auto;
}
.cw-tile.is-active{z-index:20}
.cw-tile.is-active .cw-face{
  background:#fff;
  transform:translateZ(var(--cw-lift,70px)) rotateX(var(--cw-rx,0deg)) rotateY(var(--cw-ry,0deg)) scale(var(--cw-pop,1.38));
  box-shadow:0 0 0 1px #fff,0 0 22px 5px rgba(255,236,170,.55),0 0 54px 8px rgba(255,255,255,.28),0 28px 44px rgba(0,0,0,.40);
}
.cw-tile.is-off .cw-face{pointer-events:none}

.cw-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

@media (max-width:767px){
  .cw-section{padding:20px 0 10px}
  .cw-title{font-size:11px;letter-spacing:.12em;gap:10px;padding-bottom:10px;white-space:nowrap}
  .cw-title::before,.cw-title::after{width:18px}
}
@media (prefers-reduced-motion:reduce){
  .cw-face{transition-duration:.01s}
}
