:root {
  --indigo: #4f46e5;
  --blue: #2563eb;
  --cyan: #06b6d4;
  --teal: #0d9488;
  --slate-950: #0f172a;
  --slate-900: #111827;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;
  --yellow: #fde047;
  --green: #22c55e;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 12px 32px rgba(15, 23, 42, 0.08);
  --radius-xl: 18px;
  --radius-lg: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--slate-50);
  color: var(--slate-900);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(16px);
}

.nav {
  align-items: center;
  display: flex;
  gap: 24px;
  height: 68px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px;
}

.brand {
  align-items: center;
  color: var(--indigo);
  display: inline-flex;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--indigo), var(--cyan));
  border-radius: 10px;
  color: var(--white);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  margin-right: 10px;
  width: 34px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--slate-600);
}

.nav-links a:hover {
  color: var(--indigo);
}

.nav-cta {
  background: var(--indigo);
  border-radius: 14px;
  color: var(--white);
  display: inline-flex;
  font-weight: 800;
  padding: 10px 16px;
}

.nav-cta:hover {
  background: #4338ca;
}

.hero,
.page-hero {
  background: linear-gradient(115deg, #4f46e5 0%, #2563eb 52%, #06b6d4 100%);
  color: var(--white);
  overflow: hidden;
  position: relative;
}

.hero::before,
.page-hero::before {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 255, 255, 0.18), transparent 28%),
    radial-gradient(circle at 78% 22%, rgba(255, 255, 255, 0.16), transparent 32%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.hero-inner,
.page-hero-inner,
.section-inner {
  margin: 0 auto;
  max-width: 1180px;
  padding-left: 24px;
  padding-right: 24px;
  position: relative;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  padding-bottom: 88px;
  padding-top: 88px;
}

.page-hero-inner {
  padding-bottom: 78px;
  padding-top: 76px;
  text-align: center;
}

.eyebrow {
  align-items: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: inline-flex;
  gap: 9px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 22px;
  padding: 8px 13px;
}

.pulse {
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  width: 8px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
  margin: 0;
  max-width: 900px;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 620px;
}

.highlight {
  color: var(--yellow);
}

.hero-copy,
.page-copy {
  color: #dbeafe;
  font-size: 20px;
  line-height: 1.72;
  margin-top: 24px;
  max-width: 720px;
}

.page-copy {
  margin-left: auto;
  margin-right: auto;
}

.hero-actions,
.center-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.center-actions {
  justify-content: center;
}

.btn {
  align-items: center;
  border-radius: 16px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--white);
  color: var(--indigo);
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: #eef2ff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-solid {
  background: var(--indigo);
  color: var(--white);
}

.btn-solid:hover {
  background: #4338ca;
}

.btn-outline {
  border: 2px solid var(--indigo);
  color: var(--indigo);
}

.btn-outline:hover {
  background: #eef2ff;
}

.hero-bullets {
  color: #c7d2fe;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
  font-weight: 700;
  margin-top: 28px;
}

.hero-bullets span::before {
  color: var(--green);
  content: "✓";
  font-weight: 900;
  margin-right: 7px;
}

.hero-media {
  position: relative;
}

.hero-media img {
  aspect-ratio: 16 / 10;
  border-radius: 26px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.28);
  object-fit: cover;
  width: 100%;
}

.proof-card {
  align-items: center;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: var(--slate-900);
  display: flex;
  gap: 14px;
  left: -18px;
  padding: 16px;
  position: absolute;
  bottom: -22px;
}

.proof-icon {
  align-items: center;
  background: #dcfce7;
  border-radius: 999px;
  color: #16a34a;
  display: inline-flex;
  font-weight: 900;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.proof-title {
  font-weight: 900;
}

.proof-text {
  color: var(--slate-500);
  font-size: 13px;
}

.stats {
  background: var(--white);
  border-bottom: 1px solid var(--slate-200);
}

.stats-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1180px;
  padding: 30px 24px;
  text-align: center;
}

