/* ==========================================================================
   TOPNEW MACHINERY — Industrial Power Transmission
   Custom design inspired by the original sc-topnew.com
   Palette: industrial red on dark charcoal + light steel
   ========================================================================== */

:root {
  --primary:        #e02b20;
  --primary-dark:   #bf1e14;
  --primary-soft:   #fff0ee;
  --dark:           #131a22;
  --dark-2:         #1c2530;
  --dark-3:         #243040;
  --light:          #f4f5f7;
  --light-2:        #e9ebef;
  --white:          #ffffff;
  --text:           #5c6672;
  --text-light:     #93a0ad;
  --heading:        #151b22;
  --border:         #e2e6ea;
  --gold:           #f4b23b;

  --radius:         14px;
  --radius-sm:      8px;
  --shadow:         0 10px 40px rgba(19, 26, 34, 0.08);
  --shadow-lg:      0 24px 60px rgba(19, 26, 34, 0.16);
  --shadow-red:     0 12px 30px rgba(224, 43, 32, 0.35);

  --font:           'Roboto', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --transition:     all .35s cubic-bezier(.25,.6,.25,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--heading); font-weight: 700; line-height: 1.25; }

::selection { background: var(--primary); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--light-2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

.section { padding: 96px 0; }
.section--dark { background: var(--dark); }
.section--dark-2 { background: var(--dark-2); }
.section--light { background: var(--light); }
.section--soft { background: var(--primary-soft); }

.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head--left { margin-left: 0; text-align: left; }
.section-head--light .section-title,
.section-head--light .section-sub { color: var(--white); }

.section-sub {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 14px;
}
.section-sub::before,
.section-sub::after {
  content: ''; width: 28px; height: 2px; background: var(--primary); display: block;
}

.section-title { font-size: clamp(26px, 4vw, 42px); margin-bottom: 18px; }
.section-desc { font-size: 16px; max-width: 640px; }
.section-head--left .section-desc { margin-left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 34px; border-radius: 60px;
  font-weight: 700; font-size: 15px; letter-spacing: .3px;
  border: 2px solid transparent; cursor: pointer;
  transition: var(--transition); line-height: 1.2;
}
.btn i { transition: transform .3s; }
.btn:hover i { transform: translateX(5px); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; box-shadow: var(--shadow-red);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(224,43,32,.45); }

.btn-outline {
  border-color: var(--primary); color: var(--primary); background: transparent;
}
.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-white {
  background: #fff; color: var(--dark); box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.btn-white:hover { transform: translateY(-3px); }

.btn-outline-light {
  border-color: rgba(255,255,255,.6); color: #fff; background: transparent;
}
.btn-outline-light:hover { background: #fff; color: var(--dark); }

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: var(--transition);
  background: transparent;
  padding: 22px 0;
}
.site-header.nav-fixed {
  background: rgba(19, 26, 34, .96);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 6px 30px rgba(0,0,0,.35);
}

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

.logo { display: flex; align-items: center; gap: 10px; }
.logo img { height: 60px; width: auto; border-radius: 6px; }
.logo-text {
  font-size: 28px; font-weight: 900; color: #fff; letter-spacing: -.5px;
}
.logo-text span { color: var(--primary); }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-link {
  position: relative; color: rgba(255,255,255,.85);
  padding: 10px 18px; font-weight: 500; font-size: 15px;
  transition: var(--transition); border-radius: 30px;
}
.nav-link::after {
  content: ''; position: absolute; left: 18px; right: 18px; bottom: 6px;
  height: 2px; background: var(--primary); transform: scaleX(0);
  transform-origin: left; transition: transform .3s;
}
.nav-link:hover,
.nav-link.active { color: #fff; }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  width: 26px; height: 2.5px; background: #fff; border-radius: 3px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ==========================================================================
   HERO (home)
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: .35;
}
.hero canvas { position: absolute; inset: 0; z-index: 2; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(19,26,34,.55) 0%, rgba(19,26,34,.25) 50%, rgba(19,26,34,.9) 100%);
}
.hero-content { position: relative; z-index: 3; padding: 160px 20px 120px; max-width: 900px; }
.hero-kicker {
  display: inline-block; color: #fff; font-size: 13px; letter-spacing: 3px;
  text-transform: uppercase; font-weight: 700; margin-bottom: 22px;
  padding: 8px 20px; border: 1px solid rgba(255,255,255,.3); border-radius: 30px;
  background: rgba(255,255,255,.06); backdrop-filter: blur(4px);
}
.hero-title {
  font-size: clamp(34px, 6vw, 62px); color: #fff; font-weight: 900;
  line-height: 1.12; margin-bottom: 26px;
}
.hero-title .accent {
  background: linear-gradient(120deg, var(--primary), #ff7a4d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { color: rgba(255,255,255,.75); font-size: 18px; max-width: 620px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   PAGE HERO (inner pages)
   ========================================================================== */
.page-hero {
  position: relative; padding: 200px 0 100px;
  text-align: center; overflow: hidden;
  background-size: cover; background-position: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(19,26,34,.85), rgba(19,26,34,.6));
}
.page-hero > * { position: relative; z-index: 2; }
.page-hero .page-title { color: #fff; font-size: clamp(34px, 5vw, 52px); font-weight: 900; }
.breadcrumb { margin-top: 18px; color: rgba(255,255,255,.7); font-size: 15px; }
.breadcrumb a { color: var(--primary); font-weight: 600; }
.breadcrumb .sep { margin: 0 10px; color: rgba(255,255,255,.4); }

/* ==========================================================================
   ABOUT / company profile
   ========================================================================== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: center;
}
.about-imgs { position: relative; }
.about-imgs .img-main {
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  width: 100%; height: 420px; object-fit: cover;
}
.about-imgs .img-float {
  position: absolute; right: -22px; bottom: -30px; width: 62%;
  border: 8px solid #fff; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); height: 230px; object-fit: cover;
}
.badge-float {
  position: absolute; top: -26px; left: -22px;
  background: var(--primary); color: #fff; border-radius: var(--radius);
  padding: 20px 26px; box-shadow: var(--shadow-red); text-align: center;
  z-index: 2;
}
.badge-float b { display: block; font-size: 34px; line-height: 1; }
.badge-float span { font-size: 12px; letter-spacing: 1px; }

.about-points { margin-top: 26px; display: grid; gap: 16px; }
.point { display: flex; gap: 16px; align-items: flex-start; }
.point .point-icon {
  flex: 0 0 48px; height: 48px; border-radius: 12px;
  background: var(--primary-soft); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.point h5 { font-size: 16px; margin-bottom: 4px; }
.point p { font-size: 14.5px; margin-bottom: 0; }

/* ==========================================================================
   ADVANTAGES / progress
   ========================================================================== */
.advantage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.advantage-list { margin-top: 34px; display: grid; gap: 24px; }
.progress-info h6 {
  display: flex; justify-content: space-between; align-items: center;
  color: var(--white); font-size: 15px; margin-bottom: 10px;
}
.progress-info h6 span { color: var(--primary); font-weight: 900; font-size: 17px; }
.progress-track {
  height: 8px; background: rgba(255,255,255,.12); border-radius: 10px; overflow: hidden;
}
.progress-bar {
  height: 100%; border-radius: 10px;
  background: linear-gradient(90deg, var(--primary), #ff6a3d);
  width: 0; transition: width 1.6s cubic-bezier(.25,.6,.25,1);
}

.advantage-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.adv-card {
  background: var(--dark-2); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 30px; transition: var(--transition);
}
.adv-card:hover { transform: translateY(-6px); border-color: var(--primary); }
.adv-card .adv-icon {
  width: 56px; height: 56px; border-radius: 14px; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px;
}
.adv-card h4 { color: #fff; font-size: 17px; margin-bottom: 8px; }
.adv-card p { color: var(--text-light); font-size: 14px; margin: 0; }

/* ==========================================================================
   STATS
   ========================================================================== */
.stats-band {
  position: relative; overflow: hidden;
  background-size: cover; background-position: center;
  padding: 90px 0;
}
.stats-band::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(19,26,34,.88);
}
.stats-grid { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .stat-num {
  font-size: clamp(38px, 5vw, 56px); font-weight: 900; color: #fff; line-height: 1;
}
.stat .stat-num i { color: var(--primary); font-style: normal; }
.stat p { color: rgba(255,255,255,.7); margin-top: 10px; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; }

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition);
  box-shadow: 0 4px 20px rgba(19,26,34,.04);
  display: flex; flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px); box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-media {
  position: relative; height: 260px; overflow: hidden; background: var(--light);
}
.product-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s;
}
.product-card:hover .product-media img { transform: scale(1.08); }
.product-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--primary); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; padding: 6px 14px; border-radius: 30px;
}
.product-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.product-body h4 { font-size: 18px; margin-bottom: 10px; transition: color .3s; }
.product-card:hover .product-body h4 { color: var(--primary); }
.product-body p { font-size: 14.5px; margin-bottom: 20px; flex: 1; }
.product-link {
  color: var(--primary); font-weight: 700; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.product-link i { transition: transform .3s; }
.product-link:hover i { transform: translateX(5px); }

/* ---------- Big feature product rows ---------- */
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.feature-row + .feature-row { margin-top: 70px; }
.feature-media {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); height: 420px;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(19,26,34,.35), transparent 60%);
}
.feature-media .feature-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 24px; color: #fff; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
}
.feature-info h3 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 16px; }
.feature-info p { margin-bottom: 16px; }
.feature-info .feature-points { margin: 18px 0 0; display: grid; gap: 10px; }
.feature-info .feature-points li {
  display: flex; align-items: center; gap: 10px; font-size: 14.5px;
}
.feature-info .feature-points li::before {
  content: '✓'; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary-soft); color: var(--primary);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 900;
}

