/* ====================================================
   MIDSHIRE LUBRICANTS — MASTER STYLESHEET
   Staging Build v1.0
   ==================================================== */

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* --- CSS CUSTOM PROPERTIES --- */
:root {
  /* Brand Colours */
  --navy:         #0D1F35;
  --navy-mid:     #1B3456;
  --navy-light:   #2A4A72;
  --navy-subtle:  #EDF2F9;
  --orange:       #E85D04;
  --orange-hover: #CC5108;
  --orange-pale:  #FEF4EE;

  /* Neutrals */
  --bg-white:     #FFFFFF;
  --bg-light:     #F4F7FB;
  --bg-mid:       #EDF1F7;
  --border-light: #E2EAF4;
  --border-mid:   #C8D5E8;

  /* Text */
  --text-dark:    #1C2B3A;
  --text-mid:     #4A5A6B;
  --text-light:   #7A8A9B;
  --text-white:   #FFFFFF;

  /* Shadows */
  --shadow-sm:    0 1px 4px rgba(13,31,53,0.07);
  --shadow-md:    0 4px 16px rgba(13,31,53,0.10);
  --shadow-lg:    0 8px 32px rgba(13,31,53,0.14);

  /* Shape */
  --radius:       6px;
  --radius-md:    10px;
  --radius-lg:    16px;

  /* Transitions */
  --transition:   all 0.2s ease;

  /* Layout */
  --max-width:    1200px;
  --pad-x:        24px;
  --nav-h:        72px;
  --section-lg:   96px;
  --section-md:   64px;
  --section-sm:   40px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-dark);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
p { color: var(--text-mid); }
.lead { font-size: 1.125rem; line-height: 1.7; color: var(--text-mid); }
.small { font-size: 0.875rem; }
.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 12px;
}

/* --- LAYOUT --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.section { padding: var(--section-lg) 0; }
.section--sm { padding: var(--section-md) 0; }
.section--alt { background: var(--bg-light); }
.section--navy { background: var(--navy); }
.section--navy h2, .section--navy h3, .section--navy h4,
.section--navy .eyebrow { color: var(--text-white); }
.section--navy p, .section--navy .lead { color: rgba(255,255,255,0.75); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

.text-center { text-align: center; }
.text-white { color: var(--text-white) !important; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* --- SECTION HEADERS --- */
.section-header { margin-bottom: 48px; }
.section-header.text-center { max-width: 640px; margin-left: auto; margin-right: auto; margin-bottom: 48px; }
.section-header h2 { margin-top: 8px; }
.section-header p { margin-top: 12px; font-size: 1.05rem; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--orange);
}
.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--border-mid);
}
.btn-secondary:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.7);
}
.btn-sm { padding: 8px 16px; font-size: 0.875rem; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }

/* --- NAVIGATION --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--navy);
  height: var(--nav-h);
  box-shadow: 0 2px 16px rgba(13,31,53,0.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  flex-shrink: 0;
}
.nav-logo-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.nav-logo-tag {
  font-size: 0.6rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(255,255,255,0.09);
}
.nav-link svg { width: 12px; height: 12px; transition: var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: var(--transition);
  pointer-events: none;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}
.dropdown-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: var(--transition);
}
.dropdown-link:hover {
  background: var(--bg-light);
  color: var(--orange);
}
.dropdown-link-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.dropdown-link:hover .dropdown-link-icon { background: var(--orange-pale); }
.dropdown-link-text { display: flex; flex-direction: column; }
.dropdown-link-sub { font-size: 0.75rem; font-weight: 400; color: var(--text-light); margin-top: 1px; }

.nav-cta { margin-left: 12px; }

/* Mobile nav toggle */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--navy);
  z-index: 999;
  padding: 24px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-links { display: flex; flex-direction: column; gap: 4px; }
