/* =========================================
   SUMSAHI KEMICALS - Main Stylesheet v2.0
   Brand colours from logo:
   Sky Blue: #1DA8DC | Orange: #E87820
   ========================================= */

/* ---------- CSS VARIABLES ---------- */
:root {
  --blue:        #1DA8DC;
  --blue-dark:   #0E7BAA;
  --blue-deep:   #094A6B;
  --orange:      #E87820;
  --orange-dark: #C05F10;
  --fire-red:    #C8321A;
  --white:       #FFFFFF;
  --off-white:   #F6FBFE;
  --light-blue:  #E8F6FC;
  --gray-light:  #F4F6F9;
  --gray:        #8C9AAD;
  --gray-dark:   #4A5568;
  --text:        #1A2B3C;
  --text-light:  #5A6A7A;
  --border:      #D8E8F0;
  --shadow:      0 4px 24px rgba(13,75,107,.10);
  --shadow-lg:   0 8px 40px rgba(13,75,107,.15);
  --radius:      8px;
  --radius-lg:   16px;
  --font:        'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-heading:'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ---------- RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color .2s; }
a:hover { color: var(--blue-dark); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul { list-style: none; }

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
}

.label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,120,32,.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.7);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--blue-deep);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 20px; font-size: .85rem; }

/* ---------- CARDS ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ---------- NAV / HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text);
  transition: all .2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
  background: var(--light-blue);
}

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  z-index: 200;
  padding: 8px 0;
  /* padding-top bridges the gap so cursor doesn't leave hover area */
  padding-top: 12px;
  margin-top: 0;
}

.nav-dropdown:hover .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  border-radius: 0;
  font-size: .875rem;
}

/* ── Get a Quote 3- fire motif CTA ── */
.nav-cta {
  background: linear-gradient(135deg, #F4A024 0%, var(--orange) 40%, #C85010 100%) !important;
  color: var(--white) !important;
  padding: 9px 20px !important;
  border-radius: 24px !important;
  font-weight: 700 !important;
  font-size: .85rem !important;
  letter-spacing: .02em;
  box-shadow: 0 3px 12px rgba(232,120,32,.40) !important;
  transition: background .2s, transform .15s, box-shadow .2s !important;
  white-space: nowrap;
  border: none !important;
  margin-left: 6px;
}

.nav-cta:hover {
  background: linear-gradient(135deg, #E87820 0%, #C05F10 100%) !important;
  color: var(--white) !important;
  box-shadow: 0 5px 18px rgba(232,120,32,.55) !important;
  transform: translateY(-1px);
}

.nav-cta:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(232,120,32,.35) !important;
}

/* On mobile, make the CTA full width */

/* ---------- HAMBURGER BUTTON ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- PAGE HEADER (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 56px 0 48px;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--white);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.80);
  max-width: 640px;
  margin-bottom: 0;
}

.product-page-header {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 48px 0 40px;
}

.product-page-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--white);
  margin-bottom: 12px;
}

.product-page-header p {
  font-size: 1rem;
  color: rgba(255,255,255,.80);
  max-width: 700px;
  margin-bottom: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.breadcrumb a { color: rgba(255,255,255,.8); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span[aria-current] { color: rgba(255,255,255,.95); }
.breadcrumb ol { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; list-style: none; }
.breadcrumb ol li { display: flex; align-items: center; gap: 8px; }

/* ---------- HERO SECTION ---------- */
.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 60%, var(--blue) 100%);
  color: var(--white);
  padding: 80px 0 72px;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.hero-label {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(232,120,32,.15);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--orange);
}

.hero-text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.18);
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.hero-stat-number span {
  color: var(--orange);
}

.hero-stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* Hero visual (right column - cards) */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-card {
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  backdrop-filter: blur(4px);
  transition: background .2s;
}

.hero-card:hover { background: rgba(255,255,255,.16); }

.hero-card-icon {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.hero-card h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.hero-card p {
  font-size: .85rem;
  color: rgba(255,255,255,.75);
  margin: 0;
}

/* ---------- TRUST BAR ---------- */
.trust-bar {
  background: var(--blue-deep);
  padding: 18px 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.9);
}

/* ---------- BACKGROUND UTILITY ---------- */
.bg-light {
  background: var(--gray-light);
}

