:root {
  --ink: #111827;
  --steel: #334155;
  --muted: #64748b;
  --line: #d6dee8;
  --light: #f8fafc;
  --panel: #ffffff;
  --machine: #0b0f19;
  --blue: #c50710;
  --blue-dark: #c50710;
  --orange: #f97316;
  --shadow: 0 22px 60px rgba(15, 23, 42, .14);
  --radius: 24px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--light);
  line-height: 1.6;
}
a { color: inherit; }
img, svg { max-width: 100%; height: auto; }
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 999;
  background: #fff;
  color: #000;
  padding: .75rem 1rem;
  border-radius: .5rem;
}
.skip-link:focus { top: 1rem; outline: 3px solid var(--orange); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(248, 250, 252, .93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(148, 163, 184, .35);
}
.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: .85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-nav a.active-link {
  color: #c50710;
  position: relative;
}

.site-nav a.active-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: #c50710;
  border-radius: 2px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .02em;
}
.logo-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(135deg, var(--machine), var(--blue));
  box-shadow: 0 12px 30px rgba(37, 99, 235, .25);
}
.logo span:last-child { font-size: 1rem; }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  padding: .65rem .75rem;
  font-weight: 700;
}
.nav-toggle:focus-visible, .site-nav a:focus-visible, .button:focus-visible, .card:focus-within {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.site-nav a {
  display: inline-block;
  padding: .7rem .85rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--steel);
  font-weight: 700;
  font-size: .94rem;
	  transition: color .25s ease;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { background: #e8eef7; color: var(--machine); }
.site-nav .quote-link { background: var(--blue); color: #fff; }
.site-nav .quote-link:hover { background: var(--blue-dark); color: #fff; }

main { overflow: hidden; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 1rem; }
.section { padding: 5rem 0; }
.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.hero-image-panel {
  position: relative;
  min-height: 560px;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
}


.machine-card span {
  color: #dbeafe;
}


.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 800;
  color: var(--blue-dark);
  font-size: .78rem;
}
h1, h2, h3 { line-height: 1.1; margin: 0 0 1rem; color: var(--machine); }
h1 { font-size: clamp(2.35rem, 6vw, 5.35rem); letter-spacing: -.06em; }
h2 { font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
p { margin: 0 0 1rem; }
.lead { font-size: clamp(1.08rem, 2vw, 1.3rem); color: #dce8f9; max-width: 680px; }
.dark-lead { color: var(--steel); font-size: 1.12rem; max-width: 720px; }

.hero {
  position: relative;
  color: #fff;

  background:
    linear-gradient(
      90deg,
      rgba(197, 7, 16, .92) 0%,
      rgba(17, 24, 39, .72) 42%,
      rgba(17, 24, 39, .62) 100%
    ),
    linear-gradient(
      to bottom,
      rgba(17, 24, 39, .25),
      rgba(17, 24, 39, .9)
    ),
    url("../images/hero-machine.jpg");

  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;

  isolation: isolate;

  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from {
    background-size: 100%;
  }

  to {
    background-size: 106%;
  }
}

.hero-copy {
  max-width: 770px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 110px;
  background: var(--light);
  clip-path: polygon(0 78%, 48% 35%, 100% 65%, 100% 100%, 0 100%);
  z-index: 1;
}
.hero-grid {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  align-items: center;
  gap: 3rem;
  padding: 5rem 1rem 8rem;
  position: relative;
  z-index: 2;
}

.hero h1 { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: .85rem 1.15rem;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  border: 2px solid transparent;
}
.button.primary { background: var(--orange); color: #111827; }
.button.secondary { border-color: rgba(255,255,255,.45); color: #fff; }
.button.dark { background: var(--machine); color: #fff; }
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.phone-button {
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
  transition: background .2s ease, transform .2s ease;
}

.phone-button:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
}
.precision-panel {
  position: relative;
  min-height: 520px;
  border-radius: 38px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.08), rgba(255,255,255,.025)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 32px);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.precision-panel::before {
  content: "";
  position: absolute;

  width: min(70vw, 360px);
  height: min(70vw, 360px);

  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  border: 30px solid rgba(197, 7, 16, .42);
  border-top-color: rgba(180, 180, 180, .65);

  border-radius: 50%;
  animation: slowspin 18s linear infinite;
}
.precision-panel::after {
  content: "± .001";
  position: absolute;
  right: 1.3rem;
  bottom: 1rem;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 900;
  letter-spacing: -.08em;
  color: rgba(255,255,255,.14);
}
.machine-card {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  max-width: 350px;
  padding: 1.25rem;
  border-radius: 22px;
  background: rgba(15, 23, 42, .82);
  border: 1px solid rgba(255,255,255,.18);
}
.machine-card strong { display: block; color: #fff; font-size: 1.65rem; }
.machine-card span { color: #fff; }
@keyframes slowspin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .precision-panel::before { animation: none; }
}

.stats-strip {
  margin-top: -4rem;
  position: relative;
  z-index: 4;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--line);
}
.stat {
  background: #fff;
  padding: 1.5rem;
}
.stat strong { display: block; font-size: 1.7rem; color: var(--machine); }
.stat span { color: var(--muted); font-weight: 700; }

.grid { display: grid; gap: 1.25rem; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.two { grid-template-columns: repeat(2, 1fr); align-items: start; }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: 0 16px 40px rgba(15,23,42,.07);
}
.card-number {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: #e0ecff;
  color: var(--blue-dark);
  font-weight: 900;
  margin-bottom: 1rem;
}
.dark-band {
  background: var(--machine);
  color: #e5e7eb;
  position: relative;
}
.dark-band::before, .dark-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0 50%, rgba(100,116,139,.12) 50% 64%, transparent 64%);
  pointer-events: none;
}

.materials-panel {
  margin-top: 4rem;
  padding: 2rem;
  background: #efefef;

  border-radius: 18px;
}

.materials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin-top: 1.5rem;
  list-style: none;
}

.materials-list li {
  background: white;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 600;
	  border: 1px solid #d9d9d9;
}
.dark-band h2, .dark-band h3 { color: #fff; }
.dark-band .card { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); box-shadow: none; }
.dark-band .eyebrow { color: #d6dee8; }

.process {
  counter-reset: step;
  display: grid;
  gap: 1rem;

  padding-left: 0;
  margin-left: 0;
}
.process li {
  list-style: none;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.35rem;

  border-radius: 22px;
  background: #fff;

  border: 1px solid rgba(15, 23, 42, 0.08);

  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.035);

  transition: transform .2s ease, box-shadow .2s ease;
}
.process li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-weight: 900;
  color: var(--orange);
}
.feature-panel {
  min-height: 420px;
  border-radius: 36px;  
  border: 0px solid var(--line);
  position: relative;
  overflow: hidden;
	padding:20px;
}
.feature-panel img {
  border-radius: 20px;
  display: block;
  width: 100%;
	margin-bottom:10px;
}
.feature-panel::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -60px;
  top: -50px;
}
.cta {
  background: linear-gradient(135deg, #fff, #eaf2ff);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow);
}
#contact .cta {
  position: relative;
  margin-top: -3rem;
}
.page-hero {
  background: linear-gradient(135deg, #eaf2ff, #fff);
  padding: 5.5rem 0 4rem;
  border-bottom: 1px solid var(--line);
}
.breadcrumb { color: var(--muted); font-weight: 700; margin-bottom: 1rem; }
.breadcrumb a { color: var(--blue-dark); }
.spec-list { margin: 0; padding: 0; list-style: none; display: grid; gap: .75rem; }
.spec-list li { padding-left: 1.5rem; position: relative; }
.spec-list li::before { content: ""; width: .55rem; height: .55rem; background: var(--orange); border-radius: 50%; position: absolute; left: 0; top: .55rem; }

.site-footer {
  background: #070b13;
  color: #cbd5e1;
  padding: 3rem 0;
}
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 2rem; }
.site-footer a { color: #fff; }
.footer-title { color: #fff; font-weight: 900; font-size: 1.2rem; }


.applications-section {
  background: #f4f7fb;
}

.applications-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 4rem;
  align-items: stretch;
}

.applications-copy h2 {
  max-width: 760px;
}

.applications-copy .dark-lead {
  max-width: 780px;
}

.applications-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin-top: 2rem;
}

.application-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .1);
  border-radius: 18px;
  padding: 1.25rem 1.4rem;
  box-shadow: 0 16px 35px rgba(15, 23, 42, .06);
}

