/* ==========================================================================
   M. HANIF & SONS — MODERN PREMIUM ENGINEERING DESIGN SYSTEM
   Theme: Deep Titanium Slate & Crisp White with Royal Engineering Blue
   ========================================================================== */

:root {
  /* Slate & Titanium Neutrals */
  --slate-950: #070d19;
  --slate-900: #0f172a;
  --slate-850: #131f37;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;
  --white:     #ffffff;

  /* Premium Engineering Brand Accents (Royal Blue & Precision Cyan) */
  --blue-600:  #2563eb;
  --blue-700:  #1d4ed8;
  --blue-800:  #1e40af;
  --blue-50:   #eff6ff;
  --blue-100:  #dbeafe;
  --cyan-500:  #06b6d4;
  --emerald-600: #059669;
  --emerald-50:  #ecfdf5;
  --amber-500: #f59e0b;
  --amber-50:  #fffbeb;

  /* Functional Mappings */
  --bg-page:   var(--white);
  --bg-subtle: var(--slate-50);
  --bg-card:   var(--white);
  --text-main: var(--slate-900);
  --text-body: var(--slate-700);
  --text-muted:var(--slate-500);
  --border-subtle: var(--slate-200);
  --border-strong: var(--slate-300);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Spacing & Geometry */
  --wrap: 1240px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-full: 9999px;

  /* Modern Soft Layered Elevation */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 6px 16px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 24px 48px -8px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
  --shadow-blue-glow: 0 12px 28px -4px rgba(37, 99, 235, 0.28);

  /* Motion Curves */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base & Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  font-family: var(--font-sans);
}
body {
  margin: 0;
  background: var(--bg-page);
  color: var(--text-body);
  font: 400 1.0625rem/1.65 var(--font-sans);
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a {
  color: var(--blue-700);
  text-decoration: none;
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}
a:hover { color: var(--blue-800); }
:focus-visible {
  outline: 2px solid var(--blue-600);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  color: var(--text-main);
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 0.6em;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }
p { margin: 0 0 1.15em; max-width: 68ch; }
.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.skip {
  position: absolute; left: -9999px;
}
.skip:focus {
  left: 1rem; top: 1rem;
  background: var(--blue-600); color: var(--white);
  padding: 0.6rem 1.2rem; z-index: 100;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

/* ---------- Header & Navigation ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.site-head.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--slate-200);
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.9rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}
.brand img {
  height: 52px;
  width: auto;
  transition: transform 0.25s var(--ease);
}
.brand:hover img { transform: scale(1.02); }
.brand-text { display: flex; flex-direction: column; }
.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.brand-tagline {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.site-nav a:not(.btn) {
  position: relative;
  color: var(--slate-700);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.55rem 0.95rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
}
.site-nav a:not(.btn):hover {
  color: var(--blue-700);
  background: var(--slate-100);
}
.site-nav a[aria-current=page]:not(.btn) {
  color: var(--blue-700);
  background: var(--blue-50);
  font-weight: 700;
}
.head-cta {
  margin-left: 0.75rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 0 9px;
  background: var(--slate-50);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.nav-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--slate-800);
  transition: transform 0.25s var(--ease), opacity 0.2s var(--ease);
}
.site-head[data-open] .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-head[data-open] .nav-toggle span:nth-child(2) { opacity: 0; }
.site-head[data-open] .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons & Action Elements ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--blue-600);
  color: var(--white) !important;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.22s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  background: var(--blue-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue-glow);
}
.btn:active { transform: translateY(0); }
.btn-sm {
  padding: 0.48rem 1rem;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}
.btn.line {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white) !important;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: none;
  backdrop-filter: blur(8px);
}
.btn.line:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.btn.line-dark {
  background: var(--white);
  color: var(--slate-800) !important;
  border-color: var(--border-strong);
  box-shadow: var(--shadow-xs);
}
.btn.line-dark:hover {
  background: var(--slate-100);
  color: var(--slate-900) !important;
  border-color: var(--slate-400);
}
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

/* ---------- Hero Section (Modern Titanium Slate) ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 85% 15%, #182848 0%, var(--slate-950) 65%);
  color: var(--slate-100);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(100% 100% at 50% 30%, #000 40%, transparent 90%);
  -webkit-mask-image: radial-gradient(100% 100% at 50% 30%, #000 40%, transparent 90%);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.28);
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #38bdf8;
  box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.8);
  animation: pulse-dot-ring 2.2s infinite;
}
@keyframes pulse-dot-ring {
  0% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.7); }
  70% { box-shadow: 0 0 0 9px rgba(56, 189, 248, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 189, 248, 0); }
}
.hero h1 {
  color: var(--white);
  margin-bottom: 0.45em;
}
.hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  max-width: 48ch;
  color: var(--slate-300);
  margin-bottom: 1.85rem;
}

/* Modern Showcase Spotlight Card (Replaces old plate) */
.plate {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  box-shadow: var(--shadow-md);
  color: var(--slate-800);
}
.hero .plate {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-xl), 0 0 40px -10px rgba(37, 99, 235, 0.15);
  color: var(--slate-100);
}
.hero-plate-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 99, 235, 0.18);
  border: 1px solid rgba(96, 165, 250, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #93c5fd;
  margin-bottom: 1rem;
}
.hero .plate img {
  margin-inline: auto;
  max-height: clamp(240px, 36vw, 340px);
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.5));
  margin-bottom: 1.25rem;
}
.plate .readings {
  display: grid;
  gap: 0.5rem;
  margin: 0;
}
.plate .readings div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: var(--slate-50);
  border: 1px solid var(--border-subtle);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
}
.plate .readings dt {
  color: var(--slate-500);
  font-size: 0.88rem;
  font-weight: 500;
}
.plate .readings dd {
  margin: 0;
  color: var(--slate-900);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  font-family: var(--font-mono);
}
.hero .plate .readings div {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.hero .plate .readings dt {
  color: var(--slate-400);
}
.hero .plate .readings dd {
  color: var(--white);
}

/* Light / White plate variant helpers */
.product-top .plate,
.contact-details-plate {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  color: var(--slate-800);
  box-shadow: var(--shadow-lg);
}

/* ---------- Telemetry Stats Ribbon ---------- */
.stats-ribbon {
  background: var(--slate-900);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}
.stats-ribbon::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 120% at 10% 50%, rgba(37, 99, 235, 0.18), transparent 70%);
  pointer-events: none;
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  padding-block: 2.25rem;
}
.stat-item {
  display: flex;
  flex-direction: column;
  padding-left: 1.25rem;
  border-left: 2px solid rgba(37, 99, 235, 0.5);
}
.stat-num {
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(135deg, #ffffff 40%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--slate-400);
  margin-top: 0.35rem;
  font-weight: 500;
  line-height: 1.4;
}

/* ---------- Sections & Modern Spacing ---------- */
.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.section.tint {
  background: var(--slate-50);
  border-block: 1px solid var(--border-subtle);
}
.section-head {
  max-width: 66ch;
  margin-bottom: 3rem;
}
.section-head h2 {
  position: relative;
  padding-left: 1.1rem;
}
.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.25em;
  bottom: 0.25em;
  width: 4px;
  background: var(--blue-600);
  border-radius: var(--radius-full);
}
.section-head p {
  color: var(--text-muted);
  font-size: 1.125rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* ---------- Category Range Cards ---------- */
.ranges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.ranges > div, .ranges > article {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--ease);
}
.ranges > div::after, .ranges > article::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.ranges > div:hover, .ranges > article:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-100);
}
.ranges > div:hover::after, .ranges > article:hover::after { opacity: 1; }
.ranges h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}
.ranges h3 a {
  color: var(--slate-900);
  text-decoration: none;
}
.ranges h3 a:hover { color: var(--blue-600); }
.ranges p {
  color: var(--slate-600);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
}
.ranges ul {
  list-style: none;
  padding: 0;
  margin: auto 0 0;
  display: grid;
  gap: 0.5rem;
}
.ranges li {
  padding: 0.45rem 0;
  margin: 0;
  border-top: 1px solid var(--slate-100);
}
.ranges li a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--slate-700);
  transition: all 0.2s var(--ease);
}
.ranges li a::before {
  content: "→";
  color: var(--blue-600);
  font-weight: 700;
  transition: transform 0.2s var(--ease);
}
.ranges li a:hover { color: var(--blue-600); }
.ranges li a:hover::before { transform: translateX(3px); }

