/* Smart Ag Solutions — high-end agricultural brand site */

:root {
  --ink: #111210;
  --ink-soft: #5a5c56;
  --paper: #ffffff;
  --paper-warm: #f5f4f0;
  --rule: #e4e2db;
  --green: #2d6a1f;
  --green-mid: #3d8a2a;
  --green-light: #eef4eb;
  --amber: #c97b00;
  --charcoal: #1a1c18;
  --charcoal-2: #252720;
  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-card: 0 2px 8px rgba(0,0,0,0.06), 0 8px 32px rgba(0,0,0,0.07);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.12), 0 24px 64px rgba(0,0,0,0.1);
  --maxw: 1220px;
  --font: "Manrope", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-mid); }

/* ─── Header ─────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}

.primary-nav {
  display: flex;
  gap: 2.5rem;
}

.primary-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.primary-nav a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 4px;
  z-index: 60;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.brand img { height: 72px; width: auto; }

.brand-fallback {
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

/* ─── Hero ────────────────────────────────────── */

.hero {
  padding: 3.5rem 2rem 3.5rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(360px, 1.5fr) minmax(220px, 0.8fr);
  gap: 2rem;
  align-items: stretch;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-eyebrow {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--green);
  background: var(--green-light);
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  margin-bottom: 1.1rem;
}

.hero-text h1 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 1rem;
}

.hero-sub {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin: 0 0 1.5rem;
  max-width: 340px;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Center: big composter image (clickable) */
.hero-feature {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--paper-warm);
  box-shadow: var(--shadow-card);
  line-height: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-feature img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-feature:hover {
  box-shadow: var(--shadow-hover);
}

.hero-feature:hover img {
  transform: scale(1.03);
}

/* Right: 2-column small thumbnail grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 0.6rem;
}

.hero-thumb {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--paper-warm);
  border: 1px solid var(--rule);
  display: block;
  aspect-ratio: 1 / 1;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

a.hero-thumb:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-card);
}

a.hero-thumb:hover img {
  transform: scale(1.06);
}

.hero-thumb-coming {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 2px dashed var(--ink);
}

.hero-thumb-coming span {
  font-size: 0.95rem;
  font-weight: 800;
  text-align: center;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.15;
}

.btn-primary {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.01em;
  transition: background 0.15s, transform 0.1s;
}

.btn-primary:hover { background: var(--green-mid); color: #fff; transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--rule);
  transition: border-color 0.15s, color 0.15s;
}

.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }


/* ─── Trust bar ────────────────────────────────── */

.trust-bar {
  background: var(--charcoal);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 1.1rem 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.trust-bar .divider {
  width: 1px;
  height: 16px;
  background: rgba(255,255,255,0.2);
}

/* ─── Products ─────────────────────────────────── */

.products {
  padding: 6rem 2rem;
  background: var(--paper);
}

.products-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.products-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.products-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
}

.products-header p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  align-items: stretch;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--green);
}

.card-img {
  background: var(--paper-warm);
  padding: 2.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 185px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--rule);
  transition: background 0.2s;
}

.product-card:hover .card-img {
  background: var(--green-light);
}

.card-img img {
  max-height: 145px;
  max-width: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

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

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}

.card-body h3 {
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
}

.card-body p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}

.card-cta-label {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.02em;
  transition: gap 0.15s;
}

.product-card:hover .card-cta-label {
  text-decoration: underline;
}

/* ─── Products sub-groups ─────────────────────────── */

.products-group {
  margin-bottom: 3.5rem;
}

.products-group:last-child { margin-bottom: 0; }

.products-subheader {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule);
}

.products-subheader h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
}

.products-subheader span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

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

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

.product-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 380px));
  gap: 1.25rem;
}

/* ─── About ─────────────────────────────────────── */

.about {
  background: var(--charcoal);
  padding: 6rem 2rem;
  color: #fff;
}

.about-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 1rem;
}

.about h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 1.25rem;
}

.about p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.about-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.about-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,0.04);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.about-photo:hover img {
  transform: scale(1.05);
}

a.about-photo {
  cursor: pointer;
  text-decoration: none;
  display: block;
}

a.about-photo:hover {
  border-color: var(--green-mid);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

.about-photo--logo img {
  object-fit: contain;
  background: #fff;
  padding: 1rem;
}

/* ─── Contact ────────────────────────────────────── */

.contact {
  padding: 6rem 2rem;
  background: var(--paper-warm);
}

.contact-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}

.contact-map {
  max-width: var(--maxw);
  margin: 3rem auto 0;
}

.contact-map-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}

.contact-map-label svg {
  flex-shrink: 0;
  color: var(--green);
}

.contact-map iframe {
  width: 100%;
  height: 400px;
  border: 0;
  border-radius: var(--radius-lg);
  display: block;
  box-shadow: var(--shadow-card);
}

.contact-left h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin: 0 0 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-block strong {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.25rem;
}

.contact-block a {
  font-size: 0.95rem;
  color: var(--ink);
  transition: color 0.15s;
}

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

/* Country / State hint */
.country-hint {
  font-size: 0.83rem;
  color: var(--green);
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(45,106,31,0.2);
  margin-top: -0.25rem;
}

