/* ==========================================================================
   SERJAWI — Industrial Bakery Equipment & Automated Production Lines
   Inspired by saltek.com.lb | Brand Palette matched to SERJAWI Logo
   ========================================================================== */

:root {
  /* Brand Colors extracted directly from the SERJAWI Logo */
  --brand-orange: #D94E0F;
  --brand-orange-dark: #B53D07;
  --brand-orange-light: #FF6B2B;
  --brand-orange-soft: rgba(217, 78, 15, 0.1);
  
  --brand-charcoal: #2B3438;
  --brand-charcoal-dark: #1A2023;
  --brand-charcoal-deeper: #111618;
  --brand-slate: #3D494E;
  
  /* Neutral & UI Colors */
  --bg-main: #FFFFFF;
  --bg-alt: #F4F6F7;
  --bg-card: #FFFFFF;
  --text-primary: #1E2528;
  --text-secondary: #526066;
  --text-muted: #7C8B92;
  --border-color: #E2E7EA;
  --border-strong: #CBD3D8;

  /* Effects & Layout */
  --shadow-sm: 0 2px 8px rgba(26, 32, 35, 0.06);
  --shadow-md: 0 10px 30px rgba(26, 32, 35, 0.09);
  --shadow-lg: 0 20px 50px rgba(26, 32, 35, 0.15);
  --shadow-orange: 0 10px 25px rgba(217, 78, 15, 0.28);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.28s cubic-bezier(0.25, 0.8, 0.25, 1);
  --container-width: 1280px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden;
}

section[id] {
  scroll-margin-top: 88px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-primary);
  background-color: var(--bg-main);
  line-height: 1.6;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--brand-charcoal-dark);
  letter-spacing: -0.02em;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

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

.hero-inner > *,
.configurator-box > *,
.about-grid > *,
.resources-split > *,
.contact-grid > *,
.products-grid > *,
.workflow-steps > *,
.stats-grid > *,
.footer-grid > * {
  min-width: 0;
}

/* ==========================================================================
   Typography & Reusable Badges / Buttons
   ========================================================================== */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-orange);
  background: var(--brand-orange-soft);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1px solid rgba(217, 78, 15, 0.22);
}

.section-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-orange);
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 48px;
}

.section-header.centered {
  align-items: center;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--brand-charcoal-dark);
  margin-bottom: 14px;
}

.section-title span {
  color: var(--brand-orange);
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  max-width: 680px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--brand-orange);
  color: #FFFFFF;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  background: var(--brand-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(217, 78, 15, 0.36);
}

.btn-secondary {
  background: var(--brand-charcoal);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background: var(--brand-charcoal-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--brand-charcoal);
  border-color: var(--border-strong);
}

.btn-outline:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  background: var(--brand-orange-soft);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background: #FFFFFF;
  color: var(--brand-charcoal-dark);
  border-color: #FFFFFF;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.82rem;
}

/* ==========================================================================
   Top Industrial Utility Bar
   ========================================================================== */
.top-bar {
  background: var(--brand-charcoal-deeper);
  color: #B4C0C6;
  font-size: 0.82rem;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #C7D1D6;
}

.top-bar-item svg {
  color: var(--brand-orange);
  flex-shrink: 0;
}

.top-bar-item:hover {
  color: #FFFFFF;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.06);
  padding: 3px 6px;
  border-radius: 4px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #A9B6BC;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 6px;
  cursor: pointer;
  border-radius: 3px;
  transition: var(--transition);
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--brand-orange);
  color: #FFFFFF;
}

/* ==========================================================================
   Main Sticky Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 24px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex-shrink: 1;
}

.brand-logo-img {
  height: 68px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

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

.brand-wordmark {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.65rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--brand-charcoal);
}

.brand-wordmark span {
  color: var(--brand-orange);
}

.brand-tagline {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-top: 4px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 10px 15px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-charcoal);
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-orange);
  background: var(--brand-orange-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-toggle {
  display: none;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--brand-charcoal);
}

/* ==========================================================================
   Hero Section (Saltek-inspired Industrial Showcase)
   ========================================================================== */
.hero {
  position: relative;
  background: var(--brand-charcoal-deeper);
  color: #FFFFFF;
  padding: 84px 0 96px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 78% 35%, rgba(217, 78, 15, 0.22) 0%, transparent 52%),
    radial-gradient(circle at 15% 80%, rgba(43, 52, 56, 0.6) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(217, 78, 15, 0.16);
  border: 1px solid rgba(217, 78, 15, 0.45);
  color: #FF8B55;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2.35rem, 4.4vw, 3.7rem);
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-title .accent {
  color: var(--brand-orange-light);
}

.hero-description {
  font-size: 1.12rem;
  color: #C4CFD4;
  margin-bottom: 34px;
  max-width: 610px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 42px;
}

.hero-Quick-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #DCE3E6;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 7px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.hero-pill:hover {
  border-color: var(--brand-orange);
  background: rgba(217, 78, 15, 0.18);
  color: #FFFFFF;
}

