/* ============================================================
   STRAIN INSIDE — Industrial Machinery, Bhubaneswar
   Vibrant industrial design system
   ============================================================ */

:root {
  --ink: #0b0f14;          /* near-black base */
  --steel: #121821;        /* panel dark */
  --steel-2: #1a2230;      /* card dark */
  --line: #253041;         /* hairlines */
  --green: #2ea836;       /* molten orange */
  --leaf: #7ee787;        /* safety amber */
  --deep: #157a2b;        /* hot ember */
  --text: #eef3f8;
  --muted: #97a4b4;
  --hot-grad: linear-gradient(92deg, var(--deep), var(--green) 45%, var(--leaf));
  --hazard: repeating-linear-gradient(-45deg, var(--leaf) 0 14px, var(--ink) 14px 28px);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(0, 0, 0, .45);
  --font-display: "Bebas Neue", "Oswald", Impact, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

/* every font size on the site is rem-based, so this one value scales all type.
   % (not px) so it still respects the visitor's own browser font setting. */
html {
  font-size: 109%;
  scroll-behavior: smooth;
}

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

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

.wrap { width: min(1180px, 92%); margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1.02;
  text-transform: uppercase;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--leaf);
}
.kicker::before {
  content: "";
  width: 34px; height: 3px;
  background: var(--hot-grad);
  border-radius: 2px;
}

.sec-head { max-width: 720px; margin-bottom: 2.6rem; }
.sec-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin: .5rem 0 .7rem; }
.sec-head p { color: var(--muted); font-size: 1.02rem; }

.grad-text {
  background: var(--hot-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 1.7rem;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn-hot {
  background: var(--hot-grad);
  color: #14100b;
  box-shadow: 0 8px 26px rgba(46, 168, 54, .35);
}
.btn-hot:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(46, 168, 54, .5); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover { border-color: var(--green); color: var(--leaf); transform: translateY(-2px); }

/* ---------- top bar ---------- */
.topbar {
  background: var(--steel);
  border-bottom: 1px solid var(--line);
  font-size: .8rem;
  color: var(--muted);
}
.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .45rem 0;
  flex-wrap: wrap;
}
.topbar strong { color: var(--leaf); font-weight: 600; }
.topbar-item { display: inline-flex; align-items: center; gap: .4rem; }
.topbar-item svg { width: 14px; height: 14px; stroke: var(--green); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 15, 20, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 0;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .7rem; }
/* wordmark recreated from the Strain Inside logo:
   thin STRA + bold green IN, "INSIDE" letterspaced below with green SIDE */
.logo { display: inline-flex; flex-direction: column; line-height: 1; }
.logo-main {
  font-family: "Poppins", var(--font-body);
  font-weight: 200;
  font-size: 2rem;
  letter-spacing: .13em;
  /* cancel the trailing tracking so the right edge aligns with the row below */
  margin-right: -.13em;
  color: var(--text);
  white-space: nowrap;
}
.logo-main b { font-weight: 600; color: var(--green); }
.logo-sub {
  font-family: "Poppins", var(--font-body);
  font-weight: 300;
  font-size: .68rem;
  letter-spacing: .5em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-top: .3rem;
}
.logo-sub::before { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .55; }
/* the word must be ONE flex item — otherwise the flex gap splits "IN" from "SIDE" */
.logo-word { white-space: nowrap; margin-right: -.5em; }
.logo-sub b { font-weight: 400; color: var(--green); }

.nav-links { display: flex; align-items: center; gap: 1.7rem; }
.nav-links a {
  white-space: nowrap;
  font-size: .92rem;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  padding: .3rem 0;
  transition: color .18s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--hot-grad);
  transition: width .22s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav .btn { padding: .65rem 1.3rem; font-size: .88rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 42px; height: 42px;
  position: relative;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--text);
  margin: 5px auto;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 6.5rem 0 0;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 82% -10%, rgba(46, 168, 54, .16), transparent 62%),
    radial-gradient(700px 420px at -8% 30%, rgba(126, 231, 135, .07), transparent 60%),
    var(--ink);
}
.hero::before {                       /* engineering grid */
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(151, 164, 180, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 164, 180, .07) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 88%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(126, 231, 135, .1);
  border: 1px solid rgba(126, 231, 135, .35);
  color: var(--leaf);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .45rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.4rem;
}
.hero-badge .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  animation: pulse 1.8s ease infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(126, 231, 135, .55); }
  60% { box-shadow: 0 0 0 9px rgba(126, 231, 135, 0); }
}
.hero h1 {
  font-size: clamp(3rem, 7.4vw, 5.6rem);
  margin-bottom: 1.1rem;
}
.hero-sub {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 34rem;
  margin-bottom: 2rem;
}
.hero-sub strong { color: var(--text); }
.hero-ctas { display: flex; gap: .9rem; flex-wrap: wrap; }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5)); }

