:root {
  --navy: #3d4249;
  --navy-2: #565d66;
  --blue: #5f6872;
  --gold: #ffc72c;
  --gold-dark: #f3ad08;
  --ink: #2c3138;
  --muted: #646c75;
  --line: #c8ccd1;
  --paper: #f6f8fc;
  --white: #ffffff;
  --shadow: 0 13px 26px rgba(44, 49, 56, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

.site-header {
  min-height: 68px;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) auto auto;
  align-items: center;
  gap: 28px;
  padding: 0 8.1%;
  color: var(--ink);
  background: #ffffff;
  border-bottom: 1px solid #d8dce1;
  box-shadow: 0 4px 14px rgba(30, 33, 37, 0.12);
  position: relative;
  z-index: 5;
}

.brand {
  width: 300px;
  max-width: 100%;
  display: flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.brand img {
  width: 100%;
  height: auto;
  display: block;
}

.main-nav,
.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 0.82rem;
  font-weight: 800;
}

.main-nav a {
  color: var(--ink);
  opacity: 0.95;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-toggle::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.7rem;
}

.dropdown-menu {
  min-width: 220px;
  position: absolute;
  left: 50%;
  top: 100%;
  z-index: 20;
  display: grid;
  padding: 8px 0;
  border: 1px solid #d8dce1;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(30, 33, 37, 0.16);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.dropdown-menu a {
  padding: 10px 16px;
  color: var(--ink);
  white-space: nowrap;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus {
  background: #f3f5f7;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  padding: 0 28px;
  font-weight: 900;
  box-shadow: 0 5px 10px rgba(4, 29, 65, 0.2);
}

.button-gold {
  color: #031f42;
  background: linear-gradient(#ffd95a, var(--gold));
}

.button-blue {
  color: var(--white);
  background: linear-gradient(#6a737d, #3c424a);
}

.button-bright {
  color: var(--white);
  background: linear-gradient(#737c86, #4c535c);
}

.header-cta {
  min-width: 122px;
}

.hero {
  min-height: 300px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  padding: 36px 8.1% 46px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(43, 47, 53, 0.96) 0%, rgba(61, 66, 73, 0.84) 34%, rgba(61, 66, 73, 0.32) 66%, rgba(61, 66, 73, 0.1) 100%),
    linear-gradient(180deg, rgba(1, 16, 36, 0.12), rgba(1, 16, 36, 0.08));
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(43, 47, 53, 0.9), rgba(43, 47, 53, 0.2)),
    url("assets/hero-printing-machine.jpeg") center / cover no-repeat;
  filter: saturate(1.04) contrast(1.02);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.08));
}

.hero-content {
  max-width: 670px;
}

.hero h1 {
  max-width: 650px;
  margin: 0 0 22px;
  font-size: clamp(2rem, 4vw, 3.05rem);
  line-height: 1.18;
  font-weight: 900;
}

.hero p {
  margin: 0 0 28px;
  font-size: 1rem;
  font-weight: 600;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.services {
  padding: 38px 8.1% 28px;
  background: linear-gradient(180deg, #f8faff, #f1f4f9);
}

.card-grid {
  max-width: 1115px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.image-card {
  overflow: hidden;
  border: 1px solid #d5dbe6;
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  height: 98px;
  display: block;
  object-fit: cover;
}

.image-card div {
  padding: 15px 18px 20px;
}

.image-card h2,
.image-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 900;
}

.image-card p {
  margin: 9px 0 0;
  color: #303842;
  font-size: 0.78rem;
  font-weight: 600;
}

.why,
.industries {
  padding: 28px 8.1% 34px;
  background: var(--white);
  text-align: center;
}

.industries {
  padding-top: 34px;
  padding-bottom: 28px;
  background: linear-gradient(180deg, #fbfcff, #f4f7fb);
}

.section-heading {
  max-width: 650px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.section-heading span,
.footer-service span {
  height: 1px;
  background: var(--line);
}

.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 1.9rem;
  line-height: 1.1;
  font-weight: 900;
}

.section-kicker {
  margin: 13px 0 32px;
  color: #666f7b;
  font-size: 1rem;
  font-style: italic;
}

.feature-row {
  max-width: 815px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature {
  padding: 0 38px;
  border-right: 1px solid #dce3ed;
}

.feature:last-child {
  border-right: 0;
}

.feature svg {
  width: 62px;
  height: 62px;
  margin-bottom: 12px;
}

.feature h3 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
}

.feature p {
  margin: 0;
  color: #353c45;
  font-size: 0.76rem;
  font-weight: 600;
}

.industries-grid {
  margin-top: 4px;
}

.industry-card img {
  height: 126px;
}

.industry-card h3 {
  padding: 16px 18px 18px;
  text-align: left;
}

.industries-button {
  margin-top: 30px;
  min-width: 188px;
}

.industries-button::after {
  content: "›";
  margin-left: 10px;
  font-size: 1.25rem;
  line-height: 0;
}

.cta {
  padding: 31px 8.1% 36px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(rgba(56, 61, 68, 0.92), rgba(45, 49, 55, 0.95)),
    radial-gradient(circle at 28% 25%, rgba(255, 255, 255, 0.2), transparent 22%),
    radial-gradient(circle at 75% 72%, rgba(255, 255, 255, 0.1), transparent 22%),
    #3f464f;
}

.cta-heading {
  max-width: 760px;
}

.cta-heading span {
  background: rgba(255, 255, 255, 0.5);
}

.cta-heading h2,
.cta p {
  color: var(--white);
}

.cta p {
  margin: 16px 0 20px;
  font-size: 1rem;
  font-weight: 600;
}

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

.cta .button {
  min-width: 225px;
  min-height: 45px;
  font-size: 1rem;
}

.page-hero {
  padding: 44px 8.1% 38px;
  color: var(--white);
  text-align: center;
  background: linear-gradient(90deg, #3d4249, #565d66);
}

.page-hero .section-heading {
  max-width: 820px;
}

.page-hero .section-heading span {
  background: rgba(255, 255, 255, 0.5);
}

.page-hero h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  font-weight: 900;
}

.page-hero p {
  margin: 16px 0 0;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
}

.upload {
  padding: 42px 8.1% 48px;
  background: #ffffff;
  text-align: center;
}

.upload-form {
  max-width: 840px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  text-align: left;
}

.upload-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 900;
}

.upload-form input,
.upload-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #c9d4e3;
  border-radius: 3px;
  padding: 10px 12px;
  color: #303842;
  background: #f8faff;
  font: inherit;
  font-weight: 600;
  outline: none;
}

.upload-form input:focus,
.upload-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(95, 104, 114, 0.16);
  background: #ffffff;
}

.upload-form textarea {
  min-height: 132px;
  resize: vertical;
}

.message-field,
.form-button,
.form-note {
  grid-column: 1 / -1;
}

.form-button {
  width: max-content;
  min-width: 210px;
  border: 0;
  cursor: pointer;
  font-size: 0.95rem;
}

.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 600;
}

