:root {
  --ink: #17323d;
  --muted: #60737b;
  --line: #dbe5e8;
  --paper: #ffffff;
  --soft: #f4f7f6;
  --teal: #00536b;
  --teal-2: #087c86;
  --orange: #e35f2c;
  --orange-dark: #bc4623;
  --green: #5f8b54;
  --shadow: 0 20px 55px rgba(13, 45, 55, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 14px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(219, 229, 232, 0.9);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 168px;
}

.brand img {
  width: 100%;
  border-radius: 4px;
}

.nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 38px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.nav a,
.footer a {
  transition: color 160ms ease;
}

.nav a:hover,
.footer a:hover {
  color: var(--orange);
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1.1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.header-cta {
  padding: 0 18px;
  color: #fff;
  background: var(--teal);
  font-size: 0.9rem;
}

.button {
  padding: 0 22px;
}

.primary {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 12px 28px rgba(227, 95, 44, 0.22);
}

.secondary {
  color: var(--teal);
  background: #fff;
  border-color: var(--line);
}

.button:hover,
.header-cta:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  min-height: calc(100vh - 76px);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: clamp(30px, 5vw, 72px);
  padding: clamp(34px, 6vw, 82px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(244, 247, 246, 0.98) 0%, rgba(255, 255, 255, 0.8) 56%, rgba(230, 239, 237, 0.72) 100%),
    repeating-linear-gradient(90deg, rgba(0, 83, 107, 0.06) 0 1px, transparent 1px 58px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--teal);
  font-size: clamp(3.5rem, 11vw, 8.6rem);
  line-height: 0.88;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.5vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: #314a54;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
}

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

.hero-stats {
  display: grid;
  max-width: 760px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 46px 0 0;
}

.hero-stats div {
  min-height: 104px;
  padding: 18px;
  border-left: 4px solid var(--orange);
  background: rgba(255, 255, 255, 0.7);
}

.hero-stats dt {
  font-size: 1.06rem;
  font-weight: 800;
}

.hero-stats dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  display: grid;
  gap: 18px;
}

.logo-panel {
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.logo-panel img {
  width: min(100%, 560px);
  margin: 0 auto;
}

.print-stage {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(244, 247, 246, 0.96)),
    repeating-linear-gradient(0deg, rgba(0, 83, 107, 0.08) 0 1px, transparent 1px 24px),
    repeating-linear-gradient(90deg, rgba(0, 83, 107, 0.06) 0 1px, transparent 1px 24px);
  box-shadow: inset 0 0 0 1px var(--line);
}

.axis {
  position: absolute;
  background: var(--teal);
  opacity: 0.8;
}

.axis-x {
  top: 48px;
  left: 10%;
  width: 72%;
  height: 8px;
}

.axis-y {
  top: 40px;
  left: 24%;
  width: 8px;
  height: 58%;
}

.nozzle {
  position: absolute;
  top: 38px;
  left: 50%;
  width: 48px;
  height: 64px;
  border-radius: 6px 6px 14px 14px;
  background: var(--orange);
  box-shadow: 0 16px 0 -10px var(--orange-dark);
}

.nozzle::after {
  position: absolute;
  right: 16px;
  bottom: -18px;
  width: 15px;
  height: 18px;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
  background: var(--orange);
  content: "";
}

.part {
  position: absolute;
  bottom: 28px;
  display: block;
}

.cube {
  left: 14%;
  width: 74px;
  height: 74px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--teal), var(--teal-2));
  transform: skewY(-10deg);
}

.bracket {
  left: 43%;
  width: 124px;
  height: 74px;
  border: 18px solid var(--green);
  border-top: 0;
  border-radius: 0 0 8px 8px;
}

.gear {
  right: 15%;
  width: 86px;
  height: 86px;
  border: 18px solid var(--orange);
  border-radius: 50%;
}

.gear::before,
.gear::after {
  position: absolute;
  inset: -24px 23px;
  background: var(--orange);
  content: "";
}

.gear::after {
  transform: rotate(90deg);
}

.section,
.about-section,
.process-band,
.contact-section {
  padding: clamp(56px, 9vw, 112px) clamp(18px, 5vw, 72px);
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: #fff;
}

.about-copy {
  max-width: 780px;
}

.about-copy h2 {
  margin-bottom: 20px;
}

.about-copy p:not(.eyebrow) {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.06rem;
}

.about-points {
  display: grid;
  gap: 14px;
}

.about-points article {
  display: grid;
  gap: 8px;
  min-height: 116px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 5px solid var(--orange);
  border-radius: 8px;
  background: var(--soft);
}

.about-points strong {
  color: var(--teal);
  font-size: 1.08rem;
}

.about-points span {
  color: var(--muted);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  max-width: 670px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

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

.service-card,
.work-item,
.steps article,
.contact-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-card {
  min-height: 270px;
  padding: 24px;
}

.service-icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-weight: 800;
}

.service-card p,
.work-item p,
.steps p,
.contact-copy p {
  margin: 0;
  color: var(--muted);
}

.process-band {
  background: var(--ink);
  color: #fff;
}

.process-band h2,
.process-band .eyebrow {
  color: #fff;
}

.compact {
  margin-bottom: 28px;
}

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

.steps article {
  min-height: 210px;
  padding: 26px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.steps strong {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--ink);
  background: #fff;
}

.steps p {
  color: rgba(255, 255, 255, 0.72);
}

.work {
  background: var(--soft);
}

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

.work-item {
  min-height: 320px;
  padding: 22px;
}

