/* ============================================================
   DOST STEELS LIMITED — Industrial Brand Showcase
   One typeface: "Saira" (industrial grotesque)
   Palette: gunmetal / steel silver / deep navy / industrial orange
   ============================================================ */

:root {
  /* Core palette */
  --gunmetal:      #15181c;
  --gunmetal-2:    #1d2127;
  --gunmetal-3:    #262b33;
  --steel:         #c9ced4;
  --steel-dim:     #8a929c;
  --steel-line:    #3a414b;
  --navy:          #0a1626;
  --navy-2:        #0e2036;
  --navy-deep:     #060d18;
  --orange:        #ff6a00;
  --orange-2:      #ff8a2b;
  --orange-glow:   rgba(255, 106, 0, 0.45);
  --white:         #f3f5f7;

  --maxw: 1320px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  --blueprint: rgba(120, 160, 210, 0.10);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Saira", system-ui, sans-serif;
  background: var(--gunmetal);
  color: var(--steel);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  letter-spacing: 0.01em;
}

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

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

/* Scrollbar */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: var(--steel-line); border: 2px solid var(--navy-deep); }
::-webkit-scrollbar-thumb:hover { background: var(--orange); }

/* ---------- Shared structural helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--orange);
}
.eyebrow::before {
  content: ""; width: 38px; height: 2px; background: var(--orange);
}
.eyebrow.center::after {
  content: ""; width: 38px; height: 2px; background: var(--orange);
}

h1, h2, h3, h4 {
  font-weight: 700; line-height: 1.02; color: var(--white);
  letter-spacing: -0.01em; text-transform: uppercase;
}

.section-title {
  font-size: clamp(2.2rem, 5.2vw, 4.6rem);
  font-weight: 800;
  margin: 18px 0 0;
}
.section-title em { color: var(--orange); font-style: normal; }

.lead { color: var(--steel-dim); font-size: 1.08rem; max-width: 60ch; }

/* Index number tag */
.idx {
  font-family: "Saira", sans-serif;
  font-weight: 700; font-size: 13px; letter-spacing: 0.3em;
  color: var(--steel-line);
}

/* Blueprint grid background utility */
.blueprint-bg {
  background-image:
    linear-gradient(var(--blueprint) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint) 1px, transparent 1px);
  background-size: 46px 46px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center;
  height: 78px;
  background: rgba(10, 14, 20, 0.0);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), height .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(8, 11, 16, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--steel-line);
  height: 66px;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark {
  width: 40px; height: 40px; flex: none; position: relative;
  background: var(--orange);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  display: grid; place-items: center;
}
.brand-mark span {
  font-weight: 800; font-size: 18px; color: var(--navy-deep);
}
.brand-text b {
  display: block; color: var(--white); font-weight: 800;
  font-size: 18px; letter-spacing: 0.16em; line-height: 1;
}
.brand-text small {
  display: block; color: var(--steel-dim); font-size: 10px;
  letter-spacing: 0.46em; font-weight: 500; margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 13px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--steel);
  position: relative; padding: 6px 0; transition: color .25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--orange); transition: width .3s var(--ease);
}
.nav a:hover { color: var(--white); }
.nav a:hover::after { width: 100%; }
.nav a.cta {
  background: var(--orange); color: var(--navy-deep);
  padding: 11px 20px; font-weight: 700;
}
.nav a.cta::after { display: none; }
.nav a.cta:hover { background: var(--orange-2); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--steel-line);
  width: 46px; height: 42px; cursor: pointer; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 50%; transform: translateX(-50%);
  width: 22px; height: 2px; background: var(--white); transition: .3s;
}
.nav-toggle span { top: 50%; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.35) contrast(1.05) brightness(0.55);
  transform: scale(1.08);
  animation: slowZoom 22s ease-in-out infinite alternate;
}
@keyframes slowZoom { to { transform: scale(1.0); } }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(6,13,24,0.55) 0%, rgba(6,13,24,0.25) 35%, rgba(6,13,24,0.92) 100%),
    linear-gradient(90deg, rgba(6,13,24,0.85) 0%, transparent 55%);
}

