/*
Theme Name: MK Lasers Industrial
Theme URI: https://example.com
Author: MK Lasers
Author URI: https://example.com
Description: Premium-industrial, mobile-first one-page WordPress theme for industrial welding laser lead generation.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: mklasers-industrial
*/

:root {
  --ink: #101116;
  --navy: #081429;
  --navy-2: #122b58;
  --steel: #e9ecef;
  --text: #171922;
  --muted: #6e7481;
  --line: #d8dbe2;
  --white: #ffffff;
  --container: min(1150px, 92vw);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--text);
  background: #f4f5f7;
  line-height: 1.45;
  padding-bottom: 84px;
}

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

.ml-shell { width: var(--container); margin: 0 auto; }

.ml-topbar {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.ml-topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 62px;
}

.ml-logo {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

.ml-logo span { color: #1c4fb2; }

.ml-nav {
  display: none;
  gap: 20px;
  font-size: 0.9rem;
  color: #5d6472;
}

.ml-sales {
  background: #132d5f;
  color: #fff;
  font-size: 0.82rem;
  padding: 10px 14px;
  border-radius: 2px;
  justify-self: end;
}

.ml-hero {
  color: #fff;
  background:
    linear-gradient(90deg, rgba(4, 10, 20, 0.95) 0%, rgba(8, 20, 41, 0.9) 45%, rgba(9, 26, 56, 0.72) 70%),
    radial-gradient(circle at 70% 30%, rgba(47, 85, 155, 0.32), transparent 54%),
    #09172d;
  border-top: 3px solid #0f2f65;
  border-bottom: 3px solid #0f2f65;
}

.ml-hero-inner {
  padding: 58px 0 54px;
  min-height: 350px;
  background-image:
    linear-gradient(45deg, transparent 47%, rgba(255, 166, 74, 0.27) 48%, transparent 50%),
    radial-gradient(circle at 78% 40%, rgba(27, 69, 146, 0.65), transparent 45%);
  background-repeat: no-repeat;
  background-size: 120% 100%, 100% 100%;
}

.ml-hero-inner.ml-has-image {
  background-image:
    linear-gradient(90deg, rgba(2, 9, 20, 0.85) 0%, rgba(8, 20, 41, 0.72) 45%, rgba(9, 26, 56, 0.55) 70%),
    var(--ml-hero-image);
  background-size: cover;
  background-position: center;
}

.ml-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.35rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  max-width: 12ch;
}

.ml-hero p {
  margin: 18px 0 0;
  max-width: 58ch;
  color: #d4d9e4;
}

.ml-hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.ml-btn {
  min-height: 44px;
  padding: 11px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.9rem;
}

.ml-btn-primary { background: #ffffff; color: #0b1528; }
.ml-btn-dark { background: #0e1a33; color: #fff; border: 1px solid #354870; }
.ml-btn-light { background: #fff; color: #112e60; }

.ml-cert-row {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 20px;
  color: #c8d0dd;
  font-size: 0.82rem;
}

.ml-cert-row li::before {
  content: "●";
  color: #26b857;
  margin-right: 6px;
}

.ml-feature-strip {
  background: #f1f3f6;
  border-bottom: 1px solid #e2e6ee;
}

.ml-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 18px 0;
}

.ml-feature-grid article {
  background: #fff;
  border: 1px solid #dde2ec;
  padding: 14px;
}

.ml-feature-grid strong {
  display: block;
  font-size: 1rem;
}

.ml-feature-grid span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.88rem;
}

.ml-product-flow {
  background: #ffffff;
  padding: 34px 0;
  border-bottom: 1px solid #dde3ee;
}

.ml-product-flow h3 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 4.5vw, 2rem);
}

.ml-product-flow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.ml-product-flow-card {
  border: 1px solid #d9e0ec;
  background: #f8fafc;
  padding: 14px;
}

.ml-product-flow-kicker {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #143166;
  font-weight: 800;
}

.ml-product-flow-card h4 {
  margin: 8px 0 10px;
  font-size: 1.25rem;
}

.ml-product-flow-card ul {
  margin: 0 0 14px;
  padding-left: 18px;
  color: #3f4a60;
  display: grid;
  gap: 8px;
}

