:root {
  --forest: #16382c;
  --leaf: #2f6b4f;
  --leaf-soft: #4c8a68;
  --gold: #c4a056;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --ink: #1c241f;
  --muted: #5b665f;
  --line: #e4ddd0;
  --card: #ffffff;
  --danger: #7a3b2e;
  --shadow: 0 16px 40px rgba(22, 56, 44, 0.08);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Heebo", "Assistant", "Segoe UI", Tahoma, sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  min-height: 100vh;
}

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

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

.container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
#chrome:empty + main { padding-top: 12px; }

.skip-link {
  position: absolute; inset-inline-start: 12px; top: -40px;
  background: var(--forest); color: #fff; padding: 8px 12px; z-index: 1000;
}
.skip-link:focus { top: 12px; }

.topbar {
  background: var(--forest);
  color: #efe7d4;
  font-size: 13px;
}
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  min-height: 36px; gap: 16px;
}
.topbar a { color: #efe7d4; }
.topbar a:hover { color: var(--gold); }

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.header-row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 18px;
}
.brand {
  display: flex; align-items: center; gap: 10px; flex-shrink: 0;
}
.brand img {
  width: 48px; height: 48px; border-radius: 12px; object-fit: cover;
  border: 1px solid var(--line);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 22px; color: var(--forest); letter-spacing: -0.02em; }