/* ---------- PRODUCT CATEGORY CARDS ---------- */
.product-cat-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  text-decoration: none;
  color: var(--text);
}

.product-cat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
  color: var(--text);
}

.product-cat-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 14px;
}

.product-cat-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.product-cat-card p {
  font-size: .875rem;
  color: var(--text-light);
  margin-bottom: 14px;
}

.product-count {
  display: inline-block;
  background: var(--light-blue);
  color: var(--blue-dark);
  font-size: .75rem;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 20px;
}

/* ---------- FEATURE CARDS ---------- */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.feature-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: .875rem;
  color: var(--text-light);
  margin: 0;
}

/* ---------- SERVICE CARDS ---------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.service-card-header {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-dark));
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-card-icon {
  font-size: 1.8rem;
}

.service-card-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.service-card-body {
  padding: 24px;
  flex: 1;
}

.service-card-body p {
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: 16px;
}

.service-list {
  list-style: none;
  padding: 0;
}

.service-list li {
  font-size: .875rem;
  color: var(--text-light);
  padding: 5px 0;
  padding-left: 18px;
  position: relative;
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 700;
  font-size: .8rem;
}

/* ---------- STATS STRIP ---------- */
.stats-strip {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-dark) 100%);
  padding: 56px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: .875rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 500;
}

/* ---------- COUNTRY GRID ---------- */
.country-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.country-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}

.country-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.country-flag {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.country-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.country-note {
  font-size: .8rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 100%);
  padding: 80px 0;
  text-align: center;
}

.cta-section .label { color: rgba(255,255,255,.75); }

.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.80);
  max-width: 560px;
  margin: 0 auto 36px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--white);
  color: var(--blue-deep);
  border-color: var(--white);
}

.btn-white:hover {
  background: var(--off-white);
  border-color: var(--off-white);
  color: var(--blue-deep);
}

/* ---------- QUICK STATS BAR ---------- */
.qs-bar { display:flex;flex-wrap:wrap;justify-content:space-around;text-align:center;gap:0; }
.qs-bar-item { padding:8px 20px;border-left:1px solid rgba(255,255,255,.15); }
.qs-bar-item:first-child { border-left:none; }
@media(max-width:600px) {
  .qs-bar-item { border-left:none;border-top:1px solid rgba(255,255,255,.15);width:50%;box-sizing:border-box; }
  .qs-bar-item:first-child,.qs-bar-item:nth-child(2) { border-top:none; }
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-logo {
  margin-bottom: 16px;
}

.footer-logo img {
  opacity: .9;
}

.footer-about {
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(255,255,255,.65);
}

.site-footer h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  transition: color .2s;
}

.footer-links a:hover { color: var(--white); }

.footer-contact p {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-contact-label {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--blue);
  background: rgba(29,168,220,.12);
  border-radius: 3px;
  padding: 1px 6px;
  margin-right: 6px;
  vertical-align: middle;
}

/* ─── TL;DR Block (AI-quotable summary) ─── */
.tldr-block {
  background: var(--light-blue);
  border-left: 4px solid var(--blue);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 20px 0 28px;
  position: relative;
}
.tldr-block .tldr-label {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  background: rgba(29,168,220,.18);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 10px;
}
.tldr-block p {
  margin: 0;
  font-size: .925rem;
  line-height: 1.65;
  color: var(--blue-deep);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  margin: 0;
}

.footer-bottom a {
  font-size: .8rem;
  color: rgba(255,255,255,.55);
}

.footer-bottom a:hover { color: var(--white); }

/* ---------- BACK TO TOP BUTTON ---------- */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  background: var(--blue);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s, transform .25s;
  box-shadow: 0 4px 16px rgba(0,0,0,.2);
  z-index: 900;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover { transform: translateY(-2px); background: var(--blue-dark); }

/* ---------- FADE-IN ANIMATION ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- BLOG HOME MINI META ---------- */
.blog-tag {
  display: inline-block;
  background: var(--light-blue);
  color: var(--blue-dark);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 20px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .8rem;
  color: var(--text-light);
  margin-bottom: 10px;
  flex-wrap: wrap;
}

/* ---------- CONTACT PAGE ---------- */
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.contact-info-item:last-of-type {
  border-bottom: none;
}

.contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 2px;
}

.contact-info-item h4 {
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: .875rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.6;
}

