/* =========================================================
   HF PRIME — 风格对齐 www.hfblockmachine.com
   主色：海军蓝 #004995 + 琥珀黄 #FFB300
   ========================================================= */

:root {
  --brand-blue: #004995;
  --brand-blue-dark: #003672;
  --brand-blue-link: #0140a7;
  --brand-amber: #ffb300;
  --brand-amber-dark: #e6a100;
  --brand-orange: var(--brand-amber);
  --brand-orange-dark: var(--brand-amber-dark);
  --ink: #333333;
  --ink-soft: #666666;
  --ink-muted: #999999;
  --ink-title: #222222;
  --steel-900: #2c2c2c;
  --steel-800: #323233;
  --steel-700: #444444;
  --steel-600: #666666;
  --steel-400: #999999;
  --steel-200: #d0d5db;
  --steel-100: #e8ebef;
  --steel-50: #edf1f5;
  --page-bg: #f0f0f0;
  --white: #ffffff;
  --overlay: rgba(0, 30, 70, 0.55);
  --shadow: 0 3px 25px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.16);
  --radius: 2px;
  --header-h: 78px;
  --container: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-en: "Roboto", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-zh: "Roboto", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-zh);
  color: var(--ink);
  background: var(--steel-50);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* 英文区域使用现代简约无衬线 */
.en-line,
.product-tag,
.lang-switch,
.stat-item strong,
.hero-eyebrow,
.footer-col a,
.brand-logo,
.btn {
  font-family: var(--font-en);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--ink-soft);
  max-width: 620px;
  font-size: 1.02rem;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head .section-desc {
  margin-inline: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease),
    border-color 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand-orange);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(245, 127, 32, 0.28);
}

.btn-primary:hover {
  background: var(--brand-orange-dark);
  box-shadow: 0 12px 28px rgba(245, 127, 32, 0.38);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Page Loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--steel-900);
  transition: opacity 0.55s var(--ease), visibility 0.55s var(--ease);
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-inner {
  text-align: center;
  position: relative;
}

.loader-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--brand-orange);
  border-right-color: var(--brand-blue);
  animation: spin 0.9s linear infinite;
  margin: 0 auto 16px;
}

.loader-logo {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

.loader-text {
  color: var(--white);
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.85rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------- Header / Nav（企业白顶栏，对齐 hfblockmachine.com） ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.nav-menu a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand-amber);
  transition: width 0.3s var(--ease);
}

.nav-menu a:hover,
.nav-menu a.is-active {
  color: var(--brand-blue);
}

.nav-menu a:hover::after,
.nav-menu a.is-active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--steel-200);
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
}

.lang-btn {
  background: transparent;
  border: 0;
  color: var(--ink-soft);
  padding: 6px 10px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.lang-btn.is-active,
.lang-btn:hover {
  background: var(--brand-blue);
  color: var(--white);
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--steel-200);
  border-radius: 2px;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--brand-blue);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: visible;
  color: var(--white);
  background: var(--steel-900);
  padding-bottom: 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(8, 12, 20, 0.55) 0%,
    rgba(8, 12, 20, 0.35) 45%,
    rgba(8, 12, 20, 0.15) 70%,
    rgba(8, 12, 20, 0.05) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 140px;
  max-width: 900px;
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-orange);
  margin-bottom: 18px;
  font-weight: 600;
}

.hero-title {
  margin-bottom: 18px;
}

.hero-title .en-line {
  display: block;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.05;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

.hero-title .zh-line {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.92);
}

.hero-slogan {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.86);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 28px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-radius: 20px;
}

.hero-scroll span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  background: var(--brand-orange);
  border-radius: 2px;
  animation: scrollDot 1.6s var(--ease) infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(18px);
  }
}

/* 首屏入场动画 */
.reveal-up {
  opacity: 0;
  transform: translateY(28px);
  animation: revealUp 0.9s var(--ease) forwards;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-36px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(36px);
}

