:root {
  --ink: #141a20;
  --ink-soft: #34424d;
  --muted: #6d7a84;
  --paper: #f4f6f7;
  --surface: #ffffff;
  --steel: #e7edf0;
  --line: rgba(20, 26, 32, 0.12);
  --orange: #f36b21;
  --orange-deep: #c94f12;
  --teal: #008f8b;
  --blue: #2e5f86;
  --navy: #101820;
  --shadow: 0 22px 58px rgba(20, 26, 32, 0.12);
  --container: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(14, 20, 26, 0.92);
  backdrop-filter: blur(18px);
}

.nav {
  position: relative;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 6px;
  background: #fff;
}

.brand img {
  width: 150px;
  height: auto;
}

.footer-logo {
  width: 166px;
  height: auto;
  padding: 7px 10px;
  border-radius: 6px;
  background: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  font-weight: 700;
}

.nav-links > a,
.nav-menu summary {
  padding: 8px 0;
}

.nav-links > a:hover,
.nav-menu summary:hover,
.nav-menu[open] summary {
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #fff;
}

.nav-menu {
  position: relative;
}

.products-menu {
  position: static;
}

.nav-menu summary {
  cursor: pointer;
  list-style: none;
}

.nav-menu summary::-webkit-details-marker {
  display: none;
}

.nav-menu summary::after {
  margin-left: 7px;
  color: rgba(255, 255, 255, 0.52);
  content: "v";
  font-size: 11px;
}

.mega-panel,
.mini-panel {
  position: absolute;
  top: calc(100% + 24px);
  z-index: 40;
  display: grid;
  border: 1px solid rgba(20, 26, 32, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.mega-panel {
  left: 50%;
  width: min(1120px, calc(100vw - 40px));
  grid-template-columns: 260px 1fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
  transform: translateX(-50%);
}

.mini-panel {
  right: 0;
  width: 310px;
  padding: 10px;
}

.mega-sidebar {
  display: grid;
  align-content: start;
  background: #eeeeee;
}

.mega-sidebar a {
  position: relative;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  border-bottom: 1px solid rgba(20, 26, 32, 0.12);
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 800;
}

.mega-sidebar a::after {
  content: ">";
  color: var(--ink-soft);
}

.mega-sidebar a.active,
.mega-sidebar a:hover {
  background: #d9d9d9;
  color: var(--ink);
}

.mega-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  min-height: 360px;
  padding: 24px 28px 34px;
}

.mega-tile {
  display: grid;
  align-content: start;
  gap: 12px;
  color: var(--ink);
}

.mega-tile span {
  display: none;
  min-height: 42px;
  align-items: end;
  border-bottom: 3px solid #d13a32;
  color: #333;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}

.mega-tile span::before,
.mega-tile span::after {
  color: #9a9a9a;
}

.mega-tile span::before {
  content: ">> ";
}

.mega-tile span::after {
  content: " <<";
}

.mega-tile img {
  width: 100%;
  aspect-ratio: 1.76 / 1;
  object-fit: contain;
}

.mega-tile small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
}

.mega-tile:hover span {
  color: var(--orange-deep);
}

.mega-intro {
  padding: 22px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.mega-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mega-intro strong {
  display: block;
  font-size: 26px;
  line-height: 1.12;
}

.mega-intro p,
.mini-panel span {
  color: rgba(255, 255, 255, 0.66);
  line-height: 1.55;
}

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

.mega-column h3,
.mega-column h4 {
  margin: 0;
}

.mega-column h3 {
  color: var(--orange-deep);
  font-size: 14px;
  line-height: 1.25;
}

.mega-column h4 {
  margin-top: 16px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mega-column a,
.mini-panel a {
  display: grid;
  gap: 4px;
  padding: 9px 0;
  color: var(--ink-soft);
  line-height: 1.35;
}

.mega-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.mega-column a:hover,
.mini-panel a:hover {
  color: var(--orange-deep);
}

.mini-panel a {
  padding: 13px;
  border-radius: 6px;
}

.mini-panel a:hover {
  background: rgba(243, 107, 33, 0.1);
}

.mini-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.nav-cta,
.button,
.filter-button,
.card-actions a,
.card-actions button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.nav-cta {
  padding: 0 18px;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
}

.button {
  padding: 0 22px;
}

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

.button-primary:hover,
.nav-cta:hover {
  background: var(--orange-deep);
}

.button-secondary {
  border-color: rgba(20, 26, 32, 0.22);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

.button-secondary:hover {
  border-color: rgba(20, 26, 32, 0.38);
  background: #fff;
}

.nav-cta:hover,
.button:hover,
.card-actions a:hover,
.card-actions button:hover {
  transform: translateY(-2px);
}

.hero {
  position: relative;
  display: grid;
  min-height: calc(100vh - 76px);
  align-items: center;
  overflow: hidden;
  padding: 92px 0 82px;
  background: #f4f6f7;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

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

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 37%, rgba(255, 255, 255, 0.28) 72%, rgba(255, 255, 255, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(244, 246, 247, 0.32));
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--ink);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--orange);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero h1,
.intro-layout h2,
.section-heading h2,
.selection-layout h2,
.enquiry-copy h2 {
  margin: 16px 0;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.hero h1 {
  max-width: 860px;
  font-size: clamp(3rem, 6.6vw, 6.6rem);
}

.hero-text {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.75;
}

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

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 180px));
  gap: 12px;
  margin: 0;
}

.hero-metrics div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 36px rgba(20, 26, 32, 0.08);
}