/* ---------- PRODUCT TABLE PAGE ---------- */
.product-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9rem;
}

.product-table th {
  background: var(--blue-deep);
  color: var(--white);
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.product-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.product-table tr:last-child td { border-bottom: none; }

.product-table tr:nth-child(even) { background: var(--gray-light); }

.product-table tr:hover { background: var(--light-blue); }

.cas-badge {
  display: inline-block;
  background: var(--gray-light);
  border: 1px solid var(--border);
  color: var(--blue-deep);
  font-size: .78rem;
  font-family: monospace;
  padding: 3px 8px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}

.filter-input {
  padding: 9px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}

.filter-input:focus { border-color: var(--blue); }

/* ---------- TEAM PHOTO PLACEHOLDER ---------- */
.team-photo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--blue-deep);
  width: 80px;
  height: 80px;
  background: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Blog Index */
.blog-index-section { padding: 3rem 0 4rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.blog-card-featured {
  border-top: 4px solid var(--orange);
}
.blog-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-cat-badge {
  display: inline-block;
  background: var(--light-blue);
  color: var(--blue-dark);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: .75rem;
}
.blog-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 .75rem;
  line-height: 1.4;
}
.blog-card-title a {
  color: var(--text-dark);
  text-decoration: none;
}
.blog-card-title a:hover { color: var(--blue); }
.blog-card-excerpt {
  color: var(--text-muted);
  font-size: .9rem;
  flex: 1;
  margin-bottom: 1rem;
}
.blog-card-meta {
  display: flex;
  gap: 1rem;
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.blog-read-more {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  font-size: .9rem;
}
.blog-read-more:hover { color: var(--orange); }

/* Blog Article */
.blog-article-hero { padding: 3rem 0 4rem; }

.blog-article-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.blog-meta-top {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.blog-date, .blog-read {
  font-size: .85rem;
  color: var(--text-muted);
}

.blog-article-main h1 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.blog-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  border-left: 4px solid var(--blue);
  padding-left: 1rem;
  font-style: italic;
}

/* Article body styles */
.blog-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2.5rem 0 1rem;
  color: var(--blue-deep);
  border-bottom: 2px solid var(--light-blue);
  padding-bottom: .5rem;
}
.blog-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 1.75rem 0 .75rem;
  color: var(--text-dark);
}
.blog-body p {
  margin-bottom: 1.25rem;
  line-height: 1.8;
}
.blog-body ul, .blog-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.blog-body li {
  margin-bottom: .5rem;
  line-height: 1.7;
}
.blog-body blockquote {
  background: var(--light-blue);
  border-left: 4px solid var(--blue);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--blue-deep);
}
.blog-body strong { color: var(--text-dark); }

/* FAQ section in blog */
.faq-section {
  margin: 3rem 0 2rem;
  background: var(--off-white);
  border-radius: 12px;
  padding: 2rem;
}
.faq-section h2 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  color: var(--blue-deep);
}
.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.faq-item h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--text-dark);
}
.faq-item p { font-size: .95rem; margin: 0; color: var(--text-body); }

/* Blog CTA box */
.blog-cta-box {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-dark));
  color: white;
  padding: 2rem;
  border-radius: 12px;
  margin: 2.5rem 0 0;
}
.blog-cta-box h3 { color: white; margin-bottom: .5rem; font-size: 1.2rem; }
.blog-cta-box p { color: rgba(255,255,255,.85); margin-bottom: 1.25rem; }

/* Blog sidebar */
.blog-sidebar { position: sticky; top: 100px; }

.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h4 {
  font-size: 1rem;
  margin-bottom: .75rem;
  color: var(--blue-deep);
  font-weight: 700;
}
.sidebar-card p { font-size: .9rem; margin-bottom: 1rem; color: var(--text-muted); }

.sidebar-blog-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-blog-links li { border-bottom: 1px solid var(--border); }
.sidebar-blog-links li:last-child { border-bottom: none; }
.sidebar-blog-links a {
  display: block;
  padding: .6rem 0;
  font-size: .85rem;
  color: var(--text-body);
  text-decoration: none;
  line-height: 1.4;
}
.sidebar-blog-links a:hover { color: var(--blue); }

/* Responsive blog */



/* ═══════════════════════════════════════════════════════════════
   ENQUIRY FORM
   ═══════════════════════════════════════════════════════════════ */
