/* =====================================================
   KAANVI INDUSTRIES – WHITE & ORANGE THEME
   ===================================================== */

:root {
  --bg:       #ffffff;
  --steel:    #f5f5f5;
  --card:     #ffffff;
  --border:   #e0e0e0;
  --orange:   #FF6B00;
  --gold:     #e85f00;
  --text:     #1a1a1a;
  --muted:    #666666;
  --white:    #ffffff;
  --dark:     #1a1a1a;
  --green:    #00aa55;
  --font-hd:  'Orbitron', sans-serif;
  --font-ui:  'Rajdhani', sans-serif;
  --font-body:'Inter', sans-serif;
  --glow:     0 4px 24px rgba(255,107,0,0.3), 0 8px 48px rgba(255,107,0,0.12);
  --glow-sm:  0 2px 12px rgba(255,107,0,0.25);
  --shadow:   0 2px 16px rgba(0,0,0,0.08);
  --shadow-md:0 4px 32px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f0f0f0; }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 3px; }

/* ─── UTILITIES ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.accent { color: var(--orange); }
.hidden { display: none !important; }

.section-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--orange);
  border: 1px solid var(--orange);
  padding: 4px 14px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-hd);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--dark);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 600px;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .section-desc { margin: 0 auto; }

/* ─── REVEAL ANIMATIONS ─── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-up    { transform: translateY(50px); }
.reveal-left  { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }

.reveal-up.in,
.reveal-left.in,
.reveal-right.in {
  opacity: 1;
  transform: none;
}

/* ─── LOGO IMAGE ─── */
.logo-img {
  display: block;
  height: 42px;
  width: auto;
  object-fit: contain;
}
/* Default (transparent navbar over hero): show white logo, hide dark logo */
.logo-img--white { display: block; }
.logo-img--dark  { display: none;  }
/* Scrolled (white navbar): show dark logo, hide white logo */
.navbar.scrolled .logo-img--white { display: none;  }
.navbar.scrolled .logo-img--dark  { display: block; }

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.4s ease, padding 0.3s ease, box-shadow 0.4s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { cursor: pointer; display: flex; align-items: center; }
.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s;
}
.navbar.scrolled .nav-links a { color: var(--text); }
.nav-links a:hover { color: var(--orange) !important; }
.nav-cta {
  border: 1px solid rgba(255,255,255,0.7) !important;
  padding: 8px 20px !important;
  color: rgba(255,255,255,0.9) !important;
  transition: all 0.2s !important;
}
.navbar.scrolled .nav-cta {
  border: 1px solid var(--orange) !important;
  color: var(--orange) !important;
}
.nav-cta:hover { background: var(--orange) !important; color: #fff !important; border-color: var(--orange) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: transform 0.3s, opacity 0.3s, background 0.4s;
}
.navbar.scrolled .hamburger span { background: var(--dark); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  height: 100vh;
  min-height: 620px;
  display: flex;
  flex-direction: row;
  overflow: hidden;
  background: #0d0d0d;
}

/* ── Left panel: 3D canvas ── */
.hero-left {
  position: relative;
  width: 44%;
  flex-shrink: 0;
  overflow: hidden;
}

#furnaceCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Soft right-edge veil to blend into the right panel */
.hero-left-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
    transparent 60%,
    rgba(13,13,13,0.55) 82%,
    rgba(13,13,13,0.95) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* ── Right panel: text ── */
.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 100px 72px 60px 64px;
  background: #0d0d0d;
  border-left: 1px solid rgba(255,107,0,0.18);
  position: relative;
  overflow: hidden;
}

/* Subtle orange glow behind the text panel */
.hero-right::before {
  content: '';
  position: absolute;
  top: 30%;
  left: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,107,0,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  width: 100%;
  max-width: 620px;
}

.hero-badge {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--orange);
  border: 1px solid rgba(255,107,0,0.6);
  padding: 6px 20px;
  margin-bottom: 24px;
  display: inline-block;
  background: rgba(255,255,255,0.06);
  opacity: 0;
  animation: fadeSlideDown 0.8s 0.5s forwards;
}

