/* ==========================================================================
   Kalidass Garlic Center — design system
   Tokens → base → layout → shell (header, mega menu, drawer, footer)
   → components → page patterns → legacy class mappings.
   Loaded after bootstrap.min.css (grid, modal, collapse only).
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* Colour — earth, garlic, olive, muted gold */
  --kg-paper: #fffdf8;
  --kg-cream-50: #fbf7ee;
  --kg-cream-100: #f5eedd;
  --kg-cream-200: #eadfc6;
  --kg-cream-300: #dccfb2;
  --kg-garlic: #f4eee2;
  --kg-garlic-shade: #dccfb7;
  --kg-olive-900: #10261a;
  --kg-olive-800: #163721;
  --kg-olive-700: #1f4b2e;
  --kg-olive-600: #2c5e3a;
  --kg-olive-500: #3e6b47;
  --kg-olive-300: #8daa88;
  --kg-olive-100: #e3ebdc;
  --kg-leaf: #6e9a3e;
  --kg-soil-900: #2a1c12;
  --kg-soil-700: #4a321f;
  --kg-soil-500: #6b4a2e;
  --kg-soil-300: #a07b55;
  --kg-gold-700: #7a4f12;
  --kg-gold-500: #b8893a;
  --kg-gold-300: #dcbd7f;
  --kg-gold-100: #f3e6c8;
  --kg-night: #0f0e0b;
  --kg-ink: #1c2219;
  --kg-ink-soft: #4a574c;
  --kg-ink-faint: #6b766c;
  --kg-line: rgba(31, 75, 46, 0.14);
  --kg-line-strong: rgba(31, 75, 46, 0.26);
  --kg-whatsapp: #137a43;
  --kg-whatsapp-hover: #0e6537;
  --kg-danger: #a3261f;
  --kg-success: #1d6b3a;
  --kg-warning: #8a5a00;

  /* Kaliss Naturals sub-brand */
  --kn-green: #1e4a3a;
  --kn-green-deep: #133227;
  --kn-cream: #f6f0e2;
  --kn-gold: #b08d4a;

  /* Typography */
  --font-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --font-ui: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-xs: 0.78rem;
  --fs-sm: 0.9rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.2rem;
  --fs-h4: clamp(1.2rem, 1.08rem + 0.5vw, 1.45rem);
  --fs-h3: clamp(1.5rem, 1.25rem + 1vw, 2.05rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.3vw, 3.3rem);
  --fs-h1: clamp(2.4rem, 1.6rem + 3.4vw, 4.6rem);
  --fs-display: clamp(2.9rem, 1.5rem + 6vw, 7.6rem);
  --lh-tight: 1.04;
  --lh-snug: 1.2;
  --lh-body: 1.65;
  --measure: 68ch;

  /* Spacing (4px base) */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 2.75rem;
  --sp-8: 3.5rem;
  --sp-9: 4.5rem;
  --sp-10: 6rem;
  --section-y: clamp(4rem, 2.6rem + 5vw, 7.5rem);

  /* Radius / shadow */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(16, 38, 26, 0.06), 0 2px 8px rgba(16, 38, 26, 0.05);
  --sh-2: 0 14px 34px -14px rgba(16, 38, 26, 0.22);
  --sh-3: 0 34px 70px -26px rgba(16, 38, 26, 0.34);
  --ring: 0 0 0 3px var(--kg-paper), 0 0 0 5px var(--kg-gold-500);

  /* Motion — mirrored in assets/kgc/js/tokens */
  --motion-fast: 160ms;
  --motion-standard: 320ms;
  --motion-slow: 640ms;
  --motion-cinematic: 1200ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-cinematic: cubic-bezier(0.16, 1, 0.3, 1);
  --reveal-sm: 24px;
  --reveal-lg: 48px;

  /* Layers */
  --z-float: 1020;
  --z-header: 1030;
  --z-mega: 1031;
  --z-drawer: 1045;
  --z-skip: 1100;

  /* Containers (breakpoints: 576 / 768 / 1024 / 1280 / 1440) */
  --container: 1240px;
  --container-wide: 1440px;
  --container-narrow: 780px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-fast: 1ms;
    --motion-standard: 1ms;
    --motion-slow: 1ms;
    --motion-cinematic: 1ms;
  }
}

/* ---------- 2. Base ------------------------------------------------------ */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body.kgc {
  margin: 0;
  font-family: var(--font-ui);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--kg-ink);
  background: var(--kg-cream-50);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.kgc h1, .kgc h2, .kgc h3, .kgc h4, .kgc h5, .kgc h6 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--kg-olive-800);
  line-height: var(--lh-snug);
  letter-spacing: -0.015em;
  margin: 0 0 var(--sp-4);
}

.kgc h1 { font-size: var(--fs-h1); line-height: var(--lh-tight); }
.kgc h2 { font-size: var(--fs-h2); line-height: 1.08; }
.kgc h3 { font-size: var(--fs-h3); }
.kgc h4 { font-size: var(--fs-h4); }
.kgc p { margin: 0 0 var(--sp-4); }
.kgc a { color: var(--kg-olive-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.kgc a:hover { color: var(--kg-olive-900); }
.kgc img { max-width: 100%; height: auto; }
.kgc ::selection { background: var(--kg-gold-300); color: var(--kg-olive-900); }

.kgc :focus { outline: none; }
.kgc :focus-visible {
  outline: 2px solid var(--kg-gold-500);
  outline-offset: 3px;
  border-radius: 6px;
}

.kgc-icon { width: 1.15em; height: 1.15em; flex: none; }

.skip-link {
  position: fixed;
  top: var(--sp-3);
  left: var(--sp-3);
  z-index: var(--z-skip);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-pill);
  background: var(--kg-olive-800);
  color: #fff !important;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform var(--motion-fast) var(--ease-out);
}
.skip-link:focus { transform: none; }

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

/* ---------- 3. Layout ---------------------------------------------------- */
.kgc .container,
.k-container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.k-container--wide { max-width: calc(var(--container-wide) + 2 * var(--gutter)); }
.k-container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

.k-section,
.kgc .ftco-section { padding-block: var(--section-y); }
.kgc .ftco-section.pt-0,
.k-section--flush-top { padding-top: 0; }
.k-section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.k-section--paper { background: var(--kg-paper); }
.k-section--cream { background: var(--kg-cream-100); }
.k-section--olive { background: var(--kg-olive-800); color: var(--kg-cream-100); }
.k-section--olive h2, .k-section--olive h3 { color: var(--kg-cream-50); }

.k-grid { display: grid; gap: var(--sp-5); }
.k-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.k-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.k-grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }

.k-split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: start;
}
@media (min-width: 1024px) {
  .k-split { grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr); }
  .k-split--even { grid-template-columns: 1fr 1fr; align-items: center; }
  .k-split--reverse > :first-child { order: 2; }
}

.k-sticky { position: sticky; top: calc(var(--header-h) + var(--sp-5)); }

/* ---------- 4. Typography components ------------------------------------ */
.k-eyebrow,
.kgc .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-4);
  font-family: var(--font-ui);
  font-size: var(--fs-xs);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kg-gold-700);
  background: none;
  padding: 0;
  border-radius: 0;
}
.k-eyebrow::before,
.kgc .eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.k-section--olive .k-eyebrow { color: var(--kg-gold-300); }

