:root {
  --ink: #17191d;
  --muted: #5e6570;
  --line: #d9dde3;
  --soft: #f5f6f8;
  --panel: #ffffff;
  --steel: #2f3b46;
  --accent: #b7282e;
  --accent-2: #0f8c7c;
  --warm: #f1b444;
  --shadow: 0 18px 48px rgba(22, 27, 34, 0.12);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(217, 221, 227, 0.85);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}

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

.header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #2b3138;
  font-size: 14px;
  font-weight: 700;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--accent);
  background: #fff;
}

.menu-button {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-size: 24px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(23, 25, 29, 0.94), rgba(47, 59, 70, 0.86)),
    url("./assets/products/black-ring.jpg") center / cover;
  color: #fff;
}

.hero .section-inner {
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: center;
  gap: 38px;
  padding: 62px 0 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--warm);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(38px, 5.8vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 17px;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 800;
}

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.hero-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  min-height: 112px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.stat strong {
  display: block;
  font-size: 30px;
  line-height: 1.1;
}

.stat span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

section {
  padding: 78px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--muted);
}

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

.capability-grid,
.product-grid,
.process-grid {
  display: grid;
  gap: 18px;
}

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

.capability {
  min-height: 210px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}

.capability strong {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 14px;
}

.capability h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
}

.capability p,
.product-card p,
.process-step p,
.about-text p {
  color: var(--muted);
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.28 / 1;
  object-fit: cover;
  background: var(--soft);
}

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

.product-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.about {
  background: #fff;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 46px;
  align-items: center;
}

.about-image-grid {
  display: grid;
  grid-template-columns: 1fr 0.86fr;
  gap: 14px;
}

.about-image-grid img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--soft);
}

.about-image-grid img:first-child {
  grid-row: span 2;
}

.about-text h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.tag {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 12px;
  color: #2e353d;
  background: var(--soft);
  font-size: 14px;
  font-weight: 700;
}

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

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

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

.process-step {
  min-height: 208px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.06);
}

.process-step span {
  color: var(--warm);
  font-weight: 900;
}

.process-step p {
  color: rgba(255, 255, 255, 0.72);
}

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

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 28px;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background: #fff;
}

.contact-panel h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
}

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

.contact-list a,
.contact-list span {
  display: block;
  word-break: break-word;
}

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

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: #343b44;
  font-size: 13px;
  font-weight: 800;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 134px;
  resize: vertical;
}

.file-field input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-picker {
  display: inline-flex;
  width: fit-content;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.file-picker:hover {
  border-color: var(--accent);
}

.file-selected:empty {
  display: none;
}

.file-field span {
  color: var(--muted);
  font-size: 13px;
}

.form-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.button.dark {
  background: var(--steel);
  color: #fff;
}

.thanks-page {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(23, 25, 29, 0.94), rgba(47, 59, 70, 0.78)),
    url("./assets/products/cnc-aluminum.jpg") center / cover;
  color: #fff;
}

.thanks-page section {
  display: grid;
  min-height: 100vh;
  place-items: center;
}

.thanks-panel {
  max-width: 760px;
}

.thanks-panel p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.site-footer {
  padding: 28px 0;
  background: #15171a;
  color: rgba(255, 255, 255, 0.72);
}

.footer-inner {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
}

@media (max-width: 920px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: #fff;
    padding: 8px 20px 18px;
  }

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

  .nav a {
    padding: 12px 0;
  }

  .language-switch {
    justify-content: center;
  }

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

  .hero .section-inner {
    min-height: auto;
    gap: 28px;
    padding: 54px 0 48px;
  }

  h1 {
    max-width: 720px;
    font-size: clamp(36px, 7.2vw, 54px);
  }

  .hero-copy {
    max-width: 720px;
  }

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

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

@media (max-width: 620px) {
  .header-inner,
  .section-inner,
  .footer-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand small {
    display: none;
  }

  .header-inner {
    min-height: 62px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .nav {
    top: 62px;
  }

  .menu-button {
    width: 36px;
    height: 36px;
    font-size: 22px;
  }

  .hero {
    background-position: center top;
  }

  .hero .section-inner {
    padding: 36px 0 34px;
  }

  .eyebrow {
    margin-bottom: 10px;
    font-size: 11px;
  }

  h1 {
    max-width: 360px;
    margin-bottom: 14px;
    font-size: 31px;
    line-height: 1.08;
  }

  .hero-copy {
    font-size: 15px;
    line-height: 1.55;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr 0.72fr;
    gap: 10px;
    margin-top: 22px;
  }

  .button {
    min-height: 44px;
    padding: 0 12px;
    font-size: 15px;
    text-align: center;
  }

  .hero-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .stat {
    min-height: 72px;
    padding: 14px;
  }

  .stat strong {
    font-size: 24px;
  }

  .stat span {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.25;
  }

  section {
    padding: 54px 0;
  }

  .capability-grid,
  .product-grid,
  .process-grid,
  .about-image-grid {
    grid-template-columns: 1fr;
  }

  .about-image-grid img:first-child {
    grid-row: auto;
  }

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