/* ============================================================
   Chilli Promotions — SEO Preview Stylesheet
   Design system: Poppins 800 headings · White base · Chilli red #FE1631
   Matches: Employee Welcome Kit design language
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

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

/* ── DESIGN TOKENS ── */
:root {
  /* Brand */
  --chilli:        #FE1631;
  --chilli-dark:   #d4102a;
  --chilli-soft:   rgba(254,22,49,0.08);
  --chilli-press:  #b80e22;
  --leaf:          #22A37A;
  --sun:           #F5C542;
  --plum:          #4B1A8C;

  /* Neutrals */
  --ink:           #0E0E0E;
  --ink-2:         #4B4B4B;
  --paper:         #FFFFFF;
  --paper-2:       #F6F6F4;
  --line:          #E8E8E6;
  --line-strong:   #C8C8C4;
  --smoke:         #8A8A88;
  --smoke-2:       #BDBDBB;

  /* Fonts */
  --font:          'Poppins', system-ui, sans-serif;
  --font-display:  'Poppins', system-ui, sans-serif;
  --font-mono:     'JetBrains Mono', monospace;

  /* Shadows */
  --shadow-1: 0 1px 3px rgba(0,0,0,0.05), 0 1px 6px rgba(0,0,0,0.04);
  --shadow-2: 0 4px 12px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-3: 0 8px 24px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.06);
  --shadow-pop: 0 16px 48px rgba(0,0,0,0.14), 0 4px 12px rgba(0,0,0,0.08);

  /* Radius */
  --r-1: 4px;
  --r-2: 8px;
  --r-3: 12px;
  --r-4: 16px;
  --r-pill: 999px;

  /* Layout */
  --container: 1280px;
  --z-nav: 100;
  --z-sticky: 35;
  --z-modal: 200;

  /* Motion */
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);

  /* Legacy aliases (blog-post compat) */
  --red:        var(--chilli);
  --green:      var(--leaf);
  --black:      var(--ink);
  --page-bg:    var(--paper);
  --surface:    var(--paper);
  --border:     var(--line);
  --text:       var(--ink);
  --text-2:     var(--ink-2);
  --text-3:     var(--smoke);
  --font-serif: var(--font-display);
  --r-sm:  var(--r-2); --r-md: var(--r-3); --r-lg: var(--r-4);
  --sh-sm: var(--shadow-1); --sh-md: var(--shadow-2);
}

/* ── BASE ── */
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--chilli); }

/* ── ANNOUNCEMENT BAR ── */
.top-nav-bar {
  background: var(--plum);
  padding: 10px 0;
  font-size: 13px;
  text-align: center;
  letter-spacing: -0.005em;
}
.top-nav-bar .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.top-nav-bar a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}
.top-nav-bar span { color: rgba(255,255,255,0.85); }
.top-nav-bar .carbon-link { color: #fff; text-decoration: underline; font-weight: 600; }

/* ── MAIN HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-logo img { height: 44px; width: auto; display: block; }
.main-nav {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: var(--r-2);
  text-decoration: none;
  transition: color var(--dur-fast), background var(--dur-fast);
}
.main-nav a:hover { color: var(--chilli); }
.main-nav a.active { color: var(--chilli); }
.header-phone { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-phone > a:first-child {
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-phone > a:first-child::before { content: "📞"; font-size: 13px; }
.header-cta {
  display: inline-flex;
  align-items: center;
  background: var(--chilli);
  color: #fff !important;
  font-weight: 700;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: var(--r-2);
  text-decoration: none !important;
  transition: background var(--dur-fast), transform var(--dur-fast);
  white-space: nowrap;
}
.header-cta:hover { background: var(--chilli-dark); transform: translateY(-1px); }

/* ── BREADCRUMB ── */
.breadcrumb-bar {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.breadcrumb-bar .container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px;
  font-size: 13px;
  color: var(--smoke);
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.breadcrumb-bar a { color: var(--smoke); text-decoration: none; }
.breadcrumb-bar a:hover { color: var(--chilli); }
.breadcrumb-bar .sep { margin: 0 8px; opacity: 0.5; }
.breadcrumb-bar .current { color: var(--ink); font-weight: 600; }

/* ── HERO ── */
.hero-banner {
  padding: 32px 0 32px;
  background: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content-wrap { }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: var(--chilli-soft);
  color: var(--chilli);
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.hero-banner h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #000;
  margin: 0 0 14px;
  text-wrap: balance;
}
.hero-banner h1 .accent { color: var(--chilli); }
.hero-banner h1 .kw-highlight {
  color: var(--chilli);
  text-decoration: underline;
  text-decoration-color: var(--sun);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}
.hero-banner h1 .underline {
  position: relative;
  white-space: nowrap;
}
.hero-banner h1 .underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 10px;
  background: rgba(245,197,66,0.55);
  z-index: -1;
  transform: skew(-2deg);
}
.hero-sub {
  font-size: 14px;
  color: var(--ink-2);
  max-width: 52ch;
  margin: 0 0 20px;
  line-height: 1.55;
}
.hero-cta-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 0;
}
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--chilli);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--r-2);
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(254,22,49,0.3), 0 1px 4px rgba(254,22,49,0.2);
  transition: background var(--dur-fast), transform var(--dur-fast), box-shadow var(--dur-fast);
  white-space: nowrap;
}
.hero-cta-btn:hover {
  background: var(--chilli-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(254,22,49,0.35), 0 2px 8px rgba(254,22,49,0.2);
}
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  color: var(--ink);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  text-decoration: none;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-2);
  white-space: nowrap;
  transition: border-color var(--dur-fast), background var(--dur-fast);
}
.hero-cta-secondary:hover { border-color: var(--ink); background: var(--paper-2); }

/* Hero stats bar */
.hero-stats {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.hero-stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--chilli);
}
.hero-stat .lbl {
  font-size: 11px;
  color: var(--smoke);
  margin-top: 4px;
  line-height: 1.3;
}

