/* ========================================================
   LEMANHONG SEO & B2B CONVERSION ENHANCEMENTS STYLESHEET
   Supports Dual-Brand Heritage, Category Hubs, Decision Layers,
   Structured FAQs, and Project Brief Workflows.
   ======================================================== */

:root {
  --primary-navy: #1B365D;
  --primary-red: #D32F2F;
  --accent-blue: #0284C7;
  --dark-slate: #0F172A;
  --text-muted: #64748B;
  --bg-light: #F8FAFC;
  --border-light: #E2E8F0;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --card-hover-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
}

/* Dual Brand Synergy Card in About Us */
.brand-heritage-synergy {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 48px 40px;
  border-radius: 12px;
  margin: 40px auto 60px;
  position: relative;
  overflow: hidden;
  border-left: 6px solid var(--primary-red);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

.brand-heritage-synergy h2 {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  color: #FFFFFF;
}

.brand-heritage-synergy .lead-synergy {
  font-size: 18px;
  line-height: 1.6;
  color: #E2E8F0;
  margin-bottom: 24px;
  max-width: 900px;
}

.brand-heritage-synergy .lead-synergy strong {
  color: #38BDF8;
}

.brand-heritage-synergy p {
  font-size: 15px;
  line-height: 1.7;
  color: #94A3B8;
  margin-bottom: 24px;
}

.heritage-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item .stat-num {
  font-size: 32px;
  font-weight: 800;
  color: #F8FAFC;
  display: block;
  margin-bottom: 6px;
}

.stat-item .stat-num span {
  color: var(--primary-red);
}

.stat-item .stat-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94A3B8;
  font-weight: 600;
}

/* Category Collection Hubs */
.category-intro-banner {
  background: #0F172A;
  color: #FFFFFF;
  padding: 60px 0;
  text-align: center;
  margin-bottom: 48px;
}

.category-intro-banner h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.category-intro-banner p {
  font-size: 16px;
  color: #94A3B8;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

.category-filter-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 30px 0 40px;
}

.category-filter-btn {
  padding: 10px 20px;
  border-radius: 30px;
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.category-filter-btn:hover,
.category-filter-btn.active {
  background: var(--primary-navy);
  color: #FFFFFF;
  border-color: var(--primary-navy);
}

/* B2B Buyer Decision Layers in Product Detail Pages */
.product-decision-layer {
  margin-top: 60px;
  padding-top: 50px;
  border-top: 1px solid #E2E8F0;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-red);
  margin-bottom: 8px;
  display: block;
}

.decision-section-title {
  font-size: 26px;
  font-weight: 800;
  color: var(--dark-slate);
  margin-bottom: 24px;
}

.decision-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.decision-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 28px;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.decision-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-slate);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.decision-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #475569;
}

/* 6-Step Turnkey Delivery Workflow */
.turnkey-workflow {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 40px;
  margin: 48px 0;
  border: 1px solid #E2E8F0;
}

.workflow-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.workflow-step {
  background: #FFFFFF;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
  position: relative;
}

.workflow-step .step-badge {
  display: inline-block;
  background: var(--primary-navy);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.workflow-step h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark-slate);
}

.workflow-step p {
  font-size: 13px;
  line-height: 1.5;
  color: #64748B;
  margin: 0;
}

/* FAQ Accordion Section */
.product-faq-section {
  margin: 50px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  background: #FFFFFF;
  overflow: hidden;
}

.faq-question {
  padding: 18px 24px;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark-slate);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFFFF;
  border: none;
  width: 100%;
  text-align: left;
}

.faq-question:hover {
  background: #F8FAFC;
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 14px;
  line-height: 1.65;
  color: #475569;
}

/* Real-world Cross Reference Card */
.case-cross-link-card {
  background: #EFF6FF;
  border-left: 5px solid #2563EB;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 30px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.case-cross-link-card .cross-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1E3A8A;
  margin-bottom: 4px;
}

.case-cross-link-card .cross-info p {
  font-size: 13px;
  color: #3B82F6;
  margin: 0;
}

