@charset "UTF-8";
/* ============================================================
   KWS CropManager — classic corporate stylesheet v3
   Rich old-school design with smooth modern interactions
   ============================================================ */

:root {
  --green-dark: #1d3d1a;
  --green-deep: #22491f;
  --green: #2f5d2a;
  --green-mid: #3e7437;
  --green-light: #e9f1e3;
  --gold: #c9a227;
  --gold-light: #e3c65b;
  --gold-dark: #a8861c;
  --gold-text: #806610; /* small gold text on light backgrounds — WCAG AA (>=4.9:1) */
  --cream: #f6f2e7;
  --paper: #fffdf6;
  --ink: #2b2b26;
  --muted: #6b6b5e;
  --line: #d9d2bd;
  --white: #ffffff;
  --shadow: 0 6px 18px rgba(29, 61, 26, 0.12);
  --shadow-lg: 0 16px 38px rgba(29, 61, 26, 0.2);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --pad: 20px; /* container gutter — media queries retune this, not .container itself */
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  background-image:
    repeating-linear-gradient(45deg, rgba(201,162,39,0.018) 0 2px, transparent 2px 9px),
    repeating-linear-gradient(-45deg, rgba(47,93,42,0.014) 0 2px, transparent 2px 9px);
}

img { max-width: 100%; height: auto; display: block; }
/* height:auto is required — the width/height attributes on <img> would
   otherwise force the literal pixel height and stretch every photo. */
a { color: var(--green); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--gold-text); }

::selection { background: var(--gold); color: #241d05; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--green-mid), var(--green-dark));
  border: 2px solid var(--cream);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

h1, h2, h3, h4, .banner-title {
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--green-deep);
  line-height: 1.25;
}
.banner-title { font-weight: bold; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Top utility bar ---------- */
.topbar {
  background: linear-gradient(var(--green-dark), #173013);
  color: #cfe0c3;
  font-size: 12.5px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(201,162,39,0.35);
}
.topbar .container { display: flex; justify-content: center; align-items: center; gap: 12px; flex-wrap: wrap; text-align: center; }
.topbar a { color: #cfe0c3; }
.topbar a:hover { color: var(--gold-light); }
.topbar .sep { opacity: 0.35; margin: 0 9px; }

/* ---------- Header (middle tier) ---------- */
.site-header {
  background: linear-gradient(var(--paper), #f8f3e6);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow 0.3s var(--ease);
  box-shadow: 0 1px 0 rgba(201,162,39,0.4);
}
.site-header.scrolled { box-shadow: var(--shadow-lg); }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 22px;
  padding: 14px var(--pad);
  transition: padding 0.28s var(--ease);
}
.site-header.scrolled .header-main { padding: 7px var(--pad); }

.brand { display: flex; align-items: center; min-width: 0; flex: 1 1 auto; overflow: hidden; }
.brand-logo-img {
  display: block;
  width: auto;
  height: auto;
  max-height: 58px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
  transition: max-height 0.28s var(--ease);
}
.site-header.scrolled .brand-logo-img { max-height: 46px; }

.header-cta { flex: 0 0 auto; white-space: nowrap; }


/* ---------- Nav strip (third tier) ---------- */
.main-nav {
  background: linear-gradient(var(--green), var(--green-deep));
  border-top: 2px solid var(--gold);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15);
}
.main-nav ul { list-style: none; display: flex; }
.main-nav li { position: relative; }
.main-nav li + li::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 18px;
  background: rgba(255,255,255,0.18);
}
.main-nav a {
  display: block;
  padding: 14px 24px;
  line-height: 1.15;
  font-size: 12.5px; font-weight: bold;
  letter-spacing: 1.6px; text-transform: uppercase;
  color: #e8f0dd;
  position: relative;
  overflow: hidden;
  transition: color 0.25s var(--ease), padding 0.28s var(--ease), font-size 0.28s var(--ease);
}
.site-header.scrolled .main-nav a { padding: 9px 20px; font-size: 11.5px; letter-spacing: 1.4px; }
.main-nav a::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(var(--gold), var(--gold-dark));
  transform: translateY(101%);
  transition: transform 0.32s var(--ease);
  z-index: -0;
}
.main-nav a span { position: relative; z-index: 1; }
.main-nav a:hover::before, .main-nav a.active::before { transform: translateY(0); }
.main-nav a:hover, .main-nav a.active { color: #241d05; }

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  background: linear-gradient(var(--green), var(--green-deep));
  border: 1px solid var(--gold-dark);
  color: #fff;
  font-size: 12px; font-weight: bold; letter-spacing: 1.5px;
  padding: 10px 18px; cursor: pointer; text-transform: uppercase;
  border-radius: 3px;
  white-space: nowrap;
  transition: filter 0.25s var(--ease);
}
.nav-toggle:hover { filter: brightness(1.15); }
.site-header.scrolled .nav-toggle { padding: 7px 14px; font-size: 11px; }