/* ---------- Product Catalogue Grid & Clean Modern Cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-200);
}
.tilt-glare {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  border-radius: inherit;
}
.pc-top-actions {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 1rem 1.25rem 0;
  background: var(--white);
}
.pc-badge {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--blue-50);
  color: var(--blue-700);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--blue-100);
}
.pc-compare-btn {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--slate-50);
  color: var(--slate-600);
  border: 1px solid var(--border-subtle);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.pc-compare-btn:hover {
  border-color: var(--blue-600);
  color: var(--blue-600);
  background: var(--blue-50);
}
.pc-compare-btn[aria-pressed="true"] {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
}

.pc-media {
  display: grid;
  place-items: center;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, var(--white), var(--slate-50));
  border-bottom: 1px solid var(--slate-100);
}
.pc-media img {
  height: 205px;
  width: auto;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}
.product-card:hover .pc-media img {
  transform: scale(1.05);
}

.pc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.5rem 1.6rem 1.6rem;
}
.pc-body h2, .pc-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.45rem;
}
.pc-body h2 a, .pc-body h3 a {
  color: var(--slate-900);
  text-decoration: none;
}
.pc-body h2 a::after, .pc-body h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.pc-body p {
  font-size: 0.94rem;
  color: var(--slate-600);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}
.pc-body .readings {
  margin-top: auto;
  display: grid;
  gap: 0.35rem;
}
.pc-body .readings div {
  display: flex;
  justify-content: space-between;
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  font-size: 0.86rem;
}
.pc-body .readings dt { color: var(--slate-500); }
.pc-body .readings dd { margin: 0; font-weight: 700; color: var(--slate-800); }

.pc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--slate-100);
}
.pc-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--blue-600);
}
.pc-cta .pc-arrow { transition: transform 0.25s var(--ease); }
.product-card:hover .pc-cta .pc-arrow { transform: translateX(4px); }
.pc-pdf-link {
  position: relative;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-700);
  background: var(--slate-100);
  border: 1px solid var(--border-subtle);
  padding: 0.38rem 0.7rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s var(--ease);
}
.pc-pdf-link:hover {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
}

/* ---------- Search & Filter Controls ---------- */
.catalogue-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.catalogue-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1 1 320px;
  max-width: 480px;
}
.search-box svg {
  position: absolute;
  left: 0.95rem;
  color: var(--slate-400);
  pointer-events: none;
}
.search-box input {
  width: 100%;
  padding: 0.65rem 2.6rem 0.65rem 2.65rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-subtle);
  font: 500 0.96rem/1.4 var(--font-sans);
  background: var(--slate-50);
  color: var(--slate-900);
  transition: all 0.2s var(--ease);
}
.search-box input:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.search-kbd {
  position: absolute;
  right: 0.85rem;
  font: 600 0.75rem/1 var(--font-mono);
  background: var(--white);
  color: var(--slate-400);
  border: 1px solid var(--slate-200);
  border-radius: 4px;
  padding: 0.2rem 0.45rem;
  pointer-events: none;
}
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--slate-100);
  color: var(--slate-600);
  border: 1px solid transparent;
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.filter-pill:hover {
  background: var(--blue-50);
  color: var(--blue-700);
}
.filter-pill.active {
  background: var(--slate-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.pill-count {
  font-size: 0.74rem;
  background: rgba(0, 0, 0, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
}
.filter-pill.active .pill-count {
  background: var(--blue-600);
  color: var(--white);
}
.catalogue-empty {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--slate-300);
  color: var(--slate-500);
}

/* ---------- Drive Sizing & Torque Calculator (Modern Engineering Console) ---------- */
.calc-section {
  background: linear-gradient(180deg, var(--white) 0%, var(--slate-50) 100%);
  border-top: 1px solid var(--border-subtle);
}
.calc-shell {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem;
  align-items: stretch;
}
.calc-inputs {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 1.5rem;
}
.calc-group { display: grid; gap: 0.5rem; }
.calc-group label {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--slate-900);
}
.calc-group select, .calc-group input[type=number] {
  width: 100%;
  font: 600 0.98rem/1.4 var(--font-sans);
  color: var(--slate-900);
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--slate-50);
  transition: all 0.2s var(--ease);
}
.calc-group select:focus, .calc-group input[type=number]:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.calc-group input[type=range] {
  width: 100%;
  accent-color: var(--blue-600);
  cursor: pointer;
  height: 6px;
  border-radius: var(--radius-full);
}
.calc-presets { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-top: 0.2rem; }
.calc-presets button {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--slate-100);
  color: var(--slate-700);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.18s var(--ease);
}
.calc-presets button:hover, .calc-presets button.active {
  background: var(--blue-600);
  color: var(--white);
  border-color: var(--blue-600);
}
.calc-row-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.calc-results {
  background: radial-gradient(120% 120% at 80% 20%, #172a50, var(--slate-950) 70%);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.calc-badge {
  align-self: flex-start;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
}
.calc-results h3 {
  color: var(--white);
  font-size: 1.65rem;
  margin: 0.85rem 0 0.35rem;
}
.calc-rec-desc {
  color: var(--slate-300);
  font-size: 0.95rem;
  line-height: 1.55;
  margin-bottom: 1.35rem;
}
.calc-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}
.calc-metric {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
}
.cm-label {
  display: block;
  font-size: 0.8rem;
  color: var(--slate-400);
  font-weight: 500;
}
.cm-val {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--white);
  margin-top: 0.25rem;
  letter-spacing: -0.02em;
}
.calc-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Product Detail View & Split Grids ---------- */
.page-head {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
}
.lead { font-size: 1.25rem; line-height: 1.6; color: var(--slate-600); }
.product-top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.spec-table {
  width: 100%;
  border-collapse: collapse;
}
.spec-table th, .spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.75rem 0.85rem 0.75rem 0;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.96rem;
}
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 0; }
.spec-table th {
  font-weight: 500;
  color: var(--slate-500);
  width: 44%;
}
.spec-table td {
  color: var(--slate-900);
  font-weight: 700;
}
.note { font-size: 0.92rem; color: var(--slate-500); margin: 0.85rem 0 0; }

