@import url("https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700;9..40,800&family=JetBrains+Mono:wght@400;500;600&display=swap");

/* =================================================================
   COASTAL PAPER SUPPLY — stylesheet
   A light navy, teal, and orange brand system matched to the supplied logo.
   The token block below mirrors Green Deck's variable architecture
   (--space-*, --radius-*, --type-*, motion) so it stays swappable.
   Brand colors are centralized in :root for consistent updates.
   ================================================================= */

/* ----------------------------------------------------------------
   1. DESIGN TOKENS  — swap these for your own brand values
   ---------------------------------------------------------------- */
:root {
  /* --- Brand palette sampled from the supplied Coastal Paper Supply logo --- */
  --navy-900: #002858;   /* deepest navy — headings, dark sections, footer */
  --navy-800: #00346e;
  --navy-700: #004584;
  --navy-600: #0b5e9a;
  --navy-100: #e8f0f8;   /* light navy tint */

  --teal-800: #006777;
  --teal-700: #007b8f;   /* accessible teal for buttons with white text */
  --teal-600: #008fa2;
  --teal-500: #00a0b4;
  --teal-100: #e0f5f7;

  --orange-600: #c45100; /* accessible orange for text and hover details */
  --orange-500: #f47a1f; /* bright logo orange for decorative accents */
  --orange-100: #fff0e5;

  --paper-0:   #ffffff;
  --paper-50:  #f7f9fc;  /* clean light-gray page background */
  --paper-100: #edf2f7;  /* raised / hover surface */
  --paper-200: #dce5ee;  /* hairline borders */
  --paper-300: #c6d2df;

  --ink-900: #10233d;    /* primary text */
  --ink-600: #42526a;    /* secondary text */
  --ink-400: #6b7a90;    /* muted text */

  --status-success: #16835a;
  --status-warning: #a86200;
  --status-error:   #c33d3d;

  --sage: #79d6de;       /* light teal accent on navy backgrounds */

  /* --- Semantic aliases (use these everywhere) --- */
  --color-primary: var(--teal-700);
  --color-primary-hover: var(--teal-800);
  --color-secondary: var(--navy-700);
  --color-secondary-hover: var(--navy-800);

  --bg-app: var(--paper-50);
  --surface-card: var(--paper-0);
  --surface-raised: var(--paper-100);
  --surface-tint: var(--teal-100);
  --surface-ink: var(--navy-900);

  --text-primary: var(--ink-900);
  --text-secondary: var(--ink-600);
  --text-muted: var(--ink-400);
  --text-on-primary: #ffffff;
  --text-on-ink: #eaf1f9;

  --border-subtle: var(--paper-200);
  --border-control: var(--paper-300);
  --accent: var(--orange-500);

  /* --- Typography (Green Deck scale) --- */
  --font-display: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-heavy: 800;

  --type-hero-size: clamp(2.5rem, 5.2vw, 4.25rem);
  --type-page-size: clamp(2rem, 4vw, 3rem);
  --type-section-size: clamp(1.6rem, 2.6vw, 2.1rem);
  --type-card-size: 1.0625rem;
  --type-label-track: 0.12em;
  --line-base: 1.6;

  /* --- Spacing (8px grid) --- */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --gap-grid: 24px;
  --gap-section: clamp(56px, 8vw, 104px);
  --container-max: 1240px;
  --container-pad: clamp(20px, 5vw, 56px);

  /* --- Radius --- */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 9999px;

  /* --- Elevation (soft, light-surface shadows) --- */
  --shadow-sm: 0 1px 2px rgba(0, 40, 88, 0.07), 0 1px 3px rgba(0, 40, 88, 0.05);
  --shadow-md: 0 6px 18px rgba(0, 40, 88, 0.10), 0 2px 6px rgba(0, 40, 88, 0.06);
  --shadow-lg: 0 22px 48px rgba(0, 40, 88, 0.16), 0 8px 18px rgba(0, 40, 88, 0.09);
  --shadow-cta: 0 10px 22px rgba(0, 123, 143, 0.28);

  /* --- Motion --- */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --duration-fast: 120ms;
  --duration-base: 220ms;
  --hover-scale: 1.03;
}

/* ----------------------------------------------------------------
   2. RESET & BASE
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: var(--line-base);
  color: var(--text-primary);
  background: var(--bg-app);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; color: var(--ink-900); text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 3px solid var(--orange-500);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy-900); color: #fff; padding: 12px 18px;
  border-radius: 0 0 var(--radius-sm) 0; font-weight: var(--weight-bold);
}
.skip-link:focus { left: 0; }

/* ----------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   ---------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}
.container--wide { max-width: 1400px; }
.section { padding-block: var(--gap-section); }
.section--tint { background: var(--surface-raised); }
.section--navy { background: var(--surface-ink); color: var(--text-on-ink); }
.section--navy h2, .section--navy h3 { color: #fff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem; font-weight: var(--weight-semibold);
  letter-spacing: var(--type-label-track); text-transform: uppercase;
  color: var(--orange-600);
}
.section--navy .eyebrow { color: var(--sage); }
.eyebrow::before {
  content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
}

.section-head { max-width: 720px; margin-bottom: var(--space-7); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow::before { display: none; }
h2.section-title { font-size: var(--type-section-size); font-weight: var(--weight-heavy); letter-spacing: -0.02em; margin-top: var(--space-3); }
.section-head p { margin-top: var(--space-4); color: var(--text-secondary); font-size: 1.125rem; }
.section--navy .section-head p { color: var(--text-on-ink); opacity: 0.82; }

.lede { font-size: 1.2rem; color: var(--text-secondary); }

/* ----------------------------------------------------------------
   4. BUTTONS  (Green Deck pill buttons + scale-on-hover)
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: var(--weight-bold); font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--radius-pill);
  border: 2px solid transparent; cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-standard),
              background var(--duration-base) var(--ease-standard),
              box-shadow var(--duration-base) var(--ease-standard),
              color var(--duration-base) var(--ease-standard);
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: scale(var(--hover-scale)); }
.btn:active { transform: scale(0.98); }

.btn--primary { background: var(--color-primary); color: var(--text-on-primary); box-shadow: var(--shadow-cta); }
.btn--primary:hover { background: var(--color-primary-hover); }
.btn--secondary { background: var(--navy-700); color: #fff; }
.btn--secondary:hover { background: var(--navy-800); }
.btn--outline { background: transparent; color: var(--navy-700); border-color: var(--border-control); }
.btn--outline:hover { border-color: var(--navy-700); background: var(--paper-0); }
.btn--ghost-light { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.28); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.18); }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ----------------------------------------------------------------
   5. TOP UTILITY BAR + HEADER NAV
   ---------------------------------------------------------------- */
