:root {
  --hh-bg: #080b0e;
  --hh-surface: #0f1419;
  --hh-panel: #141a20;
  --hh-line: rgba(147, 163, 174, 0.19);
  --hh-text: #f1f4f5;
  --hh-muted: #9ca7b0;
  --hh-steel: #b9c4cb;
  --hh-red: #f53542;
  --hh-red-deep: #bb1723;
  --hh-glow: rgba(245, 53, 66, 0.28);
  --hh-width: min(1240px, calc(100vw - 48px));
  --mouse-x: 50vw;
  --mouse-y: 50vh;
  --hero-shift-x: 0px;
  --hero-shift-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-width: 0;
  color: var(--hh-text);
  font-family: Inter, Arial, sans-serif;
  background: var(--hh-bg);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background: radial-gradient(430px circle at var(--mouse-x) var(--mouse-y), rgba(245, 53, 66, 0.075), transparent 68%);
}

a {
  color: inherit;
}

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

.progress-track {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 80;
  height: 3px;
  background: transparent;
}

.progress-track span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--hh-red);
  box-shadow: 0 0 18px var(--hh-red);
}

.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 90;
  width: 34px;
  height: 34px;
  pointer-events: none;
  opacity: 0;
  border: 1px solid rgba(245, 53, 66, 0.5);
  border-radius: 50%;
  transform: translate3d(-100px, -100px, 0);
  transition: width 180ms ease, height 180ms ease, border-color 180ms ease, opacity 200ms ease;
}

.cursor-ring::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  content: "";
  background: var(--hh-red);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 12px var(--hh-red);
}

.cursor-ring.visible {
  opacity: 1;
}

.cursor-ring.engaged {
  width: 52px;
  height: 52px;
  border-color: rgba(245, 53, 66, 0.8);
}

.hose-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: clamp(16px, 4vw, 52px);
  height: 84px;
  padding: 0 max(calc((100vw - 1240px) / 2), 24px);
  background: rgba(8, 11, 14, 0.64);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 240ms ease, border-color 240ms ease;
}

.hose-header.scrolled {
  background: rgba(8, 11, 14, 0.94);
  border-color: var(--hh-line);
}

.hose-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-right: auto;
  text-decoration: none;
}

.hose-brand img {
  width: 112px;
  height: 60px;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 14px rgba(245, 53, 66, 0.18));
}

.hose-brand span,
.hose-footer span {
  color: var(--hh-steel);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
}

.hose-nav {
  display: flex;
  gap: 6px;
}

.hose-nav a {
  padding: 12px 14px;
  color: var(--hh-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.hose-nav a:hover {
  color: var(--hh-text);
}

.hose-lang {
  width: 48px;
  height: 42px;
  color: var(--hh-text);
  font-weight: 700;
  background: transparent;
  border: 1px solid var(--hh-line);
  border-radius: 6px;
  cursor: pointer;
}

.hose-nav-toggle {
  display: none;
}

.scroll-hose {
  position: fixed;
  top: 28vh;
  right: clamp(-138px, -7vw, -52px);
  z-index: 2;
  width: clamp(230px, 27vw, 390px);
  height: 68vh;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 36px, 0) rotate(-7deg);
  transition: opacity 600ms ease;
  mix-blend-mode: screen;
  mask-image: linear-gradient(transparent, #000 12%, #000 88%, transparent);
}

.scroll-hose.visible {
  opacity: 0.43;
}

.scroll-hose img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(166, 181, 191, 0.18));
}

.hose-hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 146px max(calc((100vw - 1240px) / 2), 24px) 54px;
}

.hose-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(360px circle at var(--mouse-x) var(--mouse-y), rgba(220, 232, 238, 0.12), transparent 64%),
    linear-gradient(105deg, transparent 38%, rgba(245, 53, 66, 0.085) 50%, transparent 62%);
  background-size: auto, 220% 100%;
  animation: hero-scan 5.5s linear infinite;
}

