/* JIABO-TECH — white-first, dark header, orange CTAs */
:root {
  --ink: #12161f;
  --ink-soft: #2d3748;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg-page: #ffffff;
  --bg-soft: #f8fafc;
  --orange: #d96b31;
  --orange-hover: #c45a28;
  --blue: #2563eb;
  --header-h: 90px;
  --max: 1180px;
  --radius: 12px;
  --font: "Inter", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--ink-soft);
  line-height: 1.55;
}

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

a {
  color: var(--blue);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container--narrow {
  max-width: 920px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.header--light {
  background: #ffffff;
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(15, 20, 30, 0.07);
  backdrop-filter: none;
}

.site-header.header--light .logo-title,
.site-header.header--light .nav a,
.site-header.header--light .lang {
  color: var(--ink);
}

.site-header.header--light .logo-tag {
  color: var(--muted);
}

.site-header.header--light .nav-dot {
  color: var(--muted);
}

.site-header.header--light .lang {
  border-color: var(--line);
  background: #fff;
}

.site-header.header--light .nav-toggle::before,
.site-header.header--light .nav-toggle::after {
  background: var(--ink);
}

.site-header.header--light .btn-contact {
  box-shadow: none;
}

/* Inner pages: dark bar over hero → white bar + dark links after scrolling past top band */
.page-inner .site-header--dark.header--light {
  background: #ffffff;
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(15, 20, 30, 0.07);
  backdrop-filter: none;
}

.page-inner .site-header--dark.header--light .nav a,
.page-inner .site-header--dark.header--light .nav-cat {
  color: var(--ink-soft);
}

.page-inner .site-header--dark.header--light .nav a:hover {
  color: var(--orange);
}

.page-inner .site-header--dark.header--light .nav-dot {
  color: var(--muted);
}

.page-inner .site-header--dark.header--light .nav-cat:hover {
  color: var(--ink) !important;
}

.page-inner .site-header--dark.header--light .nav-cat--active {
  color: var(--orange) !important;
  border-bottom-color: var(--orange);
}

.page-inner .site-header--dark.header--light .lang {
  border-color: var(--line);
  color: var(--ink-soft);
  background: #fff;
}

.page-inner .site-header--dark.header--light .nav-toggle {
  border-color: var(--line);
  background: #fff;
}

.page-inner .site-header--dark.header--light .nav-toggle::before,
.page-inner .site-header--dark.header--light .nav-toggle::after {
  background: var(--ink);
}

.header-inner {
  width: min(100% - 0.75rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  padding-left: max(0.2rem, env(safe-area-inset-left, 0px));
  padding-right: max(0.5rem, env(safe-area-inset-right, 0px));
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.logo.logo--image {
  gap: 0;
  margin-left: clamp(-0.45rem, -1.2vw, -0.1rem);
}

.logo--image .site-logo-img {
  display: block;
  height: clamp(52px, 6.5vw, 76px);
  width: auto;
  max-width: min(480px, 78vw);
  object-fit: contain;
}

.logo-zf {
  flex-shrink: 0;
}

.logo-word {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.logo-title {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: #fff;
}

.logo-tag {
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 220px;
  line-height: 1.25;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem 1.25rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 0.5rem;
  flex-wrap: wrap;
}

.nav a {
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

/* 主导航（非分类简导航）：与 All Machines 页一致，全大写、统一字重与字距 */
.site-header .nav:not(.nav--compact) a {
  text-transform: uppercase;
}

.site-header.header--light .nav a:hover,
.page-inner .site-header--dark.header--light .nav a:hover {
  color: var(--orange);
  text-decoration: none;
}

.page-inner .site-header--dark:not(.header--light) .nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.nav-dot {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.lang-icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.lang-caret {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-top: 1px;
  opacity: 0.8;
}

.btn-contact {
  padding: 0.55rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 8px;
  background: var(--orange);
  color: #fff !important;
  text-decoration: none !important;
  border: none;
  white-space: nowrap;
}

.btn-contact:hover {
  background: var(--orange-hover);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  position: relative;
}

.nav-toggle::before,
.nav-toggle::after {
  content: "";
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s, top 0.2s;
}

.nav-toggle::before {
  top: 15px;
}

.nav-toggle::after {
  top: 25px;
}

.nav-toggle[aria-expanded="true"]::before {
  top: 20px;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"]::after {
  top: 20px;
  transform: rotate(-45deg);
}

@media (max-width: 960px) {
  .btn-contact {
    display: none;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .header-actions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: var(--ink);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    gap: 0.75rem;
  }

  .header-actions.is-open {
    display: flex;
  }

  .page-inner .site-header--dark.header--light .header-actions {
    background: #fff;
    border-bottom-color: var(--line);
  }

  .page-inner .site-header--dark.header--light .header-actions .nav a,
  .page-inner .site-header--dark.header--light .header-actions .nav-cat {
    color: var(--ink-soft);
  }

  .page-home .site-header.header--light .header-actions {
    background: #fff;
    border-bottom-color: var(--line);
  }

  .page-home .site-header.header--light .header-actions .nav a {
    color: var(--ink-soft);
  }

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

  .nav-dot {
    display: none;
  }

  .lang {
    align-self: flex-start;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 1.25rem 5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-color: #64748b;
}

.hero-bg-photo {
  position: absolute;
  inset: -2%;
  background-image: url("../主页/1.jpeg?v=20260522");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: brightness(1.16) contrast(1.1) saturate(1.08);
  transform: scale(1.03);
  transform-origin: center;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(15, 20, 30, 0.32) 0%,
    rgba(15, 20, 30, 0.42) 55%,
    rgba(15, 20, 30, 0.5) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.hero-headline {
  margin: 0 0 2rem;
  font-size: clamp(1.65rem, 4.2vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.02em;
  color: #fff;
  text-transform: uppercase;
}

.hero-headline--sentence {
  text-transform: none;
  letter-spacing: 0.01em;
  line-height: 1.22;
  font-size: clamp(1.45rem, 3.6vw, 2.35rem);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  background: var(--orange);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.btn-explore:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
}

.hero-scroll-arr {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -4px;
}

.block-white {
  background: var(--bg-page);
  padding: 4rem 0;
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.h-section {
  margin: 0 0 2rem;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.04em;
}

.section-solutions {
  padding-top: 3.5rem;
}

.solutions-cta-line {
  text-align: center;
  margin: -0.5rem 0 2rem;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  line-height: 1.45;
}

.solutions-cta-line a {
  font-weight: 700;
  color: var(--orange) !important;
  text-decoration: none !important;
  letter-spacing: 0.02em;
}

.solutions-cta-line a:hover {
  text-decoration: underline !important;
}

/* Home: OUR SOLUTIONS — flex accordion (hover expands active card) */
.section-solutions .solution-grid {
  display: flex;
  align-items: stretch;
  gap: 1rem;
}

.section-solutions .solution-card {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: clamp(400px, 52vh, 560px);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: auto;
  text-decoration: none;
  color: #fff;
  background: #1a2332;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  transition:
    flex 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
}

.section-solutions .solution-grid:has(.solution-card:hover) .solution-card:not(:hover):not(:focus-within),
.section-solutions .solution-grid:has(.solution-card:focus-within) .solution-card:not(:hover):not(:focus-within) {
  flex: 0.72 1 0;
}

.section-solutions .solution-card:hover,
.section-solutions .solution-card:focus-within {
  flex: 2.35 1 0;
  z-index: 2;
  transform: none;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.18);
}

.section-solutions .solution-card img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-solutions .solution-card:hover img,
.section-solutions .solution-card:focus-within img {
  transform: scale(1.22);
}

.section-solutions .solution-card:nth-child(2) img,
.section-solutions .solution-card:nth-child(3) img {
  object-position: center 42%;
}

.section-solutions .solution-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.4) 42%, transparent 58%);
  pointer-events: none;
  transition: background 0.4s ease;
  z-index: 0;
}

.section-solutions .solution-card:hover::after,
.section-solutions .solution-card:focus-within::after {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.97) 0%, rgba(15, 23, 42, 0.58) 50%, rgba(15, 23, 42, 0.15) 78%, transparent 100%);
}

.section-solutions .solution-card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.15rem 1.2rem 1.35rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.section-solutions .solution-card-kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  line-height: 1.35;
  color: #f4c9a4;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.35s ease 0.06s,
    transform 0.35s ease 0.06s,
    max-height 0.4s ease;
}

.section-solutions .solution-card:hover .solution-card-kicker,
.section-solutions .solution-card:focus-within .solution-card-kicker {
  opacity: 1;
  max-height: 2.5rem;
  transform: translateY(0);
}

.section-solutions .solution-card-title {
  font-weight: 700;
  font-size: clamp(0.95rem, 1.35vw, 1.35rem);
  line-height: 1.22;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
  transition: font-size 0.4s ease;
}

.section-solutions .solution-card:hover .solution-card-title,
.section-solutions .solution-card:focus-within .solution-card-title {
  font-size: clamp(1.15rem, 2vw, 1.65rem);
}

.section-solutions .solution-card-desc {
  margin: 0;
  font-size: clamp(0.82rem, 1.1vw, 0.95rem);
  line-height: 1.45;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.35s ease 0.08s, max-height 0.45s ease, margin-top 0.35s ease;
}

.section-solutions .solution-card:hover .solution-card-desc,
.section-solutions .solution-card:focus-within .solution-card-desc {
  max-height: 6.5rem;
  opacity: 1;
  margin-top: 0.1rem;
}

@media (max-width: 960px) {
  .section-solutions .solution-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .section-solutions .solution-card {
    flex: unset;
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .section-solutions .solution-grid:has(.solution-card:hover) .solution-card:not(:hover):not(:focus-within) {
    flex: unset;
  }

  .section-solutions .solution-card:hover,
  .section-solutions .solution-card:focus-within {
    flex: unset;
    transform: translateY(-3px);
  }

  .section-solutions .solution-card-title {
    font-size: clamp(1.05rem, 3.5vw, 1.35rem);
  }
}

@media (max-width: 520px) {
  .section-solutions .solution-grid {
    grid-template-columns: 1fr;
  }
}

/* Shared solution-card base (catalog carousel, etc.) */
.solution-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  text-decoration: none;
  color: #fff;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.solution-card:hover,
.solution-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.solution-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.solution-card:hover img,
.solution-card:focus-within img {
  transform: scale(1.04);
}

.solution-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.35) 45%, transparent 62%);
  pointer-events: none;
  transition: background 0.35s ease;
  z-index: 0;
}

.solution-card:hover::after,
.solution-card:focus-within::after {
  background: linear-gradient(to top, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.55) 52%, rgba(15, 23, 42, 0.12) 78%, transparent 100%);
}

.solution-card-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.15rem 1.2rem 1.25rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
}

