.xcf-hydraulic,
.xcf-application {
  box-sizing: border-box;
  color: var(--xcf-si-ink);
  font-family: "Noto Sans SC", "Source Han Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.xcf-hydraulic *,
.xcf-hydraulic *::before,
.xcf-hydraulic *::after,
.xcf-application *,
.xcf-application *::before,
.xcf-application *::after {
  box-sizing: inherit;
}

.xcf-hydraulic {
  width: 100%;
  margin: 0;
  overflow: clip;
  background: var(--xcf-si-paper);
}

.xcf-hydraulic :is(h1, h2, h3, p, figure, figcaption, dl, dd, ol) {
  margin-top: 0;
}

.xcf-hydraulic :is(h1, h2, h3) {
  color: var(--xcf-si-ink);
  text-wrap: balance;
}

.xcf-hydraulic p {
  color: #555d61;
  line-height: 1.85;
  text-wrap: pretty;
}

.xcf-hydraulic img {
  display: block;
  max-width: 100%;
  height: auto;
}

.xcf-hydraulic a,
.xcf-application a {
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.xcf-hydraulic a:active,
.xcf-application a:active {
  transform: translateY(1px);
}

.xcf-hydraulic a:focus-visible,
.xcf-application a:focus-visible {
  outline: 3px solid #ff8a50;
  outline-offset: 4px;
}

.xcf-hydraulic__hero,
.xcf-hydraulic__products,
.xcf-hydraulic__materials,
.xcf-hydraulic__process,
.xcf-hydraulic__faq,
.xcf-hydraulic__contact {
  width: min(calc(100% - 3rem), 78rem);
  margin-inline: auto;
}

.xcf-hydraulic__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(22rem, 0.82fr);
  align-items: stretch;
  min-height: 38rem;
  padding-block: clamp(3rem, 6vw, 6rem);
  border-bottom: 1px solid var(--xcf-si-line);
}

.xcf-hydraulic__hero > div {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 5rem) clamp(2rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem) 0;
}

.xcf-hydraulic__eyebrow {
  margin-bottom: 1rem;
  color: #a33b16 !important;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.13em;
}

.xcf-hydraulic__hero h1 {
  max-width: 17ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.65rem, 5.1vw, 5.25rem);
  font-weight: 750;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.xcf-hydraulic__hero > div > p:not(.xcf-hydraulic__eyebrow, .xcf-hydraulic__actions) {
  max-width: 40rem;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.xcf-hydraulic__hero > img {
  width: 100%;
  height: 100%;
  min-height: 31rem;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.82) contrast(1.05);
}

.xcf-hydraulic__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 2rem 0 0;
}

.xcf-hydraulic__actions a,
.xcf-hydraulic__primary-cta {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.35rem;
  border: 1px solid var(--xcf-si-ink);
  color: var(--xcf-si-ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.xcf-hydraulic__actions a:hover {
  color: #fff;
  background: var(--xcf-si-ink);
}

.xcf-hydraulic__actions .xcf-hydraulic__primary-cta,
.xcf-hydraulic .xcf-hydraulic__primary-cta {
  border-color: var(--xcf-si-accent);
  color: #fff;
  background: var(--xcf-si-accent);
}

.xcf-hydraulic__actions .xcf-hydraulic__primary-cta:hover,
.xcf-hydraulic .xcf-hydraulic__primary-cta:hover {
  border-color: var(--xcf-si-ink);
  background: var(--xcf-si-ink);
}

.xcf-hydraulic__products {
  padding-block: clamp(5rem, 9vw, 8.5rem);
}

.xcf-hydraulic__products > header,
.xcf-hydraulic__products > h2 {
  max-width: 50rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.xcf-hydraulic__products h2,
.xcf-hydraulic__materials h2,
.xcf-hydraulic__process h2,
.xcf-hydraulic__faq h2,
.xcf-hydraulic__contact h2,
.xcf-application h2 {
  font-size: clamp(2rem, 3.8vw, 3.65rem);
  font-weight: 720;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.xcf-hydraulic__product-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(13rem, 19vw);
  gap: 1px;
  background: rgba(21, 25, 28, 0.32);
}

.xcf-hydraulic__product-grid figure {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  color: #fff;
  background: var(--xcf-si-ink-soft);
}

.xcf-hydraulic__product-grid figure:nth-child(1) {
  grid-column: span 7;
  grid-row: span 2;
}

.xcf-hydraulic__product-grid figure:nth-child(2),
.xcf-hydraulic__product-grid figure:nth-child(3) {
  grid-column: span 5;
}

.xcf-hydraulic__product-grid figure:nth-child(4),
.xcf-hydraulic__product-grid figure:nth-child(5) {
  grid-column: span 6;
}

.xcf-hydraulic__product-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease, filter 240ms ease;
}

.xcf-hydraulic__product-grid figure:hover img {
  transform: scale(1.018);
  filter: contrast(1.06);
}

.xcf-hydraulic__product-grid figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  background: linear-gradient(0deg, rgba(15, 18, 20, 0.94), rgba(15, 18, 20, 0));
}

.xcf-hydraulic__product-grid figcaption strong {
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  line-height: 1.3;
}

.xcf-hydraulic__product-grid figcaption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  line-height: 1.55;
}