.miniature {
  position: relative;
  height: 160px;
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(0, 83, 107, 0.07)),
    repeating-linear-gradient(90deg, rgba(0, 83, 107, 0.12) 0 1px, transparent 1px 20px);
}

.miniature::before,
.miniature::after {
  position: absolute;
  content: "";
}

.clamp::before {
  left: 22%;
  top: 32px;
  width: 52%;
  height: 82px;
  border: 18px solid var(--teal);
  border-right: 0;
  border-radius: 8px 0 0 8px;
}

.clamp::after {
  right: 18%;
  top: 70px;
  width: 35%;
  height: 14px;
  background: var(--orange);
}

.cog::before {
  left: 50%;
  top: 50%;
  width: 92px;
  height: 92px;
  border: 20px solid var(--green);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cog::after {
  left: 50%;
  top: 50%;
  width: 130px;
  height: 26px;
  background: var(--green);
  box-shadow: 0 0 0 0 var(--green);
  transform: translate(-50%, -50%) rotate(35deg);
}

.case::before {
  left: 20%;
  top: 38px;
  width: 60%;
  height: 84px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--teal), var(--teal-2));
}

.case::after {
  left: 30%;
  top: 64px;
  width: 40%;
  height: 30px;
  border-radius: 16px;
  background: #fff;
}

.gallery {
  background:
    linear-gradient(180deg, #fff 0%, rgba(244, 247, 246, 0.92) 100%),
    repeating-linear-gradient(90deg, rgba(0, 83, 107, 0.05) 0 1px, transparent 1px 42px);
}

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

.gallery-item {
  display: grid;
  gap: 18px;
  min-height: 360px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(13, 45, 55, 0.08);
}

.gallery-item p {
  margin: 0;
  color: var(--muted);
}

.gallery-visual {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  border-radius: 6px;
  background:
    radial-gradient(circle at 18% 20%, rgba(227, 95, 44, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(0, 83, 107, 0.1), rgba(255, 255, 255, 0.82)),
    repeating-linear-gradient(0deg, rgba(0, 83, 107, 0.08) 0 1px, transparent 1px 18px);
}

.gallery-visual::before,
.gallery-visual::after {
  position: absolute;
  content: "";
}

.visual-bracket::before {
  left: 18%;
  top: 46px;
  width: 58%;
  height: 102px;
  border: 24px solid var(--teal);
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.visual-bracket::after {
  right: 18%;
  bottom: 38px;
  width: 35%;
  height: 18px;
  border-radius: 9px;
  background: var(--orange);
}

.visual-case::before {
  left: 17%;
  top: 48px;
  width: 66%;
  height: 104px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--teal), var(--teal-2));
  box-shadow: 0 20px 0 rgba(0, 83, 107, 0.16);
}

.visual-case::after {
  left: 32%;
  top: 80px;
  width: 36%;
  height: 36px;
  border-radius: 18px;
  background: #fff;
}

.visual-adapter::before {
  left: 21%;
  top: 58px;
  width: 60%;
  height: 74px;
  border-radius: 999px;
  background: var(--green);
  box-shadow:
    -36px 44px 0 -18px var(--orange),
    48px -30px 0 -16px var(--teal);
}

.visual-adapter::after {
  left: 39%;
  top: 78px;
  width: 22%;
  height: 34px;
  border-radius: 999px;
  background: #fff;
}

.visual-prototype::before {
  left: 24%;
  top: 46px;
  width: 52%;
  height: 112px;
  clip-path: polygon(50% 0, 100% 34%, 84% 100%, 16% 100%, 0 34%);
  background: linear-gradient(145deg, var(--orange), var(--orange-dark));
}

.visual-prototype::after {
  left: 33%;
  bottom: 34px;
  width: 34%;
  height: 14px;
  border-radius: 999px;
  background: var(--teal);
}

.visual-repair::before {
  left: 24%;
  top: 42px;
  width: 86px;
  height: 128px;
  border-radius: 12px;
  background: var(--teal);
  transform: rotate(-18deg);
}

.visual-repair::after {
  right: 24%;
  top: 54px;
  width: 76px;
  height: 76px;
  border: 16px solid var(--orange);
  border-radius: 50%;
}

.visual-finish::before {
  left: 20%;
  top: 45px;
  width: 40%;
  height: 116px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 0 18%, transparent 18% 34%, rgba(255, 255, 255, 0.16) 34% 50%, transparent 50% 66%, rgba(255, 255, 255, 0.16) 66% 82%, transparent 82%),
    var(--teal);
}

.visual-finish::after {
  right: 18%;
  top: 68px;
  width: 32%;
  height: 72px;
  border-radius: 12px;
  background: var(--orange);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 18px;
}

.contact-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  color: var(--teal);
  font-weight: 800;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 32px);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(227, 95, 44, 0.18);
  border-color: var(--orange);
}

.footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  padding: 26px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.74);
  background: var(--teal);
}

.footer p {
  margin: 0;
}

.footer a {
  font-weight: 800;
}

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

  .brand {
    width: 142px;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .about-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

@media (max-width: 700px) {
  .site-header {
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
    font-size: 0.78rem;
  }

  .hero {
    padding-top: 32px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-stats,
  .service-grid,
  .steps,
  .work-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats div,
  .service-card,
  .steps article,
  .work-item {
    min-height: auto;
  }

  .gallery-item {
    min-height: auto;
  }

  .print-stage {
    min-height: 190px;
  }

  .gear {
    right: 8%;
  }
}