.solution-card-kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  line-height: 1.35;
  color: #f4c9a4;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.solution-card:hover .solution-card-kicker,
.solution-card:focus-within .solution-card-kicker {
  opacity: 1;
  transform: translateY(0);
}

.solution-card-title {
  font-weight: 700;
  font-size: clamp(1.12rem, 2.6vw, 1.55rem);
  line-height: 1.22;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.solution-card-desc {
  margin: 0;
  font-size: clamp(0.82rem, 1.65vw, 0.95rem);
  line-height: 1.45;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.32s ease, max-height 0.4s ease, margin-top 0.32s ease;
}

.solution-card:hover .solution-card-desc,
.solution-card:focus-within .solution-card-desc {
  max-height: 5.5rem;
  opacity: 1;
  margin-top: 0.15rem;
}

.section-solutions .solution-card:hover,
.section-solutions .solution-card:focus-within {
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .section-solutions .solution-card {
    transition: box-shadow 0.25s ease;
  }

  .section-solutions .solution-card img {
    transition: none;
  }

  .solution-card img {
    transition: none;
  }

  .section-solutions .solution-card-kicker,
  .solution-card-kicker {
    opacity: 1;
    transform: none;
    max-height: none;
  }

  .section-solutions .solution-card-desc,
  .solution-card-desc {
    max-height: none;
    opacity: 1;
  }
}

.section-category {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.category-hero {
  background: linear-gradient(135deg, #1a1f2e 0%, #0f1419 100%);
  color: #fff;
  padding: 2.5rem 0 2rem;
}

.subcat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.75rem;
}

.subcat {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid transparent;
}

.subcat:hover {
  color: #fff;
}

.subcat--active {
  color: #fff;
  border-bottom-color: var(--orange);
}

.category-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
}

.category-lead {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1rem;
}

.category-body {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.list-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--orange);
}