/* Hero visual (right column) */
.hero-products-showcase {
  position: relative;
  border-radius: var(--r-4);
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-single-img {
  width: 100%;
  height: auto;
  border-radius: var(--r-4);
  display: block;
  object-fit: cover;
}

/* Floating notification chips */
.floating {
  position: absolute;
  background: #fff;
  box-shadow: var(--shadow-2);
  border-radius: var(--r-3);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floaty 6s ease-in-out infinite;
  z-index: 10;
  border: 1px solid var(--line);
  white-space: nowrap;
}
@keyframes floaty {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.floating .dot {
  width: 8px; height: 8px; border-radius: var(--r-pill);
  background: var(--leaf); flex-shrink: 0;
}
.floating .dot.red { background: var(--chilli); }
.floating .dot.yellow { background: var(--sun); }
.floating.f1 { top: 24px; left: -12px; animation-delay: 0s; }
.floating.f2 { bottom: 60px; right: -16px; animation-delay: 2s; }

/* ── AEO QUICK ANSWER ── */
.aeo-section {
  background: var(--paper);
  padding: 0 0 48px;
}
.aeo-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.aeo-answer-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--chilli);
  border-radius: var(--r-3);
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
}
.aeo-answer-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--chilli);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
}
.aeo-answer-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin: 8px 0 0;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
}
.aeo-answer-card h2::before { display: none; }
.aeo-answer-card h2::after { display: none; }
.aeo-answer-body p {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
}
.aeo-answer-body p:last-child { margin-bottom: 0; }
.aeo-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--smoke);
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.aeo-meta b { color: var(--ink); font-weight: 700; }

/* AEO key facts */
.aeo-facts {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 32px 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.aeo-fact {
  padding: 20px;
  background: var(--paper-2);
  border-radius: var(--r-3);
  border: 1px solid var(--line);
}
.aeo-fact dt {
  font-size: 11.5px;
  color: var(--smoke);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
}
.aeo-fact dd {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.25;
}

/* ── CLIENT LOGOS ── */
.trusted-by-bar {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trusted-by-bar .client-logos-section {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 32px;
  border-bottom: none;
  margin-bottom: 0;
}
.client-logos-section {
  padding: 28px 0;
}
.client-logos-section h3 {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--smoke);
  margin-bottom: 20px;
}
.client-logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}
.client-logos-grid img {
  height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* ── 3-COLUMN PAGE LAYOUT ── */
.page-layout {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 32px 60px;
  display: grid;
  grid-template-columns: 195px 1fr 240px;
  gap: 28px;
  align-items: start;
}

/* ── LEFT CATEGORY NAV ── */
.page-categories {
  position: sticky;
  top: 80px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}
.page-categories h3 {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #999;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e5e5;
}
.cat-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
}
.cat-nav-list > li {
  border-bottom: 1px solid #efefef;
}
.cat-nav-list > li:last-child { border-bottom: none; }
.cat-nav-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.35;
  transition: background 0.12s, color 0.12s;
}
.cat-nav-list > li > a:hover { background: #f8f8f8; }
.cat-nav-list > li.active > a { color: var(--leaf); font-weight: 600; }

/* Sub-list (expanded child items) */
.cat-sub-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #efefef;
  background: #fafafa;
}
.cat-sub-list li {
  border-bottom: 1px solid #efefef;
}
.cat-sub-list li:last-child { border-bottom: none; }
.cat-sub-list li a {
  display: block;
  padding: 9px 16px 9px 24px;
  font-size: 12.5px;
  color: #666;
  text-decoration: none;
  font-weight: 400;
  transition: color 0.12s;
}
.cat-sub-list li a:hover { color: var(--leaf); }
.cat-sub-list li.active a {
  color: var(--leaf);
  font-weight: 600;
  background: #f0faf5;
}

.cat-plus { color: #aaa; font-size: 13px; font-weight: 400; flex-shrink: 0; margin-left: 8px; }

/* ── MAIN CONTENT AREA ── */
main.page-main { min-width: 0; }

/* Product section header */
.product-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.product-section-head h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.product-section-head h2::before,
.product-section-head h2::after { display: none; }

/* Filter pills */
.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 24px 0;
  margin-bottom: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.filter-btn {
  padding: 7px 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line);
  background: var(--paper);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
}
.filter-btn:hover { border-color: var(--line-strong); background: var(--paper-2); }
.filter-btn.active { border-color: var(--chilli); background: var(--chilli-soft); color: var(--chilli); }

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 12px;
}
.product-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  border-color: #ccc;
  transform: translateY(-2px);
}
/* The card anchor wraps img + body */
.product-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
/* Image area — square, image contained with padding */
.product-card a > img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #f7f7f5;
  padding: 14px;
  border-bottom: 1px solid #ebebeb;
  transition: transform 0.25s ease;
}
.product-card:hover a > img { transform: scale(1.03); }
.product-card-body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-card-material {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--chilli);
}
.product-card-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.35;
}
.product-card-cta {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--chilli);
  margin-top: auto;
  padding-top: 8px;
}

/* Product count bar */
.product-count-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--smoke);
  margin-bottom: 16px;
}
.product-count-bar a { font-weight: 600; font-size: 13px; color: var(--chilli); text-decoration: none; }

/* Pagination */
.product-pagination {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  align-items: center;
}
.page-btn {
  height: 36px;
  min-width: 36px;
  padding: 0 10px;
  border: 1.5px solid var(--line);
  background: var(--paper);
  border-radius: var(--r-2);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
}
.page-btn:hover { border-color: var(--line-strong); background: var(--paper-2); }
.page-btn.active { background: var(--chilli); border-color: var(--chilli); color: #fff; }
.page-btn.prev-next { padding: 0 16px; color: var(--ink-2); }

/* ── MAIN CONTENT TYPOGRAPHY ── */
.page-main h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
  margin: 40px 0 18px;
  padding-bottom: 16px;
  border-bottom: 3px solid var(--chilli);
  display: inline-block;
}
.page-main h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--ink);
  margin: 32px 0 12px;
}
.page-main h3 {
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin: 20px 0 8px;
}
.page-main p { color: var(--ink-2); font-size: 15px; line-height: 1.65; margin-bottom: 14px; }
.page-main p em { color: var(--smoke); font-size: 13px; font-style: normal; }
.page-main ul, .page-main ol {
  padding-left: 28px;
  margin-bottom: 16px;
  margin-top: 4px;
  color: var(--ink-2);
}
.page-main ul li, .page-main ol li { margin-bottom: 4px; font-size: 15px; line-height: 1.6; }
.page-main strong { color: var(--ink); font-weight: 700; }
.page-main a { color: var(--chilli); }
.page-main table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 20px 0 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
}
.page-main table th {
  background: var(--paper-2);
  font-weight: 700;
  font-size: 13px;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}