/* ---------- Accessibility: skip link + focus ---------- */
.skip-link {
  position: absolute; left: 10px; top: -70px;
  z-index: 1001;
  background: var(--green-dark);
  color: var(--gold-light);
  border: 1px solid var(--gold);
  padding: 11px 20px;
  font-size: 13px; font-weight: bold;
  letter-spacing: 1px;
  transition: top 0.22s var(--ease);
}
.skip-link:focus { top: 10px; color: var(--gold-light); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.main-nav a:focus-visible,
.topbar a:focus-visible,
.site-footer a:focus-visible,
.ticker-inner a:focus-visible { outline-color: var(--gold-light); outline-offset: -3px; }

/* ---------- News ticker ---------- */
.ticker {
  background: linear-gradient(var(--gold-light), var(--gold));
  color: #33290a;
  display: flex; align-items: stretch;
  border-top: 1px solid rgba(255,255,255,0.4);
  border-bottom: 1px solid var(--gold-dark);
  overflow: hidden;
}
/* The chevron is carved out of the label itself with clip-path, so the point
   is always exactly as tall as the bar and can never drift or leave a seam. */
.ticker-label {
  flex: 0 0 auto;
  display: flex; align-items: center;
  background: linear-gradient(var(--green), var(--green-dark));
  color: var(--gold-light);
  font-size: 11px; font-weight: bold;
  letter-spacing: 2.4px; text-transform: uppercase;
  padding: 10px 30px 10px 20px;
  white-space: nowrap;
  position: relative; z-index: 2;
  clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%);
  filter: drop-shadow(2px 0 3px rgba(20, 40, 17, 0.3));
}
.ticker-label::before {
  content: "";
  flex: 0 0 7px;
  width: 7px; height: 7px;
  margin-right: 10px;
  background: var(--gold);
  transform: rotate(45deg);
}
.ticker-track { flex: 1 1 auto; min-width: 0; overflow: hidden; display: flex; align-items: center; }
.ticker-inner {
  display: inline-flex;
  white-space: nowrap;
  margin-left: 26px; /* margin, not padding — keeps translateX(-50%) seamless */
  animation: tickerMove 34s linear infinite;
  font-size: 12.5px; font-weight: bold; letter-spacing: 0.4px;
}
/* Uniform trailing space per item keeps the two halves exactly equal in width */
.ticker-inner > span { display: inline-flex; align-items: center; padding-right: 58px; }
.ticker:hover .ticker-inner,
.ticker-inner a:focus-visible ~ * { animation-play-state: paused; }
.ticker:focus-within .ticker-inner { animation-play-state: paused; }
.ticker-inner a { color: #33290a; }
.ticker-inner a:hover { color: #5d4708; text-decoration: underline; }
.ticker-inner .dot {
  flex: 0 0 6px;
  width: 6px; height: 6px;
  margin-right: 9px;
  background: var(--green-dark);
  transform: rotate(45deg);
  opacity: 0.75;
}
@keyframes tickerMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Hero slider ---------- */
.hero-slider {
  position: relative;
  height: 560px;
  overflow: hidden;
  background: var(--green-dark);
  touch-action: pan-y; /* allow vertical scroll; horizontal handled by JS swipe */
  cursor: grab;
  -webkit-user-select: none; user-select: none;
}
.hero-slider:active { cursor: grabbing; }
.hero-slider:focus-visible { outline: 3px solid var(--gold); outline-offset: -3px; }
.slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s var(--ease), transform 6.5s linear;
  display: flex; align-items: center;
}
.slide.active { opacity: 1; transform: scale(1); z-index: 1; }
.slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(75deg, rgba(20, 40, 17, 0.88) 0%, rgba(20, 40, 17, 0.55) 48%, rgba(20, 40, 17, 0.12) 100%);
}
.slide .container { position: relative; z-index: 2; width: 100%; }
.slide-caption {
  max-width: 600px;
  background: rgba(255, 253, 246, 0.06);
  border: 1px solid rgba(201,162,39,0.55);
  border-left: 5px solid var(--gold);
  padding: 36px 40px;
  backdrop-filter: blur(3px);
}
.slide-caption .hero-kicker,
.slide-caption h1,
.slide-caption p,
.slide-caption .hero-btns {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.slide.active .hero-kicker { opacity: 1; transform: none; transition-delay: 0.35s; }
.slide.active h1 { opacity: 1; transform: none; transition-delay: 0.5s; }
.slide.active p { opacity: 1; transform: none; transition-delay: 0.65s; }
.slide.active .hero-btns { opacity: 1; transform: none; transition-delay: 0.8s; }

.hero-kicker {
  display: inline-block;
  font-size: 11.5px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
  font-weight: bold;
}
.slide-caption h1, .slide-caption .slide-title { color: #fff; font-size: 42px; margin-bottom: 14px; }
.slide-caption p { color: #e2e9d8; font-size: 16px; margin-bottom: 26px; }

.slider-arrow {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px; height: 52px;
  background: rgba(255, 253, 246, 0.12);
  border: 1px solid rgba(201,162,39,0.6);
  color: var(--gold-light);
  font-size: 26px;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.3s var(--ease);
  display: flex; align-items: center; justify-content: center;
  padding-bottom: 3px;
}
.slider-arrow:hover { background: var(--gold); color: #241d05; }
.slider-arrow.prev { left: 26px; }
.slider-arrow.next { right: 26px; }

.slider-dots {
  position: absolute; bottom: 22px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 5;
}
.slider-dots button {
  width: 12px; height: 12px;
  border-radius: 50%;
  border: 1px solid var(--gold-light);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s var(--ease);
}
.slider-dots button.active { background: var(--gold); transform: scale(1.25); }

/* ---------- Buttons (classic bevel) ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  font-size: 12.5px; font-weight: bold;
  letter-spacing: 1.4px; text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 1px solid;
}
.btn-primary {
  background: linear-gradient(var(--green-mid), var(--green-deep));
  border-color: var(--green-dark);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 3px 0 var(--green-dark);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 5px 0 var(--green-dark), var(--shadow);
  filter: brightness(1.08);
}
.btn-primary:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 1px 0 var(--green-dark); }
.btn-gold {
  background: linear-gradient(var(--gold-light), var(--gold));
  border-color: var(--gold-dark);
  color: #33290a;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 3px 0 var(--gold-dark);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 5px 0 var(--gold-dark), var(--shadow);
  filter: brightness(1.05);
  color: #241d05;
}
.btn-gold:active { transform: translateY(1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), 0 1px 0 var(--gold-dark); }
.btn-outline {
  background: transparent;
  border-color: var(--green-deep);
  color: var(--green-deep);
}
.btn-outline:hover { background: var(--green-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline.light { border-color: #fff; color: #fff; }
.btn-outline.light:hover { background: #fff; color: var(--green-deep); }
.btn-sm { padding: 9px 18px; font-size: 11.5px; }

/* ---------- Page banner ---------- */
.page-banner {
  background:
    linear-gradient(rgba(20,40,17,0.82), rgba(20,40,17,0.82)),
    url('../images/hero-field.jpg') center 35%/cover;
  color: #fff;
  padding: 78px 0 66px;
  text-align: center;
  border-bottom: 3px solid var(--gold);
  position: relative;
}
.page-banner::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -3px;
  height: 12px;
  background: repeating-linear-gradient(90deg, transparent 0 14px, rgba(201,162,39,0.25) 14px 15px);
  pointer-events: none;
}
.page-banner h1, .page-banner .banner-title { color: #fff; font-size: 40px; margin-bottom: 10px; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.breadcrumb { font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: #cfe0c3; }
.breadcrumb a { color: var(--gold-light); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb .sep { margin: 0 9px; opacity: 0.55; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background-image: repeating-linear-gradient(45deg, rgba(47,93,42,0.02) 0 2px, transparent 2px 10px);
}

.section-head { text-align: center; max-width: 700px; margin: 0 auto 54px; }
.section-head .kicker {
  font-size: 12px; letter-spacing: 3.4px; text-transform: uppercase;
  color: var(--gold-text); font-weight: bold;
}
.section-head h2 { font-size: 34px; margin: 8px 0 6px; }
.section-head h2 em { color: var(--gold-dark); }
.section-head p { color: var(--muted); margin-top: 14px; }

.ornament { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 10px 0 4px; }
.ornament span { height: 1px; width: 74px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament span:last-child { background: linear-gradient(90deg, var(--gold), transparent); }
.ornament i {
  width: 9px; height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 3px var(--cream), 0 0 0 4px var(--gold);
}
.section-alt .ornament i { box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px var(--gold); }

/* ---------- Framed box ---------- */
.frame-box { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 7px; }
.frame-box .inner { border: 1px solid var(--line); padding: 28px; height: 100%; }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-top-color 0.35s var(--ease);
}
.card::after {
  content: "";
  position: absolute; inset: 6px;
  border: 1px solid rgba(217,210,189,0.7);
  pointer-events: none;
  transition: inset 0.35s var(--ease);
}
.card:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); border-top-color: var(--gold); }
.card:hover::after { inset: 9px; }
.card .icon {
  width: 68px; height: 68px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green-light);
  border: 1px solid var(--line);
  box-shadow: inset 0 0 0 4px var(--white), 0 0 0 1px var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.4s var(--ease);
}
.card:hover .icon { background: var(--green); transform: rotate(-8deg) scale(1.07); }
.card .icon svg { width: 30px; height: 30px; fill: var(--green); transition: fill 0.35s var(--ease); }
.card:hover .icon svg { fill: #fff; }
.card h3 { font-size: 20px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 14px; }

/* Image-top service cards */
.svc-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.svc-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); }
.svc-img { position: relative; overflow: hidden; height: 210px; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.svc-card:hover .svc-img img { transform: scale(1.1); }
.svc-img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(transparent 55%, rgba(20,40,17,0.55));
  opacity: 0.85;
}
.svc-num {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-family: Georgia, serif;
  font-size: 15px; font-weight: bold;
  color: #241d05;
  background: linear-gradient(var(--gold-light), var(--gold));
  border: 1px solid var(--gold-dark);
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.svc-body { padding: 26px 26px 30px; border-top: 3px solid var(--gold); position: relative; }
.svc-body h3 { font-size: 20px; margin-bottom: 9px; }
.svc-body p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0; /* lifts the tap target to ~30px tall (WCAG 2.5.8) */
  font-size: 12px; font-weight: bold; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold-text);
  transition: color 0.28s var(--ease), gap 0.28s var(--ease);
}
.svc-link::after {
  content: "\2192";
  display: inline-block;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.28s var(--ease);
}
.svc-link:hover { color: var(--green); gap: 12px; }
.svc-link:hover::after { transform: translateX(4px); }