.stat-number {
  color: var(--indigo);
  font-size: 31px;
  font-weight: 900;
}

.stat-label {
  color: var(--slate-600);
  font-size: 14px;
  margin-top: 4px;
}

.section {
  padding: 82px 0;
}

.section-white {
  background: var(--white);
}

.section-soft {
  background: var(--slate-50);
}

.section-gradient-soft {
  background: linear-gradient(135deg, #eef2ff, #ecfeff);
}

.section-kicker {
  color: var(--indigo);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
  margin: 0;
}

.section-lead {
  color: var(--slate-600);
  font-size: 18px;
  line-height: 1.75;
  margin-top: 16px;
  max-width: 760px;
}

.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mt-36 {
  margin-top: 36px;
}

.mt-48 {
  margin-top: 48px;
}

.card {
  background: var(--white);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 28px;
}

.card.featured {
  border: 2px solid var(--indigo);
  box-shadow: var(--shadow);
  position: relative;
}

.tag {
  background: var(--indigo);
  border-radius: 0 0 0 12px;
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  padding: 6px 12px;
  position: absolute;
  right: 0;
  top: 0;
}

.icon-box {
  align-items: center;
  background: #eef2ff;
  border-radius: 14px;
  color: var(--indigo);
  display: inline-flex;
  font-size: 14px;
  font-weight: 900;
  height: 54px;
  justify-content: center;
  margin-bottom: 18px;
  width: 54px;
}

.icon-blue {
  background: #dbeafe;
  color: #1d4ed8;
}

.icon-cyan {
  background: #cffafe;
  color: #0891b2;
}

.icon-teal {
  background: #ccfbf1;
  color: #0f766e;
}

.card h3 {
  font-size: 22px;
  line-height: 1.24;
  margin: 0 0 10px;
}

.card p,
.article p {
  color: var(--slate-600);
}

.check-list,
.plain-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}

.check-list li,
.plain-list li {
  color: var(--slate-700);
  display: flex;
  gap: 11px;
}

.check-list li::before {
  color: var(--green);
  content: "✓";
  flex: 0 0 auto;
  font-weight: 900;
}

.plain-list li::before {
  color: var(--indigo);
  content: "-";
  flex: 0 0 auto;
  font-weight: 900;
}

.card-link {
  color: var(--indigo);
  display: inline-flex;
  font-weight: 900;
  margin-top: 22px;
}

.split {
  align-items: center;
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.panel-top {
  background: linear-gradient(135deg, var(--slate-950), #1d4ed8);
  color: var(--white);
  padding: 24px;
}

.panel-body {
  padding: 24px;
}

.metric-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 16px;
}

.metric strong {
  color: var(--indigo);
  display: block;
  font-size: 24px;
}

.metric span {
  color: var(--slate-600);
  font-size: 13px;
}

.steps {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step {
  text-align: center;
}

.step-number {
  align-items: center;
  background: var(--indigo);
  border-radius: 18px;
  color: var(--white);
  display: inline-flex;
  font-size: 24px;
  font-weight: 900;
  height: 62px;
  justify-content: center;
  margin-bottom: 16px;
  width: 62px;
}

.step:nth-child(2) .step-number {
  background: var(--blue);
}

.step:nth-child(3) .step-number {
  background: var(--cyan);
}

.step:nth-child(4) .step-number {
  background: var(--teal);
}

.step h3 {
  margin: 0 0 8px;
}

.step p {
  color: var(--slate-600);
  font-size: 15px;
}

.cta-band {
  background: linear-gradient(115deg, #4f46e5, #2563eb 55%, #06b6d4);
  border-radius: 24px;
  color: var(--white);
  padding: 42px;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: #dbeafe;
  margin-top: 12px;
  max-width: 720px;
}

.form-card {
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.2);
  color: var(--slate-900);
  padding: 34px;
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  color: var(--slate-700);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  color: var(--slate-900);
  font: inherit;
  padding: 12px 14px;
  width: 100%;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.16);
  outline: 0;
}

.hidden {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 1px;
}

.faq-list {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
  padding: 24px;
}

.faq-item h3 {
  margin: 0 0 8px;
}

.faq-item p {
  color: var(--slate-600);
}

.article {
  background: var(--white);
}

.article-inner {
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 1fr) 310px;
  margin: 0 auto;
  max-width: 1180px;
  padding: 72px 24px;
}

