/* ==========================================================================
   PUBLIC WEBSITE STYLES
   Colours ko badalna ho to sirf :root ke andar ki values badlein.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff") format("woff");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --paper:      #F4F6F7;   /* page background */
  --steel-100:  #E6EAED;
  --steel-200:  #D3D9DE;
  --steel-400:  #8D98A3;
  --steel-600:  #56626E;
  --ink:        #1D2733;   /* text + dark sections */
  --ink-2:      #283443;
  --enamel:     #1E5AA0;   /* machine-paint blue: links, focus */
  --caution:    #F2C230;   /* safety yellow: main actions */
  --caution-dk: #D9A916;
  --ok:         #2E7D4F;
  --bad:        #B3261E;

  --wrap: 1180px;
  --radius: 4px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--enamel); }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--enamel); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 22px;
  font: inherit; font-weight: 650; font-size: 16px; font-stretch: 108%;
  border: 2px solid transparent; border-radius: var(--radius);
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn--caution { background: var(--caution); color: var(--ink); border-color: var(--caution); }
.btn--caution:hover { background: var(--caution-dk); border-color: var(--caution-dk); }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--small { min-height: 38px; padding: 0 14px; font-size: 14px; background: var(--ink); color: #fff; }
.btn--small:hover { background: var(--enamel); }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- Top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 246, 247, .94);
  backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--steel-200);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-width: 0; }
.brand__mark {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px;
  background: var(--ink); color: var(--caution); border-radius: 4px;
  font-weight: 800; font-size: 14px; font-stretch: 115%; letter-spacing: .02em;
}
.brand__logo { height: 36px; width: auto; }
.brand__name { font-weight: 750; font-stretch: 112%; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 520; font-size: 15px; }
.nav a:hover { color: var(--enamel); }
.nav .nav__staff { padding: 7px 14px; border: 1.5px solid var(--steel-400); border-radius: var(--radius); }
.nav .nav__staff:hover { border-color: var(--ink); color: var(--ink); }

.navtoggle {
  display: none; font: inherit; font-weight: 600; font-size: 15px;
  background: none; border: 1.5px solid var(--steel-400); border-radius: var(--radius);
  padding: 7px 14px; color: var(--ink); cursor: pointer;
}