.k-intro,
.kgc .section-heading {
  max-width: 760px;
  margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}
.k-intro--center { margin-inline: auto; text-align: center; }
.k-intro--center .k-eyebrow { justify-content: center; }
.k-intro p,
.kgc .section-heading p,
.k-lead,
.kgc .section-lead {
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--kg-ink-soft);
  max-width: var(--measure);
}
.k-section--olive .k-intro p { color: rgba(245, 238, 221, 0.82); }

.k-display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
.k-display em { font-style: italic; color: var(--kg-gold-500); }

.k-prose { max-width: var(--measure); }
.k-prose h2 { font-size: var(--fs-h3); margin-top: var(--sp-7); }
.k-prose h3 { font-size: var(--fs-h4); margin-top: var(--sp-6); font-family: var(--font-ui); font-weight: 700; letter-spacing: 0; }
.k-prose ul, .k-prose ol { padding-left: 1.2em; margin-bottom: var(--sp-5); }
.k-prose li { margin-bottom: var(--sp-2); }
.k-prose hr { border: 0; border-top: 1px solid var(--kg-line); margin: var(--sp-7) 0; }
.k-prose strong, .k-prose b { color: var(--kg-olive-800); }
.k-prose span[style] { font-weight: inherit; }

/* ---------- 5. Buttons --------------------------------------------------- */
.k-btn,
.kgc .btn-kgc-primary,
.kgc .btn-kgc-secondary {
  --btn-bg: var(--kg-olive-700);
  --btn-fg: #fff;
  --btn-border: var(--kg-olive-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.75rem 1.4rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg) !important;
  font-family: var(--font-ui);
  font-size: 0.97rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: none;
  transition: background var(--motion-fast) var(--ease-out), color var(--motion-fast) var(--ease-out),
    border-color var(--motion-fast) var(--ease-out), transform var(--motion-fast) var(--ease-out),
    box-shadow var(--motion-standard) var(--ease-out);
}
.k-btn:hover,
.kgc .btn-kgc-primary:hover { --btn-bg: var(--kg-olive-900); --btn-border: var(--kg-olive-900); transform: translateY(-1px); box-shadow: var(--sh-2); }
.k-btn:active { transform: translateY(0); }
.k-btn .kgc-icon { transition: transform var(--motion-fast) var(--ease-out); }
.k-btn:hover .kgc-icon--move { transform: translateX(3px); }

.k-btn--gold { --btn-bg: var(--kg-gold-500); --btn-border: var(--kg-gold-500); --btn-fg: var(--kg-olive-900); }
.k-btn--gold:hover { --btn-bg: var(--kg-gold-300); --btn-border: var(--kg-gold-300); --btn-fg: var(--kg-olive-900); }

.k-btn--ghost,
.kgc .btn-kgc-secondary {
  --btn-bg: transparent;
  --btn-fg: var(--kg-olive-800);
  --btn-border: var(--kg-line-strong);
}
.k-btn--ghost:hover,
.kgc .btn-kgc-secondary:hover { --btn-bg: var(--kg-olive-100); --btn-border: var(--kg-olive-300); --btn-fg: var(--kg-olive-900); transform: translateY(-1px); }

.k-btn--light { --btn-bg: var(--kg-paper); --btn-fg: var(--kg-olive-900); --btn-border: var(--kg-paper); }
.k-btn--light:hover { --btn-bg: #fff; --btn-border: #fff; --btn-fg: var(--kg-olive-900); }
.k-btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-border: rgba(255, 255, 255, 0.5); }
.k-btn--outline-light:hover { --btn-bg: rgba(255, 255, 255, 0.12); --btn-border: #fff; --btn-fg: #fff; }

.k-btn--whatsapp { --btn-bg: var(--kg-whatsapp); --btn-border: var(--kg-whatsapp); --btn-fg: #fff; }
.k-btn--whatsapp:hover { --btn-bg: var(--kg-whatsapp-hover); --btn-border: var(--kg-whatsapp-hover); }

.k-btn--sm { min-height: 40px; padding: 0.5rem 1rem; font-size: 0.88rem; }
.k-btn--lg { min-height: 56px; padding: 0.95rem 1.8rem; font-size: 1.02rem; }
.k-btn--block, .kgc .btn-block { width: 100%; }
.k-btn--icon { width: 48px; padding: 0; }
.k-btn[aria-busy="true"] { pointer-events: none; opacity: 0.75; }
.k-btn[aria-busy="true"]::after {
  content: "";
  width: 1em;
  height: 1em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: k-spin 0.7s linear infinite;
}
@keyframes k-spin { to { transform: rotate(360deg); } }

.k-actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

.k-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--kg-olive-700);
  text-decoration: none !important;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size var(--motion-standard) var(--ease-out);
}
.k-link:hover { background-size: 100% 1px; }

/* ---------- 6. Header & navigation -------------------------------------- */
.k-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  color: var(--kg-olive-900);
  background: rgba(251, 247, 238, 0.94);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--kg-line);
  transition: background var(--motion-standard) var(--ease-out), color var(--motion-standard) var(--ease-out),
    border-color var(--motion-standard) var(--ease-out), box-shadow var(--motion-standard) var(--ease-out);
}
.k-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(16, 38, 26, 0.35); }

/* Transparent over the cinematic hero until the visitor scrolls. */
.k-header--overlay { position: fixed; left: 0; right: 0; }
.k-header--overlay:not(.is-scrolled):not(.is-open) {
  background: linear-gradient(180deg, rgba(10, 22, 14, 0.55), rgba(10, 22, 14, 0));
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-color: transparent;
  color: #fff;
}

.k-utility {
  font-size: 0.84rem;
  border-bottom: 1px solid var(--kg-line);
  overflow: hidden;
  max-height: 44px;
  transition: max-height var(--motion-standard) var(--ease-out), opacity var(--motion-standard) var(--ease-out), border-color var(--motion-standard);
}
.k-header.is-scrolled .k-utility { max-height: 0; opacity: 0; border-color: transparent; }
.k-header--overlay:not(.is-scrolled) .k-utility { border-color: rgba(255, 255, 255, 0.16); }
.k-utility__row { display: flex; justify-content: space-between; gap: var(--sp-5); padding-block: 0.55rem; }
.k-utility__group { display: flex; flex-wrap: wrap; gap: 0.35rem 1.4rem; align-items: center; }
.k-utility a { color: inherit !important; text-decoration: none; display: inline-flex; align-items: center; gap: 0.4rem; }
.k-utility a:hover { text-decoration: underline; }
.k-utility__trust { display: inline-flex; align-items: center; gap: 0.35rem; opacity: 0.88; }
.k-utility__trust .kgc-icon { color: var(--kg-gold-500); }
@media (max-width: 1023.98px) { .k-utility { display: none; } }

.k-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
  transition: min-height var(--motion-standard) var(--ease-out);
}
.k-header.is-scrolled .k-nav { min-height: 64px; }

.k-brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none !important; color: inherit !important; flex: none; }
.k-brand__logo {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.35);
  transition: width var(--motion-standard) var(--ease-out), height var(--motion-standard) var(--ease-out);
}
.k-header.is-scrolled .k-brand__logo { width: 44px; height: 44px; }
.k-brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.k-brand__name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 700; letter-spacing: -0.01em; }
.k-brand__place { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.72; }
@media (max-width: 400px) { .k-brand__place { display: none; } .k-brand__name { font-size: 1.15rem; } }

