@import url('fonts.css');

:root {
  /* NEW BRAND COLOR SYSTEM DERIVED FROM 3S LOGO */
  --brand-primary: #F5B301;          /* Warm Amber Gold (as on the "3" in the logo) */
  --brand-primary-hover: #D99B00;    /* Darker Gold for button hover & focus */
  --brand-primary-light: #FEF3C7;    /* Subtle warm gold tint for badges & cards */
  --brand-primary-glow: rgba(245, 179, 1, 0.25);
  
  --brand-dark: #18181B;             /* Deep Matte Charcoal (as on the frame & "S") */
  --brand-dark-card: #27272A;        /* Surface dark for cards & hero components */
  --brand-dark-border: #3F3F46;      /* Subtle border on dark surfaces */
  
  --brand-light: #FAFAFA;            /* Soft clean background */
  --brand-border: #E4E4E7;           /* Divider & card borders */
  
  --text-dark: #18181B;              /* Dark text */
  --text-body: #3F3F46;              /* Readable body copy */
  --text-muted: #71717A;             /* Secondary & meta text */
  
  --success: #10B981;
  --warning: #F5B301;
  --danger: #EF4444;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 14px rgba(0,0,0,0.06);
  --shadow-lg: 0 14px 34px rgba(24,24,27,0.12);
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  overflow-x: hidden;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  width: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--brand-light);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.nav-open-lock {
  overflow: hidden !important;
  height: 100vh !important;
  touch-action: none !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  font-weight: 800;
  line-height: 1.25;
}

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

a:hover {
  color: var(--brand-primary-hover);
}

/* TOP NOTIFICATION BAR */
.top-bar {
  background: var(--brand-dark);
  color: #A1A1AA;
  font-size: 13px;
  padding: 8px 24px;
  border-bottom: 1px solid var(--brand-dark-border);
}

.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-badge {
  background: rgba(245, 179, 1, 0.2);
  border: 1px solid rgba(245, 179, 1, 0.4);
  color: var(--brand-primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.5px;
  margin-right: 8px;
}

.top-bar-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

.top-bar-link {
  color: #E4E4E7;
  display: flex;
  align-items: center;
  gap: 6px;
}

.top-bar-link:hover {
  color: var(--brand-primary);
}

/* MAIN NAVIGATION */
.navbar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--brand-border);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-brand img, .logo-brand svg {
  height: 52px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  position: relative;
}

.nav-arrow {
  font-size: 10px;
  transition: transform 0.2s ease;
  color: var(--text-muted);
}

.nav-item:hover .nav-arrow {
  transform: rotate(180deg);
  color: var(--brand-primary-hover);
}

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

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--brand-primary);
  border-radius: 2px;
}

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

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #FFFFFF;
  min-width: 260px;
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 14px 34px rgba(24, 24, 27, 0.12);
  border: 1px solid var(--brand-border);
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1050;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  margin-bottom: 2px;
}

.dropdown-link {
  display: flex;
  flex-direction: column;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--text-dark);
  text-decoration: none;
  transition: var(--transition);
}

.dropdown-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-desc {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
  font-weight: 500;
}

.dropdown-link:hover {
  background: var(--brand-primary-light);
}

.dropdown-link:hover .dropdown-title {
  color: #B45309;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--brand-primary);
  color: var(--brand-dark);
  box-shadow: 0 4px 14px rgba(245, 179, 1, 0.4);
}

.btn-primary:hover {
  background: var(--brand-primary-hover);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 179, 1, 0.5);
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-dark);
  border: 1px solid var(--brand-border);
}

.btn-secondary:hover {
  background: var(--brand-primary-light);
  border-color: var(--brand-primary);
  color: var(--brand-dark);
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 13.5px;
}

/* MOBILE TOGGLE */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}

