:root {
  --black: #090c0d;
  --ink: #131719;
  --white: #f7f8f6;
  --muted: #687278;
  --line: #d9dedc;
  --acid: #d7ff42;
  --soft: #edf0ee;
  --max: 1240px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
html.ccm-toolbar-visible .nav.header-navigation {
  top: 48px;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
}
a {
  text-decoration: none;
  color: inherit;
}
.wrap,
.container {
  max-width: var(--max);
  margin: auto;
  padding: 0 28px;
}
.nav.header-navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: rgba(9, 12, 13, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid #252d30;
  color: #fff;
}
.navin {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-weight: 950;
  font-size: 23px;
  letter-spacing: -0.07em;
}
.logo i {
  color: var(--acid);
  font-style: normal;
}
.links {
  display: flex;
  gap: 22px;
  font-size: 12px;
  color: #cfd5d7;
}
.links a:hover {
  color: var(--acid);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.07em;
}
.primary {
  background: var(--acid);
  color: #0a0d0e;
}
.outline {
  border: 1px solid #566167;
  color: #fff;
}
.hero {
  min-height: 860px;
  padding-top: 76px;
  color: #fff;
  background: linear-gradient(
      90deg,
      rgba(4, 6, 7, 0.96),
      rgba(4, 6, 7, 0.74) 55%,
      rgba(4, 6, 7, 0.25)
    ),
    var(--hero-bg, url("../assets/large-weld.jpg")) center/cover;
  display: flex;
  align-items: center;
}
.heroGrid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: end;
}
.eyebrow,
.kicker {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact .eyebrow,
.contact .kicker,
.hero .eyebrow,
.hero .kicker,
.dark .eyebrow,
.dark .kicker {
  color: var(--acid);
}

h1 {
  font-size: clamp(54px, 7vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.065em;
  margin: 18px 0 28px;
}
.lead {
  font-size: 20px;
  color: #d2d7d9;
  max-width: 720px;
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 35px;
}
.heroPanel {
  border: 1px solid #485359;
  background: rgba(7, 10, 11, 0.75);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.heroSpec {
  padding: 23px;
  border-right: 1px solid #3a4449;
  border-bottom: 1px solid #3a4449;
}
.heroSpec:nth-child(even) {
  border-right: 0;
}
.heroSpec:nth-last-child(-n + 2) {
  border-bottom: 0;
}
.heroSpec strong {
  display: block;
  font-size: 28px;
}
.heroSpec span {
  font-size: 9px;
  color: #9ca5aa;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.stats {
  background: var(--black);
  color: #fff;
}
.statsGrid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.stat {
  padding: 23px 14px;
  text-align: center;
  border-right: 1px solid #252d30;
}
.stat:last-child {
  border: 0;
}
.stat strong {
  font-size: 17px;
}
.stat small {
  display: block;
  color: #8e989d;
  font-size: 10px;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
section {
  padding: 110px 0;
}
.head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 50px;
  margin-bottom: 50px;
}
.head h2 {
  font-size: 50px;
  line-height: 0.98;
  letter-spacing: -0.055em;
  margin: 9px 0 0;
  max-width: 760px;
}
.head p {
  max-width: 430px;
  color: var(--muted);
}
.serviceGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.service {
  background: #fff;
  padding: 30px;
  min-height: 235px;
}
.service .num {
  font-size: 10px;
  color: #879197;
}
.service h3 {
  font-size: 22px;
  margin: 34px 0 9px;
}
.service p {
  color: #687278;
  margin: 0;
}
.dark {
  background: var(--black);
  color: #fff;
}
.dark .head p {
  color: #a0a9ad;
}
.machineSection {
  background: var(--soft);
}
.machineGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.machine {
  background: #fff;
  border: 1px solid #d7dcda;
  padding: 27px;
}
.machine strong {
  font-size: 18px;
}
.machine p {
  font-size: 13px;
  color: #69747a;
  margin: 8px 0 0;
}
.tag {
  display: inline-block;
  margin-top: 21px;
  border: 1px solid #cfd5d2;
  padding: 5px 8px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.qualityGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.certGrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.cert {
  border: 1px solid var(--line);
  padding: 25px;
  background: #fff;
}
.cert strong {
  font-size: 21px;
}
.cert small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 12px;
}
.pic {
  position: relative;
  overflow: hidden;
  background: #222;
}
.pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}
.pic:hover img {
  transform: scale(1.04);
}
.pic:after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}
.pic span {
  position: absolute;
  z-index: 2;
  bottom: 14px;
  left: 16px;
  color: #fff;
  font-weight: 900;
  font-size: 12px;
}
.p1 {
  grid-column: span 5;
  grid-row: span 3;
}
.p2 {
  grid-column: span 3;
  grid-row: span 2;
}
.p3 {
  grid-column: span 4;
  grid-row: span 2;
}
.p4 {
  grid-column: span 3;
  grid-row: span 3;
}
.p5 {
  grid-column: span 4;
  grid-row: span 3;
}
.p6 {
  grid-column: span 5;
  grid-row: span 2;
}
.p7 {
  grid-column: span 4;
  grid-row: span 2;
}
.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.product {
  min-height: 520px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.product:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.12));
}
.productIn {
  position: absolute;
  left: 45px;
  right: 45px;
  bottom: 40px;
  z-index: 2;
}
.product h3 {
  font-size: 48px;
  letter-spacing: -0.06em;
  margin: 9px 0;
}
.product p,
.product li {
  color: #d0d6d8;
}
.product ul {
  columns: 2;
  padding-left: 18px;
}
.exflo {
  background-image: url("../assets/tank-long.jpg");
}
.bibko {
  background-image: url("../assets/industrial-system.jpg");
}
.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--line);
}
.step {
  background: #fff;
  padding: 28px;
  min-height: 210px;
}
.step b {
  font-size: 10px;
  color: #7e888e;
}
.step h3 {
  margin: 25px 0 7px;
}
.step p {
  color: #69747a;
  font-size: 13px;
}
.contact {
  background: var(--black);
  color: #fff;
}
.contactGrid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
}
.contact h2 {
  font-size: 62px;
  line-height: 0.9;
  letter-spacing: -0.06em;
  margin: 12px 0 25px;
}
.contact p {
  color: #a2abaf;
  font-size: 18px;
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form input,
.form textarea,
.form select {
  width: 100%;
  background: #14191c;
  border: 1px solid #364047;
  color: #fff;
  padding: 15px;
  font: inherit;
  border-radius: 3px;
}
.form textarea {
  min-height: 145px;
  grid-column: 1/-1;
}
.full {
  grid-column: 1/-1;
}
.form input[type="file"] {
  padding: 12px;
}
.form button {
  border: 0;
  cursor: pointer;
}
footer {
  background: #060809;
  color: #7f898e;
  font-size: 11px;
  padding: 27px 0;
}
.foot {
  display: flex;
  justify-content: space-between;
}

@media (max-width: 950px) {
  /* Mobile Navigation layout adjustments */
  .navin {
    height: auto;
    padding: 12px 18px;
    flex-wrap: wrap;
    gap: 10px;
  }
  .links {
    display: flex;
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding: 6px 0 2px;
    gap: 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Hide scrollbar Firefox */
  }
  .links::-webkit-scrollbar {
    display: none; /* Hide scrollbar Chrome/Safari */
  }
  .links a {
    white-space: nowrap;
    font-size: 12px;
    padding: 4px 0;
  }

  .heroGrid,
  .qualityGrid,
  .contactGrid,
  .products {
    grid-template-columns: 1fr;
  }
  .statsGrid {
    grid-template-columns: 1fr 1fr;
  }
  .serviceGrid,
  .machineGrid {
    grid-template-columns: 1fr 1fr;
  }
  .head {
    display: block;
  }
  .head p {
    margin-top: 22px;
  }
  .process {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }
  .pic {
    grid-column: span 1 !important;
    grid-row: span 1 !important;
  }
  .p1 {
    grid-column: span 2 !important;
  }
  .product {
    min-height: 760px;
  }
  .certGrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .wrap,
  .container {
    padding: 12px 18px;
  }
  h1 {
    font-size: 42px;
  }
  .head h2 {
    font-size: 32px;
  }
  .serviceGrid,
  .machineGrid,
  .certGrid,
  .statsGrid {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr;
  }
  .p1 {
    grid-column: span 1 !important;
  }
  .product h3 {
    font-size: 42px;
  }
  .contact h2 {
    font-size: 38px;
  }
  .form {
    grid-template-columns: 1fr;
  }
  .full {
    grid-column: auto;
  }
  .heroPanel {
    margin-top: 20px;
  }
}