.k-menu { display: none; list-style: none; margin: 0 0 0 auto; padding: 0; gap: 0.1rem; align-items: center; }
@media (min-width: 1280px) { .k-menu { display: flex; } }

.k-menu__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-height: 44px;
  padding: 0.5rem 0.8rem;
  border: 0;
  background: none;
  color: inherit !important;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  border-radius: var(--r-sm);
}
.k-menu__link::after {
  content: "";
  position: absolute;
  left: 0.8rem;
  right: 0.8rem;
  bottom: 6px;
  height: 2px;
  background: var(--kg-gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--motion-standard) var(--ease-out);
}
.k-menu__link:hover::after,
.k-menu__link[aria-expanded="true"]::after,
.k-menu__item.is-active > .k-menu__link::after { transform: scaleX(1); }
.k-menu__link .kgc-icon { width: 14px; height: 14px; transition: transform var(--motion-fast) var(--ease-out); }
.k-menu__link[aria-expanded="true"] .kgc-icon { transform: rotate(180deg); }

.k-nav__actions { display: flex; align-items: center; gap: var(--sp-2); margin-left: auto; }
@media (min-width: 1280px) { .k-nav__actions { margin-left: var(--sp-3); } }
.k-nav__wa { display: none; }
@media (min-width: 640px) { .k-nav__wa { display: inline-flex; } }
.k-nav__price { display: none; }
@media (min-width: 768px) { .k-nav__price { display: inline-flex; } }
/* Shop online: icon-only on tablets / small desktops, full label from 1500px. */
/* 1280–1499px: full menu plus three actions is tight; the floating WhatsApp button covers that action. */
@media (min-width: 1280px) and (max-width: 1499px) { .k-nav__wa { display: none; } }
.k-nav__shop { display: none; }
@media (min-width: 640px) { .k-nav__shop { display: inline-flex; width: 48px; padding: 0; } .k-nav__shop span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
@media (min-width: 1500px) { .k-nav__shop { width: auto; padding: 0.75rem 1.2rem; } .k-nav__shop span { position: static; width: auto; height: auto; overflow: visible; clip: auto; } }
.k-header--overlay:not(.is-scrolled):not(.is-open) .k-nav__shop { --btn-fg: #fff; --btn-border: rgba(255, 255, 255, 0.45); }
.k-header--overlay:not(.is-scrolled):not(.is-open) .k-nav__wa { --btn-fg: #fff; --btn-border: rgba(255, 255, 255, 0.45); }

.k-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid currentColor;
  border-color: color-mix(in srgb, currentColor 30%, transparent);
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
@media (min-width: 1280px) { .k-burger { display: none; } }

/* Mega menu / dropdown panels */
.k-menu__item { position: static; }
.k-menu__item--small { position: relative; }
.k-mega {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: var(--z-mega);
  padding-block: var(--sp-6) var(--sp-7);
  background: var(--kg-paper);
  color: var(--kg-ink);
  border-top: 1px solid var(--kg-line);
  box-shadow: 0 40px 70px -30px rgba(16, 38, 26, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--motion-standard) var(--ease-out), transform var(--motion-standard) var(--ease-out), visibility 0s linear var(--motion-standard);
}
.k-menu__item.is-open > .k-mega {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.k-mega--small { left: 50%; right: auto; width: 300px; padding: var(--sp-3); border-radius: var(--r-md); border: 1px solid var(--kg-line); transform: translate(-50%, -8px); }
.k-menu__item.is-open > .k-mega--small { transform: translate(-50%, 0); }

.k-mega__grid { display: grid; grid-template-columns: 1.15fr 1fr 0.9fr 0.95fr; gap: var(--sp-6); }
.k-mega__grid--wholesale { grid-template-columns: 1.1fr 1.1fr 0.9fr; }
.k-mega__title {
  margin: 0 0 var(--sp-3);
  font-family: var(--font-ui);
  font-size: var(--fs-xs) !important;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kg-gold-700) !important;
}
.k-mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.k-mega__list--cols { grid-template-columns: 1fr 1fr; }
.k-mega__prod,
.k-mega__link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.6rem;
  margin-inline: -0.6rem;
  border-radius: var(--r-sm);
  color: var(--kg-ink) !important;
  text-decoration: none !important;
  transition: background var(--motion-fast) var(--ease-out);
}
.k-mega__prod:hover, .k-mega__link:hover { background: var(--kg-cream-100); }
.k-mega__prod img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex: none; background: var(--kg-cream-200); }
.k-mega__prod strong, .k-mega__link strong { display: block; font-size: 0.94rem; line-height: 1.25; }
.k-mega__prod small, .k-mega__link small { display: block; font-size: 0.8rem; color: var(--kg-ink-faint); line-height: 1.3; }
.k-mega__feature {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 100%;
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--kg-olive-800);
  color: var(--kg-cream-50) !important;
  text-decoration: none !important;
  isolation: isolate;
}
.k-mega__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform var(--motion-slow) var(--ease-out); }
.k-mega__feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 38, 26, 0.05) 20%, rgba(16, 38, 26, 0.9)); }
.k-mega__feature:hover img { transform: scale(1.05); }
.k-mega__feature strong { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.1; margin-bottom: var(--sp-2); }
.k-mega__feature span { font-size: 0.88rem; opacity: 0.88; }
.k-mega__foot { display: flex; flex-wrap: wrap; gap: var(--sp-2); align-items: center; margin-top: var(--sp-6); padding-top: var(--sp-5); border-top: 1px solid var(--kg-line); }
.k-mega__foot .k-link { margin-right: auto; }

/* Mobile drawer */
.k-drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-drawer);
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  pointer-events: none;
}
.k-drawer.is-open { visibility: visible; pointer-events: auto; }
.k-drawer__backdrop { position: absolute; inset: 0; background: rgba(10, 22, 14, 0.5); opacity: 0; transition: opacity var(--motion-standard) var(--ease-out); }
.k-drawer.is-open .k-drawer__backdrop { opacity: 1; }
.k-drawer__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(100%, 440px);
  height: 100%;
  background: var(--kg-paper);
  color: var(--kg-ink);
  transform: translateX(100%);
  transition: transform var(--motion-slow) var(--ease-cinematic);
}
.k-drawer.is-open .k-drawer__panel { transform: none; }
.k-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: var(--sp-4) var(--gutter); border-bottom: 1px solid var(--kg-line); }
.k-drawer__body { flex: 1; overflow-y: auto; padding: var(--sp-3) var(--gutter) var(--sp-6); overscroll-behavior: contain; }
.k-drawer__nav { list-style: none; margin: 0; padding: 0; }
.k-drawer__nav > li { border-bottom: 1px solid var(--kg-line); }
.k-drawer__link,
.k-drawer__toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--kg-olive-800) !important;
  text-align: left;
  text-decoration: none !important;
  cursor: pointer;
}
.k-drawer__toggle .kgc-icon { transition: transform var(--motion-standard) var(--ease-out); }
.k-drawer__toggle[aria-expanded="true"] .kgc-icon { transform: rotate(180deg); }
.k-drawer__sub { list-style: none; margin: 0; padding: 0 0 var(--sp-4); display: grid; gap: 2px; }
.k-drawer__sub[hidden] { display: none; }
.k-drawer__sub a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  color: var(--kg-ink) !important;
  text-decoration: none !important;
}
.k-drawer__sub a:hover { background: var(--kg-cream-100); }
.k-drawer__sublabel { padding: var(--sp-3) 0.75rem var(--sp-1); font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kg-gold-700); }
.k-drawer__foot { display: grid; gap: var(--sp-2); padding: var(--sp-4) var(--gutter) calc(var(--sp-4) + env(safe-area-inset-bottom)); border-top: 1px solid var(--kg-line); background: var(--kg-cream-50); }
.k-drawer__foot-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
body.has-drawer-open { overflow: hidden; }

