:root {
  /* Dark charcoal base (kept) with forest green + warm amber accents */
  --bg: #0a0f0c;
  --bg-soft: #111a14;
  --surface: rgba(255, 255, 255, 0.055);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f2f6f2;
  --muted: #9fb0a4;
  --accent: #e8a33d;          /* warm amber/gold */
  --accent-strong: #f6bd5f;
  --forest: #2f7d54;          /* deep forest green */
  --forest-strong: #46a06d;
  --forest-deep: #1c5a3a;
  --teal: var(--forest);
  --teal-strong: var(--forest-strong);
  --success: #57c98a;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --radius: 24px;
  --max: 1220px;
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f2f6f1;
  --bg-soft: #ffffff;
  --surface: rgba(28, 58, 40, 0.05);
  --surface-strong: rgba(28, 58, 40, 0.09);
  --border: rgba(28, 58, 40, 0.13);
  --text: #17281d;
  --muted: #52664f;
  --accent: #bf7d16;
  --accent-strong: #d9932a;
  --forest: #23794c;
  --forest-strong: #2f9160;
  --forest-deep: #16593a;
  --teal: var(--forest);
  --teal-strong: var(--forest-strong);
  --success: #2f8d5f;
  --shadow: 0 24px 80px rgba(28, 58, 40, 0.14);
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(47, 125, 84, 0.16), transparent 30%),
    radial-gradient(circle at top right, rgba(232, 163, 61, 0.12), transparent 26%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: 96px;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible {
  outline: 3px solid rgba(47, 125, 84, 0.42);
  outline-offset: 3px;
}
.container { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--border);
}
.nav {
  min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.trust-bar-section {
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.trust-bar {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 22px;
  padding: 9px 0; font-size: 0.8rem; font-weight: 600; color: var(--muted); text-align: center;
}
.trust-bar a { color: var(--text); }
.trust-bar a:hover, .trust-bar a:focus-visible { color: var(--forest-strong); }
.nav-left, .nav-right { display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -0.03em; font-size: 1.05rem; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  position: relative; flex-shrink: 0; background: transparent;
  box-shadow: none; overflow: visible;
}
.brand-mark svg { width: 30px; height: 30px; display: block; }
.footer-brand .brand-mark { width: 34px; height: 34px; }
.footer-brand .brand-mark svg { width: 27px; height: 27px; }
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; }
.nav-links > a, .mobile-nav a, .mobile-accordion-btn, .shop-menu > a {
  color: var(--muted); font-weight: 600; padding: 10px 10px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.nav-links > a, .shop-menu > a { font-size: 0.94rem; }
.nav-links > a:hover, .nav-links > a:focus-visible, .mobile-nav a:hover, .mobile-nav a:focus-visible, .mobile-accordion-btn:hover, .mobile-accordion-btn:focus-visible, .shop-menu > a:hover, .shop-menu > a:focus-visible {
  color: var(--text); background: var(--surface);
}
.shop-menu { position: relative; }
.shop-panel {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 320px;
  display: none; padding: 16px; border-radius: 22px; background: var(--bg-soft); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.shop-menu:hover .shop-panel, .shop-menu:focus-within .shop-panel, .shop-menu.open .shop-panel { display: grid; gap: 12px; }
.shop-panel a { padding: 10px 12px; border-radius: 14px; color: var(--text); background: transparent; }
.shop-panel a:hover, .shop-panel a:focus-visible { background: var(--surface); }
.icon-button, .menu-toggle {
  width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text); display: inline-grid; place-items: center;
}
.lang-toggle {
  width: auto; min-height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 999px; background: var(--surface); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.82rem; letter-spacing: 0.02em; cursor: pointer;
}
.lang-toggle:hover { background: var(--surface-strong); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: 999px; font-weight: 700; border: 1px solid transparent; white-space: nowrap; transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--forest) 0%, var(--forest-strong) 90%); color: #f4fbf6; box-shadow: 0 14px 36px rgba(47, 125, 84, 0.28); }
.btn-secondary { background: var(--surface); border-color: var(--border); color: var(--text); }
.btn-accent { background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 90%); color: #21170a; box-shadow: 0 14px 36px rgba(232, 163, 61, 0.24); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn-small { min-height: 40px; padding: 0 14px; }
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--forest-strong); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.76rem; font-weight: 800; margin-bottom: 16px;
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px rgba(232, 163, 61, 0.55);
}
h1, h2, h3 { letter-spacing: -0.04em; line-height: 1.05; }
h1 { font-size: clamp(2.7rem, 5.1vw, 4.4rem); margin-bottom: 18px; }
.hero-copy, .section-copy, .card-copy, .feature-copy, .product-meta, .field-help, .footer-copy { color: var(--muted); }
.hero-copy { font-size: 1.06rem; max-width: 680px; margin-bottom: 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.hero-badges span {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); font-weight: 600;
}
.hero-category-label { margin: 0 0 18px; color: var(--muted); font-weight: 700; letter-spacing: 0.02em; }
.hero-visual {
  position: relative; min-height: 460px; display: grid; place-items: center; border-radius: 34px; border: 1px solid var(--border); box-shadow: var(--shadow); overflow: hidden;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
/* example-image badge */
.example-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  color: var(--text); font-weight: 700; font-size: 0.85rem;
}
.example-badge::before { content: "📷"; }
.hero-visual .example-badge {
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  background: color-mix(in srgb, var(--bg) 72%, transparent); backdrop-filter: blur(8px);
}
section { padding: 70px 0; }
.section-head { max-width: 760px; margin-bottom: 24px; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); margin-bottom: 12px; }
.card-grid, .product-grid, .service-grid, .category-grid, .trust-grid, .grade-grid { display: grid; gap: 16px; }
.category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-grid, .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grade-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.trust-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.panel, .card, .feature-card, .product-card, .service-card, .trust-card, .form-card, .category-card, .enquiry-card, .grade-card {
  border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
}
.card, .service-card, .trust-card, .category-card, .feature-card, .product-card, .form-card, .enquiry-card, .grade-card { padding: 24px; }
.card h3, .service-card h3, .trust-card h3, .product-card h3, .category-card h3 { margin-bottom: 8px; }
.icon-box {
  width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 16px; background: color-mix(in srgb, var(--forest) 16%, transparent); border: 1px solid color-mix(in srgb, var(--forest) 24%, transparent);
}
.category-card { display: flex; flex-direction: column; gap: 14px; min-height: 220px; position: relative; overflow: hidden; }
.category-card.span-2 { grid-column: span 2; }
.category-card.span-1 { grid-column: span 1; }
.category-card .thumb { height: 150px; border-radius: 16px; border: 1px solid var(--border); background: linear-gradient(135deg, rgba(47,125,84,0.14), rgba(232,163,61,0.08)); display: grid; place-items: center; overflow: hidden; }
.category-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-wrap { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 16px; }
.search-wrap .field { flex: 1 1 240px; }
.filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 0.92rem; font-weight: 700; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; border-radius: 14px; border: 1px solid var(--border); background: var(--bg-soft); color: var(--text); padding: 0 12px;
}
.field textarea { min-height: 102px; padding: 12px; resize: vertical; }
.field.full { grid-column: 1 / -1; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--surface-strong); color: var(--text); font-weight: 700; font-size: 0.82rem;
}
.price { font-weight: 800; color: var(--accent-strong); font-size: 1.15rem; }
.price-note { color: var(--muted); font-size: 0.78rem; font-weight: 600; }
.empty-state {
  border: 1px dashed var(--border); border-radius: 24px; padding: 24px; background: var(--surface); color: var(--muted); text-align: center;
}
.product-card { display: flex; flex-direction: column; gap: 12px; position: relative; }
.product-card.is-featured { border-color: color-mix(in srgb, var(--accent) 45%, var(--border)); box-shadow: 0 20px 50px rgba(232, 163, 61, 0.16); }
.featured-ribbon {
  position: absolute; top: 34px; right: 34px; z-index: 2;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%); color: #21170a; font-weight: 800;
}
.featured-reason { color: var(--forest-strong); font-size: 0.85rem; font-weight: 700; margin: -4px 0 0; }
.product-card .thumb { height: 190px; border-radius: 18px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(135deg, rgba(47,125,84,0.14), rgba(232,163,61,0.08)); border: 1px solid var(--border); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-badge {
  position: absolute; top: 34px; left: 34px; z-index: 2; font-size: 0.72rem; padding: 5px 10px;
  background: color-mix(in srgb, var(--bg) 74%, transparent); backdrop-filter: blur(6px);
}
.meta-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
/* grade selector pills */
.grade-select { display: flex; gap: 6px; flex-wrap: wrap; }
.grade-pill {
  border: 1px solid var(--border); background: var(--surface); color: var(--muted);
  border-radius: 999px; padding: 7px 12px; font-weight: 700; font-size: 0.8rem; min-height: 38px;
  transition: all 0.15s ease;
}
.grade-pill[aria-pressed="true"] {
  background: color-mix(in srgb, var(--forest) 22%, transparent);
  border-color: var(--forest-strong); color: var(--text);
}
.grade-pill:hover { border-color: var(--forest-strong); color: var(--text); }
.list { list-style: none; display: grid; gap: 10px; margin: 12px 0 0; }
.list li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.list li::before { content: "✓"; color: var(--success); font-weight: 800; flex: 0 0 18px; }
/* grading section */
.grade-card { display: flex; flex-direction: column; gap: 12px; }
.grade-head { display: flex; align-items: center; gap: 12px; }
.grade-dot { width: 30px; height: 30px; border-radius: 50%; flex: 0 0 30px; display: grid; place-items: center; font-weight: 800; color: #0a0f0c; }
.grade-1 .grade-dot { background: linear-gradient(135deg, #7fae91, #a9c9b4); }
.grade-2 .grade-dot { background: linear-gradient(135deg, var(--forest-strong), #6fc194); }
.grade-3 .grade-dot { background: linear-gradient(135deg, var(--accent), var(--accent-strong)); }
.grade-price { font-weight: 800; color: var(--accent-strong); }
.info-callout {
  margin-top: 20px; border-radius: 20px; padding: 20px 22px; border: 1px solid var(--border);
  background: color-mix(in srgb, var(--forest) 10%, transparent); display: grid; gap: 8px;
}
.info-callout h3 { margin-bottom: 4px; }
.sell-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 20px; align-items: start; }
.step-list { display: grid; gap: 14px; }
.step-card { display: flex; gap: 14px; align-items: start; border-radius: 18px; padding: 16px; background: var(--surface); border: 1px solid var(--border); }
.step-no { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; background: linear-gradient(135deg, var(--forest), var(--accent)); color: #0a0f0c; font-weight: 800; flex: 0 0 36px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.subtle-note { color: var(--muted); font-size: 0.92rem; }
.subtle-note a, .footer-copy a, .terms-section a { color: var(--text); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 2px; }
.subtle-note a:hover, .footer-copy a:hover, .terms-section a:hover { color: var(--accent-strong); }
.contact-card {
  padding: 28px; border-radius: 28px; border: 1px solid var(--border); background: linear-gradient(135deg, rgba(47,125,84,0.16), rgba(232,163,61,0.10)); box-shadow: var(--shadow); text-align: center;
}
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.form-grid { display: grid; gap: 12px; }
footer { padding: 24px 0 48px; border-top: 1px solid var(--border); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); }
.mobile-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; display: none; gap: 10px; padding: 10px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 82%, transparent); border: 1px solid var(--border); backdrop-filter: blur(16px);
}
.mobile-cta a { flex: 1; }
.mobile-nav { display: none; }
.mobile-nav.open { display: grid; gap: 8px; padding: 12px 0 16px; }
.mobile-accordion-btn {
  width: 100%; justify-content: space-between; border: 1px solid var(--border); background: var(--surface); color: var(--text); border-radius: 16px;
}
details.mobile-group > summary::-webkit-details-marker { display: none; }
details.mobile-group[open] .mobile-accordion-btn { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.mobile-group-panel { display: grid; gap: 4px; padding: 0 8px 10px 8px; }
.mobile-group-panel a { padding: 10px 10px; border-radius: 12px; }
.modal { position: fixed; inset: 0; z-index: 80; display: none; padding: 20px; align-items: center; justify-content: center; background: rgba(5,10,7,0.76); backdrop-filter: blur(10px); }
.modal.open { display: flex; }
.modal-panel { width: min(760px, 100%); max-height: min(92vh, 920px); overflow: auto; border-radius: 28px; background: var(--bg-soft); border: 1px solid var(--border); padding: 24px; box-shadow: var(--shadow); position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); color: var(--text); }
.preview-list { display: grid; gap: 12px; margin-top: 16px; }
.preview-item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface); border: 1px solid var(--border); }
.preview-item .meta { display: grid; gap: 4px; }
.preview-item img { width: 70px; height: 70px; border-radius: 12px; object-fit: cover; }
.preview-item button { min-width: 44px; min-height: 44px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--text); }
.notice { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }
.success-message { display: none; margin-top: 16px; color: var(--success); background: rgba(87,201,138,0.13); border: 1px solid rgba(87,201,138,0.24); border-radius: 16px; padding: 12px 14px; font-weight: 700; }

