.hm-wcu {
  position: relative;
  overflow: hidden;
  padding: 84px 0 92px;
  color: var(--white);
  background: var(--primary);
}

.hm-wcu::before {
  position: absolute;
  top: -180px;
  right: -120px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(0, 168, 184, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 46px rgba(0, 168, 184, 0.035), 0 0 0 94px rgba(0, 168, 184, 0.025);
  content: "";
  pointer-events: none;
}

.hm-wcu__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(320px, 0.83fr) minmax(0, 1.17fr);
  align-items: center;
  gap: 72px;
}

.hm-wcu__content h2 {
  margin: 0;
  color: var(--white);
  font-size: clamp(31px, 3.5vw, 50px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.06;
}

.hm-wcu__line {
  width: 34px;
  height: 3px;
  display: block;
  margin: 17px 0 25px;
  background: var(--accent);
}

.hm-wcu__reasons {
  display: grid;
  gap: 19px;
}

.hm-wcu__reason {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 15px;
  align-items: start;
}

.hm-wcu__icon {
  width: 50px;
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--secondary);
  border-radius: 14px;
  color: var(--tertiary);
  background: rgba(1, 43, 55, 0.28);
  font-size: 24px;
  box-shadow: 0 5px 0 rgba(0, 160, 160, 0.3), 0 12px 22px rgba(0, 0, 0, 0.2);
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.hm-wcu__reason:hover .hm-wcu__icon {
  color: var(--white);
  border-color: var(--tertiary);
  background: var(--secondary);
  box-shadow: 0 7px 0 rgba(0, 0, 0, 0.3), 0 18px 28px rgba(0, 0, 0, 0.28);
  transform: translateY(-5px) scale(1.05);
}

.hm-wcu__reason h3 {
  margin: 0 0 3px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.hm-wcu__reason p {
  max-width: 360px;
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  line-height: 1.4;
}

.hm-wcu__visual {
  min-width: 0;
}

.hm-wcu-dashboard {
  display: grid;
  grid-template-columns: 1.05fr 1.12fr 0.7fr;
  grid-template-rows: 1fr 0.82fr;
  grid-template-areas: "performance growth leads" "channels growth leads";
  gap: 16px;
  min-height: 405px;
  transform: rotate(-1deg);
}

.hm-wcu-dashboard__card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 17px 18px;
  border: 1px solid rgba(1, 43, 55, 0.09);
  border-radius: 8px;
  color: var(--primary);
  background: var(--white);
  box-shadow: 0 11px 22px rgba(0, 0, 0, 0.18);
  transform: rotate(1deg);
}

.hm-wcu-dashboard__card--performance { grid-area: performance; }
.hm-wcu-dashboard__card--growth { grid-area: growth; }
.hm-wcu-dashboard__card--leads { grid-area: leads; }
.hm-wcu-dashboard__card--channels { grid-area: channels; }

.hm-wcu-dashboard__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  color: #68767a;
  font-size: 8px;
  line-height: 1.2;
}

.hm-wcu-dashboard__card-top i {
  color: var(--secondary);
  font-size: 12px;
}

.hm-wcu-dashboard__card strong {
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
}

.hm-wcu-dashboard__card b {
  display: block;
  margin-top: 4px;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
}

.hm-wcu-dashboard__positive {
  position: absolute;
  top: 55px;
  right: 17px;
  color: var(--secondary);
  font-size: 12px;
  font-weight: 500;
}

.hm-wcu-bars {
  height: 118px;
  display: flex;
  align-items: flex-end;
  gap: 7px;
  margin-top: 17px;
  padding: 0 7px;
  border-bottom: 1px solid #dce6e7;
  background: repeating-linear-gradient(to top, transparent 0, transparent 28px, #eaf0f0 29px, transparent 30px);
}

.hm-wcu-bars i {
  width: 100%;
  height: var(--bar);
  display: block;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top, var(--secondary), var(--tertiary));
}

.hm-wcu-dashboard__card--growth b {
  font-size: 27px;
}

.hm-wcu-dashboard__card--growth small {
  color: #68767a;
  font-size: 9px;
}

.hm-wcu-line-chart {
  position: relative;
  height: 165px;
  margin: 17px 0 8px;
  border-bottom: 1px solid #dce6e7;
  background: repeating-linear-gradient(to top, transparent 0, transparent 40px, #eaf0f0 41px, transparent 42px);
}

.hm-wcu-line-chart svg {
  position: absolute;
  inset: 18px 0 0;
  width: 100%;
  height: calc(100% - 18px);
  overflow: visible;
}

.hm-wcu-line-chart polyline {
  fill: none;
  stroke: var(--secondary);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
}

.hm-wcu-dashboard__revenue {
  margin-top: 5px;
  font-size: 20px !important;
}

.hm-wcu-dashboard__card--growth small em {
  margin-left: 7px;
  color: var(--secondary);
  font-style: normal;
}

.hm-wcu-dashboard__card--leads dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 15px 7px;
  margin: 30px 0 0;
}

.hm-wcu-dashboard__card--leads dt,
.hm-wcu-dashboard__card--leads dd {
  margin: 0;
  font-size: 9px;
  line-height: 1.2;
}

.hm-wcu-dashboard__card--leads dt { color: #68767a; }
.hm-wcu-dashboard__card--leads dd { color: var(--primary); font-weight: 500; }

.hm-wcu-donut {
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  margin: 18px auto 11px;
  border-radius: 50%;
  background: conic-gradient(var(--secondary) 0 54%, var(--tertiary) 54% 78%, #d8eeee 78% 100%);
}

.hm-wcu-donut::before {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  content: "";
  background: var(--white);
}

.hm-wcu-donut span {
  position: absolute;
  color: var(--primary);
  font-size: 13px;
  font-weight: 500;
}

.hm-wcu-dashboard__legend {
  display: grid;
  gap: 5px;
  color: #68767a;
  font-size: 8px;
}

.hm-wcu-dashboard__legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hm-wcu-dashboard__legend i {
  width: 6px;
  height: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--secondary);
}

.hm-wcu-dashboard__legend span:nth-child(2) i { background: var(--tertiary); }
.hm-wcu-dashboard__legend span:nth-child(3) i { background: #d8eeee; }

@media (max-width: 991px) {
  .hm-wcu {
    padding: 70px 0 78px;
  }

  .hm-wcu__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hm-wcu__reason p {
    max-width: 520px;
  }

  .hm-wcu__visual {
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 575px) {
  .hm-wcu {
    padding: 56px 0 62px;
  }

  .hm-wcu__grid {
    gap: 38px;
  }

  .hm-wcu-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-template-areas: "performance performance" "growth leads" "channels channels";
    gap: 12px;
    min-height: 0;
    transform: none;
  }

  .hm-wcu-dashboard__card {
    min-height: 195px;
    transform: none;
  }

  .hm-wcu-dashboard__card--performance { min-height: 220px; }
  .hm-wcu-dashboard__card--growth { min-height: 310px; }
  .hm-wcu-dashboard__card--leads { min-height: 310px; }
  .hm-wcu-dashboard__card--channels { min-height: 190px; }

  .hm-wcu-line-chart {
    height: 145px;
  }
}