.hero-title {
  font-family: var(--font-hd);
  font-size: clamp(2.6rem, 5.2vw, 5.5rem);
  font-weight: 900;
  line-height: 0.95;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.title-line {
  display: block;
  color: #ffffff;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeSlideUp 0.8s forwards;
}

#titleLine1 { animation-delay: 0.8s; }
#titleLine2 { animation-delay: 1.0s; }
.title-accent { color: var(--orange); text-shadow: var(--glow); }

.hero-tagline {
  font-family: var(--font-ui);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeSlideUp 0.8s 1.3s forwards;
}

.hero-sub {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.05em;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeSlideUp 0.8s 1.5s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeSlideUp 0.8s 1.7s forwards;
}

.btn-primary {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--gold);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.btn-outline {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.7);
  color: #ffffff;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
}
.btn-outline:hover { background: #fff; color: var(--orange); border-color: #fff; transform: translateY(-2px); }

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 52px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s 2.2s forwards;
}
.scroll-indicator span {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.5);
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--orange), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: var(--orange);
  padding: 36px 0;
}
.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-num {
  font-family: var(--font-hd);
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}
.stat-suffix { font-family: var(--font-hd); font-size: 1.4rem; color: #ffffff; }
.stat-label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  margin-top: 4px;
}
.stat-divider { width: 1px; height: 50px; background: rgba(255,255,255,0.3); }

/* ─── ABOUT ─── */
.about { background: var(--bg); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-desc {
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.8;
}
.about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}
.feature-icon { color: var(--orange); font-size: 0.6rem; }

.about-visual { display: flex; justify-content: center; align-items: center; }

.furnace-glow-card {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.glow-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,107,0,0.3);
  animation: ringPulse 3s ease-in-out infinite;
}
.glow-ring::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(255,107,0,0.2);
  animation: ringPulse 3s 0.5s ease-in-out infinite;
}
.glow-ring::after {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,165,0,0.15);
  animation: ringPulse 3s 1s ease-in-out infinite;
}

.glow-core {
  position: relative;
  z-index: 1;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #ff8c00, #FF6B00, #cc3d00);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(255,107,0,0.5), 0 0 80px rgba(255,107,0,0.2);
  overflow: hidden;
}

.molten-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,200,50,0.4) 0%, transparent 70%);
  animation: moltenPulse 2s ease-in-out infinite;
}

.glow-label {
  position: relative;
  font-family: var(--font-hd);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.9);
  text-align: center;
  line-height: 1.4;
}

.glow-stats {
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
}
.gs-item { text-align: center; }
.gs-val {
  font-family: var(--font-hd);
  font-size: 1rem;
  color: var(--orange);
  display: block;
}
.gs-key {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  color: var(--muted);
  letter-spacing: 0.1em;
}

/* ─── PRODUCTS ─── */
.products { background: var(--steel); }
.products-tabs {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-bottom: 48px;
  border: 1px solid var(--border);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background: var(--white);
}
.tab-btn {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 32px;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.3s;
}
.tab-btn.active { background: var(--orange); color: #fff; }
.tab-btn:hover:not(.active) { color: var(--orange); }

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 32px 28px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.3s;
}
.product-card:hover {
  border-color: rgba(255,107,0,0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.product-card:hover::before { transform: scaleX(1); }

.product-icon { width: 56px; height: 56px; margin-bottom: 20px; }
.product-card h3 {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}
.product-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }
.product-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--orange);
  border: 1px solid rgba(255,107,0,0.4);
  padding: 3px 10px;
  margin-top: 14px;
  text-transform: uppercase;
  background: rgba(255,107,0,0.05);
}

/* ─── PROCESS ─── */
.process { background: var(--bg); position: relative; }
.process-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(255,107,0,0.04) 0%, transparent 70%);
  pointer-events: none;
}

.process-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--border) 10%, var(--border) 90%, transparent);
  transform: translateX(-50%);
}

.process-step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
  min-height: 140px;
  align-items: center;
}
.process-step::after {
  content: attr(data-step);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--bg);
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-hd);
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--orange);
  z-index: 2;
}

.step-connector {
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: 1px;
  background: var(--border);
}

.step-content {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 32px 60px 32px 20px;
}
.process-step.reverse .step-content {
  padding: 32px 20px 32px 60px;
  order: 2;
}
.process-step.reverse .step-visual {
  order: 1;
}

.step-num {
  font-family: var(--font-hd);
  font-size: 2rem;
  font-weight: 900;
  color: rgba(255,107,0,0.12);
  line-height: 1;
  min-width: 60px;
}

.step-info h3 {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.step-info p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

.step-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px 20px;
}
.process-step.reverse .step-visual { justify-content: center; }

/* ─── PROCESS IMAGE CARD ─── */
.step-img-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  background: #111;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.step-img-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 40px rgba(255,107,0,0.2);
}

.step-photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
  background: #1a1a1a;
}

/* shown when image file is missing */
.step-photo.img-missing {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a1500 100%);
  position: relative;
}
.step-photo.img-missing::after {
  content: attr(alt);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: rgba(255,107,0,0.5);
  text-align: center;
  padding: 16px;
  letter-spacing: 0.05em;
}

.step-img-card:hover .step-photo {
  transform: scale(1.05);
}

.step-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
  padding: 36px 16px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: #fff;
  text-transform: uppercase;
}

.sil-num {
  background: var(--orange);
  color: #fff;
  font-family: var(--font-hd);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 4px 9px;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  border-radius: 2px;
}