.delay-1 {
  animation-delay: 0.15s;
}
.delay-2 {
  animation-delay: 0.3s;
}
.delay-3 {
  animation-delay: 0.45s;
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 滚动触发显现（JS 加 .is-visible） */
.reveal-left.is-visible,
.reveal-right.is-visible,
.section .reveal-up.is-visible {
  animation: revealUp 0.8s var(--ease) forwards;
}

.reveal-left.is-visible {
  animation-name: revealLeft;
}

.reveal-right.is-visible {
  animation-name: revealRight;
}

@keyframes revealLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes revealRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hero 内的 reveal 在加载后立即播放；板块内需滚动触发 */
.section .reveal-up,
.section .reveal-left,
.section .reveal-right {
  animation: none;
}

/* ---------- About ---------- */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--steel-800);
}

.about-art {
  min-height: 280px;
  background: var(--steel-800);
}

.about-art img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

.case-visual.has-photo {
  background-color: #2f3640;
}

.about-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  z-index: 2;
  background: var(--brand-orange);
  color: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  min-width: 120px;
  box-shadow: 0 10px 24px rgba(245, 127, 32, 0.35);
}

.about-badge strong {
  display: block;
  font-family: var(--font-en);
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 4px;
}

.about-badge span {
  font-size: 0.82rem;
  opacity: 0.95;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--steel-100);
}

.stat-item strong {
  font-size: 1.85rem;
  color: var(--brand-blue);
  font-weight: 800;
}

.stat-item span {
  font-family: var(--font-en);
  font-size: 1.1rem;
  color: var(--brand-orange);
  font-weight: 700;
}

.stat-item p {
  font-size: 0.82rem;
  color: var(--steel-400);
  margin-top: 4px;
}

/* ---------- Products ---------- */
.products {
  background: var(--steel-50);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(36, 42, 50, 0.06);
  box-shadow: 0 4px 16px rgba(18, 21, 26, 0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.product-media {
  height: 180px;
  overflow: hidden;
}

.product-media svg,
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-media svg,
.product-card:hover .product-media img {
  transform: scale(1.05);
}

.product-body {
  padding: 22px 22px 26px;
}

.product-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-blue);
  margin-bottom: 8px;
}

.product-body h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  color: var(--ink);
}

.product-body > p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 14px;
}

.product-specs {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
  font-size: 0.85rem;
  color: var(--steel-600);
}

.product-specs li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--steel-100);
}

.product-specs span {
  color: var(--steel-400);
}

.product-specs em {
  font-style: normal;
}

.product-link {
  color: var(--brand-orange);
  font-weight: 600;
  font-size: 0.9rem;
}

.product-link:hover {
  color: var(--brand-orange-dark);
}

/* ---------- Cases ---------- */
.cases {
  background: var(--steel-900);
  color: var(--white);
}

.cases .section-title {
  color: var(--white);
}

.cases .section-desc {
  color: rgba(255, 255, 255, 0.7);
}

.case-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 18px;
}

.case-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 240px;
  background: var(--steel-800);
}

.case-large {
  grid-row: span 2;
  min-height: 500px;
}

.case-visual {
  position: absolute;
  inset: 0;
  transition: transform 0.6s var(--ease);
}

.case-card:hover .case-visual {
  transform: scale(1.06);
}

/* 工业风 CSS 图案作为设备实拍视觉（无外链依赖，离线可用） */
.case-visual.v1 {
  background:
    linear-gradient(135deg, rgba(43, 88, 173, 0.75), rgba(18, 21, 26, 0.55)),
    repeating-linear-gradient(
      90deg,
      #2a3340 0 18px,
      #323c4a 18px 36px
    );
}