.mobile-link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  border-radius: var(--radius);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-link:hover { color: #fff; background: rgba(255,255,255,0.07); }
.mobile-sub-links { padding-left: 16px; margin-top: 4px; }
.mobile-sub-link {
  display: block;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  border-radius: var(--radius);
}
.mobile-sub-link:hover { color: var(--orange); }
.mobile-menu-cta { margin-top: 24px; }

/* --- HERO SECTIONS --- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(232,93,4,0.12) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(255,255,255,0.04) 0%, transparent 45%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,93,4,0.4), transparent);
}
.hero-content { position: relative; z-index: 1; max-width: 680px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,93,4,0.15);
  border: 1px solid rgba(232,93,4,0.3);
  color: #FF9A5C;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.hero h1 { color: #fff; margin-bottom: 20px; }
.hero .lead { color: rgba(255,255,255,0.75); margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-split { display: grid; grid-template-columns: 1fr 420px; gap: 64px; align-items: center; }
.hero-visual {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
}

/* Page hero (smaller, for interior pages) */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
  padding: 56px 0 48px;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 10% 50%, rgba(232,93,4,0.10) 0%, transparent 50%);
  pointer-events: none;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.page-hero .lead { color: rgba(255,255,255,0.72); margin-top: 12px; max-width: 560px; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: var(--transition); }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb-sep { color: rgba(255,255,255,0.3); }

/* --- CARDS --- */
.card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-mid);
  transform: translateY(-2px);
}
.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card-icon--orange { background: var(--orange-pale); }
.card-icon--navy  { background: var(--navy-subtle); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 0.9375rem; }

/* Product price display */
.product-card-price {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
  font-size: 0.8125rem;
  color: var(--text-light);
}
.product-card-price strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--orange);
}

/* Sidebar price card */
.sidebar-price-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
  letter-spacing: -0.02em;
}
.sidebar-price-unit {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* Product card */
.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--border-mid);
  transform: translateY(-3px);
}
.product-card-band {
  height: 6px;
  background: var(--orange);
}
.product-card-band--industrial { background: linear-gradient(90deg, var(--navy-mid), var(--navy-light)); }
.product-card-band--automotive { background: linear-gradient(90deg, var(--orange), var(--orange-hover)); }
.product-card-body { padding: 24px; flex: 1; }
.product-card-cat {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.product-card-cat--industrial { color: var(--navy-light); }
.product-card-cat--automotive { color: var(--orange); }
.product-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text-dark); }
.product-card p { font-size: 0.875rem; color: var(--text-mid); }
.product-card-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-light);
}
.product-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.product-card-link:hover { color: var(--orange); gap: 10px; }