.utilitybar {
  background: var(--navy-900); color: var(--text-on-ink);
  font-size: 0.82rem;
}
.utilitybar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-4); min-height: 40px; flex-wrap: wrap;
}
.utilitybar a { display: inline-flex; align-items: center; gap: 7px; color: var(--text-on-ink); font-weight: var(--weight-medium); }
.utilitybar a:hover { color: var(--sage); }
.utilitybar svg { width: 15px; height: 15px; color: var(--sage); }
.utilitybar .util-left { display: flex; gap: var(--space-5); flex-wrap: wrap; }
.utilitybar .util-note { font-family: var(--font-mono); letter-spacing: 0.04em; opacity: 0.78; }

.siteheader {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border-subtle);
}
.siteheader .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--space-5); min-height: 92px;
}

/* Logo lockup — full supplied Coastal Paper Supply logo */
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand__logo {
  display: block;
  width: clamp(230px, 24vw, 320px);
  height: auto;
  object-fit: contain;
}
.footer .brand {
  max-width: 100%;
  padding: 10px 14px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12);
}
.footer .brand__logo { width: min(100%, 310px); }

/* Desktop nav */
.nav-desktop { display: flex; align-items: center; gap: 2px; }
.nav-desktop a {
  padding: 10px 14px; border-radius: var(--radius-pill);
  font-weight: var(--weight-semibold); font-size: 0.97rem; color: var(--ink-600);
  transition: color var(--duration-fast) var(--ease-standard), background var(--duration-fast) var(--ease-standard);
}
.nav-desktop a:hover { color: var(--navy-900); background: var(--paper-100); }
.nav-desktop a[aria-current="page"] { color: var(--navy-900); }
.nav-desktop a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 5px; border-radius: 2px;
  background: var(--orange-500);
}
.header-actions { display: flex; align-items: center; gap: var(--space-3); }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--weight-bold); color: var(--navy-900); }
.header-phone svg { width: 18px; height: 18px; color: var(--orange-500); }

/* Mobile disclosure nav (no JS) */
.nav-mobile { display: none; position: relative; }
.nav-mobile > summary {
  list-style: none; cursor: pointer;
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-control); background: var(--paper-0);
  display: grid; place-items: center; color: var(--navy-900);
}
.nav-mobile > summary::-webkit-details-marker { display: none; }
.nav-mobile > summary svg { width: 24px; height: 24px; }
.nav-mobile[open] > summary { background: var(--navy-900); color: #fff; border-color: var(--navy-900); }
.nav-mobile__panel {
  position: absolute; right: 0; top: calc(100% + 12px);
  width: min(82vw, 320px);
  background: var(--paper-0); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: var(--space-4); display: flex; flex-direction: column; gap: 2px;
}
.nav-mobile__brand {
  display: block;
  padding: 8px 8px 16px !important;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--border-subtle);
  border-radius: 0 !important;
}
.nav-mobile__brand img { width: 235px; max-width: 100%; height: auto; }
.nav-mobile__panel a {
  padding: 13px 14px; border-radius: var(--radius-sm); font-weight: var(--weight-semibold); color: var(--ink-900);
}
.nav-mobile__panel a:hover, .nav-mobile__panel a[aria-current="page"] { background: var(--paper-100); color: var(--navy-900); }
.nav-mobile__panel .btn { margin-top: var(--space-3); }

/* ----------------------------------------------------------------
   6. HERO
   ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--paper-50); }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px);
  align-items: center; padding-block: clamp(48px, 7vw, 90px);
}
.hero h1 {
  font-size: var(--type-hero-size); font-weight: var(--weight-heavy);
  letter-spacing: -0.035em; line-height: 1.02; color: var(--navy-900);
}
.hero h1 .accent { color: var(--teal-700); }
.hero__lede { margin-top: var(--space-5); font-size: 1.22rem; color: var(--text-secondary); max-width: 40ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }
.hero__trust { margin-top: var(--space-7); display: flex; flex-wrap: wrap; gap: var(--space-5) var(--space-6); align-items: center; }
.hero__trust-item { display: flex; flex-direction: column; }
.hero__trust-num { font-family: var(--font-display); font-weight: var(--weight-heavy); font-size: 1.7rem; color: var(--navy-900); letter-spacing: -0.02em; }
.hero__trust-lab { font-size: 0.82rem; color: var(--text-muted); font-weight: var(--weight-medium); }

.hero__media { position: relative; }
.hero__media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.hero__badge {
  position: absolute; left: -22px; bottom: 34px;
  background: var(--paper-0); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 16px 20px;
  display: flex; align-items: center; gap: 14px; max-width: 260px;
}
.hero__badge .dot { width: 44px; height: 44px; border-radius: var(--radius-pill); background: var(--teal-100); color: var(--teal-700); display: grid; place-items: center; flex: none; }
.hero__badge .dot svg { width: 24px; height: 24px; }
.hero__badge b { display: block; font-size: 0.98rem; color: var(--navy-900); }
.hero__badge span { font-size: 0.82rem; color: var(--text-muted); }

/* ----------------------------------------------------------------
   7. MARQUEE / "WHO WE SERVE" STRIP
   ---------------------------------------------------------------- */
.serve-strip { border-block: 1px solid var(--border-subtle); background: var(--paper-0); }
.serve-strip .container { display: flex; align-items: center; gap: var(--space-6); flex-wrap: wrap; padding-block: var(--space-5); }
.serve-strip__label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); flex: none; }
.serve-strip__list { display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); }
.serve-pill { display: inline-flex; align-items: center; gap: 8px; font-weight: var(--weight-semibold); color: var(--navy-800); font-size: 0.95rem; }
.serve-pill svg { width: 18px; height: 18px; color: var(--teal-700); }