/* ─── INDUSTRIES ─── */
.industries { background: var(--steel); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
  animation-delay: var(--delay, 0s);
  cursor: default;
  box-shadow: var(--shadow);
}
.industry-card:hover {
  border-color: var(--orange);
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(255,107,0,0.12);
}
.industry-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  transition: filter 0.3s;
}
.industry-card:hover .industry-icon { filter: drop-shadow(0 0 6px rgba(255,107,0,0.5)); }
.industry-card h3 {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}
.industry-card p { font-size: 0.8rem; color: var(--muted); line-height: 1.5; }

/* ─── QUALITY ─── */
.quality { background: var(--bg); }
.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.quality-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-bottom: 3px solid var(--orange);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: var(--shadow);
}
.quality-card:hover { transform: translateY(-4px); box-shadow: 0 8px 32px rgba(255,107,0,0.12); }
.quality-num {
  font-family: var(--font-hd);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255,107,0,0.08);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}
.quality-icon { width: 48px; height: 48px; margin-bottom: 16px; }
.quality-card h3 {
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.quality-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.7; }

/* ─── CONTACT ─── */
.contact { background: var(--orange); }
.contact .section-tag {
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.contact .section-title { color: #fff; }
.contact .section-title .accent { color: rgba(255,255,255,0.85); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.contact-desc { color: rgba(255,255,255,0.85); margin-bottom: 36px; line-height: 1.8; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.cd-icon { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.cd-icon svg { stroke: rgba(255,255,255,0.8); }
.cd-label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  display: block;
}
.cd-value { font-size: 0.95rem; color: #fff; }

.contact-form-wrap {
  background: #ffffff;
  border: none;
  padding: 40px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.15);
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: #f8f8f8;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}
.form-group select option { background: #fff; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); background: #fff; }
.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 32px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
  align-self: flex-start;
  width: 100%;
}
.btn-submit svg { width: 18px; height: 18px; }
.btn-submit:hover { background: var(--gold); box-shadow: var(--glow); transform: translateY(-2px); }

.form-note { font-size: 0.78rem; color: var(--muted); text-align: center; }

/* ─── FOOTER ─── */
.footer {
  background: #1a1a1a;
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.85rem; color: #888; line-height: 1.8; margin-top: 16px; }
.footer-logo { margin-bottom: 4px; }
.footer .logo-img { height: 46px; }
.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col li {
  font-size: 0.875rem;
  color: #888;
  transition: color 0.2s;
}
.footer-col a { color: #888; text-decoration: none; transition: color 0.2s; }
.footer-col li:hover, .footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #555;
}

/* ─── TOAST ─── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: #fff;
  border: 1px solid var(--green);
  border-left: 4px solid var(--green);
  color: var(--text);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  max-width: 380px;
  box-shadow: var(--shadow-md);
}
.toast svg { width: 20px; height: 20px; flex-shrink: 0; }
.toast.show { transform: none; opacity: 1; }

/* ─── KEYFRAMES ─── */
@keyframes fadeSlideUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideDown {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { to { opacity: 1; } }
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ringPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}
@keyframes moltenPulse {
  0%, 100% { transform: scale(0.8); opacity: 0.4; }
  50% { transform: scale(1.2); opacity: 0.8; }
}
@keyframes pourDash {
  0% { stroke-dashoffset: 100; opacity: 0.3; }
  100% { stroke-dashoffset: 0; opacity: 1; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .quality-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .process-timeline::before { display: none; }
  .process-step { grid-template-columns: 1fr; min-height: auto; }
  .process-step::after { display: none; }
  .process-step.reverse .step-content { order: 0; padding: 16px 20px; }
  .process-step.reverse .step-visual { order: 1; }
  .step-content { padding: 16px 20px; }
  .step-visual { padding: 8px 20px 24px; }
  .step-img-card { max-width: 100%; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; color: var(--text) !important; }
  .hamburger { display: flex; z-index: 1001; }
  .hero { flex-direction: column; }
  .hero-left { width: 100%; height: 52vh; flex-shrink: 0; }
  .hero-right { flex: none; width: 100%; height: 48vh; padding: 28px 24px 24px; border-left: none; border-top: 1px solid rgba(255,107,0,0.18); overflow-y: auto; }
  .hero-content { max-width: 100%; }
  .hero-title { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .scroll-indicator { left: 50%; transform: translateX(-50%); bottom: 8px; }
  .stats-container { gap: 16px; }
  .stat-divider { display: none; }
  .products-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .quality-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .contact-form-wrap { padding: 24px; }
  .process-step { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .industries-grid { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 100%; text-align: center; }
  .tab-btn { padding: 10px 20px; font-size: 0.8rem; }
}