.split ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.65rem;
}
.split ul li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--slate-700);
}
.split ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-100);
}
.split ol {
  padding-left: 1.25rem;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.65rem;
  color: var(--slate-700);
  line-height: 1.6;
}

/* ---------- Rich Content & Guides Prose ---------- */
.prose {
  max-width: 82ch;
  margin-inline: auto;
  padding-block: 1.5rem 3.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--slate-700);
}
.prose h2 {
  font-size: 1.75rem;
  color: var(--slate-900);
  margin: 2.25rem 0 1rem;
  letter-spacing: -0.02em;
}
.prose h3 {
  font-size: 1.35rem;
  color: var(--slate-900);
  margin: 1.75rem 0 0.75rem;
}
.prose p { margin-bottom: 1.25rem; }
.prose ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.65rem;
}
.prose ul li {
  position: relative;
  padding-left: 1.5rem;
}
.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 3px var(--blue-100);
}
.prose ol {
  padding-left: 1.25rem;
  margin: 1rem 0 1.5rem;
  display: grid;
  gap: 0.65rem;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
.prose th, .prose td {
  padding: 0.85rem 1.15rem;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}
.prose th {
  background: var(--slate-50);
  font-weight: 700;
  color: var(--slate-800);
  font-size: 0.92rem;
}
.prose td { font-size: 0.95rem; }
.prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--slate-50);
  border-left: 4px solid var(--blue-600);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--slate-700);
  font-style: italic;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-xs);
  transition: all 0.2s var(--ease);
}
.faq details[open] {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
}
.faq summary {
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--blue-600);
  transition: transform 0.25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0.75rem 0 0.2rem; color: var(--slate-600); }