.hero-metrics dt {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
}

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

.capability-strip {
  position: relative;
  z-index: 2;
  margin-top: -31px;
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.strip-grid span {
  display: grid;
  min-height: 62px;
  place-items: center;
  padding: 12px;
  border-right: 1px solid var(--line);
  color: var(--ink-soft);
  font-weight: 800;
  text-align: center;
}

.strip-grid span:last-child {
  border-right: 0;
}

.section {
  padding: 92px 0;
}

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

.intro-layout,
.selection-layout,
.enquiry-layout,
.footer-layout {
  display: grid;
  gap: 34px;
}

.intro-layout {
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
}

.intro-layout h2,
.section-heading h2,
.selection-layout h2,
.enquiry-copy h2 {
  max-width: 820px;
  font-size: clamp(2.2rem, 4.2vw, 4.15rem);
}

.intro-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.section-heading {
  max-width: 780px;
  margin: 0 0 34px;
}

.section-heading p,
.intro-copy p,
.selection-layout p,
.enquiry-copy p,
.product-card p,
.support-grid p,
.site-footer p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-button {
  min-height: 54px;
  padding: 0 22px;
  border-color: #050505;
  background: #050505;
  color: #fff;
  cursor: pointer;
  text-transform: uppercase;
}

.filter-button.active,
.filter-button:hover {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

.product-section {
  background:
    linear-gradient(180deg, #eef2f4 0%, #ffffff 420px),
    #fff;
}

.product-category-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 34px;
  align-items: center;
  margin-bottom: 24px;
  padding: 34px;
  border: 1px solid rgba(20, 26, 32, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 250, 0.92)),
    #fff;
  box-shadow: var(--shadow);
}

.category-hero-copy h1 {
  max-width: 760px;
  margin: 16px 0;
  font-size: clamp(2.55rem, 5.2vw, 5.4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
}

.category-hero-copy p:not(.eyebrow) {
  max-width: 700px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.72;
}

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

.category-hero-media {
  position: relative;
  min-height: 320px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 30%, rgba(47, 95, 134, 0.15), transparent 34%),
    linear-gradient(180deg, #fff, #e7edf0);
}

.category-hero-media span {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.category-hero-media img {
  width: min(92%, 560px);
  max-height: 320px;
  object-fit: contain;
}

.category-insight {
  display: grid;
  grid-template-columns: 0.72fr 1.1fr 1.18fr;
  overflow: hidden;
  margin-bottom: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.category-insight div {
  min-height: 92px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.category-insight div:last-child {
  border-right: 0;
}

.category-insight span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-insight strong {
  font-size: 16px;
  line-height: 1.35;
}

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

.product-card {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(20, 26, 32, 0.07);
}

.product-card[hidden] {
  display: none;
}

.featured-products .product-card:not([data-featured="true"]) {
  display: none;
}

.product-card img {
  width: 100%;
  aspect-ratio: 1.46 / 1;
  object-fit: contain;
  object-position: center;
  border-bottom: 1px solid var(--line);
  background: var(--steel);
}

.clickable-product-image {
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.clickable-product-image:hover,
.clickable-product-image:focus-visible {
  transform: scale(1.015);
  filter: saturate(1.05);
}

.product-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.tag {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  margin-bottom: 14px;
  padding: 0 10px;
  border-radius: 4px;
  background: rgba(47, 95, 134, 0.12);
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

.product-card h3,
.support-grid h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.18;
}

.product-card ul {
  margin: 0 0 22px;
  padding-left: 18px;
  color: var(--ink-soft);
  line-height: 1.8;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

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

.card-actions a,
.card-actions button {
  min-height: 42px;
  padding: 0 12px;
  cursor: pointer;
  font-size: 13px;
}

.card-actions a {
  border-color: rgba(47, 95, 134, 0.28);
  color: var(--blue);
}

.card-actions button {
  background: var(--orange);
  color: #fff;
}

.card-actions a:hover {
  background: rgba(47, 95, 134, 0.1);
}

.card-actions button:hover {
  background: var(--orange-deep);
}

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

.alternate-detail {
  background: #fff;
}

.detail-tabs {
  position: sticky;
  top: 76px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px rgba(20, 26, 32, 0.07);
}

.detail-tabs a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  padding: 0 14px;
  border-radius: 6px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.detail-tabs a:hover {
  background: var(--navy);
  color: #fff;
}

.machine-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 34px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.machine-copy h1,
.machine-copy h2,
.product-description-panel h2,
.feature-showcase h2,
.spec-block h2,
.video-panel h2 {
  margin: 16px 0;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.machine-copy p,
.product-description-panel p,
.feature-showcase p,
.video-panel p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hf-g-product-hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(47, 95, 134, 0.12), transparent 30%),
    linear-gradient(135deg, #fff 0%, #fff 46%, #eef3f6 100%);
}

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

.hero-badges span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(47, 95, 134, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.machine-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button-outline {
  border-color: rgba(47, 95, 134, 0.28);
  background: #fff;
  color: var(--blue);
}

.button-outline:hover {
  background: rgba(47, 95, 134, 0.1);
}

.machine-media {
  min-height: 340px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(180deg, #f9fafb, #edf1f4);
}

.machine-media img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.hero-media-stack {
  align-content: center;
  gap: 16px;
  padding: 18px;
}

.hero-image-carousel {
  width: 100%;
}

.hero-image-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #f9fafb, #edf1f4);
}

.hero-image-slide {
  display: none;
  margin: 0;
}

.hero-image-slide.active {
  display: block;
}

.hero-image-slide img {
  width: 100%;
  height: 310px;
  object-fit: cover;
}

.hero-image-slide.contain-image img {
  padding: 14px;
  object-fit: contain;
}

.hero-image-slide figcaption {
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.image-carousel-arrow {
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  cursor: pointer;
  font-size: 25px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(20, 26, 32, 0.18);
}

.image-carousel-arrow:hover {
  background: var(--orange);
  color: #fff;
}

.image-carousel-arrow.prev {
  left: 12px;
}

.image-carousel-arrow.next {
  right: 12px;
}

.image-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.image-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(47, 95, 134, 0.28);
  cursor: pointer;
}

.image-dots button.active {
  width: 24px;
  border-radius: 999px;
  background: var(--orange);
}

.intro-video-card {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 26, 32, 0.08);
}

.intro-video-card video,
.intro-video-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 0;
  background: #05080b;
}

.intro-video-card span {
  display: block;
  padding: 12px 14px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.key-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.key-specs article {
  min-height: 132px;
  padding: 22px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
}

.key-specs strong {
  display: block;
  margin-bottom: 10px;
  color: var(--orange);
  font-size: 25px;
  line-height: 1.1;
}

.key-specs span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
  line-height: 1.45;
}

.product-description-panel {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 34px;
  align-items: start;
  margin: 44px 0 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 26, 32, 0.06);
}

.product-description-panel h2 {
  font-size: clamp(1.85rem, 3vw, 3rem);
}

.detail-grid,
.function-grid,
.component-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.detail-grid article,
.function-grid article,
.component-grid article {
  min-height: 240px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--orange);
  font-weight: 900;
}

.detail-grid h3,
.function-grid h3,
.component-grid h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.16;
}

.detail-grid p,
.function-grid p,
.component-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.feature-showcase,
.spec-block,
.video-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 34px;
  margin-top: 44px;
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.component-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.component-grid article {
  min-height: 188px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 246, 247, 0.95)),
    #fff;
}

.spec-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(20, 26, 32, 0.06);
}

