/* =========================================================
   Danthess Commodities — Premium agricultural export site
   HTML5 / CSS3 / Vanilla JS only
   Replace image files in /assets/images/ as needed
   ========================================================= */

:root {
  --green-950: #071910;
  --green-900: #0c2418;
  --green-800: #123524;
  --green-700: #1b4332;
  --green-600: #2d6a4f;
  --green-500: #40916c;
  --gold-700: #8f6f28;
  --gold-600: #b08d3e;
  --gold-500: #c9a24a;
  --gold-400: #d4b56a;
  --gold-100: #f3e8c9;
  --cream-50: #fbf8f2;
  --cream-100: #f4efe4;
  --cream-200: #e8dfd0;
  --ink: #1c1a16;
  --ink-soft: #5a5449;
  --white: #ffffff;
  --shadow: 0 18px 46px rgba(18, 53, 36, 0.10);
  --shadow-sm: 0 8px 24px rgba(18, 53, 36, 0.08);
  --radius: 22px;
  --radius-sm: 14px;
  --header-h: 92px;
  --container: 1180px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Outfit", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream-50);
  overflow-x: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--green-900);
  margin: 0 0 0.7em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.4vw, 3.15rem); letter-spacing: -0.02em; }
h3 { font-size: 1.35rem; margin-bottom: 0.45em; }

p { margin: 0 0 1em; }

.container {
  width: min(calc(100% - 2.4rem), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold-500);
  color: var(--green-950);
  padding: 0.6rem 1rem;
  z-index: 1000;
  border-radius: 8px;
}

.skip-link:focus { top: 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 52px;
  padding: 0.8rem 1.55rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s, border-color 0.25s;
}

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

.btn:focus-visible,
.nav-link:focus-visible,
.chip:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

.btn-gold {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-500));
  color: var(--green-950);
  box-shadow: 0 10px 24px rgba(201, 162, 74, 0.28);
}

.btn-gold:hover { box-shadow: 0 14px 30px rgba(201, 162, 74, 0.38); }

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

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

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-full { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green-700);
  font-weight: 500;
  border-bottom: 1px solid var(--gold-500);
  padding-bottom: 2px;
}

.text-link::after { content: "→"; }

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-700);
}

.section {
  padding: 6.5rem 0;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-head--light h2,
.section-head--light .eyebrow { color: var(--cream-50); }
.section-head--light .eyebrow { color: var(--gold-400); }

.section-sub {
  color: var(--ink-soft);
  font-size: 1.12rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(7, 25, 16, 0.42), transparent);
  transition: height 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  --header-h: 72px;
  background: rgba(251, 248, 242, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 28px rgba(12, 36, 24, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: min(calc(100% - 2.4rem), 1240px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
}

.brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  color: var(--gold-400);
  font-weight: 500;
}

.site-header.is-scrolled .brand-name { color: var(--green-900); }
.site-header.is-scrolled .brand-sub { color: var(--gold-700); }

.header-cta--drawer { display: none; }
.header-cta--bar { margin-left: 0.2rem; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  margin-left: auto;
}

.nav-list {
  display: flex;
  gap: 1.35rem;
  flex-wrap: nowrap;
}

.nav-link {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.94rem;
  font-weight: 400;
  position: relative;
  padding: 0.3rem 0;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold-500);
  transition: width 0.3s var(--ease);
}

.nav-link:hover::after,
.nav-link.is-active::after { width: 100%; }

.site-header.is-scrolled .nav-link { color: var(--ink); }
.site-header.is-scrolled .header-cta {
  box-shadow: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.site-header.is-scrolled .nav-toggle span { background: var(--green-900); }

.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  margin-top: calc(var(--header-h) * -1);
  padding: 10rem 0 6.5rem;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(7, 25, 16, 0.55) 0%, rgba(7, 25, 16, 0.35) 38%, rgba(7, 25, 16, 0.78) 100%),
    linear-gradient(90deg, rgba(7, 25, 16, 0.55), transparent 62%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
}

.hero-eyebrow {
  color: var(--gold-400);
  animation: rise 0.9s var(--ease) both;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1rem;
  animation: rise 0.9s 0.1s var(--ease) both;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  max-width: 640px;
  color: rgba(255, 255, 255, 0.88);
  animation: rise 0.9s 0.2s var(--ease) both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 2rem 0 1.8rem;
  animation: rise 0.9s 0.3s var(--ease) both;
}

.hero-trust {
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-100);
  animation: rise 0.9s 0.4s var(--ease) both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Intro ---------- */
.intro {
  overflow-x: hidden;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4.5rem;
  align-items: center;
}

.intro-copy p { color: var(--ink-soft); }
.intro-copy p + p { margin-top: 0.2rem; }

.intro-media {
  margin: 0;
  position: relative;
  z-index: 0;
}

.intro-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-media::before {
  content: "";
  position: absolute;
  inset: 1.4rem 0.2rem -1rem 1.4rem;
  border: 1px solid var(--gold-500);
  border-radius: var(--radius);
  z-index: 0;
}

.intro-media figcaption {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

/* ---------- Stats ---------- */
.stats {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white);
  padding: 3.4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(243, 232, 201, 0.15);
}

.stat-card:last-child { border-right: 0; }

.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--gold-400);
  margin: 0;
  line-height: 1;
}