.page-main table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.page-main table tr:last-child td { border-bottom: none; }
.page-main table tr:hover td { background: var(--paper-2); }

/* Materials grid */
.material-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 20px 0 32px;
}
.material-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 20px 22px;
  transition: border-color var(--dur-base), transform var(--dur-base);
}
.material-card:hover { border-color: var(--leaf); transform: translateY(-2px); }
.material-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--leaf);
  margin: 0 0 8px;
}
.material-card h3 a { color: var(--leaf); text-decoration: none; }
.material-card h3 a:hover { color: var(--chilli); }
.material-card p { font-size: 14px; color: var(--ink-2); margin: 0; line-height: 1.55; }

/* ── FAQ ACCORDION ── */
.faq-section-head {
  padding: 48px 0 32px;
}
.faq-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--chilli);
  margin-bottom: 12px;
}
.faq-section-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0 0;
  color: var(--ink);
}
.faq-section-head h2 .accent { color: var(--chilli); }
.faq-section-head h2::before,
.faq-section-head h2::after { display: none; }

.faq-list { margin: 0 0 40px; }
.faq-item {
  border-top: 1px solid var(--line);
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 22px 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.3;
  transition: color var(--dur-fast);
}
.faq-q:hover { color: var(--chilli); }
.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--line-strong);
  flex: 0 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  color: var(--smoke);
  transition: transform var(--dur-fast), background var(--dur-fast), border-color var(--dur-fast), color var(--dur-fast);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--chilli);
  border-color: var(--chilli);
  color: #fff;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms var(--ease-out);
}
.faq-item.open .faq-a { max-height: 400px; }
.faq-a-inner {
  padding-bottom: 24px;
  color: var(--ink-2);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 68ch;
}
.faq-a-inner a { color: var(--chilli); }

/* ── CASE STUDIES ── */
.case-studies-section { margin: 40px 0 32px; }
.case-studies-section h2 { font-size: 22px; }
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.case-study-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.case-study-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.case-study-card-img { width: 100%; height: 140px; object-fit: cover; }
.case-study-card-body { padding: 16px 18px; }
.case-study-card-tag { font-size: 11px; font-weight: 700; color: var(--chilli); text-transform: uppercase; letter-spacing: 0.1em; }
.case-study-card-name { font-size: 15px; font-weight: 700; color: var(--ink); margin: 6px 0 4px; line-height: 1.3; }
.case-study-card-desc { font-size: 13px; color: var(--ink-2); line-height: 1.5; margin-bottom: 10px; }
.case-study-card-link { font-size: 13px; font-weight: 700; color: var(--chilli); }

/* ── GOOGLE REVIEWS ── */
.reviews-section { margin: 40px 0; }
.reviews-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.google-badge { display: flex; align-items: center; gap: 12px; }
.google-g {
  width: 40px; height: 40px;
  background: #4285F4;
  border-radius: var(--r-2);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 18px;
}
.google-badge-info { line-height: 1.2; }
.rating-num { font-weight: 800; font-size: 22px; color: var(--ink); }
.rating-stars { color: #FBBC04; font-size: 14px; }
.rating-label { font-size: 11px; color: var(--smoke); }
.reviews-header h3 { font-size: 20px; font-weight: 700; color: var(--ink); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 20px 22px;
}
.review-stars { color: #FBBC04; font-size: 14px; margin-bottom: 10px; }
.review-text { font-size: 14px; color: var(--ink-2); line-height: 1.6; margin-bottom: 14px; font-style: italic; }
.review-author { font-size: 14px; font-weight: 700; color: var(--ink); }
.review-company { font-size: 12px; color: var(--smoke); }
.review-date { font-size: 11px; color: var(--smoke-2); margin-top: 4px; }

/* Related posts */
.related-posts { background: var(--paper-2); border-radius: var(--r-3); padding: 20px 24px; margin: 32px 0; }
.related-posts h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.related-posts ul { list-style: none; padding: 0; margin: 0; }
.related-posts ul li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.related-posts ul li:last-child { border-bottom: none; }
.related-posts ul li a { color: var(--chilli); text-decoration: none; font-weight: 500; }
.related-posts ul li a:hover { text-decoration: underline; }

/* ── RIGHT SIDEBAR ── */
.page-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.trust-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 16px 18px;
}
.trust-box h4 {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--smoke);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.trust-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.trust-item:last-child { margin-bottom: 0; }
.trust-icon { font-size: 14px; flex-shrink: 0; margin-top: 1px; }
.trust-text { font-size: 12px; color: var(--ink-2); line-height: 1.45; }
.trust-text strong { display: block; color: var(--ink); font-size: 12px; }

/* Sidebar creds box — light, simple */
.sidebar-creds-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 16px 18px;
}
.sidebar-creds-box h4 {
  color: var(--smoke);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.sidebar-cred-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.sidebar-cred-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar-cred-icon {
  font-size: 14px; flex-shrink: 0; margin-top: 1px;
}
.sidebar-cred-name { font-size: 12px; font-weight: 700; color: var(--ink); line-height: 1.2; }
.sidebar-cred-desc { font-size: 11px; color: var(--smoke); margin-top: 2px; }

/* Sidebar CTA */
.sidebar-quote-cta {
  background: var(--chilli);
  border-radius: var(--r-3);
  padding: 18px 18px 16px;
  text-align: center;
}
.sidebar-quote-cta strong {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
}
.sidebar-quote-cta p {
  color: rgba(255,255,255,0.88);
  font-size: 12px;
  margin-bottom: 12px;
}
.sidebar-quote-cta a.sq-btn {
  display: block;
  background: #fff;
  color: var(--chilli);
  font-weight: 700;
  font-size: 13px;
  padding: 10px;
  border-radius: var(--r-2);
  text-decoration: none;
  transition: opacity var(--dur-fast);
}
.sidebar-quote-cta a.sq-btn:hover { opacity: 0.9; }
.sidebar-quote-cta .sq-phone { color: rgba(255,255,255,0.9); font-weight: 700; text-decoration: none; font-size: 12px; }

/* Sidebar material list */
.sidebar-material-list { list-style: none; padding: 0; margin: 0; }
.sidebar-material-list li { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.sidebar-material-list li:last-child { border-bottom: none; }
.sidebar-material-list a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--dur-fast);
}
.sidebar-material-list a:hover { color: var(--chilli); }