.case-visual.v2 {
  background:
    linear-gradient(160deg, rgba(245, 127, 32, 0.65), rgba(18, 21, 26, 0.6)),
    radial-gradient(circle at 30% 40%, #5a6570 0 20%, transparent 21%),
    #2f3640;
}

.case-visual.v3 {
  background:
    linear-gradient(200deg, rgba(43, 88, 173, 0.5), rgba(10, 14, 20, 0.7)),
    repeating-linear-gradient(
      -45deg,
      #3a424c 0 12px,
      #2f3640 12px 24px
    );
}

.case-visual.v4 {
  background:
    linear-gradient(45deg, rgba(245, 127, 32, 0.45), rgba(43, 88, 173, 0.55)),
    linear-gradient(#3d4652, #242a32);
}

.case-visual.v5 {
  background:
    linear-gradient(rgba(18, 21, 26, 0.35), rgba(18, 21, 26, 0.75)),
    radial-gradient(ellipse at bottom, #f57f20 0%, transparent 55%),
    #1e3f7a;
}

.case-card figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 22px;
  background: linear-gradient(transparent, rgba(10, 14, 20, 0.88));
}

.case-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.case-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Advantages ---------- */
.advantages {
  background: var(--white);
}

.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.adv-card {
  padding: 32px 24px;
  background: var(--steel-50);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.adv-card:hover {
  transform: translateY(-8px);
  background: var(--white);
  border-color: rgba(43, 88, 173, 0.15);
  box-shadow: var(--shadow);
}

.adv-icon {
  width: 48px;
  height: 48px;
  color: var(--brand-blue);
  margin-bottom: 18px;
}

.adv-icon svg {
  width: 100%;
  height: 100%;
}

.adv-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.adv-card p {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

/* ---------- Contact ---------- */
.contact {
  background:
    linear-gradient(120deg, rgba(43, 88, 173, 0.08), rgba(245, 127, 32, 0.06)),
    var(--steel-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: start;
}

.contact-list {
  margin-top: 32px;
  display: grid;
  gap: 18px;
}

.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-ico {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(18, 21, 26, 0.08);
  flex-shrink: 0;
}

.contact-ico svg {
  display: block;
}

.contact-list strong {
  display: block;
  font-size: 0.85rem;
  color: var(--steel-400);
  font-weight: 500;
  margin-bottom: 2px;
}

.contact-list a:hover {
  color: var(--brand-blue);
}

.inquiry-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.inquiry-form label {
  display: block;
  margin-bottom: 16px;
}

.inquiry-form label span {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 8px;
  font-weight: 500;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--steel-200);
  border-radius: 4px;
  background: var(--steel-50);
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
  resize: vertical;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  border-color: var(--brand-blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(43, 88, 173, 0.15);
}

.form-note {
  margin-top: 14px;
  font-size: 0.9rem;
  min-height: 1.4em;
  color: var(--brand-blue);
}

.form-note.is-error {
  color: #c0392b;
}

.form-note.is-ok {
  color: #1e7a46;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--steel-900);
  color: rgba(255, 255, 255, 0.78);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 48px;
}

.footer-logo {
  height: 52px;
  width: auto;
  margin-bottom: 16px;
  background: transparent;
  padding: 0;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 320px;
  margin-bottom: 18px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 0.85rem;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease),
    transform 0.25s var(--ease);
}

.social-links a:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  font-family: var(--font-en);
  letter-spacing: 0.04em;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.68);
}

.footer-col a:hover {
  color: var(--brand-orange);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--brand-blue);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease),
    transform 0.3s var(--ease), background 0.25s var(--ease);
  box-shadow: 0 8px 20px rgba(43, 88, 173, 0.35);
}

.back-to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--brand-orange);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-grid {
    grid-template-columns: 1fr 1fr;
  }

  .case-large {
    grid-row: auto;
    min-height: 320px;
    grid-column: span 2;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .stat-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .header-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 24px;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease),
      visibility 0.35s var(--ease);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  }

  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--steel-100);
    color: var(--ink);
  }

  .site-header.menu-open {
    background: rgba(255, 255, 255, 0.98);
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 68px;
  }

  .section {
    padding: 72px 0;
  }

  .brand-logo img {
    height: 40px;
  }

  .product-grid,
  .adv-grid,
  .case-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .case-large {
    grid-column: auto;
    min-height: 260px;
  }

  .inquiry-form {
    padding: 24px 18px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    flex: 1;
    min-width: 140px;
  }

  .hero-title .zh-line {
    letter-spacing: 0.12em;
  }
}

