/* ============ Base / tokens ============ */
:root {
  --hm-basalt: #0F1115;
  --hm-steel: #E2E8F0;
  --hm-yellow: #FFC107;
  --hm-charcoal: #212121;
  --hm-amber: #FF9F1C;
  --hm-cobalt: #2D5BFF;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter Tight', ui-sans-serif, system-ui, sans-serif;
  background-color: #0F1115;
  color: #E2E8F0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.hm-loading { overflow: hidden; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: #0F1115; }
::-webkit-scrollbar-thumb { background: #FFC107; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #FF9F1C; }

.hm-hidescroll { scrollbar-width: none; -ms-overflow-style: none; }
.hm-hidescroll::-webkit-scrollbar { display: none; }

/* Mono technical font */
.font-mono-tech { font-family: 'JetBrains Mono', ui-monospace, monospace; }

/* ============ Site loader ============ */
.hm-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255,193,7,0.09), transparent 28rem),
    linear-gradient(135deg, #0a0c0f 0%, #0F1115 55%, #090b0e 100%);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.hm-loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.hm-loader-mark {
  position: relative;
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
}
.hm-loader-mark::before,
.hm-loader-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,193,7,0.18);
  border-radius: 22px;
}
.hm-loader-mark::before { animation: hm-loader-frame 2.4s ease-in-out infinite; }
.hm-loader-mark::after {
  inset: 10px;
  border-color: rgba(226,232,240,0.1);
  animation: hm-loader-frame 2.4s ease-in-out infinite reverse;
}
.hm-loader-mark img {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 18px 42px rgba(0,0,0,0.35);
  position: relative;
  z-index: 1;
}
.hm-loader-mark span {
  position: absolute;
  width: 128px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,193,7,0.65), transparent);
  animation: hm-loader-scan 1.7s ease-in-out infinite;
}
.hm-loader-word {
  padding: 4px 0;
}
.hm-loader-word img {
  display: block;
  width: min(220px, 58vw);
  height: auto;
  aspect-ratio: 1536 / 310;
}
.hm-loader-line {
  width: min(240px, 58vw);
  height: 2px;
  background: rgba(226,232,240,0.08);
  overflow: hidden;
  border-radius: 99px;
}
.hm-loader-line span {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #FFC107, #FF9F1C);
  animation: hm-loader-line 1.15s cubic-bezier(0.7,0,0.3,1) infinite;
}
@keyframes hm-loader-frame {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.45; }
  50% { transform: scale(1.08) rotate(2deg); opacity: 1; }
}
@keyframes hm-loader-scan {
  0%, 100% { transform: translateY(-30px); opacity: 0; }
  20%, 80% { opacity: 1; }
  50% { transform: translateY(30px); }
}
@keyframes hm-loader-line {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(260%); }
}