.hero-pill span {
  color: var(--brand-orange-light);
  font-weight: 800;
}

/* Hero Right Visual Card */
.hero-visual {
  position: relative;
}

.hero-machine-card {
  background: linear-gradient(145deg, #232B2E 0%, #171D1F 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
  position: relative;
  overflow: hidden;
}

.hero-machine-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-orange), #FF854D);
}

.machine-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.machine-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4ADE80;
  background: rgba(74, 222, 128, 0.12);
  padding: 5px 12px;
  border-radius: 50px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  box-shadow: 0 0 10px #4ADE80;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.25); }
}

.hero-logo-watermark {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  padding: 6px 12px;
  border-radius: 8px;
}

.hero-logo-watermark img {
  height: 36px;
  width: auto;
}

.hero-svg-illustration {
  background: #121719;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  margin-bottom: 20px;
}

.machine-specs-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}

.spec-mini-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 12px;
}

.spec-mini-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94A3AB;
  display: block;
}

.spec-mini-val {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-top: 2px;
}

.spec-mini-val span {
  color: var(--brand-orange-light);
}

.hero-slide-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.slide-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #B0BEC5;
  padding: 9px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
}

.slide-tab.active,
.slide-tab:hover {
  background: var(--brand-orange);
  color: #FFFFFF;
  border-color: var(--brand-orange);
}

/* ==========================================================================
   Stats Counter Bar
   ========================================================================== */
.stats-ribbon {
  background: var(--brand-charcoal);
  border-bottom: 4px solid var(--brand-orange);
  padding: 36px 0;
  color: #FFFFFF;
}

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

.stat-item {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-right: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-icon {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: rgba(217, 78, 15, 0.18);
  border: 1px solid rgba(217, 78, 15, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange-light);
  flex-shrink: 0;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
}

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

.stat-label {
  font-size: 0.85rem;
  color: #B8C4C9;
  margin-top: 4px;
  font-weight: 500;
}

/* ==========================================================================
   Products & Production Lines Section (Core of Saltek.com.lb)
   ========================================================================== */
.products-section {
  padding: 96px 0;
  background: var(--bg-alt);
}

.products-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 10px 20px;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--brand-orange);
  color: #FFFFFF;
  border-color: var(--brand-orange);
  box-shadow: 0 6px 18px rgba(217, 78, 15, 0.25);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(217, 78, 15, 0.45);
}

.product-card-visual {
  background: linear-gradient(135deg, #1E2528 0%, #2C3539 100%);
  height: 220px;
  padding: 22px;
  position: relative;
  display: flex;
   flex-direction: column;
  justify-content: space-between;
  border-bottom: 3px solid var(--brand-orange);
}

.product-badges {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.badge-category {
  background: rgba(255, 255, 255, 0.12);
  color: #E2E8EC;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 4px 11px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
}

.badge-capacity {
  background: var(--brand-orange);
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 4px;
}

.product-schematic {
  margin: auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-body {
  padding: 26px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.38rem;
  color: var(--brand-charcoal-dark);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-title .tm {
  font-size: 0.8rem;
  color: var(--brand-orange);
  font-weight: 800;
}

.product-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-highlights {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.highlight-item {
  font-size: 0.8rem;
}

.highlight-label {
  color: var(--text-muted);
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 600;
}

.highlight-val {
  color: var(--brand-charcoal-dark);
  font-weight: 700;
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}

/* ==========================================================================
   6-Stage Automated Bakery Line Workflow Section
   ========================================================================== */
.workflow-section {
  padding: 96px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  position: relative;
}

.workflow-step {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  position: relative;
  transition: var(--transition);
}

.workflow-step:hover {
  border-color: var(--brand-orange);
  background: #FFFFFF;
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--brand-orange);
  color: #FFFFFF;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.step-title {
  font-size: 1rem;
  margin-bottom: 8px;
  color: var(--brand-charcoal-dark);
}

.step-desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Interactive Line Configurator / Advisor
   ========================================================================== */
.configurator-section {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--brand-charcoal-deeper) 0%, var(--brand-charcoal) 100%);
  color: #FFFFFF;
}

.configurator-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 42px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
}

.config-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.config-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #D0D9DD;
  margin-bottom: 10px;
}

.config-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.config-opt {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.config-opt.active,
.config-opt:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-orange);
}

