﻿:root {
  --bg: #f4f7f2;
  --surface: #ffffff;
  --ink: #111411;
  --muted: #667064;
  --soft: #e4ebe1;
  --green: #19b66a;
  --green-dark: #0d7f49;
  --cyan: #15a8b7;
  --coral: #ef735b;
  --amber: #f2a32f;
  --shadow: 0 24px 70px rgba(17, 28, 20, 0.14);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 229, 216, 0.95);
  box-shadow: 0 8px 30px rgba(20, 34, 22, 0.06);
  backdrop-filter: blur(18px);
}

.brand,
.footer-brand {
  font-weight: 900;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

.brand-logo {
  font-size: 26px;
  line-height: 1;
}

.logo-box {
  display: grid;
  place-items: center;
  height: 34px;
  min-width: 66px;
  padding: 0 11px;
  border-radius: 8px;
  color: #fff;
  background: #65bd2f;
  font-weight: 950;
  letter-spacing: 0;
}

.logo-word {
  color: #58aa2b;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: nowrap;
  color: #30372f;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.site-header .top-nav {
  justify-self: center;
  height: 42px;
  line-height: 1;
}

.top-nav > a,
.nav-item > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 42px;
  min-height: 42px;
  padding: 0 12px;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  line-height: 1;
}

.home-link span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #65bd2f;
  font-size: 16px;
  line-height: 1;
}

.top-nav > a:hover,
.nav-item > button:hover {
  background: #f1f6ee;
  color: var(--green-dark);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 42px;
}

.nav-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 30;
  display: grid;
  min-width: 210px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--soft);
  border-radius: 8px;
  box-shadow: 0 20px 46px rgba(22, 37, 24, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.nav-menu.category-menu {
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  min-width: 390px;
}

.nav-menu a {
  padding: 11px 12px;
  border-radius: 8px;
  color: #30372f;
}

.nav-menu a:hover {
  background: #f1f6ee;
  color: var(--green-dark);
}

.has-menu:hover .nav-menu,
.has-menu:focus-within .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-toggle {
  display: none;
  min-height: 40px;
  padding: 0 14px;
  color: var(--ink);
  background: #f1f6ee;
  border: 1px solid var(--soft);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 900;
}

.top-nav a:hover,
.site-footer a:hover,
.inline-link:hover {
  color: var(--green-dark);
}

.header-cta,
.button,
.search-panel button,
.product-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.header-cta,
.button-dark,
.search-panel button,
.product-actions a:last-child {
  color: #fff;
  background: var(--ink);
  box-shadow: 0 14px 28px rgba(17, 20, 17, 0.18);
}

.header-cta {
  padding: 0 18px;
  background: #65bd2f;
  box-shadow: 0 14px 28px rgba(101, 189, 47, 0.22);
}

.button {
  padding: 0 20px;
}

.button-light,
.product-actions a:first-child {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--soft);
  box-shadow: none;
}

.button:hover,
.header-cta:hover,
.search-panel button:hover,
.product-actions a:hover {
  transform: translateY(-1px);
}

.hero {
  position: relative;
  min-height: clamp(440px, 34vw, 560px);
  overflow: hidden;
  isolation: isolate;
  background: #f4f7f2;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  z-index: -2;
  left: auto;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  object-position: right center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(244, 247, 242, 0.98) 0%, rgba(244, 247, 242, 0.9) 36%, rgba(244, 247, 242, 0.26) 64%, rgba(244, 247, 242, 0.04) 100%),
    linear-gradient(0deg, rgba(244, 247, 242, 0.56) 0%, rgba(244, 247, 242, 0) 24%);
}

.hero-content {
  width: min(1120px, calc(100% - 36px));
  padding: clamp(32px, 4.5vw, 52px) 0 34px;
  margin-left: clamp(18px, 4vw, 58px);
}

.kicker {
  margin: 0 0 12px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: none;
  margin-bottom: 12px;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
  white-space: nowrap;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
  line-height: 1.2;
}

.hero-lede,
.showcase-copy p,
.site-footer p,
.guide-card li,
.faq-card p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lede {
  max-width: 560px;
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.55;
}

.search-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  width: min(100%, 620px);
  padding: 5px;
  background: #1f1f1f;
  border: 0;
  border-radius: 28px;
  box-shadow: 0 14px 34px rgba(17, 20, 17, 0.16);
}

.search-panel input {
  min-width: 0;
  min-height: 44px;
  padding: 0 16px;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: #fff;
  border-radius: 23px 8px 8px 23px;
  font: inherit;
  font-size: 16px;
}

.search-panel input::placeholder {
  color: #7c8ca4;
  opacity: 1;
}