/* 减弱动效偏好 */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal-up,
  .reveal-left,
  .reveal-right,
  .loader-ring,
  .hero-scroll span {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ---------- Secondary pages ---------- */
.page-inner .site-header {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.page-hero {
  padding: calc(var(--header-h) + 36px) 0 28px;
  background: linear-gradient(180deg, #e8eef6 0%, var(--steel-50) 100%);
  border-bottom: 1px solid var(--steel-100);
}

.page-hero-sm {
  padding-bottom: 18px;
}

.page-section {
  padding-top: 48px;
}

.breadcrumb {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--brand-blue);
}

.breadcrumb a:hover {
  color: var(--brand-amber-dark);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.filter-btn {
  border: 1px solid var(--steel-200);
  background: #fff;
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  color: #fff;
}

.product-detail-grid,
.case-detail-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: start;
}

.product-detail-media,
.case-detail-media {
  background: #f5f7fa;
  border: 1px solid var(--steel-100);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-detail-media img,
.case-detail-media img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  background: #111;
}

.case-detail-media img {
  max-height: 420px;
  object-fit: cover;
  background: #dce3ea;
}

.product-detail-text {
  color: var(--ink-soft);
  margin: 12px 0 18px;
}

.btn-line-dark {
  background: #fff;
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
  text-transform: uppercase;
  font-weight: 700;
}

.btn-line-dark:hover {
  background: var(--brand-blue);
  color: #fff;
}

.detail-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 48px;
}

.detail-block {
  background: #fff;
  border: 1px solid var(--steel-100);
  border-top: 3px solid var(--brand-amber);
  padding: 22px;
}

.detail-block h2 {
  font-size: 1.15rem;
  margin-bottom: 14px;
  color: var(--ink-title);
}

.feature-list {
  display: grid;
  gap: 10px;
}

.feature-list li {
  padding-left: 18px;
  position: relative;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  background: var(--brand-amber);
  border-radius: 1px;
}

.related-wrap {
  margin-top: 56px;
}

.related-wrap h2 {
  margin-bottom: 20px;
  font-size: 1.35rem;
}

.section-more {
  margin-top: 36px;
  text-align: center;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.9rem;
}

.product-body h3 a,
.case-card h3 a {
  color: inherit;
}

.product-body h3 a:hover,
.case-card h3 a:hover {
  color: var(--brand-blue);
}

.case-grid-list {
  grid-template-columns: repeat(3, 1fr);
}

.cases-page {
  background: var(--page-bg);
}

/* ---------- News ---------- */
.news-home {
  background: #f5f7fa;
}

.news-page {
  background: var(--page-bg);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-grid-home {
  margin-bottom: 8px;
}

.news-card {
  background: #fff;
  border: 1px solid rgba(0, 73, 149, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 40, 80, 0.08);
}

.news-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dce3ec;
}

.news-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.news-card:hover .news-photo {
  transform: scale(1.04);
}

.news-body {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.news-date {
  font-size: 0.82rem;
  color: #6b7c8f;
  letter-spacing: 0.02em;
}

.news-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.news-body h3 a {
  color: inherit;
  text-decoration: none;
}

.news-body h3 a:hover {
  color: var(--brand-blue);
}

.news-body p {
  margin: 0;
  color: #5a6a7a;
  font-size: 0.92rem;
  line-height: 1.55;
  flex: 1;
}

.news-detail .news-date {
  margin: 0 0 6px;
}

/* ---------- Language switch (4 langs in a row) ---------- */
#lang-switch-root {
  display: flex;
  align-items: center;
}

.lang-row {
  display: inline-flex;
  border: 1px solid var(--steel-200);
  border-radius: 2px;
  overflow: hidden;
}

.lang-row .lang-btn {
  padding: 6px 8px;
  font-size: 0.72rem;
  min-width: 34px;
}

.lang-select-wrap {
  display: none;
}

.lang-select {
  border: 1px solid var(--steel-200);
  border-radius: 2px;
  padding: 7px 10px;
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.8rem;
}

/* ---------- Stronger mobile ---------- */
@media (max-width: 1024px) {
  .product-detail-grid,
  .case-detail-grid,
  .detail-blocks {
    grid-template-columns: 1fr;
  }

  .case-grid-list {
    grid-template-columns: 1fr 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .lang-row {
    display: none;
  }

  .lang-select-wrap {
    display: block;
  }

  .header-inner {
    gap: 10px;
  }

  .nav-menu {
    max-height: calc(100dvh - var(--header-h));
    overflow: auto;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-title .en-line {
    font-size: clamp(2rem, 9vw, 3rem);
  }

  .stat-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .page-hero {
    padding-top: calc(var(--header-h) + 22px);
  }

  .case-grid-list,
  .product-grid,
  .adv-grid,
  .case-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .inquiry-form,
  .detail-block {
    padding: 18px 14px;
  }

  .header-actions {
    gap: 8px;
  }

  .btn {
    padding: 12px 18px;
  }

  .product-link {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .about-badge {
    left: 12px;
    bottom: 12px;
    padding: 12px 14px;
  }
}

@media (max-width: 400px) {
  .lang-select {
    max-width: 72px;
    padding: 7px 6px;
  }
}

/* =========================================================
   Screens 2–4 — exact clone of machine.hfblockmachine.com
   Yellow #f8d317 / Black / White industrial look
   ========================================================= */

.btn-outline-dark {
  background: transparent;
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
}
.btn-outline-dark:hover {
  background: var(--brand-blue);
  color: #fff;
}

/* 2) Feature strip — yellow / black / yellow over hero */
.feature-strip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  margin: 0;
  transform: translateY(50%);
}
.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}
.feature-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px 26px;
  min-height: 112px;
}
.feature-card.is-light {
  background: #f8d317;
  color: #000;
}
.feature-card.is-dark {
  background: #000;
  color: #f8d317;
}
.feature-card.is-dark p {
  color: #f8d317;
  opacity: 0.95;
}
.feature-icon {
  width: 78px;
  height: 78px;
  flex-shrink: 0;
  color: inherit;
  display: grid;
  place-items: center;
}
.feature-icon svg {
  width: 100%;
  height: 100%;
}
.feature-copy {
  min-width: 0;
}
.feature-card h3 {
  font-family: var(--font-en);
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 4px;
  line-height: 1.2;
}
.feature-card p {
  font-size: 0.86rem;
  line-height: 1.35;
  margin: 0;
}

/* 3) Hot sales — 与功能条紧凑衔接；标题压在机型图上方 */
.hotsales {
  background: #fff;
  padding-top: 78px;
  padding-bottom: 40px;
}
.hotsales .section-head {
  margin-bottom: -56px; /* 标题压到 banner 图上方 */
  position: relative;
  z-index: 3;
}
.hotsales-heading {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.3em;
  font-family: var(--font-en);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0;
  line-height: 1.15;
}
.hotsales-heading-accent {
  color: #f8d317;
  position: relative;
}
.hotsales-heading-accent::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -8px;
  height: 4px;
  background: #f8d317;
}
.hotsales-heading-rest {
  color: #111;
}
.hotsales .section-head .section-desc {
  display: none;
}