.about-section {
  padding: 54px 8.1% 64px;
  background: #ffffff;
}

.about-copy {
  max-width: 760px;
  margin: 0 auto;
}

.about-copy h2 {
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.12;
  font-weight: 900;
}

.about-copy p {
  margin: 0 0 18px;
  color: #213a5d;
  font-size: 1.06rem;
  line-height: 1.65;
  font-weight: 600;
}

.promise-list {
  display: grid;
  gap: 12px;
  margin: 4px 0 22px;
  padding: 0;
  list-style: none;
}

.promise-list li {
  position: relative;
  padding: 14px 18px 14px 46px;
  border-left: 4px solid var(--gold);
  color: var(--ink);
  background: #f8faff;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(8, 45, 91, 0.08);
}

.promise-list li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue);
  transform: translateY(-50%);
}

.about-button {
  margin-top: 8px;
}

.detail-section {
  padding: 52px 8.1% 60px;
  background: #ffffff;
}

.detail-intro {
  max-width: 820px;
  margin: 0 auto 32px;
  text-align: center;
}

.detail-intro h2 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.12;
  font-weight: 900;
}

.detail-intro p {
  margin: 0;
  color: #4f5965;
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 600;
}

.detail-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.detail-card,
.industry-detail-card,
.capability-card {
  border: 1px solid #d9dee5;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(44, 49, 56, 0.1);
}

.detail-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 210px 1fr;
}

.detail-card img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  display: block;
  object-fit: cover;
}

.detail-card div {
  padding: 22px;
}

.detail-card h3,
.industry-detail-card h3,
.capability-card h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.2;
  font-weight: 900;
}

.detail-card p,
.industry-detail-card p,
.capability-card p {
  margin: 0;
  color: #46505c;
  font-size: 0.95rem;
  line-height: 1.55;
  font-weight: 600;
}

.detail-card ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: #353c45;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 700;
}

.industry-detail-grid,
.capability-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.industry-detail-card {
  overflow: hidden;
}

.industry-detail-card img {
  width: 100%;
  height: 150px;
  display: block;
  object-fit: cover;
}

.industry-detail-card h3,
.industry-detail-card p {
  padding-left: 20px;
  padding-right: 20px;
}

.industry-detail-card h3 {
  padding-top: 18px;
}

.industry-detail-card p {
  padding-bottom: 22px;
}

.text-only-card {
  padding-top: 24px;
}

.capability-card {
  padding: 24px;
  border-top: 4px solid var(--gold);
}

.product-category {
  max-width: 1100px;
  margin: 0 auto 34px;
  scroll-margin-top: 96px;
}

