/* =====================================================================
   CK Enterprises — design system
   Brand green #80b435 taken from the existing site identity.
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --brand:        #80b435;
  --brand-dark:   #6a9629;
  --brand-darker: #557a1f;
  --brand-tint:   #f2f8e9;
  --brand-tint-2: #e6f1d4;

  /* Ink & surfaces */
  --ink:        #16191d;
  --ink-2:      #3d454e;
  --ink-3:      #6b7480;
  --line:       #e4e8ec;
  --surface:    #ffffff;
  --surface-2:  #f7f9fa;
  --dark:       #1f2229;
  --dark-2:     #171a20;

  /* Type scale (fluid) */
  --fs-h1:  clamp(2.1rem, 1.35rem + 3.1vw, 3.9rem);
  --fs-h2:  clamp(1.65rem, 1.25rem + 1.6vw, 2.5rem);
  --fs-h3:  clamp(1.12rem, 1.02rem + 0.42vw, 1.35rem);
  --fs-body: 1rem;
  --fs-sm:  0.9rem;
  --fs-xs:  0.795rem;

  /* Spacing */
  --sp-section: clamp(3.75rem, 2.6rem + 4.6vw, 7rem);
  --wrap: 1220px;
  --gap: 1.75rem;

  /* Effects */
  --radius:    14px;
  --radius-sm: 9px;
  --shadow:    0 1px 2px rgba(22, 25, 29, .05), 0 8px 24px -12px rgba(22, 25, 29, .13);
  --shadow-lg: 0 2px 6px rgba(22, 25, 29, .06), 0 26px 50px -22px rgba(22, 25, 29, .26);
  --ease: cubic-bezier(.22, .61, .36, 1);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.68;
  color: var(--ink-2);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0 0 .6em;
  color: var(--ink);
  line-height: 1.16;
  font-weight: 700;
  letter-spacing: -.018em;
}
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.03em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 1.05rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--brand-dark); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--brand-darker); }

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

ul { margin: 0; padding: 0; }

button { font: inherit; color: inherit; }

/* Focus: always visible, never removed. */
:focus-visible {
  outline: 3px solid var(--brand-dark);
  outline-offset: 2px;
  border-radius: 3px;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

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

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--brand); color: #fff; padding: .8rem 1.4rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* ---------- 3. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .82rem 1.7rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: .012em;
  cursor: pointer;
  text-align: center;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease),
              box-shadow .22s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover {
  background: var(--brand-dark); color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px rgba(128, 180, 53, .7);
}

.btn-outline { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); background: var(--brand-tint); }

.btn-ghost-light { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-block { display: flex; width: 100%; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: var(--fs-sm); }
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .22s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- 4. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.site-header.is-stuck { box-shadow: 0 4px 20px -8px rgba(22,25,29,.18); }

.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.74);
  font-size: var(--fs-xs);
}
.topbar-inner {
  display: flex; align-items: center; gap: 1.6rem;
  min-height: 42px; flex-wrap: wrap;
}
.topbar-item {
  display: inline-flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.74);
}
a.topbar-item:hover { color: var(--brand); }
.topbar-item .icon { width: 1rem; height: 1rem; color: var(--brand); }
.topbar-address { margin-left: auto; text-align: right; }

.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 84px;
}
.brand { flex-shrink: 0; }
.brand img { width: auto; height: 46px; }

/* ---------- 5. Navigation ---------- */
.primary-nav { margin-left: auto; display: flex; align-items: center; gap: 1.4rem; }

.nav-list { display: flex; align-items: center; gap: .25rem; list-style: none; }

.nav-list a {
  display: block; padding: .55rem .8rem;
  color: var(--ink); font-size: var(--fs-sm); font-weight: 600;
  border-radius: var(--radius-sm);
  position: relative;
}
.nav-list a::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .28rem;
  height: 2px; background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform .26s var(--ease);
}
.nav-list a:hover { color: var(--brand-dark); }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
.nav-list a.is-active { color: var(--brand-dark); }

