/* ==========================================================================
   Karthigai Traders — style.css
   Visual system: mint-cream canvas, deep green primary, slab-serif headings
   with italic green accents, pill navigation, soft rounded cards.
   ========================================================================== */

:root {
  /* Colour */
  --c-bg: #f4f8f3;
  --c-bg-dot: #dfe9df;
  --c-surface: #ffffff;
  --c-tint: #eef5ee;
  --c-primary: #1a7f46;
  --c-primary-dark: #136537;
  --c-primary-soft: #e1f0e4;
  --c-primary-line: #b9dcc3;
  --c-eyebrow: #11806a;
  --c-ink: #17221b;
  --c-text: #3d4a42;
  --c-muted: #5f6d64;
  --c-border: #dde7de;
  --c-accent: #c97a1a;          /* spice / turmeric accent, used sparingly */
  --c-forest: #0f3b24;
  --c-whatsapp: #1f9d55;
  --c-error: #b42318;

  /* Type */
  --f-serif: "Bitter", Georgia, "Times New Roman", serif;
  --f-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape & depth */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(23, 34, 27, .06), 0 1px 3px rgba(23, 34, 27, .05);
  --shadow-md: 0 10px 30px -12px rgba(23, 50, 33, .22);
  --shadow-lg: 0 30px 60px -20px rgba(15, 59, 36, .35);

  /* Layout */
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 68px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--c-text);
  background-color: var(--c-bg);
  background-image: radial-gradient(var(--c-bg-dot) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-font-smoothing: antialiased;
}

body.nav-open { overflow: hidden; }

h1, h2, h3, p, ul, ol, dl, dd, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 3px;
  border-radius: 6px;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--c-primary);
  color: #fff;
  border-radius: var(--r-pill);
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Typography components ---------- */
.eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-eyebrow);
  margin-bottom: .5rem;
}

.section-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--c-ink);
}

.section-title em,
.hero-title em {
  font-style: italic;
  color: var(--c-primary);
}

.section-lead {
  margin-top: .75rem;
  max-width: 56ch;
  color: var(--c-muted);
  font-size: 1.05rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--c-ink);
  white-space: nowrap;
}
.text-link:hover { color: var(--c-primary); }
.text-link .icon { transition: transform .2s; }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 46px;
  padding: .7rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--c-primary); color: #fff; box-shadow: 0 6px 16px -8px rgba(26, 127, 70, .7); }
.btn-primary:hover { background: var(--c-primary-dark); }

.btn-ghost { background: var(--c-surface); color: var(--c-ink); border-color: var(--c-border); }
.btn-ghost:hover { border-color: var(--c-primary-line); color: var(--c-primary); }

.btn-soft { background: var(--c-primary-soft); color: var(--c-primary-dark); }
.btn-soft:hover { background: var(--c-primary); color: #fff; }

.btn-whatsapp { background: var(--c-whatsapp); color: #fff; }
.btn-whatsapp:hover { background: #17824a; }

.btn-sm { min-height: 38px; padding: .45rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }

.btn.is-disabled {
  opacity: .5;
  cursor: not-allowed;
  box-shadow: none;
}

/* ---------- Pills & chips ---------- */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .85rem;
  border: 1px solid var(--c-primary-line);
  border-radius: var(--r-pill);
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
  font-size: .8rem;
  font-weight: 600;
}
.pill-badge-dark {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}

.chip {
  display: inline-flex;
  padding: .25rem .8rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  background: var(--c-surface);
  font-size: .82rem;
  color: var(--c-text);
  transition: border-color .2s, color .2s;
}
.chip:hover { border-color: var(--c-primary-line); color: var(--c-primary); }

.card {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}

/* ---------- Image wrapper with graceful fallback ---------- */
.media {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 122, 26, .18), transparent 55%),
    linear-gradient(135deg, #e3efe4, #cfe3d3);
}
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-missing img { visibility: hidden; }
.media.is-missing::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--c-primary-dark);
  opacity: .7;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(244, 248, 243, .86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  border-bottom-color: var(--c-border);
  box-shadow: 0 4px 20px -14px rgba(23, 34, 27, .35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.brand-mark {
  display: block;
  width: 40px;
  height: auto;
  flex-shrink: 0;
}
.brand-name {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--c-ink);
  letter-spacing: -.01em;
}

.nav-list { display: flex; align-items: center; gap: .25rem; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .45rem .9rem;
  border-radius: var(--r-pill);
  font-size: .9rem;
  font-weight: 500;
  color: var(--c-muted);
  transition: background-color .2s, color .2s;
}
.nav-link .icon { width: 1em; height: 1em; }
.nav-link:hover { color: var(--c-ink); background: rgba(26, 127, 70, .06); }
.nav-link.is-active { background: var(--c-primary-soft); color: var(--c-primary-dark); }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--c-border);
  border-radius: 50%;
  background: var(--c-surface);
  color: var(--c-ink);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(32px, 4vw, 48px); }

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-title {
  margin: 1.25rem 0 1.1rem;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  color: var(--c-ink);
}