/* Category card */
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: var(--transition);
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card--industrial {
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy) 100%);
}
.cat-card--automotive {
  background: linear-gradient(160deg, #3A2010 0%, #1A0A00 50%, var(--navy) 100%);
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background: radial-gradient(ellipse at 70% 30%, rgba(232,93,4,0.25) 0%, transparent 60%);
}
.cat-card-content { position: relative; z-index: 1; }
.cat-card-icon { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.cat-card h2 { color: #fff; font-size: 1.75rem; margin-bottom: 8px; }
.cat-card p { color: rgba(255,255,255,0.7); font-size: 0.9375rem; margin-bottom: 20px; }
.cat-card-count {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 20px;
  display: block;
}

/* Service card */
.service-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  border-left: 4px solid transparent;
}
.service-card:hover {
  border-left-color: var(--orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-card-icon { font-size: 2rem; margin-bottom: 16px; display: block; }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: 0.9375rem; }

/* Trust signals */
.trust-bar { background: var(--navy); padding: 32px 0; }
.trust-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { text-align: center; padding: 16px; }
.trust-item-value { font-size: 2rem; font-weight: 800; color: var(--orange); line-height: 1; margin-bottom: 6px; }
.trust-item-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); font-weight: 500; text-transform: uppercase; letter-spacing: 0.05em; }

/* --- PRODUCT PAGE SPECIFIC --- */
.product-page-layout { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.product-main { min-width: 0; }
.product-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }

.product-intro { margin-bottom: 40px; }
.product-intro h2 { font-size: 1.25rem; margin-bottom: 12px; }
.product-intro p { margin-bottom: 16px; }

.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec-table tr { border-bottom: 1px solid var(--border-light); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 12px 0; font-size: 0.9rem; }
.spec-table td:first-child { color: var(--text-light); width: 45%; font-weight: 500; }
.spec-table td:last-child { color: var(--text-dark); font-weight: 600; }

.product-section { margin-bottom: 36px; }
.product-section h3 { font-size: 1.05rem; margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--border-light); }
.product-section ul { display: flex; flex-direction: column; gap: 8px; }
.product-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  color: var(--text-mid);
}
.product-section ul li::before { content: '✓'; color: var(--orange); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

.sidebar-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 20px;
}
.sidebar-card-head {
  background: var(--navy);
  color: #fff;
  padding: 16px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sidebar-card-body { padding: 20px; }
.sidebar-card-body p { font-size: 0.9rem; margin-bottom: 16px; }
.sidebar-card-body .btn { width: 100%; justify-content: center; margin-bottom: 10px; }

/* Document downloads placeholder */
.doc-download {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  margin-bottom: 10px;
  transition: var(--transition);
  cursor: pointer;
}
.doc-download:hover { border-color: var(--orange); background: var(--orange-pale); }
.doc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}
.doc-info { flex: 1; }
.doc-name { font-size: 0.875rem; font-weight: 600; color: var(--text-dark); }
.doc-meta { font-size: 0.75rem; color: var(--text-light); margin-top: 2px; }
.doc-download-btn { font-size: 0.75rem; font-weight: 600; color: var(--orange); }

/* --- FORM EMBED SECTION --- */
.form-section { background: var(--bg-light); padding: var(--section-md) 0; }
.form-section-inner { display: grid; grid-template-columns: 380px 1fr; gap: 64px; align-items: start; }
.form-section-intro h2 { margin-bottom: 16px; }
.form-section-intro p { margin-bottom: 24px; }
.form-embed-container {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-sm);
}
.form-embed-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 4px;
}

/* --- SALLY PLACEHOLDER --- */
.sally-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 300px;
}
.sally-widget {
  background: var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(13,31,53,0.35);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  animation: sallyIn 0.4s ease;
}
@keyframes sallyIn {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.sally-header {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 100%);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sally-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.sally-header-info { flex: 1; }
.sally-name { font-size: 0.875rem; font-weight: 700; color: #fff; line-height: 1.1; }
.sally-title { font-size: 0.7rem; color: rgba(255,255,255,0.8); }
.sally-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.85);
}
.sally-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ADE80;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74,222,128,0.5); }
  50% { opacity: 0.8; box-shadow: 0 0 0 4px rgba(74,222,128,0); }
}
.sally-body { padding: 16px; }
.sally-body p { font-size: 0.8125rem; color: rgba(255,255,255,0.75); line-height: 1.55; margin-bottom: 12px; }
.sally-placeholder-note {
  background: rgba(232,93,4,0.15);
  border: 1px dashed rgba(232,93,4,0.4);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
  font-family: monospace;
}
.sally-cta {
  background: var(--orange);
  color: #fff;
  padding: 10px;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  text-align: center;
  width: 100%;
  cursor: pointer;
  transition: var(--transition);
}
.sally-cta:hover { background: var(--orange-hover); }
.sally-toggle {
  position: absolute;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(232,93,4,0.45);
  transition: var(--transition);
  z-index: 901;
}
.sally-toggle:hover { background: var(--orange-hover); transform: scale(1.05); }

