:root {
  --cream: #f8f5ef;
  --sand: #eadfce;
  --leaf: #4c7a4f;
  --leaf-dark: #274b31;
  --mint: #dfeadd;
  --clay: #b07955;
  --ink: #2c2421;
  --muted: #73675f;
  --white: #fffdf8;
  --shadow: 0 18px 50px rgba(44, 36, 33, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.6;
  background:
    radial-gradient(circle at 12% 12%, rgba(76, 122, 79, 0.12), transparent 30%),
    radial-gradient(circle at 90% 28%, rgba(176, 121, 85, 0.13), transparent 26%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(76, 70, 61, 0.12);
  background: rgba(248, 245, 239, 0.9);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 260px;
  font-weight: 800;
  color: var(--leaf-dark);
}

.brand span {
  line-height: 1.05;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 50%;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.95rem;
}

.main-nav a:hover {
  color: var(--leaf-dark);
}

.header-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  border: 0;
  padding: 0 20px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.header-cta,
.primary-button {
  background: var(--leaf);
  color: white;
  box-shadow: 0 12px 28px rgba(39, 75, 49, 0.22);
}

.secondary-button {
  border: 1px solid rgba(39, 75, 49, 0.2);
  background: var(--white);
  color: var(--leaf-dark);
}

.header-cta:hover,
.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(44, 36, 33, 0.15);
  border-radius: 50%;
  background: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
  padding: clamp(48px, 7vw, 92px) clamp(18px, 5vw, 72px) 34px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--leaf-dark);
  font-size: clamp(3rem, 8vw, 6.7rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 16px;
  color: var(--leaf-dark);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.3rem;
}

.hero-copy > p:not(.eyebrow),
.section-heading p,
.quiz-copy p,
.story-section p,
.contact-section p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(150deg, rgba(255, 253, 248, 0.88), rgba(223, 234, 221, 0.86)),
    repeating-linear-gradient(135deg, rgba(39, 75, 49, 0.08) 0 1px, transparent 1px 28px);
  box-shadow: var(--shadow);
}

.hero-visual {
  background-image:
    linear-gradient(150deg, rgba(255, 253, 248, 0.88), rgba(223, 234, 221, 0.86)),
    url("assets/cannabis-bg.webp");
  background-size: cover;
  background-position: center;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: auto -10% -18% -10%;
  height: 44%;
  background: rgba(76, 122, 79, 0.16);
  border-radius: 50% 50% 0 0;
}

.hero-badge {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 3;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--white);
  color: var(--leaf-dark);
  font-weight: 800;
  box-shadow: var(--shadow);
}

.hero-product {
  position: absolute;
  z-index: 2;
  object-fit: contain;
  filter: drop-shadow(0 24px 26px rgba(44, 36, 33, 0.18));
}

.hero-product-main {
  width: min(78%, 460px);
  left: 8%;
  bottom: 4%;
}

.hero-product-side {
  width: min(48%, 275px);
  right: 3%;
  bottom: 0;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border-radius: 20px;
  background: rgba(39, 75, 49, 0.12);
  box-shadow: var(--shadow);
}

.trust-strip div {
  padding: 24px;
  background: var(--white);
  text-align: center;
}

.trust-strip strong {
  display: block;
  color: var(--leaf);
  font-size: clamp(1.8rem, 3vw, 3rem);
}

.trust-strip span {
  color: var(--muted);
  font-weight: 700;
}

.section,
.quiz-section,
.story-section,
.contact-section,
.catalog-hero {
  padding: clamp(64px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.benefit-grid,
.product-grid,
.license-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.benefit-card,
.product-card,
.quiz-card,
.story-panel,
.contact-form,
.faq-list details {
  border: 1px solid rgba(39, 75, 49, 0.12);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.84);
  box-shadow: 0 14px 35px rgba(44, 36, 33, 0.08);
}

.benefit-card,
.product-card {
  padding: 24px;
}

.benefit-icon {
  display: inline-flex;
  margin-bottom: 26px;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--mint);
  color: var(--leaf-dark);
  font-weight: 900;
  font-size: 0.84rem;
}

.benefit-card p,
.product-card p {
  color: var(--muted);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tags span {
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(76, 122, 79, 0.1);
  color: var(--leaf-dark);
  font-weight: 750;
  font-size: 0.82rem;
}

.quiz-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 30px;
  align-items: start;
  background: linear-gradient(180deg, rgba(223, 234, 221, 0.7), rgba(248, 245, 239, 0));
}

.quiz-card {
  padding: clamp(22px, 4vw, 34px);
}

.quiz-progress {
  display: grid;
  gap: 10px;
  color: var(--leaf-dark);
  font-weight: 850;
}

.quiz-progress div {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(39, 75, 49, 0.12);
}

#quizBar {
  display: block;
  width: 25%;
  height: 100%;
  border-radius: inherit;
  background: var(--leaf);
  transition: width 220ms ease;
}

#quizQuestion {
  margin: 26px 0 18px;
}