.stat-value--text { font-size: clamp(2rem, 3.2vw, 2.8rem); }

.stat-label {
  margin: 0.7rem 0 0;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.8);
}

/* ---------- Products ---------- */
.products { background: var(--cream-100); }

.product-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin: -1.2rem 0 2.4rem;
}

.chip {
  border: 1px solid var(--cream-200);
  background: var(--white);
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.chip:hover,
.chip.is-active {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-width: 0;
  scroll-margin-top: 100px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

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

.product-image {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.product-card:hover .product-image img { transform: scale(1.06); }

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--gold-500);
  color: var(--green-950);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
}

.product-body {
  padding: 1.4rem 1.4rem 1.55rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.product-meta {
  margin: 0.4rem 0 1.2rem;
  display: grid;
  gap: 0.55rem;
}

.product-meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  border-top: 1px solid var(--cream-200);
  padding-top: 0.55rem;
}

.product-meta span { color: var(--ink-soft); }
.product-meta strong {
  text-align: right;
  font-weight: 600;
  max-width: 62%;
  word-break: break-word;
}

#product-pepper .product-image img,
.showcase-card--tall img {
  object-position: 12% 82%;
}

.product-body .btn { margin-top: auto; align-self: flex-start; }

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

/* ---------- Showcase ---------- */
.showcase {
  background: var(--green-950);
  padding: 6rem 0;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 1rem;
}

.showcase-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  display: block;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(7, 25, 16, 0.78));
}

.showcase-card span {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  z-index: 1;
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  opacity: 0.95;
}

.showcase-card:hover img { transform: scale(1.08); }

.showcase-card--wide,
.showcase-card--tall { grid-column: span 2; }

/* ---------- Why / features ---------- */
.feature-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-card,
.service-card {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius-sm);
  padding: 1.6rem 1.45rem;
  box-shadow: var(--shadow-sm);
}

.feature-card p,
.service-card p { color: var(--ink-soft); margin: 0; }

.icon-wrap {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-400);
  color: var(--green-700);
  border-radius: 12px;
  margin-bottom: 1rem;
}

.icon-wrap svg { width: 22px; height: 22px; }

/* ---------- Sustainability ---------- */
.sustainability {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 5.5rem 0;
  color: var(--white);
}

.sustainability-media {
  position: absolute;
  inset: 0;
}

.sustainability-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sustainability-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 25, 16, 0.78) 8%, rgba(7, 25, 16, 0.28) 70%);
}

.sustain-card {
  position: relative;
  max-width: 560px;
  background: rgba(12, 36, 24, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 162, 74, 0.35);
  border-radius: var(--radius);
  padding: 2.4rem 2.1rem;
}