/* ----------------------------------------------------------------
   8. PRODUCT CATEGORY TILES (icon-driven, the showcase grid)
   ---------------------------------------------------------------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-grid); }
.cat-tile {
  position: relative; display: flex; flex-direction: column; gap: var(--space-4);
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: var(--space-5);
  transition: transform var(--duration-base) var(--ease-standard),
              box-shadow var(--duration-base) var(--ease-standard),
              border-color var(--duration-base) var(--ease-standard);
  overflow: hidden;
}
.cat-tile::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(180deg, transparent 55%, var(--navy-100));
  opacity: 0; transition: opacity var(--duration-base) var(--ease-standard);
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--navy-100); }
.cat-tile:hover::after { opacity: 0.6; }
.cat-tile__icon {
  width: 56px; height: 56px; border-radius: var(--radius-sm); flex: none;
  display: grid; place-items: center; color: var(--navy-700);
  background: var(--navy-100);
}
.cat-tile__icon svg { width: 30px; height: 30px; }
.cat-tile:hover .cat-tile__icon { background: var(--teal-700); color: #fff; }
.cat-tile h3 { font-size: var(--type-card-size); font-weight: var(--weight-bold); color: var(--navy-900); position: relative; z-index: 1; }
.cat-tile p { font-size: 0.92rem; color: var(--text-secondary); position: relative; z-index: 1; }
.cat-tile__sku { margin-top: auto; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--text-muted); position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; }
.cat-tile__sku .arrow { margin-left: auto; color: var(--teal-700); transition: transform var(--duration-base) var(--ease-standard); }
.cat-tile:hover .cat-tile__sku .arrow { transform: translateX(4px); }

/* --- 8b. IMAGE PRODUCT TILES (WebstaurantStore-style catalog grid) --- */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.shop-grid--dense { grid-template-columns: repeat(6, 1fr); }
.ptile {
  display: flex; flex-direction: column;
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); overflow: hidden; text-align: center;
  transition: transform var(--duration-base) var(--ease-standard),
              box-shadow var(--duration-base) var(--ease-standard),
              border-color var(--duration-base) var(--ease-standard);
}
.ptile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--navy-100); }
.ptile__media { position: relative; background: #fff; overflow: hidden; }
.ptile__media img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform var(--duration-base) var(--ease-standard); }
.ptile:hover .ptile__media img { transform: scale(1.05); }
.ptile__count { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.92); color: var(--navy-700); font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.04em; padding: 4px 9px; border-radius: var(--radius-pill); box-shadow: var(--shadow-sm); }
.ptile__label { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 16px 14px; font-weight: var(--weight-bold); color: var(--navy-900); font-size: 1rem; border-top: 1px solid var(--border-subtle); }
.ptile__label svg { width: 16px; height: 16px; color: var(--teal-700); opacity: 0; transform: translateX(-6px); transition: opacity var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard); }
.ptile:hover .ptile__label { color: var(--orange-600); }
.ptile:hover .ptile__label svg { opacity: 1; transform: translateX(0); }

