/* ==========================================================================
   SJK Dental Corporation Limited — design system
   Palette derived from the original SJK logo lockup:
   wordmark green #78a008, petal marks #e06000 / #00e0e0 / #9000e0 / #f0e000
   ========================================================================== */

/* --- 1. Tokens --------------------------------------------------------- */
:root {
  /* brand */
  --c-brand:        #78a008;
  --c-brand-600:    #6b8f07;
  --c-brand-700:    #587506;
  --c-brand-800:    #42580a;
  --c-brand-900:    #2c3b0d;
  --c-brand-050:    #f4f8e8;
  --c-brand-100:    #e6efcd;
  --c-brand-200:    #cfe0a4;

  /* accent — petal orange.
     --c-accent carries white text (4.59:1); --c-accent-bright is decorative only. */
  --c-accent:        #c35400;
  --c-accent-600:    #a84600;
  --c-accent-700:    #8c3a00;
  --c-accent-bright: #e06000;
  --c-accent-050:    #fff2e8;

  /* support — petal cyan, informational only */
  --c-info:         #097b84;
  --c-info-050:     #e8f7f8;

  /* neutrals */
  --c-ink:          #16211c;
  --c-ink-2:        #33423a;
  --c-ink-3:        #5b6b62;
  --c-ink-4:        #67736c;
  --c-line:         #dfe5e0;
  --c-line-2:       #eef1ec;
  --c-surface:      #ffffff;
  --c-surface-2:    #f7f9f5;
  --c-surface-3:    #eef2ea;
  --c-dark:         #16211c;
  --c-dark-2:       #1f2e26;
  --c-on-dark:      #eaf0e6;
  --c-on-dark-mute: #a9b8ad;

  /* type scale */
  --fs-2xs:   0.6875rem;
  --fs-xs:    0.75rem;
  --fs-sm:    0.8125rem;
  --fs-base:  0.9375rem;
  --fs-md:    1rem;
  --fs-lg:    1.125rem;
  --fs-xl:    1.3125rem;
  --fs-2xl:   1.5rem;
  --fs-3xl:   1.875rem;
  --fs-4xl:   2.25rem;
  --fs-5xl:   2.875rem;
  --fs-6xl:   3.5rem;

  /* spacing scale */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.25rem;
  --s-6: 1.5rem;
  --s-8: 2rem;
  --s-10: 2.5rem;
  --s-12: 3rem;
  --s-16: 4rem;
  --s-20: 5rem;
  --s-24: 6rem;

  /* radii */
  --r-xs: 3px;
  --r-sm: 5px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 18px;
  --r-pill: 999px;

  /* elevation */
  --sh-1: 0 1px 2px rgba(22,33,28,.06), 0 1px 1px rgba(22,33,28,.04);
  --sh-2: 0 2px 6px rgba(22,33,28,.07), 0 1px 2px rgba(22,33,28,.05);
  --sh-3: 0 6px 18px rgba(22,33,28,.09), 0 2px 6px rgba(22,33,28,.05);
  --sh-4: 0 16px 44px rgba(22,33,28,.14), 0 4px 12px rgba(22,33,28,.07);

  /* layout */
  --wrap: 1240px;
  --wrap-narrow: 860px;
  --header-h: 72px;
  --ease: cubic-bezier(.4,.14,.3,1);

  /* fonts */
  --ff-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ff-head: "Jost", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* --- 2. Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-ink-2);
  background: var(--c-surface);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: var(--ff-head);
  color: var(--c-ink);
  line-height: 1.18;
  letter-spacing: -0.012em;
  margin: 0 0 var(--s-4);
  font-weight: 600;
}
h1 { font-size: var(--fs-4xl); }
h2 { font-size: var(--fs-3xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-md); }
p  { margin: 0 0 var(--s-4); }
a  { color: var(--c-brand-700); text-decoration: none; }
a:hover { color: var(--c-accent-600); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 var(--s-4); padding-left: 1.15em; }
li { margin-bottom: var(--s-1); }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--c-accent-bright); outline-offset: 2px; border-radius: var(--r-xs); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--c-ink); color: #fff; padding: var(--s-3) var(--s-5);
}
.skip:focus { left: var(--s-4); top: var(--s-4); }