/* Products dropdown */
.has-dropdown { position: relative; }
.nav-parent { display: flex; align-items: center; }
.dropdown-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; margin-left: -.45rem;
  background: none; border: 0; border-radius: 50%; cursor: pointer;
  color: var(--ink-3);
}
.dropdown-toggle .icon { width: .95rem; height: .95rem; transition: transform .26s var(--ease); }
.dropdown-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.dropdown-toggle:hover { color: var(--brand-dark); background: var(--brand-tint); }

.dropdown-menu {
  position: absolute; top: calc(100% + 14px); left: 0;
  min-width: 254px; padding: .5rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.dropdown-menu::before {
  content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.has-dropdown.is-open > .dropdown-menu,
.has-dropdown:hover > .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  padding: .58rem .85rem; border-radius: var(--radius-sm);
  font-weight: 500; color: var(--ink-2);
}
.dropdown-menu a::after { display: none; }
.dropdown-menu a:hover { background: var(--brand-tint); color: var(--brand-darker); }
.dropdown-menu li:first-child a { font-weight: 700; color: var(--ink); }

.nav-toggle {
  display: none; margin-left: auto;
  width: 46px; height: 46px; padding: 0;
  background: transparent; border: 1px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer;
}
.nav-toggle-bars { display: grid; gap: 5px; justify-items: center; }
.nav-toggle-bars span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero carousel ---------- */
.hero {
  position: relative;
  min-height: clamp(440px, 62vh, 660px);
  display: grid;
  isolation: isolate;
  background: var(--dark);
}
.hero-slides { display: grid; grid-template-areas: "s"; }
.hero-slide {
  grid-area: s;
  position: relative;
  display: grid; align-items: center;
  opacity: 0; visibility: hidden;
  transition: opacity .85s var(--ease), visibility .85s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; }

.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-active .hero-media img { animation: heroZoom 9s var(--ease) forwards; }
@keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }

.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,23,27,.9) 8%, rgba(20,23,27,.66) 48%, rgba(20,23,27,.28) 100%);
}

.hero-content { padding-block: clamp(3.5rem, 8vw, 6rem); max-width: 640px; }

/* Once the viewport is too narrow for the arrows to clear the content column,
   they tuck into the screen edge — so inset the text to keep it clear of them. */