.xcf-hydraulic__product-grid .xcf-hydraulic__product-note {
  color: var(--xcf-si-ink);
  background: var(--xcf-si-paper-deep);
}

.xcf-hydraulic__product-grid .xcf-hydraulic__product-note figcaption {
  position: static;
  height: 100%;
  align-content: end;
  background: none;
}

.xcf-hydraulic__product-grid .xcf-hydraulic__product-note figcaption::before {
  width: 2.5rem;
  height: 0.22rem;
  margin-bottom: auto;
  background: var(--xcf-si-accent);
  content: "";
}

.xcf-hydraulic__product-grid .xcf-hydraulic__product-note figcaption span {
  color: #61686c;
}

.xcf-hydraulic__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-right: 1px solid var(--xcf-si-line);
  border-bottom: 1px solid var(--xcf-si-line);
  border-left: 1px solid var(--xcf-si-line);
}

.xcf-hydraulic__links a {
  display: flex;
  min-height: 4.25rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  border-right: 1px solid var(--xcf-si-line);
  color: var(--xcf-si-ink);
  font-size: 0.88rem;
  font-weight: 680;
  text-decoration: none;
}

.xcf-hydraulic__links a:last-child {
  border-right: 0;
}

.xcf-hydraulic__links a::after {
  color: var(--xcf-si-accent);
  content: "↗";
}

.xcf-hydraulic__links a:hover {
  color: #fff;
  background: var(--xcf-si-ink);
}

.xcf-hydraulic__materials {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  align-items: stretch;
  padding-block: clamp(5rem, 9vw, 8.5rem);
  border-top: 1px solid var(--xcf-si-line);
}

.xcf-hydraulic__materials > div {
  min-width: 0;
  padding: clamp(2rem, 5vw, 5rem) clamp(2rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem) 0;
}

.xcf-hydraulic__materials > p {
  align-self: center;
  padding-right: clamp(2rem, 6vw, 6rem);
}

.xcf-hydraulic__materials > img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.05);
}

.xcf-hydraulic__supply-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 2.5rem 0 0;
  border-top: 1px solid var(--xcf-si-line);
  border-bottom: 1px solid var(--xcf-si-line);
}

.xcf-hydraulic__supply-strip > div {
  min-width: 0;
  padding: 1.25rem 1rem;
  border-right: 1px solid var(--xcf-si-line);
}

.xcf-hydraulic__supply-strip > div:first-child {
  padding-left: 0;
}

.xcf-hydraulic__supply-strip > div:last-child {
  padding-right: 0;
  border-right: 0;
}

.xcf-hydraulic__supply-strip dt {
  margin-bottom: 0.55rem;
  color: #a33b16;
  font-size: 0.7rem;
  font-weight: 750;
  letter-spacing: 0.12em;
}

.xcf-hydraulic__supply-strip dd {
  margin-bottom: 0;
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.55;
}