/* Large feature category tiles (image with overlay label) */
.shopcat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-grid); }
.shopcat {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  min-height: 260px; display: flex; align-items: flex-end;
  border: 1px solid var(--border-subtle);
  transition: transform var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard);
}
.shopcat:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.shopcat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--duration-base) var(--ease-standard); }
.shopcat:hover img { transform: scale(1.05); }
.shopcat__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,52,26,0) 35%, rgba(6,52,26,0.86)); }
.shopcat__body { position: relative; padding: var(--space-5); color: #fff; }
.shopcat__body h3 { color: #fff; font-size: 1.4rem; font-weight: var(--weight-heavy); letter-spacing: -0.02em; }
.shopcat__body p { color: rgba(255,255,255,0.86); font-size: 0.95rem; margin-top: 4px; }
.shopcat__body .go { display: inline-flex; align-items: center; gap: 7px; margin-top: var(--space-3); font-weight: var(--weight-bold); font-size: 0.9rem; color: var(--sage); }
.shopcat__body .go svg { width: 16px; height: 16px; transition: transform var(--duration-base) var(--ease-standard); }
.shopcat:hover .go svg { transform: translateX(4px); }

/* ----------------------------------------------------------------
   9. VALUE / FEATURE CARDS
   ---------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-grid); }
.feature-card {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: var(--space-6);
  transition: box-shadow var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature-card__icon { width: 52px; height: 52px; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--teal-100); color: var(--teal-700); margin-bottom: var(--space-4); }
.feature-card__icon svg { width: 28px; height: 28px; }
.feature-card h3 { font-size: 1.2rem; font-weight: var(--weight-bold); color: var(--navy-900); margin-bottom: var(--space-2); }
.feature-card p { color: var(--text-secondary); font-size: 0.98rem; }
.section--navy .feature-card { background: var(--navy-800); border-color: rgba(255,255,255,0.08); }
.section--navy .feature-card h3 { color: #fff; }
.section--navy .feature-card p { color: var(--text-on-ink); opacity: 0.8; }

/* ----------------------------------------------------------------
   10. STATS BAND
   ---------------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-5); }
.stat { text-align: left; padding: var(--space-2) 0; }
.stat__num { font-family: var(--font-display); font-weight: var(--weight-heavy); font-size: clamp(2.4rem, 4vw, 3.4rem); letter-spacing: -0.03em; color: #fff; line-height: 1; }
.stat__num .unit { color: var(--sage); }
.stat__lab { margin-top: var(--space-3); color: var(--text-on-ink); opacity: 0.8; font-size: 0.98rem; font-weight: var(--weight-medium); }
.stat + .stat { border-left: 1px solid rgba(255,255,255,0.12); padding-left: var(--space-5); }

/* ----------------------------------------------------------------
   11. PROCESS TIMELINE
   ---------------------------------------------------------------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap-grid); counter-reset: step; }
.timeline__step { position: relative; padding-top: var(--space-6); }
.timeline__step::before {
  content: ""; position: absolute; top: 19px; left: 0; right: 0; height: 2px;
  background: var(--border-control);
}
.timeline__step:first-child::before { left: 19px; }
.timeline__step:last-child::before { right: calc(100% - 38px); }
.timeline__num {
  counter-increment: step; position: relative; z-index: 1;
  width: 38px; height: 38px; border-radius: var(--radius-pill);
  background: var(--navy-700); color: #fff; display: grid; place-items: center;
  font-family: var(--font-mono); font-weight: var(--weight-semibold); font-size: 0.95rem;
}
.timeline__num::after { content: "0" counter(step); }
.timeline__step h3 { font-size: 1.12rem; font-weight: var(--weight-bold); color: var(--navy-900); margin: var(--space-4) 0 var(--space-2); }
.timeline__step p { font-size: 0.95rem; color: var(--text-secondary); }
.timeline__step:nth-child(1) .timeline__num { background: var(--teal-700); }

/* ----------------------------------------------------------------
   12. COMPARISON TABLE
   ---------------------------------------------------------------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface-card); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-subtle); }
.compare th, .compare td { padding: var(--space-4) var(--space-5); text-align: left; border-bottom: 1px solid var(--border-subtle); }
.compare thead th { font-size: 0.95rem; }
.compare thead th:first-child { background: var(--paper-50); }
.compare thead .col-us { background: var(--navy-900); color: #fff; font-family: var(--font-display); }
.compare thead .col-them { color: var(--text-muted); font-weight: var(--weight-semibold); }
.compare tbody th { font-weight: var(--weight-semibold); color: var(--navy-900); font-size: 0.98rem; }
.compare .col-us { background: rgba(28,122,58,0.05); }
.compare td { color: var(--text-secondary); font-size: 0.96rem; }
.compare td.col-us { color: var(--navy-900); font-weight: var(--weight-semibold); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: none; }
.tick { display: inline-flex; align-items: center; gap: 8px; }
.tick svg { width: 18px; height: 18px; flex: none; }
.tick--yes svg { color: var(--status-success); }
.tick--no svg { color: var(--paper-300); }

/* ----------------------------------------------------------------
   13. PRICING / VOLUME TIERS
   ---------------------------------------------------------------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-grid); }
.tier { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: var(--space-6); display: flex; flex-direction: column; }
.tier--featured { border-color: var(--orange-500); box-shadow: var(--shadow-md); position: relative; }
.tier--featured::before { content: "Most popular"; position: absolute; top: -13px; left: var(--space-6); background: var(--orange-500); color: var(--navy-900); font-size: 0.72rem; font-weight: var(--weight-bold); letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border-radius: var(--radius-pill); }
.tier__name { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-600); }
.tier__price { font-family: var(--font-display); font-weight: var(--weight-heavy); font-size: 2.2rem; color: var(--navy-900); letter-spacing: -0.02em; margin: var(--space-3) 0 var(--space-1); }
.tier__price small { font-size: 0.95rem; font-weight: var(--weight-medium); color: var(--text-muted); }
.tier__desc { color: var(--text-secondary); font-size: 0.96rem; margin-bottom: var(--space-5); }
.tier ul { display: flex; flex-direction: column; gap: var(--space-3); margin-bottom: var(--space-6); }
.tier li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.96rem; color: var(--text-secondary); }
.tier li svg { width: 18px; height: 18px; color: var(--status-success); flex: none; margin-top: 3px; }
.tier .btn { margin-top: auto; }

/* ----------------------------------------------------------------
   14. TESTIMONIALS
   ---------------------------------------------------------------- */
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-grid); }
.quote {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-4);
}
.quote__mark { font-family: var(--font-display); font-weight: var(--weight-heavy); font-size: 3rem; line-height: 0.6; color: var(--orange-500); }
.quote p { color: var(--ink-900); font-size: 1.02rem; }
.quote__by { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote__av { width: 44px; height: 44px; border-radius: var(--radius-pill); background: var(--navy-700); color: #fff; display: grid; place-items: center; font-weight: var(--weight-bold); font-family: var(--font-display); flex: none; }
.quote__by b { display: block; color: var(--navy-900); font-size: 0.96rem; }
.quote__by span { color: var(--text-muted); font-size: 0.85rem; }

/* ----------------------------------------------------------------
   15. FAQ ACCORDION (CSS-only details/summary)
   ---------------------------------------------------------------- */
.faq { display: flex; flex-direction: column; gap: var(--space-3); max-width: 820px; }
.faq details {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); overflow: hidden;
  transition: box-shadow var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard);
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--navy-100); }
.faq summary {
  list-style: none; cursor: pointer; padding: var(--space-5);
  display: flex; align-items: center; gap: var(--space-4);
  font-weight: var(--weight-bold); color: var(--navy-900); font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .faq__icon {
  margin-left: auto; flex: none; width: 28px; height: 28px; border-radius: var(--radius-pill);
  background: var(--paper-100); color: var(--navy-700); display: grid; place-items: center;
  transition: transform var(--duration-base) var(--ease-standard), background var(--duration-base) var(--ease-standard), color var(--duration-base) var(--ease-standard);
}
.faq summary .faq__icon svg { width: 16px; height: 16px; }
.faq details[open] summary .faq__icon { transform: rotate(45deg); background: var(--teal-700); color: #fff; }
.faq__body { padding: 0 var(--space-5) var(--space-5); color: var(--text-secondary); }
.faq__body p + p { margin-top: var(--space-3); }

/* ----------------------------------------------------------------
   16. SPLIT / ALTERNATING CONTENT
   ---------------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--media-right .split__media { order: 2; }
.split__media img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split__body h2 { font-size: var(--type-section-size); font-weight: var(--weight-heavy); letter-spacing: -0.02em; color: var(--navy-900); }
.split__body p { margin-top: var(--space-4); color: var(--text-secondary); font-size: 1.08rem; }
.checklist { margin-top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-900); font-weight: var(--weight-medium); }
.checklist svg { width: 22px; height: 22px; color: var(--teal-700); flex: none; margin-top: 1px; }

/* ----------------------------------------------------------------
   17. CASE STUDY CARDS (portfolio)
   ---------------------------------------------------------------- */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap-grid); }