/* ---------- 7. Floating & mobile action bar ----------------------------- */
.k-float-wa {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: var(--z-float);
  display: none;
  box-shadow: 0 18px 40px -16px rgba(19, 122, 67, 0.7);
}
@media (min-width: 768px) { .k-float-wa { display: inline-flex; } }

.k-actionbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-float);
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1.25fr;
  gap: 6px;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 253, 248, 0.97);
  border-top: 1px solid var(--kg-line);
  box-shadow: 0 -12px 30px -18px rgba(16, 38, 26, 0.4);
  transition: transform var(--motion-standard) var(--ease-out);
}
.k-actionbar.is-hidden { transform: translateY(110%); }
.k-actionbar a,
.k-actionbar button {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 54px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--kg-cream-100);
  color: var(--kg-olive-800) !important;
  font: 700 0.78rem/1.1 var(--font-ui);
  text-decoration: none !important;
}
.k-actionbar .is-wa { background: var(--kg-whatsapp); color: #fff !important; }
.k-actionbar .is-price { background: var(--kg-olive-700); color: #fff !important; }
.k-actionbar .is-shop { background: var(--kg-gold-500); color: var(--kg-olive-900) !important; }
@media (min-width: 768px) { .k-actionbar { display: none; } }
@media (max-width: 767.98px) { body.kgc { padding-bottom: 78px; } }

/* ---------- 8. Cards & surfaces ----------------------------------------- */
.k-card,
.kgc .content-card,
.kgc .summary-card,
.kgc .contact-card,
.kgc .page-hero__summary,
.kgc .landing-hero__summary {
  position: relative;
  padding: clamp(1.4rem, 1rem + 1.5vw, 2.4rem);
  border: 1px solid var(--kg-line);
  border-radius: var(--r-lg);
  background: var(--kg-paper);
  box-shadow: var(--sh-1);
}
.k-card--cream { background: var(--kg-cream-100); box-shadow: none; }
.k-card--olive { background: var(--kg-olive-800); color: var(--kg-cream-100); border-color: transparent; }
.k-card--olive h2, .k-card--olive h3 { color: var(--kg-cream-50); }
.k-card--interactive { transition: transform var(--motion-standard) var(--ease-out), box-shadow var(--motion-standard) var(--ease-out), border-color var(--motion-standard); }
.k-card--interactive:hover { transform: translateY(-3px); box-shadow: var(--sh-2); border-color: var(--kg-line-strong); }
.kgc .summary-card .eyebrow { margin-bottom: var(--sp-2); }
.kgc .summary-card h3,
.kgc .content-card h2 { margin-bottom: var(--sp-3); }

.k-icon-badge {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--kg-olive-100);
  color: var(--kg-olive-700);
  margin-bottom: var(--sp-4);
}
.k-icon-badge .kgc-icon { width: 24px; height: 24px; }

/* Bento grid (buyers / trust) */
.k-bento { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 1024px) {
  .k-bento { grid-template-columns: repeat(6, 1fr); grid-auto-rows: minmax(190px, auto); }
  .k-bento > :nth-child(1) { grid-column: span 3; grid-row: span 2; }
  .k-bento > :nth-child(2) { grid-column: span 3; }
  .k-bento > :nth-child(3) { grid-column: span 3; }
  .k-bento > :nth-child(4),
  .k-bento > :nth-child(5),
  .k-bento > :nth-child(6) { grid-column: span 2; }
}
.k-bento__tile {
  display: flex;
  flex-direction: column;
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--kg-paper);
  border: 1px solid var(--kg-line);
}
.k-bento__tile h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-2); }
.k-bento__tile p { color: var(--kg-ink-soft); margin: 0; }
.k-bento__tile--hero {
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  color: var(--kg-cream-50);
  background: var(--kg-olive-800);
  border: 0;
  isolation: isolate;
  min-height: 320px;
}
.k-bento__tile--hero h3 { font-size: var(--fs-h3); color: #fff; }
.k-bento__tile--hero p { color: rgba(255, 255, 255, 0.85); }
.k-bento__tile--hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.k-bento__tile--hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 38, 26, 0.1), rgba(16, 38, 26, 0.92) 75%); }

/* Stats / trust */
.k-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 1px; background: var(--kg-line); border: 1px solid var(--kg-line); border-radius: var(--r-lg); overflow: hidden; }
.k-stat { padding: var(--sp-5); background: var(--kg-paper); }
.k-stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.5rem); line-height: 1; color: var(--kg-olive-800); margin-bottom: var(--sp-2); }
.k-stat span { font-size: 0.92rem; color: var(--kg-ink-soft); }

/* Chips / badges */
.k-chips, .kgc .trust-pill-row, .kgc .spec-chip-list, .kgc .area-chip-list, .kgc .filter-chip-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-block: var(--sp-4); }
.k-chip,
.kgc .trust-pill,
.kgc .spec-chip,
.kgc .area-chip,
.kgc .filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 36px;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--kg-line);
  border-radius: var(--r-pill);
  background: var(--kg-paper);
  color: var(--kg-olive-800) !important;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none !important;
}
button.k-chip, a.k-chip, .kgc a.filter-chip { cursor: pointer; transition: background var(--motion-fast), border-color var(--motion-fast), color var(--motion-fast); min-height: 44px; }
button.k-chip:hover, a.k-chip:hover, .kgc a.filter-chip:hover { border-color: var(--kg-olive-300); background: var(--kg-cream-100); }
.k-chip[aria-pressed="true"], .k-chip.is-active, .kgc .filter-chip.is-active { background: var(--kg-olive-800); border-color: var(--kg-olive-800); color: #fff !important; }
.k-chip .kgc-icon { width: 15px; height: 15px; color: var(--kg-gold-500); }

.k-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-pill);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--kg-cream-200);
  color: var(--kg-olive-800);
}
.k-badge--available { background: #dcebd9; color: var(--kg-success); }
.k-badge--enquire { background: var(--kg-gold-100); color: var(--kg-gold-700); }
.k-badge--development { background: #ece7de; color: #5c5547; }
.k-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Breadcrumb */
.kgc-breadcrumb { padding-block: var(--sp-5) 0; font-size: 0.86rem; }
.kgc-breadcrumb ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; margin: 0; padding: 0; }
.kgc-breadcrumb li { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--kg-ink-faint); }
.kgc-breadcrumb li + li::before { content: "/"; opacity: 0.5; }
.kgc-breadcrumb a { color: var(--kg-ink-soft) !important; text-decoration: none; font-weight: 600; }
.kgc-breadcrumb a:hover { color: var(--kg-olive-800) !important; text-decoration: underline; }

