/* ==========================================================================
   firebrickssource.com — site-wide stylesheet
   Single source of truth. No imports, no per-page styles.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */

:root {
  /* Brand */
  --brand-primary:    #C84B1F;
  --brand-primary-dk: #A83A12;
  --brand-secondary:  #1A3A5C;
  --brand-secondary-dk: #112844;
  --brand-accent:     #F4A226;

  /* Neutrals */
  --gray-900: #1C1C1E;
  --gray-700: #3D3D3A;
  --gray-500: #6B6B68;
  --gray-300: #C8C6BE;
  --gray-200: #E4E2DA;
  --gray-100: #F4F3EF;
  --white:    #FFFFFF;

  /* Semantic */
  --success: #1D7A4A;
  --warning: #B97B10;
  --info:    #1A5C96;

  /* Temperature scale — used per product category */
  --temp-high: #C84B1F;
  --temp-mid:  #E07B2A;
  --temp-low:  #4A8FC1;
  --temp-chem: #6B4AA0;

  /* Typography */
  --font-sans: 'Manrope', 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'IBM Plex Mono', 'Courier New', monospace;

  --text-xs:   11px;
  --text-sm:   13px;
  --text-base: 15px;
  --text-md:   17px;
  --text-lg:   20px;
  --text-xl:   26px;
  --text-2xl:  34px;
  --text-3xl:  46px;
  --text-hero: 58px;

  /* 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;
  --space-10: 128px;

  /* Layout */
  --container:      1200px;
  --container-text: 780px;

  /* Effects */
  --radius-sm: 4px;
  --radius:    6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow:    0 4px 16px rgba(28,28,30,0.06);
  --shadow-lg: 0 12px 32px rgba(28,28,30,0.12);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand-secondary);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover { color: var(--brand-primary); }

button { font: inherit; cursor: pointer; }

/* --------------------------------------------------------------------------
   3. Typography
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-4);
  color: var(--gray-900);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
h4 { font-size: var(--text-lg); font-weight: 600; }
h5 { font-size: var(--text-md); font-weight: 600; }
h6 { font-size: var(--text-base); font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

p { margin: 0 0 var(--space-4); }
strong { color: var(--gray-900); font-weight: 600; }

ul, ol { margin: 0 0 var(--space-4); padding-left: var(--space-5); }
li { margin-bottom: var(--space-2); }

.eyebrow {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-primary);
  margin-bottom: var(--space-3);
}

.lede {
  font-size: var(--text-md);
  color: var(--gray-700);
  max-width: 60ch;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-5);
}
.container--text { max-width: var(--container-text); }

.section { padding: var(--space-8) 0; }
.section--lg { padding: var(--space-9) 0; }
.section--tight { padding: var(--space-6) 0; }
.section--dark { background: var(--brand-secondary); color: var(--gray-100); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--white); }
.section--surface { background: var(--gray-100); }

.grid { display: grid; gap: var(--space-5); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

@media (max-width: 1024px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-secondary);
  color: var(--white);
  padding: var(--space-3) var(--space-4);
  z-index: 200;
}
.skip-link:focus { left: var(--space-4); top: var(--space-4); }

/* --------------------------------------------------------------------------
   5. Header
   -------------------------------------------------------------------------- */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: var(--space-5);
  min-height: 72px;
  position: relative; /* positioning context for mega-menu */
}
.header-inner > .logo          { justify-self: start; grid-column: 1; }
.header-inner > .primary-nav   { justify-self: center; grid-column: 2; flex: none; }
.header-inner > .header-actions{ justify-self: end; grid-column: 3; }
.header-inner > .menu-toggle   { grid-column: 3; justify-self: end; }

.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--gray-900);
  font-weight: 700;
  font-size: var(--text-md);
  letter-spacing: -0.01em;
  text-decoration: none;
}
.logo__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: var(--brand-primary);
  color: var(--white);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0;
}
.logo__tld { color: var(--brand-primary); }

.primary-nav { flex: 1; display: flex; justify-content: center; }
.primary-nav > ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
/* <li> stays static so the mega-menu uses .header-inner (the 1200px container) as its positioning context. */
.primary-nav > ul > li { position: static; }
.primary-nav > ul > li > a {
  display: inline-flex;
  align-items: center;
  color: var(--gray-900);
  font-weight: 500;
  font-size: var(--text-sm);
  letter-spacing: -0.005em;
  padding: 10px 14px;
  border-radius: var(--radius);
  position: relative;
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.primary-nav > ul > li > a::before {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--brand-primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  border-radius: 1px;
}
.primary-nav > ul > li:hover > a,
.primary-nav > ul > li.is-open > a,
.primary-nav > ul > li > a[aria-current="page"] {
  color: var(--brand-primary);
}
.primary-nav > ul > li:hover > a::before,
.primary-nav > ul > li.is-open > a::before,
.primary-nav > ul > li > a[aria-current="page"]::before {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* ---- Language dropdown — Google Translate proxy switcher ---- */
.lang-dropdown { position: relative; }
.lang-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: transparent;
  border: 1px solid #d8d6d0;
  border-radius: 8px;
  color: var(--gray-900);
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  line-height: 1;
}
.lang-dropdown__toggle:hover,
.lang-dropdown.is-open .lang-dropdown__toggle {
  background: #fafaf7;
  border-color: var(--gray-900);
  color: var(--gray-900);
}
.lang-dropdown__toggle svg { width: 14px; height: 14px; display: block; flex-shrink: 0; }
.lang-dropdown__caret {
  width: 8px !important; height: 8px !important;
  margin-left: 2px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  display: inline-block;
  transform: rotate(45deg) translate(-1px, -1px);
  border-radius: 0 !important;
  background: transparent !important;
  transition: transform 0.2s;
}
.lang-dropdown.is-open .lang-dropdown__caret {
  transform: rotate(-135deg) translate(-1px, -1px);
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 200px;
  background: #fff;
  border: 1px solid #ececea;
  border-radius: 10px;
  box-shadow: 0 18px 40px -16px rgba(28,28,30,0.16), 0 2px 8px -2px rgba(28,28,30,0.04);
  padding: 6px;
  list-style: none;
  margin: 0;
  z-index: 130;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  max-height: 70vh;
  overflow-y: auto;
}
.lang-dropdown.is-open .lang-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.lang-dropdown__menu li { margin: 0; }
.lang-dropdown__menu button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 9px 12px;
  background: transparent;
  border: 0;
  border-radius: 6px;
  text-align: left;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-900);
  cursor: pointer;
  font-family: inherit;
  line-height: 1.2;
  transition: background-color 0.12s, color 0.12s, padding-left 0.12s;
}
.lang-dropdown__menu button .lang-code {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8a8a8c;
  font-weight: 600;
}
.lang-dropdown__menu button:hover {
  background: #faf9f5;
  color: var(--brand-primary);
  padding-left: 16px;
}
.lang-dropdown__menu button[aria-current="true"] {
  background: rgba(200,75,31,0.08);
  color: var(--brand-primary);
}
.lang-dropdown__menu button[aria-current="true"] .lang-code { color: var(--brand-primary); }

/* On mobile, the toggle hides its EN label for compactness */
@media (max-width: 600px) {
  .lang-dropdown__toggle { padding: 8px 10px; }
  .lang-dropdown__toggle span:not(.lang-dropdown__caret) { display: none; }
}
/* Smaller Quote button in header (less weight against the centered nav) */
.header-actions .btn-primary {
  padding: 9px 18px;
  font-size: var(--text-sm);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 10px var(--space-4);
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
}
.whatsapp-btn:hover { background: #1faa54; color: var(--white); }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  width: 40px; height: 40px;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
}
.menu-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--gray-900);
  margin: 0 auto;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 1024px) {
  .header-inner {
    display: flex; /* override desktop grid */
    grid-template-columns: none;
    gap: var(--space-3);
    justify-content: space-between;
  }
  .header-inner > .logo,
  .header-inner > .primary-nav,
  .header-inner > .header-actions,
  .header-inner > .menu-toggle { grid-column: auto; justify-self: auto; }
  .primary-nav {
    position: absolute;
    inset: 72px 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    display: none;
    padding: var(--space-3) var(--space-5);
    justify-content: stretch;
    box-shadow: 0 12px 24px rgba(28,28,30,0.08);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .primary-nav.is-open { display: block; }
  .primary-nav > ul { flex-direction: column; gap: 0; align-items: stretch; }
  .primary-nav a {
    display: flex;
    width: 100%;
    padding: 14px 0;
    border-radius: 0;
    border-bottom: 1px solid var(--gray-100);
    font-size: var(--text-base);
    font-weight: 500;
  }
  .primary-nav a::before { display: none; }
  .has-dropdown > a { justify-content: space-between; padding-right: 0; }
  .has-dropdown > a::after { margin-top: 0; margin-left: auto; }
  .has-dropdown.is-open > a::after { margin-top: 0; }
  .has-dropdown::after { display: none !important; }
  .whatsapp-btn span { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 600px) {
  .header-actions .btn-primary { padding: 10px var(--space-4); font-size: var(--text-sm); }
}

/* --------------------------------------------------------------------------
   6. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding-top: var(--space-8);
  margin-top: var(--space-9);
}
.site-footer h4 {
  color: var(--white);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-6);
  padding-bottom: var(--space-7);
}
@media (max-width: 1024px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .footer-grid { grid-template-columns: 1fr; } }

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--space-2); }
.site-footer a { color: var(--gray-300); font-size: var(--text-sm); }
.site-footer a:hover { color: var(--white); }

.footer-about p { font-size: var(--text-sm); margin-bottom: var(--space-3); }
.footer-contact { font-size: var(--text-sm); line-height: 1.8; }
.footer-contact strong { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: var(--space-4) 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--gray-500);
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */

.btn-primary, .btn-secondary, .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.1s, border-color 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand-primary);
  color: var(--white);
  padding: 14px 28px;
  border: 1.5px solid var(--brand-primary);
}
.btn-primary:hover  { background: var(--brand-primary-dk); border-color: var(--brand-primary-dk); color: var(--white); }
.btn-primary:active { transform: scale(0.98); }

.btn-secondary {
  background: transparent;
  color: var(--brand-secondary);
  border: 1.5px solid var(--brand-secondary);
  padding: 12px 24px;
}
.btn-secondary:hover { background: var(--brand-secondary); color: var(--white); }

.btn-ghost {
  background: transparent;
  color: var(--gray-700);
  border: 1px solid var(--gray-300);
  padding: 10px 20px;
}
.btn-ghost:hover { background: var(--gray-100); color: var(--gray-900); border-color: var(--gray-500); }

.btn-on-dark.btn-secondary {
  color: var(--white);
  border-color: var(--white);
}
.btn-on-dark.btn-secondary:hover { background: var(--white); color: var(--brand-secondary); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--brand-primary);
  box-shadow: 0 4px 16px rgba(200,75,31,0.08);
  transform: translateY(-2px);
}
.card h3 { font-size: var(--text-lg); margin-bottom: var(--space-2); }
.card p  { font-size: var(--text-sm); color: var(--gray-700); }
.card__footer { margin-top: auto; padding-top: var(--space-4); }

.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.card-category {
  border-top: 3px solid var(--category-color, var(--brand-primary));
}
.card-category .badge { margin-bottom: var(--space-3); }
.card-category .arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-weight: 600;
  color: var(--brand-primary);
  font-size: var(--text-sm);
}
.card-category:hover .arrow { gap: var(--space-3); }

.card-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  text-align: center;
}
.card-stat__value {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--brand-accent);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--space-2);
}
.card-stat__label {
  font-size: var(--text-sm);
  color: var(--gray-100);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 4px 10px;
  background: var(--gray-100);
  color: var(--gray-700);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid var(--gray-200);
}
.badge--temp-high { background: rgba(200,75,31,0.08); color: var(--temp-high); border-color: rgba(200,75,31,0.2); }
.badge--temp-mid  { background: rgba(224,123,42,0.08); color: var(--temp-mid);  border-color: rgba(224,123,42,0.2); }
.badge--temp-low  { background: rgba(74,143,193,0.08); color: var(--temp-low);  border-color: rgba(74,143,193,0.2); }
.badge--temp-chem { background: rgba(107,74,160,0.08); color: var(--temp-chem); border-color: rgba(107,74,160,0.2); }

