:root {
  --bg: #f9f8f2;
  --card: #ffffff;
  --accent: #148a45;
  --text: #1f2520;
  --muted: #5f6761;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, #ffffff 0%, transparent 40%),
    linear-gradient(160deg, #f2f6e9 0%, var(--bg) 45%, #fff6dc 100%);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #e8ebde;
  backdrop-filter: blur(8px);
}

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

.brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #0e612f);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.brand h1 {
  margin: 0;
  font-size: 1.1rem;
}

.brand p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.menu a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 999px;
}

.menu a:hover {
  background: #eff5e9;
}

main {
  max-width: 1160px;
  margin: 24px auto 60px;
  padding: 0 16px;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
  background: var(--card);
}

.carousel-track {
  display: grid;
}

.slide {
  display: none;
  position: relative;
}

.slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.slide img {
  width: 100%;
  height: min(60vh, 460px);
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  left: 20px;
  bottom: 18px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 14px 16px;
  border-radius: 12px;
  max-width: 70%;
}

.slide-caption h2 {
  margin: 0 0 6px;
}

.slide-caption p {
  margin: 0;
  font-size: 0.92rem;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
}

.carousel-btn.prev {
  left: 12px;
}

.carousel-btn.next {
  right: 12px;
}

.supplier-line {
  margin: 34px 0;
  text-align: center;
}

.supplier-line h3,
.poll-card h2,
.tips-section h3,
.videos-section h3 {
  margin-bottom: 12px;
}

.mini-carousel {
  overflow: hidden;
  border-radius: 14px;
  background: #0f1b14;
  padding: 10px 0;
  box-shadow: var(--shadow);
}

.mini-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: slideBrands 18s linear infinite;
}

.chip {
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
  margin-left: 14px;
}

.poll-section {
  display: flex;
  justify-content: center;
  margin: 22px 0 36px;
}

.poll-card {
  width: min(800px, 100%);
  background: var(--card);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid #edf1e2;
}

.poll-card p {
  line-height: 1.45;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.poll-form {
  display: grid;
  gap: 10px;
}

.poll-form label {
  font-weight: 600;
}

.poll-form input {
  margin-right: 8px;
}

textarea {
  width: 100%;
  border: 1px solid #c8d1bf;
  border-radius: 10px;
  padding: 10px;
  font-family: inherit;
}

button {
  background: linear-gradient(120deg, var(--accent), #0f5f30);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 16px;
  font-weight: 700;
  width: fit-content;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.05);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}

.tips-grid article {
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.videos-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px;
}

.videos-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

footer {
  text-align: center;
  padding: 20px 16px 30px;
  color: var(--muted);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@media (max-width: 840px) {
  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .slide-caption {
    max-width: 88%;
  }
}