.hose-hero-media,
.hose-hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hose-hero-media {
  background:
    linear-gradient(90deg, rgba(8, 11, 14, 0.97) 0%, rgba(8, 11, 14, 0.85) 42%, rgba(8, 11, 14, 0.23) 100%),
    linear-gradient(0deg, rgba(8, 11, 14, 0.94), transparent 42%),
    url("assets/hydraulic-hose/hero-hoses.jpg") right center / cover no-repeat;
  transform: scale(1.055) translate3d(var(--hero-shift-x), var(--hero-shift-y), 0);
  transition: transform 180ms ease-out;
}

.hose-hero-grid {
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(138, 150, 160, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 150, 160, 0.12) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent, #000 36%, #000 80%, transparent);
  animation: grid-drift 10s linear infinite;
}

.hero-readout {
  position: absolute;
  top: clamp(126px, 16vh, 186px);
  right: max(calc((100vw - 1240px) / 2), 24px);
  display: grid;
  gap: 9px;
  min-width: 218px;
  padding: 18px 20px;
  color: var(--hh-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  border: 1px solid var(--hh-line);
  border-radius: 6px;
  background: rgba(10, 14, 18, 0.4);
  transition: transform 280ms ease, border-color 280ms ease;
}

.hero-readout:hover {
  border-color: rgba(245, 53, 66, 0.46);
  transform: translateY(-4px);
}

.hero-readout strong {
  color: var(--hh-text);
  font-size: 17px;
}

.hose-hero-content {
  width: min(690px, 100%);
}

.signal {
  margin: 0 0 18px;
  color: var(--hh-red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.hose-hero h1 {
  margin: 0;
  font-size: clamp(48px, 6.4vw, 82px);
  line-height: 0.99;
  letter-spacing: 0;
}

.hero-text {
  max-width: 586px;
  margin: 24px 0 0;
  color: #b6c0c6;
  font-size: clamp(16px, 1.55vw, 19px);
  line-height: 1.65;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.hose-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--hh-line);
  border-radius: 6px;
  cursor: pointer;
  transform: translate3d(var(--magnet-x, 0), var(--magnet-y, 0), 0);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.hose-button:hover {
  border-color: rgba(245, 53, 66, 0.7);
}

.hose-button.primary {
  color: #fff;
  border-color: var(--hh-red);
  background: var(--hh-red);
  box-shadow: 0 16px 36px var(--hh-glow);
}

.hose-button.primary:hover {
  background: var(--hh-red-deep);
  border-color: var(--hh-red-deep);
}

.hose-button.secondary {
  color: var(--hh-text);
  background: rgba(255, 255, 255, 0.02);
}

.hero-metrics {
  width: var(--hh-width);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: clamp(44px, 8vh, 72px) auto 0;
  border: 1px solid var(--hh-line);
  background: rgba(8, 11, 14, 0.42);
}

.hero-metrics div {
  padding: 22px clamp(18px, 3vw, 34px);
  border-right: 1px solid var(--hh-line);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  font-size: clamp(28px, 3vw, 42px);
}

.hero-metrics span {
  display: block;
  margin-top: 6px;
  color: var(--hh-muted);
  font-size: 13px;
}

.specialty-band,
.configurator,
.quality-section,
.inquiry-section {
  position: relative;
  z-index: 3;
  padding: clamp(72px, 9vw, 116px) max(calc((100vw - 1240px) / 2), 24px);
}

.specialty-band {
  background: var(--hh-bg);
}

.section-title {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 54px);
}

.section-title h2,
.quality-copy h2,
.inquiry-copy h2 {
  margin: 0;
  font-size: clamp(34px, 4.3vw, 54px);
  line-height: 1.1;
  letter-spacing: 0;
}

.section-title > p:not(.signal),
.quality-copy > p:not(.signal),
.inquiry-copy > p:not(.signal) {
  margin: 20px 0 0;
  color: var(--hh-muted);
  line-height: 1.7;
}

.engineering-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--hh-line);
  border: 1px solid var(--hh-line);
}

