/* ===== Tokens ===== */
:root {
  --ink: #14231b;
  --text: #405148;
  --muted: #6f7d73;
  --cream: #fbf7ef;
  --cream-2: #f2eadc;
  --white: #ffffff;
  --green: #1f5f40;
  --green-2: #0f3d2a;
  --gold: #d8a84b;
  --gold-soft: #f3d690;
  --line: rgba(20, 35, 27, 0.14);
  --line-strong: rgba(20, 35, 27, 0.22);
  --shadow: 0 18px 50px rgba(20, 35, 27, 0.12);
  --radius: 8px;
  --header-height: 78px;
  --transition: 180ms ease;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

/* ===== Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(216, 168, 75, 0.9);
  outline-offset: 3px;
}

::selection {
  color: var(--white);
  background: var(--green);
}

/* ===== Layout ===== */
.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  scroll-margin-top: calc(var(--header-height) + 24px);
}

.section-light {
  background: var(--white);
}

.section-dark {
  color: var(--white);
  background: var(--green-2);
}

.split-grid,
.quality-grid,
.contact-grid,
.buyer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.section-title {
  max-width: 780px;
  margin-bottom: 2rem;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* ===== Typography ===== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.85rem;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.section-dark .eyebrow,
.hero .eyebrow,
.buyer-strip .eyebrow {
  color: var(--gold-soft);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(2.65rem, 5.6vw, 5.45rem);
  color: var(--white);
}

h2 {
  font-size: clamp(2rem, 4vw, 4.1rem);
  max-width: 900px;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

p {
  margin: 0;
}

.hero-lead,
.section-copy p,
.quality-copy p,
.contact-copy p,
.buyer-grid p,
.section-title > p:not(.eyebrow) {
  color: var(--text);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
}

.hero-lead {
  max-width: 720px;
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, 0.86);
}

.section-copy {
  display: grid;
  gap: 1rem;
}

.section-dark p,
.buyer-strip p {
  color: rgba(255, 255, 255, 0.78);
}

/* ===== Navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 247, 239, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-shell {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--green-2);
  border: 1px solid rgba(216, 168, 75, 0.45);
  border-radius: var(--radius);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
}

.brand-copy {
  display: grid;
  gap: 0.1rem;
}

.brand-name {
  color: var(--green-2);
  font-weight: 900;
  font-size: 1.08rem;
  line-height: 1;
}

.brand-descriptor {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.nav-links a {
  padding: 0.7rem 0.78rem;
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 800;
  transition: color var(--transition), background var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green-2);
  background: rgba(31, 95, 64, 0.08);
}

.nav-links .nav-cta {
  margin-left: 0.35rem;
  color: var(--white);
  background: var(--green);
}

.nav-links .nav-cta:hover {
  color: var(--white);
  background: var(--green-2);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.86rem 1.12rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 14px 30px rgba(31, 95, 64, 0.24);
}

.btn-primary:hover {
  background: var(--green-2);
}

.btn-secondary {
  color: var(--white);
  background: var(--ink);
}

.btn-light {
  color: var(--green-2);
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-gold {
  color: var(--ink);
  background: var(--gold-soft);
}

.btn-card {
  width: 100%;
  color: var(--green-2);
  background: var(--cream);
  border-color: var(--line);
}

.btn-card:hover {
  color: var(--white);
  background: var(--green);
}

/* ===== Forms ===== */
.quote-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.6rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.45rem;
}

label {
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.88rem 0.92rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  background: var(--white);
  border-color: rgba(31, 95, 64, 0.5);
  box-shadow: 0 0 0 4px rgba(31, 95, 64, 0.12);
}

.form-note {
  min-height: 1.2em;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(86vh - var(--header-height));
  display: grid;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) 0;
}

.hero-products {
  min-height: 58vh;
}

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

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(12, 32, 22, 0.9) 0%, rgba(12, 32, 22, 0.72) 45%, rgba(12, 32, 22, 0.3) 100%),
    linear-gradient(0deg, rgba(20, 35, 27, 0.36), rgba(20, 35, 27, 0.2));
}

.hero-content {
  max-width: 900px;
}

.hero-content.compact {
  max-width: 840px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 860px;
  margin-top: 2rem;
}

.trust-row span {
  padding: 0.62rem 0.78rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

/* ===== Sections ===== */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.4rem;
}

.metric-card,
.service-card,
.process-step,
.preview-card,
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(20, 35, 27, 0.07);
}

