:root {
  --text: #111;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #ececec;
  color: var(--text);
}

.top-header {
  height: 96px;
  background: #fff;
  border-radius: 14px 14px 0 0;
  margin: 4px 4px 0;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.flower {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: conic-gradient(#21a5de 0 20%, #f3a21b 20% 40%, #8ac640 40% 60%, #cfdb2a 60% 80%, #21a5de 80% 100%);
}

.brand-name {
  font-size: 28px;
  font-weight: 400;
}

.brand-name span {
  font-weight: 700;
}

.hero {
  position: relative;
  height: calc(100vh - 112px);
  min-height: 620px;
  margin: 0 4px 4px;
  overflow: hidden;
}

.hero-track {
  display: flex;
  height: 100%;
  transition: transform 700ms ease;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 42%, rgba(0, 0, 0, 0.1) 100%);
}

.left-copy {
  position: absolute;
  left: 3.5%;
  top: 8%;
  z-index: 2;
  width: min(52%, 780px);
}

.left-copy h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.nav-btn.prev {
  left: 18px;
}

.nav-btn.next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 38px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}

.dot {
  width: 46px;
  height: 5px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.48);
  cursor: pointer;
}

.dot.is-active {
  background: #fff;
}

@media (max-width: 1200px) {
  .top-header {
    padding: 0 16px;
    height: 78px;
  }

  .brand-name {
    font-size: 28px;
  }

  .hero {
    height: calc(100vh - 92px);
    min-height: 480px;
  }

  .left-copy {
    width: 72%;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 420px;
  }

  .left-copy {
    width: 88%;
    top: 10%;
    left: 5%;
  }

  .left-copy h1 {
    font-size: 26px;
  }

  .nav-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
}