/* ==========================================================================
   APPLICATIONS
   ========================================================================== */
.app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.app-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: 230px; cursor: pointer;
}
.app-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.app-card:hover img { transform: scale(1.1); }
.app-card .app-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(19,26,34,.85), rgba(19,26,34,.1) 55%);
  display: flex; align-items: flex-end; padding: 22px;
  transition: var(--transition);
}
.app-card .app-name { color: #fff; font-weight: 700; font-size: 16px; }
.app-card .app-name i { margin-right: 8px; color: var(--primary); }
.app-card .app-desc {
  color: rgba(255,255,255,.85); font-size: 12.5px; margin-top: 4px;
  max-height: 0; opacity: 0; overflow: hidden; transition: var(--transition);
}
.app-card:hover .app-desc { max-height: 60px; opacity: 1; margin-top: 8px; }

/* ==========================================================================
   CNC / TIMING PULLEY showcase
   ========================================================================== */
.cnc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.part-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: var(--transition);
}
.part-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.part-card .part-img { height: 210px; overflow: hidden; background: var(--light); }
.part-card .part-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.part-card:hover .part-img img { transform: scale(1.1); }
.part-card .part-body { padding: 18px 20px; }
.part-card .part-body h5 { font-size: 15px; }
.part-card .part-body span { font-size: 12.5px; color: var(--text-light); }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.gallery-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  height: 300px; cursor: pointer; display: block;
}
.gallery-card img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .6s;
}
.gallery-card:hover img { transform: scale(1.1); }
.gallery-card .gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(19,26,34,.9), rgba(19,26,34,.05) 60%);
  display: flex; align-items: flex-end; justify-content: space-between; padding: 22px;
  opacity: .85; transition: var(--transition);
}
.gallery-card:hover .gallery-overlay { opacity: 1; }
.gallery-card .gallery-name { color: #fff; font-size: 17px; font-weight: 700; }
.gallery-card .gallery-icon {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0); transition: transform .35s;
}
.gallery-card:hover .gallery-icon { transform: scale(1); }