.application-card h3 {
  margin: 0 0 .35rem;
  font-size: 1.25rem;
}

.application-card p {
  margin: 0;
  color: #23314a;
  line-height: 1.55;
}

.applications-visual {
  position: relative;
  min-height: 620px;
  border-radius: 28px;
  overflow: hidden;
	background:
linear-gradient(rgba(7,13,26,.86), rgba(7,13,26,.88)),
url("../images/application.jpg") center right / cover no-repeat;

  box-shadow: 0 28px 60px rgba(15, 23, 42, .22);
}


.applications-visual::before {
  content: "CNC";
  position: absolute;
  top: 3rem;
  right: -1rem;
  font-size: 9rem;
  font-weight: 900;
  letter-spacing: .05em;
  color: rgba(255, 255, 255, .06);
}

.applications-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(192, 0, 10, .35), transparent 42%),
    repeating-linear-gradient(
      90deg,
      rgba(255,255,255,.04) 0,
      rgba(255,255,255,.04) 1px,
      transparent 1px,
      transparent 70px
    );
}

.visual-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.visual-kicker {
  color: #d6dee8;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 800;
  margin-bottom: .7rem;
}

.visual-content strong {
  display: block;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  max-width: 420px;
  margin-bottom: 1rem;
}

.visual-content p {
  max-width: 420px;
  line-height: 1.6;
  color: rgba(255,255,255,.86);
}

@media (max-width: 900px) {
  .applications-layout {
    grid-template-columns: 1fr;
  }

  .applications-visual {
    min-height: 360px;
  }
}

@media (max-width: 600px) {
  .applications-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .application-card {
    padding: 1rem;
  }

  .applications-visual {
    border-radius: 22px;
  }

  .applications-visual::before {
    font-size: 5rem;
  }
}


@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .45rem; }
  .site-nav { display: none; position: absolute; left: 1rem; right: 1rem; top: 73px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: .75rem; }
  .site-nav.is-open { display: block; }
  .site-nav ul { display: grid; gap: .15rem; }
  .site-nav a { width: 100%; border-radius: 14px; }
	.machine-card {
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2rem);
  max-width: 340px;
}
	.hero {
    background-size: cover;
    background-position: center top;
    animation: none;
  }

  .hero-grid {
    padding-top: 5rem;
    padding-bottom: 6rem;
  }
	
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 5rem; }
	  .hero-copy {
    position: relative;
    z-index: 5;
  }
	
	.cta-actions {
  width: 100%;
  justify-content: center;
}

.cta-actions .button {
  width: 100%;
  max-width: 320px;
}
  .precision-panel {
     width: 100%;
    max-width: 540px;
    min-height: 420px;
    margin: 0 auto;
  }
	 .precision-panel::before {
    width: min(78vw, 380px);
    height: min(78vw, 380px);
  }
  .grid.three, .grid.two, .stats-grid, .cta, .footer-grid { grid-template-columns: 1fr; }
  .stats-strip { margin-top: -2rem; }
  .section { padding: 3.5rem 0; }
}
