:root {
  color-scheme: light;
  --ink: #141922;
  --muted: #5d6572;
  --line: #dfe4ea;
  --soft: #f5f7f9;
  --panel: #ffffff;
  --brand: #d91f2b;
  --brand-dark: #a9121e;
  --steel: #27313f;
  --blue: #285c9d;
  --shadow: 0 18px 50px rgba(20, 25, 34, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(223, 228, 234, 0.86);
  backdrop-filter: blur(14px);
}

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

.brand img {
  width: 220px;
  height: 52px;
  object-fit: contain;
  object-position: left center;
}

footer span:first-child {
  display: block;
  font-size: 16px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover,
.contact-panel a:hover {
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.language-link {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  border: 1px solid var(--line);
  color: var(--steel);
  font-size: 12px;
  font-weight: 850;
}

.language-link:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.language-link.active {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
}

.language-link.active:hover {
  color: #ffffff;
}

.header-cta,
.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 750;
}

.header-cta,
.button.primary {
  color: #ffffff;
  background: var(--brand);
}

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

.hero {
  display: grid;
  min-height: calc(100vh - 76px);
  grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding: clamp(48px, 7vw, 92px) clamp(20px, 5vw, 72px) 42px;
  background:
    linear-gradient(120deg, rgba(245, 247, 249, 0.95), rgba(255, 255, 255, 0.72)),
    radial-gradient(circle at 86% 16%, rgba(217, 31, 43, 0.12), transparent 30%);
}

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

.hero-eyebrow {
  font-size: clamp(17px, 1.8vw, 24px);
  line-height: 1.4;
  letter-spacing: 0.08em;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.18;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 19px;
}

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

.button.secondary {
  border-color: var(--ink);
  background: #ffffff;
}

.button.secondary:hover {
  background: var(--ink);
  color: #ffffff;
}

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

.hero-metrics div {
  padding: 16px;
  border-left: 3px solid var(--brand);
  background: rgba(255, 255, 255, 0.72);
}

.hero-metrics dt {
  font-size: 30px;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hero-media {
  position: relative;
  overflow: hidden;
  background: var(--steel);
  box-shadow: var(--shadow);
}

.hero-media video {
  width: 100%;
  height: min(62vh, 620px);
  min-height: 390px;
  object-fit: cover;
}

.media-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  color: #ffffff;
  background: rgba(20, 25, 34, 0.82);
}

.media-caption span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  min-height: 72px;
  padding: 24px 20px;
  border-right: 1px solid var(--line);
  color: var(--steel);
  font-weight: 800;
  text-align: center;
}

.section {
  padding: clamp(72px, 8vw, 118px) clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(34px, 6vw, 88px);
  background: var(--steel);
  color: #ffffff;
}

.split .eyebrow,
.quality .eyebrow,
.contact .eyebrow {
  color: #ff5b65;
}

.split .eyebrow {
  font-size: clamp(16px, 1.5vw, 22px);
  letter-spacing: 0.08em;
}

.split h2 {
  max-width: 620px;
}

.solution-grid {
  display: grid;
  gap: 16px;
}

.solution-grid article {
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
}

.solution-grid span {
  color: #ff6f78;
  font-size: 13px;
  font-weight: 800;
}

.solution-grid p,
.section-heading p,
.quality-copy p,
.contact p {
  color: var(--muted);
}

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

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

.section-heading {
  display: grid;
  max-width: 1040px;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: end;
  gap: clamp(26px, 5vw, 70px);
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading p:last-child {
  margin-bottom: 0;
  font-size: 17px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.product-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(20, 25, 34, 0.07);
}

.product-card.featured {
  position: relative;
  grid-row: span 2;
}

.product-card img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  object-position: center;
  background: #e8edf3;
}

.product-card.featured img {
  height: 490px;
  object-fit: contain;
  background: #e4f1ff;
}

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

.tag {
  margin-bottom: 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.machine-detail {
  margin-top: 34px;
  padding: clamp(26px, 4vw, 42px);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 36px rgba(20, 25, 34, 0.06);
}

.machine-detail-intro {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: end;
  margin-bottom: 28px;
}

.machine-detail .eyebrow {
  font-size: clamp(18px, 1.65vw, 24px);
  letter-spacing: 0.08em;
}

.machine-detail-intro h3 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
}

.machine-detail-intro p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
}

.spec-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #ffffff;
}

.spec-table th,
.spec-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table th {
  color: #ffffff;
  background: #1f6ea9;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.spec-table td {
  color: var(--steel);
  font-size: 14px;
  font-weight: 650;
}

.spec-table tr:nth-child(even) td {
  background: #f4f7fa;
}

.machine-detail-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(260px, 1.15fr) minmax(240px, 0.92fr);
  gap: 22px;
  margin-top: 28px;
}

.machine-detail-grid h4 {
  margin: 0 0 14px;
  font-size: 18px;
}

.compact-list,
.module-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.compact-list li,
.module-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.compact-list li::before,
.module-list li::before {
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  background: var(--brand);
}

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

.model-guide {
  padding: 20px;
  color: #ffffff;
  background: #1f6ea9;
}

.model-guide h4,
.model-guide p {
  color: #ffffff;
}

.model-guide p {
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.86;
}

.model-guide p:last-child {
  margin-bottom: 0;
}

