/* ==========================================================================
   KISHAN AUTO PRODUCTS — landing page
   ~80% monochrome, ~20% accent (brand green, sampled from the KAP logo)
   ========================================================================== */
:root {
  --ink: #0b0b0c;
  --ink-2: #1c1c1f;
  --paper: #fff;
  --paper-2: #f5f5f6;
  --paper-3: #eaeaec;
  --line: #e1e1e4;
  --line-2: #c8c8ce;
  --muted: #67676f;
  --muted-d: #c2c2cb;
  /* accent sampled from the KAP logo — swap these two to re-theme the page */
  --accent: #09821f;
  --accent-2: #9acd1b;
  --accent-l: #8ed14f;
  --orange: #f18421; /* "AUTO PRODUCTS" orange from the logo - used for the eyebrows */
  --font-head: "Montserrat", "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --maxw: 1180px;
  --r: 2px;
  --rb: 999px; /* pill - echoes the KAP logo capsule */
  --ri: 8px; /* form fields, softened to sit with the pill buttons */
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  /* AOS slides fade-left/right elements in from 100px outside their final
     position; between ~1180 and ~1380px the page margins are narrower than
     that, so without clipping the page gains a horizontal scrollbar until
     the animation finishes. `clip` (not `hidden`) keeps position:sticky working. */
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
body {
  overflow-x: clip;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-head);
  line-height: 1.14;
  letter-spacing: -0.015em;
  font-weight: 800;
}
p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.mono {
  font-family: var(--font-mono);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--orange);
  flex: none;
}

/* --- buttons -------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 24px;
  border-radius: var(--rb);
  font-size: 14px;
  font-weight: 700;
  border: 1.5px solid var(--ink);
  background: var(--ink);
  color: #fff;
  transition:
    background 0.18s,
    border-color 0.18s,
    color 0.18s;
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
}
.btn.ghost:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn.light {
  background: #fff;
  border-color: #fff;
  color: var(--ink);
}
.btn.light:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn.cta {
  background: var(--accent);
  border-color: var(--accent);
}
.btn.cta:hover {
  background: var(--ink);
  border-color: white;
}
.btn.sm {
  padding: 10px 16px;
  font-size: 13px;
}
.btn svg {
  flex: none;
}

/* --- top bar -------------------------------------------------------- */
.topbar {
  background: var(--ink);
  color: var(--muted-d);
  font-size: 12.5px;
}
.topbar .wrap {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  flex-wrap: wrap;
}
.topbar a {
  overflow-wrap: anywhere;
}
.topbar a:hover {
  color: #fff;
}
.topbar .tb-r {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.topbar b {
  color: #fff;
  font-weight: 600;
}
.topbar .hot {
  color: #fff;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 1px;
}

/* --- header --------------------------------------------------------- */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  /* green so the white-on-transparent logo shows without a box */
  background: var(--accent);
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
/* the header is green, so its call button flips to white */
header .btn.cta {
  background: #fff;
  border-color: #fff;
  color: var(--accent);
}
header .btn.cta:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 74px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}
.mark {
  height: 52px; /* full lockup incl. wordmark - tune the header logo size here */
  width: auto;
  flex: none;
  display: block;
}
.menu {
  display: flex;
  gap: 24px;
  align-items: center;
}
.menu a {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding: 6px 0;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: #fff;
  transition: width 0.2s;
}
.menu a:hover::after {
  width: 100%;
}
.menu .btn::after {
  display: none;
}
.menu-head,
.scrim {
  display: none;
}
.menu-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  color: var(--ink);
  font: 400 24px/1 var(--font-body);
  align-items: center;
  justify-content: center;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s;
}
.menu-close:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-2);
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
  position: relative;
}
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.6px;
  background: var(--ink);
}
.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}