.model-count {
  font-size: 0.85rem;
  color: var(--muted);
}

.model-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  background: #ffe4d4;
  color: #9a3412;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: 6px;
}

.model-card-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 900px) {
  .model-card-grid {
    grid-template-columns: 1fr;
  }
}

.model-card-img img {
  border-radius: 8px;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.model-card-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.35;
}

.model-card-desc {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.model-meta {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.model-meta strong {
  color: var(--ink);
}

.model-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-orange {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  background: var(--orange);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-orange:hover {
  background: var(--orange-hover);
}

.btn-learn {
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: border-color 0.2s, background 0.2s;
}

.btn-learn:hover {
  border-color: var(--muted);
  background: var(--bg-soft);
}

.section-product-detail .product-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .section-product-detail .product-hero-grid {
    grid-template-columns: 1fr;
  }
}

.badge--soft {
  position: static;
  display: inline-block;
  margin-bottom: 1rem;
}

.product-h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.25;
}

.product-sub {
  margin: 0 0 1rem;
  color: var(--orange);
  font-weight: 600;
  font-size: 1rem;
}

.product-copy {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 36rem;
}

.product-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-outline-dark {
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink) !important;
  font-weight: 600;
  text-decoration: none !important;
}

.btn-outline-dark:hover {
  border-color: var(--ink-soft);
}