/* --------------------------------------------------------------------------
   9. Forms
   -------------------------------------------------------------------------- */

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); margin-bottom: var(--space-4); }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: var(--space-4); }

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
  margin-bottom: 6px;
}
.form-label .req { color: var(--brand-primary); }

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font: inherit;
  font-size: var(--text-base);
  color: var(--gray-900);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-secondary);
  box-shadow: 0 0 0 3px rgba(26,58,92,0.12);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-help { font-size: var(--text-xs); color: var(--gray-500); margin-top: 4px; }

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2) var(--space-4);
}
@media (max-width: 600px) { .checkbox-grid { grid-template-columns: 1fr; } }
.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--gray-700);
  cursor: pointer;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
}
.checkbox-grid label:hover { background: var(--gray-100); }
.checkbox-grid input[type="checkbox"] { accent-color: var(--brand-primary); width: 16px; height: 16px; }

/* Honeypot (hidden, but accessible to bots) */
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* --------------------------------------------------------------------------
   10. Tables
   -------------------------------------------------------------------------- */

.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-5) 0;
  font-size: var(--text-sm);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.specs-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  color: var(--gray-900);
  padding: var(--space-3) 0;
  font-size: var(--text-base);
}
.specs-table th, .specs-table td {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
}
.specs-table thead th {
  background: var(--gray-100);
  font-weight: 600;
  color: var(--gray-900);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.specs-table tbody tr:last-child td { border-bottom: none; }
.specs-table tbody tr:hover { background: var(--gray-100); }
.specs-table th[scope="row"] { font-weight: 500; color: var(--gray-900); width: 40%; }

/* Horizontal scroll on small viewports */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --------------------------------------------------------------------------
   11. Breadcrumb
   -------------------------------------------------------------------------- */

.breadcrumb {
  font-size: var(--text-sm);
  color: var(--gray-500);
  padding: var(--space-4) 0;
  border-bottom: 1px solid var(--gray-200);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--space-2); list-style: none; padding: 0; margin: 0; }
.breadcrumb li { margin: 0; display: flex; align-items: center; gap: var(--space-2); }
.breadcrumb li + li::before { content: "›"; color: var(--gray-300); }
.breadcrumb a { color: var(--gray-500); }
.breadcrumb a:hover { color: var(--brand-primary); }
.breadcrumb [aria-current="page"] { color: var(--gray-900); font-weight: 500; }

/* --------------------------------------------------------------------------
   12. Hero
   -------------------------------------------------------------------------- */

.hero {
  background:
    linear-gradient(135deg, rgba(26,58,92,0.92) 0%, rgba(26,58,92,0.78) 60%, rgba(200,75,31,0.78) 100%),
    radial-gradient(at 30% 20%, rgba(244,162,38,0.25), transparent 50%);
  background-color: var(--brand-secondary-dk);
  color: var(--white);
  padding: var(--space-9) 0 var(--space-9);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,0.025) 0 1px, transparent 1px 80px);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero h1 {
  font-size: var(--text-hero);
  color: var(--white);
  max-width: 18ch;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}
.hero .lede {
  color: rgba(255,255,255,0.85);
  font-size: var(--text-md);
  max-width: 60ch;
  margin-bottom: var(--space-5);
}
.hero .eyebrow { color: var(--brand-accent); }
.hero .btn-row { margin-top: var(--space-5); }

.hero--page { padding: var(--space-8) 0 var(--space-7); }
.hero--page h1 { font-size: var(--text-2xl); max-width: 28ch; }

@media (max-width: 768px) {
  .hero { padding: var(--space-7) 0 var(--space-7); }
  .hero h1 { font-size: var(--text-2xl); }
  .hero--page h1 { font-size: var(--text-xl); }
}

/* --------------------------------------------------------------------------
   13. Stats bar
   -------------------------------------------------------------------------- */

.stats-bar { background: var(--brand-secondary); color: var(--white); padding: var(--space-6) 0; }
.stats-bar .grid--4 { gap: var(--space-4); }

/* --------------------------------------------------------------------------
   14. Trust bar
   -------------------------------------------------------------------------- */

.trust-bar {
  background: var(--gray-100);
  padding: var(--space-6) 0;
  text-align: center;
}
.trust-bar p { color: var(--gray-700); margin-bottom: var(--space-4); font-size: var(--text-sm); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-5) var(--space-7);
}
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--gray-700);
}

/* --------------------------------------------------------------------------
   15. CTA banner
   -------------------------------------------------------------------------- */

.cta-banner {
  background:
    linear-gradient(120deg, var(--brand-secondary) 0%, var(--brand-primary) 100%);
  color: var(--white);
  padding: var(--space-8) 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: var(--space-3); }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 60ch; margin: 0 auto var(--space-5); }
.cta-banner .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   16. FAQ (uses native <details>)
   -------------------------------------------------------------------------- */

.faq { display: flex; flex-direction: column; gap: var(--space-3); }
.faq__item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  overflow: hidden;
}
.faq__item[open] { border-color: var(--brand-primary); box-shadow: var(--shadow-sm); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--brand-primary);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq__item[open] summary::after { content: "−"; }
.faq__item-body {
  padding: 0 var(--space-5) var(--space-5);
  color: var(--gray-700);
  font-size: var(--text-base);
}
.faq__item-body p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   17. Product detail
   -------------------------------------------------------------------------- */

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  padding: var(--space-7) 0;
}
@media (max-width: 1024px) { .product-hero { grid-template-columns: 1fr; gap: var(--space-5); } }

.product-gallery {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-size: var(--text-sm);
  overflow: hidden;
  position: relative;
}
.product-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(200,75,31,0.04) 0 12px, transparent 12px 24px);
}
/* When a real <img> is present, hide the diagonal placeholder pattern */
.product-gallery:has(img)::before { display: none; }
.product-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}

.product-snapshot {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-snapshot h1 { font-size: var(--text-2xl); margin-bottom: var(--space-4); }
.product-snapshot__specs {
  list-style: none;
  padding: 0;
  margin: var(--space-4) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3) var(--space-4);
}
.product-snapshot__specs li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--space-3);
  background: var(--gray-100);
  border-radius: var(--radius);
  font-size: var(--text-sm);
}
.product-snapshot__specs .label { color: var(--gray-500); font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.product-snapshot__specs .value { color: var(--gray-900); font-weight: 600; font-size: var(--text-base); }

/* Pain points / industries / USPs */
.icon-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}
.icon-card__icon {
  width: 44px; height: 44px;
  background: rgba(200,75,31,0.08);
  color: var(--brand-primary);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-lg);
  font-weight: 700;
  margin-bottom: var(--space-2);
}
.icon-card h3 { font-size: var(--text-md); margin-bottom: var(--space-1); }
.icon-card p { font-size: var(--text-sm); margin: 0; }

/* --------------------------------------------------------------------------
   18. Quote panel / inline mini-form
   -------------------------------------------------------------------------- */

.quote-panel {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.quote-panel h3 { margin-top: 0; }

/* --------------------------------------------------------------------------
   19. Floating WhatsApp button
   -------------------------------------------------------------------------- */

.whatsapp-float {
  position: fixed;
  right: var(--space-5);
  bottom: var(--space-5);
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 95;
  box-shadow: 0 8px 24px rgba(37,211,102,0.32), 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(1.5); opacity: 0;   }
}
.whatsapp-float:hover {
  transform: scale(1.06);
  color: var(--white);
  background: #1faa54;
  box-shadow: 0 12px 32px rgba(37,211,102,0.42), 0 4px 8px rgba(0,0,0,0.12);
}
.whatsapp-float svg { width: 30px; height: 30px; display: block; }
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float::before { animation: none; }
}

/* --------------------------------------------------------------------------
   20. Utilities
   -------------------------------------------------------------------------- */

.text-center { text-align: center; }
.text-muted  { color: var(--gray-500); }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }
.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }
.mb-6 { margin-bottom: var(--space-6); }

.section-head { text-align: center; max-width: 720px; margin: 0 auto var(--space-6); }
.section-head h2 { margin-bottom: var(--space-3); }
.section-head p  { color: var(--gray-700); }

.divider {
  height: 1px;
  background: var(--gray-200);
  margin: var(--space-6) 0;
  border: none;
}

/* --------------------------------------------------------------------------
   21. Reduced motion
   -------------------------------------------------------------------------- */

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

/* --------------------------------------------------------------------------
   22. Focus visibility
   -------------------------------------------------------------------------- */

:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   23. Industrial dossier — distinctive components
   -------------------------------------------------------------------------- */

/* Technical micro-label: hairline rule + monospace code */
.tech-rule {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  margin-bottom: var(--space-4);
}
.tech-rule::before { content: ""; flex: 0 0 32px; height: 1px; background: var(--brand-primary); }
.tech-rule--center { justify-content: center; }
.tech-rule--center::after { content: ""; flex: 0 0 32px; height: 1px; background: var(--brand-primary); }
.tech-rule--light { color: rgba(255,255,255,0.7); }
.tech-rule--light::before, .tech-rule--light::after { background: var(--brand-accent); }

/* Monospace numeric callout */
.measure {
  font-family: var(--font-mono);
  font-feature-settings: "tnum" 1;
  letter-spacing: -0.01em;
}

/* Hero — split asymmetric layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
}

/* Technical snapshot card (hero sidebar) */
.tech-snapshot {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  backdrop-filter: blur(6px);
  position: relative;
}
.tech-snapshot::before {
  content: "TECHNICAL SNAPSHOT";
  position: absolute;
  top: -10px;
  left: var(--space-5);
  background: var(--brand-primary);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}
.tech-snapshot dl { margin: 0; display: grid; gap: var(--space-3); }
.tech-snapshot__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px dashed rgba(255,255,255,0.15);
}
.tech-snapshot__row:last-child { border-bottom: none; padding-bottom: 0; }
.tech-snapshot dt {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
  margin: 0;
}
.tech-snapshot dd {
  margin: 0;
  color: var(--white);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: var(--text-md);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.tech-snapshot dd .unit {
  font-size: var(--text-xs);
  color: var(--brand-accent);
  margin-left: 4px;
}

/* Temperature gradient scale visual */
.temp-scale {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg,
    var(--temp-low) 0%,
    var(--temp-mid) 40%,
    var(--temp-high) 75%,
    #7a2410 100%);
  position: relative;
}
.temp-scale__markers {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-2);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gray-500);
}

/* Alumina meter — small horizontal bar for category cards */
.alumina-meter {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.alumina-meter__track {
  flex: 1;
  height: 4px;
  background: var(--gray-200);
  border-radius: 999px;
  overflow: hidden;
}
.alumina-meter__fill {
  height: 100%;
  background: var(--category-color, var(--brand-primary));
  border-radius: 999px;
}
.alumina-meter__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gray-500);
  white-space: nowrap;
}

/* Brick tile pattern — decorative background utility */
.brick-pattern {
  background-image:
    linear-gradient(335deg, rgba(200,75,31,0.03) 0 25%, transparent 25%),
    linear-gradient(155deg, rgba(200,75,31,0.03) 0 25%, transparent 25%),
    linear-gradient(rgba(28,28,30,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28,28,30,0.04) 1px, transparent 1px);
  background-size: 60px 30px, 60px 30px, 60px 30px, 60px 30px;
  background-position: 0 0, 30px 15px, 0 0, 0 0;
}

/* Filter pills (products overview) */
.filter-bar {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  padding: var(--space-3) var(--space-4);
  background: var(--gray-100);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-5);
}
.filter-bar__label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-right: var(--space-2);
}
.filter-pill {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.filter-pill:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.filter-pill[aria-pressed="true"] {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--white);
}

/* USP block — number-led */
.usp {
  position: relative;
  padding: var(--space-5) 0 var(--space-5) var(--space-7);
  border-top: 1px solid var(--gray-200);
}
.usp::before {
  content: attr(data-num);
  position: absolute;
  top: var(--space-5);
  left: 0;
  font-family: var(--font-mono);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--brand-primary);
  letter-spacing: 0.04em;
}
.usp h3 { font-size: var(--text-md); margin-bottom: var(--space-2); }
.usp p  { font-size: var(--text-sm); color: var(--gray-700); margin: 0; }