/* HERO SECTION */
.hero {
  background: linear-gradient(135deg, #18181B 0%, #27272A 100%);
  color: #FFFFFF;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(circle at 75% 30%, rgba(245, 179, 1, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 179, 1, 0.15);
  border: 1px solid rgba(245, 179, 1, 0.4);
  color: var(--brand-primary);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  color: #FFFFFF;
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 900;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
  line-height: 1.15;
}

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

.hero-lead {
  font-size: 18px;
  color: #D4D4D8;
  margin-bottom: 32px;
  line-height: 1.7;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  border-top: 1px solid var(--brand-dark-border);
  padding-top: 24px;
}

.stat-val {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #FFFFFF;
}

.stat-val span {
  color: var(--brand-primary);
}

.stat-label {
  font-size: 13px;
  color: #A1A1AA;
  font-weight: 500;
}

/* HERO UPLOAD TEASER BOX */
.hero-box {
  background: rgba(39, 39, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 36px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.hero-box-header {
  margin-bottom: 20px;
}

.hero-box-title {
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.hero-box-desc {
  font-size: 14px;
  color: #A1A1AA;
}

.upload-teaser-dropzone {
  border: 2px dashed rgba(245, 179, 1, 0.5);
  background: rgba(24, 24, 27, 0.6);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.upload-teaser-dropzone:hover {
  border-color: var(--brand-primary);
  background: rgba(24, 24, 27, 0.9);
}

.upload-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  color: var(--brand-primary);
}

.upload-text {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.upload-sub {
  font-size: 12px;
  color: #A1A1AA;
}

/* TRUST BAR */
.trust-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--brand-border);
  padding: 24px;
}

.trust-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--brand-primary-light);
  color: #B45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
}

.trust-text-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--text-dark);
}

.trust-text-sub {
  font-size: 12px;
  color: var(--text-muted);
}

/* SECTION COMMONS */
.section {
  padding: 80px 24px;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-badge {
  display: inline-block;
  background: var(--brand-primary-light);
  color: #B45309;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  border: 1px solid rgba(245, 179, 1, 0.3);
}

.section-title {
  font-size: clamp(28px, 3.5vw, 40px);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

/* PRODUCT CATALOG & FILTER SYSTEM */
.catalog-controls {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tab-btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--brand-border);
  background: #FFFFFF;
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  background: var(--brand-primary-light);
  border-color: var(--brand-primary);
}

.tab-btn.active {
  background: var(--brand-dark);
  color: var(--brand-primary);
  border-color: var(--brand-dark);
}

.filter-options {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-select {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--brand-border);
  background: #FFFFFF;
  color: var(--text-dark);
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.filter-select:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--brand-primary-glow);
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 30px;
}

.product-card {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-primary);
}

.product-preview-area {
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  padding: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 240px;
}

.product-badge-group {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.badge-item {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-item.cat {
  background: var(--brand-dark);
  color: #FFFFFF;
}

.badge-item.u-val {
  background: var(--brand-primary-light);
  color: #92400E;
  border: 1px solid rgba(245, 179, 1, 0.4);
}

/* COLOR SWATCH SELECTOR ON CARD */
.color-selector-wrap {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--brand-border);
}

.color-selector-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
}

.swatch-group {
  display: flex;
  gap: 6px;
}

.swatch {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 1px #CBD5E1;
  transition: transform 0.15s;
}

.swatch:hover, .swatch.active {
  transform: scale(1.25);
  box-shadow: 0 0 0 2px var(--brand-primary);
}

/* PRODUCT BODY */
.product-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.product-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex: 1;
}

/* SPECS TABLE */
.specs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: #F4F4F5;
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 20px;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-k {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.spec-v {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--brand-border);
  padding-top: 16px;
}

.product-price-info {
  display: flex;
  flex-direction: column;
}

.price-sub {
  font-size: 11px;
  color: var(--text-muted);
}

.price-tag {
  font-size: 14px;
  font-weight: 800;
  color: #B45309;
}

/* 3S SAULEN SECTION (B2B / B2C) */
.b2b-section {
  background: var(--brand-dark);
  color: #FFFFFF;
}

.b2b-section h2 {
  color: #FFFFFF;
}

.b2b-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.b2b-card {
  background: var(--brand-dark-card);
  border: 1px solid var(--brand-dark-border);
  border-radius: 16px;
  padding: 30px;
  transition: var(--transition);
}