.gallery-category { margin: 60px 0 30px; display: flex; align-items: center; gap: 16px; }
.gallery-category:first-of-type { margin-top: 0; }
.gallery-category h3 { font-size: 24px; }
.gallery-category .gallery-line { flex: 1; height: 2px; background: var(--border); position: relative; }
.gallery-category .gallery-line::before {
  content: ''; position: absolute; left: 0; top: -3px; width: 60px; height: 8px;
  background: var(--primary); border-radius: 4px;
}

/* ==========================================================================
   LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(19,26,34,.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition); padding: 30px;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 90%; max-height: 85vh; border-radius: 10px;
  box-shadow: var(--shadow-lg); transform: scale(.92); transition: transform .35s;
}
.lightbox.open img { transform: scale(1); }
.lightbox .lb-caption { color: #fff; text-align: center; margin-top: 18px; font-size: 15px; }
.lightbox .lb-close {
  position: absolute; top: 26px; right: 34px; color: #fff; font-size: 44px;
  cursor: pointer; line-height: 1; transition: transform .3s; background: none; border: 0;
}
.lightbox .lb-close:hover { transform: rotate(90deg); color: var(--primary); }
.lightbox .lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.1); border: 0; color: #fff; font-size: 26px;
  width: 54px; height: 54px; border-radius: 50%; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.lightbox .lb-nav:hover { background: var(--primary); }
.lightbox .lb-prev { left: 30px; }
.lightbox .lb-next { right: 30px; }

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.newsletter { background: linear-gradient(120deg, var(--primary), var(--primary-dark)); position: relative; overflow: hidden; }
.newsletter::before {
  content: '⚙'; position: absolute; right: -40px; bottom: -90px; font-size: 300px;
  color: rgba(255,255,255,.08); line-height: 1;
}
.newsletter-inner { position: relative; z-index: 2; text-align: center; max-width: 620px; margin: 0 auto; }
.newsletter h2 { color: #fff; font-size: clamp(26px, 4vw, 38px); margin-bottom: 14px; }
.newsletter p { color: rgba(255,255,255,.85); margin-bottom: 30px; }
.newsletter-form { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.newsletter-form input {
  flex: 1; min-width: 200px; padding: 15px 22px; border-radius: 60px; border: 0;
  font-size: 15px; outline: none; background: #fff;
}
.newsletter-form .btn { background: var(--dark); color: #fff; }
.newsletter-form .btn:hover { background: #000; }

/* ==========================================================================
   QUOTE FORM
   ========================================================================== */
