:root {
  --navy: #071827;
  --navy-2: #0c2438;
  --blue: #123b5d;
  --steel: #607381;
  --steel-light: #d8e2e8;
  --gold: #f3b321;
  --gold-dark: #c98700;
  --white: #ffffff;
  --offwhite: #f5f7f8;
  --soft: #eef3f6;
  --black: #101418;
  --text: #26323c;
  --muted: #687783;
  --border: rgba(7, 24, 39, 0.14);
  --shadow: 0 22px 60px rgba(7, 24, 39, 0.16);
  --shadow-soft: 0 16px 38px rgba(7, 24, 39, 0.08);
  --radius: 24px;
  --radius-lg: 36px;
  --max: 1180px;
}

/* RESET */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--offwhite);
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

/* GLOBAL */

.page {
  overflow: hidden;
}

.section {
  padding: 96px 24px;
}

.section-tight {
  padding: 72px 24px;
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-white {
  background: var(--white);
}

.section-soft {
  background: var(--offwhite);
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.kicker {
  margin: 0 0 12px;
  color: var(--gold-dark);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.13em;
}

.section-dark .kicker {
  color: var(--gold);
}

.section-title {
  max-width: 820px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.section-dark .section-title {
  color: var(--white);
}

.section-copy {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

.section-dark .section-copy {
  color: rgba(255, 255, 255, 0.74);
}

.centered {
  text-align: center;
}

.centered .section-title,
.centered .section-copy {
  margin-left: auto;
  margin-right: auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.site-logo {
  width: 154px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #384653;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  opacity: 0.86;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--gold-dark);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white) !important;
  opacity: 1 !important;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(7, 24, 39, 0.16);
}

/* BUTTONS */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 950;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 18px 34px rgba(243, 179, 33, 0.26);
}

.btn-primary:hover {
  background: #ffc942;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
  border-color: var(--border);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

/* HERO */

.hero {
  position: relative;
  min-height: 730px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 24, 39, 0.96) 0%, rgba(7, 24, 39, 0.84) 43%, rgba(7, 24, 39, 0.34) 100%),
    url("/assets/images/mechatron-hero.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 160px;
  background: linear-gradient(0deg, var(--offwhite), rgba(245, 247, 248, 0));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 120px 24px 170px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 44px;
  height: 2px;
  background: var(--gold);
  display: block;
}

.hero h1 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: -0.075em;
  font-weight: 950;
}

.hero-lede {
  max-width: 690px;
  margin: 28px 0 0;
  font-size: clamp(18px, 2vw, 24px);
  color: rgba(255, 255, 255, 0.88);
  font-weight: 750;
}

.hero-sub {
  max-width: 630px;
  margin: 18px 0 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 650;
}

/* INTERIOR PAGE HERO */

.page-hero {
  padding: 112px 24px 84px;
  background:
    radial-gradient(circle at top right, rgba(243, 179, 33, 0.17), transparent 34%),
    linear-gradient(135deg, var(--navy), var(--navy-2));
  color: var(--white);
}

.page-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.07em;
  font-weight: 950;
}

.page-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 20px;
  font-weight: 650;
}

/* PROOF STRIP */

.proof-strip {
  position: relative;
  z-index: 5;
  max-width: var(--max);
  margin: -90px auto 0;
  padding: 0 24px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.proof-item {
  padding: 28px;
  border-right: 1px solid var(--border);
}

.proof-item:last-child {
  border-right: 0;
}

.proof-number {
  color: var(--navy);
  font-size: 34px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -0.06em;
  margin-bottom: 10px;
}

.proof-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

/* CARDS */

.card-grid {
  display: grid;
  gap: 22px;
  margin-top: 42px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-soft);
}

.card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(243, 179, 33, 0.16);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
  font-weight: 950;
  margin-bottom: 22px;
}

.card-link {
  display: inline-flex;
  margin-top: 22px;
  color: var(--gold-dark);
  font-size: 14px;
  font-weight: 950;
}

/* FEATURE CARDS */

.feature-card {
  overflow: hidden;
  padding: 0;
}

.feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.feature-card-body {
  padding: 28px;
}

/* TRACKER CARDS */

.tracker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 44px;
}

.tracker-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 26px;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tracker-card h3 {
  color: var(--white);
  margin: 0 0 12px;
  font-size: 28px;
  letter-spacing: -0.055em;
}