.b2b-card:hover {
  border-color: var(--brand-primary);
  transform: translateY(-4px);
}

.b2b-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(245, 179, 1, 0.15);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 20px;
  font-weight: 900;
  border: 1px solid rgba(245, 179, 1, 0.3);
}

.b2b-card h3 {
  color: #FFFFFF;
  font-size: 18px;
  margin-bottom: 10px;
}

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

/* INQUIRY & UPLOAD FORM SECTION */
.form-hero-section {
  padding: 45px 24px;
}

.form-section {
  background: #FFFFFF;
}

.form-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 50px;
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.form-sidebar {
  background: linear-gradient(135deg, var(--brand-dark) 0%, #27272A 100%);
  color: #FFFFFF;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-sidebar h3 {
  color: #FFFFFF;
  font-size: 26px;
  margin-bottom: 16px;
}

.form-sidebar p {
  color: #A1A1AA;
  margin-bottom: 30px;
}

.sidebar-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.sidebar-check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #E4E4E7;
}

.check-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand-primary);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

.sidebar-contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
}

.sidebar-contact-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--brand-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.sidebar-contact-val {
  font-size: 14px;
  color: #FFFFFF;
  font-weight: 600;
}

/* THE ACTUAL FORM */
.inquiry-form-wrap {
  padding: 50px;
}

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

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

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

.form-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-dark);
}

.form-label span.req {
  color: #EF4444;
}

.form-input, .form-select, .form-textarea {
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  padding: 12px 16px;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  background: #F4F4F5;
  color: var(--text-dark);
  outline: none;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px var(--brand-primary-glow);
}

