/* ============================================================
   CSB-MetalSolutions – Central Stylesheet
   All design tokens and components in one place.
   ============================================================ */

/* ----- 1. CSS CUSTOM PROPERTIES ----- */
:root {
  --primary: #222051;
  --secondary: #7068AA;
  --highlight: #E88288;
  --highlight-hover: #d9696f;
  --highlight-glow: rgba(232,130,136,0.15);
  --highlight-soft: rgba(232,130,136,0.06);
  --secondary-glow: rgba(112,104,170,0.12);
  --secondary-soft: rgba(112,104,170,0.06);
  --dark: #1a1940;
  --dark-surface: #1e1d4a;
  --dark-card: #262456;
  --dark-deep: #141331;
  --dark-input: #100f28;
  --light-bg: #f4f3f8;
  --light-card: #ffffff;
  --text-bright: #fff;
  --text-primary: #f0eff6;
  --text-secondary: #b0aed0;
  --text-muted: #7b79a0;
  --text-dark: #222051;
  --text-dark-sec: #4a4872;
  --text-dark-muted: #8886a8;
  --border-dark: rgba(255,255,255,0.06);
  --border-light: rgba(34,32,81,0.08);
  --border-highlight: rgba(232,130,136,0.3);
  --success: #5cb88a;
  --danger: #e06b6b;
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ----- 2. RESET & BASE ----- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  color: var(--text-primary);
  background: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }

/* ----- 3. TYPOGRAPHY ----- */
.h1 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.08;
  letter-spacing: 0.5px;
}
.h2 {
  font-family: 'Roboto', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  letter-spacing: 0.8px;
  line-height: 1.2;
}
.h3 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 15px;
  text-transform: none;
  letter-spacing: 0.2px;
  line-height: 1.4;
}
.accent { color: var(--highlight); }
.label {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 14px;
}
.label-dark { color: var(--text-dark-muted); }
.body-text { font-size: 15px; line-height: 1.8; color: var(--text-secondary); }
.body-dark { font-size: 15px; line-height: 1.8; color: var(--text-dark-sec); }

/* ----- 4. LAYOUT UTILITIES ----- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.section-pad { padding: 110px 0; }
.text-center { text-align: center; }

/* ----- 5. BUTTONS ----- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: 'Roboto', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--highlight);
  color: #fff;
  box-shadow: 0 4px 24px rgba(232,130,136,0.25);
}
.btn-primary:hover {
  background: var(--highlight-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232,130,136,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid rgba(255,255,255,0.12);
}
.btn-outline:hover {
  border-color: var(--secondary);
  color: var(--text-primary);
  background: var(--secondary-soft);
}
.btn-dark {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(34,32,81,0.3);
}
.btn-dark:hover {
  background: #1a1847;
  transform: translateY(-2px);
}
.badge {
  display: inline-block;
  padding: 5px 16px;
  border: 1px solid var(--border-highlight);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 500;
  color: var(--highlight);
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--highlight-soft);
}

/* ----- 6. SECTION HEADERS ----- */
.section-header { margin-bottom: 56px; }
.section-header .h2 { margin-bottom: 14px; }
.section-header .body-text,
.section-header .body-dark { max-width: 580px; }
.section-header.text-center .body-text,
.section-header.text-center .body-dark { margin: 0 auto; }

