/* ============================================================
   Newmatic Engineering — Landing Page Styles
   Brand: NEC | Industrial | Sharp (0–2px radius)
   ============================================================ */

:root {
  --red: #C62127;
  --red-deep: #9E1A1F;
  --charcoal: #1A1A1A;
  --near-white: #F8F8F8;
  --steel: #7A7A7A;
  --white: #ffffff;
  --border: #e4e4e4;
  --radius: 2px;
  --shadow: 0 4px 24px rgba(26, 26, 26, 0.08);
  --shadow-lg: 0 12px 40px rgba(26, 26, 26, 0.14);
  --font-head: 'Outfit', sans-serif;
  --font-tech: 'Space Grotesk', sans-serif;
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--near-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.1; color: var(--charcoal); }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p { color: #444; }

.eyebrow {
  font-family: var(--font-tech);
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-block;
  margin-bottom: 12px;
}

.accent { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
}
.btn-primary { background: var(--red); color: var(--near-white); }
.btn-primary:hover { background: var(--red-deep); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--charcoal); border-color: var(--charcoal); }
.btn-secondary:hover { background: var(--charcoal); color: var(--near-white); }
.btn-light { background: var(--near-white); color: var(--charcoal); }
.btn-light:hover { background: var(--white); transform: translateY(-2px); }
.btn-outline-light { background: transparent; color: var(--near-white); border-color: var(--near-white); }
.btn-outline-light:hover { background: var(--near-white); color: var(--charcoal); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }
.btn-small { padding: 10px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head p { color: var(--steel); margin-top: 12px; }

/* ============================================================
   1. STICKY HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(248, 248, 248, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow); }
.header-logo img { height: 44px; width: auto; }
.header-cta { padding: 10px 22px; font-size: 0.9rem; }

/* ============================================================
   2. HERO (FULL-SCREEN PARALLAX)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background: #0b0b0b;
  color: var(--near-white);
  overflow: hidden;
  isolation: isolate;
  display: grid;
  grid-template-rows: 1fr auto;
  padding: 110px 0 0;
}

/* Background image stack */
.hero-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg {
  position: absolute;
  inset: -8% -4%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #111;
  opacity: 0;
  transform: scale(1.10) translate3d(0, 0, 0);
  transition: opacity 1.4s ease, transform 7s ease-out;
  will-change: opacity, transform;
  filter: saturate(1.05) contrast(1.03);
}
.hero-bg.is-active { opacity: 1; transform: scale(1.02) translate3d(0, 0, 0); }
.hero-bg.is-out    { opacity: 0; transform: scale(1.06) translate3d(0, -12px, 0); }

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.20) 35%, rgba(0,0,0,0.85) 100%),
    linear-gradient(90deg,  rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.30) 50%, rgba(0,0,0,0.55) 100%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/></svg>");
}

/* Foreground content */
.hero-content {
  position: relative;
  z-index: 3;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 0 32px 56px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 18px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(198,33,39,0.15);
  border: 1px solid rgba(198,33,39,0.35);
  color: #ff7a7a;
  padding: 8px 16px;
  border-radius: 2px;
  align-self: flex-start;
  font-size: 0.78rem;
}
.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(198,33,39,0.6);
  animation: metaPulse 1.8s ease-in-out infinite;
}
.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--near-white);
  text-shadow: 0 8px 30px rgba(0,0,0,0.55);
  margin: 0;
  max-width: 980px;
  background: linear-gradient(180deg, #ffffff 0%, #d8d8d8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .accent { color: var(--red); -webkit-text-fill-color: var(--red); }
.hero-sub {
  color: #d6d6d6;
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  max-width: 620px;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
/* Right-side rail */
.hero-rail {
  position: absolute;
  top: 50%;
  right: 28px;
  transform: translateY(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.hero-rail-list { display: flex; flex-direction: column; gap: 12px; list-style: none; padding: 0; margin: 0; }
.hero-rail-list li button {
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.25);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
  display: block;
}
.hero-rail-list li.is-active button { background: var(--red); width: 34px; }
.hero-rail-list li button:hover { background: rgba(255,255,255,0.6); }
.hero-rail-counter {
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: #d6d6d6;
  display: flex;
  gap: 6px;
  align-items: baseline;
}
.hero-rail-counter #heroNow { color: var(--red); }
.hero-rail-sep { color: #555; }

/* Bottom meta strip */
.hero-foot {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 32px;
  border-top: 1px solid rgba(255,255,255,0.10);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(6px);
  font-family: var(--font-tech);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d6d6d6;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
}
.hero-foot-left { display: flex; align-items: center; gap: 16px; min-width: 0; }
.hero-foot-kicker {
  display: inline-block;
  background: var(--red);
  color: var(--near-white);
  padding: 6px 12px;
  border-radius: 2px;
  letter-spacing: 0.18em;
  flex: 0 0 auto;
}
.hero-foot-title {
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-head);
  font-weight: 600;
}
.hero-foot-right { display: flex; gap: 8px; }
.hero-arrow {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.35);
  color: var(--near-white);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); transform: translateY(-1px); }

@keyframes metaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(198,33,39,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(198,33,39,0); }
  100% { box-shadow: 0 0 0 0 rgba(198,33,39,0); }
}

/* Mobile hero */
@media (max-width: 900px) {
  .hero { padding-top: 92px; }
  .hero-rail { right: 14px; gap: 14px; }
  .hero-rail-list li button { width: 18px; }
  .hero-rail-list li.is-active button { width: 26px; }
  .hero-foot { padding: 14px 20px; }
  .hero-foot-title { display: none; }
}
@media (max-width: 720px) {
  .hero-content { padding-bottom: 28px; }
  .hero-rail { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg { transition: opacity 0.4s ease !important; transform: none !important; }
  .hero-eyebrow-dot { animation: none !important; }
}

/* ============================================================
   3. SHOWCASE
   ============================================================ *//* ============================================================
   3. SHOWCASE
   ============================================================ */
.showcase { background: var(--white); }
.showcase-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.show-card { background: var(--near-white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: transform 0.3s, box-shadow 0.3s; }
.show-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.show-media { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.show-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.show-card:hover .show-media img { transform: scale(1.05); }
.show-media .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 56px; height: 56px; border-radius: 50%; background: var(--red); color: var(--near-white);
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem; opacity: 0.9;
}
.show-body { padding: 24px; }
.show-body h3 { margin: 10px 0 8px; }
.show-body p { color: var(--steel); font-size: 0.95rem; margin-bottom: 14px; }
.link-more { font-family: var(--font-tech); font-weight: 500; font-size: 0.85rem; color: var(--red); letter-spacing: 0.05em; }
.link-more:hover { color: var(--red-deep); }

/* ---------- Tags ---------- */
.tag {
  display: inline-block; font-family: var(--font-tech); font-weight: 500; font-size: 0.7rem;
  letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px;
  background: var(--charcoal); color: var(--near-white); border-radius: var(--radius);
}

/* ============================================================
   3.5 ENGINEERING IN ACTION — FULL-BLEED PARALLAX
   ============================================================ */
.parallax {
  background: var(--charcoal);
  color: var(--near-white);
  padding: 120px 0 0;
  position: relative;
  overflow: hidden;
}
.parallax-intro {
  max-width: 760px;
  margin: 0 auto 80px;
  padding: 0 24px;
  text-align: center;
}
.parallax-intro h2 { color: var(--near-white); }
.parallax-intro p { color: #c9c9c9; margin-top: 14px; }

.parallax-track {
  position: relative;
  width: 100%;
}

.px-slide {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.px-bg {
  position: absolute;
  inset: -8% -4%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: scale(1.12);
  z-index: 0;
}

.px-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.85) 100%),
    linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.15) 60%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}