.case {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);
}
.case:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.case__media { position: relative; }
.case__media img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.case__tag { position: absolute; top: var(--space-4); left: var(--space-4); background: var(--navy-900); color: #fff; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; padding: 6px 12px; border-radius: var(--radius-pill); }
.case__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.case__body h3 { font-size: 1.3rem; font-weight: var(--weight-bold); color: var(--navy-900); }
.case__body p { color: var(--text-secondary); }
.case__result { margin-top: var(--space-3); display: flex; gap: var(--space-6); padding-top: var(--space-4); border-top: 1px solid var(--border-subtle); }
.case__result div b { display: block; font-family: var(--font-display); font-weight: var(--weight-heavy); font-size: 1.5rem; color: var(--orange-600); letter-spacing: -0.02em; }
.case__result div span { font-size: 0.82rem; color: var(--text-muted); }

/* product gallery (portfolio) */
.pgallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.pgallery figure { position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-subtle); }
.pgallery img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform var(--duration-base) var(--ease-standard); }
.pgallery figure:hover img { transform: scale(1.05); }
.pgallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--space-4); color: #fff; font-weight: var(--weight-bold); background: linear-gradient(transparent, rgba(8,52,26,0.82)); font-size: 0.98rem; }

/* ----------------------------------------------------------------
   18. BLOG
   ---------------------------------------------------------------- */
.blog-feature { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 48px); align-items: center; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.blog-feature__media img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.blog-feature__body { padding: clamp(28px, 4vw, 52px); }
.blog-meta { display: flex; gap: var(--space-3); align-items: center; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); }
.blog-meta .cat { color: var(--orange-600); font-weight: var(--weight-semibold); }
.blog-feature__body h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: var(--weight-heavy); letter-spacing: -0.02em; color: var(--navy-900); margin: var(--space-4) 0; }
.blog-feature__body p { color: var(--text-secondary); font-size: 1.08rem; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap-grid); }
.post {
  background: var(--surface-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md); overflow: hidden; display: flex; flex-direction: column;
  transition: box-shadow var(--duration-base) var(--ease-standard), transform var(--duration-base) var(--ease-standard);
}
.post:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.post__media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.post__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.post__body h3 { font-size: 1.16rem; font-weight: var(--weight-bold); color: var(--navy-900); line-height: 1.25; }
.post__body p { font-size: 0.95rem; color: var(--text-secondary); }
.post__more { margin-top: auto; padding-top: var(--space-2); font-weight: var(--weight-bold); color: var(--teal-700); display: inline-flex; align-items: center; gap: 7px; font-size: 0.92rem; }
.post__more svg { width: 16px; height: 16px; transition: transform var(--duration-base) var(--ease-standard); }
.post:hover .post__more svg { transform: translateX(4px); }

/* ----------------------------------------------------------------
   19. CONTACT
   ---------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.contact-card-list { display: flex; flex-direction: column; gap: var(--space-3); margin-top: var(--space-6); }
.contact-card { display: flex; gap: var(--space-4); align-items: flex-start; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: var(--space-5); }
.contact-card__icon { width: 46px; height: 46px; border-radius: var(--radius-sm); background: var(--navy-100); color: var(--navy-700); display: grid; place-items: center; flex: none; }
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card b { display: block; color: var(--navy-900); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; font-family: var(--font-mono); }
.contact-card a, .contact-card p { color: var(--ink-900); font-weight: var(--weight-semibold); font-size: 1.05rem; margin-top: 3px; }
.contact-card a:hover { color: var(--teal-700); }
.contact-card small { color: var(--text-muted); font-weight: var(--weight-regular); display: block; font-size: 0.86rem; }

.form-card { background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.field { margin-bottom: var(--space-5); }
.field label { display: block; font-weight: var(--weight-semibold); color: var(--navy-900); margin-bottom: var(--space-2); font-size: 0.95rem; }
.field label .req { color: var(--orange-600); }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; background: var(--paper-50);
  border: 1.5px solid var(--border-control); border-radius: var(--radius-sm);
  font-size: 1rem; color: var(--ink-900);
  transition: border-color var(--duration-fast) var(--ease-standard), background var(--duration-fast) var(--ease-standard), box-shadow var(--duration-fast) var(--ease-standard);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy-700); background: #fff;
  box-shadow: 0 0 0 4px rgba(0,123,143,0.16);
}
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--status-error); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.form-note { font-size: 0.85rem; color: var(--text-muted); margin-top: var(--space-4); display: flex; gap: 8px; align-items: flex-start; }
.form-note svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--navy-600); }

.map-embed { border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-subtle); margin-top: var(--space-5); }
.map-embed img { width: 100%; aspect-ratio: 16/7; object-fit: cover; }

/* ----------------------------------------------------------------
   20. CTA BAND
   ---------------------------------------------------------------- */