/* ----- 7. NAVIGATION ----- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 68px;
  background: rgba(20,19,49,0.92);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--border-dark);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo-mark {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--text-bright);
  letter-spacing: 2px;
}
.nav-logo-text {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1.3;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text-bright); }
.nav-cta {
  padding: 8px 20px;
  background: var(--highlight);
  color: #fff;
  border-radius: var(--radius);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--highlight-hover); }
.nav-back { font-size: 12px; color: var(--text-muted); transition: color 0.2s; }
.nav-back:hover { color: var(--highlight); }
.nav-toggle { display: none; cursor: pointer; padding: 8px; background: none; border: none; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text-primary); margin: 5px 0; transition: all 0.3s; }

/* Mobile Nav Overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: rgba(20,19,49,0.98);
  backdrop-filter: blur(24px);
  z-index: 999;
  padding: 40px 32px;
  flex-direction: column;
  gap: 8px;
}
.nav-mobile.active { display: flex; }
.nav-mobile a {
  font-size: 18px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-dark);
  transition: color 0.2s;
}
.nav-mobile a:hover { color: var(--text-bright); }
.nav-mobile .nav-cta {
  display: inline-block;
  text-align: center;
  margin-top: 16px;
  padding: 14px 30px;
  font-size: 13px;
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ----- 8. HERO (Homepage) ----- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 100px 0 80px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 20% 50%, rgba(112,104,170,0.18), transparent 55%),
    radial-gradient(ellipse 40% 50% at 90% 20%, rgba(232,130,136,0.09), transparent 50%),
    radial-gradient(ellipse 50% 60% at 70% 90%, rgba(34,32,81,0.5), transparent 60%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}
.hero-inner { position: relative; z-index: 2; max-width: 100%; }
.hero-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, var(--primary), var(--dark-deep));
  box-shadow: 0 32px 80px rgba(14,13,35,0.7), inset 0 1px 0 rgba(255,255,255,0.06);
}
.hero-visual-inner {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-visual-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; height: 100%; padding: 40px;
}
.hero-visual-placeholder .ph-icon { font-size: 56px; opacity: 0.3; }
.hero-visual-placeholder .ph-text {
  font-size: 12px; color: var(--text-muted); letter-spacing: 2px;
  text-transform: uppercase; text-align: center; line-height: 1.6;
}
.hero-visual-badge {
  position: absolute; bottom: 24px; left: 24px;
  background: rgba(20,19,49,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 10px;
}
.hero-visual-badge .badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--success); box-shadow: 0 0 8px var(--success); flex-shrink: 0;
}
.hero-visual-badge .badge-label { font-size: 11px; color: var(--text-secondary); line-height: 1.4; }
.hero-visual-badge .badge-label strong { color: var(--text-primary); display: block; font-size: 12px; }
.hero-claim {
  font-family: 'Roboto', sans-serif; font-weight: 300; font-size: 13px;
  letter-spacing: 3px; text-transform: uppercase; color: var(--highlight);
  margin-bottom: 28px; display: flex; align-items: center; gap: 12px;
}
.hero-claim::before { content: ''; width: 32px; height: 1px; background: var(--highlight); }
.hero h1 { font-size: clamp(30px, 4.2vw, 54px); margin-bottom: 24px; }
.hero-sub {
  font-size: 17px; color: var(--text-secondary); line-height: 1.75;
  margin-bottom: 40px; max-width: 540px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.trust-bar {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border-dark);
  display: flex; gap: 28px; flex-wrap: wrap;
}
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--secondary-soft);
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.trust-text .t1 { font-weight: 700; font-size: 13px; color: var(--text-primary); }
.trust-text .t2 { font-size: 11px; color: var(--text-muted); }

/* ----- 9. HERO (Landing / Service Pages) ----- */
.lp-hero {
  min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden;
  padding: 110px 32px 80px;
}
.lp-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 10%, rgba(112,104,170,0.15), transparent 55%),
    radial-gradient(ellipse 55% 50% at 85% 85%, rgba(232,130,136,0.1), transparent 55%),
    radial-gradient(ellipse 40% 40% at 10% 90%, rgba(34,32,81,0.4), transparent 60%);
}
.lp-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.018) 1px, transparent 1px);
  background-size: 56px 56px;
}
.lp-hero-inner { position: relative; z-index: 2; max-width: 820px; }
.lp-hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, transparent, var(--dark));
  pointer-events: none; z-index: 1;
}
.lp-hero h1 { font-size: clamp(26px, 3.8vw, 46px); margin: 24px 0; color: var(--text-primary); }
.lp-hero-sub {
  font-size: 16px; color: var(--text-secondary); line-height: 1.75;
  max-width: 620px; margin: 0 auto 40px;
}
.lp-hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.lp-stats {
  margin-top: 56px; display: flex; justify-content: center; gap: 48px;
  padding-top: 32px; border-top: 1px solid var(--border-dark);
}
.lp-stat { text-align: center; }
.lp-stat-num {
  font-family: 'Unbounded', sans-serif; font-weight: 400; font-size: 24px;
  color: var(--highlight);
}
.lp-stat-label {
  font-size: 10px; font-weight: 300; color: var(--text-muted);
  letter-spacing: 1px; text-transform: uppercase; margin-top: 4px;
}

/* ----- 10. SECTIONS ----- */
.sec-light { background: var(--light-bg); padding: 110px 0; position: relative; }
.sec-dark { background: var(--dark-surface); padding: 110px 0; position: relative; }
.sec-deep { background: var(--dark); padding: 110px 0; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ----- 11. IMAGE FRAMES ----- */
.img-frame {
  width: 100%; aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--primary) 0%, var(--dark-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius-lg); }