.px-content {
  position: relative;
  z-index: 2;
  max-width: 880px;
  width: 100%;
  padding: 0 32px;
  text-align: center;
  color: var(--near-white);
  will-change: opacity, transform;
  transform: translateY(24px);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.px-slide.is-active .px-content {
  opacity: 1;
  transform: translateY(0);
}

.px-eyebrow {
  background: var(--red);
  color: var(--near-white);
  padding: 6px 14px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  font-size: 0.75rem;
}

.px-title {
  color: var(--near-white);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.45);
}

.px-caption {
  color: #e6e6e6;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
}

/* Scroll progress rail on the right edge */
.px-slide::after {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: var(--red);
  z-index: 3;
  opacity: 0;
  transition: height 0.4s ease, opacity 0.4s ease;
}
.px-slide.is-active::after { height: 80px; opacity: 0.9; }

@media (max-width: 720px) {
  .parallax { padding-top: 80px; }
  .parallax-intro { margin-bottom: 48px; }
  .px-slide { min-height: 560px; }
  .px-bg { inset: -4% 0; }
  .px-slide::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .px-bg { transform: none !important; }
  .px-content { transform: none !important; transition: none !important; }
}

/* ============================================================
   3.5 ENGINEERING IN ACTION — VISUALLY RICH PARALLAX
   ============================================================ */
.parallax {
  background: #0b0b0b;
  color: var(--near-white);
  padding: 140px 0 0;
  position: relative;
  overflow: hidden;
}
.parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 20% 0%, rgba(198,33,39,0.10), transparent 60%),
    radial-gradient(50% 35% at 90% 10%, rgba(198,33,39,0.06), transparent 60%);
  pointer-events: none;
}

.parallax-intro {
  max-width: 820px;
  margin: 0 auto 100px;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.parallax-intro h2 {
  color: var(--near-white);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.015em;
  background: linear-gradient(180deg, #ffffff 0%, #cfcfcf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.parallax-intro p { color: #b9b9b9; margin-top: 16px; font-size: 1.05rem; }

.parallax-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-tech);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  color: #d8d8d8;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
}
.meta-pill-quiet { color: #9a9a9a; }
.meta-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(198,33,39,0.6);
  animation: metaPulse 1.8s ease-in-out infinite;
}
@keyframes metaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(198,33,39,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(198,33,39,0); }
  100% { box-shadow: 0 0 0 0 rgba(198,33,39,0); }
}

.scroll-hint {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 48px;
  color: #9a9a9a;
}
.scroll-hint-label {
  font-family: var(--font-tech);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.scroll-hint-line {
  width: 1px;
  height: 56px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
  position: relative;
  overflow: hidden;
}
.scroll-hint-line::after {
  content: "";
  position: absolute;
  top: -20px; left: 0; right: 0;
  height: 20px;
  background: var(--red);
  animation: scrollHint 2.2s ease-in-out infinite;
}
@keyframes scrollHint {
  0%   { transform: translateY(0); }
  100% { transform: translateY(76px); }
}

.parallax-stage {
  position: relative;
  display: flex;
  align-items: stretch;
}

/* Right-side rail */
.px-rail {
  position: sticky;
  top: 0;
  align-self: flex-start;
  width: 88px;
  flex: 0 0 88px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  z-index: 5;
}
.px-rail-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.px-rail-list li button {
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.22);
  border: 0;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
  display: block;
}
.px-rail-list li.is-active button { background: var(--red); width: 34px; }
.px-rail-list li button:hover { background: rgba(255,255,255,0.55); }

.px-rail-counter {
  font-family: var(--font-tech);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: #cfcfcf;
  display: flex;
  gap: 6px;
  align-items: baseline;
}
.px-rail-counter #pxNow { color: var(--red); }
.px-rail-sep { color: #555; }

.parallax-track {
  position: relative;
  flex: 1 1 auto;
  width: 100%;
}

.px-slide {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  background: #0b0b0b;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.px-bg {
  position: absolute;
  inset: -10% -6%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  transform: scale(1.18) translate3d(0,0,0);
  z-index: 0;
}
.px-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.30) 35%, rgba(0,0,0,0.85) 100%),
    linear-gradient(90deg,  rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.10) 50%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.px-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.9'/></svg>");
}

/* Corner labels */
.px-corner {
  position: absolute;
  z-index: 3;
  color: #d8d8d8;
  font-family: var(--font-tech);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}
.px-corner-tl { top: 28px; left: 32px; }
.px-corner-tr { top: 28px; right: 32px; align-items: flex-end; }
.px-corner-bl { bottom: 28px; left: 32px; }
.px-corner-br { bottom: 28px; right: 32px; align-items: flex-end; }