/* stats strip */
.stats {
  margin-top: 4.5rem;
  border-top: 1px solid var(--line);
  background: rgba(18, 24, 33, .6);
  backdrop-filter: blur(6px);
}
.stats .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat { padding: 1.6rem .8rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 3.2rem;
  line-height: 1.05;
  background: var(--hot-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* direct child only — a bare `.stat span` also hits spans nested inside <b> */
.stat > span {
  font-size: .88rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- ticker ---------- */
.ticker {
  border-block: 3px solid transparent;
  border-image: var(--hazard) 3;
  background: var(--steel);
  overflow: hidden;
  padding: .85rem 0;
}
.ticker-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: ticker 34s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: .08em;
  color: var(--muted);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 3rem;
}
.ticker-track span::after { content: "◆"; color: var(--green); font-size: .8rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
section { padding: 5.5rem 0; }
.section-dark { background: var(--steel); border-block: 1px solid var(--line); }

/* category cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.cat-card {
  position: relative;
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  overflow: hidden;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--hot-grad);
  opacity: 0;
  transition: opacity .22s;
}
.cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 168, 54, .5);
  box-shadow: var(--shadow);
}
.cat-card:hover::before { opacity: 1; }
.cat-card .cat-num {
  position: absolute;
  top: .6rem; right: 1rem;
  font-family: var(--font-display);
  font-size: 3.2rem;
  color: rgba(151, 164, 180, .1);
}
.cat-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(46, 168, 54, .12);
  border: 1px solid rgba(46, 168, 54, .3);
  margin-bottom: 1.1rem;
}
.cat-icon svg { width: 28px; height: 28px; stroke: var(--green); }
.cat-card h3 { font-size: 1.35rem; margin-bottom: .45rem; }
.cat-card p { font-size: .88rem; color: var(--muted); }

/* ---------- product cards ---------- */
.filter-bar {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  margin-bottom: 2.4rem;
}
.chip {
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .05em;
  padding: .55rem 1.2rem;
  border-radius: 99px;
  cursor: pointer;
  transition: all .18s;
}
.chip:hover { border-color: var(--green); color: var(--text); }
.chip.active {
  background: var(--hot-grad);
  color: #14100b;
  border-color: transparent;
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.prod-card {
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.prod-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 168, 54, .55);
  box-shadow: var(--shadow);
}
.prod-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #fff;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.prod-media svg { width: 46%; height: auto; }
.prod-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: .6rem;
  transition: transform .35s ease;
}
.prod-card:hover .prod-media img { transform: scale(1.06); }
.prod-media .tag {
  position: absolute;
  top: .8rem; left: .8rem;
  z-index: 2;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green);
  padding: .3rem .75rem;
  border-radius: 99px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.prod-body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.prod-body h3 { font-size: 1.28rem; margin-bottom: .4rem; letter-spacing: .04em; }
.prod-body p { font-size: .88rem; color: var(--muted); flex: 1; margin-bottom: 1.1rem; }
.prod-body .prod-link {
  font-size: .85rem;
  font-weight: 800;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: gap .18s;
}
.prod-card:hover .prod-link { gap: .8rem; color: var(--leaf); }
.prod-card.hidden { display: none; }

/* ---------- process line (engineering-schematic wireframe) ---------- */
#process {
  background-image:
    linear-gradient(rgba(151, 164, 180, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 164, 180, .05) 1px, transparent 1px);
  background-size: 46px 46px;
}
.line-flow {
  --gx: 2.4rem;   /* column gap = horizontal connector length */
  --gy: 2.8rem;   /* row gap = vertical connector length */
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gy) var(--gx);
}
.line-step {
  position: relative;
  border: 1.5px dashed rgba(151, 164, 180, .4);
  background: rgba(18, 24, 33, .55);
  border-radius: 4px;
  padding: 1.4rem 1.3rem 1.3rem;
  transition: border-color .2s, background .2s;
}
.line-step:hover { border-color: var(--green); background: rgba(18, 24, 33, .9); }
/* green corner brackets, drafting-style */
.line-step::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  background:
    linear-gradient(var(--green), var(--green)) top left / 16px 2px,
    linear-gradient(var(--green), var(--green)) top left / 2px 16px,
    linear-gradient(var(--green), var(--green)) top right / 16px 2px,
    linear-gradient(var(--green), var(--green)) top right / 2px 16px,
    linear-gradient(var(--green), var(--green)) bottom left / 16px 2px,
    linear-gradient(var(--green), var(--green)) bottom left / 2px 16px,
    linear-gradient(var(--green), var(--green)) bottom right / 16px 2px,
    linear-gradient(var(--green), var(--green)) bottom right / 2px 16px;
  background-repeat: no-repeat;
}
.ls-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.ls-num {
  width: 40px; height: 40px;
  border: 1.5px dashed var(--green);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Consolas, "Courier New", monospace;
  font-weight: 700;
  font-size: .95rem;
  color: var(--green);
}
.ls-icon { width: 30px; height: 30px; color: var(--muted); transition: color .2s; }
.line-step:hover .ls-icon { color: var(--green); }
.line-step h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: .05em;
  margin-bottom: .35rem;
  text-transform: uppercase;
}
.line-step p { font-size: .82rem; color: var(--muted); }