/* ---------- Forms & Inputs ---------- */
form.quote {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}
form.quote label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-800);
}
form.quote .full { grid-column: 1 / -1; }
input, textarea {
  width: 100%;
  font: 500 0.98rem/1.5 var(--font-sans);
  color: var(--slate-900);
  padding: 0.75rem 0.95rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--slate-50);
  transition: all 0.2s var(--ease);
}
input:hover, textarea:hover { border-color: var(--slate-400); }
input:focus, textarea:focus {
  outline: none;
  background: var(--white);
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}
.form-msg {
  min-height: 1.5em;
  margin: 0 0 1rem;
  font-weight: 600;
  color: var(--slate-900);
}

/* ---------- Breadcrumbs ---------- */
.crumbs {
  background: var(--slate-50);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  list-style: none;
  padding: 0.75rem 0;
  margin: 0;
}
.crumbs li { margin: 0; }
.crumbs li + li::before {
  content: "/";
  margin-right: 0.6rem;
  color: var(--slate-400);
}
.crumbs a { color: var(--slate-600); font-weight: 500; }
.crumbs a:hover { color: var(--blue-600); }

/* ---------- Pre-footer CTA Band ---------- */
.cta-band {
  position: relative;
  background: radial-gradient(100% 140% at 85% 0%, #1e3a8a 0%, var(--slate-950) 75%);
  color: var(--white);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.cta-band .wrap {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.cta-band h2 { color: var(--white); margin: 0; }
.cta-band p {
  margin: 0.5rem 0 0;
  color: var(--slate-300);
  max-width: 52ch;
  font-size: 1.08rem;
}
.cta-band .btn { flex: none; }

/* ---------- Modern Deep Titanium Footer ---------- */
.site-foot {
  background: var(--slate-950);
  color: var(--slate-400);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.site-foot .wrap { padding-block: 4rem 2rem; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
}
.site-foot a {
  color: var(--slate-300);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
.site-foot a:hover { color: var(--white); }
.site-foot h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
}
.site-foot ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
}
.legal {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--slate-500);
  max-width: none;
}

/* ---------- Floating Controls (WhatsApp, Top, Compare) ---------- */
#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 60;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-500));
  box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
  transition: width 0.08s linear;
}
#to-top {
  position: fixed;
  right: clamp(16px, 3.5vw, 32px);
  bottom: clamp(16px, 3.5vw, 32px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--slate-900);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.9);
  transition: all 0.25s var(--ease);
  z-index: 55;
}
#to-top.show { opacity: 1; visibility: visible; transform: none; }
#to-top:hover {
  background: var(--blue-600);
  transform: translateY(-3px);
  box-shadow: var(--shadow-blue-glow);
}