/* Blueprint grid */
.blueprint-grid {
  background-image:
    linear-gradient(rgba(255,193,7,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,193,7,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ============ Piston button ============ */
.piston-btn {
  position: relative;
  overflow: hidden;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  border: 0;
}
.piston-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,193,7,0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.2s;
}
.piston-btn:hover {
  transform: translateY(2px);
  box-shadow: inset 0 3px 8px rgba(0,0,0,0.4), 0 0 20px rgba(255,193,7,0.2);
}
.piston-btn:hover::before { opacity: 1; }
.piston-btn:active { transform: translateY(4px) scale(0.98); }
.piston-btn:not(.bg-\[\#FFC107\]):hover { box-shadow: inset 0 3px 8px rgba(0,0,0,0.4), 0 0 20px rgba(255,193,7,0.2); }

/* Card lift */
.card-lift {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}
.card-lift:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,193,7,0.2);
}

/* ============ Scroll reveal ============ */
.hm-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.hm-reveal[data-anim="left"] { transform: translateX(-30px); }
.hm-reveal[data-anim="right"] { transform: translateX(40px); }
.hm-reveal[data-anim="up"] { transform: translateY(30px); }
.hm-reveal.in {
  opacity: 1;
  transform: translate(0,0);
}

/* ============ Hero scroll tick ============ */
@keyframes hm-tick {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}
.hm-scroll-tick { animation: hm-tick 1.4s linear infinite; }

/* ============ Hero parallax state ============ */
#heroMedia { will-change: transform, opacity; }
#heroContent { will-change: transform; }

/* ============ Products sweep ============ */
@keyframes hm-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}
.hm-sweep { animation: hm-sweep 3s linear infinite; }

/* ============ Services accordion ============ */
.svc-item { cursor: pointer; transition: all 0.3s; overflow: hidden; }
.svc-expand { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s ease-in-out, opacity 0.4s ease-in-out; }
.svc-item.active .svc-expand { max-height: 320px; opacity: 1; }
.svc-truncate {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
  transition: opacity 0.2s;
}
.svc-item.active .svc-truncate { display: none; }
.svc-arrow { transition: transform 0.3s, color 0.3s; }
.svc-item.active .svc-arrow { transform: rotate(90deg); color: #FFC107; }

/* ============ Contact form reveal ============ */
.hm-form-wrap { max-height: 0; opacity: 0; transition: max-height 0.5s ease, opacity 0.5s ease; }
.hm-form-wrap.open { max-height: 1260px; opacity: 1; overflow: visible; }
.hm-bar-transition { transition: width 0.3s cubic-bezier(0.34,1.56,0.64,1), background 0.3s; }

.hm-need-select {
  position: relative;
  z-index: 4;
}
.hm-need-trigger {
  width: 100%;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  background: #0a0c0f;
  border: 1px solid rgba(255,193,7,0.28);
  color: #E2E8F0;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.hm-need-trigger:hover,
.hm-need-select.open .hm-need-trigger {
  border-color: rgba(255,193,7,0.86);
  background: #101419;
  box-shadow: 0 0 0 1px rgba(255,193,7,0.1), 0 14px 34px rgba(0,0,0,0.28);
}
.hm-need-trigger svg {
  flex: none;
  color: #FFC107;
  transition: transform 0.2s ease;
}
.hm-need-select.open .hm-need-trigger svg {
  transform: rotate(180deg);
}
.hm-need-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  display: none;
  max-height: 330px;
  overflow-y: auto;
  padding: 6px 0;
  background: #0a0c0f;
  border: 1px solid rgba(226,232,240,0.22);
  box-shadow: 0 22px 46px rgba(0,0,0,0.45);
}
.hm-need-select.open .hm-need-menu {
  display: block;
}
.hm-need-menu button {
  width: 100%;
  display: block;
  padding: 6px 20px 6px 40px;
  color: #E2E8F0;
  background: transparent;
  border: 0;
  text-align: left;
  font-size: 14px;
  line-height: 1.25;
  cursor: pointer;
}
.hm-need-menu button:first-child {
  padding-left: 20px;
}
.hm-need-menu button:hover,
.hm-need-menu button.active {
  background: rgba(255,193,7,0.16);
  color: #fff;
}
.hm-need-group {
  padding: 7px 20px 3px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

/* ============ Pressure slider ============ */
.pressure-track {
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: linear-gradient(to right, #2D5BFF var(--val, 0%), rgba(255,193,7,0.2) var(--val, 0%));
  outline: none;
  border-radius: 2px;
}
.pressure-track::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px; height: 28px; border-radius: 50%;
  background: #FFC107; cursor: pointer;
  box-shadow: 0 0 15px rgba(255,193,7,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.pressure-track::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 25px rgba(255,193,7,0.8);
}
.pressure-track::-moz-range-thumb {
  width: 28px; height: 28px; border-radius: 50%; border: 0;
  background: #FFC107; cursor: pointer;
  box-shadow: 0 0 15px rgba(255,193,7,0.5);
}

/* ============ Mobile nav ============ */
.hm-nav-brand {
  min-width: 0;
}
.hm-nav-wordmark {
  display: block;
  flex: none;
}
.hm-nav-wordmark img {
  display: block;
  width: auto;
  height: 24px;
}
.hm-fade { opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.hm-fade.show { opacity: 1; pointer-events: auto; }
.hm-slide-right { transform: translateX(100%); transition: transform 0.45s cubic-bezier(0.16,1,0.3,1); }
.hm-slide-right.show { transform: translateX(0); }
.hm-mobile-close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,193,7,0.28);
  background: rgba(10,12,15,0.82);
  color: #FFC107;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.hm-mobile-close:hover {
  border-color: rgba(255,193,7,0.72);
  background: rgba(255,193,7,0.08);
  transform: translateY(1px);
}

/* Hamburger bars */
.hm-bun { transition: transform 0.3s, opacity 0.2s; }
body.nav-open .hm-bun:nth-child(1) { transform: rotate(45deg) translateY(8px); }
body.nav-open .hm-bun:nth-child(2) { opacity: 0; transform: scaleX(0); }
body.nav-open .hm-bun:nth-child(3) { transform: rotate(-45deg) translateY(-8px); }

/* Footer wave subtle shift */
@keyframes hm-wave-float {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-12px); }
}
.hm-wave1 { animation: hm-wave-float 7s ease-in-out infinite; }
.hm-wave2 { animation: hm-wave-float 9s ease-in-out infinite reverse; }

/* ============ Hydraulic cylinder schematic ============ */
.hm-cylinder-section {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  background: #0F1115;
}
.hm-cylinder-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(300px, 0.78fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  min-height: 410px;
  padding: 0;
}
.hm-cylinder-drawing {
  min-width: 0;
  overflow: hidden;
}
.hm-cylinder-topline {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  color: rgba(226,232,240,0.42);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  line-height: 1.6;
}
.hm-cylinder-topline span:last-child { color: #FFC107; }
.hm-cylinder-svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  filter: drop-shadow(0 18px 34px rgba(0,0,0,0.32));
}
.hm-cylinder-svg text {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
}
.hm-cyl-center {
  stroke: rgba(100,116,139,0.55);
  stroke-width: 1;
  stroke-dasharray: 14 5 3 5;
}
.hm-cyl-shell,
.hm-cyl-bore,
.hm-cyl-rod,
.hm-cyl-piston,
.hm-cyl-gland,
.hm-cyl-wiper,
.hm-cyl-eye rect,
.hm-cyl-eye circle,
.hm-cyl-eye line,
.hm-cyl-port rect {
  fill: rgba(9,12,16,0.9);
  stroke: rgba(148,163,184,0.7);
  stroke-width: 1.15;
}
.hm-cyl-bore {
  fill: rgba(255,193,7,0.04);
}
.hm-cyl-gland,
.hm-cyl-wiper {
  fill: rgba(11,14,18,0.96);
  stroke: rgba(255,193,7,0.28);
}
.hm-cyl-rod {
  fill: url(#hm-rod-shine);
  stroke: rgba(226,232,240,0.36);
}
.hm-cyl-piston {
  fill: url(#hm-piston-face);
  stroke: rgba(255,193,7,0.48);
}
.hm-cyl-seal {
  stroke: #FFC107;
  stroke-width: 2.2;
}
.hm-cyl-fluid {
  transform-box: fill-box;
  mix-blend-mode: screen;
}
.hm-cyl-fluid-pressure {
  fill: rgba(255,193,7,0.72);
  animation: hm-cap-fluid-state 6s steps(1,end) infinite;
}
.hm-cyl-fluid-return {
  fill: rgba(45,91,255,0.45);
  animation: hm-rod-fluid-state 6s steps(1,end) infinite;
}
.hm-cyl-moving {
  transform-box: fill-box;
  transform-origin: center;
}
.hm-cyl-flow-line {
  stroke-width: 2;
  stroke-dasharray: 7 6;
}
.hm-cyl-flow-arrow {
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hm-cyl-port text { text-anchor: middle; }
.hm-cyl-flow-intake,
.hm-cyl-arrow-intake {
  stroke: #FFC107;
}
.hm-cyl-flow-return,
.hm-cyl-arrow-return {
  stroke: #2D5BFF;
}
.hm-cyl-port-a .hm-cyl-flow-intake,
.hm-cyl-port-a .hm-cyl-arrow-intake,
.hm-cyl-port-b .hm-cyl-flow-return,
.hm-cyl-port-b .hm-cyl-arrow-return {
  animation: hm-flow-extend 6s linear infinite;
}
.hm-cyl-port-a .hm-cyl-flow-return,
.hm-cyl-port-a .hm-cyl-arrow-return,
.hm-cyl-port-b .hm-cyl-flow-intake,
.hm-cyl-port-b .hm-cyl-arrow-intake {
  animation: hm-flow-retract 6s linear infinite;
}
.hm-cyl-port-a text,
.hm-cyl-port-b text {
  fill: #FFC107;
  stroke: #FFC107;
}
.hm-cyl-port-state {
  font-size: 10px;
  letter-spacing: 0.08em;
  stroke: none;
}
.hm-cyl-port-state tspan {
  opacity: 0;
}
.hm-cyl-port-state-a tspan:first-child,
.hm-cyl-port-state-b tspan:first-child {
  animation: hm-state-extend 6s steps(1,end) infinite;
}
.hm-cyl-port-state-a tspan:last-child,
.hm-cyl-port-state-b tspan:last-child {
  animation: hm-state-retract 6s steps(1,end) infinite;
}
.hm-cyl-measure line {
  stroke: rgba(148,163,184,0.5);
  stroke-width: 1;
}
.hm-cyl-measure text {
  fill: rgba(135,171,214,0.62);
  text-anchor: middle;
}
.hm-cyl-measure text:first-of-type {
  fill: #FFC107;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.hm-cylinder-pressure {
  display: grid;
  grid-template-columns: max-content minmax(120px, 1fr) max-content;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}
.hm-cylinder-pressure span {
  color: rgba(135,171,214,0.74);
  font-size: 10px;
  letter-spacing: 0.18em;
}
.hm-cylinder-pressure .hm-pressure-value {
  position: relative;
  min-width: 92px;
  min-height: 16px;
  color: #FFC107;
  letter-spacing: 0.03em;
}
.hm-pressure-value em {
  position: absolute;
  inset: 0;
  font-style: normal;
  opacity: 0;
}
.hm-pressure-value em:first-child { animation: hm-state-extend 6s steps(1,end) infinite; }
.hm-pressure-value em:last-child { animation: hm-state-retract 6s steps(1,end) infinite; }
.hm-pressure-track {
  position: relative;
  height: 8px;
  border: 1px solid rgba(148,163,184,0.28);
  background: rgba(9,12,16,0.88);
  overflow: hidden;
}
.hm-pressure-track i {
  display: block;
  height: 100%;
  width: 18%;
  background: rgba(255,193,7,0.72);
  animation: hm-pressure-fill 6s ease-in-out infinite;
}
.hm-pressure-track b {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  pointer-events: none;
}
.hm-pressure-track b::before {
  content: '';
  grid-column: 1 / -1;
  background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgba(148,163,184,0.28) calc(10% - 1px) 10%);
}
.hm-cylinder-copy h2 {
  color: #E2E8F0;
  font-family: 'Inter Tight', ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
  margin: 0 0 22px;
}
.hm-cylinder-copy h2 span {
  color: #FFC107;
}
.hm-cylinder-copy p {
  color: rgba(226,232,240,0.6);
  font-size: 18px;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 0 28px;
}
.hm-cylinder-copy > div:last-child {
  color: #FFC107;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
}
@keyframes hm-pressure-fill {
  0% { width: 32%; background: rgba(255,193,7,0.68); }
  45%, 55% { width: 94%; background: rgba(255,193,7,0.86); }
  56% { width: 32%; background: rgba(255,193,7,0.68); }
  100% { width: 94%; background: rgba(255,193,7,0.86); }
}
@keyframes hm-flow-extend {
  0% { opacity: 1; stroke-dashoffset: 0; }
  45%, 55% { opacity: 1; stroke-dashoffset: -86; }
  56%, 100% { opacity: 0.14; stroke-dashoffset: -86; }
}
@keyframes hm-flow-retract {
  0%, 55% { opacity: 0.14; stroke-dashoffset: 0; }
  56% { opacity: 1; stroke-dashoffset: 0; }
  100% { opacity: 1; stroke-dashoffset: -86; }
}
@keyframes hm-state-extend {
  0%, 55% { opacity: 1; }
  56%, 100% { opacity: 0; }
}
@keyframes hm-state-retract {
  0%, 55% { opacity: 0; }
  56%, 100% { opacity: 1; }
}
@keyframes hm-cap-fluid-state {
  0%, 55% { fill: rgba(255,193,7,0.72); }
  56%, 100% { fill: rgba(45,91,255,0.36); }
}
@keyframes hm-rod-fluid-state {
  0%, 55% { fill: rgba(45,91,255,0.36); }
  56%, 100% { fill: rgba(255,193,7,0.72); }
}

/* ============ Pre-footer moving rail ============ */
.hm-prefooter-rail {
  position: relative;
  overflow: hidden;
  background: #0a0c0f;
  border-top: 1px solid rgba(255,193,7,0.1);
  border-bottom: 1px solid rgba(255,193,7,0.1);
  padding: 48px 0 44px;
}
.hm-prefooter-rail::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,193,7,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,193,7,0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.7;
  pointer-events: none;
}
.hm-rail-track {
  position: relative;
  display: flex;
  width: max-content;
  will-change: transform;
}
.hm-rail-row {
  position: relative;
  margin-top: 20px;
}
.hm-rail-row-top .hm-rail-track {
  animation: hm-rail-slide-right 34s linear infinite;
}
.hm-rail-row-bottom .hm-rail-track {
  animation: hm-rail-slide-left 26s linear infinite;
}
.hm-prefooter-rail:hover .hm-rail-track { animation-play-state: paused; }
.hm-rail-label {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto 6px;
  padding: 0 6vw;
  color: rgba(125,165,210,0.82);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.42em;
}
.hm-rail-group {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
}
.hm-rail-headline span {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: rgba(226,232,240,0.72);
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.72;
}
.hm-rail-headline span::after {
  content: '';
  width: 9px;
  height: 9px;
  margin-left: 26px;
  background: #FFC107;
  transform: rotate(45deg);
  box-shadow: 0 0 20px rgba(255,193,7,0.4);
}
.hm-rail-pills {
  gap: 18px;
  padding-right: 18px;
}
.hm-rail-pills span {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,193,7,0.14);
  background: rgba(15,17,21,0.72);
  color: rgba(226,232,240,0.62);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}
.hm-rail-pills span::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,193,7,0.85);
  box-shadow: 0 0 16px rgba(255,193,7,0.45);
}
.hm-rail-pills .hm-rail-brand::before { display: none; }
.hm-rail-pills img {
  width: 24px;
  height: 24px;
  border-radius: 7px;
}
.hm-rail-edge {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(160px, 22vw);
  pointer-events: none;
}
.hm-rail-edge.left {
  left: 0;
  background: linear-gradient(90deg, #0a0c0f, transparent);
}
.hm-rail-edge.right {
  right: 0;
  background: linear-gradient(270deg, #0a0c0f, transparent);
}
@keyframes hm-rail-slide-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes hm-rail-slide-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* line-clamp helper for product descriptions (kept short) */
.clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ============ WhatsApp floating button ============ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #1fb65f, #25D366);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 16px 38px rgba(0,0,0,0.34), 0 0 0 1px rgba(37,211,102,0.16);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-radius 0.22s ease;
}
.wa-float:hover {
  transform: translateY(-3px);
  border-radius: 20px;
  box-shadow: 0 20px 44px rgba(0,0,0,0.42), 0 0 28px rgba(37, 211, 102, 0.24);
}
.wa-float svg {
  position: relative;
  z-index: 1;
}
.wa-float-ring {
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(37,211,102,0.24);
  border-radius: 20px;
  animation: wa-ring 2.8s ease-in-out infinite;
}

/* ============ Cursor and back-to-top affordances ============ */
.hm-cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,193,7,0.55);
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255,193,7,0.18), transparent 62%);
  box-shadow: 0 0 34px rgba(255,193,7,0.16);
  transform: translate3d(-50%, -50%, 0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, width 0.18s ease, height 0.18s ease, border-color 0.18s ease;
  mix-blend-mode: screen;
}
.hm-cursor-glow.active { opacity: 1; }
.hm-cursor-glow.press {
  width: 46px;
  height: 46px;
  border-color: rgba(255,193,7,0.8);
}
.hm-back-top {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 59;
  height: 48px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px 0 14px;
  border: 1px solid rgba(255,193,7,0.28);
  border-radius: 16px;
  background: rgba(10,12,15,0.82);
  color: #FFC107;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 38px rgba(0,0,0,0.34);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.hm-back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.hm-back-top:hover {
  border-color: rgba(255,193,7,0.64);
  background: rgba(15,17,21,0.94);
}
@keyframes wa-ring {
  0%, 100% { transform: scale(0.96); opacity: 0.38; }
  50% { transform: scale(1.08); opacity: 0.12; }
}
@media (max-width: 640px) {
  #navbar .max-w-7xl { padding-left: 16px; padding-right: 16px; }
  .hm-nav-brand { gap: 10px; }
  .hm-nav-brand > div:first-child { width: 40px; height: 40px; border-radius: 10px; }
  .hm-nav-wordmark { padding: 2px 0; }
  .hm-nav-wordmark img { height: clamp(17px, 5vw, 22px); max-width: 148px; }
  .hm-need-select.open {
    z-index: 20;
  }
  .hm-need-menu {
    position: static;
    max-height: none;
    margin-top: 4px;
    box-shadow: 0 16px 34px rgba(0,0,0,0.35);
  }
  .wa-float { width: 48px; height: 48px; right: 16px; bottom: 16px; border-radius: 15px; }
  .wa-float svg { width: 22px; height: 22px; }
  .hm-prefooter-rail { padding: 36px 0 34px; }
  .hm-rail-label { font-size: 9px; letter-spacing: 0.28em; padding: 0 22px; }
  .hm-rail-headline span { font-size: 26px; }
  .hm-rail-pills span { min-height: 40px; padding: 0 14px; font-size: 10px; }
  .hm-back-top { right: 16px; bottom: 78px; width: 48px; padding: 0; justify-content: center; }
  .hm-back-top span { display: none; }
  .hm-cursor-glow { display: none; }
  .hm-cylinder-section { padding: 72px 0; }
  .hm-cylinder-panel { padding: 0; }
  .hm-cylinder-topline { flex-direction: column; font-size: 9px; letter-spacing: 0.2em; }
  .hm-cylinder-pressure { grid-template-columns: 1fr; gap: 10px; }
  .hm-cylinder-copy p { font-size: 16px; }
  .hm-cylinder-copy h2 { font-size: 40px; }
}
@media (max-width: 980px) {
  .hm-cylinder-panel { grid-template-columns: 1fr; gap: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .hm-loader-mark::before,
  .hm-loader-mark::after,
  .hm-loader-mark span,
  .hm-loader-line span,
  .hm-rail-track,
  .wa-float-ring,
  .hm-pressure-track i,
  .hm-cyl-port line,
  .hm-cyl-port text,
  .hm-cyl-flow-arrow,
  .hm-pressure-value em {
    animation: none;
  }
  .hm-pressure-value em:first-child { opacity: 1; }
  .hm-pressure-value em:last-child { opacity: 0; }
  .hm-cursor-glow { display: none; }
}
