:root {
  --ink: #16202a;
  --muted: #5d6b78;
  --line: #d9e1e8;
  --panel: #f4f7fa;
  --brand: #0d5c8f;
  --brand-dark: #083e61;
  --accent: #d5452f;
  --white: #fff;
  --shadow: 0 14px 36px rgba(20, 35, 50, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.topbar {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  padding: 8px clamp(18px, 4vw, 56px);
  color: var(--muted);
  font-size: 13px;
  border-bottom: 1px solid #edf1f4;
}

.topbar a {
  color: var(--brand);
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 56px);
}

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

.brand img {
  width: min(300px, 42vw);
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  font-size: 14px;
  font-weight: 700;
}

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

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  width: 40px;
  height: 40px;
  font-size: 22px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  min-height: 620px;
  background: #102638;
  color: var(--white);
}

.hero-media {
  min-height: 420px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 84px);
}

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

.hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.hero p:not(.eyebrow) {
  max-width: 580px;
  margin: 22px 0 0;
  color: #d7e3ec;
  font-size: 17px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
}

.btn.primary {
  background: var(--accent);
  color: var(--white);
}

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

.category-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.category-band a {
  padding: 18px 16px;
  text-align: center;
  border-right: 1px solid var(--line);
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 14px;
}

.category-band a:last-child {
  border-right: 0;
}

.section {
  padding: clamp(44px, 6vw, 76px) clamp(18px, 4vw, 56px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
}

h3 {
  margin: 0;
  font-size: 24px;
}

.product-group {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.group-title a,
.product-card a {
  color: var(--brand);
  font-weight: 800;
  font-size: 14px;
}

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

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

.product-card {
  border: 1px solid var(--line);
  background: var(--white);
  min-height: 100%;
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.product-card h4 {
  min-height: 72px;
  margin: 0;
  padding: 16px 16px 8px;
  font-size: 15px;
  line-height: 1.35;
}

.product-card a {
  display: inline-block;
  padding: 0 16px 18px;
}

.mould-note {
  margin-top: 18px;
  padding: 16px 18px;
  color: #304150;
  background: var(--panel);
  border-left: 4px solid var(--accent);
  font-weight: 700;
}

.machine-section {
  border-bottom: 1px solid var(--line);
}

.machine-showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(22px, 4vw, 44px);
  align-items: stretch;
}

.machine-media {
  min-height: 420px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.machine-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.machine-summary {
  display: grid;
  align-content: start;
  gap: 18px;
}

.machine-summary h4 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.15;
}

.machine-summary p {
  margin: 0;
  color: #304150;
}

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

.machine-stats span {
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 14px;
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 13px;
}

.machine-stats strong {
  color: var(--accent);
  font-size: 18px;
  line-height: 1.2;
}

.parameter-list {
  display: grid;
  gap: 10px;
}

.parameter-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.parameter-list strong {
  color: var(--brand-dark);
}

.parameter-list span {
  color: #304150;
}

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

.spec-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  font-size: 13px;
}

.spec-table th,
.spec-table td {
  padding: 11px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  white-space: nowrap;
}

.spec-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: var(--white);
  background: var(--brand-dark);
  font-size: 12px;
  text-transform: uppercase;
}

.spec-table th:last-child,
.spec-table td:last-child {
  border-right: 0;
}

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

.spec-table td:first-child {
  color: var(--brand-dark);
  font-weight: 800;
}

.about {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(28px, 6vw, 80px);
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-text {
  columns: 2;
  column-gap: 36px;
  color: #304150;
}

.about-text p {
  margin: 0 0 16px;
  break-inside: avoid;
}

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

.quality-item {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--white);
}

.quality-item strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: 18px;
}

.quality-item span,
.contact p,
.contact-list {
  color: var(--muted);
}

.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 6vw, 72px);
  background: #102638;
  color: var(--white);
}

.contact p {
  max-width: 560px;
  color: #d7e3ec;
}

.contact-list {
  display: grid;
  gap: 8px;
  margin-top: 24px;
  color: #d7e3ec;
}

.quote-form {
  display: grid;
  gap: 14px;
  padding: 24px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.quote-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px;
  color: var(--ink);
  font: inherit;
}

.quote-form .btn {
  width: fit-content;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  padding: 28px clamp(18px, 4vw, 56px);
  color: #c7d3dd;
  background: #071723;
}

.footer p {
  margin: 6px 0 0;
  color: #93a7b7;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}

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

  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    width: 100%;
    padding: 0 0 18px;
  }

  .nav-links.open {
    display: grid;
    gap: 14px;
  }

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

  .hero {
    min-height: unset;
  }

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

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

  .about-text {
    columns: 1;
  }
}

@media (max-width: 620px) {
  .brand {
    min-width: 0;
  }

  .brand img {
    width: 220px;
  }

  .topbar {
    justify-content: space-between;
  }

  .hero-copy {
    padding: 30px 18px 38px;
  }

  .product-grid,
  .split .product-grid,
  .machine-stats,
  .quality {
    grid-template-columns: 1fr;
  }

  .machine-media {
    min-height: 360px;
  }

  .parameter-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .section-heading,
  .group-title,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
