:root {
  --bg: #05070a;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --stroke: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: #a0a7b5;
  --blue: #007aff;
  --cyan: #00c2ff;
  --shadow: 0 24px 80px rgba(0, 122, 255, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

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

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(5, 7, 10, 0.58);
  backdrop-filter: blur(20px);
  transform: translateX(-50%);
  transition: background 280ms ease-in-out, border-color 280ms ease-in-out, box-shadow 280ms ease-in-out;
}

.site-header.scrolled {
  border-color: rgba(0, 194, 255, 0.22);
  background: rgba(5, 7, 10, 0.78);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 101px;
  height: 32px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  padding: 0;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(0, 194, 255, 0.5);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(0, 122, 255, 0.26), rgba(255, 255, 255, 0.05));
  color: #ffffff;
  font-size: 0.78rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav a {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 13px;
  transition: color 240ms ease-in-out, background 240ms ease-in-out;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--stroke);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #ffffff;
}

.nav-preview {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: min(1180px, calc(100vw - 48px));
  min-height: 340px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  background: rgba(246, 248, 252, 0.96);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px) scale(0.98);
  transition: opacity 260ms ease-in-out, transform 260ms ease-in-out, filter 260ms ease-in-out;
  backdrop-filter: blur(24px);
  filter: blur(4px);
  overflow: hidden;
}

.nav-preview.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
  filter: blur(0);
}

.nav-preview::before {
  content: "";
  position: absolute;
  top: -18px;
  left: 0;
  width: 100%;
  height: 18px;
}

.preview-panel {
  display: none;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 34px;
  align-items: stretch;
  min-height: 340px;
  padding: 30px 34px;
}

.preview-panel.active {
  display: grid;
}

.preview-panel p {
  margin: 8px 0 0;
  color: #5d6470;
  line-height: 1.5;
}

.mega-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: end;
}

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

.mega-product {
  display: grid;
  min-height: 260px;
  align-content: end;
  justify-items: center;
  gap: 8px;
  border-radius: 18px;
  color: #171a20;
  text-align: center;
  transition: background 220ms ease-in-out, transform 220ms ease-in-out;
}

.mega-product:hover {
  background: rgba(0, 122, 255, 0.06);
  transform: translateY(-3px);
}

.mega-product img {
  width: 100%;
  height: 168px;
  object-fit: contain;
  margin-bottom: 6px;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.18));
  transition: transform 320ms ease-in-out;
}

.mega-product:hover img {
  transform: rotateY(8deg) scale(1.04);
}

.mega-image-card {
  align-content: stretch;
  justify-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(23, 26, 32, 0.08);
  background: #ffffff;
  padding: 10px;
}

.mega-image-card img {
  display: block;
  width: 100%;
  height: 176px;
  object-fit: cover;
  border-radius: 14px;
  margin: 0 0 12px;
  filter: saturate(1.02) contrast(1.02) drop-shadow(0 12px 18px rgba(0, 0, 0, 0.12));
}

.mega-image-card strong,
.mega-image-card span {
  justify-self: center;
}

.mega-product strong {
  color: #171a20;
  font-size: 1.02rem;
}

.mega-product span {
  color: #5f6570;
  font-size: 0.86rem;
}

.product-ghost {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 26, 32, 0.08);
  background-size: cover;
}

.product-ghost::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 50%;
  width: 74%;
  height: 128px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 50% 40%, rgba(0, 122, 255, 0.28), transparent 35%),
    linear-gradient(145deg, rgba(23, 26, 32, 0.16), rgba(255, 255, 255, 0.7));
  filter: drop-shadow(0 20px 22px rgba(0, 0, 0, 0.12));
  transform: translateX(-50%) rotateY(-8deg);
  transition: transform 320ms ease-in-out;
}

.product-ghost:hover::before {
  transform: translateX(-50%) rotateY(8deg) scale(1.03);
}

.product-ghost strong,
.product-ghost span {
  position: relative;
  z-index: 2;
}

.mega-side {
  display: grid;
  align-content: center;
  gap: 18px;
  border-left: 1px solid rgba(23, 26, 32, 0.12);
  padding-left: 34px;
}

.mega-side a {
  color: #171a20;
  font-weight: 800;
  transition: color 200ms ease-in-out, transform 200ms ease-in-out;
}

