.hero {
  position: relative;
  margin-top: -88px;
  background: var(--bg);
}

.hero-slides {
  position: relative;
  min-height: 760px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero-content {
  padding-top: 120px;
  color: #fff;
}

.hero-content h1 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.05;
  font-weight: 600;
  max-width: 620px;
}

.hero-controls {
  position: absolute;
  inset: auto 0 34px;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-arrow {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 28px;
  cursor: pointer;
}

.hero-dots {
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
}

.hero-dot.is-active {
  background: var(--brand);
}

.innovation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.innovation-card img {
  height: 44px;
  width: auto;
  margin-bottom: 28px;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: end;
}

.solution-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.solution-tag {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--brand);
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.service-stack {
  display: grid;
  gap: 28px;
}

.service-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 28px;
  align-items: center;
  padding: 34px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(241, 88, 48, 0.14), transparent 33%),
    linear-gradient(135deg, #0c1726, #17283f);
  color: #fff;
  box-shadow: 0 20px 60px rgba(7, 17, 27, 0.18);
}

.service-panel.reverse {
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
}

.service-panel.reverse .service-copy {
  order: 2;
}

.service-panel.reverse .service-media {
  order: 1;
}

.service-copy h3 {
  font-family: "Poppins", sans-serif;
}

.service-copy p {
  color: var(--text-on-dark);
  line-height: 1.75;
}

.service-media {
  border-radius: 26px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  text-align: center;
}

.testimonial-card img {
  height: 44px;
  width: auto;
  margin: 0 auto 24px;
}

.clients-section {
  overflow: hidden;
}

.client-marquee {
  position: relative;
  overflow: hidden;
  padding: 18px 0;
}

.client-marquee::before,
.client-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
}

.client-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.client-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.client-track {
  display: flex;
  align-items: center;
  gap: 56px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.client-track:hover {
  animation-play-state: paused;
}

.client-track img {
  height: 40px;
  width: auto;
  filter: grayscale(1);
  opacity: 0.9;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blog-card {
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.blog-copy {
  padding: 26px;
}

@media (max-width: 1100px) {
  .innovation-grid,
  .blog-grid,
  .testimonial-grid,
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-intro,
  .service-panel,
  .service-panel.reverse {
    grid-template-columns: 1fr;
  }

  .service-panel.reverse .service-copy,
  .service-panel.reverse .service-media {
    order: initial;
  }
}

@media (max-width: 900px) {
  .hero-slides {
    min-height: 620px;
  }
}

@media (max-width: 680px) {
  .innovation-grid,
  .blog-grid,
  .testimonial-grid,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    margin-top: -78px;
  }

  .hero-content {
    padding-top: 110px;
  }

  .hero-controls {
    bottom: 24px;
  }

  .service-panel,
  .innovation-card,
  .solution-card,
  .testimonial-card,
  .blog-copy {
    padding-left: 20px;
    padding-right: 20px;
  }

  .client-track {
    gap: 34px;
  }

  .client-track img {
    height: 30px;
  }
}