/* Sidebar Google rating */
.sidebar-google-rating { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 10px; }
.sidebar-google-rating .google-g { width: 32px; height: 32px; font-size: 14px; border-radius: var(--r-1); }
.sidebar-google-rating .rating-score { font-size: 22px; font-weight: 800; line-height: 1; color: var(--ink); }
.sidebar-google-rating .rating-stars { color: #FBBC04; font-size: 14px; }
.sidebar-google-rating .rating-label { font-size: 11px; color: var(--smoke); }

/* ── LEAD FORM SECTION (2-column, matches Welcome Kit) ── */
.lead-section {
  background: var(--paper-2);
  padding: 80px 0;
}
.lead-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: start;
}
.lead-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--chilli);
  margin-bottom: 12px;
}
.lead-left h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 16px;
}
.lead-left h2::before, .lead-left h2::after { display: none; }
.lead-left h2 .accent { color: var(--chilli); }
.lead-left h2 .underline {
  position: relative; white-space: nowrap;
  color: var(--chilli);
  text-decoration: underline;
  text-decoration-color: var(--sun);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}
.lead-left p { font-size: 17px; color: var(--ink-2); line-height: 1.6; margin-bottom: 24px; }
.lead-bullets { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 14px; }
.lead-bullets li { display: flex; align-items: flex-start; gap: 12px; font-size: 16px; color: var(--ink-2); line-height: 1.5; }
.lead-bullets .check {
  width: 22px; height: 22px; border-radius: var(--r-pill);
  background: var(--chilli); color: #fff; flex: 0 0 22px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; margin-top: 1px;
}
.lead-phone-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  margin-top: 8px;
}
.lead-phone-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  background: var(--chilli-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.lead-phone-text { font-size: 15px; }
.lead-phone-text strong { color: var(--chilli); font-weight: 700; }
.lead-phone-text small { display: block; color: var(--smoke); font-size: 12px; }

/* Form card */
.lead-form {
  background: var(--paper);
  padding: 36px;
  border-radius: var(--r-4);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-2);
}
.lead-form h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.lead-form > p { color: var(--smoke); font-size: 14px; margin: 0 0 24px; }
.qf-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}
.qf-input, .qf-select, .qf-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-2);
  font-family: var(--font);
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color var(--dur-fast);
  outline: none;
}
.qf-input:focus, .qf-select:focus, .qf-textarea:focus {
  border-color: var(--chilli);
  box-shadow: 0 0 0 3px var(--chilli-soft);
}
.qf-textarea { resize: vertical; min-height: 100px; }
.qf-input::placeholder, .qf-textarea::placeholder { color: var(--smoke-2); }
.quote-form-grid { display: flex; flex-direction: column; gap: 16px; }
.lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qf-submit {
  width: 100%;
  background: var(--chilli);
  color: #fff;
  font-family: var(--font);
  font-weight: 700;
  font-size: 16px;
  padding: 16px;
  border: 0;
  border-radius: var(--r-2);
  cursor: pointer;
  transition: background var(--dur-fast), transform var(--dur-fast);
  box-shadow: 0 4px 16px rgba(254,22,49,0.3);
}
.qf-submit:hover { background: var(--chilli-dark); transform: translateY(-1px); }
.qf-note { font-size: 12px; color: var(--smoke); margin-top: 12px; text-align: center; line-height: 1.5; }
.qf-note a { color: var(--smoke); text-decoration: underline; }