/* molten ember particles */
.embers { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ember {
  position: absolute; bottom: -10px; width: 3px; height: 3px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 8px 2px var(--orange-glow);
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(0) scale(1); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.8; }
  100% { transform: translateY(-105vh) scale(0.2); opacity: 0; }
}

.hero-grid {
  position: absolute; inset: 0; z-index: 1; opacity: 0.5;
  background-image:
    linear-gradient(var(--blueprint) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(180deg, transparent, #000 60%);
}

.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 70px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  border: 1px solid var(--steel-line); padding: 8px 16px;
  font-size: 12px; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 30px;
  background: rgba(10,14,20,0.4); backdrop-filter: blur(4px);
}
.hero-tag b { color: var(--orange); font-weight: 700; }
.hero h1 {
  font-size: clamp(3rem, 9.5vw, 9rem);
  font-weight: 800; line-height: 0.92;
  letter-spacing: -0.02em;
}
.hero h1 .line2 { color: var(--orange); display: block; }
.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--steel-dim);
  display: block;
}
.hero-sub {
  margin-top: 28px; max-width: 56ch; font-size: 1.12rem; color: var(--steel);
}
.hero-actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 28px; font-weight: 700; font-size: 14px;
  letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
  border: none; transition: .3s var(--ease); position: relative;
}
.btn-primary { background: var(--orange); color: var(--navy-deep); }
.btn-primary:hover { background: var(--orange-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--steel-line); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

/* hero stat strip */
.hero-stats {
  position: relative; z-index: 2;
  border-top: 1px solid var(--steel-line);
  background: linear-gradient(180deg, rgba(6,13,24,0.0), rgba(6,13,24,0.85));
}
.hero-stats .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hstat { padding: 26px 0; border-left: 1px solid var(--steel-line); padding-left: 24px; }
.hstat:first-child { border-left: none; padding-left: 0; }
.hstat b { display: block; font-size: clamp(1.8rem, 3.4vw, 2.8rem); color: var(--white); font-weight: 800; line-height: 1; }
.hstat b i { color: var(--orange); font-style: normal; }
.hstat span { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel-dim); }

/* ============================================================
   GENERIC SECTION FRAME
   ============================================================ */
section { position: relative; }
.section-pad { padding: clamp(80px, 11vw, 150px) 0; }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }

/* divider with measurement ticks */
.measure-line {
  height: 26px; width: 100%; position: relative;
  background-image: repeating-linear-gradient(90deg, var(--steel-line) 0 1px, transparent 1px 40px);
  opacity: 0.6;
}
.measure-line::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 13px; width: 100%;
  background-image: repeating-linear-gradient(90deg, var(--steel-line) 0 1px, transparent 1px 200px);
}

/* ============================================================
   01 — STEEL PRODUCTION
   ============================================================ */
.production { background: var(--gunmetal-2); }
.production .grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center;
  margin-top: 60px;
}
.prod-figure { position: relative; }
.prod-figure .frame {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  border: 1px solid var(--steel-line);
}
.prod-figure img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.08) saturate(1.05); transition: transform 1.2s var(--ease); }
.prod-figure:hover img { transform: scale(1.05); }
.prod-figure .corner {
  position: absolute; width: 26px; height: 26px; border: 2px solid var(--orange); z-index: 2;
}
.prod-figure .corner.tl { top: 14px; left: 14px; border-right: none; border-bottom: none; }
.prod-figure .corner.br { bottom: 14px; right: 14px; border-left: none; border-top: none; }
.prod-figure .badge {
  position: absolute; left: -1px; bottom: 30px; z-index: 2;
  background: var(--orange); color: var(--navy-deep);
  padding: 18px 22px; max-width: 230px;
}
.prod-figure .badge b { display: block; font-size: 2.2rem; line-height: 1; }
.prod-figure .badge span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; }