.tracker-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 650;
}

.tracker-tag {
  display: inline-flex;
  width: fit-content;
  margin-top: 22px;
  color: var(--navy);
  background: var(--gold);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* SPLIT SECTIONS */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
}

.image-panel {
  border-radius: 28px;
  overflow: hidden;
  min-height: 460px;
  background: var(--steel-light);
  box-shadow: var(--shadow);
}

.image-panel img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.stat-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-soft);
}

.stat-panel strong {
  display: block;
  color: var(--navy);
  font-size: 54px;
  line-height: 1;
  letter-spacing: -0.07em;
  margin-bottom: 12px;
}

.stat-panel span {
  color: var(--muted);
  font-weight: 750;
}

/* LISTS */

.check-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
  font-weight: 750;
}

.check-list li::before {
  content: "✓";
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(243, 179, 33, 0.2);
  color: var(--gold-dark);
  font-weight: 950;
  font-size: 14px;
  margin-top: 1px;
}

.section-dark .check-list li {
  color: rgba(255, 255, 255, 0.82);
}

/* CALLOUT */

.callout {
  background:
    linear-gradient(90deg, rgba(7, 24, 39, 0.96), rgba(12, 36, 56, 0.92)),
    url("/assets/images/tracker-install-3.jpg") center / cover no-repeat;
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px;
  box-shadow: var(--shadow);
}

.callout h2 {
  max-width: 800px;
  margin: 0;
  font-size: clamp(34px, 4vw, 60px);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 950;
}

.callout p {
  max-width: 740px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
  font-weight: 650;
}

/* TABLE */

.comparison-table-wrap {
  margin-top: 42px;
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.comparison-table th,
.comparison-table td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.comparison-table th {
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.comparison-table tr:last-child td {
  border-bottom: 0;
}

.comparison-table td {
  color: var(--muted);
  font-weight: 650;
}

.comparison-table td:first-child {
  color: var(--navy);
  font-weight: 950;
}

/* GALLERY */

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 18px;
  margin-top: 42px;
}

.gallery-item {
  border-radius: 24px;
  overflow: hidden;
  min-height: 280px;
  background: var(--steel-light);
  box-shadow: var(--shadow-soft);
}

.gallery-item.large {
  grid-row: span 2;
  min-height: 578px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.photo-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.photo-card-body {
  padding: 22px;
}

.photo-card-body h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 22px;
  letter-spacing: -0.04em;
}

.photo-card-body p {
  margin: 0;
  color: var(--muted);
  font-weight: 650;
}

/* CONTACT */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
  margin-top: 44px;
}

.contact-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
}

.contact-box h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 28px;
  letter-spacing: -0.05em;
}

.contact-box p {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 650;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.contact-list a,
.contact-list span {
  display: block;
  color: var(--navy);
  font-weight: 850;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.field label {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--text);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

/* FOOTER */

.site-footer {
  background: #06131f;
  color: rgba(255, 255, 255, 0.72);
  padding: 42px 24px;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 650;
}

.footer-inner strong {
  color: var(--white);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--gold);
}

/* RESPONSIVE */

@media (max-width: 1040px) {
  .nav-links {
    gap: 16px;
    font-size: 13px;
  }

  .site-logo {
    width: 138px;
  }

  .grid-4,
  .tracker-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 880px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 660px;
  }

  .hero-inner {
    padding-top: 96px;
  }

  .proof-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .tracker-grid,
  .split,
  .gallery-grid,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .proof-item {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .proof-item:last-child {
    border-bottom: 0;
  }

  .tracker-card {
    min-height: auto;
  }

  .gallery-item.large,
  .gallery-item {
    min-height: 300px;
  }

  .callout {
    padding: 38px 28px;
    border-radius: 26px;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    padding: 12px 18px;
  }

  .site-logo {
    width: 126px;
  }

  .hero-inner {
    padding: 84px 20px 145px;
  }

  .page-hero {
    padding: 82px 20px 64px;
  }

  .section,
  .section-tight {
    padding-left: 20px;
    padding-right: 20px;
  }

  .proof-strip {
    padding: 0 20px;
  }

  .card,
  .contact-box,
  .stat-panel {
    padding: 24px;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}