/* Reusable button with a smoothly sliding arrow */
.btn-arrow { display: inline-flex; align-items: center; gap: 10px; }
.btn-arrow::after {
  content: "\2192";
  display: inline-block;
  font-size: 1.05em;
  line-height: 1;
  transition: transform 0.28s var(--ease);
}
.btn-arrow:hover::after { transform: translateX(5px); }

.section-cta { text-align: center; margin-top: 44px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split .img-wrap {
  border: 1px solid var(--line);
  padding: 9px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
.split .img-wrap img { transition: transform 0.7s var(--ease); }
.split .img-wrap:hover img { transform: scale(1.05); }
.split h2 { font-size: 31px; margin-bottom: 16px; }
.split p { color: var(--muted); margin-bottom: 14px; }

/* Experience badge overlapping image */
.img-badge {
  position: absolute;
  right: -16px; bottom: -16px;
  width: 132px; height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, var(--green-mid), var(--green-dark));
  border: 3px solid var(--gold);
  color: #fff;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: badgeFloat 4.5s ease-in-out infinite;
  z-index: 3;
}
@keyframes badgeFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.img-badge .num { font-family: Georgia, serif; font-size: 34px; color: var(--gold-light); line-height: 1; }
.img-badge .lbl { font-size: 10px; letter-spacing: 1.8px; text-transform: uppercase; margin-top: 6px; padding: 0 14px; }

/* ---------- Spec list ---------- */
.spec-list { list-style: none; margin: 14px 0 20px; }
.spec-list li {
  padding: 9px 0 9px 30px;
  border-bottom: 1px dashed var(--line);
  position: relative;
  font-size: 14px;
  transition: padding-left 0.25s var(--ease), background 0.25s var(--ease);
}
.spec-list li:hover { padding-left: 36px; background: rgba(201,162,39,0.06); }
.spec-list li::before {
  content: "";
  position: absolute; left: 6px; top: 16px;
  width: 9px; height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--gold);
}