.mega-side a:hover {
  color: var(--blue);
  transform: translateX(3px);
}

.mega-flow {
  align-content: center;
  grid-template-columns: repeat(4, 1fr);
}

.mega-flow span,
.mega-contact {
  color: #171a20;
  background: rgba(23, 26, 32, 0.055);
}

.mega-contact {
  display: grid;
  align-content: center;
  border-radius: 20px;
  padding: 26px;
}

.mega-contact span {
  margin-top: 10px;
  color: #5f6570;
}

.mega-about {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 24px;
  align-items: center;
  border-radius: 22px;
  background:
    radial-gradient(circle at 24% 26%, rgba(0, 122, 255, 0.12), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(233, 238, 247, 0.92));
  padding: 24px;
}

.mega-about-logo {
  display: grid;
  min-height: 190px;
  place-items: center;
  border: 1px solid rgba(23, 26, 32, 0.08);
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 122, 255, 0.08), transparent 42%),
    #ffffff;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
}

.mega-about-logo img {
  width: 78%;
  height: auto;
  object-fit: contain;
}

.mega-about-copy {
  display: grid;
  gap: 12px;
}

.mega-kicker {
  margin: 0;
  color: var(--blue) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mega-about-copy strong {
  color: #171a20;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.08;
}

.mega-about-copy span {
  color: #5f6570;
  line-height: 1.6;
}

.mega-about-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.mega-about-steps span {
  border: 1px solid rgba(0, 122, 255, 0.12);
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.07);
  color: #171a20;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 10px 12px;
  text-align: center;
}

.preview-media {
  width: 128px;
  height: 94px;
  flex: 0 0 auto;
  border: 1px solid rgba(0, 194, 255, 0.26);
  border-radius: 14px;
  background:
    linear-gradient(90deg, transparent 48%, rgba(0, 194, 255, 0.85) 49%, transparent 51%),
    radial-gradient(circle at 50% 58%, rgba(0, 122, 255, 0.95) 0 12px, transparent 13px),
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(0, 122, 255, 0.15));
}

.preview-grid,
.mini-flow {
  display: grid;
  width: 100%;
  gap: 10px;
}

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

.preview-grid span,
.mini-flow span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 16px 12px;
  color: #dbe7ff;
  font-size: 0.82rem;
  text-align: center;
}

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

.section {
  position: relative;
  padding: 118px max(24px, calc((100vw - 1120px) / 2));
}

.hero {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding-top: 140px;
  overflow: hidden;
}

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

.hero-video {
  background:
    radial-gradient(circle at 50% 44%, rgba(0, 122, 255, 0.28), transparent 32%),
    linear-gradient(115deg, rgba(0, 194, 255, 0.12), transparent 35%),
    #05070a;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.12), rgba(5, 7, 10, 0.9)),
    radial-gradient(circle at center, transparent, rgba(5, 7, 10, 0.74));
}

.machine-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(54vw, 560px);
  aspect-ratio: 1;
  border: 1px solid rgba(0, 194, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: rotate 18s linear infinite;
}

.machine-orbit::before,
.machine-orbit::after {
  position: absolute;
  content: "";
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.16), rgba(0, 122, 255, 0.18));
  box-shadow: 0 0 45px rgba(0, 194, 255, 0.18);
}

.machine-orbit::before {
  top: 18%;
  left: 8%;
  width: 34%;
  height: 22%;
}

.machine-orbit::after {
  right: 4%;
  bottom: 15%;
  width: 28%;
  height: 28%;
}

.scanner-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 194, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 255, 0.1) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at center, black, transparent 72%);
  animation: drift 9s ease-in-out infinite alternate;
}

.particles {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 26%, rgba(0, 194, 255, 0.85) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 32%, rgba(255, 255, 255, 0.65) 0 1px, transparent 2px),
    radial-gradient(circle at 64% 76%, rgba(0, 122, 255, 0.85) 0 1px, transparent 2px),
    radial-gradient(circle at 32% 72%, rgba(255, 255, 255, 0.55) 0 1px, transparent 2px);
  animation: pulse 4s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, 100%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  letter-spacing: 0;
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.6rem);
  line-height: 0.93;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.6vw, 4.5rem);
  line-height: 1;
}

h3 {
  margin: 0;
  font-size: 1.1rem;
}