.xcf-hydraulic__process {
  position: relative;
  padding: clamp(4rem, 7vw, 6.5rem);
  color: #fff;
  background: var(--xcf-si-ink);
}

.xcf-hydraulic__process h2 {
  max-width: 18ch;
  margin-bottom: 1rem;
  color: #fff;
}

.xcf-hydraulic__process > p {
  max-width: 50rem;
  margin-bottom: 2.75rem;
  color: rgba(255, 255, 255, 0.66);
}

.xcf-hydraulic__process ol {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: xcf-process;
}

.xcf-hydraulic__process ol::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--xcf-si-accent);
  content: "";
}

.xcf-hydraulic__process li {
  min-width: 0;
  padding: 2rem 1.5rem 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  counter-increment: xcf-process;
}

.xcf-hydraulic__process li:first-child {
  padding-left: 0;
}

.xcf-hydraulic__process li:last-child {
  padding-right: 0;
  border-right: 0;
}

.xcf-hydraulic__process li::before {
  display: block;
  margin-bottom: 1.75rem;
  color: #ff8a50;
  content: "0" counter(xcf-process);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}

.xcf-hydraulic__process li strong,
.xcf-hydraulic__process li span {
  display: block;
}

.xcf-hydraulic__process li strong {
  margin-bottom: 0.65rem;
  font-size: 1rem;
  line-height: 1.45;
}

.xcf-hydraulic__process li span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.84rem;
  line-height: 1.65;
}

.xcf-hydraulic__faq {
  padding-block: clamp(5rem, 9vw, 8.5rem);
}

.xcf-hydraulic__faq > header,
.xcf-hydraulic__faq > h2 {
  max-width: 45rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.xcf-hydraulic__faq-item {
  display: grid;
  grid-template-columns: minmax(15rem, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(1.75rem, 3vw, 2.75rem) 0;
  border-top: 1px solid var(--xcf-si-line);
}

.xcf-hydraulic__faq-item:last-child {
  border-bottom: 1px solid var(--xcf-si-line);
}

.xcf-hydraulic__faq-item h3 {
  margin-bottom: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 680;
  line-height: 1.5;
}

.xcf-hydraulic__faq-item p {
  margin-bottom: 0;
}

.xcf-hydraulic__contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  margin-bottom: clamp(4rem, 8vw, 7.5rem);
  padding: clamp(2rem, 5vw, 4.5rem);
  color: #fff;
  background: var(--xcf-si-ink-soft);
}

.xcf-hydraulic__contact h2 {
  max-width: 18ch;
  margin-bottom: 0.85rem;
  color: #fff;
}

.xcf-hydraulic__contact p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.xcf-hydraulic__contact > div > p:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.25rem;
}

.xcf-hydraulic__contact > div > p:last-child a {
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9rem;
  text-decoration-color: rgba(255, 255, 255, 0.38);
  text-underline-offset: 0.25rem;
}

.xcf-application {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(14rem, 0.6fr);
  gap: 1rem clamp(2rem, 6vw, 6rem);
  width: min(calc(100% - 3rem), 78rem);
  margin: clamp(3rem, 6vw, 6rem) auto;
  padding: clamp(1.75rem, 4vw, 3.25rem);
  border-left: 4px solid var(--xcf-si-accent);
  background: var(--xcf-si-paper);
}

.xcf-application h2 {
  grid-column: 1;
  margin: 0;
  align-self: end;
}

.xcf-application > p {
  grid-column: 1;
  margin: 0;
  color: #555d61;
  line-height: 1.75;
}

.xcf-application > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  justify-self: end;
}