/* Hairline section divider with label */
.section-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  margin-bottom: var(--space-7);
}
.section-marker::before, .section-marker::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}
.section-marker span {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* Industry strip */
.industry-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--gray-900);
  font-weight: 500;
  font-size: var(--text-sm);
  transition: all 0.15s;
}
.industry-pill:hover {
  border-color: var(--brand-secondary);
  color: var(--brand-secondary);
  transform: translateX(2px);
}
.industry-pill__icon {
  width: 32px; height: 32px;
  background: var(--gray-100);
  color: var(--brand-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 700;
}

/* Featured product card with side image */
.feature-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
}
.feature-card:hover { border-color: var(--brand-primary); box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.feature-card__thumb {
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  border-radius: var(--radius);
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}
.feature-card__thumb::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 2px solid rgba(200,75,31,0.18);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(335deg, rgba(200,75,31,0.18) 0 25%, transparent 25%),
    linear-gradient(155deg, rgba(200,75,31,0.18) 0 25%, transparent 25%);
  background-size: 30px 15px;
  background-position: 0 0, 15px 7.5px;
}
.feature-card h4 { font-size: var(--text-md); margin: 0 0 var(--space-2); }
.feature-card p  { font-size: var(--text-sm); margin: 0 0 var(--space-2); color: var(--gray-500); }
.feature-card .measure { font-size: var(--text-sm); color: var(--brand-primary); font-weight: 600; }
@media (max-width: 600px) { .feature-card { grid-template-columns: 90px 1fr; } }

/* Page hero variant — for sub-pages */
.hero--page {
  background: var(--brand-secondary);
}
.hero--page .breadcrumb {
  background: transparent;
  border-bottom: none;
  padding: 0 0 var(--space-3);
  color: rgba(255,255,255,0.6);
}
.hero--page .breadcrumb a { color: rgba(255,255,255,0.7); }
.hero--page .breadcrumb a:hover { color: var(--white); }
.hero--page .breadcrumb [aria-current="page"] { color: var(--white); }
.hero--page .breadcrumb li + li::before { color: rgba(255,255,255,0.4); }

/* Standalone breadcrumb (when not in hero) */
.breadcrumb-bar { background: var(--gray-100); }

/* Sub-product / variant card */
.variant-card {
  display: block;
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--category-color, var(--brand-primary));
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  overflow: hidden;
}

/* Top-of-card image thumb on category index pages — bleeds to all three edges */
.variant-card__image,
.card__image {
  display: block;
  margin-bottom: var(--space-4);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #faf9f5;
  border-bottom: 1px solid #ececea;
  position: relative;
}
.variant-card__image {
  margin-top: calc(-1 * var(--space-5));
  margin-right: calc(-1 * var(--space-5));
  margin-left: calc(-1 * var(--space-5));
}
/* card-link uses .card padding which is fluid via clamp(20px, 2vw, 28px) */
.card__image {
  margin-top: calc(-1 * clamp(20px, 2vw, 28px));
  margin-right: calc(-1 * clamp(20px, 2vw, 28px));
  margin-left: calc(-1 * clamp(20px, 2vw, 28px));
  border-radius: 12px 12px 0 0;
}
.card__image img,
.variant-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.variant-card:hover .variant-card__image img,
.card-link:hover .card__image img {
  transform: scale(1.03);
}
/* (image + hover rules consolidated above under .variant-card__image, .card__image) */
.variant-card:hover {
  border-color: var(--gray-300);
  border-left-color: var(--category-color, var(--brand-primary));
  box-shadow: var(--shadow);
  color: inherit;
}
.variant-card h3 { font-size: var(--text-md); margin: 0 0 var(--space-3); }
.variant-card__meta {
  display: flex;
  gap: var(--space-4);
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.variant-card__meta strong { color: var(--brand-primary); font-weight: 600; }

/* Process steps / pain points */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-5);
  counter-reset: step;
}
.step {
  position: relative;
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-mono);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: var(--space-3);
  letter-spacing: -0.02em;
}
.step h3 { font-size: var(--text-md); margin-bottom: var(--space-2); }
.step p  { font-size: var(--text-sm); margin: 0; color: var(--gray-700); }

/* Inline kbd-style tag */
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  font-weight: 600;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  color: var(--gray-700);
}

/* ==========================================================================
   24. Production polish — utility bar, mega-menu, refined footer, micro-details
   ========================================================================== */

/* -------------------- Top utility bar -------------------- */
.site-utility {
  background: var(--brand-secondary-dk);
  color: rgba(255,255,255,0.78);
  font-size: var(--text-xs);
  padding: 9px 0;
  position: relative;
  z-index: 101;
}
.site-utility::after {
  content: "";
  position: absolute;
  inset: 0 0 -1px 0;
  background: linear-gradient(90deg, transparent, rgba(244,162,38,0.4), transparent);
  height: 1px;
  top: auto;
}
.site-utility .container {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  align-items: center;
}
.site-utility a { color: rgba(255,255,255,0.85); transition: color 0.15s; }
.site-utility a:hover { color: var(--brand-accent); }
.util-sep { color: rgba(255,255,255,0.25); margin: 0 4px; }
.utility-left, .utility-right { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.util-tag { font-family: var(--font-mono); letter-spacing: 0.1em; color: var(--brand-accent); font-weight: 600; }
@media (max-width: 768px) {
  .site-utility { display: none; }
}

/* -------------------- Header refinements -------------------- */
.site-header {
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 12px rgba(28,28,30,0.06);
  border-bottom-color: transparent;
}
.header-inner { min-height: 76px; }

.logo__mark {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dk) 100%);
  box-shadow: 0 2px 8px rgba(200,75,31,0.28), inset 0 1px 0 rgba(255,255,255,0.18);
  position: relative;
}
.logo__mark::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: calc(var(--radius) - 2px);
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.08) 100%);
  pointer-events: none;
}

/* -------------------- Mega menu -------------------- */
/* has-dropdown is NOT the positioning context — header-inner is.
   This keeps the mega-menu centered on the page container regardless of which trigger opened it. */
.has-dropdown > a {
  padding-right: 8px; /* tighten so caret feels integrated, not floating */
}
.has-dropdown > a::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 6px;
  margin-top: -3px;
  opacity: 0.55;
  transition: transform 0.2s, opacity 0.2s, margin-top 0.2s;
  flex-shrink: 0;
}
.has-dropdown:hover > a::after,
.has-dropdown:focus-within > a::after,
.has-dropdown.is-open > a::after {
  transform: rotate(-135deg);
  margin-top: 3px;
  opacity: 1;
}

.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 48px -12px rgba(28,28,30,0.18), 0 8px 16px -8px rgba(28,28,30,0.08);
  padding: var(--space-6) var(--space-6) var(--space-5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  z-index: 120;
  margin-top: 0;
}
.mega-menu::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.has-dropdown:hover > .mega-menu,
.has-dropdown:focus-within > .mega-menu,
.has-dropdown.is-open > .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
/* Mega-menu touches header bottom directly (margin-top: 0) so hover stays continuous —
   no bridge element needed. */

.mega-menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: var(--space-6);
}
.mega-menu__col h4 {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gray-500);
  margin: 0 0 var(--space-3);
  font-weight: 600;
  font-family: var(--font-mono);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.mega-menu__col h4::before {
  content: "";
  width: 12px;
  height: 1px;
  background: var(--brand-primary);
  display: inline-block;
}
.mega-menu__col a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 0;
  color: var(--gray-900);
  font-size: var(--text-sm);
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
  transition: color 0.15s, padding-left 0.15s;
  position: relative;
}
.mega-menu__col a::after {
  content: "→";
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.15s, transform 0.15s;
  color: var(--brand-primary);
  font-weight: 600;
}
.mega-menu__col a:hover {
  color: var(--brand-primary);
  padding-left: 4px;
}
.mega-menu__col a:hover::after { opacity: 1; transform: translateX(0); }
.mega-menu__col a:last-child { border-bottom: none; }

.mega-menu__feature {
  background: linear-gradient(155deg, var(--gray-100) 0%, var(--gray-200) 100%);
  padding: var(--space-5);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.mega-menu__feature::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(200,75,31,0.12), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.mega-menu__feature h4 {
  color: var(--gray-900);
  font-size: var(--text-md);
  text-transform: none;
  letter-spacing: -0.01em;
  font-family: var(--font-sans);
  margin-bottom: var(--space-2);
}
.mega-menu__feature h4::before { display: none; }
.mega-menu__feature p {
  font-size: var(--text-sm);
  color: var(--gray-700);
  margin: 0 0 var(--space-4);
  flex: 1;
}
.mega-menu__feature .btn-primary,
.mega-menu__feature .btn-secondary {
  align-self: flex-start;
  padding: 10px 18px;
  font-size: var(--text-sm);
}

/* Mobile: dropdowns become accordions */
@media (max-width: 1024px) {
  .has-dropdown > a::after { margin-left: auto; }
  .has-dropdown > a { width: 100%; justify-content: space-between; }
  .mega-menu {
    position: static;
    width: 100%;
    max-width: none;
    transform: none;
    box-shadow: none;
    border: none;
    padding: var(--space-3) 0 var(--space-2) var(--space-3);
    background: transparent;
    border-radius: 0;
    opacity: 1;
    visibility: visible;
    display: none;
    transition: none;
  }
  .mega-menu::before { display: none; }
  .has-dropdown.is-open > .mega-menu { display: block; transform: none; }
  .has-dropdown:hover > .mega-menu,
  .has-dropdown:focus-within > .mega-menu {
    display: none;
  }
  .has-dropdown.is-open > .mega-menu { display: block; }
  .mega-menu__grid { grid-template-columns: 1fr; gap: var(--space-3); }
  .mega-menu__feature { display: none; }
  .mega-menu__col h4::before { display: none; }
  .mega-menu__col h4 { padding-left: 0; color: var(--brand-primary); margin-top: var(--space-2); }
  .mega-menu__col a { padding: 8px 0; border-bottom-color: var(--gray-200); }
}

/* -------------------- Footer top CTA strip -------------------- */
.footer-top {
  background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-secondary-dk) 60%, #0d2240 100%);
  padding: var(--space-7) 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
  margin-top: var(--space-9);
}
.footer-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 80px),
    radial-gradient(circle at 85% 50%, rgba(244,162,38,0.18), transparent 50%);
  pointer-events: none;
}
.footer-top__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-6);
  align-items: center;
  position: relative;
  z-index: 1;
}
.footer-top h3 {
  color: var(--white);
  font-size: var(--text-xl);
  margin: 0 0 var(--space-2);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.footer-top p {
  color: rgba(255,255,255,0.78);
  font-size: var(--text-base);
  margin: 0;
  max-width: 56ch;
}
.footer-top .btn-row { justify-content: flex-end; gap: var(--space-3); }
@media (max-width: 768px) {
  .footer-top { padding: var(--space-6) 0; margin-top: var(--space-7); }
  .footer-top__grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .footer-top .btn-row { justify-content: flex-start; }
  .footer-top h3 { font-size: var(--text-lg); }
}

/* -------------------- Footer main grid refinements -------------------- */
.site-footer {
  background: var(--gray-900);
  padding-top: 0;
  margin-top: 0;
}
.site-footer > .container { padding-top: var(--space-8); }
.site-footer h4 {
  color: var(--white);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: var(--space-4);
  font-family: var(--font-mono);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.site-footer h4::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 1px;
  background: var(--brand-accent);
}
.footer-logo { color: var(--white) !important; margin-bottom: var(--space-3); }
.footer-logo .logo__text { color: var(--white); }
.footer-about p { font-size: var(--text-sm); line-height: 1.65; color: var(--gray-300); margin-bottom: var(--space-4); }

.footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: var(--space-3);
  border-top: 1px solid rgba(255,255,255,0.08);
}
.footer-contact-row {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--space-3);
  font-size: var(--text-sm);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: center;
}
.footer-contact-row .label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.footer-contact-row a, .footer-contact-row span { color: var(--white); }

/* -------------------- Footer trust strip -------------------- */
.footer-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3) var(--space-5);
  padding: var(--space-4) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-top: var(--space-2);
}
.footer-trust__label {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-accent);
  font-weight: 600;
  font-size: var(--text-xs);
  padding-right: var(--space-4);
  border-right: 1px solid rgba(255,255,255,0.1);
}
.footer-trust__items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  flex: 1;
}
.footer-trust__items span {
  color: rgba(255,255,255,0.75);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-trust__items span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  background: var(--brand-accent);
  border-radius: 50%;
}
@media (max-width: 768px) {
  .footer-trust__label { border-right: none; padding-bottom: var(--space-2); border-bottom: 1px solid rgba(255,255,255,0.08); padding-right: 0; width: 100%; }
}