.article-main {
  max-width: 780px;
  min-width: 0;
}

.article-main h2 {
  font-size: 32px;
  margin: 42px 0 12px;
}

.article-main h3 {
  font-size: 23px;
  margin: 28px 0 10px;
}

.article-main p,
.article-main li {
  color: var(--slate-600);
  font-size: 17px;
}

.article-main ul,
.article-main ol {
  display: grid;
  gap: 10px;
}

.sidebar {
  align-self: start;
  min-width: 0;
  position: sticky;
  top: 92px;
}

.sidebar-card {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  padding: 22px;
}

.sidebar-card h3 {
  margin-top: 0;
}

.mini-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.mini-links a {
  color: var(--indigo);
  font-weight: 800;
}

.table-wrap {
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  overflow-x: auto;
  max-width: 100%;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th,
td {
  border-bottom: 1px solid var(--slate-200);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--slate-50);
  color: var(--slate-900);
}

tr:last-child td {
  border-bottom: 0;
}

.footer {
  background: var(--slate-950);
  color: #cbd5e1;
  padding: 48px 0;
}

.footer-inner {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 24px;
}

.footer h3,
.footer h4 {
  color: var(--white);
  margin: 0 0 12px;
}

.footer p,
.footer a {
  color: #cbd5e1;
  font-size: 14px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer a:hover {
  color: var(--white);
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    height: auto;
    padding-bottom: 16px;
    padding-top: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero-inner,
  .split,
  .article-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    padding-top: 64px;
  }

  .hero h1 {
    max-width: 760px;
  }

  .grid-4,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .stats-grid,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .brand {
    font-size: 20px;
  }

  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .nav-links {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .nav-links a {
    background: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 12px;
    padding: 8px 10px;
    text-align: center;
  }

  .hero h1,
  .page-hero h1 {
    font-size: 38px;
    overflow-wrap: break-word;
  }

  .hero-inner,
  .page-hero-inner,
  .section-inner,
  .article-inner {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-inner {
    gap: 36px;
    padding-bottom: 66px;
    padding-top: 52px;
  }

  .hero-copy,
  .page-copy {
    font-size: 17px;
  }

  .hero-actions,
  .center-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .proof-card {
    left: 14px;
    right: 14px;
  }

  .stats-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .steps,
  .metric-row,
  .form-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .card,
  .form-card,
  .cta-band {
    padding: 24px;
  }
}

/* Distinct CNC identity: keep the CFT clarity, shift the look to machine-tool procurement. */
:root {
  --indigo: #1f4f7a;
  --blue: #1d6f8f;
  --cyan: #2aa7a2;
  --teal: #167d77;
  --amber: #f59e0b;
  --amber-soft: #fff7ed;
  --yellow: #fbbf24;
  --radius-xl: 10px;
  --radius-lg: 8px;
}

body {
  background: #f6f7f9;
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #d8dee8;
  backdrop-filter: blur(14px);
}

.brand {
  color: #14213d;
}

.brand-mark {
  background: linear-gradient(135deg, #14213d, #1d6f8f);
  border-radius: 8px;
}

.nav-links {
  color: #354052;
}

.nav-links a:hover {
  color: var(--blue);
}

.nav-cta {
  background: var(--amber);
  border-radius: 8px;
  color: #111827;
}

.nav-cta:hover {
  background: #d97706;
  color: var(--white);
}

.hero {
  background:
    linear-gradient(90deg, rgba(10, 18, 32, 0.94) 0%, rgba(10, 18, 32, 0.78) 49%, rgba(10, 18, 32, 0.24) 100%),
    url("images/cnc-machining-center-hero.jpg") center / cover no-repeat;
  min-height: 680px;
}

.hero::before {
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.7;
}

.hero-inner {
  display: flex;
  min-height: 680px;
  padding-bottom: 72px;
  padding-top: 72px;
}

.hero h1 {
  max-width: 720px;
  text-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.hero-copy {
  color: #e2e8f0;
}

.hero-bullets {
  color: #e5e7eb;
}

.hero-bullets span::before,
.check-list li::before {
  color: var(--amber);
}

.page-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 253, 250, 0.92)),
    linear-gradient(90deg, transparent 0, transparent 31px, rgba(20, 33, 61, 0.08) 32px),
    linear-gradient(transparent 0, transparent 31px, rgba(20, 33, 61, 0.08) 32px);
  background-size: auto, 32px 32px, 32px 32px;
  border-bottom: 1px solid #d8dee8;
  color: var(--slate-900);
}

.page-hero::before {
  background: linear-gradient(90deg, var(--amber), var(--cyan));
  height: 4px;
  opacity: 1;
}

.eyebrow {
  border-radius: 8px;
}

.page-hero .eyebrow {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.28);
  color: #7c2d12;
}