.img-frame::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 40px 40px; pointer-events: none;
}
.img-frame::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(112,104,170,0.08), transparent 70%);
  pointer-events: none;
}
.img-frame-corners { position: absolute; inset: 0; pointer-events: none; }
.img-frame-corners::before,
.img-frame-corners::after {
  content: ''; position: absolute; width: 20px; height: 20px;
  border-color: var(--highlight); border-style: solid; opacity: 0.4;
}
.img-frame-corners::before { top: 16px; left: 16px; border-width: 2px 0 0 2px; }
.img-frame-corners::after { bottom: 16px; right: 16px; border-width: 0 2px 2px 0; }
.img-frame .ph { position: relative; z-index: 1; color: var(--text-muted); text-align: center; font-size: 12px; padding: 24px; }
.img-frame .ph .ico { font-size: 36px; margin-bottom: 10px; display: block; opacity: 0.4; }
.img-frame .ph .lbl { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; opacity: 0.5; line-height: 1.6; }

/* ----- 12. CARDS ----- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.crd {
  background: var(--dark-card); border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg); padding: 32px 24px;
  transition: all var(--transition); position: relative; overflow: hidden;
}
.crd::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--highlight));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.crd:hover { border-color: rgba(112,104,170,0.2); transform: translateY(-5px); box-shadow: 0 16px 48px rgba(14,13,35,0.6); }
.crd:hover::before { transform: scaleX(1); }
.crd-icon {
  width: 48px; height: 48px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 22px; background: var(--highlight-glow);
}
.crd h3 { margin-bottom: 10px; color: var(--text-primary); }
.crd p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ----- 13. SERVICE CARDS (Homepage) ----- */
.svc-primary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.svc-secondary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-card {
  background: var(--dark-card); border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg); padding: 36px 28px;
  transition: all var(--transition); position: relative; overflow: hidden; display: block;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--highlight));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.svc-card:hover { border-color: rgba(112,104,170,0.2); transform: translateY(-5px); box-shadow: 0 16px 48px rgba(14,13,35,0.6); }
.svc-card:hover::before { transform: scaleX(1); }
.svc-icon {
  width: 52px; height: 52px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; font-size: 24px; background: var(--highlight-glow);
  transition: all var(--transition);
}
.svc-card:hover .svc-icon { background: var(--highlight); box-shadow: 0 4px 16px rgba(232,130,136,0.3); }
.svc-card h3 { margin-bottom: 10px; color: var(--text-primary); }
.svc-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.svc-tag {
  display: inline-block; margin-top: 14px; padding: 4px 12px; border-radius: 20px;
  font-size: 10px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
}
.svc-tag.core { background: var(--highlight-soft); color: var(--highlight); border: 1px solid rgba(232,130,136,0.2); }
.svc-tag.special { background: var(--secondary-soft); color: var(--secondary); border: 1px solid rgba(112,104,170,0.2); }
.svc-compact { padding: 28px 22px; }
.svc-compact .svc-icon { width: 44px; height: 44px; font-size: 20px; margin-bottom: 14px; }
.svc-compact h3 { font-size: 12px; }
.svc-compact p { font-size: 13px; line-height: 1.6; }