.prod-figure .small {
  position: absolute; top: 20px; right: -34px; width: 180px; aspect-ratio: 1;
  border: 4px solid var(--gunmetal-2); overflow: hidden; z-index: 3;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.prod-figure .small img { filter: grayscale(0.2) contrast(1.1); }

.prod-copy h2 { margin-bottom: 22px; }
.prod-steps { margin-top: 36px; display: grid; gap: 0; }
.prod-step {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  padding: 22px 0; border-top: 1px solid var(--steel-line);
}
.prod-step:last-child { border-bottom: 1px solid var(--steel-line); }
.prod-step .n { font-size: 1.6rem; font-weight: 800; color: var(--orange); }
.prod-step h4 { font-size: 1.15rem; margin-bottom: 6px; }
.prod-step p { color: var(--steel-dim); font-size: 0.98rem; }

/* ============================================================
   02 — QUALITY STANDARDS
   ============================================================ */
.quality { background: var(--navy); position: relative; }
.quality::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--blueprint) 1px, transparent 1px),
    linear-gradient(90deg, var(--blueprint) 1px, transparent 1px);
  background-size: 50px 50px; opacity: 0.6; pointer-events: none;
}
.quality .wrap { position: relative; z-index: 1; }
.std-grid {
  margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--steel-line);
}
.std-card {
  padding: 38px 30px; border-right: 1px solid var(--steel-line);
  position: relative; transition: background .35s, transform .35s;
  background: rgba(8,15,28,0.35);
}
.std-card:last-child { border-right: none; }
.std-card:hover { background: var(--gunmetal-3); }
.std-card .grade { font-size: 12px; letter-spacing: 0.24em; color: var(--orange); font-weight: 700; }
.std-card h3 { font-size: 1.5rem; margin: 18px 0 12px; }
.std-card p { font-size: 0.96rem; color: var(--steel-dim); }
.std-card .spec { margin-top: 22px; display: grid; gap: 8px; }
.std-card .spec li { display: flex; justify-content: space-between; font-size: 0.86rem; border-bottom: 1px dashed var(--steel-line); padding-bottom: 6px; }
.std-card .spec li b { color: var(--white); }
.std-card .spec { list-style: none; }

.cert-strip {
  margin-top: 0; border: 1px solid var(--steel-line); border-top: none;
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.cert-strip div {
  padding: 20px; text-align: center; border-right: 1px solid var(--steel-line);
  font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel);
  font-weight: 600;
}
.cert-strip div:last-child { border-right: none; }
.cert-strip div b { color: var(--orange); }

/* ============================================================
   03 — MANUFACTURING TECHNOLOGY (full-bleed image band)
   ============================================================ */
.tech { position: relative; color: var(--white); overflow: hidden; }
.tech-bg { position: absolute; inset: 0; z-index: 0; }
.tech-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.32) grayscale(0.3); }
.tech-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,13,24,0.96) 0%, rgba(6,13,24,0.55) 60%, rgba(6,13,24,0.85) 100%);
}
.tech .wrap { position: relative; z-index: 1; }
.tech-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--steel-line); border: 1px solid var(--steel-line); }
.tech-cell {
  background: rgba(10,16,28,0.78); padding: 40px 32px; transition: .35s;
}
.tech-cell:hover { background: rgba(255,106,0,0.08); }
.tech-cell .ico {
  width: 56px; height: 56px; display: grid; place-items: center;
  border: 1px solid var(--orange); color: var(--orange); margin-bottom: 26px;
}
.tech-cell .ico svg { width: 28px; height: 28px; }
.tech-cell h3 { font-size: 1.4rem; margin-bottom: 12px; }
.tech-cell p { color: var(--steel-dim); font-size: 0.98rem; }
.tech-cell .metric { margin-top: 22px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--orange); font-weight: 700; }

/* live production gauge row */
.gauges { margin-top: 1px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--steel-line); border: 1px solid var(--steel-line); border-top: none; }
.gauge { background: rgba(10,16,28,0.78); padding: 24px 32px; }
.gauge .bar-label { display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--steel); margin-bottom: 10px; }
.gauge .bar-label b { color: var(--orange); }
.gauge .bar { height: 8px; background: var(--gunmetal); position: relative; overflow: hidden; }
.gauge .bar i { position: absolute; inset: 0 100% 0 0; background: linear-gradient(90deg, var(--orange), var(--orange-2)); transition: right 1.6s var(--ease); }