@media (max-width: 1400px) {
  .hero-content { padding-left: 3.75rem; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center;
  margin-bottom: 1.15rem; padding: .38rem 1rem;
  background: rgba(128,180,53,.18);
  border: 1px solid rgba(128,180,53,.5);
  border-radius: 999px;
  color: #b8dc7c; font-size: var(--fs-xs);
  font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
}
/* Slides 2+ use <p class="hero-title"> so the page keeps a single H1;
   the visual treatment is identical. */
.hero-title {
  margin: 0 0 .55rem;
  color: #fff;
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -.03em;
}
.hero-text {
  color: rgba(255,255,255,.82);
  font-size: clamp(1rem, .94rem + .3vw, 1.14rem);
  max-width: 52ch; margin-bottom: 2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* staged entrance for the active slide */
.hero-slide.is-active .hero-eyebrow,
.hero-slide.is-active .hero-title,
.hero-slide.is-active .hero-text,
.hero-slide.is-active .hero-actions {
  animation: heroUp .75s var(--ease) backwards;
}
.hero-slide.is-active .hero-title   { animation-delay: .1s; }
.hero-slide.is-active .hero-text    { animation-delay: .2s; }
.hero-slide.is-active .hero-actions { animation-delay: .3s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Carousel controls: a single chevron on each edge of the image, vertically
   centred. The category strip overlaps the lower edge, so the arrows are
   nudged up by half the overlap to stay optically centred on the visible area. */
.hero-arrow {
  position: absolute; z-index: 4; top: calc(50% - 2rem);
  transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; padding: 0;
  background: rgba(20, 23, 27, .34); color: #fff;
  border: 1px solid rgba(255, 255, 255, .34);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background-color .22s var(--ease), border-color .22s var(--ease),
              transform .22s var(--ease), box-shadow .22s var(--ease);
}
.hero-arrow .icon { width: 1.5rem; height: 1.5rem; }
.hero-arrow:hover {
  background: var(--brand); border-color: var(--brand);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 8px 20px -8px rgba(128, 180, 53, .8);
}
.hero-arrow:active { transform: translateY(-50%) scale(.97); }

/* Sit just outside the content column when the viewport is wide enough,
   otherwise tuck into the screen edge. */
.hero-arrow-prev { left:  max(.85rem, calc((100% - var(--wrap)) / 2 - 4.25rem)); }
.hero-arrow-next { right: max(.85rem, calc((100% - var(--wrap)) / 2 - 4.25rem)); }

/* Compact variant used on the products page */
.hero-compact { min-height: clamp(340px, 46vh, 470px); }
.hero-compact .hero-content { padding-block: clamp(2.6rem, 6vw, 4rem); }
.hero-compact .hero-title { font-size: clamp(1.9rem, 1.3rem + 2.5vw, 3.1rem); }
.hero-compact .hero-text { margin-bottom: 0; }
.hero-compact .breadcrumb { margin-bottom: .9rem; }

/* ---------- 6b. Category strip (sits under the carousel) ---------- */
.cat-strip-wrap {
  position: relative; z-index: 5;
  margin-top: clamp(-4rem, -5vw, -2.5rem);
}
.cat-strip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 1px;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.cat-strip a {
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  height: 100%; padding: 1.4rem .7rem 1.25rem;
  background: var(--surface);
  text-align: center;
  transition: background-color .28s var(--ease), transform .28s var(--ease);
}
.cat-strip a:hover { background: var(--brand-tint); }

.cat-strip-media {
  display: block; width: 74px; height: 74px;
  border-radius: 50%; overflow: hidden;
  border: 2px solid var(--line);
  background: var(--surface-2);
  transition: border-color .28s var(--ease), transform .28s var(--ease);
}
.cat-strip-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-strip a:hover .cat-strip-media { border-color: var(--brand); transform: scale(1.07); }

.cat-strip-name {
  font-size: .82rem; font-weight: 700; line-height: 1.3;
  color: var(--ink);
  letter-spacing: .01em;
}
.cat-strip a:hover .cat-strip-name { color: var(--brand-darker); }
.cat-strip-count { font-size: .715rem; color: var(--ink-3); }

@media (max-width: 1080px) {
  .cat-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .cat-strip-wrap { margin-top: -1.75rem; }
  .cat-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-strip a { padding: 1.1rem .6rem; }
  .cat-strip-media { width: 60px; height: 60px; }
}

/* ---------- 7. Sections ---------- */
.section { padding-block: var(--sp-section); }
.section-alt { background: var(--surface-2); }
.section-dark { background: var(--dark); color: rgba(255,255,255,.76); }
.section-dark h2, .section-dark h3 { color: #fff; }

.section-heading { max-width: 660px; margin-bottom: clamp(2.2rem, 4vw, 3.2rem); }
.section-heading.is-centered { margin-inline: auto; text-align: center; }
.eyebrow {
  display: block; margin-bottom: .7rem;
  color: var(--brand-dark);
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
}
.section-dark .eyebrow { color: var(--brand); }
.section-heading p { color: var(--ink-3); font-size: 1.06rem; margin-bottom: 0; }
.section-dark .section-heading p { color: rgba(255,255,255,.66); }

.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(292px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }

/* ---------- 8. Cards ---------- */
.card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }

.card-media { position: relative; overflow: hidden; background: var(--surface-2); aspect-ratio: 4 / 3; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }

.card-tag {
  position: absolute; top: .85rem; left: .85rem; z-index: 2;
  padding: .3rem .72rem;
  background: rgba(255,255,255,.94); color: var(--brand-darker);
  border-radius: 999px;
  font-size: .715rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
}

.card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { margin-bottom: .5rem; }
.card-body p { color: var(--ink-3); font-size: var(--fs-sm); }
.card-body .link-arrow { margin-top: auto; padding-top: 1rem; }

.card-source {
  margin-top: 1rem; padding-top: .9rem;
  border-top: 1px dashed var(--line);
  font-size: var(--fs-xs); color: var(--ink-3);
}
.card-source strong { color: var(--ink-2); font-weight: 600; }

/* Icon feature card */
.feature {
  padding: 2rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 54px; height: 54px; margin-bottom: 1.15rem;
  background: var(--brand-tint); color: var(--brand-dark);
  border-radius: 14px;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.feature-icon .icon { width: 26px; height: 26px; }
.feature:hover .feature-icon { background: var(--brand); color: #fff; }
.feature h3 { font-size: 1.06rem; margin-bottom: .45rem; }
.feature p { color: var(--ink-3); font-size: var(--fs-sm); margin: 0; }

/* Highlight card — the services "why choose us" statements.
   Designed to carry weight at rest, not only on hover. */
.highlight-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 2.4rem 2rem 2.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .32s var(--ease), box-shadow .32s var(--ease), border-color .32s var(--ease);
}
/* Brand bar along the top edge — visible at rest, widens on hover. */
.highlight-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--brand-dark));
  transform: scaleX(.28); transform-origin: left;
  transition: transform .42s var(--ease);
}
/* Soft tint that washes up from the bottom on hover. */
.highlight-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--brand-tint), transparent 62%);
  opacity: 0; transition: opacity .32s var(--ease);
}
.highlight-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-tint-2);
}
.highlight-card:hover::before { transform: scaleX(1); }
.highlight-card:hover::after { opacity: 1; }