.ctaband { background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: #fff; border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); position: relative; overflow: hidden; }
.ctaband::before { content: ""; position: absolute; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(28,122,58,0.4), transparent 70%); }
.ctaband__inner { position: relative; display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--space-6); align-items: center; }
.ctaband h2 { color: #fff; font-size: var(--type-section-size); font-weight: var(--weight-heavy); letter-spacing: -0.02em; }
.ctaband p { color: var(--text-on-ink); opacity: 0.85; margin-top: var(--space-3); font-size: 1.1rem; }
.ctaband__actions { display: flex; flex-direction: column; gap: var(--space-3); }
.ctaband__actions .phone { text-align: center; font-family: var(--font-mono); opacity: 0.8; font-size: 0.9rem; }
.ctaband .btn--primary { background: #fff; color: var(--navy-700); box-shadow: 0 8px 18px rgba(0,0,0,0.18); }
.ctaband .btn--primary:hover { background: var(--paper-100); }

/* ----------------------------------------------------------------
   21. PAGE HEADER (interior pages)
   ---------------------------------------------------------------- */
.pagehead { background: var(--surface-ink); color: #fff; position: relative; overflow: hidden; }
.pagehead::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 100% 0%, rgba(28,122,58,0.22), transparent 60%); }
.pagehead .container { position: relative; padding-block: clamp(48px, 7vw, 88px); }
.breadcrumbs { display: flex; gap: 8px; align-items: center; font-size: 0.85rem; color: var(--text-on-ink); opacity: 0.7; margin-bottom: var(--space-4); font-family: var(--font-mono); }
.breadcrumbs a:hover { color: var(--sage); }
.breadcrumbs svg { width: 14px; height: 14px; }
.pagehead h1 { font-size: var(--type-page-size); font-weight: var(--weight-heavy); letter-spacing: -0.03em; color: #fff; max-width: 18ch; }
.pagehead p { margin-top: var(--space-4); font-size: 1.18rem; color: var(--text-on-ink); opacity: 0.85; max-width: 56ch; }

/* ----------------------------------------------------------------
   22. FOOTER
   ---------------------------------------------------------------- */
.footer { background: var(--navy-900); color: var(--text-on-ink); padding-block: var(--space-8) var(--space-6); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: var(--space-6); padding-bottom: var(--space-7); border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer .brand__name { color: #fff; }
.footer__about { margin-top: var(--space-4); max-width: 36ch; opacity: 0.78; font-size: 0.95rem; }
.footer__social { display: flex; gap: var(--space-3); margin-top: var(--space-5); }
.footer__social a { width: 40px; height: 40px; border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,0.2); display: grid; place-items: center; transition: background var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard), transform var(--duration-fast) var(--ease-standard); }
.footer__social a:hover { background: var(--teal-700); border-color: var(--teal-700); transform: translateY(-2px); }
.footer__social svg { width: 19px; height: 19px; }
.footer__col h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; font-family: var(--font-mono); color: var(--sage); margin-bottom: var(--space-4); }
.footer__col ul { display: flex; flex-direction: column; gap: var(--space-3); }
.footer__col a { opacity: 0.82; font-size: 0.96rem; }
.footer__col a:hover { opacity: 1; color: var(--sage); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; opacity: 0.82; font-size: 0.95rem; margin-bottom: var(--space-3); }
.footer__contact svg { width: 17px; height: 17px; color: var(--sage); flex: none; margin-top: 3px; }
.footer__bottom { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; padding-top: var(--space-5); font-size: 0.85rem; opacity: 0.7; }
.footer__bottom .legal { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* ----------------------------------------------------------------
   23. UTILITIES
   ---------------------------------------------------------------- */
.text-center { text-align: center; }
.mt-6 { margin-top: var(--space-6); }
.mt-7 { margin-top: var(--space-7); }
.center-cta { display: flex; justify-content: center; margin-top: var(--space-7); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ----------------------------------------------------------------
   24. RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1180px) {
  .header-phone { display: none; }
  .brand__logo { width: clamp(220px, 27vw, 290px); }
}
@media (max-width: 680px) {
  .siteheader .container { min-height: 80px; gap: 12px; }
  .brand__logo { width: 220px; }
  .header-actions > .btn { display: none; }
}
@media (max-width: 420px) {
  .brand__logo { width: 184px; }
  .nav-mobile__panel { width: min(88vw, 320px); }
}
@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .nav-mobile { display: block; }
}
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-grid--dense { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 920px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { order: -1; max-width: 460px; }
  .hero__badge { left: 12px; }
  .feature-grid, .tiers, .tgrid, .timeline, .blog-grid, .pgallery { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: var(--space-6); }
  .stat + .stat { border-left: none; padding-left: 0; }
  .stats .stat:nth-child(n+3) { padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,0.12); }
  .split, .contact-grid, .blog-feature, .case-grid { grid-template-columns: 1fr; }
  .split--media-right .split__media { order: -1; }
  .blog-feature__media img { min-height: 240px; }
  .ctaband__inner { grid-template-columns: 1fr; }
  .timeline__step::before { display: none; }
  .shop-grid, .shop-grid--dense { grid-template-columns: repeat(3, 1fr); }
  .shopcat-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .cat-grid, .feature-grid, .tiers, .tgrid, .timeline, .blog-grid, .pgallery, .case-grid { grid-template-columns: 1fr; }
  .shop-grid, .shop-grid--dense { grid-template-columns: repeat(2, 1fr); }
  .shopcat-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .utilitybar .util-note { display: none; }
  .hero__cta .btn { width: 100%; }
  .compare { font-size: 0.85rem; }
  .compare th, .compare td { padding: 12px; }
}

/* ----------------------------------------------------------------
   25. PRODUCT CATALOG + FILTERS
   ---------------------------------------------------------------- */
.catalog-layout { display: grid; grid-template-columns: 268px 1fr; gap: var(--space-6); align-items: start; }