.hero-copy {
  width: min(720px, 100%);
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 2vw, 1.28rem);
  line-height: 1.65;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  padding: 0 22px;
  transition: transform 220ms ease-in-out, box-shadow 220ms ease-in-out, background 220ms ease-in-out;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  box-shadow: 0 14px 42px rgba(0, 122, 255, 0.34);
  color: #ffffff;
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 3;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  transform: translateX(-50%);
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 44px;
}

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

.service-card,
.contact-card,
.contact-form {
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--panel-strong), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: 0;
  transition: transform 260ms ease-in-out, border-color 260ms ease-in-out, box-shadow 260ms ease-in-out;
}

.service-card::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 122, 255, 0.08), transparent 38%),
    radial-gradient(circle at 18% 20%, rgba(0, 194, 255, 0.16), transparent 32%);
  opacity: 0.75;
}

.service-media {
  position: relative;
  height: 178px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.service-card.wide .service-media {
  height: 220px;
}

.service-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(5, 7, 10, 0.06), rgba(5, 7, 10, 0.72)),
    radial-gradient(circle at 50% 48%, transparent, rgba(5, 7, 10, 0.44));
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.02);
  transform: scale(1.01);
  transition: transform 320ms ease-in-out, filter 320ms ease-in-out;
}

.service-card:hover .service-media img {
  filter: saturate(1.05) contrast(1.06);
  transform: scale(1.045);
}

.service-content {
  position: relative;
  z-index: 1;
  padding: 22px 24px 24px;
}

.service-card:hover,
.tech-tile:hover,
.product-card:hover {
  border-color: rgba(0, 194, 255, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.service-card.wide {
  grid-column: span 2;
}

.service-card p {
  color: var(--muted);
  line-height: 1.6;
}

.icon {
  display: inline-grid;
  min-width: 46px;
  height: 38px;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(0, 194, 255, 0.34);
  border-radius: 12px;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 800;
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding-top: 42px;
}

.timeline-line {
  position: absolute;
  top: 12px;
  left: 8%;
  width: 84%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), var(--cyan), transparent);
  box-shadow: 0 0 22px rgba(0, 194, 255, 0.7);
}

.step {
  position: relative;
  min-height: 128px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  padding: 20px;
  color: #ffffff;
  font-weight: 800;
}

.step span {
  display: block;
  margin-bottom: 34px;
  color: var(--cyan);
  font-size: 0.78rem;
}

.carousel {
  overflow: hidden;
  width: 100vw;
  margin-left: max(-24px, calc((1120px - 100vw) / 2));
  mask-image: linear-gradient(90deg, transparent, black 9%, black 91%, transparent);
}

.carousel-track {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: marquee 30s linear infinite;
}

.carousel:hover .carousel-track {
  animation-play-state: paused;
}

.product-card {
  display: flex;
  width: 280px;
  height: 360px;
  align-items: end;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 35%, rgba(0, 194, 255, 0.34), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  padding: 20px;
  transition: transform 260ms ease-in-out, border-color 260ms ease-in-out, box-shadow 260ms ease-in-out;
}

.product-card::before {
  content: "";
  position: absolute;
}

.product-card span {
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
  padding: 10px 13px;
  font-weight: 800;
}