.highlight-num {
  position: absolute; top: 1.15rem; right: 1.5rem;
  font-size: 2.9rem; font-weight: 800; line-height: 1;
  color: var(--brand); opacity: .13;
  letter-spacing: -.04em;
  transition: opacity .32s var(--ease), transform .32s var(--ease);
}
.highlight-card:hover .highlight-num { opacity: .22; transform: translateY(-3px); }

.highlight-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; margin-bottom: 1.5rem;
  background: var(--brand-tint); color: var(--brand-dark);
  border: 1px solid var(--brand-tint-2);
  border-radius: 16px;
  transition: background-color .32s var(--ease), color .32s var(--ease),
              transform .32s var(--ease), border-color .32s var(--ease);
}
.highlight-icon .icon { width: 29px; height: 29px; }
.highlight-card:hover .highlight-icon {
  background: var(--brand); color: #fff; border-color: var(--brand);
  transform: scale(1.06) rotate(-4deg);
}

.highlight-text {
  margin: 0;
  font-size: clamp(1.06rem, 1rem + .42vw, 1.28rem);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: -.012em;
  color: var(--ink);
}

/* Category tile */
.cat-tile {
  position: relative; display: block;
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 5 / 4; isolation: isolate;
}
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,23,27,.9) 4%, rgba(20,23,27,.36) 46%, rgba(20,23,27,.08) 100%);
  transition: background .35s var(--ease);
}
.cat-tile:hover img { transform: scale(1.08); }
.cat-tile:hover::after { background: linear-gradient(to top, rgba(90,132,36,.94) 4%, rgba(60,90,20,.5) 52%, rgba(20,23,27,.12) 100%); }
.cat-tile-body { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 1.4rem; color: #fff; }
.cat-tile-body h3 { color: #fff; margin: 0 0 .2rem; font-size: 1.08rem; }
.cat-tile-count { font-size: var(--fs-xs); color: rgba(255,255,255,.78); }

/* ---------- 9. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 2rem 1.5rem; background: var(--surface); text-align: center; }
.stat-value { display: block; font-size: clamp(1.9rem, 1.4rem + 1.9vw, 2.7rem); font-weight: 800; color: var(--brand-dark); letter-spacing: -.03em; line-height: 1.1; }
.stat-label { font-size: var(--fs-sm); color: var(--ink-3); }

/* ---------- 10. Split content ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split-media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.check-list { list-style: none; display: grid; gap: .85rem; margin-top: 1.6rem; }
.check-list li { display: flex; align-items: flex-start; gap: .75rem; font-size: var(--fs-sm); }
.check-list .icon { width: 1.35rem; height: 1.35rem; color: var(--brand); margin-top: .12rem; }

/* ---------- 11. Partners ---------- */
.partners-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.partners-strip > * {
  display: grid; place-items: center;
  padding: 1.9rem 1.4rem; background: var(--surface);
  min-height: 118px;
}
.partners-strip img {
  max-height: 54px; width: auto; object-fit: contain;
  filter: grayscale(1); opacity: .62;
  transition: filter .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
}
.partners-strip a:hover img { filter: none; opacity: 1; transform: scale(1.06); }

/* ---------- 12. Tag list ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.4rem 0 0; list-style: none; }
.tag-list li {
  padding: .5rem 1.1rem;
  background: var(--brand-tint); color: var(--brand-darker);
  border: 1px solid var(--brand-tint-2); border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 600;
  transition: background-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.tag-list li:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }

/* ---------- 13. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--dark);
  color: rgba(255,255,255,.72);
  isolation: isolate; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 120% at 88% 12%, rgba(128,180,53,.26), transparent 62%),
    var(--dark);
}
.page-hero h1 { color: #fff; margin-bottom: .4rem; }
.page-hero p { max-width: 58ch; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1rem; list-style: none; font-size: var(--fs-xs); }
.breadcrumb li { color: rgba(255,255,255,.5); }
.breadcrumb a { color: rgba(255,255,255,.72); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb li + li::before { content: "/"; margin-right: .45rem; color: rgba(255,255,255,.3); }

/* ---------- 14. Prose ---------- */
.prose { max-width: 78ch; }
.prose h2 { margin-top: 2.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.9rem; }

.callout {
  padding: 1.6rem 1.8rem;
  background: var(--brand-tint);
  border-left: 4px solid var(--brand);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}
.callout h3 { margin-bottom: .35rem; color: var(--brand-darker); font-size: 1rem; letter-spacing: .06em; text-transform: uppercase; }
.callout p { margin: 0; color: var(--ink-2); }

/* ---------- 15. CTA band ---------- */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(3rem, 6vw, 5rem);
  background: var(--brand-dark); color: #fff;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 140% at 92% 0%, rgba(255,255,255,.16), transparent 60%);
}
.cta-band-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.8rem; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }

/* ---------- 16. Products page ---------- */
.filter-bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
  padding: 1.1rem 1.3rem; margin-bottom: 2.4rem;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.filter-label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }

/* Custom select-style dropdown */
.filter-select { position: relative; min-width: 250px; }
.filter-select-btn {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  width: 100%; padding: .7rem 1.1rem;
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 999px;
  font-size: var(--fs-sm); font-weight: 600; cursor: pointer;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.filter-select-btn:hover { border-color: var(--brand); }
.filter-select-btn[aria-expanded="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.filter-select-btn .icon { width: 1rem; height: 1rem; color: var(--ink-3); transition: transform .26s var(--ease); }
.filter-select-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }

.filter-menu {
  position: absolute; z-index: 40; top: calc(100% + 8px); left: 0; right: 0;
  max-height: 340px; overflow-y: auto;
  padding: .45rem; list-style: none;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.filter-select.is-open .filter-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.filter-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: .6rem;
  width: 100%; padding: .58rem .85rem;
  background: none; border: 0; border-radius: var(--radius-sm);
  font-size: var(--fs-sm); font-weight: 500; text-align: left; cursor: pointer;
  color: var(--ink-2);
}
.filter-menu button:hover { background: var(--brand-tint); color: var(--brand-darker); }
.filter-menu button[aria-current="true"] { background: var(--brand); color: #fff; font-weight: 600; }
.filter-count { font-size: var(--fs-xs); opacity: .7; }

.filter-result { margin-left: auto; font-size: var(--fs-sm); color: var(--ink-3); }

.product-card { scroll-margin-top: 150px; position: relative; }
.product-card.is-hidden { display: none; }

/* Whole-card click target driven by the single title link, so the card has
   exactly one tab stop and screen readers announce one link, not three. */
.card-title { margin-bottom: .5rem; font-size: var(--fs-h3); }
.card-link { color: var(--ink); }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-link:hover { color: var(--brand-dark); }
.card:hover .card-link { color: var(--brand-dark); }
.card-link:focus-visible { outline: none; }
.product-card:focus-within { outline: 3px solid var(--brand-dark); outline-offset: 3px; border-radius: var(--radius); }

a.card-media { display: block; }
.product-card .link-arrow { margin-top: auto; padding-top: 1rem; color: var(--brand-dark); }
.card:hover .link-arrow .icon { transform: translateX(4px); }

/* ---------- 16c. Product detail ---------- */
.page-hero-compact { padding-block: clamp(2.2rem, 4vw, 3.4rem); }

.product-detail {
  display: grid; gap: clamp(2rem, 4vw, 3.6rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}
.product-detail-media {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2);
  box-shadow: var(--shadow);
}
.product-detail-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.product-cat-link {
  display: inline-flex; align-items: center;
  margin-bottom: 1rem; padding: .34rem .95rem;
  background: var(--brand-tint); color: var(--brand-darker);
  border: 1px solid var(--brand-tint-2); border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  transition: background-color .22s var(--ease), color .22s var(--ease);
}
.product-cat-link:hover { background: var(--brand); color: #fff; }

.product-detail-body h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.85rem); }
.product-lead { font-size: 1.04rem; color: var(--ink-2); }
.product-detail-body .callout { margin: 1.6rem 0; }
.product-detail-body .check-list { margin-top: 1.6rem; }

.product-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

@media (max-width: 900px) {
  .product-detail { grid-template-columns: 1fr; }
}

.no-results { padding: 3.5rem 1rem; text-align: center; color: var(--ink-3); }

/* ---------- 16b. Contact page & forms ---------- */
.contact-layout {
  display: grid; gap: clamp(2rem, 4vw, 3.5rem);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
}

.contact-aside h2, .contact-form-wrap h2 { font-size: var(--fs-h2); margin-bottom: 1.5rem; }

.contact-list-light li { color: var(--ink-2); }
.contact-list-light strong { color: var(--ink); font-weight: 600; }
.contact-list-light a { color: var(--brand-dark); }
.contact-list-light a:hover { color: var(--brand-darker); }
.contact-list-light .contact-icon {
  background: var(--brand-tint); color: var(--brand-dark);
  border-color: var(--brand-tint-2);
}
.contact-list-light li:hover .contact-icon { background: var(--brand); color: #fff; }

.map-embed {
  margin-top: 1.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--surface-2);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-form-wrap {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form { display: grid; gap: 1.15rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.15rem; }
.form-field { display: grid; gap: .45rem; }

.form-field label { font-size: var(--fs-sm); font-weight: 600; color: var(--ink); }
.req { color: #c0392b; }

.form-field input, .form-field textarea {
  width: 100%; padding: .78rem 1rem;
  font: inherit; font-size: var(--fs-sm); color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:hover, .form-field textarea:hover { border-color: #cbd3da; }
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-tint);
}
.form-field input[aria-invalid="true"], .form-field textarea[aria-invalid="true"] {
  border-color: #c0392b; background: #fdf5f4;
}
.form-field input[aria-invalid="true"]:focus, .form-field textarea[aria-invalid="true"]:focus {
  box-shadow: 0 0 0 3px rgba(192,57,43,.13);
}

.field-error { margin: 0; font-size: var(--fs-xs); color: #c0392b; font-weight: 500; }
.form-note { margin: 0; font-size: var(--fs-xs); color: var(--ink-3); }

/* Honeypot — hidden from people, still reachable by bots. */
.hp-field {
  position: absolute !important; left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

.alert {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.3rem 1.5rem; margin-bottom: 1.5rem;
  border-radius: var(--radius); border: 1px solid;
}
.alert h2 { font-size: 1.18rem; margin-bottom: .3rem; }
.alert p { margin: 0; font-size: var(--fs-sm); }
.alert-icon { width: 1.5rem; height: 1.5rem; flex-shrink: 0; margin-top: .1rem; }
.alert-success { background: var(--brand-tint); border-color: var(--brand-tint-2); color: var(--ink-2); }
.alert-success .alert-icon, .alert-success h2 { color: var(--brand-darker); }
.alert-error { background: #fdf5f4; border-color: #f2d4d0; color: #8c2c22; }
.alert-error .alert-icon { color: #c0392b; }

@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.62); font-size: var(--fs-sm); }

.footer-grid {
  display: grid; gap: clamp(2rem, 4vw, 3.2rem);
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  padding-block: clamp(3rem, 5.5vw, 4.5rem);
}
.footer-logo {
  height: 44px; width: auto; margin-bottom: 1.2rem;
  background: #fff; padding: .5rem .7rem; border-radius: var(--radius-sm);
}
.footer-about p { color: rgba(255,255,255,.62); }

.footer-motto {
  display: flex; align-items: flex-start; gap: .6rem;
  margin-top: 1.2rem; padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.8); font-style: italic;
}
.footer-motto .icon { color: var(--brand); margin-top: .15rem; }

.footer-heading {
  margin-bottom: 1.25rem;
  color: #fff; font-size: .82rem; font-weight: 700;
  letter-spacing: .13em; text-transform: uppercase;
}
.footer-heading::after {
  content: ""; display: block; width: 34px; height: 2px;
  margin-top: .6rem; background: var(--brand);
}

.footer-links { list-style: none; display: grid; gap: .62rem; }
.footer-links a { color: rgba(255,255,255,.62); }
.footer-links a:hover { color: var(--brand); padding-left: 5px; }
.footer-links a { transition: color .2s var(--ease), padding-left .2s var(--ease); }

.contact-list { list-style: none; display: grid; gap: 1rem; margin-bottom: 1.6rem; }
.contact-list li { display: flex; align-items: flex-start; gap: .8rem; }
.contact-list a { color: rgba(255,255,255,.62); }
.contact-list a:hover { color: var(--brand); }
.contact-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(128,180,53,.14); color: var(--brand);
  border: 1px solid rgba(128,180,53,.28);
  border-radius: 50%;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.contact-list li:hover .contact-icon { background: var(--brand); color: #fff; }
.contact-icon .icon { width: 1rem; height: 1rem; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.09); background: var(--dark-2); }
.footer-bottom-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .6rem; padding-block: 1.35rem;
  font-size: var(--fs-xs); color: rgba(255,255,255,.45);
}
.footer-bottom p { margin: 0; }
.footer-legal { letter-spacing: .09em; text-transform: uppercase; }

/* ---------- 18. Back to top ---------- */
.to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0;
  background: var(--brand); color: #fff;
  border: 0; border-radius: 50%; cursor: pointer;
  box-shadow: 0 8px 22px -8px rgba(128,180,53,.8);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s, background-color .22s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand-dark); }
.icon-up { transform: rotate(180deg); }

/* ---------- 19. Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
/* stagger children */
[data-reveal-group] > * { opacity: 0; transform: translateY(26px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
[data-reveal-group].is-revealed > * { opacity: 1; transform: none; }
[data-reveal-group].is-revealed > *:nth-child(1) { transition-delay: .04s; }
[data-reveal-group].is-revealed > *:nth-child(2) { transition-delay: .10s; }
[data-reveal-group].is-revealed > *:nth-child(3) { transition-delay: .16s; }
[data-reveal-group].is-revealed > *:nth-child(4) { transition-delay: .22s; }
[data-reveal-group].is-revealed > *:nth-child(5) { transition-delay: .28s; }
[data-reveal-group].is-revealed > *:nth-child(6) { transition-delay: .34s; }
[data-reveal-group].is-revealed > *:nth-child(7) { transition-delay: .40s; }
[data-reveal-group].is-revealed > *:nth-child(8) { transition-delay: .46s; }

/* ---------- 20. Responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 940px) {
  .topbar-address { display: none; }

  .nav-toggle { display: inline-grid; place-items: center; }

  .primary-nav {
    position: fixed; inset: 0 0 0 auto;
    width: min(340px, 86vw);
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 5.5rem 1.5rem 2rem;
    background: var(--surface);
    box-shadow: -14px 0 40px -18px rgba(22,25,29,.4);
    transform: translateX(100%);
    transition: transform .34s var(--ease);
    overflow-y: auto;
    visibility: hidden;
  }
  .primary-nav.is-open { transform: none; visibility: visible; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { border-bottom: 1px solid var(--line); }
  .nav-list a { padding: .95rem .25rem; font-size: 1rem; }
  .nav-list a::after { display: none; }

  .nav-parent { justify-content: space-between; }
  .nav-parent a { flex: 1; }
  .dropdown-toggle { width: 40px; height: 40px; margin: 0; }

  /* On mobile the dropdown is an inline accordion, not an overlay. */
  .dropdown-menu {
    position: static; min-width: 0; padding: 0 0 .6rem .6rem;
    border: 0; border-radius: 0; box-shadow: none;
    transform: none; opacity: 1; visibility: visible;
    display: none;
  }
  .has-dropdown:hover > .dropdown-menu { display: none; }
  .has-dropdown.is-open > .dropdown-menu { display: block; }
  .dropdown-menu a { padding: .62rem .7rem; font-size: .92rem; }

  .nav-cta { margin-top: 1.5rem; }

  .nav-backdrop {
    position: fixed; inset: 0; z-index: 99;
    background: rgba(22,25,29,.45);
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
  }
  .nav-backdrop.is-visible { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 700px) {
  .topbar-inner { justify-content: center; gap: 1rem; font-size: .74rem; }
  .header-inner { min-height: 68px; }
  .brand img { height: 38px; }

  .hero { min-height: 520px; }
  .hero-arrow { width: 42px; height: 42px; }
  .hero-arrow .icon { width: 1.2rem; height: 1.2rem; }
  .hero-content { padding-left: 3rem; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { justify-content: center; text-align: center; }

  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-select { min-width: 0; }
  .filter-result { margin-left: 0; }

  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .to-top { right: 1rem; bottom: 1rem; }
}

@media (max-width: 400px) {
  .wrap { width: min(100% - 1.75rem, var(--wrap)); }
  .card-body, .feature { padding: 1.25rem; }
}

/* ---------- 21. Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  [data-reveal], [data-reveal-group] > * { opacity: 1 !important; transform: none !important; }
  .hero-slide.is-active .hero-media img { animation: none; }
}

@media print {
  .site-header, .site-footer, .to-top, .hero-nav, .filter-bar { display: none !important; }
  body { color: #000; }
}