.hero-lead {
  max-width: 50ch;
  font-size: 1.075rem;
  color: var(--c-muted);
}

.quick-enquiry {
  display: flex;
  gap: .6rem;
  margin-top: 1.75rem;
  max-width: 480px;
}
.quick-enquiry-field {
  flex: 1;
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: 0 1rem;
  min-height: 50px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  color: var(--c-muted);
}
.quick-enquiry-field:focus-within { border-color: var(--c-primary); box-shadow: 0 0 0 3px var(--c-primary-soft); }
.quick-enquiry-field select {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--c-text);
  font-size: .95rem;
  cursor: pointer;
}
.quick-enquiry-field select:focus { outline: none; }
.quick-enquiry .btn { min-height: 50px; padding-inline: 1.6rem; }

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin-top: 1rem;
}
.chips-label {
  margin-right: .25rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.hero-stats {
  display: flex;
  gap: clamp(24px, 5vw, 56px);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--c-border);
  max-width: 480px;
}
.stat dt {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--c-ink);
}
.stat dt .icon { width: .85em; height: .85em; color: var(--c-primary); }
.stat dd { font-size: .8rem; color: var(--c-muted); }

/* Collage */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 640px;
  width: 100%;
  justify-self: end;
}
.hero-visual figure {
  position: absolute;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.collage-main { top: 0; right: 0; width: 86%; height: 86%; }
.collage-side {
  top: 15%; left: 0;
  width: 40%; height: 42%;
  border: 4px solid var(--c-surface);
  transform: rotate(-3deg);
}
.collage-small {
  bottom: 3%; left: 10%;
  width: 36%; height: 30%;
  border: 4px solid var(--c-surface);
  transform: rotate(2deg);
}
.float-chip {
  position: absolute;
  right: 6%;
  bottom: 8%;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1rem;
  background: var(--c-surface);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
  font-size: .82rem;
  font-weight: 500;
  color: var(--c-ink);
}
.float-chip .icon { color: var(--c-primary); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { padding: var(--section-y) 0; }
.section-tint {
  background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(238, 245, 238, .9));
  border-block: 1px solid var(--c-border);
}
.section-flush { padding-top: calc(var(--section-y) * .6); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head-center { justify-content: center; text-align: center; }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}
.about-media {
  aspect-ratio: 1 / 1;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
}
.about-copy > p:not(.eyebrow) { margin-top: 1rem; }
.about-copy .section-title { margin-bottom: .25rem; }

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 1.5rem;
  margin-top: 2rem;
}
.feature-list li { display: flex; gap: .85rem; }
.feature-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--c-primary-soft);
  color: var(--c-primary);
}
.feature-list h3 { font-size: .98rem; font-weight: 600; color: var(--c-ink); line-height: 1.35; }
.feature-list p { font-size: .88rem; color: var(--c-muted); line-height: 1.5; margin-top: .2rem; }