.search-panel button {
  min-width: 104px;
  min-height: 44px;
  border: 0;
  border-radius: 23px;
  cursor: pointer;
  font-size: 16px;
  background: #63c526;
  box-shadow: none;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 112px));
  gap: 12px;
  margin: 36px 0 0;
}

.trust-row div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(228, 235, 225, 0.92);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.trust-row dt {
  font-size: 26px;
  font-weight: 950;
}

.trust-row dd {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.category-strip,
.section,
.guide-grid {
  padding: 70px clamp(18px, 4vw, 58px);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-head.compact {
  align-items: start;
  display: block;
  max-width: 720px;
}

.category-title {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.08;
  text-align: center;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.category-card {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--soft);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(30, 47, 34, 0.05);
}

.category-card span {
  display: block;
  position: relative;
  z-index: 1;
}

.category-card .cat-name {
  font-size: 15px;
  font-weight: 950;
  text-align: center;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(420px, 1fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
  padding: 76px clamp(18px, 4vw, 58px);
  background: #111511;
  color: #fff;
}

.showcase-copy {
  max-width: 620px;
}

.showcase-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.showcase-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 22px;
}

.showcase .button-dark {
  color: var(--ink);
  background: #fff;
}

.inline-link {
  color: var(--green-dark);
  font-weight: 950;
}

.showcase .inline-link {
  color: #79e7af;
}

.sheet-preview {
  overflow: hidden;
  background: #f7faf6;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
}

.sheet-top {
  display: flex;
  gap: 8px;
  padding: 14px;
  background: #eaf1e8;
  border-bottom: 1px solid #dce6da;
}

.sheet-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.sheet-top span:nth-child(2) {
  background: var(--amber);
}

.sheet-top span:nth-child(3) {
  background: var(--coral);
}

.sheet-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 0.7fr;
  min-width: 560px;
}

.cell {
  min-height: 58px;
  padding: 16px;
  color: #202720;
  border-right: 1px solid #e1e9df;
  border-bottom: 1px solid #e1e9df;
  font-weight: 850;
}

.cell.head {
  min-height: 46px;
  color: #697267;
  background: #fbfdfb;
  font-size: 12px;
  text-transform: uppercase;
}

.status {
  color: var(--green-dark);
}

.status.cyan {
  color: var(--cyan);
}

.status.coral {
  color: var(--coral);
}

.arrow {
  color: var(--green-dark);
}

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

.product-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--soft);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(30, 47, 34, 0.08);
}

.product-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 206px;
  background:
    radial-gradient(circle at 72% 22%, color-mix(in srgb, var(--accent), transparent 62%), transparent 34%),
    linear-gradient(135deg, #fbfdfb 0%, #eef4ec 100%);
}

.product-visual::before {
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  content: "";
}

.product-shape {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 118px;
  height: 118px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), color-mix(in srgb, var(--accent), #111 32%));
  border-radius: var(--shape-radius);
  box-shadow: 0 22px 38px color-mix(in srgb, var(--accent), transparent 62%);
  font-size: 42px;
  font-weight: 950;
}

.product-image-img {
  position: relative;
  z-index: 1;
  width: min(78%, 180px);
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(22, 32, 24, 0.18));
}

.product-body {
  padding: 18px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-meta span:last-child {
  color: var(--green-dark);
}

.product-body p {
  min-height: 48px;
  margin-bottom: 16px;
  color: var(--muted);
  line-height: 1.55;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-actions a {
  min-height: 40px;
  font-size: 13px;
}

.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 20px;
}

.resource-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.7fr);
  align-items: end;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(58px, 8vw, 96px) clamp(18px, 4vw, 58px) 54px;
  background:
    linear-gradient(115deg, rgba(244, 247, 242, 0.96), rgba(244, 247, 242, 0.72)),
    url("assets/csbuy-premium-hero.png") center / cover;
  border-bottom: 1px solid var(--soft);
}

.resource-hero h1 {
  max-width: 760px;
}

.resources-section {
  background: #fff;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--soft);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(30, 47, 34, 0.08);
}

.resource-card.featured {
  background: #111511;
  color: #fff;
}

.resource-card span {
  margin-bottom: 18px;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.resource-card.featured span {
  color: #79e7af;
}

.resource-card strong {
  font-size: 22px;
  line-height: 1.1;
}

.resource-card p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.resource-card.featured p {
  color: rgba(255, 255, 255, 0.68);
}

.resources-categories {
  background: var(--bg);
}

.search-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.75fr);
  align-items: center;
  gap: clamp(24px, 5vw, 70px);
  padding: clamp(48px, 6vw, 76px) clamp(18px, 4vw, 58px);
  background:
    linear-gradient(115deg, rgba(244, 247, 242, 0.98), rgba(244, 247, 242, 0.78)),
    url("assets/csbuy-premium-hero.png") right center / contain no-repeat;
  border-bottom: 1px solid var(--soft);
}