/* ============================================================
   04 — ENGINEERING EXCELLENCE (blueprint diagram)
   ============================================================ */
.engineering { background: var(--gunmetal); }
.eng-grid { margin-top: 60px; display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.eng-copy h2 { margin-bottom: 22px; }
.eng-list { margin-top: 30px; display: grid; gap: 22px; }
.eng-item { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; }
.eng-item .bar { width: 4px; height: 100%; min-height: 46px; background: var(--orange); justify-self: center; }
.eng-item h4 { font-size: 1.1rem; margin-bottom: 5px; }
.eng-item p { color: var(--steel-dim); font-size: 0.95rem; }

.blueprint {
  position: relative; aspect-ratio: 1/1; border: 1px solid var(--steel-line);
  background: var(--navy-deep) ;
  overflow: hidden;
}
.blueprint .bp-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(120,170,230,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,230,0.14) 1px, transparent 1px),
    linear-gradient(rgba(120,170,230,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,170,230,0.06) 1px, transparent 1px);
  background-size: 80px 80px, 80px 80px, 16px 16px, 16px 16px;
}
.blueprint svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.blueprint .bp-tag {
  position: absolute; bottom: 16px; left: 16px; font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: rgba(150,190,240,0.7);
}
.blueprint .bp-tag b { color: var(--orange); }

/* ============================================================
   05 — APPLICATIONS IN CONSTRUCTION (masonry / grid gallery)
   ============================================================ */
.applications { background: var(--gunmetal-2); }
.app-grid {
  margin-top: 60px; display: grid; gap: 16px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
}
.app-tile {
  position: relative; overflow: hidden; border: 1px solid var(--steel-line);
  display: flex; align-items: flex-end;
}
.app-tile img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.45) brightness(0.7); transition: transform 1s var(--ease), filter .5s;
}
.app-tile:hover img { transform: scale(1.08); filter: grayscale(0) brightness(0.85); }
.app-tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(6,13,24,0.92), transparent 60%);
}
.app-tile .label { position: relative; z-index: 2; padding: 22px; }
.app-tile .label small { color: var(--orange); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 700; }
.app-tile .label h4 { font-size: 1.25rem; margin-top: 6px; }
.app-tile.lg { grid-column: span 2; grid-row: span 2; }
.app-tile.wide { grid-column: span 2; }
.app-tile.tall { grid-row: span 2; }

/* ============================================================
   06 — INDUSTRY IMPACT (counters + map style)
   ============================================================ */
.impact { position: relative; overflow: hidden; color: var(--white); }
.impact-bg { position: absolute; inset: 0; z-index: 0; }
.impact-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.28) grayscale(0.4); }
.impact-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 30% 30%, rgba(255,106,0,0.10), transparent 50%), linear-gradient(180deg, rgba(6,13,24,0.92), rgba(6,13,24,0.96)); }
.impact .wrap { position: relative; z-index: 1; }
.impact-stats {
  margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--steel-line);
}
.impact-stat {
  padding: 46px 32px; border-right: 1px solid var(--steel-line);
  position: relative;
}
.impact-stat:last-child { border-right: none; }
.impact-stat b { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 800; color: var(--white); line-height: 1; display: block; }
.impact-stat b i { color: var(--orange); font-style: normal; }
.impact-stat span { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel-dim); display: block; margin-top: 12px; }
.impact-note { margin-top: 40px; max-width: 70ch; color: var(--steel); font-size: 1.05rem; }

/* ============================================================
   07 — CONTACT
   ============================================================ */