/* Form */
.contact-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  display: grid;
  gap: 0.85rem;
}

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

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

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form label span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  font: inherit;
  color: var(--ink);
  font-size: 0.95rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--rule);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #bbb;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(45, 106, 31, 0.12);
}

.contact-form textarea { resize: vertical; }
.contact-form .full { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-form .full span {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.submit-btn {
  justify-self: start;
  background: var(--green);
  color: #fff;
  border: none;
  padding: 0.9rem 2rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.15s, transform 0.1s;
}

.submit-btn:hover { background: var(--green-mid); transform: translateY(-1px); }
.submit-btn:active { transform: translateY(0); }

.form-status {
  font-size: 0.9rem;
  color: var(--green);
  min-height: 1.2em;
  margin: 0;
}

.form-status.error { color: #b83030; }

/* ─── Dealer Map ──────────────────────────────────── */

.dealers {
  padding: 5rem 2rem;
  background: var(--paper);
  border-top: 1px solid var(--rule);
}

.dealers-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.dealers-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dealers-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
}

.dealers-header p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

#dealer-map {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--rule);
  z-index: 0;
}

.dealer-popup strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}

.dealer-popup p {
  margin: 0.15rem 0;
  font-size: 0.83rem;
  color: var(--ink-soft);
  line-height: 1.4;
}

.dealer-popup a {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
}

/* ─── Footer ──────────────────────────────────────── */

.site-footer {
  background: var(--charcoal-2);
  color: rgba(255,255,255,0.5);
  padding: 4rem 2rem 0;
}

.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 56px;
  margin-bottom: 1.25rem;
  background: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  display: block;
  object-fit: contain;
}

.footer-brand address {
  font-style: normal;
  line-height: 1.75;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
}

.footer-products,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-products strong,
.footer-contact strong {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
}

.footer-products a,
.footer-contact a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s;
}

.footer-products a:hover,
.footer-contact a:hover { color: #fff; }

.footer-dept-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 0.75rem;
  display: block;
}

.footer-dept-label:first-child {
  margin-top: 0;
}

.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 1.25rem 0;
}

.footer-bottom p {
  font-size: 0.82rem;
  margin: 0;
  color: rgba(255,255,255,0.25);
}

/* ─── Hover Popup ────────────────────────────────── */

.card-popup {
  display: none;
  position: fixed;
  z-index: 200;
  width: 320px;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.08);
  border: 1px solid var(--rule);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.card-popup.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.popup-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--ink);
}

.popup-blurb {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 0 1rem;
}

.popup-features {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.popup-features li {
  font-size: 0.85rem;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.popup-features li::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.popup-cta {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.popup-cta:hover { background: var(--green-mid); color: #fff; }

/* ─── Modal ──────────────────────────────────────── */

.product-modal[hidden] { display: none; }

.product-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.6);
  backdrop-filter: blur(4px);
}

.modal-panel {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: 0 32px 80px rgba(0,0,0,0.3);
  animation: pop 0.18s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes pop {
  from { transform: scale(0.94) translateY(8px); opacity: 0; }
  to   { transform: scale(1) translateY(0);     opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--paper-warm);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--ink-soft);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.modal-close:hover { background: var(--rule); color: var(--ink); }

.modal-panel h3 {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 0.6rem;
}

.modal-blurb {
  color: var(--ink-soft);
  margin: 0 0 1.25rem;
  line-height: 1.7;
}

.modal-features {
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.modal-features li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.modal-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.modal-cta {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 1.5rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.01em;
  transition: background 0.15s;
}

.modal-cta:hover { background: var(--green-mid); color: #fff; }

/* ─── Responsive ──────────────────────────────────── */

@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid--6 { grid-template-columns: repeat(3, 1fr); }
  .product-grid--2 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid--6 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "text feature"
      "grid grid";
    gap: 1.5rem;
  }
  .hero-text { grid-area: text; }
  .hero-feature { grid-area: feature; }
  .hero-grid { grid-area: grid; grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "feature"
      "grid";
    gap: 1.5rem;
  }
  .hero-feature img { min-height: 280px; }
  .hero-grid { grid-template-columns: repeat(3, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ─── Mobile nav ──────────────────────────────────── */

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

  .primary-nav {
    display: none;
    position: absolute;
    top: 92px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0 1rem;
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 49;
  }

  .primary-nav a {
    padding: 0.9rem 2rem;
    border-bottom: 1px solid var(--rule);
    border-right: none;
    font-size: 1rem;
  }

  .primary-nav a:last-child { border-bottom: none; }

  .site-header.nav-open .primary-nav { display: flex; }

  /* Hamburger → X */
  .site-header.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-header.nav-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .site-header.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 600px) {
  .site-header { padding: 0 1.25rem; height: 76px; }
  .brand img { height: 56px; }
  .hero { padding: 2rem 1.25rem; }
  .product-grid { grid-template-columns: 1fr; }
  .product-grid--4 { grid-template-columns: 1fr; }
  .product-grid--6 { grid-template-columns: repeat(2, 1fr); }
  .product-grid--2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar .divider { display: none; }
  .about-photo-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .contact-form { padding: 1.25rem; }
  .primary-nav { top: 76px; }
  #dealer-map { height: 340px; }
}