/* --- hero ----------------------------------------------------------- */
.hero {
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(
    120% 95% at 80% 8%,
    #000 0%,
    transparent 70%
  );
  mask-image: radial-gradient(120% 95% at 80% 8%, #000 0%, transparent 70%);
}
.hero .wrap {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.8fr;
  gap: 52px;
  padding: 66px 24px;
  align-items: start;
}
.hero h1 {
  font-size: clamp(33px, 4.6vw, 56px);
  margin: 18px 0 14px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero .lede {
  font-size: 17px;
  color: var(--muted);
  max-width: 46ch;
}
.chips-label {
  display: block;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.chips a {
  display: inline-block;
  padding: 7px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--rb);
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.chips a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.cta-row {
  display: flex;
  gap: 10px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.usp,
.usp-tap {
  display: none;
}
.trust {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.trust div {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.trust b {
  font-family: var(--font-head);
  display: block;
  font-size: 21px;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.spec {
  border: 1px solid var(--ink);
  border-radius: var(--r);
  background: #fff;
  box-shadow: 14px 14px 0 -1px var(--paper-3);
}
.spec-h {
  background: var(--ink);
  color: #fff;
  padding: 13px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.spec-h span {
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.spec-h i {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  flex: none;
}
.spec dl {
  margin: 0;
  padding: 4px 18px 10px;
}
.spec dl > div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}
.spec dl > div:last-child {
  border-bottom: 0;
}
.spec dt {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding-top: 3px;
  white-space: nowrap;
}
.spec dd {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  text-align: right;
}
.heatbar {
  height: 6px;
  background: linear-gradient(
    90deg,
    var(--ink) 0%,
    var(--accent) 58%,
    var(--accent-2) 100%
  );
}

/* --- sections -------------------------------------------------------- */
section {
  padding: 74px 0;
}
.sec-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  align-items: end;
  margin-bottom: 36px;
}
.sec-head h2 {
  font-size: clamp(25px, 3.2vw, 36px);
  margin-top: 12px;
}
.alt {
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.flowsec {
  position: relative;
  border-bottom: 1px solid var(--line);
}
/* minimal dot grid covering the whole section at full strength */
.flowsec::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--line-2) 1px, transparent 1px);
  background-size: 12px 12px;
  background-position: 6px 6px;
  opacity: 1;
}
.flowsec > .wrap {
  position: relative;
  z-index: 1;
}
/* testimonials and FAQ are both white now, so they need a rule between them */
#testimonials {
  border-bottom: 1px solid var(--line);
}
/* lighter green keeps contrast on the black sections */
.spec-h i {
  background: var(--accent-l);
}
.topbar .hot {
  border-bottom-color: var(--accent-l);
}

/* --- processes -------------------------------------------------------- */
.grid-9 {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
/* 9 cards in a 5-wide grid leave one cell empty on the second row. Without a
   filler that cell shows the grid's hairline background as a grey block, so a
   pseudo-element takes the slot and paints it white. */
.grid-9::after {
  content: "";
  background: var(--paper);
}
/* --- process cards ------------------------------------------------------- */
.proc {
  background: #fff;
  padding: 22px;
  transition: background 0.18s;
  position: relative;
  display: flex;
  flex-direction: column;
}
.proc::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: var(--accent);
  transition: width 0.22s;
}
.proc:hover {
  background: var(--paper-2);
}
.proc:hover::before {
  width: 100%;
}
.proc-fig {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 178px;
  margin: -22px -22px 18px;
  background: var(--paper-2);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  transition:
    background 0.18s,
    color 0.18s;
}
.proc-fig svg {
  height: 64px;
  width: auto;
}
.proc-fig .a {
  stroke: var(--accent);
}
.proc-fig .d {
  fill: var(--accent);
  stroke: none;
}
.proc-fig.has-img {
  background: var(--paper-3);
}
.proc-fig img {
  width: 100%;
  height: 100%;
  /* product renders on transparent ground - show the whole machine, never crop */
  object-fit: contain;
  object-position: left center;
  padding: 14px 22px;
  display: block;
  transition: transform 0.4s ease;
}
.proc:hover .proc-fig {
  background: var(--ink);
  color: #fff;
}
.proc:hover .proc-fig .a {
  stroke: var(--accent-l);
}
.proc:hover .proc-fig .d {
  fill: var(--accent-l);
}
.proc:hover .proc-fig.has-img {
  background: var(--paper-3);
}
.proc:hover .proc-fig img {
  transform: scale(1.04);
}
.proc .no {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.proc h3 {
  font-size: 17px;
  margin: 8px 0 10px;
}
.proc .spec-line {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* --- inline CTA band ----------------------------------------------------- */
.band {
  margin-top: 26px;
  border: 1px solid var(--ink);
  border-left: 4px solid var(--accent);
  background: #fff;
  padding: 22px 26px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.band b {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.band span {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 3px;
}
.band .acts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* --- components ---------------------------------------------------------- */
.comp-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.comp {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r);
  padding: 20px 16px;
  text-align: center;
  transition: 0.18s;
  display: block;
}
.comp:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
}
.comp svg {
  margin: 0 auto 10px;
  display: block;
}
.comp b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
}
.comp span {
  font-size: 11.5px;
  color: var(--muted);
}

/* --- process flow: connected timeline ------------------------------------ */
.flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  position: relative;
  text-align: center;
  padding: 0 10px;
}
/* the rail from this node to the next */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: calc(50% + 26px);
  width: calc(100% - 52px);
  height: 2px;
  background: var(--line-2);
}
.dot {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: #fff;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.step h4 {
  font-size: 16px;
  margin: 16px 0 6px;
  color: var(--ink);
}
.step p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  max-width: 22ch;
  margin: 0 auto;
}

/* --- capability ---------------------------------------------------------- */
.why {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}
.why .item {
  border-top: 2px solid var(--ink);
  padding-top: 16px;
}
.why .item .k {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.14em;
  font-weight: 700;
  display: block;
  margin-bottom: 9px;
}
.why .item h4 {
  font-size: 16px;
  margin-bottom: 6px;
}
.why .item p {
  font-size: 13.5px;
  color: var(--muted);
}

/* --- testimonials (swiper) ----------------------------------------------- */
.tsw-nav {
  display: flex;
  gap: 10px;
  justify-self: start;
}
.tsw-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  background: #fff;
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.18s,
    color 0.18s,
    border-color 0.18s,
    opacity 0.18s;
}
.tsw-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.tsw-btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}
.tsw {
  padding-bottom: 46px;
  --swiper-theme-color: var(--accent);
  --swiper-pagination-bullet-inactive-color: var(--ink);
  --swiper-pagination-bullet-inactive-opacity: 0.18;
  --swiper-pagination-bullet-size: 9px;
  --swiper-pagination-bullet-horizontal-gap: 5px;
}
.tsw .swiper-slide {
  height: auto;
}
.tcard {
  margin: 0;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.tmark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 62px;
  line-height: 0.7;
  color: var(--accent);
  opacity: 0.22;
  display: block;
  margin-bottom: 6px;
}
.tcard blockquote {
  margin: 0 0 22px;
  font-size: 15.5px;
  line-height: 1.62;
  color: var(--ink-2);
}
.tcard figcaption {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.tcard figcaption b {
  font-family: var(--font-head);
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}
.tcard figcaption span {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--muted);
}