.product-hero-photo img {
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
}

.btn-ico {
  font-size: 0.95rem;
}

.h-accent {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.accent-bar {
  width: 4px;
  height: 1.35em;
  background: var(--orange);
  border-radius: 2px;
}

.spec-intro-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.pill-muted {
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--bg-soft);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.accent-num {
  color: var(--orange);
  border: none;
  background: transparent;
  padding: 0;
}

.spec-list {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--muted);
}

.spec-list li {
  margin-bottom: 0.85rem;
}

.spec-list strong {
  color: var(--ink);
}

.table-intro {
  font-size: 0.95rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
  line-height: 1.65;
}

.spec-table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.spec-table-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.dot-orange {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  margin-right: 0.35rem;
  vertical-align: middle;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.spec-table tr:nth-child(even) {
  background: var(--bg-soft);
}

.spec-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.td-idx {
  width: 48px;
  color: var(--muted);
  font-size: 0.82rem;
}

.td-k {
  font-weight: 700;
  color: var(--ink);
  width: 32%;
}

.td-link {
  color: var(--blue);
  font-weight: 500;
}

.spec-table-foot {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.25rem;
  font-size: 0.8rem;
  color: var(--muted);
  background: var(--bg-soft);
}

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.gallery-sub {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-main {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gal-stage {
  position: relative;
  flex: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-soft);
}

.gal-stage img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.gal-zoom {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  font-size: 1.1rem;
  opacity: 0.6;
}

.gal-nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.2s;
}

.gal-nav:hover {
  background: #fff;
}

@media (max-width: 640px) {
  .gal-nav {
    display: none;
  }
}

.gal-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.gal-thumb {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.75;
  transition: opacity 0.2s, border-color 0.2s;
}

.gal-thumb:hover,
.gal-thumb.is-active {
  opacity: 1;
  border-color: var(--orange);
}

.output-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.output-frame img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--ink);
}