.engineering-grid article {
  min-height: 270px;
  padding: clamp(26px, 4vw, 38px);
  background: var(--hh-surface);
  transition: background 240ms ease, transform 240ms ease;
}

.engineering-grid article:hover {
  z-index: 1;
  background: #151c22;
  transform: translateY(-6px);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.22);
}

.feature-index {
  color: var(--hh-red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.engineering-grid h3 {
  max-width: 290px;
  margin: 44px 0 14px;
  font-size: 22px;
  line-height: 1.22;
}

.engineering-grid p {
  margin: 0;
  color: var(--hh-muted);
  font-size: 14px;
  line-height: 1.65;
}

.configurator {
  background: var(--hh-surface);
}

.config-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
}

.control-panel,
.assembly-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  background: #0b0f13;
  border: 1px solid var(--hh-line);
  border-radius: 8px;
}

.control-panel::before,
.assembly-panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: radial-gradient(260px circle at var(--panel-x, 50%) var(--panel-y, 50%), rgba(245, 53, 66, 0.11), transparent 66%);
  opacity: 0;
  transition: opacity 240ms ease;
}

.control-panel:hover::before,
.assembly-panel:hover::before {
  opacity: 1;
}

fieldset {
  min-width: 0;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

fieldset legend,
.control > span:first-child {
  display: block;
  margin-bottom: 11px;
  color: var(--hh-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.segment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 4px;
  border: 1px solid var(--hh-line);
  border-radius: 6px;
  background: var(--hh-bg);
}

.segment button {
  min-height: 44px;
  padding: 0 8px;
  color: var(--hh-muted);
  font-size: 13px;
  background: transparent;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.segment button.active {
  color: var(--hh-text);
  background: #20272d;
  box-shadow: inset 0 -2px 0 var(--hh-red);
}

.control {
  display: block;
  margin-bottom: 24px;
}

.control select,
.hose-form input,
.hose-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  background: var(--hh-panel);
  border: 1px solid var(--hh-line);
  border-radius: 6px;
  outline: 0;
}

.control select:focus,
.hose-form input:focus,
.hose-form textarea:focus {
  border-color: var(--hh-red);
}

.range-control > span {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.range-control output {
  color: var(--hh-text);
  font-family: "IBM Plex Mono", monospace;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--hh-red);
}

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

.swatches {
  display: flex;
  gap: 8px;
}

.swatches button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  color: var(--hh-muted);
  font-size: 13px;
  background: transparent;
  border: 1px solid var(--hh-line);
  border-radius: 6px;
  cursor: pointer;
}

.swatches button.active {
  color: var(--hh-text);
  border-color: #77828c;
}

.swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
}

.swatch.graphite {
  background: #252b31;
}

.swatch.red {
  background: #e72c37;
}

.swatch.yellow {
  background: #d8b638;
}

.assembly-panel {
  position: sticky;
  top: 112px;
  transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 180ms ease-out, border-color 220ms ease;
}

.assembly-panel:hover {
  border-color: rgba(147, 163, 174, 0.38);
}

.specification-panel {
  margin-top: clamp(22px, 4vw, 42px);
  padding: clamp(22px, 3vw, 32px);
  background: #0b0f13;
  border: 1px solid var(--hh-line);
  border-radius: 8px;
}

.specification-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 84px);
  margin-bottom: 24px;
}

.specification-heading .signal {
  margin: 0 0 10px;
}

.specification-heading h3 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.25;
}

.specification-heading > p {
  max-width: 340px;
  margin: 0;
  color: var(--hh-muted);
  font-size: 14px;
  line-height: 1.6;
}

.assembly-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--hh-muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
}

.assembly-header strong {
  color: var(--hh-text);
  text-align: right;
}

.hose-photo-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 20px 0 18px;
  overflow: hidden;
  background: #0a0d11;
  border: 1px solid rgba(147, 163, 174, 0.14);
  border-radius: 7px;
}

.assembly-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(calc(var(--photo-scale, 1) + 0.035));
  filter: saturate(0.94) contrast(1.02);
  transition: opacity 460ms ease, transform 600ms ease, filter 400ms ease;
}

