:root {
  --green: #5aaa2e;
  --green-dark: #2b5c34;
  --green-nav: #2a5a32;
  --green-deep: #1d3f24;
  --orange: #e9a318;
  --orange-hover: #d4920f;
  --text: #2f2f2f;
  --muted: #6a6a6a;
  --line: #e4e4e4;
  --bg: #fff;
  --bg-soft: #f3f3f3;
  --topbar: #ececec;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  --radius: 6px;
  --max: 1180px;
  --font: "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--green-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  margin: 0 0 18px;
  color: var(--green);
  font-size: clamp(26px, 3vw, 34px);
}

/* Top bar */
.topbar {
  background: var(--topbar);
  font-size: 14px;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 36px;
}

.topbar a {
  color: #444;
}

.topbar-left,
.topbar-right {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.icon-link {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

/* Brand header */
.brandbar {
  background: #fff;
}

.brandbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 86px;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
}

.logo-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.logo-text {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.logo-text span {
  color: var(--green);
}

.logo-text b {
  color: #222;
  font-weight: 800;
}

.brand-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  font-size: 15px;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #333;
}

.flag {
  width: 20px;
  height: 14px;
  border: 1px solid #ccc;
  background: linear-gradient(#000 33%, #dd0000 33% 66%, #ffcc00 66%);
}

/* Nav */
.nav {
  background: var(--green-nav);
}

.nav .wrap {
  display: flex;
  align-items: center;
  min-height: 52px;
  gap: 8px;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  gap: 4px;
}

.nav-links a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 16px;
}

.nav-links a:hover,
.nav-links a.is-active {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  padding: 8px 4px;
}

.home-ico {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  min-height: 390px;
  background:
    linear-gradient(90deg, rgba(18, 32, 18, 0.78) 0%, rgba(18, 32, 18, 0.42) 52%, rgba(18, 32, 18, 0.18) 100%),
    url("../img/hero-pellets.svg") center / cover no-repeat;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
  padding: 48px 0 56px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: 18px;
}

.check {
  color: var(--green);
  font-weight: 800;
  line-height: 1.2;
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border-radius: 8px;
  padding: 22px 22px 20px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin: 0 0 6px;
  color: var(--text);
  font-size: 22px;
}

.hero-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 15px;
}

.search-row {
  display: flex;
  gap: 0;
}

.search-row input {
  flex: 1;
  border: 1px solid #ccc;
  border-right: 0;
  border-radius: 4px 0 0 4px;
  padding: 12px 14px;
  font: inherit;
  min-width: 0;
}

.search-row button,
.btn {
  border: 0;
  background: var(--orange);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  padding: 12px 18px;
}

.search-row button {
  border-radius: 0 4px 4px 0;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  text-decoration: none;
}

.btn:hover,
.search-row button:hover {
  background: var(--orange-hover);
  text-decoration: none;
}

.btn-outline {
  background: #fff;
  color: var(--green-dark);
  border: 2px solid var(--green);
}

.btn-outline:hover {
  background: var(--green);
  color: #fff;
}

.trust-row {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.stars {
  color: #f5b301;
  letter-spacing: 1px;
}

.trust-box {
  background: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  color: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.trust-box strong {
  display: block;
  font-size: 16px;
}

/* Insight strip */
.insight {
  padding: 36px 0 20px;
}

.insight h2 {
  margin-bottom: 22px;
}

.insight-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 1fr;
  gap: 28px;
}

.col-title {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 22px;
}

.news-meta {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 10px;
}

.news-lead {
  margin: 0 0 12px;
}

.more {
  font-weight: 700;
  color: var(--green-dark);
}

.price-block {
  border-top: 1px solid var(--line);
  padding: 12px 0;
}

.price-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.price-label {
  font-weight: 700;
}

.price-value {
  font-size: 28px;
  font-weight: 800;
  margin: 4px 0;
}

.delta.up {
  color: #c0392b;
}

.delta.down {
  color: #1e8a3a;
}

.chart-note {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
}

.chart-wrap {
  background: #fafafa;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px 8px 4px;
}

.chart-wrap svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Steps */
.steps {
  background: var(--bg-soft);
  padding: 42px 0;
  text-align: center;
}

.steps h2 {
  margin-bottom: 8px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
  text-align: left;
}

.step {
  background: #fff;
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.step-num {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 12px;
}

.step h3 {
  margin: 0 0 8px;
}

.step p {
  margin: 0;
  color: var(--muted);
}

/* Reviews */
.reviews {
  padding: 48px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 24px 0 28px;
}

.stat {
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
}

.stat b {
  display: block;
  font-size: 28px;
  color: var(--green-dark);
}

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.quote {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}

.quote p {
  margin: 8px 0 0;
}

/* Cards */
.section {
  padding: 46px 0;
}

.section.alt {
  background: var(--bg-soft);
}

.cards-4,
.cards-3,
.cards-2 {
  display: grid;
  gap: 18px;
}

.cards-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.cards-2 {
  grid-template-columns: 1fr 1fr;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card h3 {
  margin: 0;
  font-size: 20px;
}

.card p {
  margin: 0;
  color: var(--muted);
  flex: 1;
}

.rating {
  color: #f5b301;
  font-size: 14px;
}

.guide-banner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.guide-visual {
  min-height: 240px;
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(26, 50, 28, 0.15), rgba(26, 50, 28, 0.35)),
    url("../img/hero-pellets.svg") center / cover;
}

.reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.reason h3 {
  margin: 0 0 8px;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.compare-card {
  color: #fff;
  border-radius: 10px;
  min-height: 220px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.15), rgba(20, 20, 20, 0.72)),
    url("../img/hero-pellets.svg") center / cover;
}

.compare-card.bags {
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.1), rgba(20, 20, 20, 0.7)),
    radial-gradient(circle at 30% 20%, #c9a06a 0 12px, transparent 13px),
    #6b4423;
}