.px-corner-label { color: #ffffff; font-weight: 600; }
.px-corner-rule { width: 56px; height: 1px; background: rgba(255,255,255,0.35); }
.px-corner-meta { color: #9a9a9a; }
.px-corner-kicker {
  color: var(--near-white);
  background: var(--red);
  padding: 6px 12px;
  border-radius: 2px;
  letter-spacing: 0.18em;
}

.px-chapter-tag {
  display: inline-block;
  color: #ffffff;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 12px;
  border-radius: 2px;
}
.px-counter-mini {
  display: block;
  width: 80px;
  height: 2px;
  background: rgba(255,255,255,0.18);
  margin-top: 4px;
  overflow: hidden;
  position: relative;
}
.px-counter-fill {
  position: absolute;
  inset: 0 100% 0 0;
  background: var(--red);
  transition: right 0.05s linear;
}

/* Centerpiece text */
.px-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  padding: 0 32px;
  text-align: center;
  color: var(--near-white);
  will-change: opacity, transform;
  transform: translateY(28px);
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.px-slide.is-active .px-content { opacity: 1; transform: translateY(0); }

.px-rule {
  width: 56px;
  height: 2px;
  background: var(--red);
  margin: 0 auto 22px;
}

.px-eyebrow {
  background: rgba(198,33,39,0.15);
  color: #ff6b6b;
  border: 1px solid rgba(198,33,39,0.35);
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 22px;
  font-size: 0.74rem;
}

.px-title {
  color: var(--near-white);
  font-size: clamp(2.2rem, 5.6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  text-shadow: 0 6px 30px rgba(0,0,0,0.55);
}

.px-caption {
  color: #e3e3e3;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
}

/* Outro card */
.parallax-outro {
  margin: 100px auto 0;
  max-width: 760px;
  padding: 64px 32px 120px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.parallax-outro h2 {
  color: var(--near-white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin: 8px 0 12px;
}
.parallax-outro p { color: #b9b9b9; margin-bottom: 28px; }
.parallax-outro-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .parallax { padding-top: 100px; }
  .parallax-intro { margin-bottom: 64px; }
  .px-rail { width: 64px; flex-basis: 64px; }
  .px-rail-list { gap: 10px; }
  .px-rail-list li button { width: 18px; }
  .px-rail-list li.is-active button { width: 26px; }
}
@media (max-width: 720px) {
  .parallax { padding-top: 80px; }
  .px-slide { min-height: 580px; }
  .px-bg { inset: -4% 0; }
  .px-corner-tl, .px-corner-tr { top: 18px; }
  .px-corner-bl, .px-corner-br { bottom: 18px; }
  .px-corner-tl, .px-corner-bl { left: 18px; }
  .px-corner-tr, .px-corner-br { right: 18px; }
  .px-corner-rule { display: none; }
  .px-rail { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .px-bg, .px-content { transform: none !important; transition: none !important; }
  .px-content { opacity: 1 !important; }
  .meta-dot, .scroll-hint-line::after { animation: none !important; }
}

/* ============================================================
   3.5 ENGINEERING IN ACTION — RICH PARALLAX
   ============================================================ */
.parallax {
  background: #0b0b0b;
  color: var(--near-white);
  padding: 140px 0 0;
  position: relative;
  overflow: hidden;
}
.parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 40% at 20% 0%, rgba(198,33,39,0.10), transparent 60%),
    radial-gradient(50% 35% at 90% 10%, rgba(198,33,39,0.06), transparent 60%);
  pointer-events: none;
}

.parallax-intro {
  max-width: 820px;
  margin: 0 auto 100px;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 2;
}
.parallax-intro h2 {
  color: var(--near-white);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  letter-spacing: -0.015em;
  background: linear-gradient(180deg, #ffffff 0%, #cfcfcf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.parallax-intro p { color: #b9b9b9; margin-top: 16px; font-size: 1.05rem; }

.parallax-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.meta-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-tech); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px; color: #d8d8d8;
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(6px);
}
.meta-pill-quiet { color: #9a9a9a; }
.meta-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 0 rgba(198,33,39,0.6);
  animation: metaPulse 1.8s ease-in-out infinite;
}
@keyframes metaPulse {
  0%   { box-shadow: 0 0 0 0 rgba(198,33,39,0.6); }
  70%  { box-shadow: 0 0 0 8px rgba(198,33,39,0); }
  100% { box-shadow: 0 0 0 0 rgba(198,33,39,0); }
}

.scroll-hint {
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  margin-top: 48px; color: #9a9a9a;
}
.scroll-hint-label { font-family: var(--font-tech); font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; }
.scroll-hint-line {
  width: 1px; height: 56px;
  background: linear-gradient(180deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
  position: relative; overflow: hidden;
}
.scroll-hint-line::after {
  content: ""; position: absolute; top: -20px; left: 0; right: 0;
  height: 20px; background: var(--red);
  animation: scrollHint 2.2s ease-in-out infinite;
}
@keyframes scrollHint { 0% { transform: translateY(0); } 100% { transform: translateY(76px); } }

.parallax-stage { position: relative; display: flex; align-items: stretch; }

.px-rail {
  position: sticky; top: 0; align-self: flex-start;
  width: 88px; flex: 0 0 88px; height: 100vh;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px;
  z-index: 5;
}
.px-rail-list { display: flex; flex-direction: column; gap: 14px; list-style: none; padding: 0; margin: 0; }
.px-rail-list li button {
  width: 22px; height: 2px;
  background: rgba(255,255,255,0.22); border: 0; padding: 0; cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease; display: block;
}
.px-rail-list li.is-active button { background: var(--red); width: 34px; }
.px-rail-list li button:hover { background: rgba(255,255,255,0.55); }
.px-rail-counter {
  font-family: var(--font-tech); font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.18em; color: #cfcfcf;
  display: flex; gap: 6px; align-items: baseline;
}
.px-rail-counter #pxNow { color: var(--red); }
.px-rail-sep { color: #555; }

.parallax-track { position: relative; flex: 1 1 auto; width: 100%; }

.px-slide {
  position: relative; width: 100%; height: 100vh; min-height: 640px;
  overflow: hidden; background: #0b0b0b;
  display: flex; align-items: center; justify-content: center;
  isolation: isolate;
}

.px-bg {
  position: absolute; inset: -10% -6%;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  background-color: #111;       /* placeholder color while LQIP paints */
  will-change: transform;
  transform: scale(1.18) translate3d(0,0,0);
  z-index: 0;
  filter: saturate(1.05) contrast(1.03);
}
.px-bg.is-loaded { /* hide LQIP blur once real image is in */ }
.px-bg.is-loaded::after { content: none; }

.px-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.30) 35%, rgba(0,0,0,0.85) 100%),
    linear-gradient(90deg,  rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.10) 50%, rgba(0,0,0,0.55) 100%);
}
.px-grain {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.9'/></svg>");
}

.px-corner {
  position: absolute; z-index: 3; color: #d8d8d8;
  font-family: var(--font-tech); font-size: 0.7rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  display: flex; flex-direction: column; gap: 6px; pointer-events: none;
}
.px-corner-tl { top: 28px; left: 32px; }
.px-corner-tr { top: 28px; right: 32px; align-items: flex-end; }
.px-corner-bl { bottom: 28px; left: 32px; }
.px-corner-br { bottom: 28px; right: 32px; align-items: flex-end; }
.px-corner-label { color: #ffffff; font-weight: 600; }
.px-corner-rule { width: 56px; height: 1px; background: rgba(255,255,255,0.35); }
.px-corner-meta { color: #9a9a9a; }
.px-corner-kicker {
  color: var(--near-white); background: var(--red);
  padding: 6px 12px; border-radius: 2px; letter-spacing: 0.18em;
}
.px-chapter-tag {
  display: inline-block; color: #ffffff;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 12px; border-radius: 2px;
}
.px-counter-mini {
  display: block; width: 80px; height: 2px;
  background: rgba(255,255,255,0.18);
  margin-top: 4px; overflow: hidden; position: relative;
}
.px-counter-fill {
  position: absolute; inset: 0 100% 0 0; background: var(--red);
  transition: right 0.05s linear;
}

.px-content {
  position: relative; z-index: 2; max-width: 900px; width: 100%;
  padding: 0 32px; text-align: center; color: var(--near-white);
  will-change: opacity, transform;
  transform: translateY(28px); opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.px-slide.is-active .px-content { opacity: 1; transform: translateY(0); }
.px-rule { width: 56px; height: 2px; background: var(--red); margin: 0 auto 22px; }
.px-eyebrow {
  background: rgba(198,33,39,0.15); color: #ff6b6b;
  border: 1px solid rgba(198,33,39,0.35);
  padding: 6px 14px; border-radius: 2px;
  margin-bottom: 22px; font-size: 0.74rem;
}
.px-title {
  color: var(--near-white);
  font-size: clamp(2.2rem, 5.6vw, 4.2rem);
  font-weight: 800; line-height: 1.02; letter-spacing: -0.02em;
  margin-bottom: 22px;
  text-shadow: 0 6px 30px rgba(0,0,0,0.55);
}
.px-caption {
  color: #e3e3e3;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  line-height: 1.6; max-width: 640px; margin: 0 auto;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
}

.parallax-outro {
  margin: 100px auto 0; max-width: 760px;
  padding: 64px 32px 120px; text-align: center;
  position: relative; z-index: 2;
}
.parallax-outro h2 { color: var(--near-white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin: 8px 0 12px; }
.parallax-outro p { color: #b9b9b9; margin-bottom: 28px; }
.parallax-outro-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .parallax { padding-top: 100px; }
  .parallax-intro { margin-bottom: 64px; }
  .px-rail { width: 64px; flex-basis: 64px; }
  .px-rail-list { gap: 10px; }
  .px-rail-list li button { width: 18px; }
  .px-rail-list li.is-active button { width: 26px; }
}
@media (max-width: 720px) {
  .parallax { padding-top: 80px; }
  .px-slide { min-height: 580px; }
  .px-bg { inset: -4% 0; }
  .px-corner-tl, .px-corner-tr { top: 18px; }
  .px-corner-bl, .px-corner-br { bottom: 18px; }
  .px-corner-tl, .px-corner-bl { left: 18px; }
  .px-corner-tr, .px-corner-br { right: 18px; }
  .px-corner-rule { display: none; }
  .px-rail { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .px-bg, .px-content { transform: none !important; transition: none !important; }
  .px-content { opacity: 1 !important; }
  .meta-dot, .scroll-hint-line::after { animation: none !important; }
}

/* Dynamic factory showcase replaces the old stacked chapter scroll. */
.parallax {
  padding-bottom: 120px;
}
.parallax-intro {
  margin-bottom: 52px;
}
.parallax-stage,
.parallax-outro {
  display: none;
}
.factory-showcase {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  min-height: 560px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.035);
  box-shadow: 0 28px 80px rgba(0,0,0,0.34);
  overflow: hidden;
}
.factory-media {
  position: relative;
  min-height: 560px;
  background: #111;
  overflow: hidden;
}
.factory-media img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.02);
  opacity: 1;
  transition: opacity 0.55s ease, transform 5s ease-out;
}
.factory-media.is-switching img {
  opacity: 0;
  transform: scale(1.08);
}
.factory-media-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.62)),
    linear-gradient(90deg, rgba(0,0,0,0.08), rgba(0,0,0,0.32));
}
.factory-scene-count {
  position: absolute;
  left: 24px;
  bottom: 22px;
  display: inline-flex;
  gap: 7px;
  align-items: baseline;
  font-family: var(--font-tech);
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--near-white);
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 12px;
}
.factory-scene-count span:first-child {
  color: var(--red);
}
.factory-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px;
  background:
    linear-gradient(180deg, rgba(18,18,18,0.98), rgba(8,8,8,0.98)),
    var(--charcoal);
}
.factory-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 48px;
  bottom: 48px;
  width: 3px;
  background: var(--red);
}
.factory-panel .eyebrow {
  width: fit-content;
  color: #ff7377;
  margin-bottom: 18px;
}
.factory-panel h3 {
  color: var(--near-white);
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  line-height: 1.02;
  margin-bottom: 20px;
}
.factory-panel p {
  color: #d5d5d5;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.factory-progress {
  position: relative;
  height: 3px;
  background: rgba(255,255,255,0.16);
  overflow: hidden;
  margin-bottom: 22px;
}
.factory-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  background: var(--red);
}
.factory-progress.is-running span {
  animation: factoryProgress 5s linear forwards;
}
.factory-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.factory-controls button {
  width: 34px;
  height: 3px;
  border: 0;
  background: rgba(255,255,255,0.24);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}