.spec-list div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 17px 20px;
  border-bottom: 1px solid var(--line);
}

.spec-list div:last-child {
  border-bottom: 0;
}

.spec-list span {
  color: var(--muted);
  font-weight: 800;
}

.spec-list strong {
  text-align: right;
}

.function-video-library {
  margin-top: 54px;
}

.function-carousel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 22px;
  align-items: stretch;
}

.function-carousel-stage {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.function-slide {
  display: none;
}

.function-slide.active {
  display: block;
}

.function-slide video,
.function-slide iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 0;
  background: #05080b;
}

.function-slide-copy {
  padding: 24px;
  background: #fff;
}

.function-slide-copy h3 {
  margin: 0 0 8px;
  font-size: 28px;
  line-height: 1.18;
}

.function-slide-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.carousel-arrow {
  position: absolute;
  top: 38%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  cursor: pointer;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.carousel-arrow:hover {
  background: var(--orange);
  color: #fff;
}

.carousel-arrow.prev {
  left: 16px;
}

.carousel-arrow.next {
  right: 16px;
}

.function-tabs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.function-tabs button {
  display: grid;
  gap: 6px;
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 8px 22px rgba(20, 26, 32, 0.05);
}

.function-tabs button:hover,
.function-tabs button.active {
  border-color: rgba(243, 107, 33, 0.7);
  background: var(--navy);
  color: #fff;
}

.function-tabs strong {
  font-size: 16px;
  line-height: 1.2;
}

.function-tabs span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.function-tabs button:hover span,
.function-tabs button.active span {
  color: rgba(255, 255, 255, 0.72);
}

.video-panel video,
.video-panel iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  border: 0;
  background: #000;
  box-shadow: var(--shadow);
}