.video-placeholder {
  aspect-ratio: 16 / 9;
  background: var(--bg-soft);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

.block-dark-cta {
  background: linear-gradient(180deg, #151a24 0%, #0d1017 100%);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.cta-title {
  margin: 0 auto 1rem;
  max-width: 720px;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 700;
  line-height: 1.3;
}

.cta-sub {
  margin: 0 auto 1.75rem;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
}

.cta-btns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-outline-light {
  padding: 0.65rem 1.35rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff !important;
  font-weight: 600;
  text-decoration: none !important;
  background: transparent;
  transition: background 0.2s, border-color 0.2s;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.section-news {
  padding: 3rem 0;
}

.news-line {
  text-align: center;
  color: var(--muted);
  margin: 0;
}

.section-contact {
  padding-bottom: 4rem;
}

.contact-lead {
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.req {
  color: var(--orange);
}

.char-count {
  font-size: 0.8rem;
  color: var(--muted);
}

.form-hint {
  min-height: 1.25rem;
  margin: 0;
  font-size: 0.88rem;
  color: var(--orange);
}

.form-hint.is-success {
  color: #15803d;
}

.form-hint.is-error {
  color: #b91c1c;
}

.form-hint.is-pending {
  color: var(--muted);
}

.contact-form button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: wait;
}

.contact-aside {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.7;
}

.contact-aside a {
  color: var(--ink);
}

.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-row a {
  color: var(--muted);
}

/* ----- Home: strips ③–⑥ ----- */
.hp-strip {
  scroll-margin-top: calc(var(--header-h) + 8px);
  padding: 3.25rem 0;
}

.hp-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hp-two--reverse {
  direction: rtl;
}

.hp-two--reverse > * {
  direction: ltr;
}

@media (max-width: 900px) {
  .hp-two,
  .hp-two--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
}

.hp-title {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 700;
  color: var(--ink);
}

.hp-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.65;
}

.hp-media {
  min-width: 0;
  width: 100%;
}

.hp-media-link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: clamp(300px, 34vw, 460px);
  border-radius: var(--radius);
  overflow: hidden;
  background: #141b26;
  box-shadow: 0 14px 44px rgba(15, 23, 42, 0.12);
  text-decoration: none;
}

.hp-media-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(12, 18, 28, 0.42);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.hp-media-link:hover::after,
.hp-media-link:focus-visible::after {
  opacity: 1;
}

.hp-media-link img {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.hp-media-link:hover img,
.hp-media-link:focus-visible img {
  transform: scale(1.1);
}

.hp-media-hover-btn {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%) scale(0.96);
  padding: 0.7rem 1.35rem;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.32s ease,
    transform 0.32s ease;
}

.hp-media-link:hover .hp-media-hover-btn,
.hp-media-link:focus-visible .hp-media-hover-btn {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.feat-list {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
}

.feat-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.1rem;
  align-items: flex-start;
}

.feat-list p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.feat-ico {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff5eb;
  border-radius: 8px;
  color: var(--accent);
  line-height: 0;
}

.feat-ico svg {
  width: 22px;
  height: 22px;
  display: block;
}

.nav-dot {
  font-family: inherit;
  user-select: none;
}

.site-header .nav-dot {
  font-family: inherit;
}

.hp-strip--alt {
  background: var(--bg-soft);
}

/* ----- Home: machine catalog carousel (2018 sheets, between EOL & news) ----- */
.container--catalog-wide {
  width: min(100% - 2rem, 1420px);
  margin-inline: auto;
}

.section-machine-catalog {
  padding-top: 2rem;
  padding-bottom: 2rem;
  background: var(--bg-soft);
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.machine-catalog-sub {
  margin: -1rem 0 1.75rem;
  color: var(--muted);
  max-width: 48rem;
}

.machine-catalog-sub a {
  font-weight: 700;
  color: var(--orange) !important;
  text-decoration: none !important;
}

.machine-catalog-sub a:hover {
  text-decoration: underline !important;
}

.machine-catalog-carousel {
  position: relative;
  width: 100%;
  margin-inline: auto;
}

.machine-catalog-viewport {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #f8fafc;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.06);
  --mc-gap: 1rem;
  min-height: 200px;
}

.machine-catalog-track {
  display: flex;
  gap: var(--mc-gap);
  transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .machine-catalog-track {
    transition: none;
  }
}

.machine-catalog-item {
  flex: 0 0 var(--mc-card, 280px);
  min-width: 0;
}

/* Home catalog cards: fixed height so layout never collapses */
.machine-catalog-item .solution-card {
  display: block;
  width: 100%;
  height: 200px;
  min-height: 200px;
  aspect-ratio: auto;
}

.machine-catalog-item .solution-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.machine-catalog-item .solution-card:hover img,
.machine-catalog-item .solution-card:focus-within img {
  transform: scale(1.05);
}

.machine-catalog-item .solution-card-caption {
  padding: 0.65rem 0.85rem 0.75rem;
  z-index: 2;
  pointer-events: none;
}

.machine-catalog-item .solution-card-title {
  word-break: break-word;
  hyphens: auto;
  font-size: 0.88rem;
  line-height: 1.25;
}

.machine-catalog-item .solution-card::after {
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(15, 23, 42, 0.92) 0%,
    rgba(15, 23, 42, 0.45) 55%,
    transparent 100%
  );
}

.machine-catalog-item .solution-card--no-caption::after {
  display: none;
}

.machine-catalog-item .solution-card--has-desc:hover .solution-card-desc,
.machine-catalog-item .solution-card--has-desc:focus-within .solution-card-desc {
  max-height: 8rem;
  opacity: 1;
  margin-top: 0.2rem;
}

.machine-catalog-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.machine-catalog-nav:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}