/* ----- 14. FILTER BOX ----- */
.filter-wrap { max-width: 880px; margin: 0 auto; }
.filter-box {
  background: var(--light-card); border-left: 4px solid var(--secondary);
  border-radius: var(--radius-lg); padding: 48px;
  box-shadow: 0 4px 32px rgba(34,32,81,0.06);
}
.filter-box h3 { font-family: 'Roboto', sans-serif; font-weight: 800; font-size: 22px; color: var(--text-dark); margin-bottom: 12px; }
.filter-box > p { color: var(--text-dark-sec); margin-bottom: 24px; font-size: 14px; line-height: 1.75; }
.fl-list { margin-bottom: 20px; }
.fl-item {
  display: flex; align-items: flex-start; gap: 14px; padding: 12px 0;
  border-bottom: 1px solid var(--border-light); font-size: 14px; color: var(--text-dark-sec);
}
.fl-item:last-child { border-bottom: none; }
.fl-ico {
  width: 26px; height: 26px; flex-shrink: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.fl-ico.y { background: rgba(92,184,138,0.12); color: var(--success); }
.fl-ico.n { background: rgba(224,107,107,0.12); color: var(--danger); }
.fl-note {
  padding: 14px 20px; background: rgba(112,104,170,0.06);
  border: 1px solid rgba(112,104,170,0.1); border-radius: var(--radius);
  font-size: 13px; color: var(--text-dark-sec); line-height: 1.7;
}

/* ----- 15. CERTIFICATIONS ----- */
.cert-grid { display: grid; grid-template-columns: 2fr 3fr; gap: 64px; align-items: center; }
.cert-badge-box {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px;
  border: 1px solid rgba(112,104,170,0.3); border-radius: var(--radius);
  background: var(--secondary-soft); margin-top: 14px;
}
.cert-badge-text { font-size: 10px; font-weight: 500; color: var(--secondary); letter-spacing: 1.5px; text-transform: uppercase; }

/* ----- 16. CTA & FORM ----- */
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-row {
  display: flex; align-items: center; gap: 14px; padding: 14px 0;
  border-top: 1px solid var(--border-dark);
}
.contact-ico {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--secondary-glow);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}
.form-card {
  background: var(--dark-card); border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg); padding: 40px;
}
.form-card .h3 { margin-bottom: 24px; font-size: 15px; }
.fg { margin-bottom: 14px; }
.fl-label {
  display: block; font-size: 10px; font-weight: 500; color: var(--text-muted);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 5px;
}
.fl-label .req { color: var(--highlight); }
.fi, .fta {
  width: 100%; background: var(--dark-input); border: 1px solid var(--border-dark);
  border-radius: 4px; padding: 11px 14px; color: var(--text-primary);
  font-family: 'Roboto', sans-serif; font-size: 13px; transition: all 0.2s;
}
.fi:focus, .fta:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(112,104,170,0.15); }
.fi::placeholder, .fta::placeholder { color: var(--text-muted); opacity: 0.4; }
.fta { resize: vertical; min-height: 72px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.f-upload {
  border: 2px dashed rgba(112,104,170,0.2); border-radius: var(--radius);
  padding: 22px; text-align: center; cursor: pointer; transition: all 0.2s;
}
.f-upload:hover { border-color: var(--secondary); background: var(--secondary-soft); }
.f-upload p { font-size: 11px; color: var(--text-muted); }
.f-upload strong { color: var(--secondary); }
.f-submit {
  width: 100%; margin-top: 8px; padding: 15px;
  background: var(--highlight); color: #fff; border: none; border-radius: var(--radius);
  font-family: 'Roboto', sans-serif; font-size: 12px; font-weight: 500;
  letter-spacing: 1.5px; text-transform: uppercase; cursor: pointer;
  transition: all var(--transition);
}
.f-submit:hover { background: var(--highlight-hover); box-shadow: 0 4px 24px rgba(232,130,136,0.3); }
.f-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.f-checkbox {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; margin-bottom: 8px;
}
.f-checkbox input[type="checkbox"] { margin-top: 3px; accent-color: var(--highlight); }
.f-checkbox label { font-size: 11px; color: var(--text-muted); line-height: 1.5; }
.f-checkbox label a { color: var(--secondary); text-decoration: underline; }
.form-status {
  margin-top: 12px; padding: 12px 16px; border-radius: var(--radius);
  font-size: 13px; display: none;
}
.form-status.success { display: block; background: rgba(92,184,138,0.12); color: var(--success); border: 1px solid rgba(92,184,138,0.3); }
.form-status.error { display: block; background: rgba(224,107,107,0.12); color: var(--danger); border: 1px solid rgba(224,107,107,0.3); }

/* ----- 17. RELATED SERVICES ----- */
.related { background: var(--dark); padding: 80px 0; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rel-card {
  padding: 24px; background: var(--dark-card); border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg); transition: all var(--transition); display: block;
}
.rel-card:hover { border-color: rgba(232,130,136,0.15); transform: translateY(-3px); box-shadow: 0 8px 32px rgba(14,13,35,0.5); }
.rel-card h4 { font-family: 'Roboto', sans-serif; font-size: 14px; font-weight: 700; text-transform: none; color: var(--text-primary); margin-bottom: 6px; }
.rel-card p { font-size: 12px; color: var(--text-muted); line-height: 1.6; }
.rel-card .arrow { color: var(--highlight); font-size: 12px; margin-top: 10px; display: block; letter-spacing: 1px; }

/* ----- 18. MATERIALS BAR (Homepage) ----- */
.mat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; border-radius: var(--radius-lg); overflow: hidden; }
.mat-item { background: var(--dark-card); padding: 28px 20px; text-align: center; transition: all var(--transition); }
.mat-item:hover { background: var(--dark-surface); }
.mat-item h4 { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 13px; text-transform: none; color: var(--text-primary); margin: 10px 0 4px; }
.mat-item p { font-size: 11px; color: var(--text-muted); line-height: 1.4; }
.mat-status { display: inline-block; margin-top: 8px; font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 500; padding: 3px 10px; border-radius: 12px; }
.ms-expert { background: var(--highlight-soft); color: var(--highlight); }
.ms-routine { background: var(--secondary-soft); color: var(--secondary); }