.assembly-photo.active {
  opacity: 1;
  transform: scale(var(--photo-scale, 1));
}

.photo-scan {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.42;
  background: linear-gradient(108deg, transparent 27%, rgba(255, 255, 255, 0.09) 46%, transparent 58%);
  background-size: 240% 100%;
  animation: product-scan 4.8s ease-in-out infinite;
}

.sleeve-indicator {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  color: #d6dde1;
  font-size: 11px;
  font-weight: 600;
  background: rgba(7, 10, 13, 0.82);
  border: 1px solid var(--hh-line);
  border-radius: 5px;
}

.sleeve-indicator::before {
  width: 9px;
  height: 9px;
  content: "";
  background: #343c44;
  border-radius: 50%;
}

.hose-photo-stage[data-sleeve="red"] .sleeve-indicator::before {
  background: var(--hh-red);
  box-shadow: 0 0 9px var(--hh-red);
}

.hose-photo-stage[data-sleeve="yellow"] .sleeve-indicator::before {
  background: #d8b638;
  box-shadow: 0 0 9px rgba(216, 182, 56, 0.55);
}

.preview-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 16px;
  overflow: hidden;
  background: var(--hh-line);
  border: 1px solid var(--hh-line);
  border-radius: 6px;
}

.preview-details div {
  min-width: 0;
  padding: 12px 14px;
  background: #10151b;
}

.preview-details span {
  display: block;
  margin-bottom: 7px;
  color: var(--hh-muted);
  font-size: 11px;
}