/* --- faq ----------------------------------------------------------------- */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 44px 18px 0;
  position: relative;
  font-family: var(--font-head);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.18s;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--accent);
}
.faq summary::after,
.faq summary::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  background: var(--accent);
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}
.faq summary::before {
  width: 14px;
  height: 2px;
  margin-top: -1px;
}
.faq summary::after {
  width: 2px;
  height: 14px;
  margin-top: -7px;
  right: 16px;
}
.faq details[open] summary::after {
  transform: rotate(90deg);
  opacity: 0;
}
.faq details[open] summary {
  color: var(--accent);
}
.faq-a p {
  padding: 0 56px 20px 0;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 78ch;
}

/* --- contact ------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-grid > *,
.hero .wrap > *,
.band > *,
.strip .wrap > *,
.f-grid > *,
.sec-head > * {
  min-width: 0;
}
.cl {
  border-top: 1px solid var(--line);
}
.cl > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.cl dt {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding-top: 4px;
}
.cl dd {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.cl dd small {
  display: block;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.cl dd a:hover {
  color: var(--accent);
}
form {
  border: 1px solid var(--ink);
  border-radius: var(--r);
  padding: 26px;
  background: #fff;
}
form h3 {
  font-size: 19px;
  margin-bottom: 16px;
}
.field {
  margin-bottom: 12px;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--ri);
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  background: #fff;
  transition: border-color 0.15s;
}
.field textarea {
  resize: vertical;
  min-height: 82px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
form .btn {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}
form .fine {
  font-size: 12px;
  color: var(--muted);
  margin-top: 10px;
  text-align: center;
}
form .fine a {
  font-weight: 700;
  color: var(--ink);
}
.note {
  padding: 12px 14px;
  margin-bottom: 16px;
  border-left: 4px solid;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.45;
}
.note.ok {
  background: #f2f8f0;
  border-color: var(--accent);
  color: #12611f;
}
.note.bad {
  background: #fdf2f2;
  border-color: #c0392b;
  color: #8f1f16;
}
.hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* --- strip / footer ------------------------------------------------------ */
.strip {
  background: var(--ink);
  color: #fff;
  padding: 46px 0;
}
.strip .wrap {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.strip h3 {
  font-size: clamp(21px, 2.6vw, 29px);
}
.strip p {
  color: var(--muted-d);
  margin-top: 8px;
  font-size: 14.5px;
}
.strip .acts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.strip .btn.ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}
.strip .btn.ghost:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
footer {
  background: #050506;
  color: var(--muted-d);
  font-size: 13.5px;
}
.f-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding: 52px 0 40px;
}
footer h5 {
  font-family: var(--font-head);
  color: #fff;
  font-size: 11px;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  margin: 0 0 16px;
  font-weight: 700;
}
footer .f-logo {
  height: auto;
  width: 60%; /* of the footer brand column - tune the footer logo size here */
  max-width: 260px;
  display: block;
  margin-bottom: 18px;
  border-radius: 6px;
}
.f-brand p {
  max-width: 34ch;
  line-height: 1.6;
}
.f-serving {
  margin-top: 10px;
  color: #8b8b94;
  font-size: 12.5px;
}
.f-brand .btn {
  margin-top: 18px;
}
.f-col li {
  margin-bottom: 9px;
}
footer a:hover {
  color: #fff;
}
footer address {
  font-style: normal;
  line-height: 1.55;
}
.f-lbl {
  display: block;
  margin: 14px 0 4px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7a7a84;
  font-weight: 700;
}
address .f-lbl:first-child {
  margin-top: 0;
}
.f-bot {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
}