/* ---------- 9. Product cards & catalogue -------------------------------- */
.k-products { display: grid; gap: clamp(1rem, 0.6rem + 1.5vw, 1.75rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }

.k-product {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: var(--kg-paper);
  border: 1px solid var(--kg-line);
  overflow: hidden;
  transition: transform var(--motion-standard) var(--ease-out), box-shadow var(--motion-standard) var(--ease-out), border-color var(--motion-standard);
}
.k-product:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: var(--kg-line-strong); }
.k-product[hidden] { display: none; }
.k-product__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kg-cream-200); }
.k-product__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform var(--motion-cinematic) var(--ease-cinematic), clip-path var(--motion-slow) var(--ease-out); clip-path: inset(0 round 0); }
.k-product:hover .k-product__media img { transform: scale(1.08); }
.k-product__tag { position: absolute; top: var(--sp-3); left: var(--sp-3); }
.k-product__body { display: flex; flex-direction: column; flex: 1; padding: var(--sp-5); }
.k-product__meta { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; margin-bottom: var(--sp-2); font-size: 0.8rem; font-weight: 700; color: var(--kg-gold-700); letter-spacing: 0.04em; text-transform: uppercase; }
.k-product__meta span { display: inline-flex; align-items: center; gap: 0.3rem; }
.k-product__meta .kgc-icon { width: 14px; height: 14px; }
.k-product h3 { font-size: 1.7rem; margin-bottom: var(--sp-2); }
.k-product h3 a { color: inherit !important; text-decoration: none !important; }
.k-product h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.k-product__summary { color: var(--kg-ink-soft); font-size: 0.97rem; margin-bottom: var(--sp-4); }
.k-product__pack { display: flex; gap: 0.5rem; padding: var(--sp-3); margin-bottom: var(--sp-4); border-radius: var(--r-md); background: var(--kg-cream-100); font-size: 0.85rem; color: var(--kg-ink-soft); }
.k-product__pack .kgc-icon { color: var(--kg-olive-500); margin-top: 2px; }
.k-product__actions { position: relative; z-index: 2; display: flex; gap: var(--sp-2); margin-top: auto; }
.k-product__actions .k-btn { flex: 1; }

.k-filterbar { display: flex; flex-wrap: wrap; gap: var(--sp-5); align-items: flex-end; justify-content: space-between; margin-bottom: var(--sp-6); padding-bottom: var(--sp-5); border-bottom: 1px solid var(--kg-line); }
.k-filterbar__group { display: flex; flex-direction: column; gap: var(--sp-2); }
.k-filterbar__label { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--kg-ink-faint); }
.k-filterbar .k-chips { margin: 0; }
.k-results { font-size: 0.9rem; color: var(--kg-ink-soft); }

.k-empty {
  padding: var(--sp-8) var(--sp-5);
  border: 1px dashed var(--kg-line-strong);
  border-radius: var(--r-lg);
  text-align: center;
  color: var(--kg-ink-soft);
}
.k-empty[hidden] { display: none; }
.k-empty h3 { font-size: var(--fs-h4); }

/* Product detail */
.k-pdp { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 1024px) { .k-pdp { grid-template-columns: 1.05fr 0.95fr; } }
.k-pdp__media { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--kg-cream-200); aspect-ratio: 4 / 3; box-shadow: var(--sh-3); }
.k-pdp__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .k-pdp__media { position: sticky; top: calc(var(--header-h) + var(--sp-5)); } }
.k-pdp h1 { font-size: clamp(2.4rem, 1.7rem + 2.8vw, 4rem); }
.k-pdp__price { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); margin-block: var(--sp-5); border-radius: var(--r-md); background: var(--kg-olive-800); color: var(--kg-cream-100); }
.k-pdp__price strong { font-family: var(--font-display); font-size: 1.6rem; color: #fff; white-space: nowrap; }
.k-pdp__price span { font-size: 0.9rem; opacity: 0.85; }
.k-specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1px; background: var(--kg-line); border: 1px solid var(--kg-line); border-radius: var(--r-md); overflow: hidden; margin-block: var(--sp-5); }
.k-spec { padding: var(--sp-4); background: var(--kg-paper); }
.k-spec dt { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--kg-ink-faint); margin-bottom: 4px; }
.k-spec dd { margin: 0; font-weight: 600; color: var(--kg-ink); font-size: 0.97rem; }
.k-tabsnav { display: flex; gap: var(--sp-2); overflow-x: auto; padding-bottom: var(--sp-2); margin-bottom: var(--sp-6); border-bottom: 1px solid var(--kg-line); scrollbar-width: none; }
.k-tabsnav a { flex: none; padding: 0.6rem 0.2rem; margin-right: var(--sp-4); font-weight: 700; font-size: 0.92rem; color: var(--kg-ink-soft) !important; text-decoration: none !important; border-bottom: 2px solid transparent; }
.k-tabsnav a:hover { color: var(--kg-olive-800) !important; border-color: var(--kg-gold-500); }
.k-list-check { list-style: none; padding: 0; margin: 0 0 var(--sp-5); display: grid; gap: var(--sp-3); }
.k-list-check li { display: flex; gap: 0.7rem; align-items: flex-start; }
.k-list-check .kgc-icon { color: var(--kg-olive-500); margin-top: 0.25em; }

/* ---------- 10. Process / timeline -------------------------------------- */
.k-process { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); counter-reset: step; }
.k-process li { position: relative; padding: var(--sp-5) var(--sp-4) var(--sp-4); border-radius: var(--r-md); background: var(--kg-paper); border: 1px solid var(--kg-line); counter-increment: step; }
.k-process li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-display); font-size: 1.5rem; color: var(--kg-gold-500); line-height: 1; margin-bottom: var(--sp-2); }
.k-process strong { display: block; font-size: 1rem; }
.k-process span { font-size: 0.88rem; color: var(--kg-ink-soft); }

.k-line { display: grid; gap: var(--sp-5); }
.k-line__item { display: grid; gap: var(--sp-4); padding: var(--sp-6); border-radius: var(--r-lg); background: var(--kg-paper); border: 1px solid var(--kg-line); }
@media (min-width: 900px) { .k-line__item { grid-template-columns: 0.9fr 1.4fr; align-items: center; } }
.k-line__item h3 { margin-bottom: var(--sp-2); }
.k-line__steps { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; list-style: none; padding: 0; margin: 0; }
.k-line__steps li { display: inline-flex; align-items: center; gap: 6px; font-size: 0.86rem; font-weight: 700; color: var(--kg-olive-800); }
.k-line__steps li:not(:last-child)::after { content: "→"; color: var(--kg-gold-500); }
.k-line__item--muted { background: var(--kg-cream-100); }

/* ---------- 11. Link cards / location grid ------------------------------ */
.kgc .link-grid, .k-linkgrid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.kgc .link-card, .k-linkcard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  min-height: 64px;
  padding: var(--sp-4) var(--sp-5);
  border: 1px solid var(--kg-line);
  border-radius: var(--r-md);
  background: var(--kg-paper);
  color: var(--kg-olive-800) !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: background var(--motion-fast), border-color var(--motion-fast), transform var(--motion-fast) var(--ease-out);
}
.kgc .link-card:hover, .k-linkcard:hover { background: var(--kg-cream-100); border-color: var(--kg-olive-300); transform: translateY(-2px); }
.k-linkcard small { display: block; font-weight: 500; font-size: 0.82rem; color: var(--kg-ink-faint); }
.kgc .link-card__arrow, .k-linkcard .kgc-icon { color: var(--kg-gold-500); transition: transform var(--motion-fast) var(--ease-out); }
.kgc .link-card:hover .link-card__arrow, .k-linkcard:hover .kgc-icon { transform: translateX(3px); }