.piece-a { background-image: radial-gradient(circle at 50% 38%, rgba(0, 194, 255, 0.42), transparent 27%), conic-gradient(from 120deg, rgba(255,255,255,.16), rgba(0,122,255,.12), rgba(255,255,255,.04)); }
.piece-b { background-image: radial-gradient(circle at 44% 42%, rgba(0, 122, 255, 0.5), transparent 25%), linear-gradient(135deg, rgba(255,255,255,.13), rgba(0,194,255,.08)); }
.piece-c { background-image: radial-gradient(circle at 50% 52%, rgba(0, 194, 255, 0.3), transparent 22%), repeating-linear-gradient(90deg, rgba(255,255,255,.11) 0 2px, transparent 2px 34px); }
.piece-d { background-image: radial-gradient(circle at 35% 32%, rgba(0, 194, 255, 0.34), transparent 23%), linear-gradient(155deg, rgba(255,255,255,.12), rgba(0,122,255,.1)); }
.piece-e { background-image: radial-gradient(circle at 50% 34%, rgba(0, 122, 255, 0.38), transparent 20%), linear-gradient(45deg, rgba(255,255,255,.1), rgba(0,194,255,.1)); }
.piece-valve { background-image: radial-gradient(circle at 46% 42%, rgba(0, 194, 255, 0.28), transparent 28%), linear-gradient(145deg, rgba(255,255,255,.1), rgba(0,122,255,.08)); }
.piece-trunnion { background-image: radial-gradient(circle at 48% 42%, rgba(255, 184, 41, 0.32), transparent 28%), linear-gradient(145deg, rgba(255,255,255,.1), rgba(196,144,42,.13)); }
.piece-premium { background-image: radial-gradient(circle at 50% 40%, rgba(255, 210, 87, 0.34), transparent 24%), radial-gradient(circle at 76% 34%, rgba(0, 194, 255, 0.24), transparent 20%), radial-gradient(circle at 28% 28%, rgba(255, 42, 184, 0.18), transparent 18%), linear-gradient(145deg, rgba(255,255,255,.12), rgba(196,144,42,.14)); }
.piece-positioner { background-image: radial-gradient(circle at 44% 42%, rgba(210, 218, 224, 0.28), transparent 27%), radial-gradient(circle at 72% 36%, rgba(0, 194, 255, 0.16), transparent 20%), linear-gradient(145deg, rgba(255,255,255,.1), rgba(120,130,140,.12)); }

.tech-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.tech-tile {
  min-height: 180px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(0, 194, 255, 0.08), transparent),
    rgba(255, 255, 255, 0.055);
  padding: 18px;
  color: #dfeaff;
  font-weight: 800;
  transition: transform 260ms ease-in-out, border-color 260ms ease-in-out, box-shadow 260ms ease-in-out;
}

.about {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 48px;
}

.about-visual {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(0, 194, 255, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(rgba(0, 194, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 194, 255, 0.1) 1px, transparent 1px),
    radial-gradient(circle at 52% 44%, rgba(0, 122, 255, 0.38), transparent 32%),
    rgba(255, 255, 255, 0.04);
  background-size: 42px 42px, 42px 42px, auto, auto;
  box-shadow: var(--shadow);
  opacity: 0.9;
}

.about-visual::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 58%, transparent, rgba(5, 7, 10, 0.38) 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 38%, rgba(0, 122, 255, 0.1));
}

.about-model-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: inherit;
  cursor: grab;
}

.about-model-stage:active {
  cursor: grabbing;
}

.about-model-stage canvas,
.about-model-stage img {
  width: 100%;
  height: 100%;
}

.about-content p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.14rem;
  line-height: 1.8;
}

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

.contact-card,
.contact-form {
  padding: 26px;
}

.contact-card p {
  color: var(--muted);
  line-height: 1.7;
}

.contact-card .contact-actions {
  justify-content: flex-start;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #dce7ff;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.055);
  color: #ffffff;
  font: inherit;
  padding: 14px 15px;
  outline: none;
  transition: border-color 220ms ease-in-out, box-shadow 220ms ease-in-out;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(0, 194, 255, 0.62);
  box-shadow: 0 0 0 4px rgba(0, 194, 255, 0.11);
}

.contact-form button {
  border: 0;
  cursor: pointer;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding: 34px max(24px, calc((100vw - 1120px) / 2));
  color: var(--muted);
}