.metric-card {
  display: grid;
  gap: 0.7rem;
  padding: 1.2rem;
}

.metric-card strong,
.service-number,
.process-step span,
.product-category,
.preview-card span {
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.metric-card span {
  color: var(--text);
  font-weight: 750;
}

.services-grid,
.process-grid,
.commodity-preview,
.products-grid {
  display: grid;
  gap: 1rem;
}

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

.service-card,
.process-step {
  display: grid;
  align-content: start;
  gap: 1rem;
  min-height: 260px;
  padding: 1.25rem;
}

.service-card p,
.process-step p,
.preview-card p,
.product-card p,
.product-card dd {
  color: var(--text);
}

.quality-grid {
  align-items: center;
}

.quality-copy {
  display: grid;
  gap: 1.2rem;
}

.quality-panel {
  display: grid;
  gap: 1rem;
}

.quality-panel img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
}

.quality-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.quality-list span {
  padding: 0.74rem 0.82rem;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  font-weight: 800;
}

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

.preview-card {
  overflow: hidden;
}

.preview-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.preview-card div {
  display: grid;
  gap: 0.65rem;
  padding: 1.2rem;
}

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

.buyer-strip {
  color: var(--white);
  background: var(--ink);
}

.buyer-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) auto;
  align-items: center;
}

/* ===== Product Cards ===== */
.products-section {
  background: var(--white);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
}

.filter-button {
  min-height: 42px;
  padding: 0.64rem 0.84rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 850;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.filter-button:hover,
.filter-button.active {
  color: var(--white);
  background: var(--green);
  border-color: var(--green);
}

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

.product-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), opacity var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-card.is-hidden {
  display: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  background: var(--cream-2);
}

.product-body {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
}

.product-body h3 {
  color: var(--green-2);
}

.product-body dl {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.product-body dl div {
  display: grid;
  gap: 0.18rem;
}

.product-body dt {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-body dd {
  margin: 0;
  font-size: 0.94rem;
}

.empty-state {
  margin-top: 1rem;
  padding: 1rem;
  color: var(--text);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 800;
}

/* ===== Contact ===== */
.contact-section {
  background: var(--cream-2);
}

.contact-copy {
  display: grid;
  gap: 1rem;
}

.contact-details {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
  font-style: normal;
}

.contact-details span {
  color: var(--green);
  font-weight: 900;
}

.contact-details strong {
  color: var(--text);
  font-weight: 750;
}

.contact-details a {
  width: fit-content;
  color: var(--green-2);
  font-weight: 850;
  border-bottom: 1px solid rgba(31, 95, 64, 0.25);
}

/* ===== Footer ===== */
.footer {
  color: rgba(255, 255, 255, 0.72);
  background: #101b15;
  padding: 2rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer .brand-name,
.footer .brand-descriptor {
  color: var(--white);
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
}

.footer a {
  color: var(--white);
  font-weight: 800;
}

/* ===== Animations ===== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1120px) {
  .nav-links a {
    padding-inline: 0.58rem;
    font-size: 0.84rem;
  }

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

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

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

  .nav-links {
    position: fixed;
    top: var(--header-height);
    right: 20px;
    left: 20px;
    display: grid;
    align-items: stretch;
    gap: 0.15rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links .nav-cta {
    margin-left: 0;
  }

  .nav-links a {
    padding: 0.9rem;
    font-size: 0.95rem;
  }

  .split-grid,
  .quality-grid,
  .contact-grid,
  .buyer-grid {
    grid-template-columns: 1fr;
  }

  .metric-grid,
  .commodity-preview {
    grid-template-columns: 1fr;
  }

  .buyer-grid {
    align-items: start;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 72px;
  }

  .container {
    width: min(100% - 28px, 1160px);
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-descriptor {
    font-size: 0.62rem;
  }

  .hero {
    min-height: auto;
    padding: 3rem 0 2.3rem;
  }

  h1 {
    font-size: clamp(2.18rem, 10.4vw, 2.95rem);
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 3rem);
  }

  .hero-actions,
  .filter-bar {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions {
    gap: 0.65rem;
    margin-top: 1.25rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 1.1rem;
  }

  .trust-row span {
    padding: 0.48rem;
    font-size: 0.72rem;
  }

  .hero-actions .btn,
  .filter-button,
  .buyer-grid .btn {
    width: 100%;
  }

  .field-row,
  .quality-list,
  .services-grid,
  .process-grid,
  .products-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-step {
    min-height: auto;
  }

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

  .footer nav {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