.factory-controls button.is-active {
  width: 48px;
  background: var(--red);
}
.factory-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
@keyframes factoryProgress {
  from { width: 0%; }
  to { width: 100%; }
}
@media (max-width: 900px) {
  .factory-showcase {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .factory-media,
  .factory-media img {
    min-height: 420px;
  }
  .factory-panel {
    padding: 36px 28px;
  }
  .factory-panel::before {
    top: 36px;
    bottom: 36px;
  }
}
@media (max-width: 720px) {
  .parallax {
    padding-bottom: 80px;
  }
  .factory-showcase {
    width: calc(100% - 32px);
  }
  .factory-media,
  .factory-media img {
    min-height: 320px;
  }
  .factory-panel p {
    font-size: 1rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .factory-media img {
    transition: opacity 0.25s ease;
    transform: none !important;
  }
  .factory-progress.is-running span {
    animation: none;
    width: 100%;
  }
}

/* ============================================================
   4. PRODUCTS CAROUSEL
   ============================================================ */
.products { background: var(--near-white); }
.carousel { position: relative; overflow: hidden; padding: 0 32px; }
.carousel-track { display: flex; gap: 24px; transition: transform 0.5s ease; }
.product-card {
  flex: 0 0 280px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px; transition: transform 0.3s, box-shadow 0.3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-img { aspect-ratio: 4/3; overflow: hidden; margin-bottom: 16px; background: var(--near-white); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-card .tag { margin-bottom: 10px; }
.product-card h3 { margin-bottom: 8px; }
.product-card p { font-size: 0.9rem; color: var(--steel); margin-bottom: 16px; }
.carousel-arrow {
  position: absolute; top: 40%; transform: translateY(-50%); z-index: 5;
  background: var(--white); color: var(--charcoal); border: 1px solid var(--border);
  width: 48px; height: 48px; border-radius: 50%; font-size: 1.1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow); transition: all 0.3s;
}
.carousel-arrow:hover { background: var(--red); color: var(--near-white); border-color: var(--red); }
.carousel-arrow.prev { left: 8px; }
.carousel-arrow.next { right: 8px; }

/* ============================================================
   5. CONSULTATION
   ============================================================ */
.consultation { background: var(--charcoal); }
.consultation .section-head h2,
.consultation .eyebrow { color: var(--near-white); }
.consultation .eyebrow { color: var(--red); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.consult-left h2 { color: var(--near-white); margin-bottom: 16px; }
.consult-left p { color: #bbb; margin-bottom: 28px; }
.feature-bullets { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feature-bullets li { font-family: var(--font-tech); color: var(--near-white); font-size: 0.95rem; }

.lead-form { background: var(--near-white); padding: 36px; border-radius: var(--radius); border-top: 4px solid var(--red); }
.lead-form h3 { margin-bottom: 20px; }
.form-row { margin-bottom: 14px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.lead-form input, .lead-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-head); font-size: 0.95rem; color: var(--charcoal); background: var(--white);
}
.lead-form input:focus, .lead-form textarea:focus { outline: none; border-color: var(--red); }
.lead-form textarea { resize: vertical; }
.form-note { margin-top: 12px; font-size: 0.9rem; color: var(--red); font-weight: 600; min-height: 18px; }
.form-hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ============================================================
   6. WHY CHOOSE
   ============================================================ */
.why { background: var(--white); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-card {
  background: var(--near-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 20px; text-align: center; transition: transform 0.3s, border-color 0.3s;
}
.trust-card:hover { transform: translateY(-4px); border-color: var(--red); }
.trust-card .counter { font-size: 2.6rem; font-weight: 800; color: var(--red); line-height: 1; }
.trust-card span { font-size: 1.6rem; color: var(--red); font-weight: 800; }
.trust-card p { margin-top: 8px; font-family: var(--font-tech); font-size: 0.9rem; color: var(--charcoal); font-weight: 500; }
.trust-icon { font-size: 2.4rem; margin-bottom: 8px; }

/* ============================================================
   7. SUCCESS STORIES
   ============================================================ */
.stories { background: var(--near-white); }
.stories-slider { position: relative; max-width: 980px; margin: 0 auto; }
.story-slide {
  display: none; grid-template-columns: 1fr 1fr; gap: 0; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.story-slide.active { display: grid; }
.story-media { aspect-ratio: 4/3; overflow: hidden; }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-body { padding: 36px; }
.story-logo img { height: 40px; margin-bottom: 16px; }
.story-body h3 { margin-bottom: 16px; }
.story-meta { margin-bottom: 16px; }
.story-meta li { font-size: 0.9rem; color: var(--steel); margin-bottom: 4px; }
.story-meta strong { color: var(--charcoal); }
.story-body blockquote { font-style: italic; color: #444; border-left: 3px solid var(--red); padding-left: 16px; margin-bottom: 20px; }
#storyDots { position: static; margin-top: 24px; justify-content: center; }
#storyDots button { background: var(--border); }
#storyDots button.active { background: var(--red); }

/* ============================================================
   8. INDUSTRIES
   ============================================================ */
.industries { background: var(--white); }
.ind-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ind-card {
  background: var(--near-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px 20px; text-align: center; transition: all 0.3s;
}
.ind-card:hover { background: var(--charcoal); color: var(--near-white); transform: translateY(-4px); }
.ind-card span { font-size: 2.4rem; display: block; margin-bottom: 12px; }
.ind-card h3 { color: inherit; font-size: 1rem; }
.ind-card:hover h3 { color: var(--near-white); }

/* ============================================================
   9. MANUFACTURING
   ============================================================ */
.manufacturing { background: var(--charcoal); }
.manufacturing .section-head h2 { color: var(--near-white); }
.mfg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; }
.mfg-media { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: var(--radius); }
.mfg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.mfg-media:hover img { transform: scale(1.05); }
.mfg-label {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 14px 16px;
  background: linear-gradient(transparent, rgba(26,26,26,0.9)); color: var(--near-white);
  font-family: var(--font-tech); font-weight: 500; font-size: 0.85rem; letter-spacing: 0.05em;
}
.mfg-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.mfg-stats > div { padding: 24px; border: 1px solid #333; border-radius: var(--radius); }
.mfg-stats .counter { font-size: 2.4rem; font-weight: 800; color: var(--red); }
.mfg-stats span { font-size: 1.4rem; color: var(--red); font-weight: 800; }
.mfg-stats p { color: #bbb; margin-top: 6px; font-family: var(--font-tech); font-size: 0.85rem; }
.mfg-stats .big-num { font-size: 1.8rem; font-weight: 800; color: var(--red); }

/* ============================================================
   10. INSIGHTS
   ============================================================ */
.insights { background: var(--near-white); }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.insight-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.insight-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--red); }
.insight-card .tag { margin-bottom: 14px; }
.insight-card h3 { margin-bottom: 10px; }
.insight-card p { color: var(--steel); font-size: 0.92rem; margin-bottom: 16px; }

/* ============================================================
   11. CERTIFICATIONS
   ============================================================ */
.certs { background: var(--white); }
.cert-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.cert-card {
  background: var(--near-white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 16px; text-align: center; transition: all 0.3s;
}
.cert-card:hover { border-color: var(--red); transform: translateY(-4px); }
.cert-badge { font-size: 1.8rem; font-weight: 800; color: var(--red); margin-bottom: 8px; font-family: var(--font-tech); }
.cert-card p { font-family: var(--font-tech); font-size: 0.82rem; font-weight: 500; }

/* ============================================================
   12. FINAL CTA
   ============================================================ */
.final-cta {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  color: var(--near-white);
  padding: 90px 0;
  text-align: center;
}
.final-cta h2 { color: var(--near-white); margin-bottom: 16px; }
.final-cta p { color: rgba(248,248,248,0.9); max-width: 600px; margin: 0 auto 36px; font-size: 1.1rem; }
.final-cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   13. FOOTER
   ============================================================ */
.site-footer { background: var(--charcoal); color: #bbb; padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; }
.footer-logo img { height: 48px; margin-bottom: 16px; }
.footer-col p { color: #999; font-size: 0.9rem; }
.footer-col h4 { color: var(--near-white); margin-bottom: 16px; font-size: 1rem; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #999; font-size: 0.9rem; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--red); }
.contact-list li { color: #999; font-size: 0.9rem; margin-bottom: 10px; }
.social-icons { display: flex; gap: 12px; margin-top: 16px; }
.social-icons a {
  width: 36px; height: 36px; border-radius: 50%; background: #333; color: var(--near-white);
  display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 700;
  transition: background 0.3s;
}
.social-icons a:hover { background: var(--red); }
.footer-bottom { border-top: 1px solid #333; padding: 20px 0; text-align: center; }
.footer-bottom p { color: #777; font-size: 0.85rem; }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.float-btn {
  position: fixed; right: 24px; z-index: 900;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
  box-shadow: var(--shadow-lg); transition: transform 0.3s;
}
.float-btn:hover { transform: scale(1.1); }
.float-whatsapp { bottom: 24px; background: #25D366; color: #fff; }
.float-call { bottom: 92px; background: var(--red); color: var(--near-white); display: none; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding: 90px 24px 60px; min-height: auto; }
  .hero-right { height: 50vh; min-height: 320px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .showcase-grid, .insights-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid, .ind-grid, .mfg-grid, .mfg-stats { grid-template-columns: 1fr 1fr; }
  .cert-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .story-slide.active { grid-template-columns: 1fr; }
  .float-call { display: flex; }
}

@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .site-header { padding: 12px 18px; }
  .header-logo img { height: 36px; }
  .header-cta { padding: 8px 16px; font-size: 0.82rem; }
  .showcase-grid, .insights-grid, .trust-grid, .ind-grid, .mfg-grid, .mfg-stats, .cert-grid { grid-template-columns: 1fr; }
  .feature-bullets { grid-template-columns: 1fr; }
  .form-row.two { grid-template-columns: 1fr; }
  .lead-form { padding: 24px; }
  .product-card { flex: 0 0 240px; }
  .final-cta-buttons { flex-direction: column; align-items: center; }
  .final-cta-buttons .btn { width: 100%; max-width: 280px; }
}

/* ============================================================
   LANDING REFRESH — FULL-SCREEN DYNAMIC COMMERCIAL SECTION
   ============================================================ */
.hero,
.parallax,
.factory-showcase {
  letter-spacing: 0;
}

.hero-title,
.parallax-intro h2,
.px-title,
.factory-panel h3 {
  letter-spacing: 0;
}

.hero {
  min-height: 100svh;
  padding: 112px 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 72%, transparent 100%);
  opacity: 0.26;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.66) 0%, rgba(0,0,0,0.22) 42%, rgba(0,0,0,0.90) 100%),
    linear-gradient(90deg,  rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.28) 52%, rgba(0,0,0,0.62) 100%);
}

.hero-bg {
  filter: saturate(1.16) contrast(1.07);
}

.hero-content {
  padding-bottom: clamp(36px, 6vh, 72px);
}

.hero-sub {
  color: #ededed;
}

.hero-foot {
  max-width: none;
  padding-inline: max(32px, calc((100vw - var(--maxw)) / 2 + 32px));
}

.parallax {
  min-height: 100svh;
  padding: clamp(96px, 12vh, 140px) 0 0;
  background:
    linear-gradient(135deg, #080808 0%, #171717 42%, #070707 100%);
}

.parallax::before {
  background:
    linear-gradient(90deg, rgba(198,33,39,0.18) 0 2px, transparent 2px 100%),
    linear-gradient(180deg, rgba(255,255,255,0.07) 0 1px, transparent 1px 100%);
  background-size: 100% 100%, 56px 56px;
  opacity: 0.22;
}

.parallax::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, rgba(198,33,39,0.11) 48%, transparent 100%);
  mix-blend-mode: screen;
  opacity: 0.55;
}

.parallax-intro {
  margin-bottom: 42px;
}

.parallax-intro h2 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  text-transform: uppercase;
}

.meta-pill {
  border-radius: var(--radius);
}

.factory-showcase {
  --showcase-parallax: 0px;
  width: 100%;
  min-height: 100svh;
  margin: 0;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 31vw);
  border-width: 1px 0;
  background: #0b0b0b;
  box-shadow: none;
  transform: translate3d(0, var(--showcase-parallax), 0);
  transition: transform 0.12s linear;
}

.factory-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 90px 90px;
  opacity: 0.18;
  mask-image: linear-gradient(90deg, #000 0%, #000 64%, transparent 96%);
}

.factory-media,
.factory-media img {
  min-height: 100svh;
}

.factory-media img {
  filter: saturate(1.15) contrast(1.08);
  transform: scale(1.055);
  transition: opacity 0.55s ease, transform 6s ease-out;
}

.factory-media-overlay {
  background:
    linear-gradient(180deg, rgba(0,0,0,0.04), rgba(0,0,0,0.74)),
    linear-gradient(90deg, rgba(0,0,0,0.10), rgba(0,0,0,0.48));
}

.factory-scene-count {
  left: max(24px, calc((100vw - var(--maxw)) / 2 + 24px));
  bottom: clamp(24px, 5vh, 56px);
  border-radius: var(--radius);
}

.factory-panel {
  min-height: 100svh;
  padding: clamp(36px, 5vw, 64px);
  border-left: 1px solid rgba(255,255,255,0.14);
}

.factory-panel::after {
  content: "NEC";
  position: absolute;
  right: 30px;
  top: 26px;
  font-family: var(--font-tech);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.22);
}

.factory-panel h3 {
  font-size: clamp(2.2rem, 4.4vw, 4rem);
}

.factory-progress.is-running span {
  animation-duration: 6s;
}

.factory-controls button,
.hero-rail-list li button,
.px-rail-list li button {
  border-radius: 0;
}

@media (max-width: 980px) {
  .hero {
    min-height: 100svh;
    padding: 96px 0 0;
  }

  .factory-showcase {
    grid-template-columns: 1fr;
  }

  .factory-media,
  .factory-media img {
    min-height: 62svh;
  }

  .factory-panel {
    min-height: auto;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.14);
  }
}

@media (max-width: 600px) {
  .hero-content {
    padding-inline: 20px;
  }

  .factory-media,
  .factory-media img {
    min-height: 56svh;
  }

  .factory-panel {
    padding: 34px 24px 40px;
  }
}

/* Liquidmorphism refresh */
:root {
  --radius: 8px;
  --liquid-surface: rgba(255, 255, 255, 0.18);
  --liquid-surface-strong: rgba(255, 255, 255, 0.26);
  --liquid-dark: rgba(10, 10, 10, 0.44);
  --liquid-dark-strong: rgba(10, 10, 10, 0.58);
  --liquid-border: rgba(255, 255, 255, 0.28);
  --liquid-border-dark: rgba(255, 255, 255, 0.16);
  --liquid-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

body {
  background:
    linear-gradient(115deg, rgba(248,248,248,0.96), rgba(238,241,244,0.96)),
    var(--near-white);
}

.site-header {
  width: min(1180px, calc(100% - 32px));
  top: 16px;
  margin: 16px auto 0;
  left: auto;
  right: auto;
  transform: none;
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.62);
  box-shadow: 0 18px 60px rgba(0,0,0,0.12);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.78);
  border-color: rgba(255,255,255,0.72);
}

.hero-overlay {
  background: rgba(0,0,0,0.08);
  backdrop-filter: saturate(1.08);
  -webkit-backdrop-filter: saturate(1.08);
}

.hero::before {
  opacity: 0.11;
}

.hero-content {
  width: min(760px, calc(100% - 48px));
  max-width: 760px;
  align-self: center;
  margin: 0 auto 0 30mm;
  padding: clamp(24px, 4vw, 42px);
  gap: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.24);
  border-radius: calc(var(--radius) + 6px);
  background:
    radial-gradient(circle at 14% 0%, rgba(255,255,255,0.34), transparent 28%),
    radial-gradient(circle at 100% 18%, rgba(198,33,39,0.20), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,0.20), rgba(255,255,255,0.07) 44%, rgba(10,10,10,0.38)),
    rgba(18,18,18,0.46);
  box-shadow:
    0 28px 90px rgba(0,0,0,0.30),
    inset 0 1px 0 rgba(255,255,255,0.34),
    inset 0 -18px 44px rgba(0,0,0,0.18);
  backdrop-filter: blur(30px) saturate(1.55) contrast(1.06);
  -webkit-backdrop-filter: blur(30px) saturate(1.55) contrast(1.06);
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 0;
  border-radius: calc(var(--radius) + 5px);
  pointer-events: none;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.20), transparent 38%),
    linear-gradient(315deg, rgba(198,33,39,0.16), transparent 42%);
}

.hero-content::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 12px;
  height: 1px;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.56), transparent);
}

