.home-hero {
  padding: 150px 24px 52px;
  min-height: 100vh;
  display: grid;
  align-content: start;
  text-align: center;
  background: var(--color-white);
  color: var(--color-dark-text);
}

.home-hero .badge {
  margin: 0 auto 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--color-border);
  background: var(--color-primary-light);
  color: var(--color-primary);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
}

.home-hero h1 {
  color: var(--color-dark-text);
}

.home-hero p {
  color: var(--color-muted);
  width: min(100%, 640px);
  margin: 18px auto 28px;
}

.hero-btns {
  justify-content: center;
  margin-top: 10px;
  margin-bottom: 36px;
}

.home-hero .btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.home-hero .btn-primary:hover {
  background: var(--color-primary-mid);
}

.home-hero .btn-outline,
.home-hero .btn-secondary {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
}

.home-hero .btn-outline:hover,
.home-hero .btn-secondary:hover {
  background: var(--color-primary-light);
}

.hero-cards-wrap {
  width: min(100%, 980px);
  margin: 0 auto;
  position: relative;
}

.hero-cards-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hero-image-card {
  --card-tilt: 0deg;
  --card-enter-x: 0px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  background: var(--color-white);
  transform: rotate(var(--card-tilt));
  transition: transform 0.85s cubic-bezier(0.18, 0.9, 0.24, 1), opacity 0.65s ease;
  will-change: transform, opacity;
}

.hero-image-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.hero-image-card:first-child {
  --card-tilt: -3deg;
  --card-enter-x: -84px;
}

.hero-image-card:nth-child(2) {
  --card-tilt: 0deg;
  --card-enter-x: 0px;
}

.hero-image-card:last-child {
  --card-tilt: 3deg;
  --card-enter-x: 84px;
}

.hero-cards-wrap.cards-reveal-ready .hero-image-card {
  opacity: 0;
  transform: translate3d(var(--card-enter-x), 120px, 0) rotate(calc(var(--card-tilt) * 2)) scale(0.92);
}

.hero-cards-wrap.cards-reveal-ready .hero-image-card.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(var(--card-tilt)) scale(1);
}

.hero-cards-wrap.cards-reveal-ready .hero-image-card:nth-child(2) {
  transition-delay: 0.1s;
}

.hero-cards-wrap.cards-reveal-ready .hero-image-card:nth-child(3) {
  transition-delay: 0.2s;
}

.hero-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(74, 26, 76, 0.25);
}

.hero-dot.active {
  background: var(--color-gold);
}