.machine-catalog-nav--prev {
  left: -0.35rem;
}

.machine-catalog-nav--next {
  right: -0.35rem;
}

.machine-catalog-nav::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
}

.machine-catalog-nav--prev::after {
  transform: rotate(135deg);
  margin-left: 3px;
}

.machine-catalog-nav--next::after {
  transform: rotate(-45deg);
  margin-right: 3px;
}

.machine-catalog-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  max-width: 100%;
}

.machine-catalog-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  padding: 0;
  border: none;
  background: #cbd5e1;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.machine-catalog-dot.is-active {
  background: var(--orange);
  transform: scale(1.15);
}

.machine-catalog-dot:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

@media (max-width: 1100px) {
  .machine-catalog-nav--prev {
    left: 0.25rem;
  }

  .machine-catalog-nav--next {
    right: 0.25rem;
  }
}

/* Machine catalog — in-page lightbox (no new tab) */
body.machine-catalog-lightbox-open {
  overflow: hidden;
}

.machine-catalog-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.machine-catalog-lightbox[hidden] {
  display: none !important;
}

.machine-catalog-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
}

.machine-catalog-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
  max-height: min(88vh, 720px);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
  padding: 0.75rem 1rem 1rem;
  overflow: hidden;
}

.machine-catalog-lightbox-back {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.machine-catalog-lightbox-back:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.machine-catalog-lightbox-back-icon {
  font-size: 1.1rem;
  line-height: 1;
}

.machine-catalog-lightbox-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  padding: 0 0.15rem;
}