.hero-content > * {
  position: relative;
  z-index: 1;
}

.hero-eyebrow,
.meta-pill,
.tag {
  border-radius: var(--radius);
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.28);
  backdrop-filter: blur(16px) saturate(1.35);
  -webkit-backdrop-filter: blur(16px) saturate(1.35);
}

.hero-title {
  font-size: clamp(2.35rem, 5.4vw, 4.55rem);
  text-shadow: none;
}

.hero-sub {
  max-width: 620px;
  text-shadow: none;
}

.hero-foot {
  position: absolute;
  width: min(1180px, calc(100% - 48px));
  left: 50%;
  right: auto;
  bottom: 20px;
  transform: translateX(-50%);
  padding: 14px 16px 14px 20px;
  border: 1px solid var(--liquid-border-dark);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.07)),
    rgba(8,8,8,0.46);
  box-shadow: 0 18px 60px rgba(0,0,0,0.22);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.hero-rail {
  padding: 14px 10px;
  border: 1px solid var(--liquid-border-dark);
  border-radius: var(--radius);
  background: rgba(8,8,8,0.36);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
}

.section:not(.parallax),
.consultation,
.why,
.stories,
.industries,
.manufacturing,
.insights,
.certifications {
  background: transparent;
}

.section-head,
.consult-left,
.lead-form,
.product-card,
.trust-card,
.story-slide.active,
.ind-card,
.mfg-text,
.mfg-stats > div,
.insight-card,
.cert-card,
.footer-grid,
.factory-showcase,
.factory-panel,
.factory-scene-count {
  border: 1px solid rgba(255,255,255,0.48);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--liquid-surface-strong), rgba(255,255,255,0.10)),
    rgba(255,255,255,0.42);
  box-shadow: 0 20px 60px rgba(26,26,26,0.10), inset 0 1px 0 rgba(255,255,255,0.42);
  backdrop-filter: blur(20px) saturate(1.25);
  -webkit-backdrop-filter: blur(20px) saturate(1.25);
}