.wa-float {
  position: fixed;
  left: clamp(16px, 3.5vw, 32px);
  bottom: clamp(16px, 3.5vw, 32px);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.38);
  z-index: 56;
  text-decoration: none;
  transition: all 0.25s var(--ease);
}
.wa-float:hover {
  transform: translateY(-3px) scale(1.05);
  color: #fff;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}
.wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: wa-pulse-ring 2.2s infinite;
  pointer-events: none;
}
@keyframes wa-pulse-ring {
  0% { transform: scale(0.9); opacity: 0.85; }
  75% { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.wa-tooltip {
  position: absolute;
  left: 62px;
  white-space: nowrap;
  background: var(--slate-900);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(-6px);
  pointer-events: none;
  transition: all 0.22s var(--ease);
}
.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

.compare-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 58;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
  padding: 0.85rem 0;
}
.compare-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.compare-info { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.compare-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.compare-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
}
.compare-chip button {
  background: none; border: 0; color: #93c5fd; font-weight: 700; cursor: pointer; padding: 0;
}
.compare-actions { display: flex; align-items: center; gap: 0.75rem; }
.btn-compare-clear {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--slate-300);
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.9rem;
}
.btn-compare-clear:hover { background: rgba(255, 255, 255, 0.08); color: var(--white); }

.compare-modal {
  position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 1.5rem;
}
.compare-modal[hidden], .compare-bar[hidden] { display: none !important; }
.compare-backdrop {
  position: absolute; inset: 0; background: rgba(7, 13, 25, 0.75); backdrop-filter: blur(6px);
}
.compare-dialog {
  position: relative; z-index: 1;
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 1040px; width: 100%; max-height: 88vh;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}
.compare-dialog-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.75rem;
  background: var(--slate-900); color: var(--white);
}
.compare-dialog-head h2 { color: var(--white); margin: 0; font-size: 1.45rem; }
.compare-close {
  background: none; border: 0; color: var(--white); font-size: 2rem; line-height: 1; cursor: pointer; padding: 0;
}
.compare-dialog-body { padding: 1.75rem; overflow: auto; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 580px; }
.cmp-table th, .cmp-table td {
  padding: 0.85rem 1.15rem; border-bottom: 1px solid var(--border-subtle); text-align: left; vertical-align: top;
}
.cmp-table th { width: 24%; background: var(--slate-50); color: var(--slate-500); font-weight: 600; font-size: 0.9rem; }
.cmp-prod-head img { height: 110px; width: auto; object-fit: contain; margin-bottom: 0.5rem; }
.cmp-prod-head h3 { font-size: 1.15rem; margin: 0 0 0.35rem; }

/* ---------- Checklist & Specification Requirements ---------- */
.checklist-grid {
  display: grid;
  gap: 1rem;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1.25rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: all 0.25s var(--ease);
}
.checklist-item:hover {
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.checklist-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--blue-50);
  color: var(--blue-600);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}
.checklist-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--slate-900);
  margin-bottom: 0.25rem;
}
.checklist-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--slate-600);
  line-height: 1.5;
}

/* Pulse Dot Small for badges */
.pulse-dot-sm {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 10px #60a5fa;
  animation: pulse-glow 2s infinite;
}

/* ---------- About Page Engineering Showcase ---------- */
.about-pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  margin: 2.5rem 0;
}
.about-pillar {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
  position: relative;
}
.about-pillar:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}
.about-pillar-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--blue-50);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.about-pillar h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--slate-900);
}
.about-pillar p {
  color: var(--slate-600);
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0;
}

/* Industries Served Pills Grid */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.industry-card {
  background: var(--slate-50);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.15rem;
  transition: all 0.2s var(--ease);
}
.industry-card:hover {
  background: var(--white);
  border-color: var(--blue-200);
  box-shadow: var(--shadow-md);
}
.industry-card strong {
  display: block;
  font-size: 0.98rem;
  color: var(--slate-900);
  margin-bottom: 0.35rem;
}
.industry-card span {
  font-size: 0.86rem;
  color: var(--slate-500);
  line-height: 1.4;
  display: block;
}

/* ---------- Contact Page Enhancements ---------- */
.contact-sidebar-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-lg);
}
.contact-sidebar-card h2 {
  font-size: 1.45rem;
  margin: 0 0 1.5rem;
  color: var(--slate-900);
}
.contact-channel-list {
  display: grid;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.contact-channel-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: var(--slate-50);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s var(--ease);
}
.contact-channel-item:hover {
  background: var(--white);
  border-color: var(--blue-300);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}