/* ----- 19. ABOUT (Homepage) ----- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img {
  aspect-ratio: 4/3; border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--primary), var(--dark-deep));
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 24px 64px rgba(34,32,81,0.15);
}
.usp-list { display: flex; flex-direction: column; gap: 10px; margin: 24px 0 28px; }
.usp {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: var(--light-card); border-radius: var(--radius);
  border: 1px solid var(--border-light); transition: all var(--transition);
}
.usp:hover { transform: translateX(4px); border-color: rgba(112,104,170,0.2); }
.usp-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.usp-dot.c1 { background: var(--highlight); }
.usp-dot.c2 { background: var(--secondary); }
.usp-dot.c3 { background: var(--primary); }
.usp-text { font-size: 14px; color: var(--text-dark); font-weight: 500; }
.usp-text span { font-weight: 400; color: var(--text-dark-muted); font-size: 13px; }

/* ----- 20. INDUSTRIES (Homepage) ----- */
.ind-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ind-card {
  padding: 40px 32px;
  background: linear-gradient(145deg, var(--dark-card), var(--dark-surface));
  border: 1px solid var(--border-dark); border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.ind-card:hover { border-color: rgba(232,130,136,0.15); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(14,13,35,0.5); }
.ind-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--highlight-glow);
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px;
}
.ind-card h3 { margin-bottom: 10px; font-size: 14px; }
.ind-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 14px; }
.ind-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.ind-tag { font-size: 10px; padding: 3px 10px; border-radius: 20px; background: var(--secondary-soft); color: var(--secondary); border: 1px solid rgba(112,104,170,0.15); }

/* ----- 21. QUALITY (Homepage) ----- */
.qual-grid { display: grid; grid-template-columns: 5fr 4fr; gap: 64px; align-items: start; }
.cert-stack { display: flex; flex-direction: column; gap: 12px; }
.cert-card {
  padding: 20px; background: var(--light-card); border-radius: var(--radius-lg);
  border: 1px solid var(--border-light); display: flex; align-items: center; gap: 16px;
  transition: all var(--transition);
}
.cert-card:hover { transform: translateX(6px); box-shadow: 0 4px 20px rgba(34,32,81,0.06); }
.cert-ico {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.cert-ico.cl-h { background: var(--highlight-glow); }
.cert-ico.cl-s { background: var(--secondary-glow); }
.cert-ico.cl-p { background: rgba(34,32,81,0.06); }
.cert-title { font-weight: 700; font-size: 14px; color: var(--text-dark); margin-bottom: 2px; }
.cert-desc { font-size: 12px; color: var(--text-dark-muted); line-height: 1.4; }
.agility-box {
  margin-top: 28px; padding: 24px; background: var(--light-card);
  border-radius: var(--radius-lg); border-left: 4px solid var(--secondary);
}
.agility-box h4 { font-weight: 800; font-size: 15px; color: var(--text-dark); margin-bottom: 6px; }
.agility-box p { font-size: 13px; color: var(--text-dark-sec); line-height: 1.7; }

/* ----- 22. FOOTER ----- */
.footer { background: var(--dark-deep); border-top: 1px solid var(--border-dark); padding: 36px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-brand .mark { font-family: 'Roboto', sans-serif; font-weight: 900; font-size: 18px; color: var(--text-secondary); letter-spacing: 2px; }
.footer-brand .sub { font-size: 10px; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 12px; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text-secondary); }
.footer-copy { font-size: 11px; color: var(--text-muted); opacity: 0.5; }
/* Footer extended (Homepage) */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
.footer-brand .sub2 { font-size: 10px; color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; display: block; margin-top: 4px; }
.footer-brand p { font-size: 12px; color: var(--text-muted); margin-top: 14px; line-height: 1.6; max-width: 260px; }
.footer-col h5 { font-weight: 700; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 12px; color: var(--text-muted); padding: 3px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--highlight); }
.footer-bottom { padding-top: 20px; border-top: 1px solid var(--border-dark); display: flex; justify-content: space-between; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 11px; color: var(--text-muted); opacity: 0.5; transition: opacity 0.2s; }
.footer-legal a:hover { opacity: 1; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { font-size: 16px; color: var(--text-muted); transition: color 0.2s; }
.footer-social a:hover { color: var(--highlight); }

/* ----- 23. COOKIE BANNER ----- */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: var(--dark-card); border-top: 1px solid var(--border-dark);
  padding: 20px 32px;
  display: none;
}
.cookie-banner.active { display: block; }
.cookie-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cookie-text { font-size: 13px; color: var(--text-secondary); line-height: 1.6; max-width: 800px; }
.cookie-text a { color: var(--secondary); text-decoration: underline; }
.cookie-btn {
  padding: 10px 24px; background: var(--highlight); color: #fff;
  border: none; border-radius: var(--radius); font-family: 'Roboto', sans-serif;
  font-size: 12px; font-weight: 500; letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; transition: all 0.2s; white-space: nowrap;
}
.cookie-btn:hover { background: var(--highlight-hover); }

