/* ── Contained widget mode (used inside the "Why DEPLUS" right column) ── */
.ls-widget-wrap {
  position: relative;
}

.ls-widget {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-2xl, 20px);
  overflow: hidden;
  cursor: crosshair;
}

/* ── Full-screen section mode (standalone use) ── */
.ls-section {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 520px;
  max-height: 900px;
  overflow: hidden;
  cursor: none;
  background: var(--color-bg-dark, #021635);
}

.ls-container {
  position: relative;
  width: 100%;
  height: 100%;
  user-select: none;
}

/* ── Sides ── */
.ls-side {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ls-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.ls-side-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Left: dark navy tone */
.ls-left .ls-side-bg {
  background: linear-gradient(135deg, rgba(2,22,53,0.72) 0%, rgba(15,40,80,0.55) 100%);
}

/* Right: deep charcoal tone */
.ls-right .ls-side-bg {
  background: linear-gradient(225deg, rgba(20,20,30,0.72) 0%, rgba(40,20,20,0.45) 100%);
}

/* ── Text Overlays ── */
.ls-overlay {
  position: absolute;
  bottom: 0;
  padding: 48px 52px;
  pointer-events: none;
  z-index: 5;
}

.ls-left .ls-overlay {
  left: 0;
}

.ls-right .ls-overlay {
  right: 0;
  text-align: right;
}

.ls-label {
  display: inline-block;
  font-family: var(--font-body, 'Barlow', sans-serif);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
  border-left: 2px solid var(--color-primary, #ef233c);
  padding-left: 10px;
}

.ls-right .ls-label {
  border-left: none;
  border-right: 2px solid var(--color-primary, #ef233c);
  padding-left: 0;
  padding-right: 10px;
}

.ls-title {
  font-family: var(--font-heading, 'Barlow Condensed', sans-serif);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.ls-hint {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body, 'Barlow', sans-serif);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.ls-hint::before,
.ls-hint::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

.ls-container.interacted .ls-hint {
  opacity: 0;
}

/* ── SVG Arc ── */
.ls-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 20;
  pointer-events: none;
}

/* ── WebGL Canvas ── */
.ls-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 15;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.ls-container.interacted .ls-canvas {
  opacity: 1;
}

/* ── Mobile: disable hover interaction ── */
@media (max-width: 768px) {
  .ls-section {
    height: 70vh;
    min-height: 400px;
    cursor: auto;
  }

  .ls-overlay {
    padding: 28px 24px;
  }

  .ls-hint {
    display: none;
  }
}