/* ---------- Products ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.product-media { aspect-ratio: 4 / 3; }
.product-media img { transition: transform .5s ease; }
.product-card:hover .product-media img { transform: scale(1.04); }

.media-tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: .2rem .7rem;
  border-radius: var(--r-pill);
  background: rgba(23, 34, 27, .62);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
}

.product-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.15rem 1.25rem 1.25rem;
}
.product-meta {
  display: flex;
  gap: .75rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-eyebrow);
}
.product-meta span + span::before {
  content: "·";
  margin-right: .75rem;
  color: var(--c-muted);
}
.product-title {
  margin-top: .35rem;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--c-ink);
}
.product-desc {
  margin-top: .45rem;
  font-size: .92rem;
  line-height: 1.55;
  color: var(--c-muted);
}
.product-note {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-top: .75rem;
  font-size: .82rem;
  color: var(--c-text);
}
.product-note .icon { color: var(--c-primary); }

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--c-border);
}
.product-note { margin-bottom: 1rem; }
.product-avail {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8rem;
  color: var(--c-muted);
}
.product-avail .icon { color: var(--c-accent); }

/* ---------- Values ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}
.value-card {
  padding: 2rem 1.75rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  box-shadow: 0 0 0 8px var(--c-primary-soft);
}
.value-icon .icon { width: 26px; height: 26px; }
.value-card h3 {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--c-ink);
}
.value-card p { margin-top: .5rem; font-size: .95rem; color: var(--c-muted); }

/* ---------- Export ---------- */
.export-banner {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  background:
    linear-gradient(95deg, rgba(10, 44, 26, .94) 0%, rgba(13, 56, 33, .82) 42%, rgba(13, 56, 33, .2) 100%),
    url("../images/hero/export-banner.jpg") right center / cover no-repeat,
    linear-gradient(120deg, var(--c-forest), #1d6b40 60%, #b7782a);
  color: rgba(255, 255, 255, .88);
}
.export-banner-copy {
  max-width: 560px;
  padding: clamp(32px, 6vw, 64px);
}
.export-title {
  margin: 1rem 0 .85rem;
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.5rem);
  line-height: 1.15;
  color: #fff;
}
.export-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem 1rem;
  margin: 1.5rem 0 1.75rem;
  font-size: .92rem;
}
.export-points li { display: flex; align-items: flex-start; gap: .45rem; }
.export-points .icon { margin-top: .2em; color: #8fdcaa; }
.export-banner .btn-primary { background: #22a05a; }
.export-banner .btn-primary:hover { background: #1a8a4c; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(28px, 4vw, 44px);
}
.step {
  padding: 1.4rem 1.3rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}
.step-num {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--c-primary);
}
.step h3 { margin-top: .35rem; font-size: 1rem; font-weight: 600; color: var(--c-ink); }
.step p { margin-top: .3rem; font-size: .88rem; color: var(--c-muted); line-height: 1.5; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: .75rem;
  margin-top: 1.75rem;
}
.contact-list li {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .85rem 1rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
}
.contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--c-primary-soft);
  color: var(--c-primary);
}
.contact-label {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--c-muted);
}
.contact-value { display: block; font-weight: 500; color: var(--c-ink); word-break: break-word; }

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .65rem;
  margin-top: 1.5rem;
}

.enquiry-form { padding: clamp(22px, 4vw, 36px); }
.form-title {
  font-family: var(--f-serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--c-ink);
}
.form-hint { margin: .25rem 0 1.25rem; font-size: .85rem; color: var(--c-muted); }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
}
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  margin-bottom: .35rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--c-ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: .65rem .9rem;
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  background: #fbfdfb;
  color: var(--c-ink);
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: #8a978e; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px var(--c-primary-soft);
}
.field [aria-invalid="true"] { border-color: var(--c-error); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .15); }
.field-error { min-height: 0; margin-top: .3rem; font-size: .8rem; color: var(--c-error); }
.field-error:empty { display: none; }

.form-status { margin-top: 1rem; font-size: .9rem; }
.form-status:empty { display: none; }
.form-status.is-success,
.form-status.is-info {
  padding: .75rem 1rem;
  border-radius: var(--r-sm);
  background: var(--c-primary-soft);
  color: var(--c-primary-dark);
}
.form-status.is-error {
  padding: .75rem 1rem;
  border-radius: var(--r-sm);
  background: #fdecea;
  color: var(--c-error);
}

/* ---------- Location ---------- */
.location-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}
.location-card { padding: clamp(24px, 4vw, 40px); }
.location-address {
  display: grid;
  gap: .2rem;
  margin: 1.25rem 0 .75rem;
  color: var(--c-text);
}
.location-address strong { font-family: var(--f-serif); font-size: 1.15rem; color: var(--c-ink); }
.location-note { margin-bottom: 1.5rem; font-size: .92rem; color: var(--c-muted); }