.menu-toggle { display: none; }

/* Hide secondary CTA on tighter desktop widths so nav never wraps */
@media (max-width: 1420px) {
  .nav-cta--secondary { display: none; }
}

@media (max-width: 1180px) {
  .nav-links { display: none; }
  .menu-toggle { display: inline-grid; }
}

@media (max-width: 1040px) {
  .hero-grid, .sell-grid { grid-template-columns: 1fr; }
  .card-grid, .grade-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid, .service-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-visual { min-height: 340px; }
}

@media (max-width: 720px) {
  body { padding-bottom: 110px; }
  .container { width: min(var(--max), calc(100% - 24px)); }
  .trust-bar { gap: 6px 14px; font-size: 0.74rem; }
  .featured-ribbon { top: 26px; right: 26px; font-size: 0.7rem; padding: 5px 9px; }
  .hero { padding-top: 48px; }
  .hero-actions, .filter-grid, .card-grid, .trust-grid, .service-grid, .grade-grid { display: grid; grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .category-card.span-2 { grid-column: span 1; }
  .hero-badges { display: grid; }
  .hero-visual { min-height: 260px; margin-top: 8px; }
  .mobile-cta { display: flex; }
  .nav-right .btn-small, .nav-right .icon-button:nth-of-type(2) { display: none; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .field { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