.config-result-card {
  background: #FFFFFF;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  padding: 32px;
  border-top: 5px solid var(--brand-orange);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.rec-badge {
  display: inline-block;
  background: var(--brand-orange-soft);
  color: var(--brand-orange);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.rec-title {
  font-size: 1.65rem;
  color: var(--brand-charcoal-dark);
  margin-bottom: 10px;
}

.rec-desc {
  font-size: 0.94rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.rec-specs {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 0;
  margin-bottom: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* ==========================================================================
   About SERJAWI & Turnkey Services
   ========================================================================== */
.about-section {
  padding: 96px 0;
  background: #FFFFFF;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.about-brand-showcase {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  position: relative;
}

.about-logo-frame {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 26px;
}

.about-logo-frame img {
  max-height: 240px;
  margin: 0 auto;
}

.cert-badges {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.cert-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-charcoal);
}

.cert-item span {
  display: block;
  color: var(--brand-orange);
  font-size: 1.05rem;
  font-weight: 900;
  margin-bottom: 2px;
}

.services-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 32px;
}

.service-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 22px;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--brand-orange);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.service-card h4 {
  font-size: 1.05rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-card h4 span {
  color: var(--brand-orange);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Resources, Exhibitions & FAQ Section
   ========================================================================== */
.resources-section {
  padding: 96px 0;
  background: var(--bg-alt);
}

.resources-split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
}

.resource-downloads {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
}

.download-card:hover {
  border-color: var(--brand-orange);
  box-shadow: var(--shadow-sm);
}

.download-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.download-info p {
  font-size: 0.84rem;
  color: var(--text-secondary);
}

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

.faq-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 22px;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--brand-charcoal-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--brand-orange);
}

.faq-toggle-icon {
  color: var(--brand-orange);
  font-size: 1.25rem;
  font-weight: 800;
  transition: transform 0.25s ease;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 22px;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.faq-item.open .faq-answer {
  max-height: 480px;
  padding-bottom: 18px;
}

/* ==========================================================================
   Contact & Request a Quote Section
   ========================================================================== */
.contact-section {
  padding: 96px 0;
  background: #FFFFFF;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}

.contact-info-panel {
  background: var(--brand-charcoal-dark);
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.contact-info-panel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--brand-orange);
}

.contact-info-panel h3 {
  color: #FFFFFF;
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.contact-info-panel > p {
  color: #B4C0C6;
  margin-bottom: 32px;
  font-size: 0.95rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(217, 78, 15, 0.18);
  border: 1px solid rgba(217, 78, 15, 0.45);
  color: var(--brand-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-row h5 {
  color: #FFFFFF;
  font-size: 0.92rem;
  margin-bottom: 3px;
}

.contact-detail-row p,
.contact-detail-row a {
  color: #C7D1D6;
  font-size: 0.9rem;
}

.contact-detail-row a:hover {
  color: var(--brand-orange-light);
}

.quote-form-card {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 40px;
}

.quote-form-card h3 {
  font-size: 1.55rem;
  margin-bottom: 8px;
}

.quote-form-card > p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-bottom: 26px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-charcoal);
}

.form-control {
  padding: 12px 15px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.94rem;
  background: #FFFFFF;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(217, 78, 15, 0.15);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--brand-charcoal-deeper);
  color: #B0BEC5;
  padding: 72px 0 32px;
  border-top: 4px solid var(--brand-orange);
}

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

.footer-brand-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #FFFFFF;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  width: fit-content;
}

.footer-logo-badge img {
  height: 54px;
  width: auto;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: var(--brand-orange);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #B0BEC5;
}

.footer-links a:hover {
  color: var(--brand-orange-light);
  padding-left: 4px;
}

.footer-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.84rem;
}

/* ==========================================================================
   Product Technical Specification Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 22, 24, 0.78);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-backdrop.active {
  display: flex;
}

.modal-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
  border-top: 6px solid var(--brand-orange);
  animation: modalSlideIn 0.25s ease;
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-header {
  padding: 24px 32px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--brand-charcoal);
}

.modal-close:hover {
  background: var(--brand-orange);
  color: #FFFFFF;
  border-color: var(--brand-orange);
}

.modal-body {
  padding: 32px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
}

.spec-table th,
.spec-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  font-size: 0.92rem;
}

.spec-table th {
  background: var(--bg-alt);
  color: var(--brand-charcoal-dark);
  width: 38%;
  font-weight: 700;
}

/* ==========================================================================
   Responsive Design (Desktops, Tablets, Large Phones & Compact Mobiles)
   ========================================================================== */