.machine-catalog-lightbox-panel .machine-catalog-lightbox-back {
  margin-bottom: 0;
}

.machine-catalog-lightbox-tools,
.machine-catalog-lightbox-hint {
  display: none !important;
}

.mc-zoom-btn {
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.mc-zoom-btn:hover,
.mc-zoom-btn[aria-pressed="true"] {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.mc-zoom-btn--mag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mc-zoom-btn--reset {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0 0.75rem;
}

.mc-zoom-label {
  min-width: 3.25rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
}

.machine-catalog-lightbox-hint {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}

.machine-catalog-lightbox-stage {
  flex: 0 1 auto;
  min-height: 0;
  max-height: min(72vh, 560px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  touch-action: pan-x pan-y;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.machine-catalog-lightbox-stage.is-zoomed {
  cursor: grab;
}

.machine-catalog-lightbox-stage.is-dragging {
  cursor: grabbing;
}

.machine-catalog-lightbox-pan {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.5rem;
  transform-origin: center center;
  will-change: transform;
}

.machine-catalog-lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(68vh, 520px);
  object-fit: contain;
  pointer-events: none;
}

/* ----- Home: news ⑦ ----- */
.section-news-home {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.h-section--left {
  text-align: left;
}

.news-sub {
  margin: -1rem 0 2rem;
  color: var(--muted);
}

.news-grid-home {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .news-grid-home {
    grid-template-columns: 1fr;
  }
}

.news-card-home {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.news-card-home > img {
  width: 100%;
  aspect-ratio: 16 / 10;
  flex-shrink: 0;
  object-fit: cover;
}

.news-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
  min-height: 0;
}

.news-meta {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
}

.news-card-body h3 {
  margin: 0.5rem 0;
  font-size: 1.05rem;
  color: var(--ink);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.news-card-body p {
  flex: 1;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
}

.news-more {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--orange) !important;
  text-decoration: none !important;
}

/* ----- Home: contact ⑧ ----- */
.page-contact .contact-page-main {
  padding-top: var(--cat-header-h, 90px);
}

.page-back-bar {
  padding: 0.85rem 0 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.page-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.page-back-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.section-contact-page {
  padding-top: 2.5rem;
  padding-bottom: 3.5rem;
}

.section-contact-home {
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.contact-subtitle {
  text-align: center;
  color: var(--muted);
  margin: -1rem auto 2rem;
  max-width: 520px;
}

.contact-wrap--home {
  margin-top: 0.5rem;
}

.contact-form select {
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

.btn-send-wide {
  width: 100%;
  justify-content: center;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.contact-aside--rich .ci-block h4 {
  margin: 0 0 1rem;
  color: var(--ink);
}

.ci-support {
  margin-top: 1.5rem;
  padding: 1.25rem;
  background: #fff8f0;
  border-radius: var(--radius);
  border: 1px solid #ffe4d4;
}

.ci-support .btn-orange {
  margin-top: 0.75rem;
}

/* ----- Home: footer ⑨ ----- */
.footer-mega {
  background: #c45a28;
  color: #fff;
  padding: 3rem 0 1.5rem;
  scroll-margin-top: calc(var(--header-h) + 8px);
}

.footer-mega-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.9fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

@media (max-width: 1024px) {
  .footer-mega-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-mega-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo-line {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.35rem;
  padding: 0.5rem 0.85rem;
  background: #fff;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.footer-logo-line:hover {
  opacity: 0.95;
}

.footer-logo-img {
  display: block;
  height: clamp(40px, 5vw, 52px);
  width: auto;
  max-width: min(280px, 85vw);
  object-fit: contain;
}

.footer-logo-text {
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}

.footer-tag {
  margin: 0 0 0.75rem;
  font-size: 0.72rem;
  opacity: 0.9;
}

.footer-mega .footer-desc {
  font-size: 0.9rem;
  opacity: 0.92;
  line-height: 1.55;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.1rem;
  margin-top: 1rem;
  font-size: 0.85rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.95) !important;
  text-decoration: none !important;
  padding: 0.35rem 0.5rem;
  border-radius: 6px;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.12);
  text-decoration: none !important;
}

.social-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  opacity: 0.95;
}

.social-sep {
  opacity: 0.65;
  user-select: none;
}

.footer-contact-link {
  color: #fff !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-contact-link:hover {
  opacity: 0.9;
}

.footer-col-title {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
}

.footer-links-2col a {
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: none !important;
  font-size: 0.88rem;
}

.footer-links-2col a:hover {
  text-decoration: underline !important;
}

.footer-address {
  font-size: 0.88rem;
  opacity: 0.9;
  line-height: 1.5;
}

.footer-mega-img img {
  border-radius: var(--radius);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: flex-start;
  padding-top: 1.25rem;
  font-size: 0.82rem;
  opacity: 0.9;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.footer-bottom a {
  color: #fff !important;
  text-decoration: underline;
}

/* ----- Inner pages ----- */
.page-inner .site-header--dark {
  background: #12161f;
  box-shadow: none;
}

.page-inner .site-header--dark .logo-title {
  color: #fff;
}

.page-inner .site-header--dark .logo-tag {
  color: rgba(255, 255, 255, 0.72);
}

.page-inner .site-header--dark .nav a,
.page-inner .site-header--dark .nav-cat {
  color: rgba(255, 255, 255, 0.92);
}

.page-inner .site-header--dark .nav-dot {
  color: rgba(255, 255, 255, 0.35);
}

.page-inner .site-header--dark .lang {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.page-inner .site-header--dark .nav-toggle {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.inner-main {
  padding-top: var(--header-h);
}

.inner-section--tight {
  padding-top: 2rem;
}

.nav--compact {
  gap: 0.5rem 1rem;
}

.nav-cat {
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none !important;
  color: inherit;
  white-space: nowrap;
  padding-bottom: 0.2rem;
  border-bottom: 2px solid transparent;
}

.nav-cat:hover {
  color: #fff !important;
}

.nav-cat--active {
  color: #fff !important;
  border-bottom-color: var(--orange);
}

@media (max-width: 900px) {
  .nav--compact {
    flex-direction: column;
    align-items: flex-start;
  }
}

.category-hero--sm {
  padding: 2.5rem 0;
  background: linear-gradient(90deg, rgba(15, 20, 30, 0.92) 0%, rgba(30, 41, 59, 0.75) 100%),
    url("https://images.unsplash.com/photo-1565043666747-69f6646db940?auto=format&fit=crop&w=2000&q=80") center / cover;
  color: #fff;
}

.product-series {
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
}

.category-hero--sm .category-title {
  margin: 0 0 0.75rem;
  color: #fff;
}

.category-hero--sm .category-lead {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.82);
}

.breadcrumb-row {
  display: flex;
  align-items: center;
  gap: 0.5rem 0.75rem;
  flex-wrap: wrap;
  font-size: 0.92rem;
  color: var(--muted);
}

.list-toolbar .breadcrumb-row {
  flex: 1;
  min-width: 0;
}

.breadcrumb-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink) !important;
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1;
  flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}

.breadcrumb-back:hover {
  background: #fff;
  border-color: var(--muted);
}

.breadcrumb-inline a {
  color: var(--muted);
  text-decoration: none;
}

.breadcrumb-inline a:hover {
  color: var(--orange);
}

.bc-sep {
  margin: 0 0.35rem;
  opacity: 0.6;
}

.bc-current {
  color: var(--ink-soft);
}

.breadcrumb-row--solo {
  margin-bottom: 1.5rem;
}

.inner-page-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--ink);
}

.inner-page-lead {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 640px;
}