/* --- 3. Layout helpers ------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--s-5); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.section { padding: var(--s-16) 0; }
.section--tight { padding: var(--s-12) 0; }
.section--alt { background: var(--c-surface-2); }
.section--dark { background: var(--c-dark); color: var(--c-on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--brand { background: var(--c-brand-050); }
.stack > * + * { margin-top: var(--s-4); }
.center { text-align: center; }

.sec-head { max-width: 760px; margin: 0 auto var(--s-10); text-align: center; }
.sec-head p { color: var(--c-ink-3); font-size: var(--fs-md); margin-bottom: 0; }
.eyebrow {
  display: inline-block; font-family: var(--ff-head); font-weight: 600;
  font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-brand-700); margin-bottom: var(--s-3);
}
.section--dark .eyebrow { color: var(--c-brand-200); }

/* --- 4. Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  font-family: var(--ff-head); font-weight: 600; font-size: var(--fs-base);
  padding: var(--s-3) var(--s-6); border-radius: var(--r-md);
  border: 1.5px solid transparent; cursor: pointer; text-align: center;
  transition: background .18s var(--ease), color .18s var(--ease),
              border-color .18s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-accent); color: #fff; box-shadow: var(--sh-2); }
.btn--primary:hover { background: var(--c-accent-600); color: #fff; }
.btn--brand { background: var(--c-brand-700); color: #fff; }
.btn--brand:hover { background: var(--c-brand-800); color: #fff; }
.btn--ghost { border-color: var(--c-line); color: var(--c-ink); background: #fff; }
.btn--ghost:hover { border-color: var(--c-brand); color: var(--c-brand-700); }
.btn--onimg { background: rgba(255,255,255,.94); color: var(--c-ink); border-color: rgba(22,33,28,.10); }
.btn--onimg:hover { background: #fff; color: var(--c-brand-700); }
.btn--ondark { border-color: rgba(255,255,255,.34); color: #fff; }
.btn--ondark:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn--sm { padding: var(--s-2) var(--s-4); font-size: var(--fs-sm); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.btn-row--center { justify-content: center; }

/* --- 5. Header + mega menu -------------------------------------------- */
.hdr {
  position: sticky; top: 0; z-index: 90; background: rgba(255,255,255,.97);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--c-line);
}
.hdr__bar {
  display: flex; align-items: center; gap: var(--s-6);
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: var(--s-3); flex: 0 0 auto; }
.brand img { height: 44px; width: auto; }
.brand__name {
  display: none; font-family: var(--ff-head); font-weight: 600;
  font-size: var(--fs-2xs); letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-ink-3); line-height: 1.3; max-width: 12ch;
  padding-left: var(--s-3); border-left: 1px solid var(--c-line);
}
.ftr__brand .brand__name { color: var(--c-on-dark-mute); border-left-color: rgba(255,255,255,.18); }
.nav { display: none; margin-left: auto; }
.nav > ul { display: flex; gap: var(--s-1); list-style: none; margin: 0; padding: 0; }
.nav > ul > li { position: static; margin: 0; }
.nav__link {
  display: flex; align-items: center; gap: var(--s-1);
  font-family: var(--ff-head); font-weight: 500; font-size: var(--fs-base);
  color: var(--c-ink); padding: var(--s-3) var(--s-4); border-radius: var(--r-sm);
  background: none; border: 0; cursor: pointer; font-feature-settings: inherit;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { background: var(--c-surface-3); color: var(--c-brand-700); }
.nav__link svg { width: 11px; height: 11px; opacity: .5; }
.hdr__cta { display: none; gap: var(--s-2); flex: 0 0 auto; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--c-line);
  box-shadow: var(--sh-4); padding: var(--s-5) 0 var(--s-4);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s;
  max-height: min(56vh, calc(100vh - var(--header-h) - 16px)); overflow-y: auto;
  overscroll-behavior: contain;
}
.mega[data-open="true"] { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-5) var(--s-6); }
.mega__col h4 {
  font-size: var(--fs-2xs); letter-spacing: .13em; text-transform: uppercase;
  color: var(--c-ink-3); margin-bottom: var(--s-2);
  padding-bottom: var(--s-1); border-bottom: 1px solid var(--c-line-2);
}
.mega__list { list-style: none; margin: 0; padding: 0; }
.mega__list a {
  display: flex; align-items: center; gap: var(--s-3);
  padding: 2px var(--s-2); border-radius: var(--r-sm); color: var(--c-ink-2);
  font-size: var(--fs-xs); line-height: 1.25;
}
.mega__list a:hover { background: var(--c-brand-050); color: var(--c-brand-800); }
.mega__list img {
  width: 26px; height: 26px; object-fit: contain; flex: 0 0 26px;
  background: var(--c-surface-2); border-radius: var(--r-xs); padding: 2px;
}
.mega__list .n { color: var(--c-ink-4); font-size: var(--fs-2xs); }
.mega__foot {
  display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center;
  margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--c-line-2);
  position: sticky; bottom: 0; background: #fff;
}