.footer strong {
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.cart-nav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cart-nav span {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  color: #ffffff;
  font-size: 0.72rem;
}

.page-hero {
  display: grid;
  min-height: 68vh;
  place-items: end start;
  padding-top: 180px;
  padding-bottom: 92px;
  overflow: hidden;
}

.compact-hero {
  min-height: 52vh;
}

.page-bg {
  opacity: 0.8;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  width: min(880px, 100%);
}

.page-hero-content h1 {
  font-size: clamp(2.8rem, 6.2vw, 6.2rem);
  line-height: 0.98;
}

.page-hero-content p:not(.eyebrow) {
  width: min(680px, 100%);
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.75;
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.featured-products,
.shop-grid {
  display: grid;
  gap: 18px;
}

.featured-products {
  grid-template-columns: repeat(3, 1fr);
}

.shop-grid {
  grid-template-columns: 1fr;
  gap: 56px;
}

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

.product-section-group {
  display: grid;
  gap: 24px;
}

.printing-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-left: 0;
  padding: 8px 54px 18px;
}

.printing-track {
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.printing-track::-webkit-scrollbar {
  display: none;
}

.printing-rail {
  display: flex;
  width: max-content;
  gap: 16px;
}

.printing-card {
  position: relative;
  display: grid;
  width: 350px;
  flex: 0 0 auto;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  transition: width 320ms ease-in-out, transform 260ms ease-in-out, border-color 260ms ease-in-out, box-shadow 260ms ease-in-out;
}

.carousel-arrow {
  position: absolute;
  top: 44%;
  z-index: 5;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 7, 10, 0.74);
  color: #ffffff;
  cursor: pointer;
  font-size: 2rem;
  line-height: 1;
  backdrop-filter: blur(16px);
  transition: transform 220ms ease-in-out, background 220ms ease-in-out, border-color 220ms ease-in-out;
}

.carousel-arrow:hover {
  border-color: rgba(0, 194, 255, 0.5);
  background: rgba(0, 122, 255, 0.72);
  transform: translateY(-2px);
}

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

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

.printing-card:hover {
  width: 500px;
  border-color: rgba(0, 194, 255, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.printing-visual {
  position: relative;
  min-height: 310px;
  background:
    radial-gradient(circle at 50% 45%, rgba(0, 194, 255, 0.2), transparent 30%),
    linear-gradient(145deg, rgba(255,255,255,.08), rgba(0,122,255,.06));
}

.printing-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.42));
  transition: transform 320ms ease-in-out;
}

.printing-card:hover .printing-visual img {
  transform: scale(1.04);
}

.printing-info {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 18px;
}

.printing-info h3 {
  line-height: 1.12;
}

.printing-details {
  display: grid;
  max-height: 0;
  gap: 14px;
  opacity: 0;
  overflow: hidden;
  transform: translateY(8px);
  transition: max-height 320ms ease-in-out, opacity 260ms ease-in-out, transform 260ms ease-in-out;
}

.printing-card:hover .printing-details {
  max-height: 260px;
  opacity: 1;
  transform: translateY(0);
}

.printing-details p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.section-mini-heading {
  width: min(760px, 100%);
}

.section-mini-heading h2 {
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.shop-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 30px;
}

.shop-toolbar h2 {
  margin: 0;
}

.shop-card {
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--panel-strong), rgba(255, 255, 255, 0.035));
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.18);
  transition: transform 260ms ease-in-out, border-color 260ms ease-in-out, box-shadow 260ms ease-in-out;
}

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

.shop-card:hover {
  border-color: rgba(0, 194, 255, 0.42);
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}

.product-visual {
  position: relative;
  display: flex;
  min-height: 220px;
  align-items: end;
  justify-content: flex-start;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 38%, rgba(0, 194, 255, 0.42), transparent 27%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.03));
  perspective: 900px;
}

.featured-shop-card .product-visual {
  min-height: 390px;
}

.product-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.42));
  transform: rotateY(-7deg) rotateX(2deg) scale(0.96);
  transition: transform 360ms ease-in-out, filter 360ms ease-in-out;
}

.shop-card:hover .product-visual img {
  filter: drop-shadow(0 32px 54px rgba(0, 122, 255, 0.22));
  transform: rotateY(7deg) rotateX(0deg) scale(1);
}

.model-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  cursor: grab;
}

.model-stage:active {
  cursor: grabbing;
}

.model-stage canvas {
  width: 100% !important;
  height: 100% !important;
  filter: drop-shadow(0 30px 42px rgba(0, 0, 0, 0.42));
}

.model-loader {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 10px 14px;
  backdrop-filter: blur(14px);
}

.model-fallback img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  filter: drop-shadow(0 26px 42px rgba(0, 0, 0, 0.42));
}

.product-visual span {
  position: relative;
  z-index: 2;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.42);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 9px 12px;
}

.shop-card-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.shop-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.product-detail {
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.94rem;
}

.product-category {
  color: var(--cyan) !important;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 8px;
}

.price-row strong {
  font-size: 1.2rem;
}

.price-row .btn {
  border: 0;
  cursor: pointer;
}

.text-link {
  display: inline-flex;
  color: var(--cyan);
  font-weight: 800;
  margin-top: 18px;
}

.cart-summary {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: start;
}