.page-copy {
  color: var(--slate-600);
}

.btn,
.nav-cta,
input,
select,
textarea,
.faq-item,
.sidebar-card,
.table-wrap {
  border-radius: 8px;
}

.btn-primary {
  background: var(--amber);
  color: #111827;
}

.btn-primary:hover {
  background: #d97706;
  color: var(--white);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.btn-solid {
  background: #14213d;
}

.btn-solid:hover {
  background: var(--blue);
}

.btn-outline {
  border-color: var(--blue);
  color: var(--blue);
}

.stats {
  background: #14213d;
  border-bottom: 1px solid #24324f;
  color: var(--white);
}

.stat-number {
  color: var(--amber);
}

.stat-label {
  color: #cbd5e1;
}

.section-gradient-soft {
  background: linear-gradient(135deg, #fff7ed, #ecfeff);
}

.section-kicker {
  color: #b45309;
}

.card {
  border-radius: 10px;
  position: relative;
}

.card::before {
  background: linear-gradient(180deg, var(--amber), var(--cyan));
  border-radius: 10px 0 0 10px;
  bottom: 18px;
  content: "";
  left: 0;
  opacity: 0;
  position: absolute;
  top: 18px;
  width: 3px;
}

.card:hover::before,
.card.featured::before {
  opacity: 1;
}

.card.featured {
  border-color: var(--amber);
}

.tag {
  background: #14213d;
  border-radius: 0 0 0 8px;
}

.icon-box {
  background: var(--amber-soft);
  border: 1px solid #fed7aa;
  border-radius: 8px;
  color: #b45309;
}

.icon-blue {
  background: #e0f2fe;
  color: #036986;
}

.icon-cyan,
.icon-teal {
  color: #0f766e;
}

.plain-list li::before,
.card-link,
.mini-links a {
  color: var(--blue);
}

.panel-top {
  background:
    linear-gradient(135deg, #14213d, #1d6f8f),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
}

.metric {
  border-radius: 8px;
}

.metric strong {
  color: #b45309;
}

.step-number {
  background: #14213d;
  border-radius: 8px;
}

.step:nth-child(3) .step-number {
  background: var(--teal);
}

.step:nth-child(4) .step-number {
  background: var(--amber);
  color: #111827;
}

.cta-band {
  background:
    linear-gradient(90deg, rgba(20, 33, 61, 0.96), rgba(20, 33, 61, 0.82)),
    url("images/cnc-machining-center-hero.jpg") center / cover no-repeat;
  border-radius: 10px;
}

.form-card {
  border: 1px solid #d8dee8;
  border-radius: 10px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29, 111, 143, 0.16);
}

.footer {
  background: #101828;
}

@media (max-width: 680px) {
  .nav-links a {
    border-radius: 8px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: 620px;
  }
}