/* mobile drawer */
.burger {
  margin-left: auto; display: inline-flex; align-items: center; gap: var(--s-2);
  background: none; border: 1.5px solid var(--c-line); border-radius: var(--r-sm);
  padding: var(--s-2) var(--s-3); cursor: pointer; font: inherit; color: var(--c-ink);
}
.burger span { display: block; width: 17px; height: 2px; background: currentColor; position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 17px; height: 2px; background: currentColor;
}
.burger span::before { top: -5px; } .burger span::after { top: 5px; }
.drawer {
  position: fixed; inset: var(--header-h) 0 0; background: #fff; z-index: 80;
  overflow-y: auto; padding: var(--s-5) 0 var(--s-16);
  transform: translateX(100%); transition: transform .22s var(--ease);
}
.drawer[data-open="true"] { transform: none; }
.drawer h4 {
  font-size: var(--fs-2xs); letter-spacing: .13em; text-transform: uppercase;
  color: var(--c-ink-3); margin: var(--s-6) 0 var(--s-2);
}
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer a {
  display: flex; justify-content: space-between; gap: var(--s-3);
  padding: var(--s-3) 0; border-bottom: 1px solid var(--c-line-2); color: var(--c-ink-2);
}
.drawer .n { color: var(--c-ink-4); font-size: var(--fs-xs); }