.section-head {
  padding: 28px;
}

.product-card,
.trust-card,
.ind-card,
.insight-card,
.cert-card,
.lead-form {
  overflow: hidden;
}

.factory-media-overlay {
  background: rgba(0,0,0,0.08);
}

.factory-showcase {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05)),
    rgba(12,12,12,0.34);
  border-color: var(--liquid-border-dark);
}

.factory-panel {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06)),
    var(--liquid-dark-strong);
  border-color: var(--liquid-border-dark);
}

.factory-scene-count {
  color: var(--near-white);
  background: rgba(8,8,8,0.44);
  border-color: var(--liquid-border-dark);
}

.consult-left,
.mfg-text,
.story-body {
  padding: clamp(24px, 4vw, 38px);
}

input,
textarea {
  border-radius: var(--radius);
  background: rgba(255,255,255,0.72);
  border-color: rgba(255,255,255,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn {
  border-radius: var(--radius);
}

.btn-light,
.btn-secondary,
.btn-outline-light {
  background: rgba(255,255,255,0.36);
  border-color: rgba(255,255,255,0.36);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
}

@media (max-width: 980px) {
  .hero-content {
    margin: 0 auto;
  }

  .hero-foot {
    width: min(100% - 32px, 760px);
  }
}

@media (max-width: 600px) {
  .site-header {
    width: calc(100% - 24px);
    top: 12px;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding: 22px;
    margin: 0 auto 116px;
  }

  .hero-foot {
    width: calc(100% - 32px);
    bottom: 16px;
  }

  .section-head {
    padding: 22px;
  }
}

/* Modern section enhancement layer. Keeps the dynamic hero untouched except card offset above. */
.products,
.why,
.stories,
.industries,
.insights,
.certs {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(198,33,39,0.08), transparent 28%),
    radial-gradient(circle at 88% 0%, rgba(26,26,26,0.08), transparent 30%),
    linear-gradient(135deg, #fbfbfb 0%, #eef1f4 48%, #f8f8f8 100%);
}

.consultation,
.manufacturing,
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 6%, rgba(198,33,39,0.20), transparent 30%),
    radial-gradient(circle at 86% 14%, rgba(255,255,255,0.10), transparent 26%),
    linear-gradient(135deg, #111111 0%, #1a1a1a 48%, #0b0b0b 100%);
}

.products::before,
.why::before,
.stories::before,
.industries::before,
.manufacturing::before,
.insights::before,
.certs::before,
.consultation::before,
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(198,33,39,0.08) 1px, transparent 1px),
    linear-gradient(180deg, rgba(26,26,26,0.045) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  opacity: 0.34;
}