.hotsales-banner {
  display: grid;
  place-items: center;
  background: #fff;
  margin: 0 0 6px;
  padding: 52px 0 8px; /* 给叠在上方的标题留出可读空间 */
  position: relative;
  z-index: 1;
}
.hotsales-banner img {
  max-width: min(980px, 100%);
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hotsales-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin: 8px 0 15px; /* 参考站：Tab 与下方黑底内容约 15px 白缝 */
  padding-top: 16px; /* 给激活态双黄线留空 */
  border-top: 0;
  background: #fff;
  overflow: visible;
}
.hotsales-tab {
  position: relative;
  border: 0;
  background: #000;
  color: #fdce2f;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: 0.04em;
  padding: 18px 12px;
  min-height: 65px;
  cursor: pointer;
  font-family: var(--font-en);
  transition: background 0.15s ease, color 0.15s ease;
}
/* 参考站激活 Tab 上方：双黄线 + 白缝 */
.hotsales-tab.is-active::before,
.hotsales-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: #f8d317;
  pointer-events: none;
}
.hotsales-tab.is-active::before {
  top: -14px;
}
.hotsales-tab.is-active::after {
  top: -7px;
}
.hotsales-tab.is-active,
.hotsales-tab:hover {
  background: #fdce2f;
  color: #222;
}