/* serpentine layout: row 1 flows left-to-right, row 2 flows back right-to-left */
.line-step:nth-child(5) { grid-area: 2 / 4; }
.line-step:nth-child(6) { grid-area: 2 / 3; }
.line-step:nth-child(7) { grid-area: 2 / 2; }
.line-step:nth-child(8) { grid-area: 2 / 1; }

/* animated dashed conveyor connectors with arrowheads */
.conn { position: absolute; pointer-events: none; }
.conn-right, .conn-left {
  top: 50%;
  margin-top: -1px;
  width: var(--gx);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--green) 0 7px, transparent 7px 14px);
  background-size: 14px 2px;
  animation: convey .8s linear infinite;
}
.conn-right { right: calc(-1 * var(--gx)); }
.conn-left { left: calc(-1 * var(--gx)); animation-direction: reverse; }
.conn-down {
  left: 50%;
  margin-left: -1px;
  bottom: calc(-1 * var(--gy));
  width: 2px;
  height: var(--gy);
  background: repeating-linear-gradient(180deg, var(--green) 0 7px, transparent 7px 14px);
  background-size: 2px 14px;
  animation: convey-v .8s linear infinite;
}
.conn::after { content: ""; position: absolute; }
.conn-right::after {
  right: -2px; top: 50%;
  transform: translateY(-50%);
  border-left: 8px solid var(--green);
  border-block: 5px solid transparent;
}
.conn-left::after {
  left: -2px; top: 50%;
  transform: translateY(-50%);
  border-right: 8px solid var(--green);
  border-block: 5px solid transparent;
}
.conn-down::after {
  bottom: -2px; left: 50%;
  transform: translateX(-50%);
  border-top: 8px solid var(--green);
  border-inline: 5px solid transparent;
}
@keyframes convey { to { background-position: 14px 0; } }
@keyframes convey-v { to { background-position: 0 14px; } }