.products > *,
.why > *,
.stories > *,
.industries > *,
.manufacturing > *,
.insights > *,
.certs > *,
.consultation > *,
.site-footer > * {
  position: relative;
  z-index: 1;
}

.products .section-head,
.why .section-head,
.stories .section-head,
.industries .section-head,
.insights .section-head,
.certs .section-head {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.74), rgba(255,255,255,0.42)),
    rgba(255,255,255,0.54);
  border-color: rgba(255,255,255,0.76);
}

.products .section-head h2,
.why .section-head h2,
.stories .section-head h2,
.industries .section-head h2,
.insights .section-head h2,
.certs .section-head h2,
.product-card h3,
.trust-card p,
.story-body h3,
.story-meta strong,
.ind-card h3,
.insight-card h3,
.cert-card p {
  color: var(--charcoal);
}

.products .section-head p,
.insights .section-head p,
.product-card p,
.story-meta li,
.insight-card p {
  color: #4a4f55;
}

.consultation .section-head,
.manufacturing .section-head {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05)),
    rgba(10,10,10,0.28);
  border-color: rgba(255,255,255,0.16);
}

.consultation .section-head h2,
.manufacturing .section-head h2,
.consult-left h2,
.manufacturing h2 {
  color: var(--near-white);
}

.consult-left p,
.manufacturing .section-head p,
.mfg-stats p {
  color: #d7dbe0;
}

.product-card,
.trust-card,
.story-slide.active,
.ind-card,
.insight-card,
.cert-card,
.lead-form,
.consult-left,
.mfg-stats > div {
  position: relative;
  border-color: rgba(255,255,255,0.72);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.82), rgba(255,255,255,0.48)),
    rgba(255,255,255,0.58);
  box-shadow: 0 24px 70px rgba(26,26,26,0.12), inset 0 1px 0 rgba(255,255,255,0.70);
}

.product-card::before,
.trust-card::before,
.ind-card::before,
.insight-card::before,
.cert-card::before,
.lead-form::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0.72;
}

.product-card:hover,
.trust-card:hover,
.ind-card:hover,
.insight-card:hover,
.cert-card:hover {
  transform: translateY(-7px);
  border-color: rgba(198,33,39,0.45);
  box-shadow: 0 30px 85px rgba(26,26,26,0.18), 0 0 0 1px rgba(198,33,39,0.08);
}

.product-img,
.story-media,
.mfg-media {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}

.carousel-arrow,
#storyDots button,
.social-icons a {
  backdrop-filter: blur(14px) saturate(1.25);
  -webkit-backdrop-filter: blur(14px) saturate(1.25);
}

.consult-left,
.lead-form,
.mfg-stats > div {
  border-color: rgba(255,255,255,0.18);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06)),
    rgba(10,10,10,0.36);
  box-shadow: 0 24px 70px rgba(0,0,0,0.22), inset 0 1px 0 rgba(255,255,255,0.16);
}

.lead-form h3,
.lead-form input,
.lead-form textarea {
  color: var(--charcoal);
}

.lead-form h3 {
  color: var(--near-white);
}

.feature-bullets li {
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.08);
  color: #f3f4f6;
}

.mfg-label {
  background:
    linear-gradient(180deg, transparent, rgba(0,0,0,0.78)),
    linear-gradient(90deg, rgba(198,33,39,0.28), transparent);
}

.mfg-stats .counter,
.mfg-stats span,
.mfg-stats .big-num,
.trust-card .counter,
.trust-card span,
.cert-badge {
  color: var(--red);
}

.final-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.22), transparent 26%),
    linear-gradient(135deg, var(--red) 0%, var(--red-deep) 46%, #1a1a1a 100%);
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.22;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.site-footer {
  color: #eef1f4;
}

.site-footer .footer-grid {
  border-color: rgba(255,255,255,0.16);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04)),
    rgba(10,10,10,0.38);
}

.footer-col p,
.footer-col ul li a,
.contact-list li,
.contact-list li a {
  color: #d8dde3;
}

.footer-col h4 {
  color: #ffffff;
}

.footer-col ul li a:hover,
.contact-list li a:hover {
  color: #ff7377;
}

.footer-bottom {
  border-top-color: rgba(255,255,255,0.14);
}

.footer-bottom p {
  color: #c7ccd2;
}

@media (max-width: 980px) {
  .hero-content {
    margin-left: auto;
  }
}

@media (max-width: 600px) {
  .product-card::before,
  .trust-card::before,
  .ind-card::before,
  .insight-card::before,
  .cert-card::before,
  .lead-form::before {
    left: 14px;
    right: 14px;
  }
}

/* Footer alignment and NEC abstract elements for light sections */
.products::after,
.why::after,
.stories::after,
.industries::after,
.insights::after,
.certs::after {
  content: "";
  position: absolute;
  inset: 34px max(24px, calc((100vw - var(--maxw)) / 2)) auto auto;
  width: min(34vw, 420px);
  aspect-ratio: 1;
  pointer-events: none;
  opacity: 0.42;
  background:
    linear-gradient(135deg, transparent 0 35%, rgba(198,33,39,0.16) 35% 38%, transparent 38% 100%),
    linear-gradient(45deg, transparent 0 57%, rgba(26,26,26,0.12) 57% 60%, transparent 60% 100%),
    radial-gradient(circle at 72% 28%, rgba(198,33,39,0.12), transparent 0 9%, transparent 10%),
    radial-gradient(circle at 28% 72%, rgba(26,26,26,0.10), transparent 0 8%, transparent 9%);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}

.why::after,
.industries::after,
.certs::after {
  inset: auto auto 42px max(24px, calc((100vw - var(--maxw)) / 2));
  transform: rotate(180deg);
}

.site-footer {
  padding-top: 72px;
}

.site-footer .footer-grid {
  align-items: stretch;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.7fr) minmax(280px, 1fr);
  gap: 28px;
  padding: 30px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 0;
  padding: 8px 0;
}

.footer-col:not(:first-child) {
  padding-left: 28px;
  border-left: 1px solid rgba(255,255,255,0.14);
}

.footer-logo {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
}

.footer-logo img {
  margin-bottom: 0;
}

.footer-col p {
  max-width: 48ch;
  margin: 0;
  line-height: 1.75;
}

.footer-col h4 {
  min-height: 48px;
  display: flex;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col ul {
  display: grid;
  gap: 10px;
}

.footer-col ul li,
.contact-list li {
  margin-bottom: 0;
  line-height: 1.55;
}

.footer-col ul li a,
.contact-list li,
.contact-list li a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
}

.social-icons {
  margin-top: auto;
  padding-top: 20px;
}

.footer-bottom {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .footer-col:not(:first-child) {
    padding-left: 0;
    padding-top: 24px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.14);
  }

  .footer-col h4 {
    min-height: auto;
  }
}

@media (max-width: 600px) {
  .products::after,
  .why::after,
  .stories::after,
  .industries::after,
  .insights::after,
  .certs::after {
    width: 72vw;
    opacity: 0.25;
  }
}

/* Full-section smoky wave abstracts for NEC light backgrounds */
.products,
.why,
.stories,
.industries,
.insights,
.certs {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.94) 0%, rgba(238,241,244,0.90) 52%, rgba(248,248,248,0.96) 100%);
}