.enquiry-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg, 16px);
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}

.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-required {
  color: var(--orange);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;   /* ≥16px prevents iOS auto-zoom */
  font-family: inherit;
  color: var(--text-dark);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,168,220,.15);
}

.form-control::placeholder {
  color: var(--text-muted, #9ca3af);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Pre-filled highlight (product enquiry) */
.form-control[style*="background"] {
  transition: none;
}

/* ═══════════════════════════════════════════════════════════════════════
   RESPONSIVE / MOBILE STYLES
   Mobile-first breakpoints:
     900px  → nav collapses to hamburger, sidebar layouts stack
     768px  → most 2-col grids collapse to 1-col
     600px  → small tweaks, footer stacks
     480px  → very small screens
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Global mobile safety ──────────────────────────────────────────── */
html, body {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

img, video, iframe, table {
  max-width: 100%;
}

/* ── NAV: collapses at 900px ────────────────────────────────────────── */
@media (max-width: 900px) {

  /* Show hamburger */
  .nav-toggle { display: flex; }

  /* Hide nav links by default; show when .open */
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 16px 20px;
    flex-direction: column;
    gap: 2px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    z-index: 999;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    display: block;
  }

  /* Dropdown: tap to expand on mobile */
  .nav-dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background: var(--off-white);
    border-radius: 8px;
    padding: 6px 0 6px 16px;
    display: none;
  }

  .nav-dropdown:hover .nav-dropdown-menu { display: none; }
  .nav-dropdown.open  .nav-dropdown-menu { display: block; }

  /* Get a Quote becomes full-width pill */
  .nav-cta {
    margin: 10px 0 4px !important;
    text-align: center !important;
    display: block !important;
    border-radius: 8px !important;
    padding: 14px 16px !important;
  }

  /* Sticky header needs relative for absolute dropdown */
  .site-header { position: sticky; }
  .nav-inner    { position: relative; }

  /* Hero */
  .hero-inner              { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual             { display: none; }
  .hero-stats              { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }

  /* Page header */
  .page-header             { padding: 48px 0 36px; }
  .page-header h1          { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .page-header p           { max-width: 100%; }

  /* Product page header */
  .product-page-header         { padding: 36px 0 28px; }
  .product-page-header p       { max-width: 100%; font-size: .95rem; }

  /* Product page layout: sidebar stacks, main content first */
  .product-layout                { grid-template-columns: 1fr !important; }
  .product-layout > main         { order: 1; }
  .product-layout > aside        { order: 2; }
  /* Remove sticky from sidebar card when stacked */
  .product-layout aside .card    { position: static !important; }

  /* Blog article sidebar goes below */
  .blog-article-container  { grid-template-columns: 1fr; }
  .blog-sidebar            { position: static; }
}

/* ── TABLET / MOST GRIDS: 768px ─────────────────────────────────────── */
@media (max-width: 768px) {

  /* Section padding */
  .section    { padding: 48px 0; }
  .section-lg { padding: 64px 0; }

  /* ── KILL ALL INLINE GRID COLUMNS ON MOBILE ──
     This catches every style="grid-template-columns: X Y"
     hardcoded directly in HTML.
     !important is required to override inline styles. */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  /* CSS-class grids */
  .grid-3, .grid-4             { grid-template-columns: 1fr 1fr; }

  /* Form rows: stack label+input pairs vertically */
  .form-row                    { grid-template-columns: 1fr; gap: 0; }

  /* Stats: 2×2 grid on tablet */
  .hero-stats                  { grid-template-columns: 1fr 1fr; }
  .stats-grid                  { grid-template-columns: 1fr 1fr; }

  /* Trust bar wraps */
  .trust-bar-inner             { flex-direction: column; gap: 16px; text-align: center; }

  /* Country grid on sourcing page */
  .country-grid                { grid-template-columns: 1fr 1fr; }

  /* Feature / service cards */
  .feature-grid                { grid-template-columns: 1fr; }
  .service-grid                { grid-template-columns: 1fr; }

  /* CTA section */
  .cta-inner                   { flex-direction: column; align-items: flex-start; gap: 16px; }

  /* Blog grid */
  .blog-grid                   { grid-template-columns: 1fr; }

  /* Blog CTA inline buttons stack */
  .blog-cta-box .btn-secondary { margin-left: 0 !important; margin-top: 12px; display: inline-block; }

  /* Breadcrumb */
  .breadcrumb ol               { flex-wrap: wrap; gap: 4px; }

  /* Footer */
  .footer-grid                 { grid-template-columns: 1fr 1fr; }
}

/* ── SMALL MOBILE: 600px ────────────────────────────────────────────── */
@media (max-width: 600px) {

  /* Hero text */
  .hero h1                     { font-size: 1.8rem; }
  .hero-stats                  { grid-template-columns: 1fr 1fr; }

  /* Stats */
  .stats-grid                  { grid-template-columns: 1fr 1fr; }

  /* Country grid single col */
  .country-grid                { grid-template-columns: 1fr; }

  /* Grids go 1-col */
  .grid-3, .grid-4             { grid-template-columns: 1fr; }

  /* Footer single col */
  .footer-grid                 { grid-template-columns: 1fr; }
  .footer-bottom .container    { flex-direction: column; gap: 6px; text-align: center; }

  /* Page header */
  .page-header                 { padding: 36px 0 28px; }
  .product-page-header         { padding: 28px 0 20px; }

  /* Blog card meta wraps */
  .blog-card-meta              { flex-direction: column; gap: 4px; }

  /* Blog meta top */
  .blog-meta-top               { gap: 8px; }

  /* Sidebar blog links */
  .blog-sidebar                { margin-top: 2rem; }

  /* CTA section */
  .cta-section h2              { font-size: 1.5rem; }
}

/* ── VERY SMALL: 480px ──────────────────────────────────────────────── */
@media (max-width: 480px) {

  .container                   { padding: 0 14px; }

  /* Nav items larger tap target */
  .nav-links a                 { padding: 14px 16px; font-size: 1rem; }

  /* Hero */
  .hero                        { padding: 48px 0 40px; }
  .hero h1                     { font-size: 1.6rem; }
  .hero-stats                  { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hero-stat-value             { font-size: 1.6rem; }

  /* Buttons */
  .btn-primary, .btn-secondary { padding: 12px 20px; font-size: .9rem; }

  /* Product page header */
  .product-page-header         { padding: 22px 0 16px; }
  .product-page-header h1      { font-size: 1.4rem; }

  /* Product table: force horizontal scroll with hint */
  .product-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
  }
  .product-table               { min-width: 520px; }
  .product-table th,
  .product-table td            { padding: 10px 10px; font-size: .82rem; }
  .cas-badge                   { font-size: .72rem; padding: 2px 6px; }

  /* Search bar full width */
  .product-search-bar          { flex-direction: column; align-items: stretch; }
  #productSearch               { width: 100% !important; max-width: 100% !important; }

  /* Product page: hide sidebar on phones (Enquire buttons in table serve same purpose) */
  .product-layout > aside      { display: none; }

  /* Form */
  .form-group label            { font-size: .875rem; }
  .form-control                { font-size: 1rem; } /* prevents iOS zoom on focus */
  textarea.form-control        { min-height: 100px; }

  /* Contact info stacks */
  .contact-info-grid           { grid-template-columns: 1fr !important; }

  /* FAQ items */
  .faq-item                    { padding-bottom: 1.25rem; margin-bottom: 1.25rem; }

  /* Blog post sidebar stacks below article on phone */
  .blog-sidebar                { order: 2; }
  .blog-article-main           { order: 1; }
}

/* ── PRINT ──────────────────────────────────────────────────────────── */
@media print {
  .site-header, .cta-section, .back-to-top, .site-footer,
  .blog-sidebar, .product-sidebar { display: none; }
  body { font-size: 11pt; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; }
}

/* ── UTILITIES ──────────────────────────────────────────────────────── */
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.mt-8         { margin-top: 8px; }
.mt-16        { margin-top: 16px; }
.mt-24        { margin-top: 24px; }
.mt-32        { margin-top: 32px; }
.mt-48        { margin-top: 48px; }
.mb-0         { margin-bottom: 0; }
.mb-8         { margin-bottom: 8px; }
.mb-16        { margin-bottom: 16px; }
.mb-24        { margin-bottom: 24px; }
.mb-32        { margin-bottom: 32px; }
.bg-light     { background: var(--gray-light); }
.bg-blue-light{ background: var(--light-blue); }
.sr-only      { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0; }