/* ---------- turnkey plant setup ---------- */
.plant-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.plant-lead { color: var(--muted); margin: 1rem 0 1.5rem; max-width: 32rem; }
.plant-lead strong { color: var(--text); }
.plant-check { display: grid; gap: .6rem; margin-bottom: 2rem; }
.plant-check li { display: flex; align-items: flex-start; gap: .65rem; font-size: .95rem; }
.plant-check li::before {
  content: "✓";
  flex: none;
  width: 21px; height: 21px;
  margin-top: .12rem;
  border: 1.5px solid rgba(46, 168, 54, .6);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .68rem;
  font-weight: 800;
  color: var(--green);
}
.phase-rail { position: relative; display: flex; flex-direction: column; }
.phase-rail::before {                 /* dashed rail linking the phase numbers */
  content: "";
  position: absolute;
  left: 23px;
  top: 30px;
  bottom: 30px;
  width: 2px;
  background: repeating-linear-gradient(180deg, rgba(151, 164, 180, .45) 0 6px, transparent 6px 12px);
}
.phase {
  position: relative;
  display: flex;
  gap: 1.25rem;
  padding: .95rem 0;
}
.phase-num {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--steel-2);
  border: 1.5px dashed var(--line);
  display: grid;
  place-items: center;
  font-family: Consolas, "Courier New", monospace;
  font-weight: 700;
  font-size: .95rem;
  color: var(--green);
  transition: border-color .2s, box-shadow .2s;
}
.phase:hover .phase-num {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(46, 168, 54, .15);
}
.phase h3 { font-size: 1.2rem; margin-bottom: .25rem; }
.phase p { font-size: .86rem; color: var(--muted); }

/* ---------- GridElectra IIoT ---------- */
.iiot { position: relative; overflow: hidden; }
.iiot::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(680px 380px at 88% 8%, rgba(46, 168, 54, .14), transparent 62%),
    radial-gradient(520px 320px at 4% 92%, rgba(126, 231, 135, .06), transparent 60%);
  pointer-events: none;
}
.iiot .wrap { position: relative; z-index: 1; }
.iiot-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}
.ge-word {
  font-family: "Poppins", var(--font-body);
  font-weight: 300;
  font-size: 2.1rem;
  letter-spacing: .01em;
  line-height: 1;
  margin: .3rem 0 .1rem;
}
.ge-word b { font-weight: 600; color: var(--green); }
.iiot-lead { color: var(--muted); margin: 1rem 0 1.4rem; max-width: 33rem; }
.iiot-lead strong { color: var(--text); }
.iiot-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem;
  margin-bottom: 2rem;
}
.iiot-feat {
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.05rem 1.1rem;
  transition: border-color .2s, transform .2s;
}
.iiot-feat:hover { border-color: rgba(46, 168, 54, .5); transform: translateY(-3px); }
.iiot-feat .fi {
  width: 38px; height: 38px;
  border-radius: 9px;
  background: rgba(46, 168, 54, .12);
  border: 1px solid rgba(46, 168, 54, .3);
  display: grid;
  place-items: center;
  margin-bottom: .7rem;
}
.iiot-feat .fi svg { width: 20px; height: 20px; stroke: var(--green); }
.iiot-feat h4 { font-family: var(--font-body); font-size: .98rem; font-weight: 700; margin-bottom: .2rem; text-transform: none; letter-spacing: 0; }
.iiot-feat p { font-size: .8rem; color: var(--muted); }

/* dashboard device frame */
.dash-frame {
  position: relative;
  background: linear-gradient(160deg, #10161f, #0b0f14);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: .7rem;
  box-shadow: var(--shadow), 0 0 0 1px rgba(46, 168, 54, .12);
}
.dash-frame::after {                   /* soft scan glow */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(46, 168, 54, .06), transparent 30%);
  pointer-events: none;
}
.dash-frame svg { width: 100%; height: auto; display: block; border-radius: 12px; }
.iiot-note {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 1rem;
}
.iiot-note .live {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.8s ease infinite;
}