.contact-channel-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--border-subtle);
  color: var(--blue-600);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-channel-text {
  display: flex;
  flex-direction: column;
}
.contact-channel-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-500);
  margin-bottom: 0.2rem;
}
.contact-channel-val {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--slate-900);
}
.turnaround-box {
  background: var(--blue-50);
  border: 1px solid var(--blue-200);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.25rem;
  font-size: 0.9rem;
  color: var(--blue-950);
}
.turnaround-box strong {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--blue-700);
  margin-bottom: 0.35rem;
}

/* ---------- Guides Listing Cards ---------- */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}
.guide-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.guide-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-200);
}
.guide-card-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-600);
  margin-bottom: 0.65rem;
}
.guide-card h2 {
  font-size: 1.4rem;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}
.guide-card h2 a {
  color: var(--slate-900);
  text-decoration: none;
}
.guide-card h2 a:hover { color: var(--blue-600); }
.guide-card p {
  color: var(--slate-600);
  font-size: 0.96rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}
.guide-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--slate-100);
}

/* ---------- Motion & Scroll Reveal ---------- */
.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.has-js [data-reveal].in {
  opacity: 1;
  transform: none;
}
.hero h1, .hero p, .hero .actions { animation: rise 0.7s var(--ease) both; }
.hero p { animation-delay: 0.08s; }
.hero .actions { animation-delay: 0.16s; }
.hero .plate { animation: rise 0.8s var(--ease) 0.12s both; }
@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .product-top, .split, .ranges, .calc-shell, .about-pillars-grid, .guides-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .product-grid, .foot-grid, .stats-grid, .calc-row-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .product-grid, .foot-grid, .stats-grid, form.quote, .calc-metrics {
    grid-template-columns: minmax(0, 1fr);
  }
  .brand img { height: 44px; }
  .brand-text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .has-js [data-reveal] { opacity: 1; transform: none; }
}
@media print {
  .site-head, .nav-toggle, .btn, form.quote, #progress, #to-top, .cta-band, .wa-float, .compare-bar, .compare-modal {
    display: none !important;
  }
  .site-head { position: static; }
}

/* ============ Glassmorphism layer ============ */
body {
  background:
    radial-gradient(900px 500px at -5% 0%, rgba(37, 99, 235, 0.07), transparent 60%),
    radial-gradient(800px 500px at 105% 30%, rgba(6, 182, 212, 0.07), transparent 60%),
    var(--bg-page);
  background-attachment: fixed;
}
.site-head { background: rgba(255, 255, 255, 0.62); backdrop-filter: blur(20px) saturate(170%); -webkit-backdrop-filter: blur(20px) saturate(170%); }
.site-head.is-scrolled { background: rgba(255, 255, 255, 0.78); }
.product-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
}
.product-card { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-head, .product-card { background: rgba(255, 255, 255, 0.95); }
}
@media (prefers-reduced-motion: reduce) { .product-card:hover { transform: none; } }

/* Dark glass stat tiles on the dark ribbon */
.stats-ribbon .stat-item {
  padding: 1.1rem 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-left: 3px solid var(--cyan-500);
  border-radius: 14px;
}
.stats-ribbon .stat-num { color: var(--white); }
.stats-ribbon .stat-label { color: var(--slate-300); }

.site-nav a { white-space: nowrap; }

/* ============ Spotlight hover (cursor-following glow) ============ */
.spotlight, .product-card, .about-pillar { position: relative; isolation: isolate; }
.spotlight::after, .product-card::after, .about-pillar::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(37, 99, 235, 0.10), transparent 45%);
  opacity: 0; transition: opacity .3s var(--ease);
}
.spotlight:hover::after, .product-card:hover::after, .about-pillar:hover::after { opacity: 1; }