/* Sidebar */
.filters { position: sticky; top: 96px; }
.filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-4); }
.filters__head h2 { font-size: 1.1rem; font-weight: var(--weight-heavy); color: var(--navy-900); letter-spacing: -0.01em; }
.filters__clear { background: none; border: none; color: var(--orange-600); font-weight: var(--weight-bold); font-size: 0.85rem; cursor: pointer; padding: 4px; border-radius: var(--radius-xs); }
.filters__clear:hover { text-decoration: underline; }
.filter-group { border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); background: var(--surface-card); margin-bottom: var(--space-3); overflow: hidden; }
.filter-group > summary { list-style: none; cursor: pointer; padding: 13px 16px; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-900); font-weight: var(--weight-semibold); display: flex; align-items: center; justify-content: space-between; }
.filter-group > summary::-webkit-details-marker { display: none; }
.filter-group > summary .chev { width: 16px; height: 16px; color: var(--text-muted); transition: transform var(--duration-base) var(--ease-standard); }
.filter-group[open] > summary .chev { transform: rotate(180deg); }
.filter-group__body { padding: 4px 16px 14px; display: flex; flex-direction: column; gap: 2px; }
.filter-opt { display: flex; align-items: center; gap: 10px; padding: 7px 4px; border-radius: var(--radius-xs); cursor: pointer; font-size: 0.92rem; color: var(--ink-600); transition: color var(--duration-fast) var(--ease-standard); }
.filter-opt:hover { color: var(--navy-900); }
.filter-opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.filter-opt .box { width: 19px; height: 19px; border-radius: 5px; border: 2px solid var(--border-control); flex: none; display: grid; place-items: center; transition: background var(--duration-fast) var(--ease-standard), border-color var(--duration-fast) var(--ease-standard); }
.filter-opt .box svg { width: 13px; height: 13px; color: #fff; opacity: 0; transform: scale(0.6); transition: opacity var(--duration-fast) var(--ease-standard), transform var(--duration-fast) var(--ease-standard); }
.filter-opt input:checked + .box { background: var(--teal-700); border-color: var(--teal-700); }
.filter-opt input:checked + .box svg { opacity: 1; transform: scale(1); }
.filter-opt input:focus-visible + .box { outline: 3px solid var(--orange-500); outline-offset: 2px; }
.filter-opt .count { margin-left: auto; font-size: 0.8rem; color: var(--text-muted); font-family: var(--font-mono); }
.filter-opt.is-on { color: var(--navy-900); font-weight: var(--weight-semibold); }

/* Toolbar */
.catalog-toolbar { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-5); flex-wrap: wrap; }
.catalog-count { font-weight: var(--weight-bold); color: var(--navy-900); font-size: 1.05rem; }
.catalog-count span { color: var(--orange-600); }
.catalog-search { position: relative; flex: 1; min-width: 220px; }
.catalog-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--text-muted); }
.catalog-search input { width: 100%; padding: 11px 14px 11px 42px; border: 1.5px solid var(--border-control); border-radius: var(--radius-pill); background: var(--paper-50); font-size: 0.95rem; color: var(--ink-900); }
.catalog-search input:focus { outline: none; border-color: var(--navy-700); background: #fff; box-shadow: 0 0 0 4px rgba(0,123,143,0.14); }
.catalog-sort { display: flex; align-items: center; gap: 8px; }
.catalog-sort label { font-size: 0.88rem; color: var(--text-muted); font-weight: var(--weight-medium); }
.catalog-sort select { padding: 10px 34px 10px 14px; border: 1.5px solid var(--border-control); border-radius: var(--radius-pill); background: var(--paper-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236b7a90' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center; -webkit-appearance: none; appearance: none; font-size: 0.92rem; font-weight: var(--weight-semibold); color: var(--navy-900); cursor: pointer; }
.catalog-sort select:focus { outline: none; border-color: var(--navy-700); }

/* Filter toggle (mobile) */
.filter-toggle { display: none; align-items: center; gap: 9px; padding: 11px 18px; border: 1.5px solid var(--border-control); border-radius: var(--radius-pill); background: var(--surface-card); font-weight: var(--weight-bold); color: var(--navy-900); cursor: pointer; }
.filter-toggle svg { width: 18px; height: 18px; }
.filter-toggle .badge { background: var(--teal-700); color: #fff; border-radius: var(--radius-pill); min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 0.75rem; font-family: var(--font-mono); padding: 0 6px; }

/* Active filter chips */
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--space-5); }
.active-chips:empty { display: none; }
.chip-x { display: inline-flex; align-items: center; gap: 7px; background: var(--navy-100); color: var(--navy-800); border: none; padding: 7px 12px; border-radius: var(--radius-pill); font-size: 0.85rem; font-weight: var(--weight-semibold); cursor: pointer; }
.chip-x svg { width: 13px; height: 13px; }
.chip-x:hover { background: var(--teal-100); color: var(--teal-700); }

/* Product grid */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.pcard { display: flex; flex-direction: column; background: var(--surface-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; transition: transform var(--duration-base) var(--ease-standard), box-shadow var(--duration-base) var(--ease-standard), border-color var(--duration-base) var(--ease-standard); }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--navy-100); }
.pcard__media { position: relative; background: #fff; padding: 8px; border-bottom: 1px solid var(--border-subtle); }
.pcard__media img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.pcard__eco { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px; background: var(--teal-100); color: var(--teal-700); font-family: var(--font-mono); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; padding: 4px 8px; border-radius: var(--radius-pill); }
.pcard__eco svg { width: 12px; height: 12px; }
.pcard__body { padding: var(--space-4); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__cat { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.pcard__title { font-size: 0.98rem; font-weight: var(--weight-bold); color: var(--navy-900); line-height: 1.28; }
.pcard__meta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 2px; }
.pcard__meta span { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-muted); }
.pcard__cta { margin-top: auto; padding-top: var(--space-3); }
.pcard__cta a { display: inline-flex; align-items: center; gap: 7px; font-weight: var(--weight-bold); color: var(--teal-700); font-size: 0.88rem; }
.pcard__cta svg { width: 15px; height: 15px; transition: transform var(--duration-base) var(--ease-standard); }
.pcard:hover .pcard__cta svg { transform: translateX(3px); }
.pcard[hidden] { display: none; }

.filters__backdrop { display: none; }
.no-results { display: none; text-align: center; padding: var(--space-8) var(--space-5); color: var(--text-secondary); }
.no-results.show { display: block; }
.no-results svg { width: 48px; height: 48px; color: var(--paper-300); margin: 0 auto var(--space-4); }
.no-results h3 { font-size: 1.3rem; color: var(--navy-900); margin-bottom: var(--space-2); }

@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 920px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-toggle { display: inline-flex; }
  .filters { position: fixed; inset: 0 auto 0 0; width: min(86vw, 340px); z-index: 130; background: var(--bg-app); padding: var(--space-5); overflow-y: auto; transform: translateX(-105%); transition: transform var(--duration-base) var(--ease-standard); box-shadow: var(--shadow-lg); top: 0; }
  .filters.open { transform: translateX(0); }
  .filters__backdrop { display: none; position: fixed; inset: 0; background: rgba(6,52,26,0.4); z-index: 120; }
  .filters__backdrop.show { display: block; }
  .filters__mobile-close { display: inline-flex; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pcard__body { padding: 12px; }
}
.filters__mobile-close { display: none; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition-duration: 0.01ms !important; }
}

/* ===== Coastal Paper Supply realistic catalog + mobile price list update ===== */
.hero__brand-image,
.local-illustration img {
  object-fit: contain !important;
  background: #ffffff;
  padding: clamp(24px, 5vw, 64px);
}

.shopcat img {
  object-fit: contain !important;
  padding: 28px;
  background: linear-gradient(145deg, #ffffff, #eef6f7);
}
.shopcat__veil {
  background: linear-gradient(180deg, rgba(5,38,76,.05), rgba(5,38,76,.88));
}

.category-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.category-card {
  display: flex;
  gap: 18px;
  align-items: center;
  min-height: 150px;
  padding: 22px;
  border: 1px solid var(--border-subtle, #dce7ec);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(5, 38, 76, .07);
  color: var(--navy-900, #05264c);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.category-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal-500, #0b9aa5);
  box-shadow: 0 16px 36px rgba(5, 38, 76, .12);
}
.category-card__icon {
  flex: 0 0 92px;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #edf8f8;
}
.category-card__icon img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.category-card__body h3 { margin: 0 0 7px; font-size: 1.05rem; }
.category-card__body p { margin: 0 0 10px; color: var(--ink-600, #526274); font-size: .92rem; line-height: 1.45; }
.category-card__link { color: var(--teal-700, #087e89); font-weight: 800; font-size: .9rem; }

.price-hero {
  padding: clamp(48px, 7vw, 88px) 0 36px;
  background:
    radial-gradient(circle at 82% 10%, rgba(9, 158, 168, .16), transparent 32%),
    linear-gradient(135deg, #f8fbfc, #edf6f7);
  border-bottom: 1px solid #d7e5e9;
}
.price-hero h1 { max-width: 850px; margin-bottom: 14px; color: var(--navy-900, #05264c); }
.price-hero p { max-width: 820px; font-size: 1.08rem; line-height: 1.65; color: var(--ink-700, #405266); }
.price-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.price-note {
  display: inline-block;
  margin-top: 22px;
  padding: 11px 15px;
  border-left: 4px solid var(--orange-500, #f47b20);
  border-radius: 8px;
  background: #fff;
  color: var(--navy-800, #0a3768);
  box-shadow: 0 8px 22px rgba(5,38,76,.07);
  font-size: .92rem;
}

.price-tools {
  position: sticky;
  top: 0;
  z-index: 25;
  padding: 18px 0 14px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #dce7ec;
  box-shadow: 0 8px 22px rgba(5,38,76,.06);
}
.price-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  padding: 0 15px;
  border: 2px solid #bed4db;
  border-radius: 14px;
  background: #fff;
}
.price-search:focus-within { border-color: var(--teal-600, #0b8e99); box-shadow: 0 0 0 4px rgba(11,142,153,.12); }
.price-search svg { width: 22px; height: 22px; color: var(--teal-700, #087e89); flex: 0 0 auto; }
.price-search input {
  width: 100%;
  min-height: 50px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy-900, #05264c);
  font: inherit;
}
.price-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 13px 0 3px;
  scrollbar-width: thin;
}
.price-chip {
  flex: 0 0 auto;
  border: 1px solid #b9d0d7;
  border-radius: 999px;
  padding: 9px 13px;
  background: #fff;
  color: var(--navy-800, #0a3768);
  font: inherit;
  font-size: .86rem;
  font-weight: 750;
  cursor: pointer;
}
.price-chip:hover,
.price-chip.is-active {
  border-color: var(--teal-700, #087e89);
  background: var(--teal-700, #087e89);
  color: #fff;
}

.price-content { padding-top: 38px; }
.price-category { scroll-margin-top: 170px; margin-bottom: 46px; }
.price-category__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 3px solid var(--orange-500, #f47b20);
}
.price-category__head h2 { margin: 0; color: var(--navy-900, #05264c); font-size: clamp(1.35rem, 2vw, 1.85rem); }
.price-category__head a { color: var(--teal-700, #087e89); font-weight: 800; font-size: .88rem; }
.price-list-grid { display: grid; gap: 10px; }
.price-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 145px;
  gap: 18px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid #d9e5e9;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(5,38,76,.045);
}
.price-item:hover { border-color: #95bec5; box-shadow: 0 9px 22px rgba(5,38,76,.08); }
.price-item__sku { display: block; margin-bottom: 3px; color: var(--teal-700, #087e89); font-size: .72rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.price-item h3 { margin: 0 0 4px; color: var(--navy-900, #05264c); font-size: 1rem; line-height: 1.35; }
.price-item p { margin: 0; color: var(--ink-600, #5c6c7c); font-size: .87rem; }
.price-item__pack,
.price-item__price { text-align: right; }
.price-item__pack span,
.price-item__price span { display: block; color: #6a7a88; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .045em; }
.price-item__pack strong { color: var(--navy-800, #0a3768); font-size: .98rem; }
.price-item__price strong { color: var(--teal-800, #066c75); font-size: 1.24rem; }
.price-empty {
  margin: 20px 0 60px;
  padding: 38px;
  text-align: center;
  border: 2px dashed #b8cfd5;
  border-radius: 18px;
  background: #f7fbfc;
}
.price-empty h2 { margin-bottom: 8px; }

@media (max-width: 980px) {
  .category-showcase { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .price-item { grid-template-columns: minmax(0,1fr) 150px 125px; gap: 12px; }
}

@media (max-width: 680px) {
  .category-showcase { grid-template-columns: 1fr; }
  .category-card { min-height: 0; padding: 17px; }
  .category-card__icon { flex-basis: 76px; width: 76px; height: 76px; }
  .category-card__icon img { width: 58px; height: 58px; }
  .price-hero { padding-top: 34px; }
  .price-hero__actions .btn { width: 100%; }
  .price-tools { position: static; }
  .price-search { max-width: none; }
  .price-category { scroll-margin-top: 20px; }
  .price-item {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 15px;
  }
  .price-item__main { grid-column: 1 / -1; padding-bottom: 10px; border-bottom: 1px solid #e4edef; }
  .price-item__pack { text-align: left; }
  .price-item__price { text-align: right; }
  .price-item__price strong { font-size: 1.3rem; }
  .price-category__head a { display: none; }
}

@media print {
  .utilbar, .site-header, .header, .price-tools, .price-hero__actions, .footer, .ctaband, .breadcrumbs { display: none !important; }
  .price-hero { padding: 0 0 18px; background: #fff; }
  .price-content { padding: 0; }
  .price-item { break-inside: avoid; box-shadow: none; }
  .price-category { break-before: page; }
  .price-category:first-child { break-before: auto; }
}


/* Final catalog subcategory headings */
.price-category__head > div p { margin: 5px 0 0; color: var(--ink-600, #5c6c7c); font-size: .9rem; }
.price-subcategory {
  grid-column: 1 / -1;
  margin: 22px 0 2px;
  padding: 10px 14px;
  border-left: 4px solid var(--orange-500, #f58220);
  border-radius: 7px;
  background: #eef7f7;
  color: var(--navy-900, #05264c);
  font-size: 1rem;
  letter-spacing: .025em;
}
.price-list-grid > .price-subcategory:first-child { margin-top: 0; }