.brand-text span { font-size: 12px; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav > a, .nav .drop > button {
  background: none; border: 0; font: inherit; cursor: pointer;
  padding: 10px 12px; color: var(--ink); border-radius: 8px;
}
.nav > a:hover, .nav .drop > button:hover,
.nav > a.active { color: var(--leaf); background: #edf4ee; }
.drop { position: relative; }
.drop-menu {
  display: none; position: absolute; inset-inline-start: 0; top: 100%;
  background: #fff; min-width: 240px; padding: 10px;
  border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
}
.drop:hover .drop-menu, .drop:focus-within .drop-menu { display: grid; gap: 2px; }
.drop-menu a { padding: 8px 10px; border-radius: 8px; color: var(--ink); }
.drop-menu a:hover { background: var(--cream); color: var(--forest); }

.header-tools { display: flex; align-items: center; gap: 8px; }
.search-btn, .menu-btn, .a11y-btn {
  width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer; color: var(--forest);
}
.menu-btn { display: none; }

.search-panel, .a11y-panel {
  display: none; border-top: 1px solid var(--line); background: #fff; padding: 14px 0;
}
.search-panel.open, .a11y-panel.open { display: block; }
.search-panel form { display: flex; gap: 8px; }
.search-panel input {
  flex: 1; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font: inherit;
}
.search-panel button, .btn {
  background: var(--forest); color: #fff; border: 0; border-radius: 10px;
  padding: 12px 18px; font: inherit; cursor: pointer;
}
.btn-ghost { background: #fff; color: var(--forest); border: 1px solid var(--line); }
.btn-gold { background: var(--gold); color: #1c241f; }
.order-cta {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 16px 0 20px;
}
.order-cta-side { flex-direction: column; margin: 0 0 16px; }
.order-cta-side .order-btn { width: 100%; }
.order-btn {
  display: inline-flex; align-items: center; gap: 10px;
  color: #fff; text-decoration: none; font-weight: 700;
  border-radius: 12px; padding: 12px 16px; line-height: 1.35;
  box-shadow: 0 4px 14px rgba(22, 56, 44, 0.16);
}
.order-btn:hover { color: #fff; filter: brightness(1.08); }
.order-ico { width: 22px; height: 22px; flex-shrink: 0; }
.order-wa { background: #25d366; }
.order-tg { background: #229ed9; }
.footer .order-cta { margin: 18px auto 8px; }
.footer .order-btn { color: #fff; }
.footer .order-btn:hover { color: #fff; }
.order-float {
  position: fixed; left: 14px; bottom: 16px; z-index: 90;
  display: flex; flex-direction: column; gap: 8px;
  max-width: min(280px, calc(100vw - 28px));
}
.order-float .order-btn {
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}
@media (max-width: 700px) {
  .order-float { left: 8px; bottom: 10px; max-width: min(240px, calc(100vw - 16px)); }
  .order-float .order-btn { font-size: 13px; padding: 10px 12px; }
  .order-btn span { text-align: right; }
}
.a11y-panel .tools { display: flex; flex-wrap: wrap; gap: 8px; }
.a11y-panel button {
  border: 1px solid var(--line); background: var(--cream); border-radius: 999px;
  padding: 8px 12px; cursor: pointer; font: inherit;
}

body.a11y-lg { font-size: 19px; }
body.a11y-sm { font-size: 15px; }
body.a11y-contrast { background: #000; color: #fff; }
body.a11y-contrast .site-header, body.a11y-contrast .card, body.a11y-contrast .footer,
body.a11y-contrast .drop-menu, body.a11y-contrast .article-body { background: #111; color: #fff; }
body.a11y-contrast .order-btn { outline: 1px solid #fff; }
body.a11y-readable { letter-spacing: 0.02em; word-spacing: 0.08em; }

.hero-grid {
  display: grid; grid-template-columns: 1.45fr 1fr; gap: 22px; padding: 28px 0 10px;
}
.feature-card {
  position: relative; border-radius: 22px; overflow: hidden; min-height: 460px;
  box-shadow: var(--shadow);
}
.feature-card img { width: 100%; height: 100%; object-fit: cover; min-height: 460px; }
.feature-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,56,44,0.05), rgba(22,56,44,0.82));
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
}
.kicker {
  display: inline-flex; width: fit-content; background: var(--gold); color: #1c241f;
  border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; margin-bottom: 10px;
}
.feature-card h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.25; margin-bottom: 10px; }
.side-list { display: grid; gap: 14px; }
.side-item {
  display: grid; grid-template-columns: 132px 1fr; gap: 12px; background: var(--card);
  border-radius: 16px; overflow: hidden; border: 1px solid var(--line);
}
.side-item img { width: 132px; height: 112px; object-fit: cover; }
.side-item .meta { padding: 10px 12px 12px 8px; }
.side-item h3 { font-size: 17px; line-height: 1.35; margin: 4px 0 6px; }
.muted { color: var(--muted); font-size: 14px; }
.readmore { color: var(--leaf); font-weight: 700; font-size: 14px; }

.section { padding: 36px 0; }
.section-head {
  display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px;
}
.section-head h2 { font-size: 28px; color: var(--forest); }
.cats {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
}
.cat {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 12px; text-align: center; min-height: 110px;
}
.cat strong { display: block; color: var(--forest); }
.cat span { font-size: 13px; color: var(--muted); }

.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.card img { width: 100%; height: 190px; object-fit: cover; }
.card .pad { padding: 16px; }
.card h3 { font-size: 20px; line-height: 1.35; margin: 6px 0 8px; color: var(--forest); }

.page-hero {
  padding: 36px 0 10px;
}
.page-hero h1 { font-size: clamp(30px, 5vw, 46px); color: var(--forest); line-height: 1.2; }
.crumbs { color: var(--muted); font-size: 14px; margin-bottom: 10px; }
.crumbs a:hover { color: var(--leaf); }

.layout {
  display: grid; grid-template-columns: 1fr 320px; gap: 28px; padding-bottom: 40px;
}
.article-body, .panel {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 26px;
}
.article-body p, .article-body li { margin-bottom: 16px; line-height: 1.85; font-size: 17px; }
.article-body h2, .article-body h3 { color: var(--forest); margin: 32px 0 12px; }
.article-body ul, .article-body ol { padding-inline-start: 22px; }
.lead { font-size: 19px; color: #314038; }
.cover {
  border-radius: 16px; overflow: hidden; margin: 8px 0 20px;
}
.cover img { width: 100%; height: min(420px, 52vw); object-fit: cover; }
.sidebar { display: grid; gap: 14px; align-content: start; }
.sidebar h3 { color: var(--forest); margin-bottom: 8px; }
.sidebar a { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); }

.place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px;
  margin: 16px 0 28px;
}
a.place-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  color: inherit;
  line-height: 1.35;
}
a.place-item:hover { border-color: var(--leaf); }
a.place-item small { display: block; color: #5b6b63; font-size: 12px; margin-top: 4px; }
.place-search { display: block; margin: 16px 0 8px; font-weight: 600; color: var(--forest); }
.place-search input {
  display: block; width: 100%; max-width: 420px; margin-top: 6px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 20px; }
.chip {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 7px 12px; cursor: pointer; font: inherit;
}
.chip.active, .chip:hover { background: var(--forest); color: #fff; border-color: var(--forest); }

.strain-grid, .product-grid, .doc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.strain-card, .product-card, .doc-card {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px;
}
a.strain-card, a.product-card { color: inherit; transition: border-color 0.15s, transform 0.15s; }
a.strain-card:hover, a.product-card:hover { border-color: var(--leaf); transform: translateY(-2px); }
a.strain-card img { width: 100%; height: 148px; object-fit: cover; border-radius: 10px; margin-bottom: 10px; }
.product-card img, .doc-card img {
  width: 100%; height: 168px; object-fit: cover; border-radius: 12px; margin-bottom: 10px;
}
.strain-card h3, .product-card h3 { color: var(--forest); margin-bottom: 6px; }
.badge {
  display: inline-block; background: #edf4ee; color: var(--forest);
  border-radius: 999px; padding: 3px 8px; font-size: 12px; font-weight: 700; margin-left: 6px;
}
.note {
  background: #fff7e6; border: 1px solid #ead7a2; border-radius: 12px; padding: 12px 14px; margin: 14px 0;
}
.warn {
  background: #f8ece8; border: 1px solid #e3c4bb; color: var(--danger);
  border-radius: 12px; padding: 12px 14px; margin: 14px 0;
}

.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--forest); }

.form { display: grid; gap: 10px; }
.form input, .form textarea, .form select {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font: inherit;
}
.form textarea { min-height: 140px; resize: vertical; }

.footer {
  background: var(--forest); color: #efe7d4; padding: 42px 0 18px; margin-top: 20px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 24px;
}
.footer a { color: #efe7d4; }
.footer a:hover { color: var(--gold); }
.footer h3 { color: #fff; margin-bottom: 10px; font-size: 16px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 7px; }
.legal { font-size: 13px; color: #cfc4ad; margin-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 16px; }
.legal li { margin-bottom: 8px; }
.copy { text-align: center; margin-top: 16px; font-size: 13px; color: #cfc4ad; }
.related-hubs { margin-top: 18px; font-size: 14px; line-height: 1.7; }
.related-hubs a { text-decoration: underline; }
.noscript-nav {
  display: flex; flex-wrap: wrap; gap: 10px 16px;
  padding: 10px 4%; background: var(--forest);
}
.noscript-nav a { color: #efe7d4; }
.site-index-list {
  columns: 3; column-gap: 24px; list-style: none; padding: 0; margin: 12px 0 28px;
}
.site-index-list li { break-inside: avoid; margin-bottom: 6px; padding: 0; }
.page-pager {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin: 24px 0 8px; padding: 14px 0 0; border-top: 1px solid var(--line);
}
.page-pager a { font-weight: 600; color: var(--forest); }

.mobile-nav {
  display: none; background: #fff; border-top: 1px solid var(--line); padding: 10px 0 16px;
}
.mobile-nav.open { display: grid; gap: 6px; }
.mobile-nav a { padding: 8px 4px; border-bottom: 1px solid var(--line); }

@media (max-width: 980px) {
  .hero-grid, .layout, .cards, .cats, .strain-grid, .product-grid, .doc-grid, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .site-index-list { columns: 2; }
  .nav { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .feature-card, .feature-card img { min-height: 340px; }
}

@media (max-width: 700px) {
  .hero-grid, .layout, .cards, .cats, .strain-grid, .product-grid, .doc-grid, .footer-grid, .side-item {
    grid-template-columns: 1fr;
  }
  .side-item img { width: 100%; height: 180px; }
  .header-row { min-height: 66px; }
  .site-index-list { columns: 1; }
}
