/* ==========================================================================
   SK General Company For Trading — design system
   Palette sampled from the corporate logo: red #E6202B, charcoal #272425
   ========================================================================== */

:root {
  --red:         #e6202b;
  --red-bright:  #ff3341;
  --red-deep:    #b4131d;
  --red-tint:    rgba(230, 32, 43, 0.08);

  --ink:         #272425;
  --ink-2:       #3a3638;
  --ink-3:       #6b6567;
  --ink-4:       #9b9598;

  --paper:       #ffffff;
  --cream:       #faf7f4;
  --sand:        #f1ece6;
  --line:        #e6e0da;

  --font-display: 'Playfair Display', 'Times New Roman', serif;
  --font-body:    'Jost', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 1px 2px rgba(39, 36, 37, 0.06), 0 2px 8px rgba(39, 36, 37, 0.04);
  --shadow-md: 0 4px 12px rgba(39, 36, 37, 0.08), 0 12px 32px rgba(39, 36, 37, 0.07);
  --shadow-lg: 0 18px 50px rgba(39, 36, 37, 0.14);

  --radius:    14px;
  --radius-sm: 8px;
  --maxw:      1200px;
  --nav-h:     74px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink-2);
  background: var(--paper);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }

/* class-level `display` beats the UA [hidden] rule — force it back */
[hidden] { display: none !important; }

::selection { background: var(--red); color: #fff; }

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

/* ---------- layout helpers ---------- */
.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.center { text-align: center; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 700; line-height: 1.12; letter-spacing: -0.015em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--red); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--red); }
.eyebrow--center::after { content: ''; width: 26px; height: 2px; background: var(--red); }

.h-sec { font-size: clamp(1.85rem, 4.2vw, 3rem); }
.lead  { font-size: clamp(1rem, 2.1vw, 1.1rem); color: var(--ink-3); max-width: 62ch; font-weight: 300; }
.lead--center { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 22px rgba(230, 32, 43, 0.28); }
.btn--primary:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(230, 32, 43, 0.34); }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, 0.28); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }
.btn--outline { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* ==========================================================================
   Top utility bar — company credentials always in view
   ========================================================================== */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.74rem; letter-spacing: 0.06em;
}
.topbar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.35rem 1.5rem; padding: 0.55rem 0; }
.topbar__group { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 1.4rem; }
.topbar__item { display: inline-flex; align-items: center; gap: 0.45rem; }
.topbar__item svg { width: 13px; height: 13px; color: var(--red-bright); flex: none; }
.topbar__item b { color: #fff; font-weight: 500; }
.topbar__ar { font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.nav.is-stuck { box-shadow: var(--shadow-sm); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; height: var(--nav-h); }

.brand { display: flex; align-items: center; gap: 0.8rem; flex: none; }
.brand img { width: 40px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-display); font-weight: 900; font-size: 1.02rem; color: var(--ink); letter-spacing: -0.01em; }
.brand__name span { color: var(--red); }
.brand__sub { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-4); }

.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a {
  position: relative; font-size: 0.86rem; font-weight: 400; color: var(--ink-2);
  padding: 0.25rem 0; transition: color 0.2s ease;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: right;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { display: flex; align-items: center; gap: 0.75rem; }
.nav__cta .btn { padding: 0.68rem 1.35rem; font-size: 0.74rem; }

.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--line); }
.nav__toggle span { display: block; width: 19px; height: 1.6px; background: var(--ink); position: relative; transition: background 0.2s ease; }
.nav__toggle span::before, .nav__toggle span::after {
  content: ''; position: absolute; left: 0; width: 19px; height: 1.6px; background: var(--ink);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), top 0.22s ease;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 7vw, 5rem);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 12% 12%, rgba(230, 32, 43, 0.30) 0%, transparent 60%),
    radial-gradient(ellipse 70% 60% at 92% 88%, rgba(230, 32, 43, 0.16) 0%, transparent 62%),
    linear-gradient(160deg, #2f2b2c 0%, #1b1819 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}
.hero > * { position: relative; z-index: 2; }

.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }

.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 1.06;
  margin-bottom: 1.3rem;
}
.hero h1 em { font-style: normal; color: var(--red-bright); }
.hero__ar { font-size: clamp(1rem, 2.4vw, 1.35rem); color: rgba(255, 255, 255, 0.5); margin-bottom: 0.9rem; direction: rtl; font-weight: 300; }
.hero__lead { color: rgba(255, 255, 255, 0.72); font-weight: 300; font-size: clamp(0.98rem, 2vw, 1.12rem); max-width: 54ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.6rem; }