.youtube-fallback {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #111827;
  box-shadow: var(--shadow);
  color: #fff;
}

.youtube-fallback img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.05), rgba(15, 23, 42, 0.68));
}

.youtube-fallback-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 74px;
  height: 52px;
  transform: translate(-50%, -50%);
  border-radius: 14px;
  background: #ff0033;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.28);
}

.youtube-fallback-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  width: 0;
  height: 0;
  transform: translate(-50%, -50%);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid #fff;
}

.youtube-fallback-caption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

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

.category-map-grid article {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(20, 26, 32, 0.06);
}

.category-map-grid h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.18;
}

.category-map-grid p,
.category-map-grid li {
  color: var(--muted);
  line-height: 1.65;
}

.category-map-grid ul {
  margin: 0 0 22px;
  padding-left: 18px;
}

.category-map-grid a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 800;
}

.selection-section {
  background: var(--steel);
}

.service-hero-section {
  background:
    radial-gradient(circle at 76% 20%, rgba(47, 95, 134, 0.14), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #eef3f6 100%);
}

.service-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: center;
}

.service-hero-copy h1 {
  max-width: 920px;
  margin: 16px 0;
  font-size: clamp(2.6rem, 5.4vw, 5.7rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
}

.service-hero-copy p {
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
}

.service-hero-panel {
  display: grid;
  gap: 18px;
  padding: 30px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.98), rgba(24, 45, 59, 0.96)),
    var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.service-hero-panel strong {
  max-width: 520px;
  font-size: clamp(1.85rem, 3vw, 3rem);
  line-height: 1.02;
}

.service-hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.7;
}

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

.service-proof-grid span {
  display: grid;
  min-height: 58px;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.service-program-section {
  background: #fff;
}

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

.service-card-grid article {
  min-height: 272px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 250, 0.96)),
    #fff;
  box-shadow: 0 12px 34px rgba(20, 26, 32, 0.06);
}

.service-card-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--orange);
  font-weight: 900;
}

.service-card-grid h3,
.service-focus-grid h3 {
  margin: 0 0 12px;
  font-size: 25px;
  line-height: 1.14;
}