.cart-lines,
.checkout-card,
.empty-cart {
  border: 1px solid var(--stroke);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--panel-strong), rgba(255, 255, 255, 0.035));
  backdrop-filter: blur(18px);
}

.cart-lines {
  display: grid;
  gap: 0;
  overflow: hidden;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px;
}

.cart-line:last-child {
  border-bottom: 0;
}

.cart-line span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.cart-line-visual {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(0, 194, 255, 0.22);
  border-radius: 16px;
  background: radial-gradient(circle at 50% 42%, rgba(0, 194, 255, 0.4), transparent 33%), rgba(255, 255, 255, 0.06);
}

.cart-line-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}

.quantity-control {
  display: inline-grid;
  grid-template-columns: 34px 54px 34px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}

.quantity-control button,
.quantity-control input {
  height: 38px;
  border: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font: inherit;
  text-align: center;
}

.quantity-control button {
  cursor: pointer;
  font-weight: 800;
}

.quantity-control input {
  border-inline: 1px solid rgba(255, 255, 255, 0.12);
  outline: none;
}

.checkout-card,
.empty-cart {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.checkout-card h2,
.empty-cart h2 {
  margin: 0;
}

.checkout-card p,
.empty-cart p {
  color: var(--muted);
  line-height: 1.6;
}

.checkout-card .btn,
.empty-cart .btn {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.about-flow {
  margin-top: 24px;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 420ms ease-in-out, transform 420ms ease-in-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes rotate {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes drift {
  to {
    transform: translate3d(24px, -18px, 0);
  }
}

@keyframes pulse {
  to {
    opacity: 0.56;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 980px) {
  .brand-logo {
    width: 90px;
    height: 29px;
  }

  .service-grid,
  .tech-grid,
  .timeline,
  .about,
  .contact-layout,
  .featured-products,
  .shop-grid,
  .shop-grid-inner,
  .cart-summary {
    grid-template-columns: 1fr 1fr;
  }

  .cart-summary {
    grid-template-columns: 1fr;
  }

  .page-hero-content h1 {
    font-size: clamp(2.5rem, 7vw, 4.8rem);
  }

  .shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .printing-card {
    width: 320px;
  }

  .printing-card:hover {
    width: 420px;
  }

  .service-card.wide {
    grid-column: span 2;
  }

  .service-media,
  .service-card.wide .service-media {
    height: 168px;
  }

  .timeline-line {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .menu-toggle {
    display: block;
  }

  .brand-logo {
    width: 83px;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--stroke);
    border-radius: 18px;
    background: rgba(5, 7, 10, 0.92);
    padding: 10px;
    backdrop-filter: blur(20px);
  }

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

  .nav-preview {
    display: none;
  }

  .section {
    padding: 86px 18px;
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 3.7rem);
    line-height: 0.98;
  }

  .hero {
    min-height: 100svh;
  }

  .carousel {
    width: calc(100% + 36px);
    margin-left: -18px;
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .service-grid,
  .tech-grid,
  .timeline,
  .about,
  .contact-layout,
  .featured-products,
  .shop-grid,
  .shop-grid-inner,
  .cart-summary {
    grid-template-columns: 1fr;
  }

  .featured-shop-card {
    grid-column: auto;
  }

  .featured-shop-card .product-visual {
    min-height: 300px;
  }

  .page-hero {
    min-height: 64vh;
    padding-top: 132px;
  }

  .shop-toolbar,
  .price-row {
    align-items: stretch;
    flex-direction: column;
  }

  .printing-carousel {
    width: 100%;
    margin-left: 0;
    padding-inline: 46px;
  }

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

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

  .printing-card,
  .printing-card:hover {
    width: 280px;
  }

  .printing-visual {
    min-height: 280px;
  }

  .printing-details,
  .printing-card:hover .printing-details {
    max-height: 280px;
    opacity: 1;
    transform: none;
  }

  .cart-line {
    grid-template-columns: 58px 1fr;
  }

  .cart-line > strong,
  .quantity-control {
    grid-column: 2;
  }

  .cart-line-visual {
    width: 58px;
    height: 58px;
  }

  .service-card.wide {
    grid-column: auto;
  }

  .about-visual {
    min-height: 320px;
  }

  .preview-grid,
  .mini-flow {
    grid-template-columns: 1fr;
  }
}