.search-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--soft);
  border-radius: 8px;
}

.search-categories {
  background: #fff;
}

.faq-hero {
  background:
    linear-gradient(115deg, rgba(244, 247, 242, 0.99), rgba(244, 247, 242, 0.82)),
    url("assets/csbuy-premium-hero.png") right center / contain no-repeat;
}

.faq-page {
  background: #fff;
}

.faq-list {
  display: grid;
  gap: 0;
  max-width: 980px;
  background: #fff;
  border: 1px solid var(--soft);
  border-radius: 8px;
  overflow: hidden;
}

.faq-list details {
  padding: 20px 24px;
  border-bottom: 1px solid var(--soft);
}

.faq-list details:last-child {
  border-bottom: 0;
}

.faq-list summary {
  font-size: 18px;
}

.faq-list p {
  max-width: 820px;
  color: var(--muted);
  line-height: 1.65;
}

.page-hero {
  min-height: 360px;
}

.page-hero .button {
  margin-top: 6px;
}

.seo-section {
  background: #fff;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.seo-grid .guide-card {
  box-shadow: none;
}

.seo-grid p {
  color: var(--muted);
  line-height: 1.6;
}

.guide-card {
  padding: clamp(24px, 4vw, 38px);
  background: var(--surface);
  border: 1px solid var(--soft);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(30, 47, 34, 0.07);
}

.buy-guide {
  background: linear-gradient(135deg, #ffffff 0%, #edf6ed 100%);
}

.guide-card ol {
  margin: 0 0 24px;
  padding-left: 22px;
}

.guide-card li + li {
  margin-top: 10px;
}

details {
  padding: 16px 0;
  border-bottom: 1px solid var(--soft);
}

summary {
  cursor: pointer;
  font-weight: 950;
}

details p {
  margin: 10px 0 0;
}

.faq-card .inline-link {
  display: inline-flex;
  margin-top: 18px;
}

.site-footer {
  padding: 28px clamp(18px, 4vw, 58px);
  background: #0f130f;
  color: #fff;
  text-align: center;
}

.site-footer > div {
  max-width: 980px;
  margin: 0 auto;
}

.footer-brand {
  display: inline-flex;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
}

.site-footer p {
  max-width: 980px;
  margin: 8px auto 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.6;
}

.float-social {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  gap: 12px;
}

.float-social a {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.2);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.float-social a:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.24);
}

.float-social svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.float-whatsapp {
  background: #25d366;
}

.float-telegram {
  background: #229ed9;
}

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

  .top-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

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

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

  .showcase,
  .guide-grid,
  .resource-hero,
  .search-hero {
    grid-template-columns: 1fr;
  }

  .resource-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .seo-grid {
    grid-template-columns: 1fr;
  }

  .sheet-preview {
    overflow-x: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .top-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    white-space: normal;
    overflow: visible;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--soft);
    border-radius: 8px;
  }

  .site-header.nav-open .top-nav {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-item {
    width: 100%;
  }

  .top-nav > a,
  .nav-item > button {
    justify-content: flex-start;
    width: 100%;
    text-align: left;
  }

  .nav-menu {
    position: static;
    display: grid;
    min-width: 0;
    margin: 0 0 8px 10px;
    padding: 4px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav-menu.category-menu {
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .hero {
    min-height: 430px;
  }

  .hero-bg {
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.55;
    object-position: center center;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(244, 247, 242, 0.98), rgba(244, 247, 242, 0.78));
  }

  .hero-content {
    width: calc(100% - 36px);
    padding-top: 30px;
    padding-bottom: 30px;
    margin-inline: 18px;
  }

  h1 {
    font-size: 31px;
    white-space: normal;
  }

  .hero-lede {
    font-size: 15px;
    line-height: 1.5;
  }

  h2 {
    font-size: 31px;
  }

  .search-panel {
    grid-template-columns: 1fr;
    border-radius: 24px;
  }

  .search-panel button {
    width: 100%;
  }

  .search-panel input {
    border-radius: 20px;
  }

  .trust-row,
  .category-grid,
  .product-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-card {
    min-height: 68px;
  }

  .showcase,
  .category-strip,
  .section,
  .guide-grid,
  .resource-hero {
    padding-block: 48px;
  }

  .sheet-grid {
    min-width: 520px;
  }
}