/* ---------- 12. CTA band ------------------------------------------------- */
.k-cta,
.kgc .cta-band {
  position: relative;
  display: grid;
  gap: var(--sp-5);
  align-items: center;
  padding: clamp(1.75rem, 1rem + 3vw, 3.5rem);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(184, 137, 58, 0.35), transparent 55%),
    linear-gradient(135deg, var(--kg-olive-800), var(--kg-olive-900));
  color: var(--kg-cream-100);
  overflow: hidden;
  isolation: isolate;
}
@media (min-width: 900px) { .k-cta, .kgc .cta-band { grid-template-columns: 1.4fr auto; } }
.k-cta h2, .k-cta h3, .kgc .cta-band h3 { color: #fff; margin-bottom: var(--sp-2); }
.kgc .cta-band .eyebrow, .k-cta .k-eyebrow { color: var(--kg-gold-300); }
.k-cta p, .kgc .cta-band p { color: rgba(245, 238, 221, 0.85); }
.kgc .cta-band .btn-kgc-secondary, .k-cta .k-btn--ghost { --btn-fg: #fff; --btn-border: rgba(255, 255, 255, 0.4); }
.kgc .cta-band .btn-kgc-secondary:hover, .k-cta .k-btn--ghost:hover { --btn-bg: rgba(255, 255, 255, 0.1); --btn-fg: #fff; }
.kgc .cta-band .btn-kgc-primary { --btn-bg: var(--kg-gold-500); --btn-border: var(--kg-gold-500); --btn-fg: var(--kg-olive-900); }

/* ---------- 13. FAQ accordion ------------------------------------------- */
.kgc .faq-accordion, .k-faq { display: grid; gap: var(--sp-3); max-width: 920px; }
.kgc .faq-item { border: 1px solid var(--kg-line); border-radius: var(--r-md); background: var(--kg-paper); overflow: hidden; }
.kgc .faq-item__q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 64px;
  padding: var(--sp-4) var(--sp-5);
  border: 0;
  background: none;
  font: 700 1.02rem/1.4 var(--font-ui);
  color: var(--kg-olive-900);
  text-align: left;
  cursor: pointer;
}
.kgc .faq-item__icon { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--kg-cream-100); color: var(--kg-olive-700); font-size: 1.2rem; transition: transform var(--motion-standard) var(--ease-out); }
.kgc .faq-item__q[aria-expanded="true"] .faq-item__icon { transform: rotate(45deg); background: var(--kg-olive-800); color: #fff; }
.kgc .faq-item__a { padding: 0 var(--sp-5) var(--sp-5); color: var(--kg-ink-soft); max-width: var(--measure); }

/* ---------- 14. Forms ---------------------------------------------------- */
.k-form { display: grid; gap: var(--sp-4); }
.k-form__row { display: grid; gap: var(--sp-4); }
@media (min-width: 640px) { .k-form__row { grid-template-columns: 1fr 1fr; } }
.k-field { display: flex; flex-direction: column; gap: 6px; }
.k-field label,
.kgc .form-group label { font-size: 0.88rem; font-weight: 700; color: var(--kg-olive-900); margin: 0; }
.k-field label .k-req { color: var(--kg-danger); margin-left: 2px; }
.k-field label .k-opt { font-weight: 500; color: var(--kg-ink-faint); margin-left: 4px; }
.k-input,
.kgc .form-control {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--kg-line-strong);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--kg-ink);
  font: 500 1rem/1.4 var(--font-ui);
  box-shadow: none;
  transition: border-color var(--motion-fast), box-shadow var(--motion-fast);
  height: auto;
}
.kgc textarea.form-control, textarea.k-input { min-height: 120px; resize: vertical; }
.k-input:hover, .kgc .form-control:hover { border-color: var(--kg-olive-300); }
.k-input:focus, .kgc .form-control:focus { border-color: var(--kg-olive-600); box-shadow: 0 0 0 4px rgba(62, 107, 71, 0.16); outline: none; }
.k-input::placeholder, .kgc .form-control::placeholder { color: #8b958c; }
.k-field.is-invalid .k-input, .kgc .form-control.is-invalid { border-color: var(--kg-danger); box-shadow: 0 0 0 4px rgba(163, 38, 31, 0.12); }
.k-field.is-valid .k-input { border-color: var(--kg-olive-500); }
.k-field__help { font-size: 0.82rem; color: var(--kg-ink-faint); }
.k-field__error, .kgc .text-danger { font-size: 0.84rem; font-weight: 600; color: var(--kg-danger) !important; }
.k-field__error:empty { display: none; }
.k-form__note { font-size: 0.82rem; color: var(--kg-ink-faint); margin: 0; }

.k-alert, .kgc .alert {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-weight: 600;
}
.k-alert--success, .kgc .alert-success { background: #e4f1e2; border-color: #b9d8b4; color: var(--kg-success); }
.k-alert--error, .kgc .alert-danger { background: #f8e5e3; border-color: #e6bdb8; color: var(--kg-danger); }

/* Modal skin (Bootstrap 4 modal) */
.kgc .modal-backdrop.show { opacity: 0.6; background: #0b170f; }
.k-modal .modal-content { border: 0; border-radius: var(--r-xl); background: var(--kg-paper); box-shadow: var(--sh-3); overflow: hidden; }
.k-modal .modal-header { align-items: flex-start; padding: var(--sp-6) var(--sp-6) var(--sp-3); border: 0; }
.k-modal .modal-header h2 { font-size: var(--fs-h3); margin: 0; }
.k-modal .modal-header p { margin: var(--sp-2) 0 0; color: var(--kg-ink-soft); font-size: 0.95rem; }
.k-modal .modal-body { padding: var(--sp-3) var(--sp-6) var(--sp-6); }
.k-modal__close { display: grid; place-items: center; width: 44px; height: 44px; flex: none; margin-left: var(--sp-3); border: 1px solid var(--kg-line); border-radius: 50%; background: transparent; color: var(--kg-olive-800); cursor: pointer; }
.k-modal__close:hover { background: var(--kg-cream-100); }
.k-modal__quick { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); margin-bottom: var(--sp-5); }
.k-modal__divider { display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4); font-size: 0.8rem; font-weight: 700; color: var(--kg-ink-faint); text-transform: uppercase; letter-spacing: 0.1em; }
.k-modal__divider::before, .k-modal__divider::after { content: ""; flex: 1; height: 1px; background: var(--kg-line); }
@media (min-width: 640px) { .k-modal .modal-dialog { max-width: 640px; } }
@media (max-width: 575.98px) {
  .k-modal .modal-dialog { margin: 0; min-height: 100%; align-items: flex-end; }
  .k-modal .modal-content { border-radius: var(--r-xl) var(--r-xl) 0 0; }
  .k-modal .modal-header, .k-modal .modal-body { padding-inline: var(--sp-5); }
}

/* ---------- 15. Page heroes --------------------------------------------- */
.k-pagehero,
.kgc .page-hero,
.kgc .landing-hero {
  position: relative;
  padding-block: clamp(2.5rem, 1.5rem + 4vw, 5.5rem) clamp(2rem, 1.5rem + 3vw, 4rem);
}
.k-pagehero h1, .kgc .page-hero h1, .kgc .landing-hero h1 { max-width: 18ch; }
.kgc .page-hero__grid, .kgc .landing-hero__grid { display: grid; gap: var(--sp-6); align-items: end; }
@media (min-width: 1024px) {
  .kgc .page-hero__grid, .kgc .landing-hero__grid { grid-template-columns: 1.4fr 0.8fr; }
}
.kgc .hero-b2b__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-block: var(--sp-5); }
.kgc .landing-hero__summary h3 { font-size: var(--fs-h3); }
.kgc .landing-hero__summary .btn + .btn { margin-top: var(--sp-2); }

.k-pagehero--image {
  min-height: clamp(420px, 60vh, 640px);
  display: flex;
  align-items: flex-end;
  color: #fff;
  isolation: isolate;
  overflow: hidden;
  background: var(--kg-olive-900);
}
.k-pagehero--image .k-pagehero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.k-pagehero--image::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 22, 14, 0.35), rgba(10, 22, 14, 0.85)); }
.k-pagehero--image h1 { color: #fff; }
.k-pagehero--image .k-lead { color: rgba(255, 255, 255, 0.86); }
.k-pagehero--image .k-eyebrow { color: var(--kg-gold-300); }
.k-pagehero--image .kgc-breadcrumb li, .k-pagehero--image .kgc-breadcrumb a { color: rgba(255, 255, 255, 0.8) !important; }

/* Generic "content" layouts used by landing/knowledge views */
.kgc .content-layout, .kgc .contact-layout { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 1024px) {
  .kgc .content-layout { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 0.7fr); }
  .kgc .content-layout > aside { position: sticky; top: calc(var(--header-h) + var(--sp-5)); }
  .kgc .content-layout--reverse { grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.5fr); }
  .kgc .contact-layout { grid-template-columns: 1.3fr 0.7fr; }
}
.kgc .content-card { max-width: none; }
.kgc .content-card p, .kgc .content-card li { max-width: var(--measure); }
.kgc .content-card h2 { font-size: var(--fs-h3); }
.kgc .content-card h2.mt-4 { margin-top: var(--sp-7) !important; }
.kgc .plain-list { list-style: none; padding: 0; margin: 0 0 var(--sp-4); display: grid; gap: var(--sp-2); }
.kgc .plain-list li { position: relative; padding-left: 1.6rem; }
.kgc .plain-list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 10px; height: 10px; border-radius: 3px; background: var(--kg-gold-500); transform: rotate(45deg); }
.kgc .spec-grid { display: grid; gap: var(--sp-3); }
.kgc .spec-card { padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm); background: var(--kg-cream-100); }
.kgc .spec-card h3 { font: 800 var(--fs-xs) / 1.3 var(--font-ui); letter-spacing: 0.1em; text-transform: uppercase; color: var(--kg-ink-faint); margin-bottom: 2px; }
.kgc .spec-card p { margin: 0; font-weight: 600; }
.kgc .page-shell__content, .kgc .page-content { max-width: var(--measure); }
.kgc .page-brand-panel { margin-top: var(--sp-5); border-radius: var(--r-lg); overflow: hidden; }