/* ---------- why us ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
}
.why-item {
  display: flex;
  gap: 1.1rem;
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color .2s;
}
.why-item:hover { border-color: rgba(46, 168, 54, .45); }
.why-item .why-icon {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 10px;
  background: rgba(46, 168, 54, .12);
  border: 1px solid rgba(46, 168, 54, .3);
  display: grid;
  place-items: center;
}
.why-item svg { width: 24px; height: 24px; stroke: var(--green); }
.why-item h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.why-item p { font-size: .88rem; color: var(--muted); }

/* ---------- about ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-copy p { color: var(--muted); margin-bottom: 1rem; }
.about-copy p strong { color: var(--text); }
.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.6rem;
}
.fact {
  border-left: 3px solid var(--green);
  background: var(--steel-2);
  border-radius: 0 10px 10px 0;
  padding: .9rem 1.1rem;
}
.fact b { display: block; font-size: .95rem; }
.fact span { font-size: .78rem; color: var(--muted); }
.about-art {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.about-art svg { width: 100%; height: auto; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}
.contact-cards { display: grid; gap: 1rem; }
.contact-card {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  transition: border-color .2s, transform .2s;
}
.contact-card:hover { border-color: rgba(46, 168, 54, .5); transform: translateX(6px); }
.contact-card .cc-icon {
  flex: none;
  width: 46px; height: 46px;
  border-radius: 10px;
  background: rgba(46, 168, 54, .12);
  border: 1px solid rgba(46, 168, 54, .3);
  display: grid;
  place-items: center;
}
.contact-card svg { width: 22px; height: 22px; stroke: var(--green); }
.contact-card b { display: block; font-size: .95rem; }
.contact-card span { font-size: .82rem; color: var(--muted); word-break: break-word; }

.quote-form {
  background: var(--steel-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.quote-form h3 { font-size: 1.6rem; margin-bottom: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .4rem;
}
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--ink);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  padding: .8rem 1rem;
  transition: border-color .18s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
}
.form-note { font-size: .78rem; color: var(--muted); margin-top: .8rem; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(700px 300px at 50% -30%, rgba(46, 168, 54, .25), transparent 70%),
    var(--steel);
  border-block: 3px solid transparent;
  border-image: var(--hazard) 3;
  text-align: center;
  padding: 4.5rem 0;
}
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: .8rem; }
.cta-band p { color: var(--muted); max-width: 40rem; margin: 0 auto 1.8rem; }

/* ---------- footer ---------- */
footer {
  background: #080b0f;
  border-top: 1px solid var(--line);
  padding: 3.5rem 0 0;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}
.foot-grid h4 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--leaf);
}
.foot-grid p, .foot-grid a { font-size: .88rem; color: var(--muted); }
.foot-grid li { margin-bottom: .55rem; }
.foot-grid a:hover { color: var(--leaf); }
.foot-bottom {
  border-top: 1px solid var(--line);
  padding: 1.2rem 0;
  font-size: .8rem;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---------- reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(700px 300px at 80% -20%, rgba(46, 168, 54, .18), transparent 65%),
    var(--steel);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(151, 164, 180, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(151, 164, 180, .06) 1px, transparent 1px);
  background-size: 46px 46px;
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-top: .5rem; }
.page-hero p { color: var(--muted); max-width: 44rem; margin-top: .7rem; }

/* whatsapp float */
.wa-float {
  position: fixed;
  right: 1.4rem; bottom: 1.4rem;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #22c55e;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(34, 197, 94, .4);
  transition: transform .18s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 480px; margin-inline: auto; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  /* process flow collapses to a vertical timeline: every connector points down */
  .line-flow { grid-template-columns: 1fr; }
  .line-step:nth-child(5),
  .line-step:nth-child(6),
  .line-step:nth-child(7),
  .line-step:nth-child(8) { grid-area: auto; }
  .conn-right, .conn-left {
    top: auto; right: auto; margin-top: 0;
    left: 50%; margin-left: -1px;
    bottom: calc(-1 * var(--gy));
    width: 2px; height: var(--gy);
    background: repeating-linear-gradient(180deg, var(--green) 0 7px, transparent 7px 14px);
    background-size: 2px 14px;
    animation-name: convey-v;
    animation-direction: normal;
  }
  .conn-right::after, .conn-left::after {
    border: 0;
    border-top: 8px solid var(--green);
    border-inline: 5px solid transparent;
    right: auto; top: auto;
    bottom: -2px; left: 50%;
    transform: translateX(-50%);
  }
  .about-grid, .contact-grid, .plant-grid, .iiot-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* 1080px, not 920: at the larger root font size the 7 nav links + CTA need
   ~945px, so the bar must collapse to the hamburger before it can overflow. */
@media (max-width: 1080px) {
  /* backdrop-filter would make .nav the containing block for the
     fixed fullscreen menu, so use a solid background instead */
  .nav { backdrop-filter: none; background: rgba(11, 15, 20, .98); }
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(11, 15, 20, .97);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: none; }
  .nav-links a { font-size: 1.3rem; }
  .nav .btn-hot { display: none; }
}

@media (max-width: 640px) {
  section { padding: 3.8rem 0; }
  .cat-grid, .prod-grid, .line-flow, .why-grid, .form-row, .iiot-features { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .topbar .wrap { justify-content: center; }
  .topbar-item.hide-sm { display: none; }
}