/* Tablet Landscape & Small Laptops (<= 1100px) */
@media (max-width: 1100px) {
  .hero-inner,
  .configurator-box,
  .about-grid,
  .resources-split,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .workflow-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .stat-item:nth-child(2) {
    border-right: none;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

/* Tablet Portrait & Navigation Drawer Switch (<= 1024px) */
@media (max-width: 1024px) {
  .top-bar-right {
    display: none;
  }

  .top-bar-left {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .header-inner {
    height: 76px;
    gap: 12px;
  }

  section[id] {
    scroll-margin-top: 76px;
  }

  .brand-logo-img {
    height: 50px;
  }

  .brand-wordmark {
    font-size: 1.45rem;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 22px;
    gap: 6px;
    border-bottom: 3px solid var(--brand-orange);
    box-shadow: var(--shadow-lg);
    max-height: calc(100vh - 76px);
    overflow-y: auto;
  }

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

  .nav-link {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }
}

/* Mobile Landscape & Standard Phablets (<= 768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .header-actions .btn-sm {
    display: none;
  }

  .hero {
    padding: 44px 0 56px;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 6px 12px;
    letter-spacing: 0.08em;
    max-width: 100%;
    white-space: normal;
  }

  .hero-title {
    font-size: clamp(1.75rem, 6.2vw, 2.35rem);
    line-height: 1.15;
    overflow-wrap: break-word;
  }

  .hero-description {
    font-size: 0.96rem;
    margin-bottom: 24px;
  }

  .products-section,
  .workflow-section,
  .configurator-section,
  .about-section,
  .resources-section,
  .contact-section {
    padding: 56px 0;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .products-top-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .category-filters {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 9px 15px;
    font-size: 0.78rem;
  }

  .workflow-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .products-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .configurator-box,
  .about-brand-showcase,
  .contact-info-panel,
  .quote-form-card {
    padding: 24px 18px;
  }

  .config-result-card {
    padding: 22px 18px;
  }

  .form-grid,
  .services-list,
  .stats-grid,
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-right: 0;
    padding-bottom: 16px;
  }

  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .modal-backdrop {
    padding: 12px;
  }

  .modal-header {
    padding: 16px 18px;
  }

  .modal-body {
    padding: 18px;
  }
}

/* Mobile Portrait & Standard Phones like iPhone 16 (<= 540px) */
@media (max-width: 540px) {
  .top-bar {
    font-size: 0.72rem;
    padding: 6px 0;
  }

  .top-bar-left {
    gap: 6px 12px;
  }

  .top-bar-left .top-bar-item:nth-child(4) {
    display: none;
  }

  .header-inner {
    height: 66px;
    gap: 8px;
  }

  section[id] {
    scroll-margin-top: 66px;
  }

  .main-nav {
    top: 66px;
  }

  .brand-logo {
    gap: 10px;
  }

  .brand-logo-img {
    height: 42px;
  }

  .brand-wordmark {
    font-size: 1.28rem;
  }

  .brand-tagline {
    font-size: 0.54rem;
    letter-spacing: 0.05em;
    line-height: 1.2;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .hero-cta-group .btn {
    width: 100%;
    padding: 13px 16px;
    font-size: 0.82rem;
    white-space: normal;
    text-align: center;
  }

  .hero-Quick-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-pill {
    font-size: 0.74rem;
    padding: 8px;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 2px;
  }

  .hero-machine-card {
    padding: 16px 14px;
  }

  .machine-card-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-svg-illustration {
    padding: 12px 10px;
  }

  .hero-svg-illustration svg {
    height: auto;
  }

  .machine-specs-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .spec-mini-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
  }

  .hero-slide-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card-visual {
    height: auto;
    min-height: 180px;
    padding: 16px;
  }

  .product-badges {
    flex-wrap: wrap;
    gap: 6px;
  }

  .product-card-body {
    padding: 18px 16px;
  }

  .product-highlights,
  .rec-specs,
  .cert-badges,
  .workflow-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-card-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .config-options {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .config-opt {
    text-align: center;
    width: 100%;
  }

  .download-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px;
  }

  .download-card .btn {
    width: 100%;
  }

  .faq-question {
    padding: 14px 16px;
    font-size: 0.86rem;
    gap: 10px;
  }

  .faq-answer {
    padding: 0 16px;
  }

  /* Responsive Specification Table in Modal */
  .spec-table,
  .spec-table tbody,
  .spec-table tr,
  .spec-table th,
  .spec-table td {
    display: block;
    width: 100%;
  }

  .spec-table tr {
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
  }

  .spec-table th {
    border-bottom: none;
    padding: 10px 14px 4px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .spec-table td {
    padding: 6px 14px 12px;
    border-bottom: none;
  }
}

/* Extra-Small Phones (<= 360px) */
@media (max-width: 360px) {
  .brand-tagline {
    display: none;
  }

  .hero-Quick-pills {
    grid-template-columns: minmax(0, 1fr);
  }
}