/* --- 404 page ------------------------------------------------------------ */
/* header at the top, footer pinned to the bottom, message centred between */
.errpage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* the main page reserves space here for the fixed mobile bar; this page has none */
  padding-bottom: 0;
}
.errpage .err {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 64px 24px;
  text-align: center;
}
.errpage footer {
  margin-top: auto;
}
.errpage .f-bot {
  border-top: 0;
}
.err-code {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(96px, 20vw, 200px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.04em;
  color: var(--paper-3);
}
.err h1 {
  font-size: clamp(24px, 4vw, 38px);
  margin: 10px 0 32px;
}

/* --- hardness testing: machine switcher ---------------------------------
   Pick a machine, the panel swaps. Without JS every panel simply stays
   visible, so the content is never trapped behind the interaction. */
.tswitch-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.tswitch-tab {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  padding: 11px 20px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--rb);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}
.tswitch-tab:hover {
  border-color: var(--ink);
}
.tswitch-tab[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.tswitch-short {
  display: none;
}
.tswitch-no {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
}
.tswitch-tab[aria-selected="true"] .tswitch-no {
  color: rgba(255, 255, 255, 0.75);
}
.tswitch-panel {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  border: 1px solid var(--line);
  background: #fff;
}
.tswitch-panel[hidden] {
  display: none;
}
.tswitch-fig {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  min-height: 320px;
  background: var(--paper-2);
  border-right: 1px solid var(--line);
  color: var(--ink);
}
.tswitch-fig img {
  max-height: 268px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}
.tswitch-fig svg {
  height: 96px;
  width: auto;
}
.tswitch-fig .a {
  stroke: var(--accent);
}
.tswitch-fig .d {
  fill: var(--accent);
  stroke: none;
}
.tswitch-body {
  padding: 40px 44px;
}
.tswitch-body .tester-no {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.tswitch-body h3 {
  font-size: clamp(22px, 2.4vw, 28px);
  margin: 12px 0 10px;
}
.tester-spec {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.tester-desc {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.62;
  color: var(--muted);
  max-width: 46ch;
}

/* --- floating CTAs -------------------------------------------------------- */
.fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fab a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  box-shadow: 0px 0px 10px 0px white;
  transition:
    background 0.18s,
    transform 0.18s;
}
.fab a:hover {
  background: var(--accent);
  transform: translateY(-2px);
}
.mobar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 80;
  background: var(--ink);
  border-top: 2px solid var(--accent-l);
  grid-template-columns: repeat(3, 1fr);
}
.mobar a {
  padding: 13px 6px;
  text-align: center;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}
.mobar a:last-child {
  border-right: 0;
}
.mobar a svg {
  margin: 0 auto 4px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* --- responsive ------------------------------------------------------------ */
@media (max-width: 1020px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .grid-9 {
    grid-template-columns: repeat(2, 1fr);
  }

  .comp-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .flow {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }
  /* no rail across a row break */
  .step:nth-child(3n)::after {
    display: none;
  }
  .why {
    grid-template-columns: repeat(2, 1fr);
  }
  .f-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px;
  }
}
@media (max-width: 820px) {
  /* the header's backdrop-filter would become the containing block for the
     fixed drawer, clipping it to header height - drop it at drawer widths */
  header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--accent);
  }
  .menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 84vw;
    z-index: 100;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0 22px 26px;
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(-100%);
    visibility: hidden;
    transition:
      transform 0.28s ease,
      visibility 0.28s ease;
  }
  .menu.open {
    transform: none;
    visibility: visible;
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.3);
  }
  /* green strip across the drawer top so the white logo shows */
  .menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 22px 14px;
    margin: 0 -22px 4px;
    background: var(--accent);
  }
  .menu-head .mark {
    height: 40px;
  }
  .menu-close {
    display: flex;
  }
  .menu a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
    color: var(--ink-2); /* the drawer is white, unlike the header */
  }
  .menu a::after {
    display: none;
  }
  .menu a:hover {
    color: var(--accent);
  }
  .menu .btn {
    margin-top: 18px;
    justify-content: center;
    border-bottom: 0;
  }
  header .menu .btn.cta {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
  }
  header .menu .btn.cta:hover {
    background: var(--ink);
    border-color: var(--ink);
  }
  .scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.28s ease,
      visibility 0.28s ease;
  }
  .scrim.show {
    opacity: 1;
    visibility: visible;
  }
  body.nav-open {
    overflow: hidden;
  }
  body.nav-open header {
    z-index: 110;
  }
  .burger {
    display: flex;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* stack: machine above the copy */
  .tswitch-panel {
    grid-template-columns: 1fr;
  }
  .tswitch-fig {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 250px;
    padding: 26px;
  }
  .tswitch-fig img {
    max-height: 210px;
  }
  .tswitch-body {
    padding: 28px 24px 32px;
  }
  /* three across on a phone - short labels so they fit without scrolling */
  .tswitch-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .tswitch-tab {
    justify-content: center;
    gap: 6px;
    padding: 10px 6px;
    font-size: 12.5px;
  }
  .tswitch-long {
    display: none;
  }
  .tswitch-short {
    display: inline;
  }
  .tswitch-no {
    font-size: 10px;
  }
  .sec-head {
    grid-template-columns: 1fr;
  }
  .sec-head > .btn {
    justify-self: start;
  }
  .topbar .wrap {
    justify-content: center;
    text-align: center;
  }
  .topbar .tb-r {
    justify-content: center;
    gap: 4px 18px;
  }
  /* hero CTAs give way to reasons-to-call; the floating buttons carry the action */
  .hero .cta-row {
    display: none;
  }
  .usp {
    display: block;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }
  .usp li {
    position: relative;
    padding-left: 27px;
    margin-bottom: 13px;
    font-size: 14.5px;
    line-height: 1.45;
    color: var(--ink-2);
  }
  .usp li:last-child {
    margin-bottom: 0;
  }
  .usp li b {
    font-weight: 700;
    color: var(--ink);
  }
  .usp li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: 5px;
    width: 12px;
    height: 6px;
    border-left: 2.5px solid var(--accent);
    border-bottom: 2.5px solid var(--accent);
    transform: rotate(-45deg);
  }
  .usp-tap {
    display: block;
    margin-top: 18px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--accent);
  }
  /* the fixed bottom bar already carries Call / WhatsApp / Enquiry, so the
     floating pair would be the same two actions twice on a phone */
  .fab {
    display: none;
  }
  .mobar {
    display: grid;
  }
  body {
    padding-bottom: 62px;
  }
}
@media (max-width: 600px) {
  section {
    padding: 54px 0;
  }
  /* two cards per row on a phone - the filler keeps the last row's empty
     cell white instead of showing the grid's hairline background */
  .grid-9 {
    grid-template-columns: repeat(2, 1fr);
  }
  .proc {
    padding: 16px;
  }
  .proc h3 {
    font-size: 15px;
    margin: 6px 0 8px;
  }
  .proc .spec-line {
    font-size: 12px;
    line-height: 1.45;
  }
  .proc-fig {
    height: 132px;
    margin: -16px -16px 14px;
  }
  .proc-fig img {
    padding: 10px 12px;
    object-position: center;
  }
  .proc-fig svg {
    height: 52px;
  }
  .comp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* one node per row on a phone - the rail runs vertically down the left */
  .flow {
    grid-template-columns: 1fr;
    row-gap: 0;
  }
  .step {
    text-align: left;
    padding: 0 0 26px 64px;
  }
  .dot {
    position: absolute;
    left: 0;
    top: 0;
    margin: 0;
  }
  .step:nth-child(2n)::after,
  .step:nth-child(3n)::after {
    display: block;
  }
  .step:not(:last-child)::after {
    top: 52px;
    left: 22px;
    width: 2px;
    height: calc(100% - 52px);
  }
  .step h4 {
    margin-top: 8px;
  }
  .step p {
    max-width: none;
  }
  .why {
    grid-template-columns: 1fr;
  }
  .f-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0 32px;
  }
  /* the footer column is full width on a phone, so the 260px cap would make
     the logo far bigger here than it looks on desktop */
  footer .f-logo {
    max-width: 200px;
    margin-bottom: 14px;
  }
  .row-2 {
    grid-template-columns: 1fr;
  }
  .hero .wrap {
    padding: 44px 24px;
  }
  .nav {
    gap: 12px;
  }
  .mark {
    height: 42px;
  }
  .topbar {
    font-size: 12px;
    line-height: 1.35;
  }
  .topbar .wrap {
    min-height: 0;
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 2px;
  }
  .topbar .gstin {
    display: none;
  }
  .band {
    padding: 20px;
  }
  .spec {
    box-shadow: 8px 8px 0 -1px var(--paper-3);
  }
}
@media (max-width: 480px) {
  /* smaller node on the narrowest phones - rail offsets follow it */
  .step {
    padding: 0 0 22px 56px;
  }
  .dot {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }
  .step:not(:last-child)::after {
    top: 46px;
    left: 19px;
    height: calc(100% - 46px);
  }
  .step h4 {
    font-size: 15px;
  }
  .step p {
    font-size: 13.5px;
  }
  .cl > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .cl dt {
    padding-top: 0;
  }
  form {
    padding: 20px;
  }
  .cta-row .btn,
  .band .acts .btn,
  .strip .acts .btn {
    width: 100%;
    justify-content: center;
  }
  .band .acts,
  .strip .acts {
    width: 100%;
  }
  .trust {
    gap: 18px;
  }
  .trust div {
    min-width: calc(50% - 9px);
  }
}

/* --- AOS: no sideways travel on narrow screens ---------------------------- */
@media (max-width: 820px) {
  [data-aos="fade-left"],
  [data-aos="fade-right"] {
    transform: translate3d(0, 30px, 0);
  }
  [data-aos="fade-left"].aos-animate,
  [data-aos="fade-right"].aos-animate {
    transform: translate3d(0, 0, 0);
  }
}