/* FILE UPLOAD DROPZONE */
.file-upload-container {
  border: 2px dashed #CBD5E1;
  background: #F4F4F5;
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.file-upload-container.dragover {
  border-color: var(--brand-primary);
  background: var(--brand-primary-light);
}

.file-input-hidden {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.upload-icon-svg {
  width: 38px;
  height: 38px;
  color: #B45309;
  margin-bottom: 8px;
}

.uploaded-files-list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.file-item {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: 8px;
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.file-name {
  font-weight: 600;
  color: var(--text-dark);
}

.file-remove {
  color: #EF4444;
  cursor: pointer;
  font-weight: 700;
  background: none;
  border: none;
}

/* SUCCESS / ALERT BOX */
.alert-box {
  padding: 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
}

.alert-success {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.alert-error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* FOOTER */
footer {
  background: var(--brand-dark);
  color: #A1A1AA;
  padding: 70px 24px 30px;
  border-top: 4px solid var(--brand-primary);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 16px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2.5px;
  background: var(--brand-primary);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #A1A1AA;
  font-size: 14px;
}

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

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--brand-dark-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}

/* ==========================================================================
   RESPONSIVE DESIGN & MOBILE UX (FLUID SWIPE DRAWER & TOUCH-OPTIMIZED)
   ========================================================================== */

@media (max-width: 992px) {
  /* Header & Navigation Drawer */
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: #FFFFFF;
    border: 1px solid var(--brand-border);
    border-radius: 8px;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-dark);
    line-height: 1;
    padding: 0;
    transition: var(--transition);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-toggle:hover,
  .mobile-toggle:focus {
    background: #F4F4F5;
    border-color: var(--brand-primary);
    color: var(--brand-primary-hover);
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 68px; /* Dynamic fallback; updated dynamically via JS */
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: calc(100dvh - 68px);
    max-height: calc(100dvh - 68px);
    background: #FFFFFF;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px 20px 120px 20px;
    border-top: 1px solid var(--brand-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.18);
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    touch-action: pan-y !important;
    overscroll-behavior-y: contain;
    z-index: 9999;
  }

  .nav-menu.mobile-open {
    display: flex;
  }

  .nav-item {
    width: 100%;
    border-bottom: 1px solid #F4F4F5;
  }

  .nav-link {
    width: 100%;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 16px;
    font-weight: 700;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: #F8FAFC;
    border-left: 3px solid var(--brand-primary);
    border-radius: 8px;
    margin: 4px 0 12px 10px;
    padding: 8px 12px;
    display: block;
  }

  .dropdown-link {
    padding: 10px 8px;
  }

  .dropdown-title {
    font-size: 14.5px;
  }

  .dropdown-desc {
    font-size: 12px;
  }

  /* Hero Section */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .hero-stats {
    justify-content: center;
  }

  /* Form & Inquiry Layout */
  .form-layout {
    grid-template-columns: 1fr;
    gap: 0;
    border-radius: 18px;
  }

  .form-sidebar {
    padding: 36px 28px;
    border-radius: 18px 18px 0 0;
  }

  .inquiry-form-wrap {
    padding: 36px 28px;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  /* Layout Spacing */
  .section {
    padding: 48px 16px;
  }

  .section-container {
    padding: 0 4px;
  }

  .top-bar {
    padding: 6px 14px;
    font-size: 12px;
  }

  .top-bar-inner {
    justify-content: center;
    text-align: center;
    gap: 8px;
  }

  .nav-container {
    padding: 10px 16px;
    gap: 12px;
  }

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

  /* Hero Section */
  .hero {
    padding: 48px 16px;
  }

  .hero h1 {
    font-size: clamp(28px, 6vw, 38px);
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-buttons {
    justify-content: center;
    gap: 12px;
  }

  .hero-box {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .stat-val {
    font-size: 22px;
  }

  .stat-label {
    font-size: 11.5px;
  }

  /* Category Hero */
  .category-hero {
    padding: 40px 16px 36px;
  }

  .category-hero h1 {
    font-size: clamp(26px, 6vw, 34px);
  }

  .category-hero-lead {
    font-size: 15px;
  }

  .category-usps {
    gap: 12px 16px;
  }

  /* Product & Subcategory Grids: Responsive 1-Column */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .subcategory-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .download-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .b2b-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .catalog-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .filter-options {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .filter-group {
    width: 100%;
  }

  .filter-select {
    width: 100%;
  }

  /* Inquiry Form (anfrage.html) Full Mobile Polish */
  .form-hero-section {
    padding: 36px 16px;
  }

  .form-section {
    padding: 24px 12px 48px;
  }

  .form-layout {
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  }

  .form-sidebar {
    padding: 24px 18px;
    border-radius: 14px 14px 0 0;
  }

  .form-sidebar h3 {
    font-size: 21px;
    margin-bottom: 10px;
  }

  .form-sidebar p {
    font-size: 13.5px;
    margin-bottom: 20px;
  }

  .sidebar-check-list {
    gap: 12px;
    margin-bottom: 24px;
  }

  .sidebar-check-item {
    font-size: 13px;
    gap: 10px;
  }

  .sidebar-contact-card {
    padding: 16px 14px;
    border-radius: 10px;
  }

  .inquiry-form-wrap {
    padding: 24px 18px;
  }

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

  .form-group {
    margin-bottom: 14px;
    gap: 5px;
  }

  .form-label {
    font-size: 13.5px;
  }

  /* Critical: 16px font-size prevents iOS Safari from automatically zooming into inputs */
  .form-input, .form-select, .form-textarea {
    font-size: 16px !important;
    padding: 12px 14px;
    border-radius: 8px;
    width: 100%;
  }

  .file-upload-container {
    padding: 20px 14px;
    border-radius: 10px;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

@media (max-width: 480px) {
  .nav-container {
    padding: 8px 12px;
  }

  .logo-brand img, .logo-brand svg {
    height: 38px;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-actions .btn {
    padding: 7px 12px;
    font-size: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .category-callout {
    padding: 16px;
  }

  .faq-item summary {
    padding: 16px;
    font-size: 15px;
  }

  .faq-item .faq-content {
    padding: 0 16px 16px;
    font-size: 14px;
  }
}

/* ==========================================================================
   BREADCRUMB NAVIGATION (SEO & UX SILO)
   ========================================================================== */
.breadcrumbs {
  background: #F4F4F5;
  border-bottom: 1px solid var(--brand-border);
  padding: 12px 0;
  font-size: 13px;
}

.breadcrumbs-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.breadcrumbs-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
}

.breadcrumbs-item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumbs-item a:hover {
  color: var(--brand-primary-hover);
  text-decoration: underline;
}

.breadcrumbs-separator {
  color: #A1A1AA;
  font-size: 11px;
}

.breadcrumbs-item.current {
  color: var(--brand-dark);
  font-weight: 700;
}

/* ==========================================================================
   CATEGORY & SILO LANDING PAGES
   ========================================================================== */
.category-hero {
  background: linear-gradient(135deg, #18181B 0%, #27272A 100%);
  color: #FFFFFF;
  padding: 56px 24px 48px;
  position: relative;
  overflow: hidden;
}

.category-hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 179, 1, 0.12) 0%, rgba(24, 24, 27, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.category-hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 179, 1, 0.15);
  color: var(--brand-primary);
  border: 1px solid rgba(245, 179, 1, 0.35);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.category-hero h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 900;
}

.category-hero h1 span {
  color: var(--brand-primary);
}

.category-hero-lead {
  font-size: 17px;
  line-height: 1.65;
  color: #E4E4E7;
  max-width: 820px;
  margin-bottom: 28px;
}

.category-usps {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.category-usp-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #F4F4F5;
}

.category-usp-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(245, 179, 1, 0.2);
  color: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
}

/* CATEGORY TEXT CONTENT SECTION */
.category-text-section {
  background: #FFFFFF;
  padding: 64px 24px;
}

.category-text-container {
  max-width: 1000px;
  margin: 0 auto;
}

.category-prose {
  font-size: 16px;
  line-height: 1.8;
  color: #3F3F46;
}

.category-prose h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--text-dark);
  margin-top: 40px;
  margin-bottom: 16px;
  font-weight: 800;
}

.category-prose h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin-top: 28px;
  margin-bottom: 12px;
  font-weight: 700;
}

.category-prose p {
  margin-bottom: 20px;
}

.category-prose ul {
  margin: 16px 0 24px 24px;
  line-height: 1.8;
}

.category-prose li {
  margin-bottom: 8px;
}

.category-callout {
  background: var(--brand-primary-light);
  border-left: 4px solid var(--brand-primary);
  border-radius: 8px;
  padding: 24px;
  margin: 32px 0;
}

.category-callout-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #B45309;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.category-callout p {
  margin-bottom: 0;
  color: #78350F;
  font-size: 14.5px;
}

/* SUBCATEGORY CARDS */
.subcategory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.subcategory-card {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: 14px;
  padding: 28px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.subcategory-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-primary);
  box-shadow: 0 16px 32px rgba(24, 24, 27, 0.08);
}

.subcategory-card-icon {
  width: 52px;
  height: 52px;
  background: var(--brand-primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 20px;
  color: #B45309;
}

.subcategory-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.subcategory-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.subcategory-card-action {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: #B45309;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* FAQ ACCORDION COMPONENT */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 32px 0;
}

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

.faq-item:hover {
  border-color: #CBD5E1;
}

.faq-item[open] {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 20px 24px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 700;
  color: var(--brand-primary-hover);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
  color: #B45309;
}

.faq-item .faq-content {
  padding: 0 24px 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: #475569;
}

/* DOWNLOAD CARDS */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 36px 0;
}

.download-card {
  background: #FFFFFF;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
}

.download-card:hover {
  border-color: var(--brand-primary);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.download-icon {
  width: 48px;
  height: 48px;
  background: #FEF3C7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #D97706;
  flex-shrink: 0;
}

.download-details h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.download-details p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.download-meta {
  font-size: 12px;
  color: #64748B;
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 600;
}

/* TECHNICAL SPEC TABLE */
.spec-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  width: 100%;
  margin: 28px 0;
  border-radius: 10px;
  border: 1px solid var(--brand-border);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.spec-table th {
  background: #F8FAFC;
  padding: 14px 18px;
  font-weight: 800;
  color: var(--text-dark);
  border-bottom: 2px solid var(--brand-border);
}

.spec-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #F1F5F9;
  color: #334155;
}

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

.spec-table tr:hover td {
  background: #FAFAFA;
}