.quiz-options {
  display: grid;
  gap: 10px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(39, 75, 49, 0.13);
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-weight: 750;
  text-align: left;
  cursor: pointer;
}

.quiz-option::before {
  content: "";
  width: 16px;
  height: 16px;
  border: 2px solid rgba(39, 75, 49, 0.35);
  border-radius: 50%;
}

.quiz-option.selected {
  border-color: var(--leaf);
  background: var(--mint);
}

.quiz-option.selected::before {
  background: var(--leaf);
  box-shadow: inset 0 0 0 4px var(--mint);
}

.quiz-controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.quiz-result {
  margin-top: 16px;
  border-radius: 16px;
  padding: 18px;
  background: var(--leaf-dark);
  color: white;
}

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

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

.product-card {
  position: relative;
  overflow: hidden;
  padding-top: 18px;
}

.product-card img {
  width: min(100%, 280px);
  aspect-ratio: 1;
  object-fit: contain;
  margin: 0 auto 12px;
}

.product-card.featured {
  border-color: rgba(76, 122, 79, 0.4);
}

.product-label {
  position: absolute;
  top: 16px;
  left: 16px;
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--clay);
  color: white;
  font-size: 0.78rem;
  font-weight: 900;
}

.product-button {
  width: 100%;
  margin-top: 22px;
}

.story-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: center;
  background: var(--leaf-dark);
  color: white;
}

.story-section h2,
.story-section .eyebrow {
  color: white;
}

.story-section p,
.story-list {
  color: rgba(255, 255, 255, 0.78);
}

.story-list {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding-left: 20px;
}

.story-panel {
  padding: 28px;
  background: #fff8ec;
  color: var(--leaf-dark);
  text-align: center;
}

.story-panel img {
  width: 190px;
  margin: 0 auto 12px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 920px;
}

.faq-list details {
  padding: 0 20px;
}

.faq-list summary {
  padding: 20px 0;
  color: var(--leaf-dark);
  font-weight: 850;
  cursor: pointer;
}

.faq-list p {
  margin-bottom: 20px;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 520px);
  gap: 30px;
  align-items: start;
}

.contact-facts,
.contact-card {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  color: var(--leaf-dark);
  font-weight: 850;
}

.contact-facts a,
.contact-card a {
  color: var(--leaf);
}

.catalog-hero {
  min-height: 46vh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(248, 245, 239, 0.95), rgba(248, 245, 239, 0.68)),
    url("assets/cannabis-bg.webp");
  background-position: center;
  background-size: cover;
}

.catalog-hero h1 {
  margin-bottom: 16px;
}

.catalog-hero p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
}

.catalog-section {
  padding-top: 42px;
}

.catalog-toolbar {
  position: sticky;
  top: 74px;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
  padding: 12px;
  border: 1px solid rgba(39, 75, 49, 0.12);
  border-radius: 18px;
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(14px);
}

.filter-button {
  min-height: 40px;
  border: 1px solid rgba(39, 75, 49, 0.18);
  border-radius: 999px;
  padding: 0 16px;
  background: var(--white);
  color: var(--leaf-dark);
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.filter-button.active {
  background: var(--leaf);
  color: white;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.catalog-card {
  display: grid;
  align-content: start;
}

.catalog-card[hidden] {
  display: none;
}

.catalog-card h3 {
  min-height: 62px;
}

.product-actions {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.product-actions .primary-button,
.product-actions .secondary-button {
  width: 100%;
}

.compact-contact {
  padding-top: 64px;
}

.contact-card {
  border: 1px solid rgba(39, 75, 49, 0.12);
  border-radius: 18px;
  padding: 26px;
  background: var(--white);
  box-shadow: 0 14px 35px rgba(44, 36, 33, 0.08);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 26px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--leaf-dark);
  font-weight: 800;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(39, 75, 49, 0.16);
  border-radius: 12px;
  padding: 0 14px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--leaf-dark);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 72px);
  background: #211b19;
  color: white;
}

.site-footer p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .site-header.menu-open .main-nav {
    display: grid;
    grid-column: 1 / -1;
    justify-self: stretch;
    gap: 8px;
    padding: 12px 0;
  }

  .site-header.menu-open .main-nav a {
    border-radius: 12px;
    padding: 12px;
    background: var(--white);
  }

  .hero,
  .quiz-section,
  .story-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 430px;
  }

  .benefit-grid,
  .product-grid,
  .license-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-section {
    background: var(--leaf-dark);
  }
}

@media (max-width: 680px) {
  h1 {
    font-size: 3.2rem;
  }

  .hero-actions,
  .quiz-controls,
  .site-footer {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .trust-strip,
  .benefit-grid,
  .product-grid,
  .license-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-toolbar {
    position: static;
  }

  .hero-visual {
    min-height: 360px;
    border-radius: 20px;
  }

  .hero-product-main {
    width: 82%;
    left: 0;
  }

  .hero-product-side {
    width: 46%;
  }
}