/* ── FINAL CTA (red bar before footer) ── */
.final-cta {
  background: var(--chilli);
  color: #fff;
  padding: 80px 0;
}
.final-cta-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.final-cta h2::before, .final-cta h2::after { display: none; }
.final-cta h2 .underline {
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
  text-decoration-color: rgba(255,255,255,0.5);
}
.final-cta p { font-size: 17px; color: rgba(255,255,255,0.85); margin: 14px 0 0; max-width: 46ch; }
.final-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.btn-white {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--chilli);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--r-2);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
  transition: background var(--dur-fast), transform var(--dur-fast);
  white-space: nowrap;
}
.btn-white:hover { background: #ffe8e8; transform: translateY(-1px); }
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: var(--r-2);
  text-decoration: none;
  white-space: nowrap;
  transition: border-color var(--dur-fast);
}
.btn-outline-white:hover { border-color: #fff; }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink);
  color: #fff;
  padding: 72px 0 40px;
}
.foot-top {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px 48px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.footer-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 28px;
  max-width: 16ch;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 15px;
  color: rgba(255,255,255,0.75);
}
.footer-contact-icon { color: var(--chilli); font-size: 15px; flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-contact-item a:hover { color: var(--chilli); }
.footer-social { margin-top: 24px; }
.footer-social span { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 1.2px; color: rgba(255,255,255,0.35); margin-bottom: 12px; font-weight: 700; }
.footer-social-links { display: flex; gap: 8px; }
.footer-social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 13px; font-weight: 600;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.footer-social-links a:hover { background: var(--chilli); color: #fff; border-color: var(--chilli); }
.footer-badges { display: flex; gap: 14px; align-items: center; margin-top: 20px; }
.footer-badges img { height: 34px; width: auto; opacity: 0.5; filter: grayscale(100%); }
.foot-contact-col { display: flex; flex-direction: column; }
.footer-carbon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
  width: fit-content;
}
.footer-carbon img { width: 24px; height: 24px; }

/* Location grid */
.foot-locations {
  max-width: var(--container);
  margin: 0 auto;
  padding: 40px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.foot-locations h5 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 20px;
  color: rgba(255,255,255,0.6);
}
.foot-loc-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.foot-loc h6 {
  font-size: 12.5px;
  font-weight: 700;
  margin: 0 0 12px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.foot-loc ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.foot-loc li { font-size: 14px; color: rgba(255,255,255,0.75); }

/* Footer bottom */
.footer-ack {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 32px 0;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.ack-flag {
  width: 52px; height: 34px; flex: 0 0 52px;
  border-radius: 2px; overflow: hidden;
  display: grid; grid-template-rows: 1fr 1fr;
}
.ack-flag .top { background: #000; }
.ack-flag .bot { background: #DE3831; position: relative; }
.ack-flag .dot {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  border-radius: var(--r-pill); background: #FFC72C;
}
.ack-text { font-size: 12px; color: rgba(255,255,255,0.55); line-height: 1.55; }
.footer-bottom {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  margin-top: 24px;
}
.footer-bottom a { color: rgba(255,255,255,0.45); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.8); }
.footer-bottom-links { display: flex; gap: 20px; }

/* ── STICKY CTA WIDGET ── */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  transform: translateY(140%);
  background: #fff;
  color: var(--ink);
  padding: 14px 18px;
  border-radius: var(--r-4);
  box-shadow: var(--shadow-pop);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: var(--z-sticky);
  max-width: calc(100vw - 48px);
  transition: transform 280ms var(--ease-out);
  border: 1px solid var(--line);
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .lbl { font-weight: 700; font-size: 14px; line-height: 1.35; }
.sticky-cta .lbl em { font-style: normal; color: var(--chilli); }
.sticky-cta .lbl small { display: block; font-size: 12px; font-weight: 500; color: var(--smoke); }
.sticky-cta-btn {
  display: inline-flex;
  align-items: center;
  background: var(--chilli);
  color: #fff;
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 20px;
  border-radius: var(--r-2);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--dur-fast);
}
.sticky-cta-btn:hover { background: var(--chilli-dark); }

/* ── BLOG POST ARTICLE STYLES ── */
.post-header { padding: 48px 0 40px; background: var(--paper); border-bottom: 1px solid var(--line); }
.post-header .container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.post-meta-bar { display: flex; align-items: center; gap: 16px; font-size: 13px; color: var(--smoke); flex-wrap: wrap; margin-bottom: 20px; }
.post-meta-bar span { display: flex; align-items: center; gap: 6px; }
.post-meta-bar .tag { background: var(--chilli-soft); color: var(--chilli); font-weight: 700; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; padding: 4px 10px; border-radius: var(--r-pill); }
.post-header h1 { font-weight: 800; font-size: clamp(32px, 5vw, 54px); letter-spacing: -0.025em; line-height: 1.1; color: var(--ink); margin: 0 0 18px; max-width: 22ch; }
.post-header .post-intro { font-size: 19px; color: var(--ink-2); line-height: 1.6; max-width: 60ch; }
.post-author { display: flex; align-items: center; gap: 14px; padding: 18px 0 0; border-top: 1px solid var(--line); margin-top: 24px; }
.post-author-av { width: 42px; height: 42px; border-radius: var(--r-pill); background: var(--chilli); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.post-author-info .name { font-weight: 700; font-size: 14px; color: var(--ink); }
.post-author-info .role { font-size: 12px; color: var(--smoke); }
.post-layout { max-width: var(--container); margin: 0 auto; padding: 48px 32px 80px; display: grid; grid-template-columns: 1fr 260px; gap: 48px; }
.post-body { min-width: 0; }
.post-body h2 { font-weight: 700; font-size: 26px; letter-spacing: -0.015em; line-height: 1.25; color: var(--ink); margin: 48px 0 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.post-body h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.post-body h3 { font-weight: 700; font-size: 20px; color: var(--ink); margin: 32px 0 12px; }
.post-body p { color: var(--ink-2); font-size: 16px; line-height: 1.75; margin-bottom: 18px; }
.post-body ul, .post-body ol { padding-left: 22px; margin-bottom: 22px; }
.post-body ul li, .post-body ol li { color: var(--ink-2); font-size: 16px; line-height: 1.7; margin-bottom: 8px; }
.post-body strong { color: var(--ink); font-weight: 700; }
.post-body a { color: var(--chilli); }
.post-body table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--r-3); overflow: hidden; }
.post-body table th { background: var(--paper-2); font-weight: 700; padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.post-body table td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.post-body table tr:last-child td { border-bottom: none; }
.callout { background: var(--paper-2); border-left: 4px solid var(--chilli); border-radius: var(--r-2); padding: 18px 22px; margin: 28px 0; }
.callout p { margin: 0; font-size: 15px; color: var(--ink); }
.post-sidebar { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 16px; }
.toc-box { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-3); padding: 20px 22px; }
.toc-box h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--smoke); margin-bottom: 14px; }
.toc-box ol { list-style: decimal; padding-left: 16px; }
.toc-box ol li { font-size: 13px; margin-bottom: 8px; }
.toc-box ol li a { color: var(--ink-2); text-decoration: none; }
.toc-box ol li a:hover { color: var(--chilli); }
.post-cta-box { background: var(--chilli); border-radius: var(--r-3); padding: 22px; text-align: center; }
.post-cta-box h4 { color: #fff; font-size: 17px; font-weight: 800; margin-bottom: 10px; }
.post-cta-box p { color: rgba(255,255,255,0.85); font-size: 13.5px; margin-bottom: 16px; }
.post-cta-box a { display: block; background: #fff; color: var(--chilli); font-weight: 700; padding: 12px; border-radius: var(--r-2); text-decoration: none; font-size: 14px; }
.post-cta-box a:hover { background: #ffe8e8; }

/* ── PREVIEW BADGE ── */
.preview-badge {
  position: fixed;
  bottom: 24px;
  left: 24px;
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  font-family: var(--font-mono);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  z-index: var(--z-sticky);
}
.preview-badge span { color: var(--chilli); font-weight: 700; }

/* ── BLOG SHARED COMPONENTS (credentials bar, page banner, inline products, author, cta, footer) ── */

/* Credentials bar */
.credentials-bar {
  background: #f8f8f6;
  border-bottom: 1px solid #e8e8e6;
  padding: 9px 0;
  overflow-x: auto;
}
.credentials-bar .container {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cred-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #999;
  flex-shrink: 0;
}
.cred-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}
.cred-pill.green { color: #1a8c64; background: rgba(34,163,122,0.09); border: 1px solid rgba(34,163,122,0.25); }
.cred-pill.gold  { color: #7a5200; background: rgba(200,140,0,0.09);   border: 1px solid rgba(200,140,0,0.25); }
.cred-pill.blue  { color: #1557a0; background: rgba(26,111,186,0.09);  border: 1px solid rgba(26,111,186,0.25); }
.cred-pill.red   { color: #b52020; background: rgba(214,60,47,0.08);   border: 1px solid rgba(214,60,47,0.22); }

/* Page banner (blog hero) */
.page-banner {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #1a2535;
}
.page-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  display: block;
}
.page-banner-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 40px;
}
.page-banner-content h1 {
  color: #fff;
  font-weight: 800;
  margin: 0 0 10px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.page-banner-content p {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  margin: 0;
}

/* Inline product callouts inside blog posts */
.inline-products {
  background: #f5f5f3;
  border: 1px solid #e8e8e6;
  border-radius: 10px;
  padding: 16px 18px 20px;
  margin: 28px 0;
}
.inline-products-label {
  font-size: 11px !important;
  font-weight: 700 !important;
  color: var(--leaf) !important;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 14px !important;
}
.inline-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.inline-product-card {
  background: #fff;
  border: 1px solid #e8e8e6;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.15s;
}
.inline-product-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.10); }
.inline-product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fafafa;
  padding: 8px;
  display: block;
}
.inline-product-card-name {
  font-size: 12px;
  font-weight: 600;
  color: #1a1a1a;
  padding: 8px 10px 4px;
  line-height: 1.35;
}
.inline-product-card-cta {
  font-size: 11px;
  font-weight: 700;
  color: var(--chilli);
  padding: 0 10px 10px;
  display: block;
}

/* Author box */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #f5f5f3;
  border: 1px solid #e8e8e6;
  border-radius: 10px;
  padding: 20px 22px;
  margin: 36px 0;
}
.author-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.author-avatar-letter { color: #fff; font-weight: 800; font-size: 20px; }
.author-details { flex: 1; min-width: 0; }
.author-name { font-weight: 700; font-size: 14px; color: #0e0e0e; }
.author-title { font-size: 12px; color: #888; margin-top: 2px; }
.author-bio { font-size: 13.5px; color: #555; line-height: 1.6; margin-top: 10px !important; margin-bottom: 10px !important; }
.author-creds { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.author-cred-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  background: rgba(34,163,122,0.09);
  color: #1a8c64;
  border: 1px solid rgba(34,163,122,0.22);
}
.dot { font-size: 8px; vertical-align: middle; margin-right: 2px; }

/* CTA banner inside blog posts */
.cta-banner {
  background: var(--chilli);
  border-radius: 10px;
  padding: 28px 32px;
  margin: 32px 0;
}
.cta-banner h2 {
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 800 !important;
  margin: 0 0 8px !important;
  border: none !important;
  padding: 0 !important;
}
.cta-banner p { color: rgba(255,255,255,0.88) !important; font-size: 14px !important; margin-bottom: 18px !important; }
.btn-white {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--chilli) !important;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 22px;
  border-radius: 8px;
  text-decoration: none !important;
  white-space: nowrap;
  margin-right: 10px;
  margin-top: 4px;
  transition: opacity 0.15s, transform 0.15s;
}
.btn-white:hover { opacity: 0.92; transform: translateY(-1px); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 8px;
  text-decoration: none !important;
  border: 1.5px solid rgba(255,255,255,0.7);
  white-space: nowrap;
  margin-top: 4px;
  transition: border-color 0.15s, background 0.15s;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }

/* Blog post footer (old class structure, shares .site-footer bg) */
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  padding: 44px 0 36px;
}
/* Scope the smaller size to blog-post footer-top only; hub page uses .foot-top which gets the large clamp() above */
.footer-top .footer-headline {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.3;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 11px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
}
.footer-contact-icon { flex-shrink: 0; margin-top: 1px; }
.footer-contact-item a { color: rgba(255,255,255,0.65); text-decoration: none; }
.footer-contact-item a:hover { color: #fff; }
.footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  color: rgba(255,255,255,0.45);
  font-size: 13px;
}
.footer-social-links { display: flex; gap: 8px; }
.footer-social-links a {
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 10px;
  font-weight: 700;
  transition: background 0.15s;
}
.footer-social-links a:hover { background: rgba(255,255,255,0.2); }
.footer-badges { display: flex; gap: 12px; margin-top: 20px; }
.footer-badges img { height: 38px; width: auto; opacity: 0.75; }
.footer-carbon {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 22px;
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.45;
}
.footer-carbon img { height: 36px; width: auto; flex-shrink: 0; }
.footer-ack {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-ack img { height: 34px; width: auto; flex-shrink: 0; border-radius: 3px; }
.footer-ack-text { font-size: 11.5px; color: rgba(255,255,255,0.38); line-height: 1.55; }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11.5px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom-links { display: flex; gap: 18px; }
.footer-bottom-links a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.65); }

/* ═══════════════════════════════════════════════════
   BLOG POST REDESIGN — shared across all 12 posts
   ═══════════════════════════════════════════════════ */

/* ── BLOG HERO (matches hub page visual language) ── */
.blog-hero {
  background: var(--paper);
  padding: 32px 0 0;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--line);
}
.blog-hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 24px 32px 0;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: flex-end;
}
.blog-hero-text { display: flex; flex-direction: column; gap: 14px; padding-bottom: 40px; }
.blog-hero-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--chilli-soft);
  color: var(--chilli);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  width: fit-content;
}
.blog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.8vw, 40px);
  font-weight: 800;
  color: #000;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.blog-hero h1 .kw-highlight {
  color: var(--chilli);
  text-decoration: underline;
  text-decoration-color: var(--sun);
  text-decoration-thickness: 4px;
  text-underline-offset: 6px;
}
.blog-hero-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--smoke);
  font-size: 13px;
  flex-wrap: wrap;
}
.blog-hero-meta .sep { color: var(--line-strong); }
.blog-hero-meta .cred-chip {
  background: #e8f7f2;
  border: 1px solid #b0e4d0;
  color: #1a7a57;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  font-size: 11px;
  font-weight: 600;
}
.blog-hero-img-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 280px;
}
.blog-hero-img-wrap img {
  width: 100%;
  max-width: 340px;
  max-height: 340px;
  object-fit: contain;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.18));
  display: block;
}
.blog-hero-floating {
  position: absolute;
  background: #fff;
  box-shadow: var(--shadow-2);
  border-radius: var(--r-3);
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
  color: var(--ink);
}
.blog-hero-floating.top { top: 16px; left: -20px; animation-delay: 0s; }
.blog-hero-floating.bottom { bottom: 40px; right: -16px; animation-delay: 2s; }
.blog-hero-floating .dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.blog-hero-floating .dot.green { background: var(--leaf); }
.blog-hero-floating .dot.yellow { background: var(--sun); }
.blog-hero-floating .dot.red { background: var(--chilli); }

