.hero-carousel {
  padding: 24px 0 36px;
}

.banners {
  display: grid;
  gap: 16px;
}

.banner {
  display: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 28px;
  align-items: center;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(13, 59, 79, 0.1);
  border-radius: 42px;
  background:
    radial-gradient(circle at top left, rgba(240, 109, 79, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(29, 110, 120, 0.16), transparent 30%),
    rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.banner.is-active {
  display: grid;
  animation: riseIn 0.45s ease;
}

.banner__copy {
  display: grid;
  gap: 18px;
}

.banner__copy h1 {
  font-size: clamp(2.35rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  color: var(--brand-strong);
}

.banner__copy p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.banner__visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
}

.banner__visual img {
  position: relative;
  z-index: 2;
  max-height: 420px;
  object-fit: contain;
}

.banner__visual-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
}

.banner__visual-shape--one {
  inset: 10% auto auto 6%;
  width: 120px;
  height: 120px;
  background: rgba(240, 109, 79, 0.18);
}

.banner__visual-shape--two {
  inset: auto 2% 8% auto;
  width: 180px;
  height: 180px;
  background: rgba(29, 110, 120, 0.2);
}

.floating-card {
  position: absolute;
  right: 18px;
  bottom: 24px;
  z-index: 3;
  max-width: 220px;
  padding: 16px 18px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 20px 38px rgba(13, 59, 79, 0.16);
  color: var(--brand-strong);
  font-weight: 800;
}

.floating-card span {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.94rem;
  font-weight: 600;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.carousel-dot {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(13, 59, 79, 0.16);
}

.carousel-dot.is-active {
  width: 40px;
  background: linear-gradient(135deg, var(--accent), var(--brand-soft));
}

@media (max-width: 900px) {
  .banner {
    grid-template-columns: 1fr;
  }

  .banner__visual {
    min-height: auto;
    order: -1;
  }

  .banner__visual img {
    max-height: 320px;
  }
}

@media (max-width: 640px) {
  .hero-carousel {
    padding-top: 12px;
  }

  .banner {
    border-radius: 30px;
    padding: 22px;
  }

  .banner__copy h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }

  .banner__visual img {
    max-height: 240px;
  }

  .floating-card {
    position: static;
    margin-top: 14px;
    max-width: 100%;
  }
}