.contact { background: var(--navy-deep); }
.contact .grid { margin-top: 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--steel-line); }
.contact-info { padding: 56px 48px; border-right: 1px solid var(--steel-line); background: rgba(13,27,42,0.4); }
.contact-info h3 { font-size: 1.8rem; margin-bottom: 28px; }
.contact-row { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--steel-line); align-items: start; }
.contact-row:first-of-type { border-top: none; }
.contact-row .ico { width: 46px; height: 46px; border: 1px solid var(--orange); color: var(--orange); display: grid; place-items: center; }
.contact-row .ico svg { width: 22px; height: 22px; }
.contact-row small { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--steel-dim); display: block; }
.contact-row b { color: var(--white); font-size: 1.15rem; font-weight: 600; display: block; margin-top: 4px; }
.contact-row a { transition: color .25s; }
.contact-row a:hover { color: var(--orange); }

.contact-form { padding: 56px 48px; }
.contact-form h3 { font-size: 1.8rem; margin-bottom: 28px; }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--steel-dim); margin-bottom: 9px; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--gunmetal); border: 1px solid var(--steel-line);
  color: var(--white); padding: 14px 16px; font-family: inherit; font-size: 1rem;
  transition: border-color .25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--orange); }
.field textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 0.82rem; color: var(--steel-dim); margin-top: 6px; }
.form-msg { margin-top: 16px; font-size: 0.9rem; color: var(--orange); min-height: 20px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--gunmetal); border-top: 1px solid var(--steel-line); }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding: 70px 0 50px; }
.footer-top .brand { margin-bottom: 22px; }
.footer-col h5 { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--steel-dim); margin-bottom: 20px; }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col a { color: var(--steel); font-size: 0.95rem; transition: color .25s; }
.footer-col a:hover { color: var(--orange); }
.footer-about p { color: var(--steel-dim); font-size: 0.95rem; max-width: 42ch; }
.footer-bottom {
  border-top: 1px solid var(--steel-line); padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  font-size: 0.85rem; color: var(--steel-dim);
}
.footer-bottom a:hover { color: var(--orange); }
.footer-bottom .fb-links { display: flex; gap: 26px; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.legal { padding: 140px 0 90px; background: var(--gunmetal); min-height: 100vh; }
.legal .wrap { max-width: 900px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4rem); margin-bottom: 12px; }
.legal .updated { color: var(--steel-dim); font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 40px; }
.legal h2 { font-size: 1.5rem; margin: 44px 0 14px; color: var(--white); }
.legal h3 { font-size: 1.15rem; margin: 26px 0 10px; color: var(--orange); }
.legal p, .legal li { color: var(--steel); font-size: 1rem; margin-bottom: 12px; }
.legal ul { padding-left: 22px; margin-bottom: 16px; }
.legal a { color: var(--orange); text-decoration: underline; }
.legal .intro { font-size: 1.1rem; color: var(--steel); border-left: 3px solid var(--orange); padding-left: 22px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .production .grid, .eng-grid { grid-template-columns: 1fr; gap: 48px; }
  .std-grid, .cert-strip, .tech-grid, .gauges, .impact-stats { grid-template-columns: repeat(2, 1fr); }
  .std-card:nth-child(2), .impact-stat:nth-child(2) { border-right: none; }
  .cert-strip div:nth-child(3) { border-right: none; }
  .contact .grid { grid-template-columns: 1fr; }
  .contact-info { border-right: none; border-bottom: 1px solid var(--steel-line); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .prod-figure .small { display: none; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: 66px 0 auto 0; flex-direction: column; align-items: stretch;
    background: rgba(8,11,16,0.98); border-bottom: 1px solid var(--steel-line);
    padding: 14px 28px 26px; gap: 4px; transform: translateY(-130%); transition: transform .4s var(--ease); }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--steel-line); }
  .nav a.cta { text-align: center; margin-top: 10px; }
  .nav-toggle { display: block; }
  .hero-stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .hstat { padding-left: 0; border-left: none; padding: 18px 0; }
  .std-grid, .cert-strip, .tech-grid, .gauges, .app-grid, .impact-stats { grid-template-columns: 1fr; }
  .std-card, .cert-strip div, .impact-stat { border-right: none; }
  .app-tile.lg, .app-tile.wide, .app-tile.tall { grid-column: auto; grid-row: auto; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .contact-info, .contact-form { padding: 38px 26px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