/* ── BLOG FAQ ACCORDION (reuses hub-page faq classes) ── */
.blog-faq-section { margin: 48px 0 0; }
.blog-faq-section .faq-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chilli);
  margin-bottom: 10px;
}
.blog-faq-section .faq-section-head h2 {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -0.01em;
  border-bottom: none;
}
.blog-faq-section .faq-section-head h2::before { display: none; }
.blog-faq-section .faq-a-inner a { color: var(--chilli); }

/* ── BLOG TRUST STRIP ── */
.blog-trust-strip {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  padding: 20px 24px;
  margin: 32px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
}
.blog-trust-strip-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--smoke);
  flex-basis: 100%;
  margin-bottom: 4px;
}
.blog-trust-strip-item {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-trust-strip-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--leaf);
  flex-shrink: 0;
}

/* ── BLOG CASE STUDY CALLOUT ── */
.blog-case-callout {
  background: linear-gradient(135deg, #f0faf5 0%, #e8f5ef 100%);
  border: 1px solid #b0e4d0;
  border-left: 4px solid var(--leaf);
  border-radius: var(--r-3);
  padding: 24px;
  margin: 32px 0;
}
.blog-case-callout-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--leaf);
  margin-bottom: 8px;
}
.blog-case-callout blockquote {
  font-size: 15px;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.6;
}
.blog-case-callout cite {
  font-size: 12px;
  color: var(--smoke);
  font-style: normal;
  font-weight: 600;
}
.blog-case-callout .stat {
  display: inline-block;
  background: var(--leaf);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  margin-top: 10px;
  margin-right: 6px;
}