.form-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 44px; border-top: 4px solid var(--primary);
}
.form-card h3 { font-size: 24px; margin-bottom: 8px; }
.form-card > p { font-size: 14px; margin-bottom: 26px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 600; color: var(--heading); }
.form-field input,
.form-field textarea {
  padding: 14px 18px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: 15px; font-family: var(--font); outline: none; transition: var(--transition);
  background: var(--light);
}
.form-field input:focus,
.form-field textarea:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(224,43,32,.08); }
.form-field textarea { resize: vertical; min-height: 130px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-type { display: grid; gap: 18px; }
.address-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; transition: var(--transition);
}
.address-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); }
.address-card .addr-icon {
  flex: 0 0 50px; height: 50px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.address-card h6 { font-size: 15px; margin-bottom: 4px; }
.address-card p, .address-card a { font-size: 14.5px; color: var(--text); }
.address-card a:hover { color: var(--primary); }

.map-embed {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  margin-top: 40px; min-height: 380px; background: var(--light);
  display: flex; align-items: center; justify-content: center;
}
.map-embed iframe { width: 100%; height: 380px; border: 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--dark); padding: 80px 0 0; color: var(--text-light); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer .logo { margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; max-width: 320px; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--dark-2); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-size: 15px;
}
.footer-social a:hover { background: var(--primary); transform: translateY(-3px); }
.footer-title { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-title::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; background: var(--primary); border-radius: 2px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 14.5px; display: flex; align-items: center; gap: 10px; transition: var(--transition); }
.footer-links a::before { content: '›'; color: var(--primary); font-weight: 700; }
.footer-links a:hover { color: #fff; padding-left: 6px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 14px; font-size: 14.5px; }
.footer-contact i { color: var(--primary); margin-top: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0;
  text-align: center; font-size: 14px;
}
.footer-bottom a { color: var(--primary); }

/* ==========================================================================
   MOVETOP
   ========================================================================== */
.move-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 900;
  width: 50px; height: 50px; border-radius: 12px; border: 0;
  background: var(--primary); color: #fff; font-size: 20px; cursor: pointer;
  box-shadow: var(--shadow-red); display: none; align-items: center; justify-content: center;
  transition: var(--transition);
}
.move-top.show { display: flex; animation: pop .4s; }
.move-top:hover { transform: translateY(-4px); }
@keyframes pop { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .7s, transform .7s; }
.reveal.visible { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: .1s; }
.reveal.delay-2 { transition-delay: .2s; }
.reveal.delay-3 { transition-delay: .3s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .product-grid, .app-grid, .cnc-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .advantage-grid, .feature-row, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .about-imgs { max-width: 520px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; right: -100%; width: 78%; max-width: 340px; height: 100vh;
    background: var(--dark-2); flex-direction: column; align-items: flex-start;
    padding: 100px 34px; gap: 8px; transition: right .45s cubic-bezier(.25,.6,.25,1);
    z-index: 990; box-shadow: -20px 0 60px rgba(0,0,0,.4);
  }
  .nav-links.open { right: 0; }
  .nav-link { color: #fff; font-size: 17px; width: 100%; }
  .nav-link::after { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .product-grid, .app-grid, .cnc-grid { grid-template-columns: 1fr; }
  .app-card { height: 200px; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input, .newsletter-form .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 30px 22px; }
}

@media (max-width: 520px) {
  .gallery-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .advantage-cards { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .about-imgs .img-float { position: static; width: 100%; margin-top: 14px; border-width: 0; }
  .badge-float { position: static; margin-bottom: 14px; display: inline-block; }
  .btn { padding: 13px 26px; }
}
