.home-hero {
  position: relative;
  min-height: min(86vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 14, 28, 0.78) 0%, rgba(6, 14, 28, 0.46) 48%, rgba(6, 14, 28, 0.22) 100%),
    url(../img/aboutcluem_hero.png) center / cover no-repeat;
}

.home-hero-copywrap {
  width: min(1120px, calc(100% - 40px));
  padding: clamp(96px, 12vw, 150px) 0 56px;
}

.home-hero h1 {
  font-size: clamp(3rem, 7.4vw, 5.4rem);
  color: #fff;
}

.home-hero-sub {
  margin: 14px 0 0;
  font-size: clamp(1.15rem, 2.4vw, 1.65rem);
  color: rgba(255, 255, 255, 0.92);
}

.home-hero-copy {
  margin: 24px 0 0;
  max-width: 34em;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.home-nowrap {
  white-space: nowrap;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.home-btn:hover {
  transform: translateY(-1px);
}

.home-btn-primary {
  background: #fd9013;
  color: #fff;
  box-shadow: 0 10px 28px rgba(253, 144, 19, 0.28);
}

.home-btn-primary:hover {
  background: #ff9d2a;
}

.home-btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(12px);
}

.home-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.home-solutions,
.home-news {
  padding: clamp(56px, 8vw, 96px) 0;
}

.home-sol-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.home-sol-grid a {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  grid-column: span 3;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 26px 24px;
  border-radius: 22px;
  background-color: #0b1220;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-sol-grid a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(6, 14, 28, 0.42) 0%, rgba(6, 14, 28, 0.82) 100%);
}

.home-sol-grid a::after {
  content: "";
  position: absolute;
  right: -36px;
  bottom: -36px;
  z-index: 0;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(253, 144, 19, 0.24), transparent 70%);
}

.home-sol-grid a > * {
  position: relative;
  z-index: 1;
}

.home-sol-grid a:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(17, 24, 39, 0.18);
}

.home-sol-featured {
  min-height: 250px;
}

.home-sol-grid a:nth-child(1),
.home-sol-grid a:nth-child(2) {
  grid-column: span 6;
}

.home-sol-ippabx {
  background-image: url(../img/oxe_hero.jpg);
}

.home-sol-cluekon {
  background-image: url(../img/cluekon_hero.jpg?v=5);
  background-position: 78% center;
}

.home-sol-rainbow {
  background-image: url(../img/rainbow_hero.jpg);
}

.home-sol-cc {
  background-image: url(../img/contactcenter_img.png);
}

.home-sol-pds {
  background-image: url(../img/pds_hero.jpg);
}

.home-sol-phone {
  background-image: url(../img/ipphone_hero.jpg?v=3);
  background-position: right center;
}

.home-sol-grid span {
  display: block;
  margin-bottom: auto;
  color: #fd9013;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55);
}

.home-sol-grid h3 {
  margin: 28px 0 10px;
  font-size: 1.25rem;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.home-sol-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.home-news {
  background: #fff;
}

.home-news-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
}

.home-news-more {
  margin-bottom: 28px;
  color: #fd9013;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.home-news-list {
  display: grid;
  gap: 12px;
}

.home-news-item,
.home-news-item:visited,
.home-news-item:hover,
.home-news-item:active {
  color: #1c1c1c;
}

.home-news-item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 16px;
  background: #f6f4f1;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.home-news-item:hover {
  transform: translateX(4px);
  background: #efeae4;
}

.home-news-item span {
  color: #fd9013;
  font-size: 0.85rem;
  font-weight: 700;
}

.home-news-item strong {
  font-size: 1rem;
  font-weight: 600;
}

.home-news-item em {
  color: #888;
  font-style: normal;
  font-size: 0.88rem;
}

.home-news-empty {
  margin: 0;
  padding: 28px 8px;
  color: #777;
}

@media (max-width: 900px) {
  .home-hero {
    text-align: center;
    background:
      linear-gradient(180deg, rgba(6, 14, 28, 0.28) 0%, rgba(6, 14, 28, 0.62) 100%),
      url(../img/aboutcluem_hero.png) center / cover no-repeat;
  }

  .home-hero-copywrap {
    padding-top: clamp(72px, 14vw, 110px);
  }

  .home-hero-copy {
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero-copy br {
    display: none;
  }

  .home-hero-actions {
    justify-content: center;
  }

  .home-sol-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-sol-grid a,
  .home-sol-grid a:nth-child(1),
  .home-sol-grid a:nth-child(2) {
    grid-column: auto;
    min-height: 180px;
  }

  .home-news-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (max-width: 560px) {
  .home-sol-grid {
    grid-template-columns: 1fr;
  }
}
