/* Kalahari Connections Canada — site styles
   Brand colours are sampled from the KCC logo: green #85ab44, brown #60381e. */

:root {
  --green: #85ab44;          /* logo green: accents, rules, highlights */
  --green-deep: #4d6b1f;     /* readable green for text and buttons on light backgrounds */
  --green-deeper: #3d5618;
  --green-tint: #eef3e3;
  --brown: #60381e;          /* logo brown: headings, primary text accents */
  --brown-deep: #3b2414;     /* footer, top bar */
  --ink: #2a211b;
  --muted: #6a5d53;
  --sand: #f7f3ec;
  --sand-2: #efe7da;
  --line: #e6ddcf;
  --white: #ffffff;

  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(59, 36, 20, .06), 0 8px 24px rgba(59, 36, 20, .07);
  --wrap: 1180px;
  --gutter: 24px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font);
  color: var(--brown);
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--green-deep); text-underline-offset: 3px; }
a:hover { color: var(--green-deeper); }

:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: .75rem;
}

.lead { font-size: 1.15rem; color: var(--muted); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brown); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font: 700 .98rem/1 var(--font);
  padding: .95em 1.4em;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-deep); color: #fff; }
.btn-primary:hover { background: var(--green-deeper); color: #fff; }
.btn-outline { border-color: currentColor; color: var(--brown); background: transparent; }
.btn-outline:hover { background: var(--brown); border-color: var(--brown); color: #fff; }
.btn-light { background: #fff; color: var(--brown); }
.btn-light:hover { background: var(--sand); color: var(--brown); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--brown); border-color: #fff; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }

.text-link {
  font-weight: 700; text-decoration: none; color: var(--green-deep);
  display: inline-flex; align-items: center; gap: .35em;
}
.text-link::after { content: "→"; transition: transform .15s; }
.text-link:hover::after { transform: translateX(3px); }
.text-link[target="_blank"]::after { content: "↗"; }

/* ---------- Top bar & header ---------- */

.topbar { background: var(--brown-deep); color: #e9dfd1; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: #cfe3a8; text-decoration: underline; }
.topbar-contact, .topbar-lang { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.topbar-lang span { color: #bfae99; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 78px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--brown); }
.brand img { width: 36px; height: 50px; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
.brand-name span { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-deep); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav li { position: relative; }
.nav a, .nav .nav-parent {
  display: flex; align-items: center; gap: 6px;
  font: 600 .98rem/1 var(--font);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  padding: 12px 12px;
  border-radius: var(--radius-sm);
  background: none; border: 0; cursor: pointer;
}
.nav a:hover, .nav .nav-parent:hover, .nav li:focus-within > .nav-parent { color: var(--green-deep); background: var(--green-tint); }
.nav a[aria-current="page"], .nav .is-current > .nav-parent { color: var(--green-deep); }
.nav .nav-parent svg { width: 12px; height: 12px; transition: transform .15s; }
.nav-label { display: flex; flex-direction: column; align-items: flex-start; }
.nav-label small { font-size: .72rem; font-weight: 500; color: var(--muted); margin-top: 4px; letter-spacing: .01em; }
.nav .nav-parent:hover .nav-label small, .nav .is-current > .nav-parent .nav-label small { color: var(--green-deep); }

.dropdown {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav li:hover > .dropdown, .nav li:focus-within > .dropdown, .nav li.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.nav li:hover > .nav-parent svg, .nav li.is-open > .nav-parent svg { transform: rotate(180deg); }
.dropdown a { padding: 11px 12px; font-weight: 500; }
.dropdown a small { display: block; color: var(--muted); font-size: .8rem; margin-top: 3px; font-weight: 400; }
.dropdown a { flex-direction: column; align-items: flex-start; }

.nav .btn { margin-left: 10px; padding: .85em 1.25em; background: var(--green-deep); color: #fff; border-radius: 999px; }
.nav .btn:hover, .nav .btn[aria-current="page"] { background: var(--green-deeper); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-sm);
  width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; color: var(--brown);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ---------- Sections ---------- */

.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-sand { background: var(--sand); }
.section-head { max-width: 720px; margin: 0 0 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Home hero ---------- */

.hero {
  position: relative; color: #fff;
  background: var(--brown-deep) url(../images/hero/strawberries.jpg) center 50% / cover no-repeat;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(40, 24, 12, .88) 0%, rgba(40, 24, 12, .66) 45%, rgba(40, 24, 12, .15) 100%);
}
.hero .wrap { padding-top: 120px; padding-bottom: 130px; }
.hero-content { max-width: 640px; }
.hero .eyebrow { color: #cfe3a8; }
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero p { font-size: 1.2rem; color: #f1ebe2; max-width: 540px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Cards ---------- */

.card-grid { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { aspect-ratio: 1; overflow: hidden; background: #fff; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { color: var(--muted); margin: 0; }
.card-links { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: auto; padding-top: 10px; }

.card-tag {
  align-self: flex-start;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-deep); background: var(--green-tint); padding: 5px 10px; border-radius: 999px;
}

/* ---------- Brand strip ---------- */

.brand-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.brand-tile {
  display: flex; flex-direction: column; gap: 16px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 30px;
  text-decoration: none; color: var(--ink);
  transition: box-shadow .2s;
}
.brand-tile:hover { box-shadow: var(--shadow); color: var(--ink); }
.brand-tile img { height: 72px; width: auto; max-width: 200px; object-fit: contain; object-position: left center; flex: none; }
.brand-tile p { margin: 0; color: var(--muted); font-size: .98rem; }
.brands-band .section-head { margin-bottom: 24px; }
.brands-band h2 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }

/* ---------- CTA band ---------- */

.cta-band { background: var(--green); color: var(--brown-deep); }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta-band h2 { color: var(--brown-deep); margin: 0 0 .3em; }
.cta-band p { color: var(--brown-deep); margin: 0; max-width: 680px; }
.cta-band .btn-light { background: var(--brown); color: #fff; }
.cta-band .btn-light:hover { background: var(--brown-deep); color: #fff; }
.cta-band .btn-ghost-light { border-color: var(--brown-deep); color: var(--brown-deep); }
.cta-band .btn-ghost-light:hover { background: var(--brown-deep); color: #fff; border-color: var(--brown-deep); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero { background: var(--sand); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.page-hero .wrap.single { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.page-hero-logo { height: 56px; width: auto; margin-bottom: 22px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); }
.page-hero p { color: var(--muted); font-size: 1.08rem; }
.page-hero .highlight { color: var(--green-deep); font-weight: 700; }

.certs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cert {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 10px 10px; text-align: center; margin: 0;
}
.cert img { height: 64px; width: auto; margin: 0 auto 8px; object-fit: contain; }
.cert figcaption { font-size: .75rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.certs-title { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }

/* ---------- Split (image + text) ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: start; }
.split-media { position: sticky; top: 110px; border-radius: var(--radius); overflow: hidden; background: var(--sand-2); }
.split-media img { width: 100%; height: auto; }
.split-body > * + h2, .split-body > * + h3 { margin-top: 1.6em; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 1em; }
.chips li {
  background: var(--sand); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-weight: 600; font-size: .95rem; color: var(--brown);
}
.chips li span { color: var(--muted); font-weight: 400; margin-left: 4px; }

.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%234d6b1f' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 10.5l2.6 2.6L14 7.5'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.check-list.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 24px; }

.callout {
  background: var(--green-tint); border-left: 4px solid var(--green); border-radius: var(--radius-sm);
  padding: 22px 24px; margin: 0 0 1.6em;
}
.callout h3 { font-size: 1.1rem; margin-bottom: .4em; }
.callout .check-list { margin: .8em 0 0; }
.callout .check-list li::before { background-color: #fff; }

.note { color: var(--muted); font-size: .95rem; }

/* ---------- Mix cards ---------- */

.mix {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.mix-badge { height: 52px; width: auto; align-self: flex-start; }
.mix h3 { margin: 0; font-size: 1.15rem; }
.mix h3 small { font-weight: 600; color: var(--muted); font-size: .85rem; margin-left: 4px; }
.mix p { margin: 0; color: var(--muted); font-size: .98rem; }

.mix-feature {
  display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 56px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 48px;
}
.mix-feature-badge {
  display: grid; place-items: center; background: var(--green-tint); border-radius: var(--radius-sm);
  padding: 48px 32px; height: 100%;
}
.mix-feature-badge img { width: 100%; max-width: 300px; }
.mix-feature p { color: var(--muted); }
.mix-feature .check-list { margin: 1.4em 0 0; }

/* ---------- Gallery ---------- */

.gallery { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.gallery-item {
  display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink);
  margin: 0;
}
.gallery-thumb { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--sand-2); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gallery-thumb::after {
  content: ""; position: absolute; inset: auto 12px 12px auto; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360381e' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4.5-4.5M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") center / 20px no-repeat;
  opacity: 0; transform: scale(.9); transition: opacity .2s, transform .2s;
}
.gallery-item:hover .gallery-thumb img { transform: scale(1.04); }
.gallery-item:hover .gallery-thumb::after, .gallery-item:focus-visible .gallery-thumb::after { opacity: 1; transform: none; }
.gallery-item figcaption, .gallery-item span.caption { font-size: .95rem; color: var(--muted); line-height: 1.45; }

.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 94vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(26, 16, 9, .9); }
.lightbox figure { margin: 0; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: #f1ebe2; text-align: center; padding: 14px 60px 0; font-size: 1rem; }
.lightbox button {
  position: fixed; width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255,255,255,.28); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

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

/* ---------- Other products ---------- */

.figure-wide { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.award-band { padding-bottom: 0; }
.figure-wide.award figcaption { text-align: center; }
.figure-wide.award strong { color: var(--brown); }
.figure-wide.gallery-lead { margin-bottom: 28px; background: #fff; }
.figure-wide figcaption { background: #fff; padding: 14px 20px; font-size: .95rem; color: var(--muted); }

.product-grid { display: grid; gap: 24px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
}
.product-media { background: #fff; border-bottom: 1px solid var(--line); }
.product-media img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product-body { padding: 22px 22px 24px; }
.product-body h3 { font-size: 1.15rem; }
.product-body h3 { margin-bottom: .4em; }
.product-body > p { color: var(--muted); font-size: .98rem; }

.specs { margin: 16px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 0; font-size: .92rem; border-top: 1px solid var(--line); }
.specs dt, .specs dd { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); padding-right: 16px; }
.specs dd { font-weight: 600; color: var(--ink); }

.app-chips { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; list-style: none; padding: 0; margin: 0; }
.app-chips li {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 12px 22px;
  font-weight: 600; color: var(--brown);
}

.info-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.info-col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.info-col h3 { font-size: 1.15rem; }
.info-col p, .info-col li { color: var(--muted); font-size: .98rem; }

/* ---------- Green Space ---------- */

.page-hero-logo.gs-logo { height: 104px; margin-bottom: 18px; }

.gs-jump { display: grid; gap: 12px; }
.gs-jump .certs-title { margin-bottom: 0; }
.gs-jump a {
  display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  text-decoration: none; color: var(--ink); transition: box-shadow .2s, border-color .2s;
}
.gs-jump a:hover { box-shadow: var(--shadow); border-color: var(--green); color: var(--ink); }
.gs-jump a::after { content: "↓"; margin-left: auto; color: var(--green-deep); font-weight: 700; }
.gs-jump img { width: 60px; height: 60px; object-fit: cover; object-position: top; border-radius: var(--radius-sm); flex: none; }
.gs-jump strong { display: block; color: var(--brown); line-height: 1.3; }
.gs-jump small { display: block; color: var(--muted); font-size: .85rem; line-height: 1.4; }

.gs-category { scroll-margin-top: 78px; }
.gs-in-use { margin: 0 0 36px; }
.gs-in-use figcaption { margin-top: 12px; font-size: .95rem; color: var(--muted); }
.gs-list { display: grid; gap: 28px; }
.gs-product {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px;
}
.gs-aside { position: sticky; top: 110px; display: grid; gap: 18px; }
.gs-media .gallery-thumb { aspect-ratio: auto; background: #fff; border: 1px solid var(--line); }
.gs-media .gallery-thumb img { height: auto; max-height: 480px; object-fit: contain; }

.gs-specs { background: var(--sand); border-radius: var(--radius-sm); padding: 18px 20px 6px; }
.gs-specs-title { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .6em; }
.gs-item { font-size: .9rem; color: var(--ink); font-weight: 600; margin-bottom: 12px; }
.gs-specs .specs { margin-top: 0; }
.gs-specs .specs dt:last-of-type, .gs-specs .specs dd:last-of-type { border-bottom: 0; }

.gs-body h3 { font-size: 1.5rem; margin-bottom: .2em; }
.gs-sub { color: var(--green-deep); font-weight: 700; margin-bottom: 1.2em; }
.gs-body > p:not(.gs-sub) { color: var(--muted); }
.gs-body h4 { margin-top: 1.4em; }
.gs-body .check-list { margin-bottom: 1.2em; }
.gs-body .check-list strong { color: var(--brown); }

.feature-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.feature-split .btn { margin-top: 1.2em; }
.gs-home-logo { height: 88px; width: auto; margin-bottom: 18px; }
.gs-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.gs-mosaic a {
  display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: var(--brown); font-weight: 700; transition: box-shadow .2s, transform .2s;
}
.gs-mosaic a:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--brown); }
.gs-mosaic img { width: 100%; aspect-ratio: 1; object-fit: contain; padding: 14px; }
.gs-mosaic span { padding: 10px 16px 12px; border-top: 1px solid var(--line); font-size: .95rem; }

/* ---------- Contact page ---------- */

.contact-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.panel + .panel { margin-top: 28px; }
.panel h2 { font-size: 1.6rem; }
.panel-sand { background: var(--sand); }
.aside-stack { display: grid; gap: 24px; position: sticky; top: 110px; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 20px; height: 20px; color: var(--green-deep); flex: none; margin-top: 4px; }
.contact-list strong { display: block; color: var(--brown); font-size: .85rem; letter-spacing: .04em; }

.downloads { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.downloads a {
  display: flex; gap: 14px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600;
}
.downloads a:hover { border-color: var(--green); color: var(--ink); }
.downloads svg { width: 26px; height: 26px; color: #b2452f; flex: none; }
.downloads small { display: block; color: var(--muted); font-weight: 400; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .fieldset-label { display: block; font-weight: 700; font-size: .92rem; color: var(--brown); margin-bottom: 6px; }
.field label .optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #d8cdbd; border-radius: var(--radius-sm); background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--green-deep); box-shadow: 0 0 0 3px rgba(133, 171, 68, .3); }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.option-group { margin-bottom: 22px; }
.option-group legend { font-weight: 700; color: var(--brown); margin-bottom: 10px; padding: 0; }
.option-group legend small { font-weight: 400; color: var(--muted); margin-left: 6px; }
.options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.options.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.option { position: relative; }
.option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.option span {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 52px;
  padding: 10px; border: 1px solid #d8cdbd; border-radius: var(--radius-sm); background: #fff;
  font-weight: 600; font-size: .95rem; color: var(--ink); transition: all .15s;
}
.option input:hover + span { border-color: var(--green); }
.option input:checked + span { border-color: var(--green-deep); background: var(--green-tint); color: var(--green-deeper); box-shadow: inset 0 0 0 1px var(--green-deep); }
.option input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }

.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.form-status:empty { display: none; }
.form-status { margin-top: 18px; }
.form-alert { border-radius: var(--radius-sm); padding: 14px 18px; font-weight: 500; }
.form-alert p { margin: 0 0 .3em; }
.form-alert--error { background: #fbeae6; color: #8a2c17; border: 1px solid #f0c6bb; }
.form-alert--success { background: var(--green-tint); color: var(--green-deeper); border: 1px solid #cfdfb2; }

/* ---------- Footer ---------- */

.site-footer { background: var(--brown-deep); color: #d9ccbb; font-size: .95rem; }
.site-footer .wrap { padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #cfe3a8; text-decoration: underline; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand img { width: 36px; height: 50px; border-radius: 4px; }
.footer-brand strong { color: #fff; font-size: 1.1rem; display: block; line-height: 1.2; }
.footer-brand span { color: #b7cf8c; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.social { display: inline-flex; align-items: center; gap: 10px; }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 28px; font-size: .85rem; color: #b8a893; }

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* The full menu needs about 1160px; below that it collapses (keep in sync with js/site.js). */
@media (max-width: 1160px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 12px var(--gutter) 20px; display: none; flex-direction: column; align-items: stretch;
    max-height: calc(100vh - 80px); overflow-y: auto;
  }
  .nav.is-open { display: flex; }
  .nav > ul { flex-direction: column; align-items: stretch; }
  .nav a, .nav .nav-parent { padding: 14px 10px; width: 100%; justify-content: space-between; font-size: 1.05rem; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    padding: 0 0 6px 12px; min-width: 0; display: none;
  }
  .nav li.is-open > .dropdown { display: block; }
  .nav li:hover > .dropdown { display: none; }
  .nav li.is-open:hover > .dropdown { display: block; }
  .nav .btn { margin: 12px 0 0; justify-content: center; }
}

@media (max-width: 960px) {
  .page-hero .wrap, .split, .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .split-media, .aside-stack { position: static; }
  .card-grid, .info-cols, .gs-product, .mix-feature, .feature-split { grid-template-columns: minmax(0, 1fr); }
  .feature-split { gap: 36px; }
  .mix-feature { gap: 28px; padding: 28px; }
  .mix-feature-badge { padding: 32px 24px; }
  .gs-product { gap: 28px; padding: 28px; }
  .gs-aside { display: contents; }
  .gs-body { order: 1; }
  .gs-specs { order: 2; }
  .gs-media .gallery-thumb img { max-height: 420px; margin: 0 auto; }
  .card-grid { max-width: 560px; }
  .gallery, .gallery-four .gallery { grid-template-columns: repeat(2, 1fr); }
  .brand-strip { grid-template-columns: minmax(0, 1fr); }
  .section { padding: 64px 0; }
  .hero .wrap { padding-top: 88px; padding-bottom: 96px; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 16px; }
  .topbar-lang { display: none; }
  .topbar .wrap { justify-content: center; }
  .topbar-contact .email { display: none; }
  .brand-name strong { font-size: 1.05rem; }
  .gallery, .product-grid { grid-template-columns: minmax(0, 1fr); }
  .gallery-four .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .options, .options.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .check-list.two-col { grid-template-columns: minmax(0, 1fr); }
  .panel { padding: 24px 20px; }
  .gs-product { padding: 20px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .lightbox figcaption { padding: 12px 8px 0; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 20px; transform: none; }
  .hero::before { background: linear-gradient(180deg, rgba(40, 24, 12, .75), rgba(40, 24, 12, .85)); }
}

/* ---------- Small helpers ---------- */

.page-hero .eyebrow { display: block; }
.section-head.tight { margin-bottom: 28px; }
.panel form { margin-top: 26px; }
.split-body .mix + .note, .split-body > .mix { margin-bottom: 1.2em; }
.mix-stack { display: grid; gap: 14px; margin-bottom: 1.6em; }
.mix-stack .mix { padding: 20px 22px; }
.highlight { color: var(--green-deep); font-weight: 700; }