.map-frame {
  min-height: 360px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-sm);
  background:
    linear-gradient(var(--c-tint) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--c-tint) 1px, transparent 1px) 0 0 / 32px 32px,
    #f9fbf8;
}
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.map-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: .5rem;
  height: 100%;
  min-height: 360px;
  padding: 2rem;
  text-align: center;
  color: var(--c-text);
}
.map-placeholder > .icon { width: 40px; height: 40px; color: var(--c-primary); }
.map-placeholder-hint { font-size: .82rem; color: var(--c-muted); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: rgba(255, 255, 255, .7); }

.product-strip {
  border-block: 1px solid var(--c-border);
  padding: 1.5rem 0;
}
.strip-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 2rem;
}
.strip-list a {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .9rem;
  color: var(--c-text);
  transition: color .2s;
}
.strip-list a:hover { color: var(--c-primary); }
.strip-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--c-surface);
  box-shadow: var(--shadow-sm);
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding-block: 3rem;
  text-align: center;
}
.footer-tagline { color: var(--c-muted); font-size: .95rem; }
.footer-location {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .92rem;
  color: var(--c-text);
}
.footer-location .icon { color: var(--c-primary); }
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 1.75rem;
  margin-top: .5rem;
  font-size: .92rem;
}
.footer-nav a:hover { color: var(--c-primary); }
.footer-contact {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4rem 1.5rem;
  font-size: .85rem;
  color: var(--c-muted);
}
.copyright { margin-top: .75rem; font-size: .8rem; color: var(--c-muted); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1440px) {
  :root { --container: 1240px; }
}

@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { max-width: 640px; }
  .hero-visual { justify-self: center; max-width: 600px; aspect-ratio: 6 / 5; }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 1 / 1; max-width: 560px; width: 100%; justify-self: center; order: 2; }

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

  .contact-grid,
  .location-grid { grid-template-columns: 1fr; }
}

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

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    padding: .75rem var(--gutter) 1.25rem;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: transform .25s ease, opacity .25s ease, visibility 0s linear .25s;
  }
  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav-link { padding: .85rem 1rem; font-size: 1rem; border-radius: var(--r-sm); }

  .value-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .value-card { display: grid; grid-template-columns: auto 1fr; gap: 0 1.1rem; text-align: left; padding: 1.5rem; }
  .value-icon { grid-row: span 2; margin: 0; width: 52px; height: 52px; }
}

@media (max-width: 640px) {
  :root { --header-h: 62px; }

  .brand-name { font-size: 1.08rem; }
  .brand-mark { width: 36px; }

  .hero { padding-top: 28px; }
  .hero-title { margin-top: 1rem; }
  .hero-lead { font-size: 1rem; }

  .quick-enquiry { flex-direction: column; }
  .quick-enquiry .btn { width: 100%; }

  .hero-actions .btn { flex: 1 1 100%; }

  .hero-stats { justify-content: space-between; gap: 12px; }
  .stat dt { font-size: 1.15rem; }
  .stat dd { font-size: .75rem; }

  .hero-visual { aspect-ratio: 1 / 1; }
  .collage-main { width: 88%; height: 84%; }
  .collage-side { width: 44%; height: 40%; top: 20%; }
  .collage-small { width: 42%; height: 30%; left: 4%; }
  .float-chip { right: 0; bottom: 2%; font-size: .75rem; padding: .45rem .8rem; }

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

  .feature-list { grid-template-columns: 1fr; }

  .product-grid { grid-template-columns: 1fr; }
  .product-media { aspect-ratio: 16 / 10; }

  .export-points { grid-template-columns: 1fr; }
  .export-banner-copy .btn { width: 100%; }
  .export-banner {
    background:
      linear-gradient(180deg, rgba(10, 44, 26, .9), rgba(13, 56, 33, .94)),
      url("../images/hero/export-banner.jpg") right center / cover no-repeat,
      var(--c-forest);
  }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; }
  .step-num { grid-row: span 2; }
  .step h3 { margin-top: .2rem; }

  .form-row { grid-template-columns: 1fr; }
  .contact-actions { grid-template-columns: 1fr 1fr; }

  .map-frame,
  .map-frame iframe,
  .map-placeholder { min-height: 280px; }

  .strip-list { justify-content: flex-start; gap: .85rem 1.25rem; }
  .strip-list li { flex: 1 1 calc(50% - 1.25rem); }
}

@media (max-width: 380px) {
  .contact-actions { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

@media print {
  .site-header, .nav-toggle, .quick-enquiry, .enquiry-form, .map-frame { display: none; }
  body { background: #fff; }
}