@media (max-width: 860px) {
  .navtoggle { display: inline-block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--steel-200); padding: 8px 20px 16px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--steel-100); }
  .nav .nav__staff { margin-top: 12px; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 88px; border-bottom: 1px solid var(--steel-200); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: center; }

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 4.1rem);
  font-weight: 780;
  font-stretch: 125%;
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 15ch;
  text-wrap: balance;
}
.hero__sub { margin-top: 24px; font-size: 19px; color: var(--steel-600); max-width: 50ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__call { margin-top: 22px; font-size: 15px; color: var(--steel-600); }
.hero__call a { color: var(--ink); font-weight: 650; }

/* ---- The nameplate: brushed steel with rivets ---- */
.plate {
  position: relative; margin: 0;
  padding: 34px 38px 26px;
  border-radius: 8px;
  color: #26303B;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.07) 0 1px, rgba(0,0,0,.035) 1px 2px, transparent 2px 4px),
    linear-gradient(160deg, #DDE2E6 0%, #C3CAD1 38%, #D6DBE0 62%, #B7BFC7 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.8),
    inset 0 -1px 0 rgba(0,0,0,.18),
    0 1px 0 #9AA4AE,
    0 18px 40px -18px rgba(29, 39, 51, .45);
  transform: rotate(-1.2deg);
  animation: plate-in .9s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes plate-in {
  from { opacity: 0; transform: translateY(14px) rotate(-3deg); }
  to   { opacity: 1; transform: translateY(0) rotate(-1.2deg); }
}
@media (prefers-reduced-motion: reduce) { .plate { animation: none; } }

.rivet {
  position: absolute; width: 14px; height: 14px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #F4F6F8 0 18%, #A9B2BB 45%, #6D7782 100%);
  box-shadow: 0 1px 1px rgba(0,0,0,.35), inset 0 -1px 1px rgba(0,0,0,.25);
}
.rivet--tl { top: 12px; left: 12px; }  .rivet--tr { top: 12px; right: 12px; }
.rivet--bl { bottom: 12px; left: 12px; } .rivet--br { bottom: 12px; right: 12px; }

.plate__maker {
  font-size: 22px; font-weight: 800; font-stretch: 118%;
  text-align: center; letter-spacing: .01em;
  padding: 0 12px 14px;
  border-bottom: 2px solid rgba(38,48,59,.55);
  box-shadow: 0 1px 0 rgba(255,255,255,.6);
  text-shadow: 0 1px 0 rgba(255,255,255,.65);
}
.plate__rows { margin: 8px 0 0; }
.plate__rows div {
  display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid rgba(38,48,59,.28);
  box-shadow: 0 1px 0 rgba(255,255,255,.45);
}
.plate__rows dt { font-size: 13px; font-weight: 600; font-stretch: 90%; color: #4A5561; text-shadow: 0 1px 0 rgba(255,255,255,.5); }
.plate__rows dd { margin: 0; font-size: 16px; font-weight: 640; text-shadow: 0 1px 0 rgba(255,255,255,.55); }
.plate__serial { margin-top: 14px; text-align: right; font-size: 13px; font-weight: 600; font-stretch: 90%; color: #4A5561; }

@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .plate { max-width: 460px; }
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: 40px; }
.section__head h2, .why__intro h2, .enquiry__info h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem); font-weight: 760; font-stretch: 120%; letter-spacing: -0.01em;
}
.section__head p { color: var(--steel-600); max-width: 52ch; }
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .section__head { grid-template-columns: 1fr; }
}

/* ---------- Catalogue ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip {
  font: inherit; font-size: 15px; font-weight: 560;
  padding: 8px 14px; border-radius: 999px; cursor: pointer;
  background: #fff; color: var(--ink); border: 1.5px solid var(--steel-200);
}
.chip span { color: var(--steel-400); font-weight: 500; margin-left: 4px; }
.chip:hover { border-color: var(--steel-400); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-active span { color: var(--caution); }

.parts { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.part {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 24px; align-items: center;
  padding: 22px 0; border-bottom: 1px solid var(--steel-200);
}
.part[hidden] { display: none; }
.part__thumb {
  width: 88px; height: 88px; border-radius: 4px; overflow: hidden;
  display: grid; place-items: center;
  background:
    linear-gradient(var(--steel-100), var(--steel-100)) padding-box,
    repeating-linear-gradient(45deg, var(--steel-200) 0 6px, transparent 6px 12px);
  border: 1px solid var(--steel-200);
}
.part__thumb img { width: 100%; height: 100%; object-fit: cover; }
.part__thumb span { font-weight: 800; font-stretch: 120%; font-size: 24px; color: var(--steel-400); }
.part h3 { font-size: 20px; font-weight: 700; font-stretch: 108%; }
.part__cat { font-size: 14px; color: var(--enamel); font-weight: 560; margin-top: 2px; }
.part__desc { margin-top: 8px; color: var(--steel-600); max-width: 70ch; font-size: 16px; }
.part__spec { margin-top: 6px; font-size: 14px; color: var(--ink); font-stretch: 92%; }
.part__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.part__meta > span { font-size: 13px; color: var(--steel-400); font-stretch: 92%; }
@media (max-width: 680px) {
  .part { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .part__thumb { width: 64px; height: 64px; }
  .part__meta { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
}

.empty {
  padding: 40px; border: 2px dashed var(--steel-200); border-radius: 6px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.empty p { max-width: 56ch; color: var(--steel-600); }

/* ---------- Process ---------- */
.process { background: #fff; border-top: 1px solid var(--steel-200); border-bottom: 1px solid var(--steel-200); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--steel-400) 0 8px, transparent 8px 14px);
}
.step { position: relative; }
.step__no {
  position: relative; display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 50%; background: var(--ink); color: var(--caution);
  font-weight: 800; font-size: 18px; font-stretch: 115%;
  box-shadow: 0 0 0 6px #fff;
}
.step h3 { margin-top: 20px; font-size: 19px; font-weight: 700; font-stretch: 108%; }
.step p { margin-top: 8px; color: var(--steel-600); font-size: 16px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
}
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Why us ---------- */
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 64px; }
.why__intro p { margin-top: 18px; color: var(--steel-600); max-width: 46ch; }
.industries { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.industries li { font-size: 14px; font-weight: 540; padding: 6px 12px; border: 1px solid var(--steel-200); border-radius: 4px; background: #fff; }
.why__list { border-top: 2px solid var(--ink); }
.why__item { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--steel-200); }
.why__item h3 { font-size: 19px; font-weight: 700; font-stretch: 108%; }
.why__item p { color: var(--steel-600); font-size: 16px; }
@media (max-width: 900px) {
  .why__grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) { .why__item { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- Enquiry ---------- */
.enquiry { background: var(--ink); color: #E8ECEF; }
.enquiry a { color: #fff; }
.enquiry__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 64px; align-items: start; }
.enquiry__info h2 { color: #fff; }
.enquiry__info > p { margin-top: 18px; color: #AEB8C2; max-width: 44ch; }
.contact { margin: 32px 0 0; }
.contact div { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.12); }
.contact dt { color: #8C98A4; font-size: 14px; font-stretch: 92%; }
.contact dd { margin: 0; font-weight: 560; }

.form { background: #fff; color: var(--ink); padding: 32px; border-radius: 6px; border-top: 6px solid var(--caution); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 11px 12px; border: 1.5px solid var(--steel-200); border-radius: var(--radius); background: #fff;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--enamel); box-shadow: 0 0 0 3px rgba(30, 90, 160, .18); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.field .err { display: block; margin-top: 6px; font-size: 13px; color: var(--bad); font-weight: 560; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__status { min-height: 0; margin-bottom: 12px; font-size: 15px; font-weight: 560; }
.form__status.is-error { color: var(--bad); }
.form__status.is-ok { color: var(--ok); padding: 14px 16px; background: #E9F5EE; border-radius: 4px; }

@media (max-width: 900px) { .enquiry__grid { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 560px) { .form { padding: 22px; } .form__row { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.footer { background: #151D27; color: #8C98A4; font-size: 14px; padding: 36px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__name { color: #fff; font-weight: 700; font-stretch: 110%; font-size: 16px; }
.footer nav { display: flex; gap: 22px; }
.footer a { color: #C9D1D8; text-decoration: none; }
.footer a:hover { color: #fff; }

/* ---------- WhatsApp button ---------- */
.wa {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #1F9E55; color: #fff;
  box-shadow: 0 8px 22px -6px rgba(0,0,0,.4);
}
.wa:hover { background: #188547; }