/* Legacy product cards (landing related products) */
.kgc .landing-card-grid, .kgc .blog-grid-b2b { display: grid; gap: var(--sp-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.kgc .related-card, .kgc .blog-card-b2b, .kgc .landing-card { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; background: var(--kg-paper); border: 1px solid var(--kg-line); transition: transform var(--motion-standard) var(--ease-out), box-shadow var(--motion-standard); }
.kgc .related-card:hover, .kgc .blog-card-b2b:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.kgc .related-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.kgc .blog-card-b2b__image { aspect-ratio: 16 / 10; background-size: cover; background-position: center; }
.kgc .related-card__body, .kgc .blog-card-b2b__body, .kgc .landing-card__body { display: flex; flex-direction: column; flex: 1; padding: var(--sp-5); }
.kgc .related-card__body p, .kgc .blog-card-b2b__body p { color: var(--kg-ink-soft); font-size: 0.95rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kgc .related-card__actions { display: flex; gap: var(--sp-2); margin-top: auto; }
.kgc .related-card__actions .btn { flex: 1; min-height: 44px; padding-inline: 1rem; }
.kgc .blog-card-b2b__meta { font-size: 0.8rem; font-weight: 700; color: var(--kg-gold-700); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--sp-2); }
.kgc .blog-card-b2b__body .btn { margin-top: auto; align-self: flex-start; }
.kgc .toc-card { padding: var(--sp-5); border-radius: var(--r-md); background: var(--kg-cream-100); }
.kgc .toc { padding-left: 1.1em; margin: 0; }
.kgc .toc li { margin-bottom: 6px; }
.kgc .article-body { max-width: var(--measure); }
.kgc .article-body h2 { font-size: var(--fs-h3); margin-top: var(--sp-7); }

/* Pagination */
.kgc .site-pagination { margin-top: var(--sp-7); }
.kgc .pagination { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; justify-content: center; }
.kgc .pagination li a, .kgc .pagination li span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 0.8rem; border-radius: var(--r-pill); border: 1px solid var(--kg-line); background: var(--kg-paper); font-weight: 700; color: var(--kg-olive-800); text-decoration: none; }
.kgc .pagination li.active a, .kgc .pagination li.active span { background: var(--kg-olive-800); border-color: var(--kg-olive-800); color: #fff; }

/* ---------- 16. Footer --------------------------------------------------- */
.k-footer { position: relative; background: var(--kg-olive-900); color: rgba(245, 238, 221, 0.78); padding-top: clamp(3.5rem, 2.5rem + 4vw, 6rem); font-size: 0.94rem; overflow: hidden; }
.k-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--kg-gold-500), transparent);
  opacity: 0.6;
}
.k-footer a { color: rgba(245, 238, 221, 0.86) !important; text-decoration: none; }
.k-footer a:hover { color: #fff !important; text-decoration: underline; }
.k-footer h2 { font: 800 var(--fs-xs) / 1.3 var(--font-ui); letter-spacing: 0.14em; text-transform: uppercase; color: var(--kg-gold-300) !important; margin-bottom: var(--sp-4); }
.k-footer__top { display: grid; gap: var(--sp-7); padding-bottom: var(--sp-8); }
@media (min-width: 1100px) { .k-footer__top { grid-template-columns: 1.35fr repeat(4, 1fr); gap: var(--sp-6); } }
@media (min-width: 640px) and (max-width: 1099.98px) { .k-footer__top { grid-template-columns: 1fr 1fr; } .k-footer__brand { grid-column: 1 / -1; } }
.k-footer__brand .k-brand { margin-bottom: var(--sp-5); color: #fff !important; }
.k-footer__brand p { max-width: 42ch; }
.k-footer__contact { list-style: none; padding: 0; margin: var(--sp-5) 0; display: grid; gap: var(--sp-3); }
.k-footer__contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.k-footer__contact .kgc-icon { color: var(--kg-gold-300); margin-top: 3px; }
.k-footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.k-footer__links a { display: inline-block; padding-block: 2px; }
.k-footer__links .kgc-icon { width: 14px; height: 14px; vertical-align: -2px; }
.k-footer__social { display: flex; gap: var(--sp-2); }
.k-footer__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); }
.k-footer__social a:hover { background: rgba(255, 255, 255, 0.08); text-decoration: none; }
.k-footer__brandline { display: grid; gap: var(--sp-4); align-items: center; padding-block: var(--sp-6); border-top: 1px solid rgba(255, 255, 255, 0.1); }
@media (min-width: 900px) { .k-footer__brandline { grid-template-columns: 1fr auto; } }
.k-footer__brandline p { margin: 0; }
.k-footer__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.k-footer__word { font-family: var(--font-display); font-size: clamp(3rem, 1rem + 9vw, 9rem); line-height: 0.9; letter-spacing: -0.04em; color: rgba(245, 238, 221, 0.08); white-space: nowrap; user-select: none; margin: 0 0 -0.12em; }
.k-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); padding-block: var(--sp-5); border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; }
.k-footer__legal { display: flex; flex-wrap: wrap; gap: var(--sp-4); list-style: none; margin: 0; padding: 0; }