.ml-home-specs {
  background: #eef2f7;
  padding: 34px 0;
  border-top: 1px solid #dbe3ef;
  border-bottom: 1px solid #dbe3ef;
}

.ml-home-specs h3 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 4.2vw, 1.9rem);
}

.ml-home-specs-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.ml-home-spec-card {
  border: 1px solid #d6deea;
  background: #fff;
  padding: 14px;
}

.ml-home-spec-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
}

.ml-home-spec-card ul {
  margin: 0;
  padding-left: 18px;
  color: #3f4a5f;
  display: grid;
  gap: 7px;
}

.ml-product {
  background: #fff;
  padding: 54px 0;
}

.ml-product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
  align-items: center;
}

.ml-product-image {
  min-height: 360px;
  border: 1px solid #d8dde7;
  background:
    radial-gradient(circle at 30% 30%, #f7f9fd 0%, #edf2fa 42%, #dce7f6 100%),
    linear-gradient(150deg, #2090ff 0%, #155dcf 75%);
  position: relative;
}

.ml-product-image.ml-has-image {
  background: #edf2fa;
  background-image: var(--ml-card-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ml-product-image span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  color: #12459f;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.05;
  text-align: right;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.65);
}

.ml-product h2 { margin: 0; font-size: clamp(1.75rem, 4vw, 2.9rem); }
.ml-muted { color: var(--muted); }
.ml-center { text-align: center; }

.ml-product-spec-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.ml-product-spec-grid span {
  text-transform: uppercase;
  font-size: 0.73rem;
  color: #667086;
  display: block;
}

.ml-product-spec-grid strong {
  display: block;
  margin-top: 4px;
  font-size: 1rem;
}

.ml-link {
  display: inline-block;
  margin-top: 14px;
  color: #102e6c;
  font-weight: 700;
}

.ml-spec-table-wrap {
  background: #eef1f4;
  padding: 52px 0;
  border-top: 1px solid #dde2eb;
  border-bottom: 1px solid #dde2eb;
}

.ml-spec-table-wrap h3,
.ml-apps h3,
.ml-cta h3 { margin: 0 0 8px; font-size: clamp(1.45rem, 3vw, 2rem); }

.ml-table-scroll { overflow-x: auto; margin-top: 16px; }

.ml-spec-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: #fff;
}

.ml-spec-table th,
.ml-spec-table td {
  border: 1px solid #d9dfeb;
  padding: 12px;
  font-size: 0.88rem;
  text-align: left;
}

.ml-spec-table th { background: #f3f6fb; }

.ml-apps {
  background: #fff;
  padding: 50px 0;
}

.ml-app-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.ml-app-card {
  min-height: 180px;
  padding: 14px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: end;
  border: 1px solid #2b2d33;
}

.ml-app-card strong { font-size: 1.1rem; }
.ml-app-card span { font-size: 0.82rem; color: #d6dbe5; margin-top: 2px; }

.ml-app-1 { background: linear-gradient(170deg, rgba(0,0,0,.1), rgba(0,0,0,.75)), linear-gradient(45deg, #b66e2f, #1e2027); }
.ml-app-2 { background: linear-gradient(170deg, rgba(0,0,0,.1), rgba(0,0,0,.72)), linear-gradient(45deg, #667585, #1c2128); }
.ml-app-3 { background: linear-gradient(170deg, rgba(0,0,0,.2), rgba(0,0,0,.7)), linear-gradient(45deg, #88a04f, #293116); }
.ml-app-4 { background: linear-gradient(170deg, rgba(0,0,0,.2), rgba(0,0,0,.72)), linear-gradient(45deg, #36597d, #121824); }

.ml-app-card.ml-has-image {
  background-image:
    linear-gradient(170deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.72)),
    var(--ml-app-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ml-efficiency {
  background: #f3f5f8;
  padding: 48px 0;
}

.ml-efficiency-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.ml-bars,
.ml-benefits {
  background: #fff;
  border: 1px solid #dce2ec;
  padding: 16px;
}

.ml-bars h4,
.ml-benefits h4 { margin: 0 0 12px; font-size: 1.25rem; }

.ml-bar-row { margin-bottom: 10px; }
.ml-bar-row span { font-size: 0.85rem; color: #44506a; }
.ml-bar-row small { display: block; margin-top: 6px; color: #6f788b; }
.ml-bar { height: 10px; border-radius: 20px; margin-top: 6px; background: #e4e8ef; overflow: hidden; }
.ml-bar i { display: block; height: 100%; background: #162f64; }

.ml-benefits ul { margin: 0; padding-left: 18px; color: #465064; display: grid; gap: 12px; }

.ml-cta {
  background: #133469;
  color: #fff;
  padding: 50px 0;
}

.ml-cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}

.ml-cta p { color: #d7deeb; }
.ml-cta ul { margin: 14px 0 20px; padding-left: 18px; }

.ml-cta-image {
  min-height: 250px;
  border: 1px solid rgba(255,255,255,0.35);
  background:
    linear-gradient(160deg, rgba(255,186,60,.3), transparent 45%),
    linear-gradient(45deg, #6f7d8c, #293546);
}

.ml-cta-image.ml-has-image {
  background-image:
    linear-gradient(160deg, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.18)),
    var(--ml-cta-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.ml-question {
  background: #ffffff;
  padding: 42px 0 52px;
}

.ml-question h3 {
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.ml-form {
  margin-top: 16px;
  display: grid;
  gap: 9px;
  max-width: 720px;
}

.ml-form label {
  font-size: 0.9rem;
  font-weight: 700;
}

.ml-form input,
.ml-form textarea {
  width: 100%;
  border: 1px solid #ced6e2;
  border-radius: 6px;
  min-height: 44px;
  padding: 10px 12px;
  font: inherit;
  background: #f9fbfd;
}

.ml-form textarea {
  min-height: 120px;
  resize: vertical;
}

.ml-form-actions {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ml-message {
  margin-top: 14px;
  margin-bottom: 6px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #d8e0ed;
  font-size: 0.92rem;
}

.ml-message-success {
  background: #ebf8f0;
  border-color: #a8dfbf;
  color: #0f5e36;
}

.ml-message-error {
  background: #fff0f0;
  border-color: #edb5b5;
  color: #8d1f1f;
}

.ml-footer {
  background: #071126;
  color: #d0d7e2;
  padding: 38px 0 0;
}

.ml-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.ml-footer h5 {
  margin: 0 0 10px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.82rem;
}

.ml-footer p,
.ml-footer a {
  margin: 0 0 6px;
  display: block;
  color: #b9c4d6;
  font-size: 0.9rem;
}

.ml-copyright {
  margin-top: 24px;
  padding: 14px 0 16px;
  border-top: 1px solid #132242;
  text-align: center;
  color: #8f9db6;
  font-size: 0.8rem;
}

.ml-mobile-cta {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 8px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(6, 17, 39, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.35);
}

.ml-mobile-cta a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-weight: 800;
  font-size: 0.92rem;
}

.ml-mobile-cta-call {
  background: #ffffff;
  color: #071126;
}

.ml-mobile-cta-ask {
  background: #1d3d77;
  color: #ffffff;
  border: 1px solid #3e5f97;
}

body.ml-form-active .ml-mobile-cta {
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.ml-page-hero {
  color: #fff;
  padding: 56px 0;
  border-top: 3px solid #0f2f65;
  border-bottom: 3px solid #0f2f65;
}

.ml-page-hero-welding {
  background:
    linear-gradient(90deg, rgba(4, 10, 20, 0.94) 0%, rgba(8, 20, 41, 0.88) 50%, rgba(9, 26, 56, 0.76) 100%),
    linear-gradient(45deg, rgba(255, 167, 76, 0.22), transparent 55%),
    #09172d;
}

.ml-page-hero-cleaning {
  background:
    linear-gradient(90deg, rgba(4, 10, 20, 0.94) 0%, rgba(8, 20, 41, 0.88) 50%, rgba(9, 26, 56, 0.76) 100%),
    linear-gradient(45deg, rgba(87, 184, 255, 0.22), transparent 55%),
    #09172d;
}

.ml-page-hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 7vw, 3rem);
  line-height: 1;
  letter-spacing: -0.02em;
}

.ml-page-hero p {
  margin: 16px 0 0;
  max-width: 72ch;
  color: #d2d9e6;
}

.ml-page-section {
  padding: 42px 0;
  background: #fff;
}

.ml-page-section-alt {
  background: #eef2f7;
}

.ml-page-section h2 {
  margin: 0 0 16px;
  font-size: clamp(1.5rem, 4.5vw, 2.2rem);
}

.ml-page-section h3 {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 3.5vw, 1.55rem);
}

.ml-product-content > *:first-child {
  margin-top: 0;
}

.ml-product-content > *:last-child {
  margin-bottom: 0;
}

.ml-product-content h2 {
  margin: 0 0 14px;
}

.ml-product-content h3 {
  margin: 22px 0 10px;
}

.ml-product-content h4 {
  margin: 16px 0 6px;
  font-size: 1.06rem;
}

.ml-product-content p {
  margin: 0 0 12px;
  color: #2d3444;
}

.ml-product-content ul,
.ml-product-content ol {
  margin: 0 0 14px;
  padding-left: 20px;
  color: #2d3444;
}

.ml-product-content li {
  margin-bottom: 6px;
}

.ml-product-content table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  margin: 0 0 14px;
}

.ml-product-content th,
.ml-product-content td {
  border: 1px solid #d7ddea;
  padding: 10px;
  text-align: left;
  font-size: 0.9rem;
}

.ml-product-content thead th {
  background: #f2f6fb;
}

.ml-product-content img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #d7dfec;
  background: #fff;
  padding: 6px;
}

.ml-product-content hr {
  border: 0;
  border-top: 1px solid #d9dfeb;
  margin: 20px 0;
}

.ml-page-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.ml-page-card {
  border: 1px solid #d9dfeb;
  background: #f9fbfd;
  padding: 14px;
}

.ml-page-card strong {
  display: block;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #455271;
  margin-bottom: 5px;
}

.ml-page-card span {
  font-size: 1rem;
}

.ml-page-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 16px;
}

.ml-page-panel {
  border: 1px solid #d9dfeb;
  background: #fff;
  padding: 14px;
}

.ml-page-panel ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #2d3444;
}

.ml-compare-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.ml-compare-table th,
.ml-compare-table td {
  border: 1px solid #d7ddea;
  padding: 10px;
  text-align: left;
  font-size: 0.9rem;
}

.ml-compare-table thead th {
  background: #f2f6fb;
}

.ml-compact-table th {
  width: 42%;
  background: #f5f8fc;
}

.ml-page-image-card {
  margin: 0 0 16px;
  border: 1px solid #d7dfec;
  background: #fff;
  padding: 8px;
}

.ml-page-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

.ml-page-image-card figcaption {
  color: #5b6578;
  font-size: 0.86rem;
  margin-top: 8px;
}

.ml-page-contact-bar {
  border: 1px solid #cfd9e7;
  background: #f7f9fc;
  padding: 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: center;
}

.ml-page-contact-bar h3 {
  margin: 0 0 8px;
}

.ml-page-contact-bar p {
  margin: 0;
  color: #4e596f;
}

.ml-page-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

@media (min-width: 760px) {
  body { padding-bottom: 0; }
  .ml-topbar-inner { grid-template-columns: auto 1fr auto; }
  .ml-nav { display: flex; justify-self: center; }
  .ml-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .ml-product-flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ml-home-specs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ml-product-grid { grid-template-columns: 0.95fr 1.05fr; }
  .ml-product-spec-grid { grid-template-columns: repeat(2, 1fr); }
  .ml-app-grid { grid-template-columns: repeat(2, 1fr); }
  .ml-efficiency-grid { grid-template-columns: 1.1fr 0.9fr; }
  .ml-cta-grid { grid-template-columns: 1fr 1fr; }
  .ml-footer-grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; }
  .ml-mobile-cta { display: none; }
  .ml-page-card-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ml-page-split { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ml-page-media-split { grid-template-columns: 1.05fr 0.95fr; }
  .ml-page-contact-bar { grid-template-columns: 1.2fr auto; }
}