/* ── BLOG 2-COLUMN LAYOUT ── */
.blog-wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 52px 40px 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 52px;
  align-items: start;
}
.blog-content { min-width: 0; }

/* Blog content typography */
.blog-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink);
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--line);
}
.blog-content h2:first-child { margin-top: 0; }
.blog-content h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 28px 0 10px;
}
.blog-content h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 14px;
  background: var(--chilli);
  border-radius: 2px;
  margin-right: 10px;
  vertical-align: middle;
}
.blog-content p { font-size: 15px; line-height: 1.72; color: var(--ink-2); margin-bottom: 16px; }
.blog-content ul, .blog-content ol { padding-left: 22px; margin-bottom: 18px; }
.blog-content li { font-size: 15px; line-height: 1.65; color: var(--ink-2); margin-bottom: 7px; }
.blog-content strong { color: var(--ink); }
.blog-content a { color: var(--chilli); text-decoration: underline; text-decoration-color: rgba(254,22,49,0.3); }
.blog-content a:hover { text-decoration-color: var(--chilli); }
.blog-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: 14px; border-radius: var(--r-2); overflow: hidden; border: 1px solid var(--line); }
.blog-content table th { background: var(--ink); color: #fff; padding: 11px 14px; text-align: left; font-weight: 700; font-size: 13px; }
.blog-content table td { padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.blog-content table tr:last-child td { border-bottom: none; }
.blog-content table tr:nth-child(even) td { background: var(--paper-2); }

/* Byline */
.blog-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 0 28px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.blog-byline-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--chilli);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.blog-byline-text { font-size: 13px; color: var(--smoke); }
.blog-byline-text strong { color: var(--ink); display: block; margin-bottom: 1px; }

/* Related posts inline */
.blog-related-inline {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-left: 4px solid var(--leaf);
  border-radius: var(--r-2);
  padding: 16px 20px;
  margin: 32px 0;
}
.blog-related-inline p { margin: 0 0 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--smoke); }
.blog-related-inline ul { margin: 0; padding-left: 18px; }
.blog-related-inline li { margin-bottom: 4px; }
.blog-related-inline a { color: var(--leaf); font-size: 14px; font-weight: 600; }

/* ── BLOG SIDEBAR ── */
.blog-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* TOC */
.toc-widget {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
}
.toc-widget-head {
  background: var(--paper-2);
  padding: 12px 18px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--smoke);
  border-bottom: 1px solid var(--line);
}
.toc-list {
  list-style: none;
  padding: 12px 0;
  margin: 0;
}
.toc-list li { border-bottom: 1px solid var(--line); }
.toc-list li:last-child { border-bottom: none; }
.toc-list a {
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  display: block;
  padding: 9px 18px;
  transition: all 0.12s;
  line-height: 1.4;
}
.toc-list a:hover { color: var(--chilli); background: var(--paper-2); padding-left: 22px; }

/* Sidebar CTA */
.sidebar-quote-cta-blog {
  background: var(--chilli);
  border-radius: var(--r-3);
  padding: 24px 20px;
  text-align: center;
}
.sidebar-quote-cta-blog h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 8px;
  line-height: 1.3;
}
.sidebar-quote-cta-blog p {
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  margin: 0 0 16px;
  line-height: 1.5;
}
.sidebar-quote-cta-blog a {
  display: block;
  background: #fff;
  color: var(--chilli);
  font-weight: 800;
  font-size: 14px;
  padding: 11px 16px;
  border-radius: var(--r-2);
  text-decoration: none;
  margin-bottom: 8px;
}
.sidebar-quote-cta-blog .sec-link {
  display: block;
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.3);
  margin-top: 6px;
  background: transparent;
  padding: 0;
  font-weight: 400;
  margin-bottom: 0;
}