.service-card-grid p,
.service-focus-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-focus-section {
  background:
    linear-gradient(180deg, #f4f6f7 0%, #ffffff 100%),
    var(--paper);
}

.service-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.service-focus-grid article {
  min-height: 330px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(20, 26, 32, 0.07);
}

.service-focus-grid .eyebrow {
  margin-bottom: 14px;
}

.selection-layout {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.spec-table {
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.spec-row {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 18px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.spec-row:last-child {
  border-bottom: 0;
}

.spec-row span {
  color: var(--muted);
  font-weight: 800;
}

.spec-row strong {
  color: var(--ink);
  text-align: right;
}

.dark-section {
  background:
    linear-gradient(135deg, rgba(15, 22, 29, 0.98), rgba(19, 35, 46, 0.96)),
    var(--navy);
  color: #fff;
}

.section-heading.light {
  margin-inline: auto;
  text-align: center;
}

.section-heading.light p {
  color: rgba(255, 255, 255, 0.68);
}

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

.support-grid article {
  min-height: 250px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
}

.support-grid span {
  display: block;
  margin-bottom: 42px;
  color: var(--orange);
  font-weight: 800;
}

.support-grid p {
  color: rgba(255, 255, 255, 0.68);
}

.enquiry-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(244, 246, 247, 1)),
    var(--paper);
}

.enquiry-layout {
  grid-template-columns: 0.92fr 1.08fr;
  align-items: start;
}

.contact-note {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 20px;
  border-left: 4px solid var(--teal);
  background: rgba(0, 143, 139, 0.08);
  color: var(--ink-soft);
  line-height: 1.65;
}

.contact-note strong {
  color: var(--ink);
}

.contact-note a {
  color: var(--blue);
  font-weight: 800;
}

.enquiry-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.enquiry-form label {
  display: grid;
  gap: 9px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.enquiry-form textarea {
  resize: vertical;
}

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: rgba(0, 143, 139, 0.75);
  box-shadow: 0 0 0 4px rgba(0, 143, 139, 0.12);
}

.full {
  width: 100%;
}

.form-note {
  min-height: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.form-note.success {
  color: #087a54;
}

.form-note a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
}

.site-footer {
  padding: 38px 0 54px;
  background: var(--navy);
  color: #fff;
}

.footer-layout {
  grid-template-columns: 1fr auto;
  align-items: center;
}

.site-footer p {
  max-width: 480px;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 700;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 1100px) {
  .product-grid,
  .category-map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .key-specs,
  .detail-grid,
  .function-grid,
  .component-grid,
  .function-carousel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mega-panel {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 980px) {
  .nav {
    gap: 10px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    max-height: calc(100vh - 96px);
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(14, 20, 26, 0.98);
    box-shadow: var(--shadow);
  }

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

  .nav-links > a,
  .nav-menu summary {
    padding: 16px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .mega-panel,
  .mini-panel {
    position: static;
    width: auto;
    margin: 0 0 10px;
    transform: none;
  }

  .mega-panel {
    padding: 14px;
  }

  .mega-intro {
    padding: 18px;
  }

  .mega-intro strong {
    font-size: 22px;
  }

  .hero {
    min-height: auto;
    padding: 86px 0 72px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.72)),
      linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(244, 246, 247, 0.62));
  }

  .strip-grid,
  .intro-layout,
  .intro-copy,
  .product-category-hero,
  .category-insight,
  .machine-hero,
  .product-description-panel,
  .feature-showcase,
  .spec-block,
  .video-panel,
  .service-hero-layout,
  .service-card-grid,
  .service-focus-grid,
  .selection-layout,
  .support-grid,
  .enquiry-layout,
  .footer-layout {
    grid-template-columns: 1fr;
  }

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

  .strip-grid span:last-child {
    border-bottom: 0;
  }

  .category-insight div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .category-insight div:last-child {
    border-bottom: 0;
  }

  .support-grid article {
    min-height: 0;
  }

  .support-grid span {
    margin-bottom: 24px;
  }
}

@media (max-width: 720px) {
  .product-grid,
  .category-map-grid,
  .mega-columns,
  .mega-showcase,
  .key-specs,
  .detail-grid,
  .function-grid,
  .component-grid,
  .function-carousel,
  .gallery-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .function-tabs {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .function-tabs button {
    min-width: 210px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 24px, 1180px);
  }

  .nav {
    min-height: 68px;
  }

  .brand img {
    width: 118px;
  }

  .footer-logo {
    width: 132px;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0 13px;
    font-size: 13px;
  }

  .hero {
    padding: 70px 0 58px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 13vw, 4.6rem);
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-actions,
  .hero-metrics,
  .card-actions {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .hero-metrics {
    display: grid;
  }

  .section {
    padding: 70px 0;
  }

  .product-body,
  .product-category-hero,
  .machine-hero,
  .service-hero-panel,
  .service-card-grid article,
  .service-focus-grid article,
  .enquiry-form {
    padding: 22px;
  }

  .category-hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 4.25rem);
  }

  .service-hero-copy h1 {
    font-size: clamp(2.35rem, 11vw, 4.4rem);
  }

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

  .service-card-grid article,
  .service-focus-grid article {
    min-height: 0;
  }

  .category-hero-actions {
    display: grid;
  }

  .category-hero-media {
    min-height: 240px;
  }

  .detail-tabs {
    position: static;
  }

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

  .spec-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px;
  }

  .spec-row strong {
    text-align: left;
  }

  .spec-list div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .spec-list strong {
    text-align: left;
  }

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