:root {
  --green: #1a7a4a;
  --green-2: #2db870;
  --forest: #0a2e18;
  --ink: #1a2a1e;
  --muted: #5a7060;
  --line: #c8ddd0;
  --soft: #edf7f1;
  --card: #ffffff;
  --orange: #ff9f00;
  --shadow: 0 18px 42px rgba(10, 46, 24, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Segoe UI', Roboto, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #f4faf6;
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; }
.container { width: min(1180px, calc(100% - 32px)); margin: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 2px solid rgba(200, 221, 208, 0.9);
  backdrop-filter: blur(14px);
}
.topbar {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo-text {
  font-size: 22px;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -0.5px;
  line-height: 1;
}
.logo-text span { color: var(--orange); }
.logo img {
  display: block;
  width: 230px;
  height: auto;
  object-fit: contain;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a,
.back-link,
.inline-back {
  color: #162b1e;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 9px 14px;
  background: transparent;
  cursor: pointer;
  font: inherit;
  line-height: 1.1;
  font-size: 15px;
}
.nav a:hover,
.back-link:hover,
.inline-back:hover {
  color: var(--green);
  background: var(--soft);
  border-color: #b8d8c4;
}
.nav-toggle {
  display: none;
  border: 1px solid #b0cdb8;
  background: #fff;
  color: var(--ink);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 900;
}

.search-strip {
  background: linear-gradient(135deg, var(--forest), #1a5c35);
  padding: 22px 0;
}
.search-form {
  display: flex;
  gap: 14px;
  max-width: 1000px;
  margin: auto;
}
.search-form input {
  flex: 1;
  min-width: 0;
  height: 50px;
  border-radius: 12px;
  border: 1px solid #a0c4ae;
  padding: 0 18px;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
}
.search-form button {
  min-width: 170px;
  height: 50px;
  border-radius: 12px;
  border: 0;
  background: var(--orange);
  color: #1a1000;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  transition: filter 0.15s, transform 0.15s;
}
.search-form button:hover { filter: brightness(0.95); transform: translateY(-1px); }

.hero {
  background:
    radial-gradient(circle at 18% 22%, rgba(45, 184, 112, 0.5), transparent 32%),
    radial-gradient(circle at 82% 12%, rgba(255, 159, 0, 0.38), transparent 26%),
    linear-gradient(140deg, #0f4d28 0%, #071e10 100%);
  color: #fff;
  text-align: center;
  padding: 100px 16px 96px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 62px);
  line-height: 1.05;
  margin: 0 0 14px;
  font-weight: 950;
  letter-spacing: -1px;
}
.hero h1 em {
  font-style: normal;
  color: var(--orange);
}
.hero p {
  width: min(760px, 100%);
  margin: 0 auto 40px;
  font-size: 21px;
  color: rgba(255, 255, 255, 0.86);
}
.hero .search-form { max-width: 820px; }
.hero .search-form input {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.44);
  color: #fff;
}
.hero .search-form input::placeholder { color: rgba(255, 255, 255, 0.82); }

.search-hero {
  background: linear-gradient(135deg, #e8f6ed, #ffffff);
  border-bottom: 1px solid var(--line);
  padding: 44px 0 34px;
}
.search-hero h1 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  margin: 14px 0 22px;
}
.search-form-large { margin: 0; max-width: 900px; }
.search-info { color: var(--muted); font-weight: 700; margin: 16px 0 0; }
.inline-back { padding-left: 0; }
.search-tools { margin-bottom: 22px; }
.quick-searches { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-weight: 800; }
.quick-searches a {
  color: var(--green);
  text-decoration: none;
  background: #dff2e8;
  border: 1px solid #c0deca;
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 14px;
}

.az { padding: 40px 0 68px; background: #fff; }
.az-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  border-bottom: 2px solid var(--line);
  margin-bottom: 26px;
  padding: 0 6px 10px;
}
.az-head b { letter-spacing: 8px; color: #0d4a28; font-size: 15px; }
.az-head a { color: var(--green); text-decoration: none; font-weight: 900; }
.cat-grid {
  background: var(--soft);
  border: 1px solid #c4dece;
  border-radius: 10px;
  padding: 26px 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 30px;
}
.cat-grid a {
  display: block;
  padding: 17px 0 17px 24px;
  border-bottom: 1px solid #bcd4c5;
  color: #1e3628;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  position: relative;
}
.cat-grid a::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.7;
}
.cat-grid a:hover { color: var(--green); background: rgba(45,184,112,0.06); border-radius: 4px; }
.cat-grid a:last-child { border-bottom: none; }

.page { padding: 36px 0 60px; }
.page > .container > h1 {
  font-size: clamp(26px, 3.5vw, 40px);
  margin: 0 0 28px;
  color: var(--ink);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(10,46,24,0.07);
  transition: transform 0.18s, box-shadow 0.18s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(10,46,24,0.13); }
.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.card-body { padding: 20px 22px 22px; }
.badge {
  display: inline-block;
  background: var(--soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid #b4d9c0;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 10px;
}
.card-body h2 {
  font-size: 18px;
  margin: 0 0 10px;
  line-height: 1.3;
  font-weight: 800;
}
.card-body p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.55;
}
.read-more,
.card-body a[href] {
  display: inline-block;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
  font-size: 15px;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 1px;
}
.read-more:hover,
.card-body a[href]:hover { color: #0d4a28; }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 36px;
  align-items: start;
}
.article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px 40px;
}
.article h1 {
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
  margin: 0 0 26px;
  color: var(--ink);
}
.article h2 {
  font-size: 22px;
  margin: 30px 0 12px;
  color: #0d3d20;
  font-weight: 850;
}
.article p {
  margin: 0 0 18px;
  color: #2a3d30;
}
.article ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.article ul li {
  margin-bottom: 8px;
  color: #2a3d30;
}

.guide-box {
  background: linear-gradient(135deg, #edf7f1, #f6fbf8);
  border: 1.5px solid #b4d9c0;
  border-radius: 14px;
  padding: 22px 26px;
  margin: 0 0 26px;
}
.guide-box h2 {
  margin: 0 0 16px;
  font-size: 18px;
  color: var(--forest);
}
.guide-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.guide-icon { font-size: 26px; flex-shrink: 0; line-height: 1; }
.guide-row p { margin: 0; font-size: 15px; }

.cta-list { margin: 22px 0; display: flex; flex-direction: column; gap: 8px; }
.cta-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  background: var(--soft);
  border: 1px solid #c0deca;
  border-radius: 10px;
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.14s;
}
.cta-list a:hover { background: #d4eedd; border-color: #9ec9ad; }
.cta-list a span:last-child { color: var(--orange); font-size: 18px; font-weight: 900; }

.side-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 22px;
  display: block;
}
.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  position: sticky;
  top: 96px;
}
.side-card h2 {
  font-size: 17px;
  margin: 0 0 16px;
  color: var(--forest);
  border-bottom: 2px solid var(--orange);
  padding-bottom: 10px;
}
.side-card a {
  display: block;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}
.side-card a:last-child { border-bottom: none; }
.side-card a:hover { color: #0d4a28; }

.legal { max-width: 860px; padding: 36px 0 60px; }
.legal h1 { font-size: clamp(28px, 4vw, 42px); margin: 0 0 28px; }
.legal h2 { font-size: 22px; margin: 28px 0 10px; color: #0d3d20; }
.legal h3 { font-size: 18px; margin: 22px 0 8px; }
.legal p { margin: 0 0 16px; color: #2a3d30; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal ul li { margin-bottom: 8px; color: #2a3d30; }

.yellow-btn {
  display: inline-block;
  background: var(--orange);
  color: #111;
  text-decoration: none;
  border-radius: 10px;
  padding: 14px 22px;
  font-weight: 950;
  font-size: 15px;
  margin-top: 8px;
  transition: filter 0.15s;
}
.yellow-btn:hover { filter: brightness(0.95); }

.ad-slot,
.rsoc-slot {
  min-height: 180px;
  background: #f0f8f3;
  border: 1px dashed #b4c9bc;
  border-radius: 10px;
  margin: 24px 0;
}

.comparison {
  border-collapse: collapse;
  width: 100%;
  margin: 18px 0;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.comparison th { background: var(--forest); color: #fff; }
.comparison th,
.comparison td { border: 1px solid #c4d8cc; padding: 10px 12px; text-align: left; font-size: 15px; }
.comparison tr:nth-child(even) td { background: #f4faf6; }

.cookie {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 18px;
  background: #0a2010;
  color: #e8f5ec;
  padding: 18px 20px;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.32);
  display: none;
  z-index: 40;
  border: 1px solid rgba(45,184,112,0.3);
}
.cookie p { margin: 0 0 12px; font-size: 15px; }
.cookie button {
  padding: 10px 18px;
  border-radius: 8px;
  border: 0;
  margin-right: 10px;
  font-weight: 900;
  cursor: pointer;
  font-size: 14px;
}
#cookie-accept { background: var(--orange); color: #1a1000; }
#cookie-reject { background: #2a4030; color: #c8e0d0; }
.cookie-actions { display: flex; gap: 0; flex-wrap: wrap; }

.site-footer {
  background: var(--forest);
  color: #c8e0d0;
  padding: 36px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.footer-brand .logo-text {
  color: #fff;
  font-size: 24px;
}
.footer-brand .logo-text span { color: var(--orange); }
.footer-brand p { margin: 14px 0 0; color: #92b8a0; font-size: 15px; line-height: 1.6; }
.foot-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 20px;
}
.foot-links a {
  color: #c0d8c8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.foot-links a:hover { color: var(--orange); }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 26px;
  padding-top: 18px;
  text-align: center;
  color: #7a9e88;
  font-size: 14px;
}

@media (max-width: 960px) {
  .topbar { min-height: 70px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 12px;
    justify-content: flex-start;
    z-index: 40;
  }
  .nav.is-open { display: flex; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); padding: 22px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .footer-grid { grid-template-columns: 1fr; }
  .foot-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 24px, 1180px); }
  .search-form { flex-direction: column; }
  .search-form button { width: 100%; }
  .hero { padding: 70px 14px; }
  .hero p { font-size: 18px; }
  .cat-grid,
  .cards,
  .foot-links { grid-template-columns: 1fr; }
  .legal,
  .article { padding: 22px; }
  .article h2 { font-size: 20px; }
}

/* SERP */
.serp-body { background: #fff; }
.serp-search-strip {
  background: #071e10;
  padding: 18px 0;
}
.serp-search-form {
  width: min(1138px, calc(100% - 32px));
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px;
  margin: 0 auto;
}
.serp-search-form input {
  height: 44px;
  border-radius: 12px;
  border: 1px solid #8abaa0;
  background: #fff;
}
.serp-search-form button {
  height: 44px;
  min-width: 0;
  border-radius: 12px;
  border: 2px solid #8abaa0;
  background: #daf0e5;
  color: #0a4222;
  font-weight: 700;
}
.serp-page {
  min-height: 660px;
  padding: 48px 0 72px;
  background: #fff;
}
.serp-container {
  width: min(1110px, calc(100% - 32px));
  margin: 0 auto;
}
.serp-info { color: #4b5563; font-size: 14px; margin: 0 0 18px; }
.serp-ad { margin: 0 0 20px; overflow: hidden; }
.serp-ad:empty { display: none; }
.serp-ad-label { color: #111827; font-size: 14px; font-weight: 700; margin: 0 0 8px; }
.serp-products {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 148px;
  gap: 8px;
  overflow: hidden;
  max-width: 100%;
}
.serp-product {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 10px;
  color: #0a4222;
  text-decoration: none;
  min-height: 176px;
  background: #fff;
}
.serp-product img { width: 100%; height: 78px; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 8px; }
.serp-product-title { display: block; font-size: 14px; line-height: 1.2; max-height: 50px; overflow: hidden; }
.serp-product-meta { display: block; margin-top: 6px; color: #4b5563; font-size: 12px; }
.serp-results { max-width: 1040px; }
.serp-result { margin: 0 0 24px; }
.serp-title { color: #0a4222; font-size: 16px; line-height: 1.3; text-decoration: underline; }
.serp-url { color: #2e7d52; font-size: 14px; margin: 3px 0 5px; }
.serp-result p { color: #111827; max-width: 980px; margin: 0; font-size: 15px; line-height: 1.35; }
.serp-empty { border: 1px solid #e5e7eb; border-radius: 10px; padding: 22px; max-width: 680px; background: #fff; }
.serp-empty p { margin: 6px 0 0; color: #4b5563; }
.serp-popular { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.serp-popular a { color: #0a4222; background: #edf7f1; border-radius: 999px; padding: 6px 10px; text-decoration: none; font-size: 14px; }
.serp-ad-slot { min-height: 8px; margin: 0 0 8px; }
.serp-ad-slot:empty { display: block; }

@media (max-width: 760px) {
  .serp-search-form { grid-template-columns: 1fr; }
  .serp-products { grid-auto-columns: 138px; overflow-x: auto; padding-bottom: 4px; }
  .serp-page { padding-top: 30px; }
}
