/* Theme colors */
:root {
  --brown-700: #6e5242;
  --brown-600: #7a5c4b;
  --brown-500: #8a6a57;
  --accent-orange: #c86a36;
  --grey-900: #1f2328;
  --grey-800: #2b3036;
  --grey-700: #3a4047;
  --grey-600: #4b535c;
  --grey-500: #697180;
  --grey-300: #c9cdd3;
  --grey-200: #e2e5e9;
  --grey-100: #f3f5f7;
  --white: #ffffff;
  --maxw: 1200px;
  --radius: 14px;
  --shadow-sm: 0 3px 10px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.08);
}

/* Reset & base */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--grey-900);
  background: var(--white);
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  margin: 0 0 12px;
  font-family: Montserrat, Inter, system-ui, Arial, sans-serif;
  letter-spacing: -0.02em;
}

h1 { font-size: 44px; line-height: 1.15; }
h2 { font-size: 32px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { margin: 0 0 14px; color: var(--grey-800); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform .08s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-brown { background: var(--brown-600); color: var(--white); }
.btn-brown:hover { background: var(--brown-700); }
.btn-outline { background: transparent; color: var(--accent-orange); border-color: var(--accent-orange); }
.btn-outline:hover { background: var(--brown-600); color: var(--white); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid var(--grey-200);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--grey-900);
  text-decoration: none;
}
.brand-logo { height: 60px; width: auto; display: block; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-weight: 800;
  background: var(--brown-600);
  color: var(--white);
}
.brand-text { font-weight: 700; letter-spacing: -0.01em; }

.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a { color: var(--grey-800); text-decoration: none; font-weight: 500; }
.site-nav a:hover { color: var(--brown-600); }
.nav-toggle { display: none; background: transparent; border: none; font-size: 22px; }

/* Hero */
.hero {
  position: relative;
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--grey-200);
}
.hero-inner { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
.hero-copy p { font-size: 18px; }
.hero-cta { display: flex; gap: 12px; margin: 18px 0 10px; }
.hero-bullets { margin: 10px 0 0; padding-left: 18px; color: var(--grey-700); }

/* Decorative gears */
.hero-art { position: relative; height: 340px; }
.gear { position: absolute; border-radius: 50%; border: 8px solid var(--grey-200); box-shadow: var(--shadow-sm); }
.gear-lg { width: 220px; height: 220px; right: 20px; top: 30px; border-color: var(--brown-600); opacity: .2; }
.gear-md { width: 140px; height: 140px; right: 140px; bottom: 20px; opacity: .25; }
.gear-sm { width: 90px; height: 90px; right: 0; bottom: 80px; opacity: .3; }

/* Hero slideshow */
.hero { overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.35); z-index: 0; pointer-events: none; }
.hero-slides { position: absolute; inset: 0; z-index: -1; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 800ms ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home .hero .container { position: relative; z-index: 1; }
.home .hero .hero-copy { color: #fff; }
.home .hero .hero-bullets { color: #f0f0f0; }
.home .btn-outline { color: #fff; border-color: #fff; }
.home .btn-outline:hover { background: #fff; color: var(--brown-600); }

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: var(--grey-100); }
.section-title { margin-bottom: 8px; }
.section-subtitle { color: var(--grey-700); margin-bottom: 24px; }
.center { text-align: center; }

/* Home cards */
.home a.card { display: block; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 16px; background: #fff; color: inherit; text-decoration: none; box-shadow: var(--shadow-sm); }
.home a.card:hover { border-color: var(--accent-orange); }

/* Grids */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Cards */
.fact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.card-kpi { font-size: 22px; font-weight: 700; color: var(--brown-600); }
.card-note { color: var(--grey-700); }

.product-cards .product-card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.product-card h3 { margin-top: 6px; }
.product-card ul { margin: 8px 0 0; padding-left: 18px; color: var(--grey-700); }

.product-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--grey-100); border: 1px solid var(--grey-200); }
.product-icon.oil { background: linear-gradient(135deg, #f6ede7, #f2e6dd); border-color: #ead9cd; }
.product-icon.grease { background: linear-gradient(135deg, #edeef1, #e6e9ee); border-color: #d7dbe3; }
.product-icon.specialty { background: linear-gradient(135deg, #efeae5, #ece5de); border-color: #e2d7cc; }
.product-icon.thermic { background: linear-gradient(135deg, #fff3ec, #ffe8d9); border-color: #ffd6bc; }

.brands { margin-top: 26px; }
.brands-title { font-weight: 600; color: var(--grey-700); margin-bottom: 10px; }
.brand-row { display: flex; flex-wrap: wrap; gap: 10px; }
.brand-chip { background: var(--white); border: 1px solid var(--grey-200); color: var(--grey-700); padding: 8px 12px; border-radius: 999px; }

.industries { align-items: start; }
.pill { border: 1px solid var(--grey-200); background: var(--white); padding: 10px 12px; border-radius: 999px; color: var(--grey-700); }

/* About page */
.about-leadership { display: flex; flex-direction: column; align-items: center; text-align: center; }
.leader-photo { margin-bottom: 20px; }
.leader-photo img { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; border: 4px solid var(--brown-600); box-shadow: var(--shadow-md); }
.leader-info h3 { margin-bottom: 8px; color: var(--brown-600); }
.leader-title { font-weight: 600; color: var(--grey-700); margin-bottom: 12px; }
.leader-bio { color: var(--grey-800); line-height: 1.6; }

.about-content h2 { color: var(--brown-600); margin-bottom: 16px; }
.about-content h3 { color: var(--grey-800); margin: 24px 0 12px; }
.about-content ul { margin: 16px 0; padding-left: 20px; }
.about-content li { margin-bottom: 8px; color: var(--grey-800); }

/* Why */
.why-cards .why-card { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }

/* Contact */
.contact .contact-block { display: grid; gap: 10px; margin-top: 8px; }
.contact-row { display: flex; gap: 12px; align-items: center; }
.contact-label { min-width: 72px; color: var(--grey-700); }

.contact-form { background: var(--white); border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; gap: 6px; margin-bottom: 12px; }
label { font-weight: 600; color: var(--grey-800); }
input, textarea { width: 100%; padding: 12px 12px; border-radius: 10px; border: 1px solid var(--grey-300); background: #fff; font-family: inherit; }
input:focus, textarea:focus { outline: 2px solid var(--brown-500); border-color: var(--brown-500); }
.form-actions { display: flex; align-items: center; gap: 12px; }
.form-note { color: var(--grey-700); font-size: 14px; }

/* Footer */
.site-footer { border-top: 1px solid var(--grey-200); padding: 26px 0; background: #fff; }
.footer-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; }
.footer-nav { display: flex; gap: 14px; justify-content: center; }
.footer-nav a { color: var(--grey-700); text-decoration: none; }
.footer-nav a:hover { color: var(--brown-600); }
.copyright { text-align: right; color: var(--grey-600); }

/* Products Page Specific Styles */
.brand-showcase { margin-top: 40px; }
.brand-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 24px; }
.brand-card { 
  background: var(--white); 
  border: 1px solid var(--grey-200); 
  border-radius: var(--radius); 
  padding: 20px; 
  text-align: center; 
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.brand-card:hover { 
  transform: translateY(-2px); 
  box-shadow: var(--shadow-md);
}
.brand-logo-img { 
  width: 80px; 
  height: 80px; 
  object-fit: contain; 
  margin: 0 auto 12px; 
  display: block;
}
.brand-placeholder { 
  width: 80px; 
  height: 80px; 
  background: var(--grey-100); 
  border: 2px solid var(--grey-200); 
  border-radius: 12px; 
  margin: 0 auto 12px; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-weight: 600; 
  color: var(--grey-600);
  font-size: 14px;
}
.brand-card h3 { margin-bottom: 8px; color: var(--brown-600); }
.brand-card p { color: var(--grey-700); font-size: 14px; }

.product-categories { gap: 32px; }
.product-category { 
  background: var(--white); 
  border: 1px solid var(--grey-200); 
  border-radius: var(--radius); 
  padding: 24px; 
  box-shadow: var(--shadow-sm);
}
.category-header { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  margin-bottom: 16px;
}
.category-header h3 { margin: 0; color: var(--brown-600); }
.product-subcategories { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 20px; 
  margin-top: 20px;
}
.subcategory h4 { 
  color: var(--grey-800); 
  margin-bottom: 8px; 
  font-size: 16px;
}
.subcategory ul { 
  margin: 0; 
  padding-left: 16px; 
  color: var(--grey-700);
}
.subcategory li { 
  margin-bottom: 4px; 
  font-size: 14px;
}

.spec-cards { margin-top: 24px; }
.spec-card { 
  background: var(--white); 
  border: 1px solid var(--grey-200); 
  border-radius: var(--radius); 
  padding: 20px; 
  box-shadow: var(--shadow-sm);
}
.spec-card h3 { 
  color: var(--brown-600); 
  margin-bottom: 12px;
}
.spec-card ul { 
  margin: 0; 
  padding-left: 16px; 
  color: var(--grey-700);
}
.spec-card li { 
  margin-bottom: 6px; 
  font-size: 14px;
}

.application-grid { margin-top: 24px; }
.application-card { 
  background: var(--white); 
  border: 1px solid var(--grey-200); 
  border-radius: var(--radius); 
  padding: 16px; 
  box-shadow: var(--shadow-sm);
}
.application-card h4 { 
  color: var(--brown-600); 
  margin-bottom: 8px; 
  font-size: 16px;
}
.application-card ul { 
  margin: 0; 
  padding-left: 16px; 
  color: var(--grey-700);
}
.application-card li { 
  margin-bottom: 4px; 
  font-size: 13px;
}

.cta-buttons { 
  display: flex; 
  gap: 12px; 
  justify-content: center; 
  margin-top: 24px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { height: 220px; }
  .product-subcategories { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .brand-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
}

@media (max-width: 720px) {
  .brand-logo { height: 50px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .fact-cards { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .copyright { text-align: center; }
  .nav-toggle { display: inline-block; }
  .site-nav { position: absolute; top: 68px; right: 0; left: 0; background: #fff; border-bottom: 1px solid var(--grey-200); display: none; flex-direction: column; padding: 10px 24px 16px; }
  .site-nav.open { display: flex; }
  
  .about-leadership { margin-bottom: 32px; }
  .leader-photo img { width: 150px; height: 150px; }
  
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .application-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; align-items: center; }
}