.hotsales-panel {
  border: 0;
  background: transparent;
}
.hotsales-layout {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 8px; /* 参考站：左参数栏与右视频约 8px 白缝 */
  align-items: stretch;
  min-height: 520px;
}
.hotsales-info {
  background: #111 url("../assets/hotsales/map.jpg") center / cover no-repeat;
  color: #fff;
  padding: 40px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.hotsales-info::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
}
.hotsales-info > * {
  position: relative;
  z-index: 1;
}
.hotsales-model {
  font-family: var(--font-en);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  margin: 0;
  color: #fff;
}
.hotsales-tagline {
  display: inline-block;
  align-self: flex-start;
  background: #f8d317;
  color: #111;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 9px 16px;
  margin: 0;
  border-radius: 0;
}
.hotsales-specs {
  display: grid;
  gap: 8px;
  margin: 10px 0 4px;
}
.hotsales-specs li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 48px;
  padding: 6px 0;
  border-bottom: 0;
  font-size: 0.98rem;
  width: 100%;
}
.hotsales-specs span {
  color: #f8d317;
  font-weight: 700;
}
.hotsales-specs em {
  font-style: normal;
  color: #fff;
  font-weight: 600;
  text-align: right;
}
.hotsales-price {
  font-family: var(--font-en);
  font-size: 1.35rem;
  font-weight: 900;
  color: #f8d317;
  margin: 8px 0 4px;
}
.hotsales-quote {
  align-self: flex-start;
  margin-top: 8px;
  background: #f8d317 !important;
  color: #111 !important;
  border: 0 !important;
  border-radius: 10px;
  font-weight: 800;
  padding: 12px 28px;
}
.hotsales-quote:hover {
  filter: brightness(0.95);
}

.hotsales-media-col {
  display: flex;
  flex-direction: column;
  background: #fff;
  min-height: 520px;
}
.hotsales-media {
  flex: 1;
  min-height: 420px;
  display: grid;
  place-items: stretch;
  background: #000;
}
.hotsales-media iframe,
.hotsales-player {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  display: block;
  background: #000;
  object-fit: contain;
}
.hotsales-iso-bar {
  margin: 0;
  padding: 22px 28px;
  background: #fdce2f;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  font-style: italic;
  line-height: 1.45;
}

.hotsales-outputs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding: 8px 0 10px;
}
.output-card {
  text-align: center;
  padding: 12px 8px 18px;
  background: #fff;
  border: 0;
}
.output-icon {
  width: 110px;
  height: 90px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}
.output-icon img {
  max-width: 100%;
  max-height: 88px;
  object-fit: contain;
}
.output-card h4 {
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #111;
  line-height: 1.35;
  font-weight: 600;
}
.output-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
}
.output-card strong {
  color: #f8d317;
  font-size: 1.2rem;
  font-weight: 900;
}
.output-card span {
  color: #333;
  font-weight: 600;
}

/* 4) Production lines */
.prod-lines {
  background: #fff;
  padding-top: 48px;
  padding-bottom: 28px;
}
.prod-lines-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 8px;
}
.prod-lines-accent {
  color: #f8d317;
  position: relative;
}
.prod-lines-accent::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 100px;
  height: 4px;
  background: #f8d317;
}
.prod-lines-rest {
  color: #111;
  margin-top: 8px;
}
.prod-lines-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
  align-items: stretch; /* 参考站：黄/黑色块等高、底边齐平 */
}
.prod-line-card {
  background: transparent;
  border: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}