/* ----- 24. LEGAL PAGES (Impressum / Datenschutz) ----- */
.legal-page { padding: 120px 0 80px; }
.legal-content { max-width: 800px; }
.legal-content h1 { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: clamp(24px, 3vw, 38px); color: var(--text-primary); margin-bottom: 32px; text-transform: uppercase; }
.legal-content h2 { font-family: 'Roboto', sans-serif; font-weight: 800; font-size: 20px; color: var(--text-primary); margin-top: 40px; margin-bottom: 14px; }
.legal-content h3 { font-family: 'Roboto', sans-serif; font-weight: 700; font-size: 16px; color: var(--text-primary); margin-top: 28px; margin-bottom: 10px; }
.legal-content p { font-size: 14px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 14px; }
.legal-content a { color: var(--secondary); text-decoration: underline; }
.legal-content a:hover { color: var(--highlight); }
.legal-content ul, .legal-content ol { margin-bottom: 14px; padding-left: 20px; }
.legal-content li { font-size: 14px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 4px; list-style: disc; }
.legal-content strong { color: var(--text-primary); }

/* ----- 25. 404 PAGE ----- */
.page-404 {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden; padding: 110px 32px 80px;
}
.page-404::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 20%, rgba(112,104,170,0.1), transparent 60%),
              radial-gradient(ellipse 50% 45% at 80% 80%, rgba(232,130,136,0.06), transparent 60%);
}
.page-404-inner { position: relative; z-index: 2; }
.page-404-code {
  font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: clamp(80px, 15vw, 200px);
  color: var(--highlight); opacity: 0.15; line-height: 1;
}
.page-404 h1 { font-family: 'Roboto', sans-serif; font-weight: 800; font-size: clamp(24px, 3vw, 36px); color: var(--text-primary); margin: -20px 0 16px; }
.page-404 p { font-size: 16px; color: var(--text-secondary); margin-bottom: 32px; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ----- 26. ANIMATIONS ----- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.4,0,0.2,1), transform 0.6s cubic-bezier(0.4,0,0.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: .1s; }
.rd2 { transition-delay: .2s; }
.rd3 { transition-delay: .3s; }

/* ----- 27. RESPONSIVE ----- */
@media (max-width: 1024px) {
  .cards-3, .rel-grid { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: 1fr; }
  .svc-primary { grid-template-columns: 1fr 1fr; }
  .svc-secondary { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .qual-grid, .ind-grid { grid-template-columns: 1fr; }
  .mat-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section-pad, .sec-light, .sec-dark, .sec-deep { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero { min-height: auto; padding: 100px 0 60px; }
  .hero h1 { font-size: 28px; }
  .hero-split { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-buttons { flex-direction: column; }
  .trust-bar { flex-direction: column; gap: 14px; }
  .lp-hero { min-height: auto; padding: 100px 20px 60px; }
  .lp-hero h1 { font-size: 24px; }
  .lp-stats { flex-direction: column; gap: 16px; }
  .lp-hero-buttons { flex-direction: column; }
  .two-col, .cert-grid, .cta-grid { grid-template-columns: 1fr; }
  .cards-3, .rel-grid { grid-template-columns: 1fr; }
  .svc-primary, .svc-secondary, .ind-grid { grid-template-columns: 1fr; }
  .mat-grid { grid-template-columns: 1fr 1fr; }
  .filter-box { padding: 28px 20px; }
  .f-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 20px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .legal-page { padding: 100px 0 60px; }
  .cookie-inner { flex-direction: column; text-align: center; }
}
