:root {
  --ink: #183b31;
  --ink-soft: #49665b;
  --paper: #f5f1e8;
  --paper-deep: #e8e1d3;
  --line: #d5cec0;
  --accent: #c06d3e;
  --accent-deep: #9e4f2e;
  --cream: #fffdf8;
  --shadow: 0 18px 50px rgba(24, 59, 49, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.65;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(213, 206, 192, 0.9);
  background: rgba(245, 241, 232, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  min-height: 80px;
  margin: 0 auto;
  padding: 0 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 300px;
  min-width: 300px;
  height: 64px;
  color: var(--ink);
  background: url("https://www.greencoffeebeanmax.com/assets/images/logo.svg") left center / contain no-repeat;
  text-decoration: none;
}

.brand-mark {
  display: none;
}

.brand-copy {
  display: none;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding: 9px 13px;
  color: var(--ink-soft);
  font-family: Arial, sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--paper-deep);
}

.site-nav li:last-child a {
  border-bottom: 0;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--cream);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 28px 80px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: none;
}

.breadcrumb span[aria-hidden="true"] {
  color: var(--accent);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-deep);
  font-family: Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  font-weight: 500;
}

h1 {
  max-width: 880px;
  font-size: clamp(2.5rem, 6vw, 5.6rem);
  letter-spacing: -0.045em;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.7rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.28rem;
}

p {
  margin: 0;
}

.lede {
  max-width: 720px;
  margin-top: 22px;
  color: var(--ink-soft);
  font-size: 1.16rem;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: end;
  min-height: 470px;
  padding: 42px;
  border-radius: 30px;
  background-color: var(--ink);
  background-image: url("https://www.greencoffeebeanmax.com/assets/images/heroes/homepage.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--cream);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::before,
.hub-hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(24, 59, 49, 0.94) 0%, rgba(24, 59, 49, 0.68) 44%, rgba(24, 59, 49, 0.28) 100%);
  content: "";
}

.hero > *,
.hub-hero > * {
  position: relative;
  z-index: 1;
}

.hero .eyebrow {
  color: #e3ac83;
}

.hero .lede {
  color: #d9e2dc;
}

.hero-note {
  align-self: end;
  padding: 24px;
  border: 1px solid rgba(255, 253, 248, 0.2);
  border-radius: var(--radius);
  color: #e7eee8;
  background: rgb(52 77 49 / 52%);
}

.hero-note strong {
  display: block;
  margin-bottom: 8px;
  color: #fff9eb;
  font-family: Arial, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section {
  margin-top: 40px;
}

.section-heading {
  display: block;
  margin-bottom: 24px;
}

.section-heading p {
  max-width: none;
  margin-top: 12px;
  color: var(--ink-soft);
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.58);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--accent-deep);
  content: "+";
  font-size: 1.35rem;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--ink-soft);
}

.category-grid,
.article-grid,
.seller-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.category-card,
.article-card,
.seller-card,
.article-body,
.buying-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.58);
}

.category-card,
.article-card,
.seller-card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 26px;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.category-card:hover,
.article-card:hover,
.seller-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: var(--cream);
}

.card-thumbnail {
  display: block;
  width: calc(100% + 52px);
  height: 400px;
  margin: -26px -26px 22px;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  object-fit: cover;
}

.card-title {
  font-size: 1.55rem;
}

.card-copy {
  margin-top: 10px;
  color: var(--ink-soft);
}

.card-link {
  margin-top: 20px;
  color: var(--accent-deep);
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.article-card {
  min-height: 220px;
}

.article-card .card-title {
  font-size: 1.3rem;
}

.article-card .card-copy {
  font-size: 0.96rem;
}

.intro-panel {
  display: block;
  padding: 34px;
  border-radius: var(--radius);
  background: var(--paper-deep);
}

.hub-hero {
  position: relative;
  min-height: 440px;
  overflow: hidden;
  background-color: var(--ink);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--cream);
  box-shadow: var(--shadow);
}

.hub-hero.informasi-hero {
  background-image: url("https://www.greencoffeebeanmax.com/assets/images/heroes/informasi.webp");
}

.hub-hero.varian-hero {
  background-image: url("https://www.greencoffeebeanmax.com/assets/images/heroes/varian.webp");
}