.compare-card h3 {
  margin: 0 0 8px;
  font-size: 26px;
}

.compare-card p {
  margin: 0 0 14px;
}

.compare-card .btn {
  align-self: flex-start;
}

.newsletter {
  background: var(--green-nav);
  color: #fff;
  padding: 42px 0;
}

.newsletter h2 {
  color: #fff;
}

.newsletter p {
  max-width: 640px;
}

.newsletter-form {
  display: flex;
  max-width: 520px;
  margin-top: 16px;
}

.newsletter-form input {
  flex: 1;
  border: 0;
  padding: 12px 14px;
  font: inherit;
  border-radius: 4px 0 0 4px;
}

.newsletter-form button {
  border-radius: 0 4px 4px 0;
}

.ok-msg {
  display: none;
  margin-top: 10px;
  font-weight: 700;
}

.ok-msg.show {
  display: block;
}

/* Tools */
.tool-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.tool {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
}

.tool label {
  display: block;
  font-size: 14px;
  margin: 10px 0 4px;
  color: var(--muted);
}

.tool input,
.tool select,
.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px 12px;
  font: inherit;
}

.tool-result {
  margin-top: 14px;
  background: #f6faf4;
  border-radius: 6px;
  padding: 12px;
  font-weight: 700;
}

/* Page hero */
.page-hero {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 28px 0 24px;
}

.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 40px);
}

.crumbs {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 36px;
  padding: 36px 0 56px;
}

.prose h2 {
  font-size: 26px;
  margin: 28px 0 10px;
}

.prose p {
  margin: 0 0 14px;
}

.prose ul {
  padding-left: 20px;
}

.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}

.side-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.side-card a {
  display: block;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
}

.side-card a:last-child {
  border-bottom: 0;
}

.list-article {
  display: grid;
  gap: 14px;
}

.list-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.list-item .thumb {
  height: 86px;
  border-radius: 6px;
  background: url("../img/hero-pellets.svg") center / cover;
}

.tag {
  display: inline-block;
  background: #eaf6e3;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  margin-bottom: 6px;
}

.keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-cloud a {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 14px;
  color: var(--green-dark);
  text-decoration: none;
}

.keyword-cloud a:hover {
  border-color: var(--green);
  background: #eaf6e3;
  text-decoration: none;
}

.form {
  max-width: 560px;
  display: grid;
  gap: 12px;
}

.form button {
  justify-self: start;
}

.contact-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

.contact-details {
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 20px;
}

.contact-details h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.contact-details p {
  margin: 0 0 12px;
}

.contact-details span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

/* Footer */
.footer {
  background: #f7f7f7;
  border-top: 1px solid var(--line);
  padding: 36px 0 18px;
  font-size: 15px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer h3 {
  margin: 0 0 10px;
  font-size: 16px;
}

.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer li {
  margin: 6px 0;
}

.footer a {
  color: #444;
}

.copy {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.note {
  font-size: 13px;
  color: var(--muted);
}

/* Mobile */
@media (max-width: 980px) {
  .hero .wrap,
  .insight-grid,
  .guide-banner,
  .article-layout,
  .cards-4,
  .footer-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .steps-grid,
  .quotes,
  .stats,
  .reasons,
  .cards-3,
  .tool-grid,
  .compare,
  .cards-2 {
    grid-template-columns: 1fr;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    background: var(--green-deep);
    z-index: 20;
  }

  .nav {
    position: relative;
  }

  .nav.is-open .nav-links {
    display: flex;
  }

  .brand-actions .hide-sm {
    display: none;
  }

  .list-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .topbar-left {
    display: none;
  }

  .search-row,
  .newsletter-form {
    flex-direction: column;
  }

  .search-row input,
  .search-row button,
  .newsletter-form input,
  .newsletter-form button {
    border-radius: 4px;
    width: 100%;
  }
}