.preview-details strong {
  display: block;
  overflow: hidden;
  color: var(--hh-text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.assembly-panel.adjusting .assembly-photo.active {
  filter: saturate(1.06) contrast(1.06) brightness(1.06);
}

.hose-preview {
  display: block;
  width: 100%;
  margin: 18px 0 8px;
  overflow: visible;
  transform: translateZ(20px);
}

.hose-shadow {
  fill: none;
  stroke: rgba(0, 0, 0, 0.52);
  stroke-linecap: round;
  stroke-width: 38;
  transition: stroke-width 220ms ease;
}

.hose-body {
  fill: none;
  stroke: url(#tubeLight);
  stroke-linecap: round;
  stroke-width: var(--hose-width, 28px);
  transition: stroke-width 160ms ease;
}

.hose-braid {
  fill: none;
  stroke: url(#braid);
  stroke-linecap: round;
  stroke-width: calc(var(--hose-width, 28px) - 3px);
  opacity: 0.84;
  transition: stroke-width 160ms ease;
}

.sleeve-path {
  fill: none;
  stroke: transparent;
  stroke-dasharray: 6 5;
  stroke-linecap: round;
  stroke-width: var(--sleeve-width, 35px);
  transition: stroke 200ms ease, stroke-width 180ms ease;
}

.sleeve-path.red {
  stroke: #cf202b;
}

.sleeve-path.yellow {
  stroke: #c9a62e;
}

.flow-path {
  fill: none;
  stroke: rgba(241, 244, 245, 0.36);
  stroke-dasharray: 1 34;
  stroke-linecap: round;
  stroke-width: 3px;
  animation: hydraulic-flow 1.4s linear infinite;
}

.fitting {
  transform-box: fill-box;
  transform-origin: center;
  transition: opacity 180ms ease;
}

.fitting .connector-straight,
.fitting.straight .connector-elbow {
  display: none;
}

.fitting.straight .connector-straight {
  display: block;
}

.length-guide {
  fill: none;
  stroke: rgba(156, 167, 176, 0.3);
  stroke-width: 1;
}

.length-guide text {
  fill: var(--hh-muted);
  stroke: none;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-anchor: middle;
}

.assembly-panel.adjusting .hose-body,
.assembly-panel.adjusting .hose-braid,
.assembly-panel.adjusting .sleeve-path {
  animation: hose-response 320ms ease;
}

.assembly-panel.adjusting .flow-path {
  animation: hydraulic-flow 1.4s linear infinite, hose-response 320ms ease;
}

.specification-panel.adjusting .spec-grid strong,
.assembly-panel.adjusting .assembly-header strong {
  color: var(--hh-red);
}

@keyframes hydraulic-flow {
  to {
    stroke-dashoffset: -70;
  }
}

@keyframes hose-response {
  50% {
    filter: drop-shadow(0 0 12px rgba(245, 53, 66, 0.44));
  }
}

@keyframes product-scan {
  0%,
  28% {
    background-position: 130% 0;
  }
  72%,
  100% {
    background-position: -120% 0;
  }
}

@keyframes hero-scan {
  to {
    background-position: center, -220% 0;
  }
}

@keyframes grid-drift {
  to {
    background-position: 0 64px, 64px 0;
  }
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 24px;
  overflow: hidden;
  background: var(--hh-line);
  border: 1px solid var(--hh-line);
  border-radius: 6px;
}

.spec-grid div {
  padding: 16px;
  background: var(--hh-panel);
}

.spec-grid span {
  display: block;
  margin-bottom: 9px;
  color: var(--hh-muted);
  font-size: 12px;
}

.spec-grid strong {
  display: block;
  overflow-wrap: anywhere;
  line-height: 1.45;
  font-family: "IBM Plex Mono", monospace;
  font-size: 14px;
}

.spec-grid .wide {
  grid-column: span 2;
}

.catalog-source {
  margin: 0 0 22px;
  padding: 14px 16px;
  color: var(--hh-muted);
  font-size: 12px;
  line-height: 1.65;
  background: rgba(16, 21, 27, 0.7);
  border-left: 2px solid rgba(245, 53, 66, 0.7);
}

.catalog-source p {
  margin: 0 0 5px;
}

.catalog-source p:last-child {
  margin-top: 6px;
  margin-bottom: 0;
}

.catalog-source a {
  color: var(--hh-text);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  text-decoration-color: var(--hh-red);
  text-underline-offset: 3px;
}

.hose-button.full {
  width: 100%;
}

.quality-section {
  display: grid;
  grid-template-columns: minmax(380px, 1.03fr) minmax(360px, 0.97fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
  background: var(--hh-bg);
}

.quality-image {
  position: relative;
}

.quality-image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 520ms ease, filter 520ms ease;
}

.quality-image:hover img {
  transform: scale(1.025);
  filter: contrast(1.05);
}

.quality-tag {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  color: var(--hh-text);
  font-size: 12px;
  background: rgba(8, 11, 14, 0.86);
  border: 1px solid var(--hh-line);
  border-radius: 6px;
}

.quality-tag strong {
  color: var(--hh-red);
  font-family: "IBM Plex Mono", monospace;
}

.process {
  display: grid;
  gap: 0;
  margin-top: 38px;
}

.process div {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 4px 14px;
  padding: 17px 0;
  border-top: 1px solid var(--hh-line);
}

.process span {
  grid-row: span 2;
  color: var(--hh-red);
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
}

.process strong {
  font-size: 17px;
}

.process p {
  margin: 4px 0 0;
  color: var(--hh-muted);
  font-size: 14px;
  line-height: 1.55;
}

.inquiry-section {
  display: grid;
  grid-template-columns: minmax(320px, 0.86fr) minmax(400px, 1fr);
  gap: clamp(40px, 8vw, 104px);
  background: var(--hh-surface);
}

.contact-links {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.contact-mail {
  display: inline-block;
  color: var(--hh-text);
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  text-decoration-color: var(--hh-red);
  text-underline-offset: 8px;
}

.hose-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--hh-bg);
  border: 1px solid var(--hh-line);
  border-radius: 8px;
}

.hose-form label {
  display: grid;
  gap: 9px;
  color: var(--hh-muted);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.hose-form .wide,
.hose-form button,
.hose-form .form-status {
  grid-column: 1 / -1;
}

.hose-form textarea {
  min-height: 116px;
  padding: 13px 14px;
  resize: vertical;
}

.form-status {
  min-height: 20px;
  margin: 0;
  color: var(--hh-muted);
  font-size: 13px;
}

.hose-footer {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(24px, 5vw, 58px);
  padding: 30px max(calc((100vw - 1240px) / 2), 24px);
  background: #06080b;
  border-top: 1px solid var(--hh-line);
}

.hose-footer div {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hose-footer img {
  width: 84px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 13px rgba(245, 53, 66, 0.14));
}

.hose-footer p {
  margin: 0;
  color: var(--hh-muted);
  font-size: 13px;
}

.hose-footer a {
  color: var(--hh-steel);
  font-size: 13px;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .hose-brand {
  margin-right: 0;
  margin-left: auto;
}

html[dir="rtl"] .hose-brand img,
html[dir="rtl"] .hose-footer img {
  order: 2;
}

html[dir="rtl"] .hose-hero-media {
  transform: scaleX(-1) scale(1.055) translate3d(var(--hero-shift-x), var(--hero-shift-y), 0);
}

html[dir="rtl"] .scroll-hose {
  right: auto;
  left: clamp(-138px, -7vw, -52px);
  transform: translate3d(0, 36px, 0) rotate(7deg) scaleX(-1);
}

html[dir="rtl"] .hero-readout {
  right: auto;
  left: max(calc((100vw - 1240px) / 2), 24px);
}

html[dir="rtl"] .assembly-header strong {
  text-align: left;
}

html[dir="rtl"] .sleeve-indicator {
  right: auto;
  left: 14px;
}

html[dir="rtl"] .quality-tag {
  right: auto;
  left: 18px;
}

@media (max-width: 940px) {
  .hose-header {
    padding: 0 20px;
  }

  .hose-brand span {
    display: none;
  }

  .hose-nav-toggle {
    order: 3;
    display: block;
    width: 44px;
    height: 42px;
    padding: 9px;
    background: transparent;
    border: 1px solid var(--hh-line);
    border-radius: 6px;
  }

  .hose-nav-toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--hh-text);
  }

  .hose-nav {
    position: absolute;
    top: 84px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    padding: 12px 20px 18px;
    background: var(--hh-bg);
    border-bottom: 1px solid var(--hh-line);
  }

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

  .hose-lang {
    order: 2;
  }

  .hero-readout {
    display: none;
  }

  .engineering-grid,
  .config-layout,
  .quality-section,
  .inquiry-section,
  .hose-footer {
    grid-template-columns: 1fr;
  }

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

  .specification-heading {
    display: block;
  }

  .specification-heading > p {
    margin-top: 12px;
  }

  .assembly-panel {
    position: relative;
    top: 0;
  }

  .scroll-hose {
    opacity: 0.14;
  }

  .cursor-ring {
    display: none;
  }
}

@media (max-width: 640px) {
  :root {
    --hh-width: calc(100vw - 36px);
  }

  .hose-header {
    height: 72px;
  }

  .hose-brand img {
    width: 86px;
    height: 46px;
  }

  .hose-nav {
    top: 72px;
  }

  .hose-hero {
    min-height: 100svh;
    padding: 116px 18px 26px;
  }

  .hose-hero h1 {
    font-size: clamp(39px, 13vw, 52px);
  }

  .hero-metrics {
    grid-template-columns: 1fr;
    margin-top: 38px;
  }

  .hero-metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--hh-line);
  }

  .hero-metrics div:last-child {
    border-bottom: 0;
  }

  .specialty-band,
  .configurator,
  .quality-section,
  .inquiry-section {
    padding-right: 18px;
    padding-left: 18px;
  }

  .engineering-grid,
  .dual-control,
  .preview-details,
  .spec-grid,
  .hose-form {
    grid-template-columns: 1fr;
  }

  .spec-grid .wide {
    grid-column: 1;
  }

  .scroll-hose {
    display: none;
  }

  .hose-footer {
    padding: 28px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto;
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cursor-ring {
    display: none;
  }

  .assembly-panel {
    transform: none;
  }
}
