:root {
  --ink: #13202b;
  --muted: #64727d;
  --line: #dfe7eb;
  --paper: #f7fafb;
  --white: #ffffff;
  --teal: #008d97;
  --teal-dark: #006a72;
  --lime: #b6d235;
  --steel: #334b5b;
  --warning: #f6b044;
  --shadow: 0 18px 50px rgba(19, 32, 43, 0.12);
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--teal);
}

.brand-mark svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.brand strong {
  display: block;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.brand small {
  display: block;
  color: var(--muted);
  font-weight: 700;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(12px, 3vw, 34px);
  font-weight: 700;
  color: var(--steel);
}

.main-nav a,
.header-action {
  text-decoration: none;
}

.header-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.header-action,
.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover,
.header-action:hover {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--ink);
  background: var(--white);
  border-color: var(--line);
}

.button.full {
  width: 100%;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(48px, 8vw, 92px) clamp(18px, 5vw, 72px) 42px;
  background:
    linear-gradient(110deg, rgba(0, 141, 151, 0.94) 0%, rgba(0, 106, 114, 0.88) 42%, rgba(19, 32, 43, 0.9) 100%),
    radial-gradient(circle at 80% 20%, rgba(182, 210, 53, 0.35), transparent 32%);
  color: var(--white);
}

.hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(2.4rem, 5.8vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 1.7vw, 1.34rem);
  color: rgba(255, 255, 255, 0.88);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.print-panel {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: var(--shadow);
}

.printer-visual {
  aspect-ratio: 1.08;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.printer-frame {
  position: relative;
  width: 78%;
  height: 72%;
  border: 10px solid rgba(255, 255, 255, 0.78);
  border-bottom-width: 18px;
}

.printer-head {
  position: absolute;
  top: 18%;
  left: 22%;
  width: 76px;
  height: 42px;
  background: var(--lime);
  animation: printHead 4s ease-in-out infinite;
}

.printer-head::after {
  content: "";
  position: absolute;
  left: 33px;
  bottom: -22px;
  width: 10px;
  height: 22px;
  background: rgba(255, 255, 255, 0.86);
}

.print-bed {
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: 18%;
  height: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.printed-part {
  position: absolute;
  left: 27%;
  bottom: 18px;
  width: 46%;
  height: 72px;
  background: repeating-linear-gradient(0deg, var(--teal) 0 8px, #20a9b2 8px 13px);
  clip-path: polygon(12% 100%, 12% 42%, 36% 42%, 36% 18%, 64% 18%, 64% 42%, 88% 42%, 88% 100%);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.status-grid div,
.metric-stack div {
  padding: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  border-radius: 6px;
}

.status-grid span,
.metric-stack span,
.quote-summary span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-grid strong,
.metric-stack strong {
  display: block;
  margin-top: 5px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust-strip span {
  padding: 20px;
  background: var(--white);
  text-align: center;
  font-weight: 900;
  color: var(--steel);
}

.section,
.order-section,
.contact-band {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-heading h2,
.order-copy h2,
.contact-band h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  min-height: 246px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card .icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 34px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.service-card p,
.order-copy p,
.pricing-card li {
  margin: 0;
  color: var(--muted);
}

.order-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(320px, 1fr);
  gap: clamp(26px, 5vw, 74px);
  align-items: start;
  background: var(--white);
}

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

.check-list li {
  padding-left: 30px;
  position: relative;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 13px;
  height: 13px;
  background: var(--teal);
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  gap: 14px;
}

.form-row.two {
  grid-template-columns: repeat(2, 1fr);
}

.form-row.three {
  grid-template-columns: 1fr 1fr 0.65fr;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid #cbd8dd;
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.upload-zone {
  min-height: 136px;
  display: grid;
  place-items: center;
  gap: 4px;
  padding: 22px;
  border: 2px dashed #b7c7ce;
  border-radius: 8px;
  background: var(--white);
  text-align: center;
  cursor: pointer;
}

.upload-zone input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.upload-title {
  color: var(--teal-dark);
  font-size: 1.1rem;
}

.upload-help,
.form-note {
  color: var(--muted);
  font-weight: 700;
}

.quote-summary {
  padding: 16px;
  border-left: 5px solid var(--lime);
  background: var(--white);
}

.quote-summary strong {
  display: block;
  margin-top: 4px;
  font-size: 1.15rem;
}

.quote-summary small {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 800;
}

.compatibility-box {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 16px;
  border: 1px solid #bfd0d6;
  border-radius: 8px;
  background: var(--white);
}

.compatibility-box legend {
  padding: 0 8px;
  font-weight: 900;
}

.compatibility-box p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.fit-result {
  padding: 12px;
  border-radius: 4px;
  font-weight: 900;
}

.fit-result.pending {
  background: #edf4f6;
  color: var(--steel);
}

.fit-result.pass {
  background: #edf7d7;
  color: #456000;
}

.fit-result.warn {
  background: #fff2dc;
  color: #78500c;
}

.fit-result.fail {
  background: #ffe6e2;
  color: #8a2418;
}

.form-note {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
}

.farm-section {
  background: #eef4f5;
}

.pricing-section {
  background: #f4f8ee;
}

.pricing-layout {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pricing-card {
  min-height: 310px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pricing-card.accent {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.pricing-card h3 {
  margin: 0 0 20px;
  font-size: 1.35rem;
}

.pricing-card ul,
.pricing-card ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
}

.pricing-card.accent li {
  color: rgba(255, 255, 255, 0.82);
}

.farm-layout {
  display: grid;
  grid-template-columns: 1fr 0.44fr;
  gap: 18px;
}

.queue-board {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.queue-header,
.queue-item {
  display: grid;
  grid-template-columns: 0.35fr 1fr auto;
  gap: 14px;
  align-items: center;
}

.queue-header {
  grid-template-columns: 1fr auto;
  padding-bottom: 14px;
  color: var(--muted);
}

.queue-item {
  min-height: 64px;
  border-top: 1px solid var(--line);
}

.queue-item.active strong {
  color: var(--teal-dark);
}

.job-code {
  font-weight: 900;
  color: var(--steel);
}

.metric-stack {
  display: grid;
  gap: 14px;
}

.metric-stack div {
  border: 1px solid var(--line);
}

.metric-stack strong {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 30px;
  align-items: center;
  background: var(--ink);
  color: var(--white);
}

address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.82);
}

address a {
  color: var(--white);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px clamp(18px, 5vw, 72px);
  background: #0c151d;
  color: rgba(255, 255, 255, 0.68);
}

@keyframes printHead {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(120%);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .hero,
  .order-section,
  .farm-layout,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

  .pricing-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    gap: 14px;
  }

  .header-action {
    display: none;
  }

  .brand small {
    font-size: 0.76rem;
  }

  .hero {
    padding-top: 38px;
  }

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

  .status-grid,
  .service-grid,
  .trust-strip,
  .form-row.two,
  .form-row.three,
  .queue-item {
    grid-template-columns: 1fr;
  }

  .queue-item {
    gap: 2px;
    padding: 14px 0;
  }
}