/* Sally section block (for home page etc.) */
.sally-section {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
  padding: var(--section-md) 0;
}
.sally-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(232,93,4,0.12) 0%, transparent 55%);
}
.sally-section-inner { display: grid; grid-template-columns: 1fr 380px; gap: 64px; align-items: center; position: relative; z-index: 1; }
.sally-section-content h2 { color: #fff; margin-bottom: 16px; }
.sally-section-content .lead { color: rgba(255,255,255,0.72); margin-bottom: 24px; }
.sally-embed-placeholder {
  background: rgba(255,255,255,0.05);
  border: 2px dashed rgba(232,93,4,0.4);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
}
.sally-embed-placeholder .placeholder-icon { font-size: 3rem; margin-bottom: 16px; display: block; }
.sally-embed-placeholder h4 { color: #fff; margin-bottom: 8px; }
.sally-embed-placeholder p { color: rgba(255,255,255,0.55); font-size: 0.875rem; margin-bottom: 16px; }
.sally-embed-code {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
  font-family: monospace;
  text-align: left;
  line-height: 1.6;
}

/* --- TECHNICAL PAGE --- */
.support-topics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.topic-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}
.topic-card:hover { box-shadow: var(--shadow-md); border-color: var(--orange); }
.topic-card-icon { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.topic-card h4 { margin-bottom: 6px; }
.topic-card p { font-size: 0.875rem; }

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
}
.faq-item:first-child { border-top: 1px solid var(--border-light); }
.faq-question {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
}
.faq-question-icon { font-size: 1.25rem; color: var(--orange); flex-shrink: 0; transition: var(--transition); }
.faq-item.open .faq-question-icon { transform: rotate(45deg); }
.faq-answer { font-size: 0.9375rem; color: var(--text-mid); margin-top: 12px; line-height: 1.65; max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item.open .faq-answer { max-height: 200px; }

/* --- STATS / SIGNPOST STRIP --- */
.cta-strip { background: var(--orange); padding: 56px 0; }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-strip h2 { color: #fff; font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
.cta-strip p { color: rgba(255,255,255,0.82); margin-top: 6px; }
.cta-strip .btn-ghost { border-color: rgba(255,255,255,0.6); }

/* --- FOOTER --- */
.site-footer {
  background: var(--navy);
  padding: 64px 0 0;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-name { font-size: 1.1rem; font-weight: 800; color: #fff; letter-spacing: -0.02em; }
.footer-brand-tag { font-size: 0.7rem; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; display: block; }
.footer-brand-desc { margin-top: 16px; font-size: 0.875rem; color: rgba(255,255,255,0.5); line-height: 1.65; }
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-link { font-size: 0.875rem; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-link:hover { color: var(--orange); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}
.footer-contact-item span:first-child { color: var(--orange); flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom-text { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-staging-badge {
  background: rgba(232,93,4,0.15);
  border: 1px solid rgba(232,93,4,0.3);
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 50px;
}

/* --- BADGE / TAG --- */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.badge--industrial { background: var(--navy-subtle); color: var(--navy-light); }
.badge--automotive { background: var(--orange-pale); color: var(--orange-hover); }

/* --- DIVIDER --- */
.divider { height: 1px; background: var(--border-light); margin: 40px 0; }

/* --- ENQUIRY MODAL POPUP --- */
.enquiry-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(13,31,53,0.75);
  backdrop-filter: blur(4px);
  z-index: 9000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.enquiry-modal-overlay.active {
  display: flex;
}
.enquiry-modal-box {
  background: #fff;
  border-radius: 12px;
  width: 100%;
  max-width: 620px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.3);
  overflow: hidden;
  animation: modalIn 0.2s ease;
}
@keyframes modalIn {
  from { opacity:0; transform:translateY(20px) scale(0.98); }
  to   { opacity:1; transform:translateY(0) scale(1); }
}
.enquiry-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border-light);
  background: var(--navy);
}
.enquiry-modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.enquiry-modal-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}
.enquiry-modal-close {
  background: rgba(255,255,255,0.1);
  border: none;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.enquiry-modal-close:hover {
  background: rgba(255,255,255,0.2);
}
.enquiry-modal-body {
  padding: 20px 24px 24px;
  background: var(--bg-light);
}
@media (max-width: 480px) {
  .enquiry-modal-box { border-radius: 8px; }
  .enquiry-modal-body { padding: 16px; }
}

/* --- SALLY TOP BANNER (injected on every page below nav) --- */
.sally-top-banner {
  background: var(--orange);
  padding: 10px 0;
  position: relative;
  z-index: 90;
}
.sally-top-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sally-top-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sally-top-banner-icon {
  font-size: 1.1rem;
  line-height: 1;
}
.sally-top-banner-msg {
  font-size: 0.9rem;
  color: #fff;
  line-height: 1.3;
}
.sally-top-banner-msg strong {
  font-weight: 700;
}
.sally-top-banner-btn {
  background: #fff;
  color: var(--orange);
  border: none;
  border-radius: var(--radius);
  padding: 7px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}
.sally-top-banner-btn:hover {
  background: var(--navy);
  color: #fff;
}
@media (max-width: 600px) {
  .sally-top-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* --- SALLY CTA STRIP (injected on every page above footer) --- */
.sally-cta-strip {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  border-top: 3px solid var(--orange);
  padding: 20px 0;
}
.sally-cta-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.sally-cta-pulse {
  font-size: 2rem;
  flex-shrink: 0;
  animation: pulse-icon 2.5s ease-in-out infinite;
}
@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
.sally-cta-text { flex: 1; min-width: 200px; }
.sally-cta-title { font-size: 0.9375rem; font-weight: 700; color: #fff; }
.sally-cta-sub { font-size: 0.8rem; color: rgba(255,255,255,0.58); margin-top: 3px; }

/* Sally inline embed block (contact page) */
.sally-inline-block {
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.sally-inline-head {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-hover) 100%);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sally-inline-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.sally-inline-head-info .name { font-size: 0.9375rem; font-weight: 700; color: #fff; }
.sally-inline-head-info .title { font-size: 0.72rem; color: rgba(255,255,255,0.8); }
.sally-inline-status { display: flex; align-items: center; gap: 5px; font-size: 0.7rem; color: rgba(255,255,255,0.85); margin-left: auto; }
.sally-inline-body { padding: 20px; }
.sally-inline-body p { font-size: 0.8125rem; color: rgba(255,255,255,0.7); margin-bottom: 14px; line-height: 1.6; }
.sally-inline-placeholder {
  background: rgba(255,255,255,0.04);
  border: 2px dashed rgba(232,93,4,0.35);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  margin-bottom: 14px;
}
.sally-inline-placeholder p { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-bottom: 8px; }
.sally-inline-code {
  font-size: 0.68rem; font-family: monospace;
  color: rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.25); border-radius: 4px; padding: 6px 10px;
  display: block; text-align: left; line-height: 1.7;
}
.sally-open-btn {
  background: var(--orange); color: #fff;
  border-radius: var(--radius); padding: 10px;
  font-size: 0.8125rem; font-weight: 600;
  text-align: center; width: 100%; cursor: pointer;
  transition: var(--transition); border: none;
  font-family: inherit;
}
.sally-open-btn:hover { background: var(--orange-hover); }

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .hero-split { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .product-page-layout { grid-template-columns: 1fr; }
  .product-sidebar { position: static; }
  .form-section-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .sally-section-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root {
    --section-lg: 64px;
    --section-md: 48px;
    --nav-h: 64px;
  }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr; }
  .support-topics { grid-template-columns: 1fr; }
  .cta-strip-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .sally-float { width: calc(100vw - 32px); right: 16px; bottom: 16px; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 64px 0 56px; }
  h1 { font-size: 1.875rem; }
}

@media (max-width: 480px) {
  :root { --pad-x: 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .trust-bar-inner { grid-template-columns: 1fr 1fr; }
}