/* ---------- Process steps ---------- */
.steps { counter-reset: step; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 34px 24px 28px;
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(var(--gold-light), var(--gold));
  border: 1px solid var(--gold-dark);
  color: #241d05;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.step h3 { font-size: 18px; margin: 10px 0 8px; }
.step p { color: var(--muted); font-size: 13.5px; }
.steps .grid-4 { padding-top: 24px; }

/* ---------- Accordion ---------- */
.accordion { border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-head {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 19px 24px;
  background: none; border: none; cursor: pointer;
  font-family: Georgia, serif;
  font-size: 17px; font-weight: bold;
  color: var(--green-deep);
  text-align: left;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.acc-head:hover { background: var(--green-light); padding-left: 30px; }
.acc-item.open .acc-head { background: var(--green); color: #fff; }
.acc-sign {
  flex: 0 0 26px; width: 26px; height: 26px;
  border: 1px solid var(--gold-dark);
  border-radius: 50%;
  background: linear-gradient(var(--gold-light), var(--gold));
  color: #241d05;
  display: flex; align-items: center; justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 16px;
  transition: transform 0.35s var(--ease);
}
.acc-item.open .acc-sign { transform: rotate(135deg); }
.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.acc-body .acc-content { padding: 4px 24px 22px; color: var(--muted); font-size: 14px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  height: 220px;
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery-item:hover img { transform: scale(1.12); }
.gallery-item .g-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(20,40,17,0.8));
  display: flex; align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery-item:hover .g-overlay { opacity: 1; }
.g-overlay span {
  color: #fff;
  font-family: Georgia, serif;
  font-size: 14.5px;
  border-left: 3px solid var(--gold);
  padding-left: 10px;
  transform: translateY(10px);
  transition: transform 0.4s var(--ease);
}
.gallery-item:hover .g-overlay span { transform: translateY(0); }

.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(16, 30, 13, 0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
  padding: 30px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(920px, 92vw);
  max-height: 82vh;
  border: 8px solid var(--paper);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: scale(0.92);
  transition: transform 0.35s var(--ease);
}
.lightbox.open img { transform: scale(1); }
.lightbox .lb-close {
  position: absolute; top: 22px; right: 28px;
  background: none; border: 1px solid var(--gold);
  color: var(--gold-light);
  width: 44px; height: 44px; border-radius: 50%;
  font-size: 20px; cursor: pointer;
  transition: all 0.3s var(--ease);
}
.lightbox .lb-close:hover { background: var(--gold); color: #241d05; }
.lightbox .lb-caption {
  position: absolute; bottom: 26px; left: 50%;
  transform: translateX(-50%);
  color: #dce8d2;
  font-family: Georgia, serif;
  font-size: 15px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(201,162,39,0.5);
  padding: 8px 22px;
}

/* ---------- Testimonials ---------- */
.testi-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 34px 30px 28px;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.testi-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.testi-card::before {
  content: "\201C";
  position: absolute;
  top: -6px; left: 22px;
  font-family: Georgia, serif;
  font-size: 92px;
  color: var(--gold);
  opacity: 0.3;
  line-height: 1;
}
.testi-card p { font-family: Georgia, serif; font-style: italic; color: #4a4a40; font-size: 14.5px; margin-bottom: 20px; position: relative; }
.testi-who { display: flex; align-items: center; gap: 13px; border-top: 1px dashed var(--line); padding-top: 16px; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(var(--green-mid), var(--green-dark));
  color: #fff;
  font-family: Georgia, serif; font-weight: bold;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--gold);
}
.testi-who .t-name { font-weight: bold; font-size: 14px; color: var(--green-deep); }
.testi-who .t-role { font-size: 12px; color: var(--muted); letter-spacing: 0.6px; }
.testi-stars { color: var(--gold-text); font-size: 13px; letter-spacing: 3px; margin-bottom: 12px; }

/* ---------- Stats strip ---------- */
.stats {
  background:
    linear-gradient(rgba(20,40,17,0.92), rgba(20,40,17,0.92)),
    url('../images/harvest-sunset.jpg') center/cover fixed;
  color: #fff;
  padding: 66px 0;
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}
.stats .grid { text-align: center; }
.stat-box { border-left: 1px solid rgba(201,162,39,0.35); padding: 6px 10px; }
.stat-box:first-child { border-left: none; }
.stat-num {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 46px;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.stat-label { font-size: 11.5px; letter-spacing: 2.2px; text-transform: uppercase; color: #cfe0c3; }

/* ---------- News ---------- */
.news-item {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 26px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--green);
  padding: 26px 28px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-left-color 0.3s var(--ease);
}
.news-item:hover { transform: translateX(8px); box-shadow: var(--shadow-lg); border-left-color: var(--gold); }
.news-date {
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 24px;
}
.news-date .day { font-family: Georgia, serif; font-size: 36px; color: var(--green); line-height: 1; }
.news-date .month { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-text); font-weight: bold; }
.news-body h3 { font-size: 20px; margin-bottom: 8px; line-height: 1.4; }
.news-body h3 a { color: var(--green-deep); display: inline-block; padding: 2px 0; }
.news-body h3 a:hover { color: var(--gold-text); }
.news-body p { color: var(--muted); font-size: 14px; margin-bottom: 16px; line-height: 1.6; }
.news-body .btn { margin-top: 4px; }
.news-cat {
  display: inline-block;
  font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--green);
  background: var(--green-light);
  border: 1px solid var(--line);
  padding: 3px 11px;
  margin-bottom: 9px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
a.news-cat:hover { background: var(--gold); border-color: var(--gold-dark); color: #241d05; }
.article-cat-link { color: var(--gold-text); font-weight: bold; transition: color 0.2s var(--ease); }
.article-cat-link:hover { color: var(--green); text-decoration: underline; }

/* News preview cards (image-top) */
.news-card { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.news-card:hover { transform: translateY(-9px); box-shadow: var(--shadow-lg); }
.news-card .nc-img { position: relative; height: 190px; overflow: hidden; }
.news-card .nc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.news-card:hover .nc-img img { transform: scale(1.1); }
.nc-date {
  position: absolute; left: 14px; bottom: -1px;
  background: linear-gradient(var(--gold-light), var(--gold));
  border: 1px solid var(--gold-dark);
  color: #241d05;
  text-align: center;
  padding: 7px 13px;
  line-height: 1.2;
}
.nc-date .d { font-family: Georgia, serif; font-size: 21px; font-weight: bold; display: block; }
.nc-date .m { font-size: 9.5px; letter-spacing: 1.4px; text-transform: uppercase; font-weight: bold; }
.news-card .nc-body { padding: 26px 24px 28px; }
.news-card h3 { font-size: 18px; margin-bottom: 9px; line-height: 1.45; }
.news-card h3 a { color: var(--green-deep); display: inline-block; padding: 3px 0; }
.news-card h3 a:hover { color: var(--gold-text); }
.news-card p { color: var(--muted); font-size: 13.5px; margin-bottom: 14px; }

/* ---------- Article ---------- */
.article { background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 48px 54px; position: relative; }
.article::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(217,210,189,0.6); pointer-events: none; }
.article h1 { font-size: 32px; margin-bottom: 16px; line-height: 1.3; }
.article-meta {
  font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--muted);
  border-bottom: 3px double var(--line);
  padding-bottom: 18px; margin-bottom: 26px;
}
.article-meta span { color: var(--gold-text); font-weight: bold; }
.article p { margin-bottom: 18px; color: #41413a; position: relative; }
.article h2 { font-size: 24px; margin: 30px 0 12px; position: relative; }
.article-figure {
  margin: 0 0 26px;
  border: 1px solid var(--line);
  padding: 7px;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.article-figure img { width: 100%; }

/* ---------- Article table of contents ---------- */
.toc {
  background: var(--cream);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  padding: 18px 24px 18px;
  margin: 0 0 30px;
}
.toc-title {
  font-family: Georgia, serif;
  font-size: 12px; font-weight: bold;
  letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 10px;
}
.toc ol { margin: 0; padding-left: 26px; counter-reset: toc; list-style: none; }
.toc li { counter-increment: toc; margin: 0; padding: 5px 0; position: relative; }
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  position: absolute; left: -26px; top: 6px;
  width: 20px; text-align: left;
  font-family: Georgia, serif; font-size: 11.5px; font-weight: bold;
  color: var(--gold-text);
}
.toc a {
  color: var(--green-deep);
  font-weight: bold;
  font-size: 14.5px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.toc a:hover { color: var(--gold-text); border-bottom-color: var(--gold); }
/* section headings sit clear of the sticky header when jumped to */
.article h2[id] { scroll-margin-top: 130px; }
@media (max-width: 880px) { .article h2[id] { scroll-margin-top: 76px; } }

.article blockquote {
  border-left: 4px solid var(--gold);
  background: var(--cream);
  padding: 20px 26px;
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 16px;
  color: var(--green-deep);
  margin: 26px 0;
  position: relative;
}
.article ul, .article ol { margin: 0 0 18px 28px; color: #41413a; position: relative; }
.article li { margin-bottom: 8px; }

/* ---------- Table ---------- */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
}
.table-wrap .classic-table { margin: 0; min-width: 420px; }
.classic-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  margin: 20px 0;
  font-size: 14px;
  box-shadow: var(--shadow);
}
.classic-table th {
  background: linear-gradient(var(--green-mid), var(--green-deep));
  color: #fff;
  text-align: left;
  padding: 13px 17px;
  font-family: Georgia, serif;
  letter-spacing: 0.5px;
  border: 1px solid var(--green-dark);
}
.classic-table td { padding: 12px 17px; border: 1px solid var(--line); transition: background 0.25s var(--ease); }
.classic-table tr:nth-child(even) td { background: var(--cream); }
.classic-table tr:hover td { background: var(--green-light); }

/* ---------- Product rows ---------- */
.product-row {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 38px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 34px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.product-row:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-row:nth-child(even) { grid-template-columns: 1fr 360px; }
.product-row:nth-child(even) .product-img { order: 2; }
.product-img { overflow: hidden; border: 1px solid var(--line); padding: 7px; background: var(--paper); box-shadow: var(--shadow); }
.product-img img { transition: transform 0.7s var(--ease); }
.product-row:hover .product-img img { transform: scale(1.08); }
.product-info h3 { font-size: 24px; margin-bottom: 10px; }
.product-info .tagline { color: var(--gold-text); font-weight: bold; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; }
.product-info p { color: var(--muted); margin-bottom: 14px; }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin: 30px 0 10px; padding-left: 44px; }
.timeline::before {
  content: "";
  position: absolute; left: 10px; top: 6px; bottom: 6px;
  width: 2px;
  background: repeating-linear-gradient(var(--line) 0 6px, transparent 6px 12px);
}
.timeline-item { position: relative; padding-bottom: 30px; }
.timeline-item::before {
  content: "";
  position: absolute; left: -41px; top: 5px;
  width: 16px; height: 16px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--green-deep);
  box-shadow: 0 0 0 3px var(--cream);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.timeline-item:hover::before { transform: scale(1.25); background: var(--gold-light); }
.timeline-item .year { font-family: Georgia, serif; font-size: 21px; color: var(--green); font-weight: bold; }
.timeline-item p { color: var(--muted); font-size: 14px; }

/* ---------- Contact ---------- */
.form-note { font-size: 13px; color: var(--muted); margin-top: 12px; }

.info-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  padding: 26px 28px;
  margin-bottom: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.info-box:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); }
.info-box h3 { font-size: 18px; margin-bottom: 10px; }
.info-box p { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.info-box strong { color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    linear-gradient(rgba(20,40,17,0.88), rgba(20,40,17,0.88)),
    url('../images/seeds-hands.jpg') center/cover fixed;
  color: #fff;
  text-align: center;
  padding: 88px 0;
  border-top: 3px solid var(--gold);
  position: relative;
}
.cta-band h2 { color: #fff; font-size: 34px; margin-bottom: 14px; }
.cta-band h2 em { color: var(--gold-light); }
.cta-band p { color: #d8e3cf; max-width: 620px; margin: 0 auto 30px; }
.cta-band .ornament i { box-shadow: 0 0 0 3px #2a441f, 0 0 0 4px var(--gold); }

/* ---------- Copyable email (no mailto: anywhere on the site) ---------- */
.email-plain { overflow-wrap: anywhere; }
.email-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.copy-btn {
  flex: 0 0 auto;
  font-family: inherit;
  font-size: 10.5px; font-weight: bold;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--green-deep);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 5px 11px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.copy-btn:hover { background: var(--gold); border-color: var(--gold-dark); color: #241d05; }
.copy-btn.copied { background: var(--green); border-color: var(--green); color: #fff; }
.copy-btn-dark {
  margin-left: 9px;
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(201, 162, 39, 0.45);
}
.copy-btn-dark:hover { background: var(--gold); border-color: var(--gold); color: #241d05; }
.site-footer .f-contact li:has(.copy-btn) { display: flex; align-items: center; flex-wrap: wrap; }


/* Anchor targets must clear the sticky header */
:target, #main { scroll-margin-top: 130px; }
@media (max-width: 880px) { :target, #main { scroll-margin-top: 72px; } }

/* ---------- Assurance strip (replaces the old newsletter sign-up) ---------- */
.assurance {
  background: linear-gradient(var(--green-deep), #1b3a17);
  border-top: 3px solid var(--gold);
  padding: 34px 0 32px;
  color: #fff;
}
.assurance-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px 30px;
}
.assure { display: flex; align-items: flex-start; gap: 14px; }
.assure + .assure { position: relative; }
.assure + .assure::before {
  content: "";
  position: absolute; left: -15px; top: 4px; bottom: 4px;
  width: 1px;
  background: rgba(201, 162, 39, 0.28);
}
.assure .ai {
  flex: 0 0 36px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201, 162, 39, 0.5);
  background: rgba(0, 0, 0, 0.2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.assure:hover .ai { background: var(--gold); border-color: var(--gold); }
.assure .ai svg { width: 18px; height: 18px; fill: var(--gold-light); transition: fill 0.3s var(--ease); }
.assure:hover .ai svg { fill: #241d05; }
.assure h3 {
  color: #fff;
  font-size: 14.5px;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
}
.assure p { color: #b8cdac; font-size: 12.5px; line-height: 1.6; }

/* ---------- Contact channels (replaces the old contact form) ---------- */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 52px;
}
.channel {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  padding: 26px 28px 24px;
  box-shadow: var(--shadow);
  color: inherit;
  position: relative;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-top-color 0.35s var(--ease);
}
.channel::after {
  content: "";
  position: absolute; inset: 6px;
  border: 1px solid rgba(217, 210, 189, 0.65);
  pointer-events: none;
  transition: inset 0.35s var(--ease);
}
.channel:hover { box-shadow: var(--shadow-lg); border-top-color: var(--gold); }
.channel:hover::after { inset: 9px; }
.channel .ch-kicker {
  font-size: 10.5px; font-weight: bold;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold-text);
}
.channel h3 { font-size: 19px; margin: 7px 0 9px; }
.channel p { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; flex: 1; }
.channel .ch-act {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  align-self: flex-start;
  font-size: 13px; font-weight: bold;
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 13px;
  width: 100%;
  line-height: 1.5;
}
.channel .ch-act .ch-txt { flex: 1; overflow-wrap: anywhere; }
.channel .ch-act strong { color: var(--green-deep); }
.channel .ch-act .ch-tag {
  flex: 0 0 8px;
  width: 8px; height: 8px;
  margin-top: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* "What to include" brief panel */
.contact-split { align-items: start; }
.brief-title { font-size: 20px; margin-bottom: 10px; }
.brief-lede { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.brief-list { list-style: none; margin-bottom: 16px; }
.brief-list li {
  padding: 10px 0 10px 30px;
  border-bottom: 1px dashed var(--line);
  position: relative;
  font-size: 14px;
  color: var(--muted);
}
.brief-list li:last-child { border-bottom: none; }
.brief-list li strong { color: var(--green-deep); }
.brief-list li::before {
  content: "";
  position: absolute; left: 6px; top: 17px;
  width: 9px; height: 9px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 3px var(--gold);
}

/* ---------- Footer ---------- */
.site-footer {
  background:
    repeating-linear-gradient(45deg, rgba(201,162,39,0.03) 0 2px, transparent 2px 10px),
    #16290f;
  color: #aec3a2;
  font-size: 13.5px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 56px;
  padding: 62px 0 44px;
}
.site-footer h4 {
  color: #fff;
  font-size: 15px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 11px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: #aec3a2; position: relative; padding-left: 16px; }
.site-footer ul a::before {
  content: "\203A"; /* › — unicode escape is charset-proof */
  position: absolute; left: 0;
  color: var(--gold);
  transition: left 0.25s var(--ease);
}
.site-footer ul a:hover { color: #fff; }
.site-footer ul a:hover::before { left: 5px; }
/* Footer contact list: no chevron prefix, wraps long addresses safely */
.site-footer .f-contact li { overflow-wrap: anywhere; }
.site-footer .f-contact a { padding-left: 0; }
.site-footer .f-contact a::before { content: none; }
.site-footer .f-contact li:last-child a { padding-left: 0; color: var(--gold-light); }
.site-footer .f-contact li:last-child a:hover { color: #fff; }

.footer-brand p { margin-top: 12px; line-height: 1.8; }
.footer-brand .f-logo { display: inline-block; margin-bottom: 10px; max-width: 100%; }
.footer-brand .f-logo img { display: block; height: 60px; width: auto; max-width: 100%; }
.footer-bottom {
  border-top: 1px solid rgba(201,162,39,0.25);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12.5px;
}
.footer-bottom a { color: #cfe0c3; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  background: linear-gradient(var(--green), var(--green-deep));
  color: #fff;
  border: 1px solid var(--gold-dark);
  border-radius: 3px;
  font-size: 20px;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transform: translateY(14px);
  transition: all 0.35s var(--ease);
  z-index: 90;
  box-shadow: var(--shadow);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: linear-gradient(var(--gold-light), var(--gold)); color: #241d05; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-44px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(44px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-zoom { opacity: 0; transform: scale(0.92); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal-zoom.visible { opacity: 1; transform: scale(1); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-zoom { opacity: 1; transform: none; transition: none; }
  .slide { transition: opacity 0.5s var(--ease); transform: none; }
  .ticker-inner { animation: none; }
  .img-badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   Responsive — verified down to 320px
   Breakpoints: 1080 / 880 / 700 / 560 / 430 / 360
   ============================================================ */

/* Grid/flex children default to min-width:auto, so a wide child (e.g. a table
   with a min-width) forces the whole track wider than the viewport. Letting them
   shrink lets .table-wrap scroll internally instead of pushing the page out. */
.grid > *, .split > *, .footer-top > *, .assurance-grid > * { min-width: 0; }
.table-wrap { max-width: 100%; }

/* Global overflow guard. Must be `clip`, not `hidden`: `hidden` turns html/body
   into a scroll container and silently breaks `position: sticky` on the header.
   Applied to BOTH html and body — on some mobile browsers html is the scroll
   root, so clipping body alone left a draggable empty strip on the right. */
html { overflow-x: clip; }
body { overflow-x: clip; }
/* The ticker marquee is intentionally wider than the screen; clip it so it never
   contributes to the document's scroll width. */
.ticker { overflow-x: clip; }
img, svg, video, table { max-width: 100%; }

@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px 48px; }
  .footer-brand { grid-column: 1 / -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .assurance-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 30px; }
  .assure:nth-child(3)::before { content: none; }
  .product-row { grid-template-columns: 300px 1fr; gap: 28px; }
  .product-row:nth-child(even) { grid-template-columns: 1fr 300px; }
  .split { gap: 40px; }
}

/* ---- Tablet: nav collapses to a drawer ---- */
@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--ease);
    border-top: none;
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { max-height: 460px; border-top: 2px solid var(--gold); }
  .main-nav ul { flex-direction: column; padding: 0; }
  .main-nav li + li::before { display: none; }
  .main-nav a,
  .site-header.scrolled .main-nav a {
    padding: 15px 26px;
    font-size: 12.5px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .main-nav a::before { display: none; }
  .main-nav a:hover, .main-nav a.active { background: var(--gold); color: #241d05; padding-left: 34px; }

  /* Header sits tighter — it is the only sticky row at this size */
  .header-main { padding: 10px var(--pad); }
  .site-header.scrolled .header-main { padding: 6px var(--pad); }
  .brand-logo-img { max-height: 52px; }
  .site-header.scrolled .brand-logo-img { max-height: 40px; }
  .header-cta { padding: 9px 16px; font-size: 11px; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .product-row, .product-row:nth-child(even) { grid-template-columns: 1fr; }
  .product-row:nth-child(even) .product-img { order: 0; }
  .news-item { grid-template-columns: 108px 1fr; }
  .news-date { padding-right: 18px; }
  .slide-caption h1, .slide-caption .slide-title { font-size: 30px; }
  .slide-caption { padding: 26px; }
  .hero-slider { height: 480px; }
  .slider-arrow { display: none; }
  .article { padding: 32px 24px; }
  .article::before { display: none; }
  .channel-grid { gap: 18px; margin-bottom: 40px; }
  .cta-band, .stats { background-attachment: scroll; }
  .section { padding: 60px 0; }
  .img-badge { right: 8px; bottom: -14px; width: 112px; height: 112px; }
  .img-badge .num { font-size: 27px; }
  .stat-box { border-left: none; border-top: 1px solid rgba(201, 162, 39, 0.35); padding-top: 20px; }
  .stat-box:first-child { border-top: none; padding-top: 6px; }
}

/* ---- Small tablet / large phone ---- */
@media (max-width: 700px) {
  .header-main { gap: 12px; }
  .topbar { font-size: 12px; }
  .topbar .container { justify-content: center; text-align: center; gap: 4px 10px; }
  .section-head { margin-bottom: 40px; }
  .section-head h2 { font-size: 29px; }
  .cta-band h2 { font-size: 29px; }
  .cta-band { padding: 66px 0; }
  .page-banner { padding: 60px 0 50px; }
  .page-banner h1, .page-banner .banner-title { font-size: 32px; }
  .channel-grid { grid-template-columns: 1fr; }
  .footer-top { padding: 48px 0 36px; gap: 32px; }
}

/* ---- Phone ---- */
@media (max-width: 560px) {
  :root { --pad: 16px; }
  .grid-4 { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .assurance-grid { grid-template-columns: 1fr; gap: 20px; }
  .assure + .assure::before { content: none; }
  .assure + .assure { padding-top: 20px; border-top: 1px solid rgba(201, 162, 39, 0.25); }
  .assurance { padding: 28px 0 26px; }

  .brand-logo-img { max-height: 52px; }
  .site-header.scrolled .brand-logo-img { max-height: 42px; }
  .nav-toggle { padding: 9px 14px; font-size: 11px; letter-spacing: 1.2px; }

  .hero-slider { height: auto; min-height: 420px; }
  .slide { align-items: flex-start; }
  .slide:not(.active) { position: absolute; inset: 0; }
  .slide.active { position: relative; }
  .slide .container { padding-top: 30px; padding-bottom: 52px; }
  .slide-caption { padding: 22px 20px; border-left-width: 4px; }
  .slide-caption h1, .slide-caption .slide-title { font-size: 25px; }
  .slide-caption p { font-size: 14.5px; margin-bottom: 20px; }
  .hero-kicker { font-size: 10.5px; letter-spacing: 2.2px; }
  /* Stacked hero buttons — two side by side will not fit */
  .hero-btns { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
  .hero-btns .btn { width: 100%; text-align: center; }
  .slider-dots { bottom: 16px; }

  .section { padding: 50px 0; }
  .section-head h2 { font-size: 26px; }
  .section-head p { font-size: 14px; }
  .page-banner h1, .page-banner .banner-title { font-size: 28px; }
  .split h2, .split .section-head h2 { font-size: 25px !important; }

  .news-item { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; }
  .news-date {
    display: flex; align-items: baseline; gap: 9px;
    text-align: left;
    border-right: none;
    border-bottom: 1px solid var(--line);
    padding: 0 0 12px;
  }
  .news-date .day { font-size: 28px; }
  .news-item:hover { transform: none; }

  .frame-box .inner { padding: 22px 18px; }
  .article { padding: 26px 18px; }
  .article h1 { font-size: 26px; }
  .article h2 { font-size: 21px; }
  .article blockquote { padding: 16px 18px; font-size: 15px; }
  .article ul, .article ol { margin-left: 20px; }

  /* TOC: tighter on small screens so it doesn't feel crowded */
  .toc { padding: 15px 16px; }
  .toc ol { padding-left: 22px; }
  .toc li::before { left: -22px; }
  .toc a { font-size: 14px; }
  .article .toc ol { margin-left: 0; }
  .channel { padding: 22px 20px 20px; }
  .info-box { padding: 22px 20px; }
  .info-box:hover { transform: none; }
  .acc-head { font-size: 15.5px; padding: 16px 18px; }
  .acc-head:hover { padding-left: 18px; }
  .acc-body .acc-content { padding: 4px 18px 18px; }
  .timeline { padding-left: 34px; }
  .timeline-item::before { left: -34px; transform: translateX(3px); }
  .timeline-item:hover::before { transform: translateX(3px) scale(1.25); }
  .product-row { padding: 20px; }
  .steps .grid-4 { gap: 34px; }

  .stat-num { font-size: 38px; }
  .stats { padding: 50px 0; }
  .cta-band { padding: 54px 0; }
  .cta-band h2 { font-size: 26px; }

  .ticker-label { padding: 9px 22px 9px 14px; font-size: 10px; letter-spacing: 1.6px; }
  .ticker-inner { font-size: 12px; margin-left: 18px; }
  .ticker-inner > span { padding-right: 42px; }

  .back-to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; font-size: 18px; }
  .lightbox { padding: 16px; }
  .lightbox img { border-width: 5px; }
  .lightbox .lb-close { top: 12px; right: 14px; width: 38px; height: 38px; font-size: 17px; }
  .lightbox .lb-caption { bottom: 14px; font-size: 13px; padding: 6px 14px; width: max-content; max-width: 88vw; }

  .footer-bottom { justify-content: center; text-align: center; }
}

/* ---- Small phone ---- */
@media (max-width: 430px) {
  :root { --pad: 14px; }
  body { font-size: 14.5px; }

  .topbar { font-size: 11.5px; padding: 6px 0; }
  .topbar .sep { margin: 0 6px; }

  .brand-logo-img { max-height: 46px; }
  .site-header.scrolled .brand-logo-img { max-height: 38px; }
  /* Below 430px the logo + Menu need the room; Get a Quote is still reachable
     via the topbar phone/email and the Contact nav item. */
  .header-cta { display: none; }
  .header-main { padding: 9px var(--pad); }
  .site-header.scrolled .header-main { padding: 5px var(--pad); }
  .nav-toggle { padding: 8px 11px; font-size: 10.5px; letter-spacing: 1px; }
  .main-nav a, .site-header.scrolled .main-nav a { padding: 13px 18px; }
  .main-nav a:hover, .main-nav a.active { padding-left: 24px; }

  .slide-caption { padding: 18px 16px; }
  .slide-caption h1, .slide-caption .slide-title { font-size: 22px; }
  .slide-caption p { font-size: 13.5px; }

  .btn { padding: 12px 20px; font-size: 11.5px; letter-spacing: 1.1px; }
  .btn-sm { padding: 9px 14px; font-size: 10.5px; }

  .section { padding: 42px 0; }
  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: 23px; }
  .section-head .kicker { font-size: 11px; letter-spacing: 2.4px; }
  .ornament span { width: 46px; }
  .page-banner { padding: 48px 0 40px; }
  .page-banner h1, .page-banner .banner-title { font-size: 24px; }
  .breadcrumb { font-size: 11px; letter-spacing: 1.2px; }

  .split h2, .split .section-head h2 { font-size: 22px !important; }
  .svc-img { height: 175px; }
  .news-card .nc-img { height: 165px; }
  .gallery-item { height: 190px; }

  .img-badge { width: 92px; height: 92px; right: 4px; bottom: -12px; border-width: 2px; }
  .img-badge .num { font-size: 22px; }
  .img-badge .lbl { font-size: 8.5px; letter-spacing: 1.2px; padding: 0 8px; }

  .stat-num { font-size: 33px; }
  .stat-label { font-size: 10.5px; letter-spacing: 1.6px; }

  .cta-band h2 { font-size: 23px; }
  .cta-band { padding: 46px 0; }
  .assure .ai { flex-basis: 32px; width: 32px; height: 32px; }
  .assure .ai svg { width: 16px; height: 16px; }

  .channel h3 { font-size: 17px; }
  .channel .ch-act { font-size: 12px; }
  .brief-title { font-size: 18px; }
  .brief-list li { font-size: 13.5px; padding-left: 26px; }
  .brief-list li::before { left: 4px; }

  .article { padding: 22px 15px; }
  .article h1 { font-size: 22px; }
  .article h2 { font-size: 19px; }
  .acc-head { font-size: 14.5px; padding: 14px 15px; gap: 10px; }
  .acc-head:hover { padding-left: 15px; }
  .acc-body .acc-content { padding: 4px 15px 16px; font-size: 13.5px; }
  .frame-box { padding: 5px; }
  .frame-box .inner { padding: 18px 15px; }
  .table-wrap .classic-table { min-width: 340px; font-size: 13px; }
  .classic-table th, .classic-table td { padding: 10px 12px; }

  .ticker-label { padding: 8px 18px 8px 11px; font-size: 9.5px; letter-spacing: 1.2px; }
  .ticker-label::before { flex-basis: 6px; width: 6px; height: 6px; margin-right: 7px; }
  .ticker-inner { font-size: 11.5px; margin-left: 14px; }
  .ticker-inner > span { padding-right: 34px; }

  .site-footer { font-size: 13px; }
  .footer-top { padding: 40px 0 30px; gap: 28px; }
  .site-footer h4 { font-size: 14px; margin-bottom: 14px; }
  .footer-brand .f-logo img { height: auto; width: 260px; max-width: 100%; }
  .footer-bottom { font-size: 11.5px; }
}

/* ---- 320px floor ---- */
@media (max-width: 360px) {
  :root { --pad: 12px; }
  .brand-logo-img, .site-header.scrolled .brand-logo-img { max-height: 40px; }
  .header-main { padding: 8px var(--pad); gap: 8px; }
  .nav-toggle { padding: 7px 10px; font-size: 10px; letter-spacing: 0.6px; }

  .topbar { font-size: 10.5px; }
  .topbar .sep { margin: 0 4px; }

  .slide-caption h1, .slide-caption .slide-title { font-size: 20px; }
  .slide-caption p { font-size: 13px; }
  .btn { padding: 11px 16px; font-size: 11px; }

  .section-head h2 { font-size: 21px; }
  .page-banner h1, .page-banner .banner-title { font-size: 22px; }
  .split h2, .split .section-head h2 { font-size: 20px !important; }
  .stat-num { font-size: 30px; }
  .cta-band h2 { font-size: 21px; }
  .article h1 { font-size: 20px; }
  .testi-card { padding: 24px 16px 20px; }
  .channel { padding: 20px 16px 18px; }
  .info-box { padding: 20px 16px; }
  .table-wrap .classic-table { min-width: 300px; }

  .ticker-label { padding: 8px 16px 8px 9px; font-size: 9px; letter-spacing: 0.8px; }
  .ticker-inner { font-size: 11px; margin-left: 12px; }
}

/* Coarse pointers get no hover-lift (it sticks after tap on touch devices) */
@media (hover: none) {
  .card:hover, .svc-card:hover, .testi-card:hover, .step:hover,
  .news-card:hover, .news-item:hover, .product-row:hover,
  .channel:hover, .info-box:hover { transform: none; }
}

/* ---------- Pagination (WordPress listings) ---------- */
.pagination { margin-top: 44px; display: flex; justify-content: center; }
.pagination .page-nums { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 12px;
  font-size: 13px; font-weight: bold;
  color: var(--green-deep);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.pagination a.page-numbers:hover { background: var(--gold); border-color: var(--gold-dark); color: #241d05; }
.pagination .page-numbers.current { background: var(--green-deep); border-color: var(--green-deep); color: #fff; }
.pagination .page-numbers.dots { background: transparent; border-color: transparent; }
@media (max-width: 430px) {
  .pagination .page-numbers { min-width: 38px; height: 38px; padding: 0 9px; font-size: 12px; }
}

/* ---------- Guest Posts (homepage section) ---------- */
.guest-section .section-head { margin-bottom: 40px; }
.guest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.guest-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.32s var(--ease), transform 0.32s var(--ease), border-color 0.32s var(--ease);
}
/* Gold accent bar that grows across the top on hover */
.guest-card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
  z-index: 2;
}
.guest-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: transparent; }
.guest-card:hover::before { transform: scaleX(1); }

.guest-thumb {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--cream);
}
.guest-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.6s var(--ease);
}
.guest-card:hover .guest-thumb img { transform: scale(1.07); }
.guest-tag {
  position: absolute; top: 12px; left: 12px;
  background: rgba(20, 40, 17, 0.86);
  color: #fff;
  font-size: 10.5px; font-weight: bold; letter-spacing: 1.3px; text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 3px;
  backdrop-filter: blur(2px);
}

.guest-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 22px 24px;
}
.guest-meta {
  font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--gold-text); font-weight: bold;
  margin-bottom: 10px;
}
.guest-body h3 {
  font-size: 18px; line-height: 1.45;
  margin: 0 0 12px;
  letter-spacing: 0.1px;
}
.guest-body h3 a { color: var(--green-deep); transition: color 0.25s var(--ease); }
.guest-body h3 a:hover { color: var(--gold-text); }
.guest-body p {
  font-size: 14px; color: var(--muted);
  margin: 0 0 18px; line-height: 1.62;
}
.guest-link {
  margin-top: auto;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: bold; letter-spacing: 0.8px; text-transform: uppercase;
  color: var(--green);
  transition: color 0.25s var(--ease);
}
.guest-link i { font-style: normal; transition: transform 0.28s var(--ease); }
.guest-link:hover { color: var(--gold-text); }
.guest-link:hover i { transform: translateX(5px); }

.guest-cta { text-align: center; margin-top: 44px; }

/* Tablet: two columns */
@media (max-width: 900px) {
  .guest-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .guest-body { padding: 20px 20px 22px; }
  .guest-body h3 { font-size: 17px; }
}
/* Mobile: single column, tighter */
@media (max-width: 560px) {
  .guest-grid { grid-template-columns: 1fr; gap: 20px; }
  .guest-section .section-head { margin-bottom: 30px; }
  .guest-body { padding: 18px 18px 20px; }
  .guest-body h3 { font-size: 17px; }
  .guest-body p { font-size: 13.5px; }
  .guest-cta { margin-top: 32px; }
  .guest-cta .btn { width: 100%; }
}
