/* Homepage — Our Services */

.home-services {
  background: #fff;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.25rem, 4vw, 2.5rem);
  position: relative;
}

.home-services__inner {
  margin: 0 auto;
  max-width: 82rem;
}

.home-services__hero {
  align-items: center;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .home-services__hero {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  }
}

.home-services__content {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.home-services__badge {
  align-items: center;
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(249, 163, 28, 0.35);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(23, 23, 23, 0.05);
  display: inline-flex;
  font-family: albert, sans-serif;
  font-size: 0.88rem;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
}

.home-services__badge-dot {
  animation: home-services-pulse 2.4s ease-in-out infinite;
  background: #ff9924;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 153, 36, 0.45);
  flex-shrink: 0;
  height: 8px;
  width: 8px;
}

@keyframes home-services-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 153, 36, 0.45);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 153, 36, 0);
  }
}

.home-services__content .ourservices {
  margin: 0;
}

.home-services__content .wepower {
  background: none;
  -webkit-text-fill-color: #111;
  color: #111;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin: 0;
}

.home-services__desc {
  color: #333;
  font-size: 1.08rem;
  line-height: 1.72;
  margin: 0;
  max-width: 36rem;
}

.home-services__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.25rem;
}

.home-services__tag {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 17, 17, 0.08);
  border-radius: 999px;
  color: #444;
  font-family: albert, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.home-services__tag:hover {
  border-color: rgba(255, 153, 36, 0.45);
  color: #111;
  transform: translateY(-1px);
}

.home-services__cta {
  align-items: center;
  align-self: flex-start;
  background: linear-gradient(135deg, #ff9924 0%, #f9a31c 100%);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(255, 153, 36, 0.28);
  color: #fff;
  display: inline-flex;
  font-family: albert, sans-serif;
  font-weight: 600;
  gap: 0.45rem;
  margin-top: 0.35rem;
  min-height: 2.75rem;
  padding: 0.6rem 1.35rem;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.home-services__cta:hover {
  box-shadow: 0 16px 36px rgba(255, 153, 36, 0.34);
  transform: translateY(-2px);
}

.home-services__cta:focus-visible {
  outline: 3px solid rgba(255, 153, 36, 0.4);
  outline-offset: 3px;
}

.home-services__cta i {
  font-size: 0.85rem;
  transition: transform 0.22s ease;
}

.home-services__cta:hover i {
  transform: translateX(3px);
}

/* Hero image */
.home-services__visual {
  align-items: center;
  display: flex;
  justify-content: center;
}

.home-services__image {
  display: block;
  height: auto;
  max-width: min(100%, 34rem);
  width: 100%;
}

/* Service cards */
.home-services__cards {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  margin-top: clamp(2.5rem, 5vw, 3.75rem);
}

@media (min-width: 640px) {
  .home-services__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .home-services__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.home-services__card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 1.15rem;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  overflow: hidden;
  padding: 1.35rem 1.25rem 1.4rem;
  position: relative;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.home-services__card::before {
  background: linear-gradient(180deg, #ff9924 0%, #f9a31c 100%);
  content: "";
  height: 100%;
  left: 0;
  opacity: 0;
  position: absolute;
  top: 0;
  transition: opacity 0.25s ease;
  width: 4px;
}

.home-services__card:hover,
.home-services__card:focus-within {
  border-color: rgba(255, 153, 36, 0.42);
  box-shadow: 0 18px 42px rgba(255, 153, 36, 0.14);
  transform: translateY(-4px);
}

.home-services__card:hover::before,
.home-services__card:focus-within::before {
  opacity: 1;
}

.home-services__card-icon-wrap {
  align-items: center;
  background: linear-gradient(145deg, #fff7eb 0%, #fff 100%);
  border: 1px solid rgba(255, 153, 36, 0.22);
  border-radius: 1rem;
  display: inline-flex;
  height: 3.25rem;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: 3.25rem;
}

.home-services__card:hover .home-services__card-icon-wrap,
.home-services__card:focus-within .home-services__card-icon-wrap {
  box-shadow: 0 8px 20px rgba(255, 153, 36, 0.2);
  transform: scale(1.06);
}

.home-services__card-icon {
  height: 2.25rem;
  object-fit: contain;
  width: 2.25rem;
}

.home-services__card-title {
  color: #111;
  font-family: albert, sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.home-services__card-text {
  color: #555;
  font-size: 0.96rem;
  line-height: 1.62;
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  .home-services__badge-dot {
    animation: none;
  }

  .home-services__card,
  .home-services__cta,
  .home-services__tag {
    transition: none;
  }
}