.xcf-application > p:last-child a {
  display: inline-flex;
  min-height: 3.2rem;
  align-items: center;
  padding: 0.75rem 1.1rem;
  border: 1px solid var(--xcf-si-ink);
  color: var(--xcf-si-ink);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.xcf-application > p:last-child a:hover {
  color: #fff;
  background: var(--xcf-si-ink);
}

@media (max-width: 960px) {
  .xcf-hydraulic__hero {
    grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.82fr);
  }

  .xcf-hydraulic__hero > div {
    padding-right: 2rem;
  }

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

  .xcf-hydraulic__links a:nth-child(2) {
    border-right: 0;
  }

  .xcf-hydraulic__links a:nth-child(-n + 2) {
    border-bottom: 1px solid var(--xcf-si-line);
  }

  .xcf-hydraulic__materials {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.8fr);
  }

  .xcf-hydraulic__materials > div {
    padding-right: 2rem;
  }

  .xcf-hydraulic__supply-strip {
    grid-template-columns: 1fr;
  }

  .xcf-hydraulic__supply-strip > div,
  .xcf-hydraulic__supply-strip > div:first-child,
  .xcf-hydraulic__supply-strip > div:last-child {
    padding: 0.9rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--xcf-si-line);
  }

  .xcf-hydraulic__supply-strip > div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 767px) {
  .xcf-hydraulic__hero,
  .xcf-hydraulic__products,
  .xcf-hydraulic__materials,
  .xcf-hydraulic__process,
  .xcf-hydraulic__faq,
  .xcf-hydraulic__contact,
  .xcf-application {
    width: min(calc(100% - 2rem), 78rem);
  }

  .xcf-hydraulic__hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-block: 3.5rem;
  }

  .xcf-hydraulic__hero > div {
    padding: 0 0 2.25rem;
  }

  .xcf-hydraulic__hero h1 {
    font-size: clamp(2.25rem, 10.5vw, 3.25rem);
  }

  .xcf-hydraulic__hero > img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .xcf-hydraulic__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .xcf-hydraulic__actions a,
  .xcf-hydraulic__primary-cta {
    width: 100%;
  }

  .xcf-hydraulic__product-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
  }

  .xcf-hydraulic__product-grid figure,
  .xcf-hydraulic__product-grid figure:nth-child(1),
  .xcf-hydraulic__product-grid figure:nth-child(2),
  .xcf-hydraulic__product-grid figure:nth-child(3),
  .xcf-hydraulic__product-grid figure:nth-child(4),
  .xcf-hydraulic__product-grid figure:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
    min-height: 13rem;
  }

  .xcf-hydraulic__product-grid figure:first-child {
    min-height: 20rem;
  }

  .xcf-hydraulic__links {
    grid-template-columns: minmax(0, 1fr);
  }

  .xcf-hydraulic__links a,
  .xcf-hydraulic__links a:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--xcf-si-line);
  }

  .xcf-hydraulic__links a:last-child {
    border-bottom: 0;
  }

  .xcf-hydraulic__materials {
    grid-template-columns: minmax(0, 1fr);
  }

  .xcf-hydraulic__materials > div {
    padding: 0 0 2.25rem;
  }

  .xcf-hydraulic__materials > p {
    padding-right: 0;
  }

  .xcf-hydraulic__materials > img {
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .xcf-hydraulic__process {
    padding: 2.25rem 1.25rem;
  }

  .xcf-hydraulic__process ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .xcf-hydraulic__process ol::before {
    right: auto;
    bottom: 0;
    width: 3px;
    height: auto;
  }

  .xcf-hydraulic__process li,
  .xcf-hydraulic__process li:first-child,
  .xcf-hydraulic__process li:last-child {
    padding: 1.35rem 0 1.35rem 1.35rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .xcf-hydraulic__process li:last-child {
    border-bottom: 0;
  }

  .xcf-hydraulic__process li::before {
    margin-bottom: 0.65rem;
  }

  .xcf-hydraulic__faq-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.8rem;
  }

  .xcf-hydraulic__contact,
  .xcf-application {
    grid-template-columns: minmax(0, 1fr);
  }

  .xcf-hydraulic__contact > p,
  .xcf-application > p:last-child {
    justify-self: stretch;
  }

  .xcf-application h2,
  .xcf-application > p,
  .xcf-application > p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .xcf-application > p:last-child a {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .xcf-hydraulic *,
  .xcf-hydraulic *::before,
  .xcf-hydraulic *::after,
  .xcf-application *,
  .xcf-application *::before,
  .xcf-application *::after {
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    animation: none !important;
  }
}