.hero__stats { display: flex; flex-wrap: wrap; gap: 1.6rem 2.6rem; padding-top: 1.8rem; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.hero__stat b { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2rem); color: #fff; line-height: 1; }
.hero__stat span { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }

/* hero emblem panel */
.hero__panel {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  padding: clamp(1.8rem, 4vw, 2.6rem);
  backdrop-filter: blur(6px);
  text-align: center;
}
.hero__panel::before {
  content: ''; position: absolute; inset: -1px; border-radius: 20px; pointer-events: none;
  background: linear-gradient(140deg, rgba(230, 32, 43, 0.55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
}
.hero__panel img { width: clamp(88px, 16vw, 128px); margin: 0 auto 1.3rem; }
.hero__panel h2 { color: #fff; font-size: clamp(1.15rem, 2.6vw, 1.5rem); margin-bottom: 0.35rem; }
.hero__panel .ar { direction: rtl; color: rgba(255, 255, 255, 0.55); font-size: 0.95rem; margin-bottom: 1.4rem; }
.hero__panel dl { display: grid; gap: 0.75rem; text-align: left; }
.hero__panel dl > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding: 0.6rem 0.9rem; border-radius: 10px; background: rgba(255, 255, 255, 0.05);
}
.hero__panel dt { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }
.hero__panel dd { font-size: 0.92rem; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

/* marquee strip */
.strip { background: var(--red); color: #fff; overflow: hidden; }
.strip__track { display: flex; gap: 3rem; padding: 0.8rem 0; white-space: nowrap; animation: marquee 34s linear infinite; width: max-content; }
.strip__track span { font-size: 0.74rem; letter-spacing: 0.24em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 3rem; }
.strip__track span::after { content: '◆'; font-size: 0.5rem; opacity: 0.7; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip__track { animation: none; } }

/* ==========================================================================
   Business / company information block
   ========================================================================== */
.bizinfo { background: var(--cream); border-block: 1px solid var(--line); }

.bizcard {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.bizcard__head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem;
  padding: clamp(1.5rem, 3.5vw, 2.2rem);
  background: linear-gradient(135deg, var(--ink) 0%, #35302f 100%);
  color: #fff;
  position: relative; overflow: hidden;
}
.bizcard__head::after {
  content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 32, 43, 0.35), transparent 65%);
}
.bizcard__head > * { position: relative; z-index: 1; }
.bizcard__title h3 { color: #fff; font-size: clamp(1.25rem, 3vw, 1.75rem); margin-bottom: 0.2rem; }
.bizcard__title p { direction: rtl; color: rgba(255, 255, 255, 0.6); font-size: 0.98rem; }
.bizcard__seal {
  display: inline-flex; align-items: center; gap: 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px;
  padding: 0.5rem 1.1rem; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.bizcard__seal svg { width: 15px; height: 15px; color: var(--red-bright); }

.bizgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.bizgrid__item { padding: clamp(1.4rem, 3vw, 2rem); border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
.bizgrid__item:last-child { border-right: none; }
.bizgrid__item .ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--red-tint); color: var(--red); margin-bottom: 1rem;
}
.bizgrid__item .ico svg { width: 20px; height: 20px; }
.bizgrid__item dt { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-4); margin-bottom: 0.4rem; }
.bizgrid__item dd { font-size: 1.05rem; color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
.bizgrid__item dd small { display: block; font-size: 0.85rem; font-weight: 300; color: var(--ink-3); letter-spacing: 0; margin-top: 0.25rem; line-height: 1.5; }

/* ==========================================================================
   Category cards
   ========================================================================== */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.cat {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.5rem;
  background: var(--paper);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.cat::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
  background: var(--red); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.cat:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.cat:hover::after { transform: scaleX(1); }
.cat__n { font-family: var(--font-display); font-size: 0.85rem; color: var(--red); letter-spacing: 0.1em; }
.cat h3 { font-size: 1.22rem; margin: 0.5rem 0 0.4rem; }
.cat p { font-size: 0.88rem; color: var(--ink-3); font-weight: 300; }
.cat__link { margin-top: 1.1rem; display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.cat__link svg { width: 14px; height: 14px; transition: transform 0.25s ease; }
.cat:hover .cat__link svg { transform: translateX(4px); }

/* ==========================================================================
   Product grid + cards (shared by home & catalog)
   ========================================================================== */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: clamp(1rem, 2.2vw, 1.6rem); }
@media (min-width: 1000px) { .pgrid--featured { grid-template-columns: repeat(4, 1fr); } }
/* tablets fit a denser grid comfortably */
@media (min-width: 561px) and (max-width: 999px) {
  .pgrid { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); }
}

.pcard {
  position: relative; display: flex; flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  animation: cardIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .pcard { animation: none; } }

.pcard__media {
  /* the product photography is shot on white — keep the panel white so the
     packshots blend instead of sitting in a visible box */
  position: relative; aspect-ratio: 1 / 1; background: var(--paper);
  display: grid; place-items: center; padding: 1.1rem; overflow: hidden;
}
.pcard__media img {
  width: 100%; height: 100%; object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
  opacity: 0;
}
.pcard__media img.is-loaded { opacity: 1; }
.pcard:hover .pcard__media img { transform: scale(1.06); }

.pcard__badge {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 2;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px; padding: 0.22rem 0.65rem;
  font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase;
}
.pcard__variant {
  position: absolute; bottom: 0.75rem; right: 0.75rem; z-index: 2;
  background: var(--red); color: #fff;
  border-radius: 999px; padding: 0.22rem 0.65rem;
  font-size: 0.6rem; letter-spacing: 0.14em; text-transform: uppercase;
}

.pcard__body { padding: 1.05rem 1.1rem 1.25rem; border-top: 1px solid var(--line); flex: 1; display: flex; flex-direction: column; }
.pcard__cat { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--red); margin-bottom: 0.35rem; }
.pcard__name { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); line-height: 1.25; margin-bottom: 0.7rem; }
.pcard__packs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: auto; }
.pcard__packs li {
  font-size: 0.7rem; color: var(--ink-3); background: var(--cream);
  border: 1px solid var(--line); border-radius: 6px; padding: 0.2rem 0.5rem;
  font-variant-numeric: tabular-nums;
}

/* skeleton placeholders while the next page loads */
.skel { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.skel__media { aspect-ratio: 1 / 1; }
.skel__line { height: 11px; border-radius: 4px; margin: 0.6rem 1.1rem; }
.skel__media, .skel__line {
  background: linear-gradient(100deg, var(--sand) 20%, #f8f5f2 40%, var(--sand) 60%);
  background-size: 220% 100%;
  animation: shimmer 1.3s linear infinite;
}
.skel__line:first-of-type { margin-top: 1.1rem; width: 45%; }
.skel__line:last-of-type { width: 70%; margin-bottom: 1.5rem; }
@keyframes shimmer { from { background-position: 180% 0; } to { background-position: -40% 0; } }

/* ==========================================================================
   Catalog page toolbar
   ========================================================================== */
.pagehead { background: var(--ink); color: #fff; position: relative; overflow: hidden; padding: clamp(2.6rem, 6vw, 4.2rem) 0; }
.pagehead::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 88% 20%, rgba(230, 32, 43, 0.28) 0%, transparent 62%),
    linear-gradient(160deg, #302b2c 0%, #1b1819 100%);
}
.pagehead > * { position: relative; z-index: 1; }
.pagehead h1 { color: #fff; font-size: clamp(2rem, 5.2vw, 3.2rem); margin-bottom: 0.7rem; }
.pagehead p { color: rgba(255, 255, 255, 0.65); font-weight: 300; max-width: 60ch; }
.crumbs { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); margin-bottom: 1rem; }
.crumbs a:hover { color: #fff; }

.toolbar {
  position: sticky; top: var(--nav-h); z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
}
.toolbar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; justify-content: space-between; }

.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search svg.search__ico { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--ink-4); pointer-events: none; }
.search input {
  width: 100%; font: inherit; font-size: 0.92rem; color: var(--ink);
  padding: 0.75rem 2.6rem 0.75rem 2.8rem;
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search input::placeholder { color: var(--ink-4); }
.search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px var(--red-tint); }
.search__clear {
  position: absolute; right: 0.6rem; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: none; place-items: center;
  color: var(--ink-3); background: var(--sand);
}
.search__clear svg { width: 13px; height: 13px; }
.search__clear.is-on { display: grid; }
.search__clear:hover { background: var(--red); color: #fff; }

.filters { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip {
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 0.5rem 1rem; font-size: 0.76rem; letter-spacing: 0.06em; color: var(--ink-2);
  transition: all 0.22s ease; white-space: nowrap;
}
.chip:hover { border-color: var(--ink-4); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip b { font-weight: 400; opacity: 0.55; margin-left: 0.3rem; font-size: 0.7rem; }

.resultbar { display: flex; flex-wrap: wrap; gap: 0.6rem 1rem; align-items: baseline; justify-content: space-between; margin-bottom: 1.6rem; }
.resultbar p { font-size: 0.86rem; color: var(--ink-3); }
.resultbar strong { color: var(--ink); font-weight: 500; }

.empty { text-align: center; padding: clamp(3rem, 8vw, 5rem) 1rem; }
.empty svg { width: 42px; height: 42px; color: var(--ink-4); margin: 0 auto 1.2rem; }
.empty h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.empty p { color: var(--ink-3); font-size: 0.92rem; margin-bottom: 1.4rem; }

.sentinel { height: 1px; }
.loadmore { display: flex; justify-content: center; padding: 2.5rem 0 0; }

/* ==========================================================================
   Why-us / value props
   ========================================================================== */
.props { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: clamp(1rem, 2.5vw, 1.8rem); }
.prop { padding: 1.8rem 1.6rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.prop:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prop .ico { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 1.1rem; }
.prop .ico svg { width: 21px; height: 21px; }
.prop h3 { font-size: 1.12rem; margin-bottom: 0.5rem; }
.prop p { font-size: 0.9rem; color: var(--ink-3); font-weight: 300; }

/* ==========================================================================
   Contact / CTA
   ========================================================================== */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cta::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 15% 80%, rgba(230, 32, 43, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 85% 15%, rgba(230, 32, 43, 0.18) 0%, transparent 60%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta .lead { color: rgba(255, 255, 255, 0.68); }

.contactgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; margin-top: 2.6rem; }
.contactcard {
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05); padding: 1.5rem; text-align: left;
}
.contactcard .ico { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--red); color: #fff; margin-bottom: 1rem; }
.contactcard .ico svg { width: 18px; height: 18px; }
.contactcard h3 { color: #fff; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-family: var(--font-body); font-weight: 500; margin-bottom: 0.45rem; }
.contactcard p { color: rgba(255, 255, 255, 0.72); font-size: 0.95rem; font-weight: 300; line-height: 1.6; }
.contactcard p b { font-weight: 500; color: #fff; font-variant-numeric: tabular-nums; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: #1b1819; color: rgba(255, 255, 255, 0.6); padding: clamp(2.8rem, 6vw, 4rem) 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 2.8rem; }
.footer .brand__name { color: #fff; }
.footer .brand__sub { color: rgba(255, 255, 255, 0.4); }
.footer__about { margin-top: 1.1rem; font-size: 0.88rem; font-weight: 300; line-height: 1.7; max-width: 40ch; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; margin-bottom: 1.1rem; }
.footer li + li { margin-top: 0.55rem; }
.footer a:hover { color: #fff; }
.footer__list { font-size: 0.88rem; font-weight: 300; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 1.3rem 0; display: flex; flex-wrap: wrap; gap: 0.5rem 1.6rem; justify-content: space-between; font-size: 0.76rem; }
.footer__legal span { color: rgba(255, 255, 255, 0.4); }
.footer__legal b { color: rgba(255, 255, 255, 0.72); font-weight: 400; font-variant-numeric: tabular-nums; }

/* back to top */
.totop {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 80;
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); color: #fff; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.totop.is-on { opacity: 1; visibility: visible; transform: translateY(0); }
.totop svg { width: 18px; height: 18px; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__panel { max-width: 520px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 860px) {
  :root { --nav-h: 66px; }
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0; overflow: hidden; transition: max-height 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .nav__links.is-open { max-height: 380px; }
  .nav__links a { padding: 0.95rem 1.25rem; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
  .nav__links a::after { display: none; }
  .nav__cta .btn { display: none; }
  .topbar__inner { justify-content: center; text-align: center; }
  .toolbar { position: static; }
  .bizgrid__item { border-right: none; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 1.75rem, var(--maxw)); }
  .pgrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 0.85rem; }
  .pcard__body { padding: 0.85rem 0.85rem 1rem; }
  .pcard__name { font-size: 0.95rem; }
  .pcard__media { padding: 0.75rem; }
  .hero__stats { gap: 1.2rem 1.8rem; }
  .btn { padding: 0.78rem 1.35rem; font-size: 0.75rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; }
  .topbar { font-size: 0.68rem; }
  .filters { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.25rem; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .pcard__badge, .pcard__variant { font-size: 0.54rem; padding: 0.18rem 0.5rem; top: 0.5rem; }
  .pcard__variant { top: auto; bottom: 0.5rem; right: 0.5rem; }
  .pcard__badge { left: 0.5rem; }
  .distline { padding: 0.8rem 1.2rem; letter-spacing: 0.1em; }
  .distline .sep { display: none; }
}

@media (max-width: 380px) {
  .pgrid { grid-template-columns: 1fr 1fr; }
  .brand__name { font-size: 0.92rem; }
}

@media print {
  .nav, .toolbar, .totop, .strip, .cta { display: none; }
  body { color: #000; }
}

/* ==========================================================================
   Distribution line (as printed on the catalogue)
   ========================================================================== */
.distline {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 0.4rem 0.9rem; text-align: center;
  background: var(--red); color: #fff;
  border-radius: 999px;
  padding: 0.8rem 1.8rem;
  font-size: clamp(0.62rem, 1.7vw, 0.76rem);
  font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
}
.distline em { font-family: var(--font-display); font-style: italic; font-weight: 700; letter-spacing: 0.04em; text-transform: none; font-size: 1.1em; }
.distline .sep { opacity: 0.55; }
.distline--flat { border-radius: var(--radius); }
