/* ============================================
   PRECISION METAL PRODUCTS MANUFACTURER
   Industrial Hardcore Design System
   ============================================ */

/* --- CSS Variables (Design Tokens) --- */
:root {
  --primary: #0F172A;
  --secondary: #9CA3AF;
  --accent: #2563EB;
  --neutral-dark: #1E293B;
  --neutral-mid: #64748B;
  --neutral-light: #F8FAFC;
  --white: #FFFFFF;
  --black: #0A0A0A;
  --border-light: rgba(255,255,255,0.08);
  --border-dark: rgba(0,0,0,0.12);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08);
  --shadow-elevated: 0 4px 16px rgba(0,0,0,0.16);
  --transition-fast: 200ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 280ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--neutral-mid);
  background: var(--white);
  overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.5px;
  line-height: 1.2;
}

h1 { font-size: clamp(2.25rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

/* --- Container --- */
.container-xl {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .container-xl { padding: 0 2rem; }
}

/* --- Buttons (Industrial: sharp corners, heavy) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.938rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: #1D4ED8;
  border-color: #1D4ED8;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

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

.btn-dark {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-dark:hover {
  background: #0B0F1A;
  border-color: #0B0F1A;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.4);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
  border-color: var(--neutral-mid);
}
.btn-light:hover {
  background: var(--neutral-light);
  border-color: var(--primary);
}

.btn-lg { padding: 0.875rem 2.25rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.813rem; }

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.98);
  box-shadow: 0 1px 20px rgba(0,0,0,0.3);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--white);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-brand-icon {
  width: 40px;
  height: 40px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition-base);
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-fast);
}

.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); }

@media (max-width: 1023px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition-base);
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-toggle { display: flex; }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--primary);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 60%, rgba(156, 163, 175, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.015) 2px, rgba(255,255,255,0.015) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.01) 2px, rgba(255,255,255,0.01) 4px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding-top: 72px;
}

.hero-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid rgba(37, 99, 235, 0.4);
  background: rgba(37, 99, 235, 0.08);
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero h1 .accent { color: var(--accent); }

.hero p {
  color: var(--secondary);
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.5px;
}

.hero-stat-label {
  font-size: 0.813rem;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

@media (max-width: 767px) {
  .hero-stats { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--neutral-mid);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.063rem;
}

/* --- Section Spacing --- */
.section { padding: 4rem 0; }
@media (min-width: 768px) {
  .section { padding: 5rem 0; }
}

/* --- Cards (Industrial: thin border, low shadow) --- */
.card {
  background: var(--white);
  border: 1px solid #E2E8F0;
  transition: all var(--transition-base);
}

.card:hover {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.card-body { padding: 1.5rem; }

.card-tag {
  display: inline-block;
  font-size: 0.688rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  transition: color var(--transition-fast);
}

.card:hover h3 { color: var(--accent); }

.card p {
  font-size: 0.875rem;
  color: var(--neutral-mid);
  line-height: 1.65;
}

/* --- Product Cards --- */
.product-card .card-img-wrap {
  position: relative;
  overflow: hidden;
  background: #F1F5F9;
}

.product-card .card-img {
  transition: transform 0.4s ease;
}

.product-card:hover .card-img {
  transform: scale(1.04);
}

.product-card .card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.product-card:hover .card-overlay { opacity: 1; }

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 1023px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.about-image-wrap {
  position: relative;
}

.about-image-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.about-image-accent {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 120px;
  height: 120px;
  background: var(--accent);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
}

.about-image-accent .num {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.about-image-accent .txt {
  font-size: 0.688rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.25rem;
}

/* --- Advantages --- */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.adv-card {
  padding: 2rem;
  border: 1px solid #E2E8F0;
  background: var(--white);
  transition: all var(--transition-base);
}

.adv-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
}

.adv-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, 0.06);
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  color: var(--accent);
}

.adv-card h3 {
  font-size: 1.063rem;
  margin-bottom: 0.5rem;
}

.adv-card p {
  font-size: 0.875rem;
  color: var(--neutral-mid);
  line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(156, 163, 175, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

/* --- Footer --- */
.footer {
  background: var(--neutral-dark);
  color: var(--secondary);
  font-size: 0.875rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

@media (max-width: 1023px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.3px;
}

.footer a {
  color: var(--secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer a:hover { color: var(--white); }

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.813rem;
  color: var(--neutral-mid);
}

/* --- Page Header (inner pages) --- */
.page-header {
  background: var(--primary);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.page-header .breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.813rem;
  color: var(--secondary);
}

.page-header .breadcrumb a {
  color: var(--secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.page-header .breadcrumb a:hover { color: var(--white); }

.page-header .breadcrumb .sep { color: var(--neutral-mid); }

/* --- Floating Contact Widget --- */
.float-widget {
  position: fixed;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.float-item {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  text-decoration: none;
}

.float-item:hover {
  background: var(--accent);
  border-color: var(--accent);
  width: 56px;
}

.float-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

.float-tooltip {
  position: absolute;
  right: calc(100% + 1rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  letter-spacing: 0.3px;
  border: 1px solid rgba(255,255,255,0.1);
}

.float-item:hover .float-tooltip { opacity: 1; }

.float-qr {
  position: absolute;
  right: calc(100% + 1rem);
  bottom: 0;
  width: 140px;
  height: 140px;
  background: var(--white);
  padding: 0.75rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #E2E8F0;
}

.float-item:hover .float-qr { opacity: 1; }

.float-qr-placeholder {
  width: 100%;
  height: 100%;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-mid);
  font-size: 0.688rem;
  text-align: center;
}

@media (max-width: 767px) {
  .float-widget { right: 0.75rem; }
  .float-item { width: 42px; height: 42px; }
  .float-item:hover { width: 48px; }
}

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger > * { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.stagger.visible > *:nth-child(1) { transition-delay: 0ms; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(2) { transition-delay: 100ms; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(3) { transition-delay: 200ms; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(4) { transition-delay: 300ms; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(5) { transition-delay: 350ms; opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(6) { transition-delay: 400ms; opacity: 1; transform: translateY(0); }

/* --- Page Loader --- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-bar {
  width: 60px;
  height: 3px;
  background: var(--accent);
  animation: loaderPulse 1s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scaleX(0.3); opacity: 0.3; }
  50% { transform: scaleX(1); opacity: 1; }
}

/* --- Contact Form --- */
.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: 0.813rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.375rem;
  letter-spacing: 0.3px;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.938rem;
  color: var(--primary);
  background: var(--white);
  border: 1px solid #E2E8F0;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-textarea { min-height: 140px; resize: vertical; }

/* --- Industrial Divider --- */
.divider {
  width: 40px;
  height: 3px;
  background: var(--accent);
  margin: 0 auto 1.5rem;
}

/* --- Stats Counter Section --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid #E2E8F0;
}

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

.stat-item {
  padding: 2.5rem 2rem;
  text-align: center;
  border-right: 1px solid #E2E8F0;
}

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

@media (max-width: 1023px) {
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item { border-bottom: 1px solid #E2E8F0; }
}

.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
  line-height: 1;
}

.stat-label {
  font-size: 0.813rem;
  color: var(--neutral-mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.5rem;
}

/* --- Product Detail Page --- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table tr { border-bottom: 1px solid #E2E8F0; }

.spec-table td {
  padding: 0.75rem 0;
  font-size: 0.875rem;
}

.spec-table td:first-child {
  font-weight: 600;
  color: var(--primary);
  width: 35%;
}

/* --- News / Blog --- */
.news-card .card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--neutral-mid);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 0.75rem;
}

/* --- Pagination --- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.pagination a,
.pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid #E2E8F0;
  text-decoration: none;
  color: var(--primary);
  transition: all var(--transition-fast);
}

.pagination a:hover,
.pagination .active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* --- Filter Tags --- */
.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.filter-tag {
  padding: 0.5rem 1.25rem;
  font-size: 0.813rem;
  font-weight: 500;
  border: 1px solid #E2E8F0;
  background: var(--white);
  color: var(--neutral-mid);
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.filter-tag:hover,
.filter-tag.active {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* --- Back to Top --- */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: 998;
  font-size: 1.25rem;
}

.back-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* --- Image placeholder backgrounds (industrial gray) --- */
.img-placeholder {
  background: #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-mid);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Inquiry Form Sidebar --- */
.inquiry-form {
  background: var(--neutral-light);
  padding: 2rem;
  border: 1px solid #E2E8F0;
  position: sticky;
  top: 100px;
}

.inquiry-form h3 {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

/* --- Tab System --- */
.tabs {
  display: flex;
  border-bottom: 2px solid #E2E8F0;
  gap: 0;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--neutral-mid);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  transition: all var(--transition-fast);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.tab-btn:hover { color: var(--primary); }

.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* --- Process Steps --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

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

.process-step {
  text-align: center;
  position: relative;
}

.process-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.process-line {
  position: absolute;
  top: 28px;
  left: calc(50% + 28px);
  width: calc(100% - 56px);
  height: 1px;
  background: #E2E8F0;
}
@media (max-width: 1023px) {
  .process-line { display: none; }
}