.product-category:last-child {
  margin-bottom: 0;
}

.product-category h3 {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 900;
}

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

.product-card {
  min-height: 150px;
  display: block;
  padding: 20px;
  border: 1px solid #d9dee5;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(44, 49, 56, 0.08);
}

.product-card:hover,
.product-card:focus {
  border-color: #bfc5cc;
  box-shadow: 0 14px 28px rgba(44, 49, 56, 0.14);
  transform: translateY(-1px);
}

.product-card h4 {
  margin: 0 0 9px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
}

.product-card p {
  margin: 0;
  color: #4f5965;
  font-size: 0.9rem;
  line-height: 1.5;
  font-weight: 600;
}

.product-form {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  gap: 18px;
}

.product-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 900;
}

.product-form select,
.product-form input,
.product-form textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #c9d4e3;
  border-radius: 3px;
  padding: 10px 12px;
  color: #303842;
  background: #f8faff;
  font: inherit;
  font-weight: 600;
}

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

.product-form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
}

.is-hidden {
  display: none !important;
}

.folding-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 12px;
}

.fold-types-button {
  min-height: 46px;
  border: 0;
  border-radius: 3px;
  padding: 0 18px;
  color: #ffffff;
  background: linear-gradient(#737c86, #4c535c);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 5px 10px rgba(4, 29, 65, 0.18);
}

.fold-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(25, 28, 32, 0.72);
}

.fold-modal.is-open {
  display: flex;
}

.fold-modal-panel {
  width: min(1040px, 96vw);
  max-height: 92vh;
  position: relative;
  overflow: auto;
  padding: 26px;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
}

.fold-modal-panel h2 {
  margin: 0 44px 18px 0;
  color: var(--ink);
  font-size: 1.8rem;
  font-weight: 900;
}

.fold-modal-close {
  width: 38px;
  height: 38px;
  position: absolute;
  top: 18px;
  right: 18px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: #4c535c;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.fold-diagram-wrap {
  padding: 18px;
  border: 1px solid #d8dce1;
  border-radius: 4px;
  background: #ffffff;
}

.fold-diagram-wrap img {
  width: 100%;
  max-height: 68vh;
  display: block;
  object-fit: contain;
  background: #ffffff;
}

.contact-page .upload {
  padding-top: 48px;
}

.contact-page .upload-form {
  max-width: 620px;
  grid-template-columns: 1fr;
  justify-items: stretch;
}

.contact-page .form-button,
.contact-page .form-note {
  justify-self: center;
}

.contact-page .form-note {
  max-width: 520px;
  text-align: center;
}

.footer {
  background: #f8faff;
  border-top: 1px solid #d9e0eb;
}

.footer-inner {
  max-width: 830px;
  margin: 0 auto;
  padding: 20px 20px 22px;
  text-align: center;
}

.footer-service {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  color: var(--ink);
  font-size: 0.82rem;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 22px 0 20px;
  font-size: 0.92rem;
}

.footer-contact p {
  margin: 0;
}

.footer-contact span {
  width: 1px;
  height: 24px;
  background: #b9c5d4;
}

.footer-nav {
  gap: 0;
  font-size: 0.73rem;
}

.footer-nav a {
  padding: 0 16px;
  border-right: 1px solid #b9c5d4;
}

.footer-nav a:last-child {
  border-right: 0;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 16px;
    padding: 14px 6%;
  }

  .main-nav {
    grid-column: 1 / -1;
    order: 3;
    flex-wrap: wrap;
    gap: 16px 24px;
  }

  .card-grid,
  .detail-grid,
  .industry-detail-grid,
  .capability-grid,
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-card {
    grid-template-columns: 1fr;
  }

  .detail-card img {
    height: 180px;
    min-height: 0;
  }

  .folding-field {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .hero {
    min-height: 430px;
    align-items: end;
    padding: 128px 6% 34px;
  }

  .hero-media {
    background:
      linear-gradient(180deg, rgba(8, 35, 70, 0.18), rgba(8, 35, 70, 0.98)),
      url("assets/hero-printing-machine.jpeg") center top / cover no-repeat;
  }

  .hero-content {
    text-align: left;
  }

  .card-grid,
  .feature-row,
  .upload-form,
  .detail-grid,
  .industry-detail-grid,
  .capability-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

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

  .dropdown-menu {
    width: min(280px, 90vw);
  }

  .feature {
    padding: 22px 10px;
    border-right: 0;
    border-bottom: 1px solid #dce3ed;
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .section-heading span {
    display: none;
  }

  .footer-service {
    grid-template-columns: 1fr;
  }

  .footer-service span,
  .footer-contact span {
    display: none;
  }

  .footer-nav {
    flex-wrap: wrap;
    row-gap: 10px;
  }
}