/* ---------- 17. Reveal utility (JS adds .js-motion on <html>) ----------- */
.js-motion [data-reveal] { opacity: 0; transform: translate3d(0, var(--reveal-sm), 0); transition: opacity var(--motion-slow) var(--ease-out), transform var(--motion-slow) var(--ease-out); }
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-motion [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- 18. Misc page patterns -------------------------------------- */
.k-media-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; background: var(--kg-cream-200); box-shadow: var(--sh-3); }
.k-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.k-media-frame figcaption { position: absolute; left: var(--sp-4); bottom: var(--sp-4); padding: 0.35rem 0.75rem; border-radius: var(--r-pill); background: rgba(16, 38, 26, 0.72); color: #fff; font-size: 0.78rem; font-weight: 700; }

.k-quote { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem); line-height: 1.2; color: var(--kg-olive-800); max-width: 26ch; }

.k-map { border: 0; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-lg); background: var(--kg-cream-200); }
@media (min-width: 900px) { .k-map { aspect-ratio: 16 / 10; } }

.k-contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-3); }
.k-contact-item { display: flex; gap: var(--sp-4); align-items: flex-start; padding: var(--sp-4) var(--sp-5); border-radius: var(--r-md); background: var(--kg-paper); border: 1px solid var(--kg-line); color: var(--kg-ink) !important; text-decoration: none !important; }
a.k-contact-item:hover { border-color: var(--kg-olive-300); background: var(--kg-cream-100); }
.k-contact-item .k-icon-badge { margin: 0; }
.k-contact-item strong { display: block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--kg-ink-faint); }
.k-contact-item span { font-weight: 700; font-size: 1.02rem; color: var(--kg-olive-900); }

/* Kaliss Naturals */
.kn-scope { --kg-olive-800: var(--kn-green); --kg-olive-900: var(--kn-green-deep); }
.kn-hero { background: var(--kn-green-deep); color: var(--kn-cream); position: relative; overflow: hidden; isolation: isolate; }
.kn-hero h1 { color: var(--kn-cream) !important; font-weight: 500; }
.kn-hero .k-eyebrow { color: var(--kn-gold); }
.kn-hero .k-lead { color: rgba(246, 240, 226, 0.84); }
.kn-hero::after { content: ""; position: absolute; inset: auto -10% -40% 40%; height: 120%; z-index: -1; background: radial-gradient(closest-side, rgba(176, 141, 74, 0.35), transparent); }
.kn-wordmark { font-family: var(--font-display); font-weight: 500; letter-spacing: 0.32em; text-transform: uppercase; font-size: clamp(1rem, 0.8rem + 0.8vw, 1.35rem); color: var(--kn-gold); }
.kn-pillar { padding: var(--sp-6); border-radius: var(--r-lg); background: var(--kn-cream); border: 1px solid rgba(30, 74, 58, 0.14); }
.kn-pillar h3 { color: var(--kn-green) !important; }

/* Utilities kept from Bootstrap but re-tuned */
.kgc .text-muted { color: var(--kg-ink-faint) !important; }
.k-mt-0 { margin-top: 0 !important; }
.k-mb-0 { margin-bottom: 0 !important; }
.k-center { text-align: center; }
.k-hide-mobile { display: none; }
@media (min-width: 768px) { .k-hide-mobile { display: initial; } .k-hide-desktop { display: none !important; } }

@media print {
  .k-header, .k-footer, .k-actionbar, .k-float-wa, .k-drawer, .cine-rail { display: none !important; }
}

/* ---------- 19. Tables, flow, Kaliss packs, no-JS ----------------------- */
.no-js .js-only { display: none !important; }

.k-tablewrap { overflow-x: auto; border: 1px solid var(--kg-line); border-radius: var(--r-lg); background: var(--kg-paper); }
.k-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 640px; }
.k-table th, .k-table td { padding: var(--sp-4) var(--sp-5); text-align: left; border-bottom: 1px solid var(--kg-line); vertical-align: middle; }
.k-table thead th { font-size: var(--fs-xs); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--kg-ink-faint); background: var(--kg-cream-100); }
.k-table tbody tr:last-child > * { border-bottom: 0; }
.k-table tbody tr:hover { background: var(--kg-cream-50); }
.k-table tbody th { font-weight: 700; }
.k-table tbody th a { color: var(--kg-olive-800); text-decoration: none; }
.k-table tbody th a:hover { text-decoration: underline; }
.k-table td:last-child { text-align: right; }

.k-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.k-flow__node { position: relative; display: flex; flex-direction: column; gap: var(--sp-2); align-items: flex-start; padding: var(--sp-5); border-radius: var(--r-md); background: var(--kg-paper); border: 1px solid var(--kg-line); }
.k-flow__node strong { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; color: var(--kg-olive-800); }
.k-flow__node--start { background: var(--kg-olive-800); border-color: var(--kg-olive-800); }
.k-flow__node--start strong { color: #fff; }
.k-flow__node--start span { color: rgba(245, 238, 221, 0.8); font-size: 0.9rem; }
.k-flow__node--development, .k-flow__node--enquire { background: transparent; border-style: dashed; }
@media (min-width: 1024px) {
  .k-flow { grid-template-columns: repeat(6, 1fr); }
  .k-flow__node:not(:last-child)::after { content: "→"; position: absolute; right: -0.8rem; top: 50%; transform: translateY(-50%); color: var(--kg-gold-500); font-weight: 800; z-index: 1; }
}

.kn-packs { position: relative; }
.kn-packs__art { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.35)); }
.kn-packs__note { font-size: 0.78rem; color: rgba(246, 240, 226, 0.6); text-align: center; margin-top: var(--sp-3); }
.kn-hero .kgc-breadcrumb li, .kn-hero .kgc-breadcrumb a { color: rgba(246, 240, 226, 0.75) !important; }
.kn-pillar .k-icon-badge { background: rgba(30, 74, 58, 0.1); color: var(--kn-green); }

/* ---------- 20. Real photography gallery -------------------------------- */
.k-gallery { display: grid; gap: var(--sp-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.k-gallery__item { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--kg-cream-200); }
.k-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--motion-cinematic) var(--ease-cinematic); }
.k-gallery__item:hover img { transform: scale(1.05); }
.k-gallery__item figcaption { position: absolute; inset: auto 0 0; padding: var(--sp-6) var(--sp-4) var(--sp-4); font-size: 0.85rem; font-weight: 600; color: #fff; background: linear-gradient(180deg, transparent, rgba(10, 22, 14, 0.8)); }
