:root {
  --ink: #101720;
  --muted: #5f6b7a;
  --line: #dce4ee;
  --paper: #f5f8fb;
  --white: #ffffff;
  --blue: #0069b8;
  --blue-dark: #003f78;
  --red: #df1f2d;
  --steel: #2b333f;
  --soft-blue: #e9f4ff;
  --shadow: 0 18px 46px rgba(17, 21, 28, 0.12);
}

* {
  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;
  text-rendering: geometricPrecision;
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: relative;
  top: 0;
  left: 0;
  z-index: 20;
  display: grid;
  width: 100%;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  padding: 8px clamp(18px, 5vw, 54px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  transition: background 180ms ease, box-shadow 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-block: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 278px;
  height: 76px;
  overflow: hidden;
  background: transparent;
}

.brand img {
  display: block;
  width: 278px !important;
  height: 76px !important;
  max-width: 278px !important;
  object-fit: contain;
  object-position: center;
}

.site-nav {
  display: flex;
  justify-content: flex-start;
  gap: 22px;
  font-size: 14px;
  font-weight: 800;
}

.site-nav a {
  opacity: 0.78;
}

.site-nav a:hover {
  opacity: 1;
}

.nav-quote {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: var(--red);
  color: var(--white);
  font-size: 14px;
  font-weight: 900;
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(223, 31, 45, 0.22);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: calc(100vh - 93px);
  overflow: hidden;
  color: var(--white);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 10, 16, 0.9) 0%, rgba(7, 10, 16, 0.72) 46%, rgba(7, 10, 16, 0.18) 82%),
    linear-gradient(0deg, rgba(7, 10, 16, 0.82) 0%, rgba(7, 10, 16, 0) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(100vh - 93px);
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  flex-direction: column;
  justify-content: center;
  padding: 82px 0 74px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(37px, 4.8vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-text {
  max-width: 720px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 21px);
}

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

.hero-stats {
  display: grid;
  max-width: 920px;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.hero-stats span {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.78);
}

.hero-stats strong {
  display: block;
  color: var(--white);
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: 13px 20px;
  border-radius: 6px;
  font-weight: 900;
  text-align: center;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
}

.button.whatsapp {
  border-color: #25d366;
  background: #25d366;
  color: #07130c;
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.18);
}

.button.whatsapp:hover {
  background: #2ee874;
  border-color: #2ee874;
}

.button.full {
  width: 100%;
}

.trust-band {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

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

.trust-grid div {
  min-height: 118px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.trust-grid div:last-child {
  border-right: 0;
}

.trust-grid strong {
  display: block;
  font-size: 18px;
}

.trust-grid span {
  color: var(--muted);
}

.conversion-section {
  background: var(--paper);
}

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

.proof-grid article,
.industry-grid span {
  min-height: 156px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(17, 21, 28, 0.05);
}

.proof-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
}

.proof-grid p {
  margin: 0;
  color: var(--muted);
}

.section {
  padding: 82px 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin: 18px 0 10px;
  font-size: 23px;
  line-height: 1.2;
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-heading.left {
  margin: 0;
  text-align: left;
}

.services-section {
  background: #1d2430;
  color: var(--white);
}

.services-section .section-kicker {
  color: #ff5a65;
}

.services-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading p,
.service-card p,
.process-layout p,
.quote-layout p,
.faq-grid p,
.contact-section p,
.form-note {
  color: var(--muted);
}

.service-feature {
  display: grid;
  gap: 22px;
}

.service-feature article {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(17, 21, 28, 0.06);
}

.service-feature img,
.machine-layout img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
}

.service-number {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  background: var(--soft-blue);
  color: var(--blue-dark);
  font-weight: 900;
}

.service-feature ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--steel);
  font-weight: 700;
}

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

.capability-section {
  background: var(--white);
}

.capability-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.capability-table > div {
  display: grid;
  grid-template-columns: 0.85fr 1fr 1.1fr 1.2fr;
  border-bottom: 1px solid var(--line);
}

.capability-table > div:last-child {
  border-bottom: 0;
}

.capability-table span {
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--steel);
}

.capability-table span:last-child {
  border-right: 0;
}

.capability-table .table-head {
  background: #eef6ff;
}

.capability-table .table-head span,
.capability-table div span:first-child {
  color: var(--ink);
  font-weight: 900;
}

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

.service-icon {
  display: inline-grid;
  min-width: 52px;
  height: 44px;
  place-items: center;
  background: #eef6ff;
  color: var(--blue-dark);
  font-weight: 900;
}

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

.service-tile {
  display: grid;
  gap: 14px;
}

.service-tile img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.service-tile div {
  display: grid;
  gap: 8px;
  text-align: center;
}