.products::before,
.why::before,
.stories::before,
.industries::before,
.insights::before,
.certs::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.64;
  mix-blend-mode: multiply;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'%3E%3Cfilter id='soft'%3E%3CfeGaussianBlur stdDeviation='18'/%3E%3C/filter%3E%3Cg fill='none' stroke-linecap='round' filter='url(%23soft)'%3E%3Cpath d='M-120 230 C 160 80 300 370 560 220 S 980 80 1220 260 1500 490 1720 250' stroke='%23C62127' stroke-opacity='.20' stroke-width='54'/%3E%3Cpath d='M-160 470 C 120 290 320 650 610 470 S 1040 250 1280 490 1510 720 1760 480' stroke='%231A1A1A' stroke-opacity='.13' stroke-width='70'/%3E%3Cpath d='M-140 690 C 180 520 360 830 650 660 S 1040 520 1320 700 1510 860 1740 670' stroke='%23C62127' stroke-opacity='.14' stroke-width='46'/%3E%3C/g%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M-100 250 C 170 105 330 330 570 245 S 970 130 1220 290 1490 455 1700 290' stroke='%23C62127' stroke-opacity='.12' stroke-width='2'/%3E%3Cpath d='M-90 520 C 190 365 380 610 650 520 S 1020 370 1300 535 1500 700 1710 535' stroke='%231A1A1A' stroke-opacity='.10' stroke-width='2'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(90deg, rgba(198,33,39,0.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(26,26,26,0.035) 1px, transparent 1px);
  background-size: 100% 100%, 96px 96px, 96px 96px;
  background-position: center, center, center;
  mask-image: none;
}

.products::after,
.why::after,
.stories::after,
.industries::after,
.insights::after,
.certs::after {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  pointer-events: none;
  opacity: 0.48;
  transform: none;
  clip-path: none;
  mix-blend-mode: multiply;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 900' preserveAspectRatio='none'%3E%3Cfilter id='smoke'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.010 .026' numOctaves='2' seed='7'/%3E%3CfeDisplacementMap in='SourceGraphic' scale='58'/%3E%3CfeGaussianBlur stdDeviation='10'/%3E%3C/filter%3E%3Cg filter='url(%23smoke)' fill='none' stroke-linecap='round'%3E%3Cpath d='M-180 150 C 260 330 360 30 720 180 S 1110 390 1780 140' stroke='%23C62127' stroke-opacity='.12' stroke-width='34'/%3E%3Cpath d='M-180 390 C 250 570 420 230 760 395 S 1150 640 1780 360' stroke='%237A7A7A' stroke-opacity='.18' stroke-width='48'/%3E%3Cpath d='M-180 760 C 240 560 420 850 800 710 S 1200 520 1780 720' stroke='%23C62127' stroke-opacity='.10' stroke-width='42'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 115% 115%;
  background-position: center;
}

.why::after,
.industries::after,
.certs::after {
  transform: none;
}

@media (max-width: 600px) {
  .products::before,
  .why::before,
  .stories::before,
  .industries::before,
  .insights::before,
  .certs::before {
    opacity: 0.46;
    background-size: 180% 100%, 80px 80px, 80px 80px;
  }

  .products::after,
  .why::after,
  .stories::after,
  .industries::after,
  .insights::after,
  .certs::after {
    width: auto;
    opacity: 0.34;
    background-size: 210% 120%;
  }
}

/* Next.js responsive hardening: desktop, tablet, mobile */
html,
body {
  width: 100%;
}

body {
  -webkit-text-size-adjust: 100%;
}

body,
.hero,
.section,
.site-footer,
.final-cta {
  overflow-x: clip;
}

.container,
.hero-content,
.section-head,
.product-card,
.trust-card,
.story-body,
.ind-card,
.insight-card,
.cert-card,
.lead-form,
.footer-col {
  min-width: 0;
}

.hero-title,
.section-head h2,
.consult-left h2,
.final-cta h2,
.product-card h3,
.story-body h3,
.ind-card h3,
.insight-card h3,
.footer-col h4,
.footer-col p,
.contact-list li {
  overflow-wrap: anywhere;
}

.carousel {
  touch-action: pan-y;
}

.carousel-track {
  cursor: grab;
  user-select: none;
  will-change: transform;
}

.carousel-track:active {
  cursor: grabbing;
}

@media (min-width: 1200px) {
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    max-width: min(760px, calc(100vw - 60mm));
  }
}

@media (max-width: 1180px) {
  .site-header {
    width: calc(100% - 32px);
  }

  .hero-content {
    width: min(720px, calc(100% - 48px));
    margin-left: 24px;
  }

  .hero-rail {
    right: 18px;
  }

  .carousel {
    padding-inline: 24px;
  }
}

@media (max-width: 980px) {
  .section {
    padding: 76px 0;
  }

  .hero {
    min-height: 100svh;
    padding-top: 104px;
  }

  .hero-content {
    width: min(680px, calc(100% - 48px));
    margin-inline: auto;
    margin-bottom: 96px;
  }

  .hero-title {
    font-size: clamp(2.25rem, 8vw, 4rem);
  }

  .hero-foot {
    width: calc(100% - 40px);
  }

  .two-col,
  .story-slide.active {
    grid-template-columns: 1fr;
  }

  .story-media {
    aspect-ratio: 16 / 9;
  }

  .trust-grid,
  .ind-grid,
  .mfg-grid,
  .mfg-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insights-grid,
  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .site-header {
    width: calc(100% - 24px);
    padding: 10px 12px;
    gap: 10px;
  }

  .header-logo img {
    height: 32px;
  }

  .header-cta {
    flex: 0 1 auto;
    padding: 8px 10px;
    font-size: 0.72rem;
    line-height: 1.15;
  }

  .hero {
    min-height: 100svh;
    padding-top: 82px;
  }

  .hero-content {
    width: calc(100% - 28px);
    padding: 20px;
    gap: 12px;
    margin: auto auto 104px;
  }

  .hero-title {
    font-size: clamp(2rem, 11vw, 3.2rem);
    line-height: 1.02;
  }

  .hero-sub {
    font-size: 0.98rem;
    line-height: 1.55;
  }

  .hero-cta {
    gap: 10px;
  }

  .hero-cta .btn {
    flex: 1 1 150px;
    padding: 11px 14px;
  }

  .hero-rail {
    display: none;
  }

  .hero-foot {
    width: calc(100% - 28px);
    bottom: 14px;
    gap: 12px;
    padding: 12px;
  }

  .hero-foot-left {
    gap: 10px;
  }

  .hero-foot-kicker {
    padding: 5px 9px;
  }

  .hero-arrow {
    width: 34px;
    height: 34px;
  }

  .container {
    padding-inline: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    margin-bottom: 34px;
  }

  .section-head h2 {
    font-size: clamp(1.65rem, 8vw, 2.35rem);
  }

  .carousel {
    padding-inline: 14px;
  }

  .product-card {
    flex-basis: min(78vw, 280px);
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .form-row.two,
  .trust-grid,
  .ind-grid,
  .mfg-grid,
  .mfg-stats,
  .insights-grid,
  .cert-grid {
    grid-template-columns: 1fr;
  }

  .feature-bullets {
    grid-template-columns: 1fr;
  }

  .lead-form,
  .consult-left,
  .story-body {
    padding: 24px;
  }

  .mfg-media {
    aspect-ratio: 4 / 3;
  }

  .final-cta {
    padding: 68px 0;
  }

  .final-cta-buttons .btn {
    width: min(100%, 300px);
  }
}

@media (max-width: 420px) {
  .site-header {
    align-items: center;
  }

  .header-logo img {
    height: 28px;
  }

  .header-cta {
    max-width: 132px;
  }

  .hero-content {
    width: calc(100% - 20px);
    padding: 18px;
  }

  .hero-title {
    font-size: clamp(1.72rem, 10.5vw, 2.55rem);
  }

  .hero-eyebrow {
    font-size: 0.66rem;
    padding: 7px 10px;
  }

  .hero-foot {
    width: calc(100% - 20px);
  }

  .hero-foot-kicker {
    font-size: 0.68rem;
  }

  .btn {
    padding-inline: 16px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }
}