.hub-hero.pengolahan-hero {
  background-image: url("https://www.greencoffeebeanmax.com/assets/images/heroes/pengolahan.webp");
}

.hub-hero.manfaat-hero {
  background-image: url("https://www.greencoffeebeanmax.com/assets/images/heroes/manfaat.webp");
}

.hub-hero.pemesanan-hero {
  background-image: url("https://www.greencoffeebeanmax.com/assets/images/heroes/pemesanan.webp");
}

.hub-hero .eyebrow {
  color: #e3ac83;
}

.hub-hero p {
  color: #e7eee8;
}

.intro-panel > div + div {
  margin-top: 22px;
}

.intro-panel p + p {
  margin-top: 16px;
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 42px 54px;
}

.article-page > .breadcrumb {
  max-width: 860px;
  margin-right: auto;
  margin-left: auto;
}

.article-header {
  max-width: 780px;
  margin: 0 auto;
}

.article-header h1 {
  max-width: none;
}

.article-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 32px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.article-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-content {
  max-width: 760px;
  margin: 36px auto 0;
}

.article-content > * + * {
  margin-top: 24px;
}

.article-content h2 {
  margin-top: 42px;
  font-size: 1.7rem;
}

.article-content h3 {
  margin-top: 30px;
  font-size: 1.2rem;
}

.article-content ul {
  margin: 0;
  padding-left: 22px;
}

.article-content ol {
  margin: 0;
  padding-left: 24px;
}

.article-content li + li {
  margin-top: 8px;
}

.article-sources {
  max-width: 760px;
  margin: 52px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.article-sources h2 {
  font-size: 1.5rem;
}

.article-sources ul {
  margin: 18px 0 0;
  padding-left: 22px;
}

.article-sources li + li {
  margin-top: 10px;
}

.article-sources a {
  color: var(--accent-deep);
}

.comparison-table-wrap {
  margin-top: 24px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.58);
}

.comparison-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.comparison-table th,
.comparison-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--ink);
  font-family: Arial, sans-serif;
  font-size: 0.86rem;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.buying-note {
  margin-bottom: 26px;
  padding: 26px;
  background: var(--ink);
  color: var(--cream);
}

.buying-note p {
  color: #d9e2dc;
}

.seller-card {
  min-height: 310px;
}

.seller-card h3 {
  margin-top: 0;
}

.seller-card p {
  margin-top: 12px;
  color: var(--ink-soft);
}

.seller-contact {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-family: Arial, sans-serif;
  font-size: 0.84rem;
}

.seller-contact a {
  color: var(--accent-deep);
  text-decoration: none;
}

.seller-contact a:hover {
  text-decoration: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--paper-deep);
}

.footer-inner {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 28px;
  color: var(--ink-soft);
  font-family: Arial, sans-serif;
  font-size: 0.8rem;
  text-align: center;
}

.footer-inner a {
  color: var(--ink);
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: none;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 80px;
    right: 0px;
    left: 0px;
    display: none;
    padding: 12px 12px 0px;
    background: var(--cream);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
    width: 100%;
  }

  .site-nav ul {
    display: grid;
    gap: 4px;
  }

  .site-nav a {
    display: block;
    padding: 13px 14px;
    border-bottom: 1px solid black;
  }

  .hero,
  .intro-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .card-thumbnail {
    height: 250px;
  }

}

@media (max-width: 640px) {
  .header-inner,
  .page-shell,
  .footer-inner {
    padding-right: 18px;
    padding-left: 18px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand {
    width: 198px;
    min-width: 198px;
    height: 50px;
  }

  .site-nav {
    top: 72px;
    right: 0px;
    left: 0px;
  }

  .hero {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .section {
    margin-top: 60px;
  }

  .category-grid,
  .article-grid,
  .seller-grid {
    grid-template-columns: 1fr;
  }

  .intro-panel,
  .article-body,
  .buying-note,
  .seller-card {
    padding: 24px;
  }

  .card-thumbnail {
    height: 250px;
    width: calc(100% + 48px);
    margin: -24px -24px 20px;
  }

  .footer-inner {
    flex-direction: column;
  }
}