/* --- 6. Hero carousel -------------------------------------------------- */
.hero { position: relative; background: var(--c-surface-3); overflow: hidden; isolation: isolate; }
.hero__track { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease);
  pointer-events: none;
}
.hero__slide[data-active="true"] { opacity: 1; pointer-events: auto; }
.hero__slide img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transform: scale(1.03);
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.86) 34%, rgba(255,255,255,.42) 62%, rgba(255,255,255,.20) 100%),
    linear-gradient(0deg, rgba(255,255,255,.55), rgba(255,255,255,.55));
}
.hero__inner {
  position: relative; z-index: 2; display: flex; align-items: center;
  min-height: 520px; padding: var(--s-12) 0 calc(var(--s-16) + var(--s-4));
}
.hero__copy { max-width: 640px; }
.hero__copy h1 {
  font-size: var(--fs-4xl); margin-bottom: var(--s-4);
  text-wrap: balance; color: var(--c-ink);
}
.hero__copy p {
  font-size: var(--fs-md); color: var(--c-ink-2); margin-bottom: var(--s-6);
  max-width: 54ch;
}
.hero__tag {
  display: inline-flex; align-items: center; gap: var(--s-2);
  background: rgba(255,255,255,.86); border: 1px solid var(--c-line);
  border-radius: var(--r-pill); padding: var(--s-2) var(--s-4);
  font-size: var(--fs-xs); font-weight: 600; color: var(--c-brand-800);
  margin-bottom: var(--s-5); backdrop-filter: blur(4px);
}
.hero__cap {
  position: absolute; left: 0; right: 0; bottom: calc(var(--s-6) + 14px); z-index: 3;
  color: var(--c-ink-3); font-size: var(--fs-2xs); text-align: center;
  padding: 0 var(--s-5); pointer-events: none;
}
.hero__dots {
  position: absolute; left: 0; right: 0; bottom: var(--s-6); z-index: 4;
  display: flex; gap: var(--s-2); justify-content: center;
}
.hero__dots button {
  width: 34px; height: 4px; border: 0; border-radius: var(--r-pill);
  background: rgba(22,33,28,.24); cursor: pointer; padding: 0;
  transition: background .2s var(--ease), width .2s var(--ease);
}
.hero__dots button[aria-current="true"] { background: var(--c-accent-bright); width: 52px; }
.hero__arrow {
  position: absolute; top: 50%; z-index: 4; transform: translateY(-50%);
  width: 42px; height: 42px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.9); border: 1px solid var(--c-line);
  display: none; align-items: center; justify-content: center; color: var(--c-ink);
  box-shadow: var(--sh-2);
}
.hero__arrow:hover { background: #fff; color: var(--c-brand-700); }
.hero__arrow--prev { left: var(--s-4); }
.hero__arrow--next { right: var(--s-4); }

/* --- 7. Value strip ---------------------------------------------------- */
.vgrid { display: grid; gap: var(--s-5); grid-template-columns: 1fr; }
.vcard {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: var(--s-6); box-shadow: var(--sh-1);
}
.vcard__ic {
  width: 40px; height: 40px; border-radius: var(--r-md);
  background: var(--c-brand-050); color: var(--c-brand-700);
  display: flex; align-items: center; justify-content: center; margin-bottom: var(--s-4);
}
.vcard__ic svg { width: 20px; height: 20px; }
.vcard h3 { font-size: var(--fs-md); margin-bottom: var(--s-2); }
.vcard p { font-size: var(--fs-sm); color: var(--c-ink-3); margin: 0; }

/* --- 8. Stats ---------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s-6) var(--s-4); }
.stat__n {
  font-family: var(--ff-head); font-weight: 700; font-size: var(--fs-4xl);
  color: var(--c-brand); line-height: 1;
}
.section--dark .stat__n { color: var(--c-brand-200); }
.stat__l { font-size: var(--fs-sm); color: var(--c-ink-3); margin-top: var(--s-2); }
.section--dark .stat__l { color: var(--c-on-dark-mute); }

/* --- 9. Category cards ------------------------------------------------- */
.cat-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, 1fr); }
.cat-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease), transform .18s var(--ease);
}
.cat-card:hover { border-color: var(--c-brand-200); box-shadow: var(--sh-3); transform: translateY(-2px); }
.cat-card__img {
  aspect-ratio: 4 / 3; background: var(--c-surface-2);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cat-card__img img { width: 100%; height: 100%; object-fit: contain; padding: var(--s-3); mix-blend-mode: multiply; }
.cat-card__body { padding: var(--s-4); border-top: 1px solid var(--c-line-2); }
.cat-card__body h3 { font-size: var(--fs-base); margin-bottom: var(--s-1); color: var(--c-ink); }
.cat-card__body .n { font-size: var(--fs-xs); color: var(--c-ink-4); }

/* --- 10. Product cards ------------------------------------------------- */
.p-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, 1fr); }
.p-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.p-card:hover { border-color: var(--c-brand-200); box-shadow: var(--sh-2); }
.p-card__img {
  aspect-ratio: 1 / 1; background: #fff; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.p-card__img img { width: 100%; height: 100%; object-fit: contain; padding: var(--s-4); mix-blend-mode: multiply; }
.p-card__noimg {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: var(--s-2); background: var(--c-surface-2);
  color: var(--c-ink-4); font-size: var(--fs-2xs); text-align: center; padding: var(--s-4);
}
.p-card__noimg svg { width: 26px; height: 26px; opacity: .5; }
.p-card__body { padding: var(--s-4); display: flex; flex-direction: column; flex: 1; border-top: 1px solid var(--c-line-2); }
.p-card__cat { font-size: var(--fs-2xs); text-transform: uppercase; letter-spacing: .09em; color: var(--c-brand-700); margin-bottom: var(--s-2); }
.p-card__name {
  font-family: var(--ff-head); font-weight: 500; font-size: var(--fs-sm); line-height: 1.4;
  color: var(--c-ink); margin: 0 0 var(--s-3); flex: 1;
}
.p-card__meta { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-2); }
.p-card__price { font-family: var(--ff-head); font-weight: 700; font-size: var(--fs-md); color: var(--c-ink); }
.p-card__model { font-size: var(--fs-2xs); color: var(--c-ink-4); font-variant-numeric: tabular-nums; }