.case-cross-link-card a.cross-btn {
  background: #2563EB;
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.case-cross-link-card a.cross-btn:hover {
  background: #1D4ED8;
}

/* Project Brief & RFP Consultation Block */
.project-brief-banner {
  background: linear-gradient(135deg, #1B365D 0%, #0F172A 100%);
  color: #FFFFFF;
  border-radius: 12px;
  padding: 40px;
  margin: 50px 0 20px;
  box-shadow: 0 10px 25px rgba(27, 54, 93, 0.25);
}

.project-brief-banner h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #FFFFFF;
}

.project-brief-banner p.brief-sub {
  font-size: 15px;
  color: #94A3B8;
  margin-bottom: 24px;
  max-width: 720px;
}

.brief-checklist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 30px;
}

.brief-check-item {
  background: rgba(255, 255, 255, 0.08);
  padding: 14px 18px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 13px;
  color: #E2E8F0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brief-check-item::before {
  content: "✓";
  color: #10B981;
  font-weight: bold;
}

.brief-cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-whatsapp-direct {
  background: #25D366;
  color: #FFFFFF;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  transition: background 0.2s;
}

.btn-whatsapp-direct:hover {
  background: #1EBE5D;
}

.btn-rfp-contact {
  background: #FFFFFF;
  color: var(--primary-navy);
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.2s;
}

.btn-rfp-contact:hover {
  background: #F1F5F9;
}

/* Buying Guides Cards in News Page */
.guides-pillar-section {
  margin: 40px auto 60px;
}

.guides-pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.guide-pillar-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.guide-pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-hover-shadow);
}

.guide-pillar-badge {
  background: #E0E7FF;
  color: #3730A3;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 12px;
}

.guide-pillar-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.guide-pillar-content h3 {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
  color: var(--dark-slate);
}

.guide-pillar-content p {
  font-size: 14px;
  line-height: 1.6;
  color: #64748B;
  flex: 1;
  margin-bottom: 18px;
}

.guide-read-link {
  font-size: 14px;
  font-weight: 700;
  color: #2563EB;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.guide-read-link:hover {
  text-decoration: underline;
}

/* Breadcrumbs Navigation */
.breadcrumb-trail {
  padding: 14px 0;
  font-size: 13px;
  color: #64748B;
  border-bottom: 1px solid #F1F5F9;
  margin-bottom: 24px;
}

.breadcrumb-trail a {
  color: #475569;
  text-decoration: none;
}

.breadcrumb-trail a:hover {
  color: var(--primary-navy);
}

.breadcrumb-trail span.sep {
  margin: 0 8px;
  color: #94A3B8;
}

.breadcrumb-trail span.current {
  color: var(--dark-slate);
  font-weight: 600;
}

/* Structured RFQ form */
.rfq-section { background: #f8fafc; }
.rfq-wrap { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
.rfq-intro h2 { margin: 8px 0 14px; color: #0f172a; font-size: clamp(28px, 3vw, 42px); line-height: 1.12; }
.rfq-intro p { color: #475569; line-height: 1.7; }
.rfq-form { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; box-shadow: 0 18px 44px rgba(15, 23, 42, .08); padding: 28px; }
.rfq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.rfq-form label { display: grid; gap: 7px; color: #334155; font-size: 13px; font-weight: 700; }
.rfq-form input, .rfq-form select, .rfq-form textarea { width: 100%; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: #0f172a; font: inherit; font-weight: 400; padding: 12px 13px; }
.rfq-form textarea { margin-top: 18px; resize: vertical; }
.rfq-form input:focus, .rfq-form select:focus, .rfq-form textarea:focus { outline: 3px solid rgba(56, 189, 248, .25); border-color: #0284c7; }
.rfq-consent { grid-template-columns: auto 1fr !important; align-items: start; margin: 18px 0; font-weight: 400 !important; line-height: 1.5; }
.rfq-consent input { width: auto; margin-top: 3px; }
.rfq-submit { border: 0; border-radius: 8px; background: #0f172a; color: #fff; cursor: pointer; font-weight: 800; padding: 13px 20px; }
.rfq-submit:hover { background: #075985; }
.rfq-note { margin: 10px 0 0; color: #64748b; font-size: 12px; }
@media (max-width: 800px) {
  .rfq-wrap, .rfq-grid { grid-template-columns: 1fr; }
  .rfq-wrap { gap: 24px; }
  .rfq-form { padding: 20px; }
}

/* Keep the responsive primary navigation closed until the menu button is used.
   This override comes after the legacy navigation rules. */
@media (max-width: 1080px) {
  .site-header .nav { display: none; }
  .site-header .nav.open { display: flex; }
}