.sustain-card h2,
.sustain-card p { color: var(--cream-50); }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.pill-list li {
  border: 1px solid rgba(243, 232, 201, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.8rem;
  font-size: 0.86rem;
  color: var(--gold-100);
}

/* ---------- Services ---------- */
.services { background: var(--cream-100); }

.service-card {
  border-top: 3px solid var(--gold-500);
}

.service-card h3 { font-size: 1.28rem; }

/* ---------- Industries ---------- */
.industries {
  padding: 5.5rem 0;
  background: var(--white);
}

.industry-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.industry-list li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  font-weight: 500;
}

.industry-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--green-700);
  background: var(--white);
  border-radius: 50%;
}

.industry-icon svg { width: 18px; height: 18px; }

/* ---------- Packaging ---------- */
.pack-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.pack-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pack-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.pack-card h3,
.pack-card p { padding-inline: 1.3rem; }

.pack-card h3 { padding-top: 1.15rem; }

.pack-card p {
  padding-bottom: 1.4rem;
  color: var(--ink-soft);
}

.pack-note {
  text-align: center;
  margin-top: 1.8rem;
  font-style: italic;
  color: var(--ink-soft);
}

/* ---------- Quality ---------- */
.quality {
  background: var(--cream-100);
  padding: 6rem 0;
}

.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.quality-media { margin: 0; }

.quality-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.check-list li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.8rem;
  border-bottom: 1px solid var(--cream-200);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.95rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-500);
}

/* ---------- Leadership ---------- */
.leader-card {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-200);
}

.leader-photo {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 16px;
  background: var(--green-800);
}

.leader-role {
  color: var(--gold-700);
  font-weight: 500;
  margin-bottom: 1.2rem;
}

.leader-meta li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-top: 1px solid var(--cream-200);
}

.leader-meta span { color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  padding: 6.5rem 0;
  color: var(--white);
  text-align: center;
}

.cta-media {
  position: absolute;
  inset: 0;
}

.cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(7, 25, 16, 0.72);
}

.cta-content { position: relative; z-index: 1; max-width: 760px; }
.cta-content h2 { color: var(--white); }
.cta-content p { color: rgba(255, 255, 255, 0.88); }
.cta-content .hero-actions { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-company {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--green-800);
}

.contact-person { margin-bottom: 1.4rem; }

address {
  font-style: normal;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}

.contact-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--cream-200);
}

.contact-lines a:hover { color: var(--green-600); }

.contact-form,
.modal-dialog form {
  background: var(--white);
  border: 1px solid var(--cream-200);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.form-row { margin-bottom: 1rem; }

.form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--cream-200);
  background: var(--cream-50);
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15);
}

.field-error {
  min-height: 1.1em;
  margin: 0.25rem 0 0;
  color: #9b2c2c;
  font-size: 0.82rem;
}

.has-error input,
.has-error select,
.has-error textarea {
  border-color: #c53030;
}

section[id] {
  scroll-margin-top: 88px;
}

.form-hint {
  margin: 0.8rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 4.2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem 1.5rem;
  padding-bottom: 2.8rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  letter-spacing: 0.1em;
  color: var(--white);
}

.site-footer h3 {
  color: var(--gold-400);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer a:hover { color: var(--gold-400); }

.footer-bottom {
  background: #000;
  border-top: 1px solid rgba(212, 175, 55, 0.18);
  padding: 0.9rem 0;
}

.footer-bottom-inner {
  width: min(calc(100% - 2.4rem), 1240px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 2rem;
}

.footer-copy {
  grid-column: 1;
  justify-self: start;
  margin: 0;
  color: #fff;
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: left;
}

.footer-gold {
  color: #d4af37;
  font-weight: 500;
}

a.footer-gold:hover {
  color: #f1d36b;
}

.footer-partner {
  grid-column: 2;
  justify-self: end;
  display: block;
  width: 130px;
  line-height: 0;
}

.footer-partner img {
  display: block;
  width: 130px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* ---------- Modal / toast / back-to-top ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 25, 16, 0.62);
}

.modal-dialog {
  position: relative;
  width: min(100%, 480px);
  background: var(--cream-50);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.6rem;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: 0;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--ink-soft);
}