/* --- 11. Product detail ------------------------------------------------ */
.pd { display: grid; gap: var(--s-8); grid-template-columns: 1fr; align-items: start; }
.pd__media {
  border: 1px solid var(--c-line); border-radius: var(--r-lg); background: #fff;
  padding: var(--s-5); position: relative;
}
.pd__media img { width: 100%; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.pd h1 { font-size: var(--fs-2xl); margin-bottom: var(--s-3); }
.pd__price {
  font-family: var(--ff-head); font-weight: 700; font-size: var(--fs-3xl);
  color: var(--c-ink); line-height: 1;
}
.pd__pricenote { font-size: var(--fs-xs); color: var(--c-ink-4); margin-top: var(--s-2); }
.pd__badges { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-bottom: var(--s-4); }
.badge {
  display: inline-flex; align-items: center; gap: var(--s-1);
  font-size: var(--fs-2xs); font-weight: 600; letter-spacing: .04em;
  padding: var(--s-1) var(--s-3); border-radius: var(--r-pill);
  background: var(--c-brand-050); color: var(--c-brand-800);
}
.badge--info { background: var(--c-info-050); color: var(--c-info); }
.badge--accent { background: var(--c-accent-050); color: var(--c-accent-700); }

.spec { border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; }
.spec tr + tr { border-top: 1px solid var(--c-line-2); }
.spec th, .spec td { text-align: left; padding: var(--s-3) var(--s-4); font-size: var(--fs-sm); vertical-align: top; }
.spec th { width: 42%; color: var(--c-ink-3); font-weight: 500; background: var(--c-surface-2); }
.spec td { color: var(--c-ink); font-weight: 500; }

.prose { font-size: var(--fs-base); color: var(--c-ink-2); }
.prose ul { padding-left: 0; list-style: none; }
.prose ul li { position: relative; padding-left: var(--s-5); margin-bottom: var(--s-2); }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--c-brand);
}

/* --- 12. Breadcrumb ---------------------------------------------------- */
.crumb { padding: var(--s-4) 0; border-bottom: 1px solid var(--c-line-2); background: var(--c-surface-2); }
.crumb ol { display: flex; flex-wrap: wrap; gap: var(--s-2); list-style: none; margin: 0; padding: 0; font-size: var(--fs-xs); }
.crumb li { color: var(--c-ink-4); margin: 0; }
.crumb li + li::before { content: "/"; margin-right: var(--s-2); color: var(--c-line); }
.crumb a { color: var(--c-ink-3); }
.crumb a:hover { color: var(--c-brand-700); }

/* --- 13. Category hero ------------------------------------------------- */
.chero { background: var(--c-surface-2); border-bottom: 1px solid var(--c-line); }
.chero__grid { display: grid; gap: var(--s-6); grid-template-columns: 1fr; align-items: center; padding: var(--s-10) 0; }
.chero__img {
  border-radius: var(--r-lg); overflow: hidden; background: #fff;
  border: 1px solid var(--c-line); aspect-ratio: 16 / 10;
  display: flex; align-items: center; justify-content: center;
}
.chero__img img { width: 100%; height: 100%; object-fit: contain; padding: var(--s-5); mix-blend-mode: multiply; }