.footer-bottom {
  padding: var(--space-4) 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: var(--text-xs);
  color: var(--gray-500);
  border-top: none;
}

/* -------------------- Card refinements (universal polish) -------------------- */
.card {
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.card:hover::before { transform: scaleX(1); }

/* Category cards already have their own border-top accent — don't override that */
.card-category::before { display: none; }

/* -------------------- Button refinements -------------------- */
.btn-primary {
  box-shadow: 0 2px 8px rgba(200,75,31,0.22), inset 0 1px 0 rgba(255,255,255,0.15);
  background: linear-gradient(180deg, var(--brand-primary) 0%, #B83F17 100%);
}
.btn-primary:hover {
  box-shadow: 0 6px 16px rgba(200,75,31,0.32), inset 0 1px 0 rgba(255,255,255,0.15);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }

/* -------------------- Hero atmospheric polish -------------------- */
.hero {
  background:
    radial-gradient(at 78% 18%, rgba(244,162,38,0.18) 0%, transparent 40%),
    radial-gradient(at 12% 88%, rgba(200,75,31,0.32) 0%, transparent 50%),
    linear-gradient(135deg, var(--brand-secondary-dk) 0%, var(--brand-secondary) 55%, #1a1f33 100%);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 100px),
    repeating-linear-gradient(0deg,  rgba(255,255,255,0.02) 0 1px, transparent 1px 100px);
  pointer-events: none;
  z-index: 0;
}
.hero > .container { position: relative; z-index: 1; }
.hero::before { z-index: 0; }

.hero--page {
  background:
    radial-gradient(at 90% 50%, rgba(244,162,38,0.12) 0%, transparent 45%),
    linear-gradient(135deg, var(--brand-secondary-dk) 0%, var(--brand-secondary) 100%);
}

/* -------------------- Section heading rhythm -------------------- */
.section-head h2 {
  font-size: var(--text-2xl);
  letter-spacing: -0.015em;
}
.section-head p { font-size: var(--text-md); }

/* -------------------- Tech-rule decorative -------------------- */
.tech-rule {
  display: inline-flex;
}
.tech-rule--center { display: flex; }
.tech-rule span { white-space: nowrap; }

/* -------------------- Mobile primary-nav refinements -------------------- */
@media (max-width: 1024px) {
  .primary-nav {
    box-shadow: 0 8px 24px rgba(28,28,30,0.08);
  }
  .primary-nav > ul > li:not(:last-child) {
    border-bottom: 1px solid var(--gray-100);
  }
}

/* -------------------- Featured cards refinement -------------------- */
.feature-card { transition: all 0.25s ease; }
.feature-card__thumb {
  background: linear-gradient(135deg, #f4f3ef 0%, #e4e2da 100%);
  position: relative;
  overflow: hidden;
}
.feature-card:hover .feature-card__thumb {
  background: linear-gradient(135deg, #e4e2da 0%, #d4d2ca 100%);
}

/* -------------------- Stat card emphasis -------------------- */
.card-stat {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.card-stat::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 2px;
  background: var(--brand-accent);
}

/* -------------------- Selection styling -------------------- */
::selection {
  background: var(--brand-primary);
  color: var(--white);
}

/* -------------------- Mobile menu refinements -------------------- */
.menu-toggle {
  transition: background 0.15s;
}
.menu-toggle:hover { background: var(--gray-100); }
.menu-toggle[aria-expanded="true"] {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}
.menu-toggle[aria-expanded="true"] span { background: var(--white); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(3px, 4px);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(3px, -4px);
}

/* -------------------- Page-hero header polish -------------------- */
.hero--page h1 {
  font-size: var(--text-3xl);
  letter-spacing: -0.02em;
  max-width: 22ch;
}
@media (max-width: 768px) {
  .hero--page h1 { font-size: var(--text-2xl); }
}

/* -------------------- Breadcrumb in dark hero -------------------- */
.hero--page .breadcrumb {
  background: transparent;
  border-bottom: none;
  padding: 0 0 var(--space-4);
}
.hero--page .breadcrumb ol { color: rgba(255,255,255,0.65); }
.hero--page .breadcrumb a { color: rgba(255,255,255,0.7); }
.hero--page .breadcrumb a:hover { color: var(--brand-accent); }
.hero--page .breadcrumb [aria-current="page"] { color: var(--white); }
.hero--page .breadcrumb li + li::before { color: rgba(255,255,255,0.35); }

/* -------------------- Quote panel polish -------------------- */
.quote-panel {
  border: 1px solid var(--gray-200);
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-100) 100%);
  position: relative;
  overflow: hidden;
}
.quote-panel::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(244,162,38,0.1), transparent 70%);
  pointer-events: none;
}

/* -------------------- CTA banner refinements -------------------- */
.cta-banner {
  background:
    radial-gradient(at 20% 50%, rgba(244,162,38,0.18), transparent 50%),
    linear-gradient(120deg, var(--brand-secondary-dk) 0%, var(--brand-primary) 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 80px);
  pointer-events: none;
}
.cta-banner > .container { position: relative; }

/* -------------------- Variant card refinement -------------------- */
.variant-card {
  position: relative;
  overflow: hidden;
}
.variant-card::after {
  content: "→";
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  color: var(--gray-300);
  font-weight: 600;
  transition: all 0.2s;
}
.variant-card:hover::after {
  color: var(--brand-primary);
  transform: translateX(4px);
}

/* -------------------- Industry pill refinement -------------------- */
.industry-pill {
  position: relative;
  overflow: hidden;
}
.industry-pill::after {
  content: "→";
  margin-left: auto;
  color: var(--gray-300);
  font-weight: 600;
  transition: all 0.2s;
}
.industry-pill:hover::after {
  color: var(--brand-secondary);
  transform: translateX(4px);
}

/* -------------------- Filter pill refinement -------------------- */
.filter-pill {
  position: relative;
  overflow: hidden;
}
.filter-pill[aria-pressed="true"] {
  box-shadow: 0 2px 6px rgba(200,75,31,0.25);
}

/* ==========================================================================
   25. Modern · clean — less decoration, more confidence
   Override-layer. Don't restructure the system; refine it.
   ========================================================================== */

/* ---- Refined typography: bolder display contrast, calmer body ---- */
body { font-size: 16px; line-height: 1.65; color: #2e2e30; }

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.022em;
  font-feature-settings: "ss01" on, "cv11" on;
}
h1 { font-size: clamp(36px, 4.6vw, 56px); line-height: 1.08; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.14; letter-spacing: -0.025em; }
h3 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25; letter-spacing: -0.018em; }
h4 { letter-spacing: -0.012em; }

.lede {
  font-size: 18px;
  line-height: 1.6;
  color: #5a5a5c;
  max-width: 62ch;
  font-weight: 400;
}

p { color: inherit; }

/* ---- Tighter, subtler section-rule labels ---- */
.tech-rule {
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--gray-500);
  font-weight: 500;
  margin-bottom: var(--space-5);
}
.tech-rule::before {
  flex: 0 0 24px;
  background: var(--gray-300);
}
.tech-rule--center::after { background: var(--gray-300); }
.tech-rule--light { color: rgba(255,255,255,0.55); }
.tech-rule--light::before, .tech-rule--light::after { background: rgba(255,255,255,0.25); }

