/* Shanghai Blue Lemon Technology Co., Ltd. - Clean Semantic B2B Industrial Stylesheet v2 */
:root {
  --primary: #0b3c6d;
  --primary-dark: #07284a;
  --accent: #0284c7;
  --accent-warm: #d97706;
  --bg: #ffffff;
  --bg-alt: #f4f7fa;
  --text: #1e293b;
  --text-muted: #475569;
  --border: #cbd5e1;
  --radius: 6px;
  --max-width: 1200px;
}

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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: static;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  background: var(--primary);
  color: #fff;
  display: inline-block;
}

.top-bar {
  background: var(--primary-dark);
  color: #e2e8f0;
  font-size: 0.85rem;
  padding: 0.45rem 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

header.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

nav.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.05rem;
  align-items: center;
}

nav.primary-nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.35rem 0;
}

nav.primary-nav a:hover,
nav.primary-nav a[aria-current="page"] {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 0.65rem 1.3rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff !important;
  border-bottom: none !important;
}

.btn-primary:hover {
  background: var(--primary-dark);
  text-decoration: none;
}

.btn-outline {
  background: #ffffff;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--bg-alt);
  text-decoration: none;
}

nav.breadcrumb {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 0;
  font-size: 0.875rem;
}

nav.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  color: var(--text-muted);
}

nav.breadcrumb li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: #94a3b8;
}

.hero {
  background: linear-gradient(rgba(4, 22, 40, 0.78), rgba(4, 22, 40, 0.6)), url('../images/gear-induction-hardening-coil.jpg') center 38%/cover no-repeat;
  color: #ffffff;
  padding: 5.5rem 0;
}

.hero-copy {
  max-width: 820px;
}

.hero .eyebrow {
  display: inline-block;
  color: #fbbf24;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.2;
  margin: 0 0 1rem 0;
}

.hero p.lead {
  font-size: 1.08rem;
  color: #e2e8f0;
  margin: 0 0 1.75rem 0;
}

.hero-meta {
  margin: 1.75rem 0 0 0;
  font-size: 0.92rem;
  color: #e2e8f0;
  letter-spacing: 0.02em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-actions .btn-outline {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.hero-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
}

section.section {
  padding: 3.5rem 0;
}

section.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.section-header {
  max-width: 820px;
  margin-bottom: 2.25rem;
}

.section-header h2 {
  font-size: 1.85rem;
  color: var(--primary);
  margin: 0 0 0.6rem 0;
}

.section-header p {
  color: var(--text-muted);
  margin: 0;
  font-size: 1.05rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.35rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card figure {
  margin: 0;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.card figure img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.card figure figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.45rem 1rem;
  background: #f1f5f9;
}

.card-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-body h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.22rem;
  color: var(--primary);
}

.card-body p {
  margin: 0 0 1rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-body ul {
  margin: 0 0 1.25rem 0;
  padding-left: 1.2rem;
  font-size: 0.92rem;
}

.card-body li {
  margin-bottom: 0.35rem;
}

.card-footer {
  margin-top: auto;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  text-align: left;
}

caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--primary);
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
}

th, td {
  padding: 0.7rem 0.95rem;
  border-bottom: 1px solid #e2e8f0;
}

thead th {
  background: var(--primary);
  color: #ffffff;
  font-weight: 600;
  white-space: nowrap;
}

tbody tr:nth-child(even) {
  background: #f8fafc;
}

tbody tr:hover {
  background: #eff6ff;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: center;
}

.filter-bar input,
.filter-bar select {
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.92rem;
}

details.faq-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  margin-bottom: 0.85rem;
}

details.faq-item summary {
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  font-size: 1.02rem;
}

details.faq-item p {
  margin: 0.75rem 0 0 0;
  color: var(--text-muted);
}

form.rfq-form {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.checkbox-group label {
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.callout {
  background: #eff6ff;
  border-left: 4px solid var(--primary);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}

.callout h3 {
  margin-top: 0;
  color: var(--primary);
}

footer.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 3.5rem 0 1.5rem 0;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

footer.site-footer h2,
footer.site-footer h3 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-top: 0;
}

footer.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

footer.site-footer li {
  margin-bottom: 0.5rem;
}

footer.site-footer a {
  color: #93c5fd;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.84rem;
  color: #94a3b8;
}

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

@media (max-width: 900px) {
  .grid-4, .grid-3, .grid-2, .footer-grid, .form-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 1.85rem;
  }
}