/* --- 14. Filters (all-products page) ----------------------------------- */
.filters {
  position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--c-line);
  padding: var(--s-4) 0;
}
.filters__row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.field {
  display: flex; align-items: center; gap: var(--s-2);
  border: 1.5px solid var(--c-line); border-radius: var(--r-md);
  padding: var(--s-2) var(--s-3); background: #fff; flex: 1 1 220px;
}
.field:focus-within { border-color: var(--c-brand); }
.field svg { width: 15px; height: 15px; color: var(--c-ink-4); flex: 0 0 auto; }
.field input, .field select {
  border: 0; outline: 0; font: inherit; font-size: var(--fs-sm);
  color: var(--c-ink); background: none; width: 100%; min-width: 0;
}
.chips { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.chip {
  font-size: var(--fs-xs); font-weight: 500; padding: var(--s-1) var(--s-3);
  border-radius: var(--r-pill); border: 1px solid var(--c-line);
  background: #fff; color: var(--c-ink-2); cursor: pointer;
}
.chip[aria-pressed="true"] { background: var(--c-brand-700); border-color: var(--c-brand-700); color: #fff; }
.count { font-size: var(--fs-sm); color: var(--c-ink-3); }

/* --- 15. FAQ ----------------------------------------------------------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--c-line); border-radius: var(--r-md);
  background: #fff; margin-bottom: var(--s-3); overflow: hidden;
}
.faq details[open] { border-color: var(--c-brand-200); }
.faq summary {
  cursor: pointer; list-style: none; padding: var(--s-4) var(--s-5);
  font-family: var(--ff-head); font-weight: 500; font-size: var(--fs-base); color: var(--c-ink);
  display: flex; justify-content: space-between; gap: var(--s-4); align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 9px; width: 9px; height: 9px;
  border-right: 2px solid var(--c-ink-4); border-bottom: 2px solid var(--c-ink-4);
  transform: rotate(45deg); transition: transform .2s var(--ease); margin-top: -4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 2px; }
.faq .faq__a { padding: 0 var(--s-5) var(--s-5); font-size: var(--fs-sm); color: var(--c-ink-3); }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* --- 16. CTA band ------------------------------------------------------ */
.cta-band {
  background: linear-gradient(135deg, var(--c-dark) 0%, #24352b 60%, #2f4527 100%);
  color: var(--c-on-dark); border-radius: var(--r-xl); padding: var(--s-10) var(--s-6);
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: var(--s-3); }
.cta-band p { color: var(--c-on-dark-mute); max-width: 56ch; margin: 0 auto var(--s-6); }

/* --- 17. Footer -------------------------------------------------------- */
.ftr { background: var(--c-dark); color: var(--c-on-dark-mute); padding: var(--s-16) 0 var(--s-8); font-size: var(--fs-sm); }
.ftr__grid { display: grid; gap: var(--s-8); grid-template-columns: 1fr; }
.ftr h4 {
  color: #fff; font-size: var(--fs-2xs); letter-spacing: .13em;
  text-transform: uppercase; margin-bottom: var(--s-4);
}
.ftr ul { list-style: none; margin: 0; padding: 0; }
.ftr li { margin-bottom: var(--s-2); }
.ftr a { color: var(--c-on-dark-mute); }
.ftr a:hover { color: #fff; }
.ftr__brand img { height: 42px; width: auto; margin-bottom: var(--s-4); }
.ftr__legal {
  margin-top: var(--s-10); padding-top: var(--s-5);
  border-top: 1px solid rgba(255,255,255,.10); font-size: var(--fs-xs);
  display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: space-between;
}
.ftr__cols { display: grid; gap: var(--s-6) var(--s-5); grid-template-columns: repeat(2, 1fr); }

/* --- 18. Floating contact --------------------------------------------- */
.floaty {
  position: fixed; right: var(--s-4); bottom: var(--s-4); z-index: 70;
  display: flex; flex-direction: column; gap: var(--s-2);
}
.floaty a {
  width: 48px; height: 48px; border-radius: 50%; display: flex;
  align-items: center; justify-content: center; box-shadow: var(--sh-3);
  color: #fff; transition: transform .16s var(--ease);
}
.floaty a:hover { transform: scale(1.06); color: #fff; }
.floaty a svg { width: 24px; height: 24px; }
.floaty__wa { background: #25d366; }
.floaty__mail { background: var(--c-ink); }

/* --- 19. Misc ---------------------------------------------------------- */
.note {
  border-left: 3px solid var(--c-brand); background: var(--c-brand-050);
  padding: var(--s-4) var(--s-5); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-size: var(--fs-sm); color: var(--c-ink-2);
}
.rail { display: grid; gap: var(--s-4); grid-template-columns: repeat(2, 1fr); }
.hr { height: 1px; background: var(--c-line-2); border: 0; margin: var(--s-12) 0; }
.tagline {
  font-family: var(--ff-head); font-size: var(--fs-2xs); letter-spacing: .1em;
  text-transform: uppercase; color: var(--c-ink-4); display: none;
}
.pagenote { font-size: var(--fs-xs); color: var(--c-ink-4); }
[hidden] { display: none !important; }

/* ==========================================================================
   Responsive — 360 / 480 / 640 / 768 / 900 / 1024 / 1200 / 1440
   ========================================================================== */
@media (min-width: 360px) {
  .floaty a { width: 50px; height: 50px; }
}
@media (min-width: 480px) {
  .p-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { min-height: 560px; }
  .btn { font-size: var(--fs-md); }
}
@media (min-width: 640px) {
  :root { --fs-4xl: 2.5rem; }
  .wrap { padding: 0 var(--s-6); }
  .vgrid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .p-grid { grid-template-columns: repeat(3, 1fr); }
  .rail { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .ftr__cols { grid-template-columns: repeat(3, 1fr); }
  .hero__copy h1 { font-size: var(--fs-5xl); }
  .tagline { display: block; }
}
@media (min-width: 768px) {
  .hero__cap {
    left: auto; right: var(--s-6); bottom: var(--s-10); text-align: right;
    max-width: 300px; padding: var(--s-2) var(--s-3);
    background: rgba(255,255,255,.82); border-radius: var(--r-sm);
    backdrop-filter: blur(4px); color: var(--c-ink-2);
  }
  .section { padding: var(--s-20) 0; }
  .pd { grid-template-columns: 1fr 1fr; gap: var(--s-10); }
  .chero__grid { grid-template-columns: 1.15fr .85fr; padding: var(--s-12) 0; }
  .cta-band { padding: var(--s-16) var(--s-10); }
  .hero__arrow { display: flex; }
  .mega__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .p-grid { grid-template-columns: repeat(4, 1fr); }
  .rail { grid-template-columns: repeat(4, 1fr); }
  .vgrid { grid-template-columns: repeat(4, 1fr); }
  .ftr__grid { grid-template-columns: 1.1fr 2fr; gap: var(--s-16); }
}
@media (min-width: 1024px) {
  :root { --header-h: 80px; --fs-4xl: 2.75rem; }
  .nav { display: block; }
  .burger, .drawer { display: none; }
  .hdr__cta { display: flex; }
  .brand img { height: 46px; }
  .brand__name { display: block; }
  .hero__inner { min-height: 620px; }
  .hero__copy h1 { font-size: var(--fs-6xl); }
  .hero__copy p { font-size: var(--fs-lg); }
  .mega__grid { grid-template-columns: repeat(4, 1fr); }
  .section--tight { padding: var(--s-16) 0; }
}
@media (min-width: 1200px) {
  .mega__grid { grid-template-columns: repeat(5, 1fr); }
  .cat-grid { grid-template-columns: repeat(5, 1fr); }
  .p-grid { grid-template-columns: repeat(5, 1fr); }
  .rail { grid-template-columns: repeat(5, 1fr); }
  .hero__scrim {
    background:
      linear-gradient(100deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 30%, rgba(255,255,255,.34) 58%, rgba(255,255,255,.12) 100%),
      linear-gradient(0deg, rgba(255,255,255,.42), rgba(255,255,255,.42));
  }
}
@media (min-width: 1440px) {
  :root { --wrap: 1320px; }
  .hero__inner { min-height: 660px; }
}
@media (max-width: 1023px) {
  .brand img { height: 38px; }
  .brand__name { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero__slide { transition: none; }
}
@media print {
  .hdr, .floaty, .hero__dots, .hero__arrow, .filters, .drawer { display: none !important; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}

/* --- 20. Weight normalisation (only 400/500/600 Inter + 600/700 Jost ship) --- */
strong, b { font-weight: 600; }
.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;
}

/* --- 21. Small utilities (token-only, no magic numbers) ---------------- */
.u-mt-4 { margin-top: var(--s-4); }
.u-mt-6 { margin-top: var(--s-6); }
.u-mt-8 { margin-top: var(--s-8); }
.u-mb-3 { margin-bottom: var(--s-3); }
.u-my-6 { margin: var(--s-6) 0; }
.u-my-8 { margin: var(--s-8) 0; }
.u-m0   { margin: 0; }
.u-fs-xl { font-size: var(--fs-xl); }
.u-lead  { color: var(--c-ink-3); max-width: 56ch; }
.u-lead-wide { color: var(--c-ink-3); max-width: 62ch; }
.u-lead-md { color: var(--c-ink-3); font-size: var(--fs-md); }
.u-split {
  display: flex; flex-wrap: wrap; gap: var(--s-3);
  align-items: baseline; justify-content: space-between;
}
.u-split--5 { margin-bottom: var(--s-5); }
.u-split--6 { margin-bottom: var(--s-6); }
.u-center { justify-content: center; }
.u-field-cat { flex: 0 1 260px; }
.u-noimg-lg { aspect-ratio: 4 / 3; }