.service-tile h3 {
  margin: 0;
  color: var(--white);
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-tile p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.5;
}

.service-detail-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 34px;
}

.service-detail-strip span {
  padding: 15px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}

.examples-section {
  background: var(--white);
}

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

.example-card {
  display: grid;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(17, 21, 28, 0.06);
}

.example-card.featured {
  grid-column: span 2;
  grid-row: span 2;
}

.example-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.example-card.featured img {
  aspect-ratio: 16 / 11;
}

.example-card div {
  padding: 20px;
}

.example-card span {
  color: var(--blue-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.example-card h3 {
  margin: 8px 0 8px;
  font-size: 21px;
}

.example-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.dark-section,
.process-band {
  background: #1d2430;
  color: var(--white);
}

.dark-section .section-kicker,
.process-band .section-kicker {
  color: #ff5a65;
}

.machine-layout,
.process-layout,
.quote-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 54px;
  align-items: start;
}

.machine-list,
.material-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.machine-list span,
.material-list span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--steel);
  font-weight: 800;
}

.dark-section .machine-list span {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

.steps {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  min-height: 96px;
  padding: 22px 22px 22px 78px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.74);
}

.steps li::before {
  position: absolute;
  top: 22px;
  left: 22px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  background: var(--red);
  color: var(--white);
  content: counter(step);
  counter-increment: step;
  font-weight: 900;
}

.steps strong {
  display: block;
  margin-bottom: 4px;
  color: var(--white);
}

.quote-section,
.contact-section {
  background: var(--white);
}

.industry-section {
  background: var(--paper);
}

.industry-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: start;
}

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

.industry-grid span {
  min-height: auto;
  font-weight: 900;
}

.quote-help {
  margin-top: 22px;
  padding: 18px;
  border-left: 4px solid var(--blue);
  background: var(--paper);
}

.quote-help strong,
.quote-help span {
  display: block;
}

.quote-form,
.contact-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.quote-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.quote-form label {
  display: grid;
  gap: 8px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 900;
}

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

.quote-form textarea {
  resize: vertical;
}

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

.hidden-field {
  position: absolute;
  left: -9999px;
}

.file-field input {
  padding: 11px;
}

.form-note {
  margin: 0;
  font-size: 13px;
}

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

.faq-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-link {
  display: block;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 22px;
  font-weight: 900;
  overflow-wrap: anywhere;
}

.address-text {
  margin: 0 0 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--steel);
  font-weight: 800;
}

.site-footer {
  padding: 26px 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.74);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 14px;
}

.footer-inner img {
  width: 138px;
  height: 52px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px;
}

.thanks-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    linear-gradient(120deg, rgba(0, 105, 184, 0.12), rgba(223, 31, 45, 0.08)),
    var(--paper);
}

.thanks-box {
  width: min(680px, 100%);
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-box img {
  width: 270px;
  height: auto;
  margin: 0 auto 24px;
  border: 0;
}

.thanks-box h1 {
  margin: 10px 0 14px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.08;
}

.thanks-box p {
  max-width: 540px;
  margin: 0 auto 24px;
  color: var(--muted);
}

.success-badge {
  display: inline-flex;
  padding: 8px 12px;
  border: 1px solid #b9e4c4;
  background: #effaf2;
  color: #12632a;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.thanks-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

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

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

  .nav-quote {
    display: none;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .site-nav {
    position: absolute;
    top: 84px;
    right: 20px;
    display: none;
    width: min(310px, calc(100vw - 40px));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero-stats,
  .trust-grid,
  .service-grid,
  .service-gallery,
  .faq-grid,
  .proof-grid,
  .example-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .example-card.featured {
    grid-column: span 2;
  }

  .service-feature article,
  .machine-layout,
  .process-layout,
  .quote-layout,
  .contact-layout,
  .industry-layout {
    grid-template-columns: 1fr;
  }

  .capability-table > div {
    grid-template-columns: 1fr;
  }

  .capability-table span {
    border-right: 0;
  }
}

@media (max-width: 680px) {
  .container,
  .hero-content {
    width: min(100% - 28px, 1180px);
  }

  .brand {
    width: 188px;
    height: 58px;
  }

  .brand img {
    width: 188px !important;
    height: 58px !important;
    max-width: 188px !important;
  }

  .hero,
  .hero-content {
    min-height: calc(100vh - 75px);
  }

  .hero h1 {
    font-size: 35px;
  }

  .hero-stats,
  .trust-grid,
  .service-grid,
  .service-gallery,
  .faq-grid,
  .quote-form,
  .proof-grid,
  .industry-grid,
  .example-grid {
    grid-template-columns: 1fr;
  }

  .example-card.featured {
    grid-column: span 1;
  }

  .trust-grid div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .section {
    padding: 64px 0;
  }

  .button {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