.prod-line-media {
  height: auto;
  background: transparent;
  display: grid;
  place-items: center;
  padding: 0 12px;
  position: relative;
  z-index: 2;
  margin-bottom: -48px;
  flex-shrink: 0;
}
.prod-line-media img {
  max-height: 280px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.18));
}
.prod-line-body {
  padding: 72px 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  flex: 1 1 auto;
  min-height: 520px; /* 接近参考站色块高度，两卡底边对齐 */
}
.prod-line-card.is-yellow .prod-line-body {
  background: #f8d317;
  color: #000;
}
.prod-line-card.is-black .prod-line-body {
  background: #000;
  color: #f8d317;
}
.prod-line-body h3 {
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.15;
  margin: 0;
}
.prod-line-body h3 span {
  display: block;
}
.prod-line-card.is-yellow .prod-line-body h3 { color: #000; }
.prod-line-card.is-black .prod-line-body h3 { color: #f8d317; }
.prod-line-body p {
  font-size: 1.05rem;
  max-width: 34ch;
  margin: 0;
  line-height: 1.45;
}
.prod-line-card.is-yellow .prod-line-body p { color: #111; }
.prod-line-card.is-black .prod-line-body p { color: #f8d317; }
.prod-line-price {
  font-family: var(--font-en);
  font-size: clamp(2rem, 3.5vw, 2.7rem) !important;
  font-weight: 900 !important;
  margin: 6px 0 4px !important;
}
.prod-line-card.is-yellow .prod-line-price { color: #000 !important; }
.prod-line-card.is-black .prod-line-price { color: #f8d317 !important; }
.prod-line-btn {
  margin-top: auto; /* 按钮贴色块底部，两卡对齐 */
  border-radius: 10px;
  font-weight: 800;
  padding: 12px 32px;
  border: 0;
}
.prod-line-card.is-yellow .prod-line-btn {
  background: #000;
  color: #f8d317;
}
.prod-line-card.is-black .prod-line-btn {
  background: #f8d317;
  color: #000;
}
.prod-line-card.is-yellow .prod-line-btn:hover,
.prod-line-card.is-black .prod-line-btn:hover {
  filter: brightness(1.08);
}

.about-cta { margin-top: 28px; }

.process { background: #fff; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.process-card {
  padding: 28px 22px;
  background: var(--steel-50);
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.process-card:hover {
  transform: translateY(-6px);
  background: #fff;
  border-color: rgba(0, 73, 149, 0.15);
  box-shadow: var(--shadow);
}
.process-icon {
  width: 44px;
  height: 44px;
  color: var(--brand-blue);
  margin-bottom: 14px;
}
.process-icon svg { width: 100%; height: 100%; }
.process-card h3 {
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.process-card p {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.contact-side-card {
  margin: 22px 0 8px;
  padding: 18px 20px;
  background: rgba(0, 73, 149, 0.08);
  border-left: 4px solid var(--brand-amber);
}
.contact-side-card strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: var(--brand-blue);
}
.contact-side-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .feature-strip {
    position: relative;
    transform: none;
    margin-top: -1px;
  }
  .feature-strip-grid,
  .hotsales-layout,
  .prod-lines-grid {
    grid-template-columns: 1fr;
  }
  .hero-content { padding-bottom: 48px; }
  .hotsales { padding-top: 40px; }
  .hotsales .section-head { margin-bottom: -28px; }
  .hotsales-banner { padding: 40px 0 8px; }
  .feature-icon { width: 64px; height: 64px; }
  .hotsales-tabs { grid-template-columns: repeat(2, 1fr); }
  .hotsales-outputs-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .hotsales-media,
  .hotsales-media iframe,
  .hotsales-player { min-height: 280px; }
  .prod-line-media { margin-bottom: -36px; }
  .prod-line-body { min-height: 0; padding-top: 56px; }
}

@media (max-width: 640px) {
  .hotsales-tabs,
  .process-grid,
  .hotsales-outputs-grid {
    grid-template-columns: 1fr;
  }
  .hotsales-info { padding: 28px 20px; }
  .hotsales-banner { padding-bottom: 8px; }
  .feature-card { padding: 18px 16px; }
}