.quality {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  background: #ffffff;
}

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

.base-gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.base-gallery figure {
  position: relative;
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  background: #dce3eb;
}

.base-gallery .gallery-large {
  grid-row: span 2;
  min-height: 560px;
}

.base-gallery img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.base-gallery figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  padding: 12px 14px;
  color: #ffffff;
  background: rgba(20, 25, 34, 0.78);
  font-size: 13px;
  font-weight: 800;
}

.quality-media {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.quality-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

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

.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--steel);
  font-weight: 700;
}

.check-list li::before {
  position: absolute;
  top: 0.4em;
  left: 0;
  content: "";
  width: 10px;
  height: 10px;
  border: 2px solid var(--brand);
  border-top: 0;
  border-left: 0;
  transform: rotate(45deg);
}

.video-section {
  background: #10151d;
  color: #ffffff;
}

.compact {
  display: block;
  margin-bottom: 28px;
}

.compact h2 {
  margin-bottom: 0;
}

.wide-video {
  width: 100%;
  max-height: 680px;
  background: #000000;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.trust {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  background: #ffffff;
}

.trust-copy p {
  color: var(--muted);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.proof-card {
  display: flex;
  min-height: 156px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border-top: 3px solid var(--brand);
  background: var(--soft);
}

.g7-card {
  align-items: center;
  text-align: center;
}

.g7-card img {
  width: min(128px, 100%);
  height: auto;
  margin-bottom: 12px;
}

.patent-card {
  align-items: center;
  text-align: center;
}

.ce-card {
  align-items: center;
  text-align: center;
}

.ce-card img {
  width: min(112px, 100%);
  aspect-ratio: 0.707;
  margin-bottom: 12px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(21, 33, 48, 0.12);
  box-shadow: 0 10px 24px rgba(21, 33, 48, 0.12);
}

.patent-card img {
  width: min(112px, 100%);
  aspect-ratio: 0.707;
  margin-bottom: 12px;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(21, 33, 48, 0.12);
  box-shadow: 0 10px 24px rgba(21, 33, 48, 0.12);
}

.credit-card {
  align-items: center;
  text-align: center;
}

.credit-card img {
  width: min(156px, 100%);
  aspect-ratio: 1.42;
  margin-bottom: 12px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(21, 33, 48, 0.12);
  box-shadow: 0 10px 24px rgba(21, 33, 48, 0.12);
}

.proof-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1;
}

.proof-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.trust-media {
  display: grid;
  grid-template-columns: 1fr 0.72fr;
  gap: 18px;
  align-items: stretch;
}

.trust-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.trust-media img:last-child {
  height: 420px;
  align-self: end;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.7fr);
  gap: clamp(30px, 6vw, 84px);
  padding: clamp(72px, 8vw, 110px) clamp(20px, 5vw, 72px);
  color: #ffffff;
  background:
    linear-gradient(rgba(20, 25, 34, 0.88), rgba(20, 25, 34, 0.88)),
    url("assets/quality-shot.jpg") center / cover;
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-panel a {
  color: #ffffff;
  font-size: clamp(18px, 3vw, 25px);
  font-weight: 850;
  overflow-wrap: anywhere;
}

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

.qr-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 8px;
}

.qr-contact {
  display: grid;
  width: 138px;
  gap: 10px;
}

.qr-contact img {
  width: 138px;
  height: 138px;
  padding: 10px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.qr-contact span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 22px clamp(20px, 5vw, 72px);
  color: #ffffff;
  background: #0a0d12;
}

footer span:not(:first-child) {
  color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero,
  .split,
  .section-heading,
  .machine-detail-intro,
  .quality,
  .trust,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-card.featured {
    grid-row: auto;
  }

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

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

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

  .base-gallery,
  .trust-media {
    grid-template-columns: 1fr;
  }

  .base-gallery .gallery-large,
  .base-gallery figure,
  .trust-media img,
  .trust-media img:last-child {
    min-height: auto;
    height: 360px;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    padding: 14px 18px;
    gap: 12px;
  }

  .brand {
    flex: 1 1 150px;
    min-width: 0;
  }

  .brand img {
    width: 170px;
    height: 48px;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
  }

  .header-cta {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 10px 13px;
  }

  .nav-links {
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 32px;
  }

  .hero {
    padding: 38px 18px;
  }

  .hero-metrics,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .hero-media video {
    min-height: 250px;
    height: 320px;
  }

  .media-caption {
    align-items: flex-start;
    flex-direction: column;
  }

  .section,
  .contact {
    padding: 64px 18px;
  }

  .product-card img,
  .product-card.featured img,
  .quality-media img,
  .base-gallery .gallery-large,
  .base-gallery figure,
  .trust-media img,
  .trust-media img:last-child {
    height: 300px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .module-list {
    grid-template-columns: 1fr;
  }

  footer {
    flex-direction: column;
  }
}

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

  .brand {
    width: 100%;
  }

  .header-actions {
    width: 100%;
    gap: 8px;
    align-items: flex-start;
    justify-content: space-between;
    margin-left: 0;
  }

  .language-switch {
    justify-content: flex-start;
  }

  .language-switch .language-link {
    flex: 0 0 auto;
    min-width: 42px;
    padding: 6px 8px;
  }

  .header-cta {
    flex: 1 1 auto;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 8px;
    font-size: 12px;
  }
}