/* ============ Engineering tools page ============ */
.tools-grid { display: grid; gap: 1.75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 480px), 1fr)); }
.tool-card {
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(255,255,255,.85), rgba(248,250,252,.6));
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(226, 232, 240, .9);
  box-shadow: 0 20px 50px -20px rgba(15, 23, 42, .18);
  display: flex; flex-direction: column; gap: 1.25rem;
}
.tool-head h2 { font-size: 1.5rem; margin: .5rem 0 .25rem; }
.tool-head p { color: var(--slate-600); margin: 0; }
.tool-badge {
  display: inline-block; font: 600 .72rem/1 "JetBrains Mono", monospace; letter-spacing: .08em; text-transform: uppercase;
  padding: .4rem .65rem; border-radius: var(--radius-full); color: var(--blue-700); background: var(--blue-50); border: 1px solid var(--blue-100);
}
.gear-stage, .vac-stage {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(120% 120% at 20% 0%, #13254a 0%, #070d19 70%);
  border: 1px solid rgba(255,255,255,.06);
}
.gear-stage::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 22px 22px;
}
.gear-svg, .vac-svg { display: block; width: 100%; height: auto; }
.gear-svg path { filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.gear-rpm, .vac-live {
  position: absolute; top: .75rem; font: 500 .8rem/1 "JetBrains Mono", monospace; color: var(--slate-300);
  padding: .45rem .6rem; border-radius: var(--radius-sm); background: rgba(15,23,42,.6); border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.gear-rpm b, .vac-live b { color: #fff; }
.gear-rpm-in { left: .75rem; }
.gear-rpm-out, .vac-live { right: .75rem; }
.vac-grid line { stroke: rgba(255,255,255,.07); }
.vac-grid text, .vac-axis { fill: var(--slate-400); font: 500 10px "JetBrains Mono", monospace; }
.vac-curve { fill: none; stroke: #22d3ee; stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(34,211,238,.55)); }
.vac-target { stroke: #f59e0b; stroke-width: 1.5; stroke-dasharray: 5 5; }
.vac-dot { fill: #fff; stroke: #22d3ee; stroke-width: 3; }
.tool-fields { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1rem; }
.tool-fields label { display: flex; flex-direction: column; gap: .4rem; font-weight: 600; font-size: .88rem; color: var(--slate-800); }
.tool-fields .unit { float: right; font-weight: 500; color: var(--slate-500); font-size: .78rem; }
.tool-fields label { position: relative; }
.tool-fields label > .unit { position: absolute; right: 0; top: 0; }
.tool-fields input[type=number], .tool-fields select {
  width: 100%; padding: .7rem .8rem; border-radius: var(--radius-md); font: inherit; font-weight: 500; color: var(--slate-900);
  background: rgba(255,255,255,.8); border: 1px solid var(--slate-200); transition: border-color .2s, box-shadow .2s;
}
.tool-fields input:focus-visible, .tool-fields select:focus-visible { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgba(37,99,235,.15); }
.tool-fields input[type=range] { width: 100%; accent-color: var(--blue-600); height: 2.4rem; }
.span-2 { grid-column: 1 / -1; }
.tool-results { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 0; }
.tool-results > div { padding: .85rem 1rem; border-radius: var(--radius-md); background: var(--slate-50); border: 1px solid var(--slate-200); }
.tool-results dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--slate-500); font-weight: 600; }
.tool-results dd { margin: .3rem 0 0; font: 700 1.45rem/1.1 "JetBrains Mono", monospace; color: var(--slate-900); }
.tool-results dd small { font-size: .8rem; color: var(--slate-500); font-weight: 500; }
.tool-results .verdict { font: 600 .98rem/1.4 "Plus Jakarta Sans", sans-serif; }
.verdict.ok { color: var(--emerald-600); }
.verdict.warn { color: #b45309; }
.tool-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: auto; }
.btn-wa { background: #16a34a; border-color: #16a34a; color: #fff; }
.btn-wa:hover { background: #15803d; border-color: #15803d; color: #fff; }
.btn-ghost { background: transparent; color: var(--slate-800) !important; border: 1px solid var(--slate-300); }
.btn-ghost:hover { background: var(--blue-50); border-color: var(--blue-600); color: var(--blue-700) !important; }
.tool-note { margin-top: 1.5rem; font-size: .85rem; color: var(--slate-500); }
@media (max-width: 520px) {
  .tool-fields, .tool-results { grid-template-columns: 1fr; }
}

.brand { flex-shrink: 0; }
.brand img { min-width: 150px; object-fit: contain; }
@media (max-width: 1080px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem var(--gutter) 1.25rem;
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: all 0.25s var(--ease);
  }
  .site-head[data-open] .site-nav {
    opacity: 1; visibility: visible; transform: none;
  }
  .site-nav a:not(.btn) {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--slate-100);
    border-radius: 0;
  }
  .head-cta { margin: 0.75rem 0 0; }
}

/* Real-time simulation controls */
.sim-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .6rem .75rem; border-top: 1px solid rgba(255,255,255,.08); background: rgba(7,13,25,.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.sim-speeds { display: flex; flex-wrap: wrap; gap: .35rem; }
.sim-speeds button {
  font: 600 .74rem/1 "JetBrains Mono", monospace; color: var(--slate-300); cursor: pointer;
  padding: .45rem .6rem; border-radius: var(--radius-sm); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  transition: background .2s, color .2s, border-color .2s;
}
.sim-speeds button:hover { color: #fff; border-color: rgba(34,211,238,.5); }
.sim-speeds button[aria-pressed="true"] { color: #07131f; background: #22d3ee; border-color: #22d3ee; }
.sim-speeds button:focus-visible { outline: 2px solid #22d3ee; outline-offset: 2px; }
.sim-speeds .sim-play { min-width: 2.2rem; }
.sim-stats { display: flex; gap: .9rem; font: 500 .74rem/1 "JetBrains Mono", monospace; color: var(--slate-400); }
.sim-stats b { color: #fff; font-variant-numeric: tabular-nums; }
.gear-rpm b, .vac-live b { font-variant-numeric: tabular-nums; }
.vac-curve { stroke: rgba(34,211,238,.25); filter: none; stroke-dasharray: 3 4; }
.vac-trail { fill: none; stroke: #22d3ee; stroke-width: 2.5; filter: drop-shadow(0 0 6px rgba(34,211,238,.55)); }
.vac-reached .vac-live { border-color: rgba(16,185,129,.6); box-shadow: 0 0 0 3px rgba(16,185,129,.2); }
.vac-reached .vac-dot { stroke: #10b981; }

/* Tools quick guide */
.tool-guide {
  margin-top: 1.5rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-xl);
  background: linear-gradient(150deg, rgba(239,246,255,.9), rgba(236,254,255,.7));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--blue-100); box-shadow: 0 16px 40px -24px rgba(37,99,235,.35);
  animation: guideIn .5s var(--ease) both;
}
@keyframes guideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tool-guide[hidden] { display: none; }
.guide-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.guide-top h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: .55rem 0 .35rem; }
.guide-top p { margin: 0; color: var(--slate-600); max-width: 62ch; }
.guide-close, .guide-reopen {
  font: 600 .85rem/1 var(--font-sans); cursor: pointer; border-radius: var(--radius-full);
  padding: .6rem .95rem; border: 1px solid var(--slate-300); background: rgba(255,255,255,.8); color: var(--slate-700);
  display: inline-flex; align-items: center; gap: .45rem; transition: border-color .2s, color .2s, background .2s;
}
.guide-close:hover, .guide-reopen:hover { border-color: var(--blue-600); color: var(--blue-700); background: #fff; }
.guide-reopen { margin-top: 1.25rem; }
.guide-reopen[hidden] { display: none; }
.guide-cols { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); margin-top: 1.5rem; }
.guide-col { background: rgba(255,255,255,.75); border: 1px solid rgba(226,232,240,.9); border-radius: var(--radius-lg); padding: 1.25rem 1.35rem; }
.guide-col h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.12rem; margin: 0 0 .5rem; }
.guide-dot { width: .7rem; height: .7rem; border-radius: 50%; flex-shrink: 0; }
.dot-blue { background: linear-gradient(135deg, #22d3ee, #2563eb); }
.dot-cyan { background: linear-gradient(135deg, #34d399, #0891b2); }
.guide-when { color: var(--slate-600); font-size: .93rem; margin: 0 0 .9rem; }
.guide-steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: .7rem; }
.guide-steps li { counter-increment: step; position: relative; padding-left: 2.3rem; font-size: .94rem; line-height: 1.5; color: var(--slate-700); }
.guide-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -.05rem; width: 1.65rem; height: 1.65rem; border-radius: 50%;
  display: grid; place-items: center; font: 700 .8rem/1 "JetBrains Mono", monospace; color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--cyan-500)); box-shadow: 0 4px 10px rgba(37,99,235,.3);
}
.guide-steps b { color: var(--slate-900); }
.guide-tip { margin: 1rem 0 0; padding: .65rem .85rem; border-radius: var(--radius-md); font-size: .88rem; color: #92400e; background: var(--amber-50); border: 1px solid #fde68a; }
.guide-foot { display: grid; gap: 1rem; margin-top: 1.25rem; }
.guide-final { font-size: .95rem; color: var(--slate-700); line-height: 1.7; }
.chip-wa { display: inline-block; padding: .15rem .55rem; border-radius: var(--radius-sm); background: #16a34a; color: #fff; font-weight: 600; font-size: .85rem; }
.guide-terms { border-radius: var(--radius-md); background: rgba(255,255,255,.7); border: 1px solid var(--slate-200); }
.guide-terms summary { cursor: pointer; padding: .85rem 1rem; font-weight: 600; color: var(--blue-700); list-style-position: inside; }
.guide-terms dl { display: grid; gap: .75rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); margin: 0; padding: 0 1rem 1rem; }
.guide-terms dt { font-weight: 700; color: var(--slate-900); font-size: .9rem; }
.guide-terms dd { margin: .2rem 0 0; color: var(--slate-600); font-size: .88rem; line-height: 1.5; }
@media (prefers-reduced-motion: reduce) { .tool-guide { animation: none; } }

/* Live vacuum sim: points where the user changed settings mid-run */
.vac-marks circle { fill: #f59e0b; stroke: #07131f; stroke-width: 1.5; }
.sim-stats [data-out="v-left"] { color: #22d3ee; }
.vac-reached .sim-stats [data-out="v-left"] { color: #34d399; }

/* <picture> wrappers must not change layout of the image inside */
picture { display: contents; }