.modal-lead { color: var(--ink-soft); }

.toast {
  position: fixed;
  right: 1.2rem;
  bottom: 5.4rem;
  z-index: 220;
  background: var(--green-800);
  color: var(--white);
  padding: 1rem 1.2rem;
  border-radius: 14px;
  box-shadow: var(--shadow);
  max-width: 360px;
}

.toast[hidden] { display: none; }

.back-to-top {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: var(--green-800);
  color: var(--white);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 90;
}

.back-to-top svg { width: 22px; height: 22px; margin: 0 auto; }

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

body.modal-open .back-to-top { opacity: 0; pointer-events: none; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-inview {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-list { gap: 0.95rem; }
  .nav-link { font-size: 0.9rem; }
}

@media (max-width: 1100px) {
  .product-grid,
  .feature-grid,
  .service-grid { grid-template-columns: repeat(2, 1fr); }

  .showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 210px;
  }

  .showcase-card--wide,
  .showcase-card--tall {
    grid-column: span 1;
    grid-row: span 1;
  }

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

@media (max-width: 900px) {
  .intro-grid,
  .quality-grid,
  .contact-grid,
  .leader-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .intro-media img,
  .quality-media img { height: 380px; }

  .intro-media::before { display: none; }

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

  .stat-card {
    border-right: 0;
    border-bottom: 1px solid rgba(243, 232, 201, 0.15);
    padding: 1.1rem 0.5rem;
  }

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

  .header-inner { gap: 0.7rem; }

  .header-cta--bar {
    min-height: 42px;
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
    width: auto;
    flex-shrink: 0;
    margin-left: auto;
  }

  .header-cta--drawer { display: inline-flex; }

  .nav-toggle { display: block; z-index: 120; }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 360px);
    height: 100vh;
    background: var(--green-950);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1.8rem;
    gap: 1.4rem;
    z-index: 110;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.25);
  }

  .nav.is-open { transform: none; }

  .nav-list {
    flex-direction: column;
    gap: 1.1rem;
  }

  .nav-link,
  .site-header.is-scrolled .nav-link { color: var(--white); font-size: 1.15rem; }

  .nav .header-cta {
    display: inline-flex;
    margin-top: 0.6rem;
  }

  body.nav-open { overflow: hidden; }
}

@media (max-width: 520px) {
  .header-cta--bar { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 4.4rem 0; }
  .hero { padding: 8.5rem 0 4.5rem; min-height: 92vh; }
  .hero-actions,
  .cta-content .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .header-cta--bar { width: auto; }

  .product-grid,
  .feature-grid,
  .service-grid,
  .showcase-grid,
  .stats-grid,
  .footer-grid { grid-template-columns: 1fr; }

  .form-row.two-col { grid-template-columns: 1fr; }

  .sustain-card { padding: 1.6rem 1.25rem; }
  .contact-form { padding: 1.25rem; }
  .leader-photo { height: 240px; }
  .contact-lines li { flex-direction: column; gap: 0.2rem; }
  .product-body .btn { align-self: stretch; }
  .hero-trust { letter-spacing: 0.08em; }
  .pack-card img { height: 210px; }

  .footer-bottom-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 0.75rem;
  }

  .footer-copy,
  .footer-partner {
    grid-column: 1;
  }

  .footer-copy {
    text-align: left;
  }

  .footer-partner {
    justify-self: end;
    width: 110px;
  }

  .footer-partner img {
    width: 110px;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero-eyebrow,
  .hero h1,
  .hero-lead,
  .hero-actions,
  .hero-trust,
  .product-card,
  .product-image img,
  .showcase-card img {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