/* Sidebar related */
.sidebar-related-widget {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-3);
  overflow: hidden;
}
.sidebar-related-widget-head {
  background: var(--paper-2);
  padding: 12px 18px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--smoke);
  border-bottom: 1px solid var(--line);
}
.sidebar-related-list {
  list-style: none;
  padding: 8px 0;
  margin: 0;
}
.sidebar-related-list li { border-bottom: 1px solid var(--line); }
.sidebar-related-list li:last-child { border-bottom: none; }
.sidebar-related-list a {
  font-size: 13px;
  color: var(--ink-2);
  text-decoration: none;
  display: block;
  padding: 10px 18px;
  transition: all 0.12s;
  line-height: 1.4;
}
.sidebar-related-list a:hover { color: var(--chilli); background: var(--paper-2); }

/* Sidebar hub CTA */
.sidebar-hub-link {
  border: 2px solid var(--leaf);
  border-radius: var(--r-3);
  padding: 16px 18px;
  text-align: center;
  background: #f0faf5;
}
.sidebar-hub-link p { font-size: 12px; color: var(--smoke); margin: 0 0 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.sidebar-hub-link a {
  display: block;
  background: var(--leaf);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: var(--r-2);
  text-decoration: none;
}

/* ── RESPONSIVE ── */

/* ── TABLET (≤1024px) ── */
@media (max-width: 1024px) {
  /* Category pages */
  .page-layout { grid-template-columns: 1fr; }
  .page-categories { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-products-showcase { display: none; }
  .aeo-facts { grid-template-columns: repeat(2, 1fr); }
  .lead-inner { grid-template-columns: 1fr; }
  .final-cta-inner { grid-template-columns: 1fr; }
  .final-cta-actions { justify-content: flex-start; }
  .foot-top { grid-template-columns: 1fr; }
  .foot-loc-grid { grid-template-columns: repeat(2, 1fr); }
  .post-layout { grid-template-columns: 1fr; }

  /* ── Blog layout: collapse sidebar to below content ── */
  .blog-wrap {
    grid-template-columns: 1fr;
    padding: 32px 24px 60px;
    gap: 32px;
  }
  .blog-sidebar {
    position: static;           /* remove sticky — no longer beside content */
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: start;
  }
  /* TOC spans full width on tablet, rest side-by-side */
  .toc-widget { grid-column: 1 / -1; }

  /* Blog hero: stack on tablet */
  .blog-hero-inner {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 24px 24px 0;
  }
  .blog-hero-img-wrap { display: none; } /* hide decorative product image below 1024px */
  .blog-hero-text { padding-bottom: 28px; }
}

/* ── MOBILE (≤768px) ── */
@media (max-width: 768px) {
  /* Header */
  .header-inner { padding: 12px 20px; }
  .main-nav { display: none; }

  /* Category hero */
  .hero-banner { padding: 48px 0 56px; }
  .hero-banner h1 { font-size: 38px; }
  .hero-stats { gap: 20px; }
  .aeo-answer-card { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .aeo-facts { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .material-grid { grid-template-columns: 1fr; }
  .case-studies-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .final-cta { padding: 56px 0; }
  .foot-loc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top .footer-headline { font-size: 32px; }
  .lead-section { padding: 56px 0; }
  .lead-inner { padding: 0 20px; }
  .lead-form { padding: 24px; }
  .lf-row { grid-template-columns: 1fr; }
  .sticky-cta { bottom: 16px; right: 16px; }

  /* ── Blog: full single-column mobile ── */
  .blog-wrap { padding: 24px 16px 48px; gap: 24px; }

  /* Blog hero */
  .blog-hero { padding: 20px 0 0; }
  .blog-hero-inner { padding: 16px 16px 0; }
  .blog-hero h1 { font-size: clamp(22px, 6vw, 32px); line-height: 1.15; }
  .blog-hero-meta { font-size: 12px; gap: 6px; }
  .blog-hero-cat { font-size: 10px; padding: 5px 12px; }

  /* Blog sidebar: stack vertically on mobile */
  .blog-sidebar { grid-template-columns: 1fr; }

  /* Hide sidebar CTA on mobile — sticky bottom button handles conversion */
  .sidebar-quote-cta-blog { display: none; }

  /* Related + hub link full width */
  .sidebar-related-widget,
  .sidebar-hub-link { width: 100%; }

  /* Blog content */
  .blog-content h2 { font-size: 19px; margin: 32px 0 12px; }
  .blog-content h3 { font-size: 16px; margin: 22px 0 8px; }
  .blog-content p { font-size: 15px; }

  /* Tables: horizontal scroll on mobile */
  .blog-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }

  /* Inline product cards: 2 columns on mobile */
  .inline-products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .inline-product-card-name { font-size: 12px; }

  /* CTA banner inside blog */
  .cta-banner { padding: 28px 20px; border-radius: 12px; }
  .cta-banner h2 { font-size: 20px; }
  .cta-banner .btn-white,
  .cta-banner .btn-outline { padding: 12px 20px; font-size: 14px; }

  /* FAQ section */
  .blog-faq-section { margin: 32px 0 0; }

  /* Footer adjustments */
  .foot-top { padding: 32px 20px; }
  .footer-bottom { padding: 16px 20px; flex-direction: column; gap: 10px; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .ack-text { font-size: 12px; }
}

/* ── SMALL PHONE (≤480px) ── */
@media (max-width: 480px) {
  /* Header CTA shrinks */
  .header-cta { font-size: 13px; padding: 9px 14px; }
  .header-phone { display: none; } /* phone number hidden — CTA button takes priority */

  /* Blog hero tighter */
  .blog-hero h1 { font-size: 22px; }
  .blog-wrap { padding: 20px 14px 40px; }

  /* Inline products: single column on very small phones */
  .inline-products-grid { grid-template-columns: 1fr; }

  /* Stats strip */
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 12px; }

  /* Footer locations: single column */
  .foot-loc-grid { grid-template-columns: 1fr 1fr; }

  /* Sticky CTA smaller */
  .sticky-cta-btn { font-size: 13px; padding: 11px 18px; }
}