/* ---- Generous section rhythm ---- */
.section { padding: clamp(64px, 10vh, 120px) 0; }
.section--lg { padding: clamp(96px, 14vh, 160px) 0; }
.section--tight { padding: clamp(48px, 6vh, 80px) 0; }
.section-head { max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); }
.section-head h2 { margin-bottom: var(--space-3); }
.section-head p { font-size: 17px; line-height: 1.6; color: #5a5a5c; }

/* ---- Cleaner buttons — flat, no gradients, subtler shadow ---- */
.btn-primary {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  padding: 12px 22px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.btn-primary:hover {
  background: var(--brand-primary-dk);
  border-color: var(--brand-primary-dk);
  box-shadow: 0 4px 12px rgba(200,75,31,0.22);
  transform: none;
}
.btn-primary:active { transform: scale(0.985); }

.btn-secondary {
  padding: 11px 21px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
  border-width: 1px;
}
.btn-ghost {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 8px;
}
.header-actions .btn-primary { padding: 9px 16px; font-size: 13px; }

/* ---- Card refinement: drop the gradient hover line, lighter elevation ---- */
.card {
  border-color: #ececea;
  border-radius: 12px;
  padding: clamp(20px, 2vw, 28px);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.card::before { display: none; } /* drop the gradient overline; less visual noise */
.card:hover {
  border-color: #d8d6d0;
  box-shadow: 0 8px 24px -8px rgba(28,28,30,0.08), 0 2px 4px -1px rgba(28,28,30,0.04);
  transform: none;
}
.card h3 { font-size: 18px; margin-bottom: 10px; letter-spacing: -0.015em; }
.card p { font-size: 14px; line-height: 1.6; color: #6a6a6c; }

/* Category card refinements — confident heading, less stacked metadata */
.card-category {
  border-top-width: 2px;
}
.card-category .badge {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 10px;
  letter-spacing: 0.14em;
  font-weight: 600;
  color: var(--category-color, var(--brand-primary));
  margin-bottom: 16px;
}
.card-category h3 { font-size: 22px; line-height: 1.2; margin-bottom: 10px; }
.card-category .arrow { color: var(--gray-900); font-weight: 500; }
.card-category:hover .arrow { color: var(--brand-primary); }

/* ---- Hero refinement: bigger, calmer, less stacked CTA area ---- */
.hero { padding: clamp(80px, 12vh, 140px) 0 clamp(80px, 12vh, 130px); }
.hero h1 {
  font-size: clamp(34px, 4.4vw, 56px);
  letter-spacing: -0.032em;
  line-height: 1.08;
  max-width: 17ch;
  margin-bottom: 22px;
  font-weight: 700;
}
.hero .lede {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  max-width: 58ch;
  margin-bottom: 36px;
}
.hero .tech-rule--light { margin-bottom: 28px; }
.hero .btn-row { gap: 12px; }

/* Tech-snapshot panel refinement */
.tech-snapshot {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 28px;
  border-radius: 12px;
  backdrop-filter: blur(8px);
}
.tech-snapshot::before {
  background: transparent;
  color: rgba(255,255,255,0.5);
  padding: 0;
  top: -22px;
  left: 0;
  font-size: 10px;
  letter-spacing: 0.18em;
}
.tech-snapshot dt {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
}
.tech-snapshot dd { font-size: 17px; font-weight: 500; }

/* ---- Stats bar — calmer, more typographic ---- */
.stats-bar { padding: clamp(48px, 8vh, 96px) 0; background: #112844; }
.card-stat {
  background: transparent;
  border: none;
  text-align: left;
  padding: 0;
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 24px;
}
.card-stat::before { display: none; }
.card-stat__value {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}
.card-stat__label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  text-transform: uppercase;
}

/* ---- Feature card refinement (homepage featured products) ---- */
.feature-card {
  grid-template-columns: 96px 1fr;
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  border-color: #ececea;
}
.feature-card:hover {
  border-color: #d8d6d0;
  box-shadow: 0 8px 24px -8px rgba(28,28,30,0.08);
  transform: none;
}
.feature-card__thumb { aspect-ratio: 1; border-radius: 8px; overflow: hidden; }
/* When a real <img> is present, hide the diagonal placeholder pattern */
.feature-card__thumb:has(img)::after { display: none; }
.feature-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}
.feature-card .tag { background: transparent; border: none; padding: 0; font-size: 10px; color: var(--brand-primary); letter-spacing: 0.12em; margin-bottom: 4px; }
.feature-card h4 { font-size: 17px; margin-bottom: 6px; letter-spacing: -0.015em; }
.feature-card p { font-size: 13px; color: #7a7a7c; margin-bottom: 6px; line-height: 1.5; }
.feature-card .measure { font-size: 12px; color: #5a5a5c; }

/* ---- Trust bar — cleaner, more confident ---- */
.trust-bar { padding: clamp(40px, 5vh, 64px) 0; background: var(--white); border-top: 1px solid #ececea; border-bottom: 1px solid #ececea; }
.trust-bar p { font-size: 11px; letter-spacing: 0.18em; color: #8a8a8c; margin-bottom: 24px; }
.trust-row { gap: 56px; }
.trust-item {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 13px;
  color: #5a5a5c;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  position: relative;
}
.trust-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -28px;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--gray-300);
  border-radius: 50%;
}

/* ---- CTA banner — calmer background, confident type ---- */
.cta-banner {
  background: #112844;
  padding: clamp(64px, 9vh, 96px) 0;
}
.cta-banner::before { display: none; }
.cta-banner h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 12px; max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-banner p { color: rgba(255,255,255,0.7); max-width: 56ch; margin-bottom: 32px; }
.cta-banner .tech-rule--center { margin-bottom: 20px; }
.cta-banner .btn-secondary.btn-on-dark {
  border-color: rgba(255,255,255,0.25);
  color: var(--white);
}
.cta-banner .btn-secondary.btn-on-dark:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

/* ---- Hero (sub-page) refinement ---- */
.hero--page { padding: clamp(64px, 9vh, 104px) 0 clamp(56px, 7vh, 80px); }
.hero--page h1 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.08;
  max-width: 26ch;
  margin-bottom: 20px;
}
.hero--page .lede { font-size: 18px; max-width: 62ch; }

/* ---- Section head refinement ---- */
.section-head h2 { letter-spacing: -0.025em; max-width: 20ch; margin-left: auto; margin-right: auto; }

/* ---- Industry pill refinement ---- */
.industry-pill {
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 500;
  border-color: #ececea;
  border-radius: 10px;
  background: var(--white);
}
.industry-pill:hover {
  background: var(--white);
  border-color: #1a3a5c;
  color: var(--brand-secondary);
  transform: none;
}
.industry-pill__icon {
  background: var(--gray-100);
  color: var(--brand-secondary);
  font-weight: 600;
  width: 36px; height: 36px;
}

/* ---- USP refinement ---- */
.usp { padding: 32px 0 28px 56px; border-top: 1px solid #ececea; }
.usp::before { font-size: 13px; top: 32px; }
.usp h3 { font-size: 17px; margin-bottom: 10px; }
.usp p { font-size: 14px; color: #7a7a7c; }

/* ---- Variant card refinement ---- */
.variant-card {
  padding: 24px;
  border-color: #ececea;
  border-left-width: 2px;
  border-radius: 10px;
}
.variant-card:hover {
  border-color: #d8d6d0;
  border-left-color: var(--category-color, var(--brand-primary));
  box-shadow: 0 6px 20px -8px rgba(28,28,30,0.08);
}
.variant-card h3 { font-size: 17px; margin-bottom: 12px; }

/* ---- Footer-top refinement — calmer background ---- */
.footer-top {
  background: #112844;
  padding: clamp(56px, 8vh, 88px) 0;
  margin-top: 0;
}
.footer-top::before { display: none; }
.footer-top h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.footer-top p { font-size: 16px; color: rgba(255,255,255,0.7); }
.footer-top .tech-rule--light { margin-bottom: 16px; }

/* Footer main — slightly more breathing room */
.site-footer > .container { padding-top: clamp(64px, 8vh, 96px); }
.site-footer h4 { margin-bottom: 20px; }

/* Footer trust — quieter */
.footer-trust { padding: 24px 0; margin-top: 16px; }
.footer-trust__label { font-size: 10px; }
.footer-trust__items span { font-size: 11px; letter-spacing: 0.04em; text-transform: none; color: rgba(255,255,255,0.6); }
.footer-trust__items span::before { background: rgba(244,162,38,0.7); }

/* ---- Header refinement — quieter, more confident ---- */
.site-header { background: rgba(255,255,255,0.92); border-bottom-color: #ececea; }
.header-inner { min-height: 72px; }

/* Logo refinement */
.logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  font-size: 11px;
  letter-spacing: 0.04em;
  background: var(--brand-primary);
  box-shadow: 0 1px 2px rgba(200,75,31,0.18);
}
.logo__mark::after { display: none; }
.logo__text { font-size: 16px; letter-spacing: -0.015em; }
.logo__tld { font-weight: 600; }

/* Top utility bar — quieter */
.site-utility {
  background: #0d2240;
  padding: 8px 0;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.68);
}
.site-utility::after { display: none; }
.site-utility a { color: rgba(255,255,255,0.72); }
.util-tag { font-size: 10px; letter-spacing: 0.14em; color: rgba(244,162,38,0.95); }

/* Mega-menu refinement — less ornament (desktop only; mobile keeps accordion styling) */
@media (min-width: 1025px) {
  .mega-menu { padding: 32px 32px 28px; border-radius: 12px; border-color: #ececea; }
  .mega-menu::before { display: none; }
  .mega-menu__feature {
    background: var(--gray-100);
    border-radius: 10px;
    padding: 24px;
  }
  .mega-menu__feature::before { display: none; }
  .mega-menu__feature h4 { font-size: 16px; color: var(--gray-900); letter-spacing: -0.015em; }
  .mega-menu__feature p { font-size: 13px; line-height: 1.55; }
}
.mega-menu__col h4 {
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #8a8a8c;
  margin-bottom: 16px;
}
.mega-menu__col h4::before { display: none; }
.mega-menu__col a { font-size: 13px; padding: 8px 0; border-bottom-color: #f4f3ef; }
.mega-menu__col a:hover { padding-left: 6px; color: var(--brand-primary); }
.mega-menu__col a::after { font-size: 10px; }

/* Primary nav refinement */
.primary-nav > ul > li > a { font-size: 13.5px; padding: 9px 13px; font-weight: 500; }
.primary-nav > ul > li > a::before { left: 13px; right: 13px; height: 1.5px; }

/* ---- Specs table refinement ---- */
.specs-table { font-size: 13px; border-color: #ececea; border-radius: 10px; }
.specs-table caption { font-size: 14px; padding: 0 0 16px; color: var(--gray-700); font-weight: 500; }
.specs-table th, .specs-table td { padding: 12px 16px; border-bottom-color: #ececea; }
.specs-table thead th {
  background: #fafafa;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #8a8a8c;
  font-weight: 600;
}

/* ---- Breadcrumb refinement ---- */
.breadcrumb { font-size: 12px; padding: 16px 0; border-bottom-color: #ececea; }

/* ---- Filter pill refinement ---- */
.filter-pill {
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  border-color: #ececea;
}
.filter-pill[aria-pressed="true"] {
  background: var(--gray-900);
  border-color: var(--gray-900);
  color: var(--white);
  box-shadow: none;
}
.filter-bar {
  background: transparent;
  padding: 0;
  border-bottom: 1px solid #ececea;
  border-radius: 0;
  padding-bottom: 20px;
  margin-bottom: 40px;
}
.filter-bar__label { font-size: 10px; letter-spacing: 0.14em; }

/* ---- Quote-panel refinement ---- */
.quote-panel {
  border-radius: 12px;
  border-color: #ececea;
  background: var(--gray-100);
  padding: 28px;
}
.quote-panel::after { display: none; }

/* ---- Form refinement ---- */
.form-input, .form-select, .form-textarea {
  border-radius: 8px;
  border-color: #d8d6d0;
  font-size: 15px;
  padding: 11px 14px;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gray-900);
  box-shadow: 0 0 0 3px rgba(28,28,30,0.06);
}
.form-label { font-size: 12px; letter-spacing: 0.02em; color: #5a5a5c; margin-bottom: 6px; }

/* ---- Selection ---- */
::selection { background: var(--gray-900); color: var(--white); }

/* ---- Steps refinement ---- */
.step { padding: 28px; border-radius: 12px; border-color: #ececea; }
.step::before { font-size: 13px; color: #c8c6be; font-weight: 600; }
.step h3 { font-size: 17px; }

/* ---- Icon card refinement ---- */
.icon-card { padding: 24px; border-radius: 12px; border-color: #ececea; }
.icon-card__icon { width: 40px; height: 40px; font-size: 14px; font-weight: 600; background: var(--gray-100); color: var(--brand-secondary); border-radius: 8px; }
.icon-card h3 { font-size: 16px; }
.icon-card p { font-size: 13px; line-height: 1.55; }

/* ---- FAQ refinement ---- */
.faq__item { border-radius: 10px; border-color: #ececea; }
.faq__item summary { font-size: 15px; padding: 18px 22px; font-weight: 500; }
.faq__item summary::after { font-size: 18px; }
.faq__item-body { padding: 0 22px 20px; font-size: 14.5px; line-height: 1.65; color: #5a5a5c; }
.faq__item[open] { box-shadow: 0 4px 12px -4px rgba(28,28,30,0.06); }
.faq__item[open] summary { color: var(--gray-900); }

/* ---- Tags ---- */
.tag {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--brand-primary);
}

/* ---- Badge ---- */
.badge {
  background: transparent;
  border: none;
  padding: 0;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---- Alumina meter — quieter ---- */
.alumina-meter { margin-top: 16px; gap: 10px; }
.alumina-meter__track { height: 3px; background: #f0eee8; }
.alumina-meter__label { font-size: 10px; letter-spacing: 0.04em; color: #8a8a8c; }

/* ---- Product hero refinement ---- */
.product-hero { gap: 56px; padding: 48px 0 64px; }
.product-snapshot h1 { font-size: clamp(28px, 3.2vw, 40px); }
.product-snapshot__specs { gap: 16px; }
.product-snapshot__specs li {
  padding: 14px;
  border-radius: 10px;
  background: var(--gray-100);
}
.product-snapshot__specs .label { font-size: 10px; letter-spacing: 0.1em; color: #8a8a8c; }
.product-snapshot__specs .value { font-size: 15px; font-weight: 600; }

/* ---- Container responsiveness ---- */
.container { padding: 0 clamp(20px, 4vw, 32px); }

/* ---- Subtle dark surface refinement ---- */
.section--dark { background: #112844; }
.section--surface { background: #fafaf7; }

/* ---- Links — subtler hover ---- */
a { transition: color 0.12s ease; }

/* ---- Hero atmospheric refinement ---- */
/* Each page may inline-set `--hero-image` (e.g. style="--hero-image: url('/assets/images/heroes/home.jpg')").
   If set, the image becomes the hero's base layer with a directional dark-to-clear tint
   — dark on the left/text side, almost transparent on the right so the photo shines through. */
.hero {
  background:
    linear-gradient(
      to right,
      rgba(10, 22, 42, 0.78) 0%,
      rgba(10, 22, 42, 0.55) 40%,
      rgba(10, 22, 42, 0.25) 75%,
      rgba(10, 22, 42, 0.10) 100%
    ),
    var(--hero-image, none),
    linear-gradient(135deg, #0d2240 0%, #112844 60%, #1a1f33 100%);
  background-size: auto, cover, auto;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
.hero::after {
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.015) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0 1px, transparent 1px 120px);
  opacity: 0.5; /* less visible when a hero image is below */
}
.hero--page {
  background:
    linear-gradient(
      to right,
      rgba(10, 22, 42, 0.82) 0%,
      rgba(10, 22, 42, 0.60) 45%,
      rgba(10, 22, 42, 0.32) 80%,
      rgba(10, 22, 42, 0.18) 100%
    ),
    var(--hero-image, none),
    linear-gradient(135deg, #0d2240 0%, #112844 100%);
  background-size: auto, cover, auto;
  background-position: center, center, center;
  background-repeat: no-repeat;
}
/* Mobile: image likely behind text, use a uniform but lighter tint so it stays readable */
@media (max-width: 768px) {
  .hero, .hero--page {
    background:
      linear-gradient(180deg, rgba(10,22,42,0.62) 0%, rgba(10,22,42,0.72) 100%),
      var(--hero-image, none),
      linear-gradient(135deg, #0d2240 0%, #112844 100%) !important;
    background-size: auto, cover, auto !important;
    background-position: center !important;
  }
}

/* ---- 404 page measure refinement ---- */
.measure { font-feature-settings: "tnum" 1, "ss01" 1; }

/* ---- Reduce shadow stack across the board ---- */
.shadow { box-shadow: 0 4px 12px -4px rgba(28,28,30,0.08); }

/* ---- Mobile refinements ---- */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding: 72px 0 64px; }
  .trust-row { gap: 28px; }
  .trust-item:not(:last-child)::after { display: none; }
  .footer-top__grid h3 { font-size: 22px; }
}

/* ---- Logo mark: brick-wall + fire icon (replaces 'FBS' text via SVG background) ---- */
.logo__mark {
  width: 36px;
  height: 36px;
  background: url('/assets/images/favicon.svg') center / contain no-repeat;
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
  font-size: 0;
  color: transparent;
  letter-spacing: 0;
  overflow: visible;
}
.logo__mark::before,
.logo__mark::after { display: none; }
.footer-logo .logo__mark { width: 36px; height: 36px; }

/* ==========================================================================
   26. UI/UX audit fixes — buttons, focus, forms, links, contrast
   ========================================================================== */

/* ---- Button system unified ---- */
.btn-primary,
.btn-secondary,
.btn-ghost {
  font-weight: 600;
  letter-spacing: 0.005em;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1;
  transition: background-color 0.15s ease, color 0.15s ease,
              border-color 0.15s ease, box-shadow 0.2s ease,
              transform 0.1s ease;
}

/* PRIMARY — firebrick fill + white text. White hover via box-shadow lift, not bg change */
.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  border: 1px solid var(--brand-primary);
  padding: 12px 22px;
  box-shadow: 0 1px 2px rgba(168,58,18,0.15);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: #B83F17; /* slight darken for feedback, not full --brand-primary-dk */
  border-color: #B83F17;
  color: #fff;
  box-shadow: 0 4px 14px rgba(200,75,31,0.28);
}
.btn-primary:active {
  background: #A83A12;
  border-color: #A83A12;
  transform: scale(0.985);
  box-shadow: 0 1px 2px rgba(168,58,18,0.15);
}

/* SECONDARY on light bg — navy outline */
.btn-secondary {
  background: transparent;
  color: var(--brand-secondary);
  border: 1px solid var(--brand-secondary);
  padding: 11px 21px;
  font-weight: 500;
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--brand-secondary);
  color: #fff;
  border-color: var(--brand-secondary);
}

/* SECONDARY on dark bg — soft white outline, soft tint hover (was jarring white fill) */
.btn-on-dark.btn-secondary {
  color: #fff;
  border-color: rgba(255,255,255,0.28);
  background: transparent;
}
.btn-on-dark.btn-secondary:hover,
.btn-on-dark.btn-secondary:focus-visible {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}

/* GHOST — text-forward with subtle frame; gray-900 not gray-700 for AA contrast */
.btn-ghost {
  background: transparent;
  color: var(--gray-900);
  border: 1px solid #d8d6d0;
  padding: 11px 20px;
  font-weight: 500;
}
.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: #fafaf7;
  border-color: var(--gray-900);
  color: var(--gray-900);
}

/* WhatsApp ghost — subtle green branding so users know it's WhatsApp */
.btn-ghost.js-wa-link {
  color: #128c7e;
  border-color: rgba(18,140,126,0.32);
}
.btn-ghost.js-wa-link:hover,
.btn-ghost.js-wa-link:focus-visible {
  background: #25D366;
  border-color: #25D366;
  color: #fff;
}

/* Header-action quote button: noticeably smaller */
.header-actions .btn-primary {
  padding: 9px 16px;
  font-size: 13px;
}

/* Submit button on long forms — slightly bigger */
button[type="submit"].btn-primary { padding: 14px 26px; font-size: 14.5px; }

/* ---- Focus visibility (accessibility) ---- */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid rgba(244,162,38,0.6);
  outline-offset: 2px;
  border-radius: 6px;
}
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-on-dark.btn-secondary:focus-visible,
.btn-ghost:focus-visible {
  outline: 3px solid rgba(244,162,38,0.55);
  outline-offset: 3px;
}
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: none; /* the box-shadow ring is the focus indicator */
}

/* ---- Form fields: larger touch target on mobile, clearer required indicator ---- */
.form-input, .form-select, .form-textarea {
  font-size: 15px;
  padding: 12px 14px;
  border: 1px solid #d8d6d0;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  background: #fff;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-secondary);
  box-shadow: 0 0 0 4px rgba(26,58,92,0.1);
}
.form-input::placeholder, .form-textarea::placeholder { color: #a8a8aa; }
.form-label .req {
  display: inline-block;
  color: var(--brand-primary);
  font-weight: 600;
  margin-left: 2px;
}
.form-textarea { min-height: 130px; }
.checkbox-grid label {
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s, border-color 0.15s;
}
.checkbox-grid label:hover {
  background: #fafaf7;
  border-color: #ececea;
}

@media (max-width: 768px) {
  .form-input, .form-select, .form-textarea {
    font-size: 16px; /* prevent iOS zoom on focus */
    padding: 13px 14px;
  }
}

/* ---- Body text links — subtle underline so they're clearly clickable ---- */
.container--text a:not(.btn-primary):not(.btn-secondary):not(.btn-ghost),
.section p a:not(.btn-primary):not(.btn-secondary):not(.btn-ghost),
.faq__item-body a {
  color: var(--brand-secondary);
  text-decoration: underline;
  text-decoration-color: rgba(26,58,92,0.3);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 500;
}
.container--text a:hover,
.section p a:hover,
.faq__item-body a:hover {
  color: var(--brand-primary);
  text-decoration-color: var(--brand-primary);
}

/* ---- Card hover unified — consistent feel across product, feature, variant ---- */
.card, .feature-card, .variant-card, .icon-card, .step {
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.card:hover, .feature-card:hover, .variant-card:hover, .step:hover {
  transform: translateY(-1px);
}
.icon-card:hover { /* purely informational — no lift */
  border-color: #d8d6d0;
}

/* ---- Section surface contrast: warmer, less clinical ---- */
.section--surface { background: #faf9f5; }
.section--dark { background: #0f1f37; color: #d5dae3; }
.section--dark p { color: #b8c1cd; }

/* ---- Better section dividers — replace hr.divider with a cleaner element ---- */
.divider {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent, #d8d6d0 20%, #d8d6d0 80%, transparent);
  margin: clamp(40px, 5vw, 64px) 0;
}

/* ---- Improve container--text readability ---- */
.container--text {
  max-width: 720px;
}
.container--text p {
  font-size: 17px;
  line-height: 1.7;
  color: #3a3a3c;
  margin-bottom: 20px;
}
.container--text h2 {
  margin-top: 44px;
  margin-bottom: 16px;
  font-size: clamp(22px, 2.4vw, 28px);
}
.container--text h2:first-of-type { margin-top: 0; }
.container--text h3 {
  margin-top: 32px;
  margin-bottom: 12px;
  font-size: clamp(18px, 1.6vw, 20px);
}
.container--text ul, .container--text ol {
  padding-left: 22px;
  margin-bottom: 22px;
}
.container--text li { margin-bottom: 10px; line-height: 1.6; color: #3a3a3c; }
.container--text strong { color: var(--gray-900); }

/* ---- Improve product-snapshot specs grid ---- */
.product-snapshot__specs li {
  background: #fafaf7;
  border: 1px solid #ececea;
  border-radius: 10px;
  padding: 14px 16px;
}
.product-snapshot__specs .label {
  display: block;
  margin-bottom: 4px;
}

/* ---- Specs table: improved readability ---- */
.specs-table {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #ececea;
}
.specs-table thead th {
  background: #fafaf7;
  color: #5a5a5c;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.specs-table tbody tr:hover { background: #faf9f5; }
.specs-table tbody td { font-size: 14px; }
.specs-table th[scope="row"] {
  font-weight: 500;
  color: var(--gray-900);
  width: 38%;
}
.specs-table tfoot td {
  font-size: 12px;
  color: #7a7a7c;
  padding: 14px 16px;
  background: #fafaf7;
  font-style: italic;
}

/* ---- Industry pill — better hover + clarity ---- */
.industry-pill {
  padding: 16px 20px;
  font-size: 15px;
  border: 1px solid #ececea;
  background: #fff;
  color: var(--gray-900);
}
.industry-pill:hover {
  border-color: var(--brand-secondary);
  background: #fff;
  color: var(--brand-secondary);
  transform: translateX(2px);
}
.industry-pill__icon {
  background: #faf9f5;
  color: var(--brand-secondary);
  font-weight: 700;
  border: 1px solid #ececea;
  flex-shrink: 0;
}
.industry-pill:hover .industry-pill__icon {
  background: var(--brand-secondary);
  color: #fff;
  border-color: var(--brand-secondary);
}
/* Inline SVG industry glyphs */
.industry-pill__icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Category card banner — top strip showing multiple bricks of that category */
.card-category__banner {
  margin: calc(-1 * clamp(20px, 2vw, 28px));
  margin-bottom: var(--space-4);
  overflow: hidden;
  aspect-ratio: 3 / 1;
  background: #faf9f5;
  border-radius: 12px 12px 0 0;
  position: relative;
}
.card-category__banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.card-category:hover .card-category__banner img {
  transform: scale(1.03);
}

/* Category card icon — top right corner, picks up --category-color */
.card-category { position: relative; overflow: hidden; }
.card-cat-icon {
  position: absolute;
  top: clamp(16px, 1.8vw, 22px);
  right: clamp(16px, 1.8vw, 22px);
  width: 40px;
  height: 40px;
  border: 1px solid var(--category-color, var(--brand-primary));
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--category-color, var(--brand-primary));
  background: #fff;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
  flex-shrink: 0;
}
.card-cat-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}
.card-category:hover .card-cat-icon {
  background: var(--category-color, var(--brand-primary));
  color: #fff;
}
/* Make sure the heading/badge stay clear of the icon on narrow cards */
/* Icon sits at the top-right of the post-banner content area (NOT over the image) */
.card-category__content { position: relative; }
.card-category .card-cat-icon {
  /* Override the card-relative positioning so the icon anchors to the content area */
  top: 0;
  right: 0;
  z-index: 1;
  box-shadow: none;
}
/* Reserve room on the right side of the heading + badge so they don't run under the icon */
.card-category h3 { padding-right: 52px; }
.card-category .badge { padding-right: 52px; }
@media (max-width: 600px) {
  .card-cat-icon { width: 36px; height: 36px; }
  .card-cat-icon svg { width: 20px; height: 20px; }
  .card-category h3 { padding-right: 48px; }
  .card-category .badge { padding-right: 48px; }
}

/* ---- FAQ open state — softer, clearer ---- */
.faq__item {
  border: 1px solid #ececea;
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.faq__item summary { cursor: pointer; }
.faq__item:hover { border-color: #d8d6d0; }
.faq__item[open] {
  border-color: var(--brand-primary);
  box-shadow: 0 6px 16px -8px rgba(200,75,31,0.12);
}
.faq__item summary::after { color: #8a8a8c; }
.faq__item[open] summary::after { color: var(--brand-primary); }

/* ---- Tech-snapshot panel — calmer numerics ---- */
.tech-snapshot__row {
  border-bottom: 1px dashed rgba(255,255,255,0.12);
}
.tech-snapshot dt {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
}
.tech-snapshot dd { font-size: 16px; font-weight: 500; }
.tech-snapshot dd .unit { color: var(--brand-accent); font-weight: 400; }

/* ---- Trust bar polish — center alignment + proper rhythm ---- */
.trust-bar { padding: 56px 0; }
.trust-bar p {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: #8a8a8c;
  font-weight: 500;
  margin-bottom: 28px;
}
.trust-row { gap: 0 56px; row-gap: 16px; }
.trust-item {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #4a4a4c;
  position: relative;
}

/* ---- CTA banner — clearer hierarchy + better space ---- */
.cta-banner {
  background: #0f1f37;
  padding: clamp(72px, 10vh, 110px) 0;
}
.cta-banner h2 {
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.022em;
}
.cta-banner p {
  color: rgba(255,255,255,0.72);
  max-width: 52ch;
  margin-bottom: 28px;
}
.cta-banner .tech-rule--center::before,
.cta-banner .tech-rule--center::after {
  background: rgba(244,162,38,0.4);
}

/* ---- Hero polish — confidence + clarity ---- */
.hero { padding: clamp(88px, 14vh, 144px) 0 clamp(80px, 12vh, 130px); }
.hero h1 {
  font-size: clamp(34px, 4.4vw, 58px);
  letter-spacing: -0.032em;
  line-height: 1.08;
  max-width: 17ch;
  font-weight: 700;
  color: #fff;
}
.hero .lede {
  font-size: clamp(17px, 1.8vw, 20px);
  color: rgba(255,255,255,0.78);
  max-width: 56ch;
  margin-bottom: 36px;
  line-height: 1.55;
}
.hero--page h1 {
  font-size: clamp(34px, 4.2vw, 54px);
  letter-spacing: -0.032em;
  line-height: 1.06;
  max-width: 24ch;
}
.hero--page .lede {
  font-size: clamp(16px, 1.5vw, 19px);
  max-width: 62ch;
  line-height: 1.55;
}

/* ---- Floating WhatsApp — bottom-right always visible, no overlap with cards ---- */
.whatsapp-float {
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  width: 58px;
  height: 58px;
  z-index: 95;
}

/* ---- Selection — quieter ---- */
::selection { background: #0f1f37; color: #fff; }

/* ---- Header utility bar — softer ---- */
.site-utility {
  padding: 7px 0;
  background: #0a1a2f;
  font-size: 11.5px;
  color: rgba(255,255,255,0.7);
}

/* ---- Logo lockup — balance text against the 38px icon mark ---- */
.logo {
  gap: 10px;
  align-items: center;
}
.logo__mark { width: 38px; height: 38px; }
.logo__text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1;
  color: var(--gray-900);
}
.logo__tld {
  color: var(--brand-primary);
  font-weight: 800;
  margin-left: 0;
}
@media (max-width: 768px) {
  .logo { gap: 9px; }
  .logo__mark { width: 34px; height: 34px; }
  .logo__text { font-size: 18px; }
}
@media (max-width: 400px) {
  .logo__mark { width: 32px; height: 32px; }
  .logo__text { font-size: 16.5px; }
}
/* Footer logo: same lockup, the white text is set elsewhere */
.footer-logo .logo__text { color: #fff; }
.footer-logo .logo__tld { color: var(--brand-primary); }

/* ---- Mega-menu polish (v5 — compact, refined) ---- */
@media (min-width: 1025px) {
  .mega-menu {
    border: 1px solid #ececea;
    box-shadow: 0 18px 40px -16px rgba(28,28,30,0.14), 0 2px 8px -2px rgba(28,28,30,0.04);
    padding: 18px 20px 16px;
  }
  .mega-menu__grid { gap: 24px; grid-template-columns: 1fr 1fr 0.95fr; }
  .mega-menu__feature {
    background: #faf9f5;
    border: 1px solid #ececea;
    border-radius: 10px;
    padding: 18px;
    margin: -4px -4px -4px 0;
  }
}

/* Column heading row */
.mega-menu__col-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 8px;
  margin-bottom: 2px;
  border-bottom: 1px solid #ececea;
}
.mega-menu__col-head h4 {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6a6a6c;
}
.mega-menu__col-head h4::before { display: none; }

.mega-menu__view-all {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-primary);
  padding: 3px 6px;
  margin: -3px -6px -3px 0;
  border-radius: 4px;
  border: none !important;
  transition: background-color 0.15s, color 0.15s;
}
.mega-menu__view-all span { transition: transform 0.15s ease; }
.mega-menu__view-all:hover { background: rgba(200,75,31,0.08); }
.mega-menu__view-all:hover span { transform: translateX(2px); }

/* Compact rich item */
.mega-menu__col .mega-menu__item {
  display: flex !important;
  flex-direction: column;
  gap: 1px;
  padding: 7px 10px !important;
  margin: 0 -10px;
  border: 0 !important;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.15s ease, padding-left 0.15s ease;
}
.mega-menu__col .mega-menu__item:hover {
  background: #faf9f5;
  padding-left: 13px !important;
}
.mega-menu__col .mega-menu__item::after { display: none; }
.mega-menu__item-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-900);
  line-height: 1.3;
  letter-spacing: -0.005em;
  transition: color 0.15s ease;
}
.mega-menu__col .mega-menu__item:hover .mega-menu__item-title {
  color: var(--brand-primary);
}
.mega-menu__item-sub {
  font-size: 11.5px;
  font-weight: 400;
  color: #7a7a7c;
  line-height: 1.3;
  letter-spacing: 0;
  font-feature-settings: "tnum" 1;
}

/* Feature column — tighter */
.mega-menu__feature .tech-rule {
  margin-bottom: 8px;
}
.mega-menu__feature h4 {
  font-family: var(--font-sans) !important;
  text-transform: none !important;
  letter-spacing: -0.015em !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  color: var(--gray-900) !important;
  margin: 0 0 8px !important;
  line-height: 1.22;
}
.mega-menu__feature h4::before { display: none; }
.mega-menu__feature p {
  font-size: 12.5px;
  line-height: 1.5;
  color: #5a5a5c;
  margin: 0 0 12px;
}

/* Feature stats — neutral color, less competition with the button */
.mega-menu__feature-stats {
  display: flex;
  gap: 18px;
  padding: 10px 0;
  margin: 0 0 14px;
  border-top: 1px solid #e8e6df;
  border-bottom: 1px solid #e8e6df;
}
.mega-menu__feature-stats > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.mega-menu__feature-stats strong {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  letter-spacing: -0.015em;
  line-height: 1;
}
.mega-menu__feature-stats span {
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8a8a8c;
  font-weight: 500;
}

/* Feature button — refined, contained, sharper text */
.mega-menu__feature .btn-primary {
  display: inline-flex !important;
  width: auto;
  align-self: flex-start;
  padding: 9px 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.005em;
  background: var(--gray-900);
  border-color: var(--gray-900);
  color: #fff !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  border-radius: 7px;
}
.mega-menu__feature .btn-primary:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(200,75,31,0.22);
}

/* Mobile fallback for rich items */
@media (max-width: 1024px) {
  .mega-menu__col-head { padding-bottom: 8px; margin-bottom: 4px; }
  .mega-menu__col-head h4 { font-size: 10px; }
  .mega-menu__view-all { font-size: 10px; }
  .mega-menu__col .mega-menu__item {
    padding: 10px 0 !important;
    margin: 0;
    border-bottom: 1px solid #f4f3ef !important;
    border-radius: 0;
  }
  .mega-menu__col .mega-menu__item:hover { padding-left: 0 !important; background: transparent; }
  .mega-menu__item-title { font-size: 14.5px; }
  .mega-menu__item-sub { font-size: 12px; }
  .mega-menu__feature { display: none !important; }
}

/* ---- Footer trust strip — softer ---- */
.footer-trust { padding: 22px 0; margin-top: 8px; }
.footer-trust__label { color: var(--brand-accent); font-size: 10px; letter-spacing: 0.16em; }
.footer-trust__items span { color: rgba(255,255,255,0.6); font-size: 11px; letter-spacing: 0.02em; }
.footer-trust__items span::before { background: rgba(244,162,38,0.6); width: 4px; height: 4px; }

/* ---- Section spacing rhythm: subtle but more consistent ---- */
.section { padding: clamp(72px, 10vh, 120px) 0; }
.section--tight { padding: clamp(48px, 6vh, 80px) 0; }

/* ---- Breadcrumb on dark hero — better contrast ---- */
.hero--page .breadcrumb { padding: 0 0 var(--space-4); }
.hero--page .breadcrumb ol { color: rgba(255,255,255,0.55); font-size: 12px; }
.hero--page .breadcrumb a { color: rgba(255,255,255,0.7); }
.hero--page .breadcrumb a:hover { color: var(--brand-accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Inline hyperlinks inside a hero (e.g. authority links in the lede) ---- */
/* Without this they fall through to the global `a` rule and pick up navy on
   navy — looks like a "default blue" link on the dark hero. */
.hero .lede a,
.hero p a:not(.btn-primary):not(.btn-secondary):not(.btn-ghost):not(.whatsapp-btn),
.hero--page .lede a,
.hero--page p a:not(.btn-primary):not(.btn-secondary):not(.btn-ghost):not(.whatsapp-btn) {
  color: var(--brand-accent);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(244,162,38,0.45);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}
.hero .lede a:hover,
.hero p a:not(.btn-primary):not(.btn-secondary):not(.btn-ghost):not(.whatsapp-btn):hover,
.hero--page .lede a:hover,
.hero--page p a:not(.btn-primary):not(.btn-secondary):not(.btn-ghost):not(.whatsapp-btn):hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}

/* ---- Mobile audit fixes ---- */
@media (max-width: 768px) {
  body { font-size: 15.5px; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .hero--page h1 { font-size: clamp(28px, 7vw, 38px); }
  .hero .lede { font-size: 16px; }
  .hero--page .lede { font-size: 16px; }
  .section-head h2 { font-size: clamp(24px, 6vw, 32px); }
  .footer-top h3 { font-size: 21px; }
  .footer-top__grid { gap: 24px; }
  .btn-primary, .btn-secondary, .btn-ghost {
    padding-top: 12px;
    padding-bottom: 12px;
    font-size: 15px;
  }
  .btn-row { width: 100%; }
  .btn-row .btn-primary, .btn-row .btn-secondary, .btn-row .btn-ghost {
    flex: 1 1 auto;
    justify-content: center;
  }
  .container { padding: 0 20px; }
  .product-hero { gap: 32px; }
  .footer-trust { flex-direction: column; align-items: flex-start; }
  .footer-trust__label { border-right: none; padding-right: 0; padding-bottom: 8px; }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ---- Tiny screens (≤ 400px) ---- */
@media (max-width: 400px) {
  .hero h1 { font-size: 30px; }
  .container { padding: 0 18px; }
}

/* ---- Center the orphan card in 3-column grids (homepage 7-cat / 7-industry rows) ---- */
@media (min-width: 1025px) {
  .grid--3 > :last-child:nth-child(3n+1) { grid-column: 2; }
}
/* At tablet (2-col), if 7 items leave an orphan, span both columns and center via max-width */
@media (min-width: 601px) and (max-width: 1024px) {
  .grid--3 > :last-child:nth-child(2n+1) {
    grid-column: 1 / -1;
    max-width: calc(50% - var(--space-3));
    justify-self: center;
  }
}

/* ---- Footer legal nav (replaces RAJKOT tag in footer-bottom) ---- */
.footer-legal {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.footer-legal a {
  display: inline-block;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
  line-height: 1.4;
}
.footer-legal a:first-child { padding-left: 0; }
.footer-legal a:hover { color: var(--brand-accent); }
.footer-legal a:not(:first-child) {
  border-left: 1px solid rgba(255,255,255,0.12);
}
@media (max-width: 600px) {
  .footer-legal { gap: 4px 0; }
  .footer-legal a { padding: 4px 10px; }
  .footer-legal a:first-child { padding-left: 0; }
}

/* ==========================================================================
   end UI/UX audit (v3)
   ========================================================================== */

/* ==========================================================================
   27. Readability audit (v6) — bump secondary type sizes, darken muted grays
   Audit found many 11–13px gray text spots that felt anemic. Fix systematically.
   ========================================================================== */

/* ---- Body text base: slightly less harsh than #2e2e30 ---- */
body { color: #2a2a2c; }

/* ---- Section-head paragraph: was 17px / #5a5a5c (faded) ---- */
.section-head p {
  font-size: 18px;
  line-height: 1.55;
  color: #4a4a4c;
}

/* ---- Card paragraphs: was 14px / #6a6a6c ---- */
.card p { font-size: 15px; line-height: 1.6; color: #4f4f51; }
.card h3 { font-size: 18px; }

/* Category card description: bigger heading + readable body */
.card-category h3 { font-size: 22px; }
.card-category > ul { font-size: 14px !important; color: #5a5a5c !important; line-height: 1.6; }

/* ---- Feature card (homepage featured products) ---- */
.feature-card h4 { font-size: 17px; }
.feature-card p { font-size: 14px; color: #5a5a5c; line-height: 1.55; }
.feature-card .measure { font-size: 13px; color: #4a4a4c; }
.feature-card .tag { font-size: 11px; }

/* ---- USP block ---- */
.usp h3 { font-size: 17px; }
.usp p { font-size: 15px; color: #4f4f51; line-height: 1.55; }
.usp::before { font-size: 14px; }

/* ---- Icon card ---- */
.icon-card h3 { font-size: 16px; }
.icon-card p { font-size: 14px; color: #4f4f51; line-height: 1.55; }
.icon-card__icon { font-size: 14px; }

/* ---- Step card ---- */
.step h3 { font-size: 17px; }
.step p { font-size: 14.5px; color: #4f4f51; line-height: 1.55; }
.step::before { font-size: 14px; }

/* ---- Variant card ---- */
.variant-card h3 { font-size: 17px; }
.variant-card__meta { font-size: 12px; color: #5a5a5c; letter-spacing: 0.04em; }
.variant-card__meta strong { color: var(--brand-primary); }

/* ---- Industry pill ---- */
.industry-pill { font-size: 15px; }

/* ---- Specs table — bigger body + clearer header ---- */
.specs-table { font-size: 14px; }
.specs-table caption { font-size: 14.5px; padding: 0 0 14px; color: #4a4a4c; }
.specs-table thead th {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #5a5a5c;
}
.specs-table th, .specs-table td { padding: 13px 16px; }
.specs-table th[scope="row"] { font-size: 14px; color: #2a2a2c; }
.specs-table td { color: #3a3a3c; }
.specs-table tfoot td { font-size: 12.5px; color: #6a6a6c; }

/* ---- Product snapshot specs ---- */
.product-snapshot__specs .label { font-size: 11px; color: #6a6a6c; }
.product-snapshot__specs .value { font-size: 15.5px; }

/* ---- Mega-menu items — clearer subtitle ---- */
.mega-menu__item-title { font-size: 14px; }
.mega-menu__item-sub { font-size: 12.5px; color: #6a6a6c; line-height: 1.35; }
.mega-menu__col-head h4 { font-size: 11px; color: #5a5a5c; }
.mega-menu__view-all { font-size: 11px; }
.mega-menu__feature p { font-size: 13.5px; color: #4a4a4c; line-height: 1.55; }
.mega-menu__feature-stats strong { font-size: 19px; }
.mega-menu__feature-stats span { font-size: 10.5px; color: #6a6a6c; }

/* ---- Tech-rule (section labels) — darker so they read as labels, not whispers ---- */
.tech-rule { color: #5a5a5c; font-size: 11.5px; }
.tech-rule--light { color: rgba(255,255,255,0.75); }

/* ---- Breadcrumb — larger, more readable ---- */
.breadcrumb { font-size: 13px; }
.breadcrumb ol { color: #6a6a6c; }
.breadcrumb a { color: #5a5a5c; }
.hero--page .breadcrumb ol { font-size: 13px; color: rgba(255,255,255,0.65); }

/* ---- Form fields ---- */
.form-label { font-size: 13px; color: #3a3a3c; font-weight: 500; }
.form-help { font-size: 12.5px; color: #6a6a6c; }
.checkbox-grid label { font-size: 14px; color: #3a3a3c; }
.form-input, .form-select, .form-textarea { font-size: 15px; }
.form-input::placeholder, .form-textarea::placeholder { color: #8a8a8c; }

/* ---- FAQ ---- */
.faq__item summary { font-size: 15.5px; }
.faq__item-body { font-size: 15px; line-height: 1.65; color: #3a3a3c; }
.faq__item-body p { color: #3a3a3c; }

/* ---- Filter pill ---- */
.filter-pill { font-size: 13.5px; }
.filter-bar__label { font-size: 11px; color: #6a6a6c; }

/* ---- Tags ---- */
.tag { font-size: 11px; color: var(--brand-primary); font-weight: 600; }

/* ---- Hero tech-snapshot ---- */
.tech-snapshot dt { font-size: 11px; color: rgba(255,255,255,0.7); }
.tech-snapshot dd { font-size: 16.5px; }

/* ---- Stats bar labels ---- */
.card-stat__label { font-size: 12.5px; color: rgba(255,255,255,0.7); }

/* ---- Trust bar ---- */
.trust-bar p { font-size: 12px; color: #6a6a6c; }
.trust-item { font-size: 14px; color: #3a3a3c; }

/* ---- CTA banner ---- */
.cta-banner p { color: rgba(255,255,255,0.82); font-size: 17px; }
.cta-banner .tech-rule--light { color: rgba(255,255,255,0.78); }

/* ---- Site footer — better legibility on dark navy ---- */
.site-footer h4 {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #fff;
}
.footer-about p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}
.site-footer a {
  font-size: 14px;
  color: rgba(255,255,255,0.82);
}
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: 6px; }

/* Footer contact rows */
.footer-contact-row {
  font-size: 14px;
  padding: 12px 0;
}
.footer-contact-row .label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #ffffff8a;
  font-weight: 600;
}
.footer-contact-row a,
.footer-contact-row > span:last-child {
  color: rgba(255,255,255,0.92);
  font-size: 14.5px;
}

/* Footer top CTA */
.footer-top h3 { font-size: clamp(24px, 2.6vw, 32px); }
.footer-top p { font-size: 16px; color: rgba(255,255,255,0.82); line-height: 1.55; }

/* Footer trust strip */
.footer-trust__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--brand-accent);
}
.footer-trust__items span {
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.78);
}

/* Footer bottom legal nav */
.footer-bottom {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}
.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.78);
}
.footer-legal a:hover { color: var(--brand-accent); }

/* ---- Site utility bar ---- */
.site-utility {
  font-size: 12.5px;
  color: rgba(255,255,255,0.78);
  padding: 8px 0;
}
.site-utility a { color: rgba(255,255,255,0.86); }
.util-tag { font-size: 11px; }

/* ---- Header nav ---- */
.primary-nav > ul > li > a { font-size: 14px; font-weight: 500; }

/* ---- Container--text body comfort ---- */
.container--text p { font-size: 17.5px; line-height: 1.7; color: #2a2a2c; }
.container--text li { font-size: 17px; color: #3a3a3c; line-height: 1.6; }
.container--text h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 48px; }
.container--text h3 { font-size: clamp(19px, 1.8vw, 22px); margin-top: 32px; }

/* ---- Hero — display sizes were fine; lede slightly larger ---- */
.hero .lede { font-size: clamp(18px, 1.9vw, 21px); color: rgba(255,255,255,0.86); }
.hero--page .lede { font-size: clamp(17px, 1.7vw, 20px); color: rgba(255,255,255,0.84); }

/* ---- Mobile readability ---- */
@media (max-width: 768px) {
  body { font-size: 16px; }
  .section-head p { font-size: 16px; }
  .card p { font-size: 14.5px; }
  .usp p { font-size: 14.5px; }
  .icon-card p, .step p { font-size: 14px; }
  .specs-table { font-size: 13.5px; }
  .footer-about p { font-size: 14px; }
  .footer-trust__items span { font-size: 12px; }
  .footer-legal a { font-size: 12.5px; padding: 4px 10px; }
  .container--text p { font-size: 16.5px; }
}

/* ==========================================================================
   end v6 readability audit
   ========================================================================== */

/* ==========================================================================
   28. Print stylesheet — clean printable pages for spec/datasheet review
   ========================================================================== */
@media print {
  /* Reset surfaces to white for ink savings */
  body, .section, .section--surface, .section--dark, .cta-banner, .footer-top {
    background: #fff !important;
    color: #000 !important;
  }

  /* Hide chrome that isn't useful on paper */
  .site-utility,
  .site-header,
  .primary-nav,
  .header-actions,
  .menu-toggle,
  .footer-top,
  .footer-social,
  .footer-trust,
  .whatsapp-float,
  .cta-banner,
  .filter-bar,
  .btn-row { display: none !important; }

  /* Compact footer for context */
  .site-footer {
    background: #fff !important;
    border-top: 1px solid #ccc;
    padding: 16px 0 !important;
    margin-top: 24px !important;
  }
  .site-footer .container { padding-top: 8px !important; }
  .footer-grid { display: none; }
  .footer-bottom {
    display: block !important;
    color: #555 !important;
    font-size: 11px !important;
    text-align: left !important;
  }
  .footer-bottom .footer-legal { display: none; }

  /* Body type for readability on paper */
  body { font-size: 11.5pt; line-height: 1.5; color: #000; }
  h1 { font-size: 22pt; color: #000 !important; page-break-after: avoid; }
  h2 { font-size: 16pt; color: #000 !important; page-break-after: avoid; }
  h3 { font-size: 13pt; color: #000 !important; page-break-after: avoid; }

  /* Tables breathe */
  .specs-table { font-size: 10pt; page-break-inside: avoid; }
  .specs-table thead th { background: #f0f0f0 !important; color: #000 !important; }
  .specs-table th, .specs-table td { padding: 6px 10px !important; border-color: #ccc !important; }

  /* Show full URL after external links so paper readers can find them */
  a[href^="http"]:not([href*="firebrickssource.com"])::after {
    content: " (" attr(href) ")";
    font-size: 9pt;
    color: #555;
  }

  /* Page-break helpers */
  .section, .product-hero, .faq, .container--text { page-break-inside: auto; }
  .card, .feature-card, .icon-card, .step { page-break-inside: avoid; }

  /* Hero on paper: just the headline + lede, no decoration */
  .hero, .hero--page {
    background: #fff !important;
    color: #000 !important;
    padding: 0 0 16px 0 !important;
  }
  .hero h1, .hero--page h1 { color: #000 !important; }
  .hero .lede, .hero--page .lede { color: #333 !important; }

  /* Container margins for printer */
  .container { max-width: 100% !important; padding: 0 !important; }

  /* Image sizing */
  img { max-width: 100%; page-break-inside: avoid; }
}


/* ---- Footer social icons (now inside .footer-trust, right-aligned) ---- */
.footer-trust {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
}
.footer-trust__items { flex: 1; min-width: 0; }
.footer-social {
  display: inline-flex;
  gap: 8px;
  margin: 0;
  margin-left: auto;
  padding: 0;
  border: 0;
  flex-shrink: 0;
}
.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.footer-social a:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--white);
  transform: translateY(-1px);
}
.footer-social svg { width: 14px; height: 14px; display: block; }

@media (max-width: 600px) {
  .footer-trust { gap: 12px 16px; }
  .footer-social { margin-left: 0; margin-top: 4px; }
}

/* ===== Form inline message (AJAX submit status) ============================
   [data-form-message] appears inside [data-form] forms. JS sets a kind via
   the data-kind attribute: pending | success | error. Empty by default. */
[data-form-message] {
  margin: 0 0 var(--space-4);
  padding: 0;
  font-size: var(--text-sm);
  line-height: 1.5;
}
[data-form-message]:empty { display: none; }
[data-form-message][data-kind] {
  padding: var(--space-3) var(--space-4);
  border-radius: 6px;
  border-left: 3px solid;
}
[data-form-message][data-kind="pending"] {
  background: var(--gray-100);
  border-left-color: var(--brand-secondary);
  color: var(--brand-secondary);
}
[data-form-message][data-kind="success"] {
  background: #ecfdf5;
  border-left-color: #059669;
  color: #065f46;
}
[data-form-message][data-kind="error"] {
  background: #fef2f2;
  border-left-color: #b91c1c;
  color: #991b1b;
}

/* ===== Responsive safety net ============================================== */

/* iOS Safari auto-zooms when a form field has font-size < 16px on focus.
   The site-wide --text-base is 15px, so override inputs/selects/textareas
   to 16px on mobile only. Desktop keeps 15px for visual rhythm. */
@media (max-width: 768px) {
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px;
  }
}

/* Page-level horizontal-overflow guard. If any single element accidentally
   overflows (long unbreakable string, decorative pseudo-element pushed past
   the viewport, etc.) prevent the whole page from getting a horizontal
   scrollbar on narrow screens. */
html, body { overflow-x: hidden; }

/* ===== Responsive overflow fixes for narrow screens (≤480px) ==============
   On small viewports the .tech-rule spans (long uppercase strings like
   "RAJKOT · GUJARAT · INDIA · EST. AGOCHAR TECH LLP") would not wrap, and
   long words in hero h1 / page h1 headings could push the page wider than
   the viewport. Below 480px we allow these to wrap so they stay inside the
   available width. */
@media (max-width: 480px) {
  .tech-rule span { white-space: normal; }
  .hero h1,
  .hero--page h1,
  h1, h2, h3 { overflow-wrap: break-word; word-wrap: break-word; }
  /* Tighten the h1 max-width on tiny viewports so the text composition
     stays balanced after wrapping kicks in. */
  .hero h1 { max-width: 100%; }
}

/* Hide hover-only utilities under coarse pointers (touch screens) — these
   currently rely on :hover which doesn't fire reliably on mobile. */
@media (hover: none) {
  .has-dropdown:hover > .mega-menu { display: none; }
}

/* Header CTA: shorten copy on very narrow screens so it doesn't clip. */
@media (max-width: 480px) {
  .header-actions .btn-primary {
    padding: 9px 12px;
    font-size: 13px;
  }
  /* Allow the language dropdown toggle to compress */
  .lang-dropdown__toggle { padding: 6px 8px; }
}

/* Header room budget on narrow screens: logo + CTA + hamburger total ~330px.
   Hide the language dropdown below 480px to prevent header overflow.
   (Translation links are still reachable via footer + any future in-menu
   placement.) */
@media (max-width: 480px) {
  .header-actions .lang-dropdown { display: none; }
  .header-actions { gap: 6px; }
  .header-inner { gap: 6px; }
  .logo__text { font-size: 16px; }
}
