:root {
  --ink: #101820;
  --muted: #59656f;
  --line: #d9e0e5;
  --paper: #f5f7f8;
  --white: #ffffff;
  --steel: #1d2a35;
  --steel-2: #283846;
  --red: #bd1f2d;
  --red-dark: #8f1722;
  --blue: #0d5e7a;
  --shadow: 0 22px 60px rgba(16, 24, 32, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 5vw, 64px);
  color: var(--white);
  background: rgba(16, 24, 32, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand span {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong {
  font-size: 1rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.94rem;
}

nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.82);
}

nav a:hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  color: var(--white);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 9px 12px;
  font: inherit;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  gap: 8px;
}

.floating-contact a {
  min-width: 88px;
  padding: 10px 12px;
  color: var(--white);
  background: rgba(16, 24, 32, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center;
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.24);
}

.floating-contact a:first-child {
  background: var(--red);
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 128px clamp(20px, 5vw, 64px) 40px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(10, 17, 24, 0.94) 0%, rgba(10, 17, 24, 0.72) 45%, rgba(10, 17, 24, 0.28) 100%),
    url("./assets/yongtai-products/YT-PHOTO-010-piped-hfc-227ea-system.jpg") right center / min(46vw, 660px) auto no-repeat,
    linear-gradient(135deg, #101820 0%, #24313d 55%, #8f1722 100%);
}

.hero-content {
  max-width: 760px;
  padding-bottom: 56px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb3b9;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  max-width: 760px;
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  max-width: 780px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
  letter-spacing: 0;
}

.hero-content p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--red);
}

.button.primary:hover {
  background: var(--red-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 980px;
  background: rgba(255, 255, 255, 0.16);
}

.hero-metrics span {
  padding: 18px;
  background: rgba(16, 24, 32, 0.74);
  color: rgba(255, 255, 255, 0.72);
}

.hero-metrics strong {
  display: block;
  color: var(--white);
  font-size: 1.8rem;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  padding: 30px clamp(20px, 4vw, 46px);
  border-right: 1px solid var(--line);
}

.proof-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.proof-strip span,
.section p,
dd,
li {
  color: var(--muted);
}

.page-hero {
  padding: 150px clamp(20px, 5vw, 64px) 70px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.96), rgba(16, 24, 32, 0.72)),
    url("./assets/yongtai-products/YT-PHOTO-010-piped-hfc-227ea-system.jpg") right center / min(42vw, 620px) auto no-repeat,
    var(--steel);
}

.page-hero h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 6vw, 6rem);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
}

.dark-page {
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.96), rgba(16, 24, 32, 0.76)),
    url("./assets/yongtai-products/YT-PHOTO-001-cabinet-hfc-227ea.jpg") right center / min(36vw, 520px) auto no-repeat,
    var(--ink);
}

.home-entry-section {
  background: #eef2f4;
}

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

.home-entry-grid a {
  display: grid;
  min-height: 230px;
  padding: 26px;
  color: var(--ink);
  background: var(--white);
  text-decoration: none;
}

.home-entry-grid a:hover {
  background: #f8fafb;
}

.home-entry-grid span {
  color: var(--red);
  font-weight: 900;
}

.home-entry-grid strong {
  margin-top: 28px;
  font-size: 1.55rem;
}

.home-entry-grid p {
  margin-bottom: 0;
  color: var(--muted);
}

.home-feature {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 46px;
  align-items: center;
  background: var(--white);
}

.home-feature p {
  max-width: 720px;
  color: var(--muted);
}

.home-feature img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.compact-cta {
  grid-template-columns: 0.86fr 1fr auto;
  align-items: center;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 64px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 32px;
}

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

.solution-grid article,
.capability-grid article {
  min-height: 240px;
  padding: 28px;
  background: var(--white);
}

.solution-grid span {
  display: block;
  margin-bottom: 44px;
  color: var(--red);
  font-weight: 800;
}

.product-section {
  color: var(--white);
  background: var(--steel);
}

.product-section .eyebrow,
.capability .eyebrow {
  color: #ff9fa8;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.export-product {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
  background: var(--steel-2);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.export-product.featured {
  grid-row: span 2;
  grid-template-columns: 1fr;
}

.export-product img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  background: #d9e0e5;
}

.export-product.featured img {
  min-height: 390px;
}

.export-product-body {
  padding: 26px;
}

.product-stage {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 5px 9px;
  color: var(--white);
  background: var(--red);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.export-product p,
.export-product dd {
  color: rgba(255, 255, 255, 0.68);
}

dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin: 22px 0;
}

dt {
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 4px 0 0;
}

.document-row,
.rfq-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.document-row span,
.rfq-points span {
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.82rem;
}

.product-gallery {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  margin-top: 26px;
  padding: clamp(24px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.product-gallery h3 {
  max-width: 560px;
  font-size: clamp(1.55rem, 2.5vw, 2.8rem);
  line-height: 1.04;
}

.product-gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.product-gallery article {
  min-width: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
}

.product-gallery a {
  display: block;
  min-height: 100%;
  color: var(--white);
  text-decoration: none;
}

.product-gallery a:hover {
  background: rgba(255, 255, 255, 0.06);
}

.product-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 10px;
  background: var(--white);
}

.product-gallery strong,
.product-gallery span {
  display: block;
  padding: 0 12px;
}

.product-gallery strong {
  padding-top: 12px;
  font-size: 0.9rem;
  line-height: 1.25;
}

.product-gallery span {
  padding-bottom: 12px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(30px, 5vw, 76px);
  align-items: center;
  min-height: 100vh;
  padding: 132px clamp(20px, 5vw, 64px) 64px;
  color: var(--white);
  background:
    radial-gradient(circle at 84% 38%, rgba(189, 31, 45, 0.24), transparent 32%),
    linear-gradient(135deg, #101820 0%, #1d2a35 58%, #283846 100%);
}

.product-detail-copy {
  max-width: 880px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  text-decoration: none;
}

.back-link:hover {
  color: var(--white);
}

.product-detail-copy h1 {
  max-width: 980px;
  font-size: clamp(3.1rem, 6.6vw, 7rem);
}

.product-detail-copy p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.product-detail-copy .product-cn {
  margin-bottom: 22px;
  color: #ffb3b9;
  font-weight: 800;
}

.product-detail-copy dl {
  max-width: 900px;
}

.product-detail-copy dd {
  color: rgba(255, 255, 255, 0.74);
}

.product-detail-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 620px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.product-detail-media img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  padding: clamp(22px, 4vw, 54px);
  background: var(--white);
}

.product-nav-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  min-height: 132px;
  padding: 0;
  color: var(--white);
  background: rgba(16, 24, 32, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.18);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%);
  box-shadow: 0 16px 36px rgba(16, 24, 32, 0.2);
  backdrop-filter: blur(10px);
  transition: background 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.product-detail-media:hover .product-nav-arrow,
.product-detail-media:focus-within .product-nav-arrow {
  opacity: 1;
  pointer-events: auto;
}

.product-nav-arrow:hover {
  background: rgba(207, 24, 42, 0.72);
}

.product-nav-prev {
  left: 18px;
}

.product-nav-next {
  right: 18px;
  text-align: right;
}

.product-nav-prev:hover {
  transform: translate(-4px, -50%);
}

.product-nav-next:hover {
  transform: translate(4px, -50%);
}

.product-nav-arrow span {
  color: var(--white);
  font-size: 5rem;
  line-height: 0.8;
  font-weight: 300;
}

.product-nav-arrow small {
  display: none;
}

.product-detail-body {
  background: var(--white);
}

.product-detail-panels {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.product-detail-panels article {
  min-height: 360px;
  padding: 28px;
  background: var(--paper);
}

.product-detail-panels article > span {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.product-detail-panels h3,
.product-rfq-band h3 {
  font-size: 1.45rem;
}

.product-detail-panels ul,
.product-rfq-band ul {
  margin: 18px 0 0;
  padding-left: 18px;
}

.product-detail-panels li,
.product-rfq-band li {
  margin-bottom: 10px;
  color: var(--muted);
}

.product-detail-panels dl {
  grid-template-columns: 1fr;
}

.product-detail-panels dt {
  color: var(--muted);
}

.product-detail-panels dd {
  color: var(--ink);
  font-weight: 700;
}

.document-downloads {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 28px;
  align-items: start;
  margin-top: 28px;
  padding: 30px;
  background: #eef2f4;
  border: 1px solid var(--line);
}

.document-downloads p {
  color: var(--muted);
}

.document-link-grid,
.document-library {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.document-link-grid a,
.document-library article {
  min-height: 132px;
  padding: 18px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.document-link-grid a:hover,
.document-library article:hover {
  border-color: rgba(189, 31, 45, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(16, 24, 32, 0.1);
}

.document-link-grid span,
.document-library span {
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.document-link-grid strong {
  display: block;
  line-height: 1.2;
}

.document-library {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.document-library article {
  min-height: 300px;
}

.document-library p {
  min-height: 96px;
  color: var(--muted);
}

.product-rfq-band {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr auto;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
  padding: 30px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.96), rgba(29, 42, 53, 0.92)),
    var(--steel);
}

.product-rfq-band .eyebrow {
  color: #ffb3b9;
}

.product-rfq-band li {
  color: rgba(255, 255, 255, 0.76);
}

.industries {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 46px;
  align-items: start;
  background: var(--white);
}

.official-section {
  background: #e9edf0;
}

.official-section .section-heading p {
  max-width: 500px;
}

.official-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 0.9fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.official-grid article {
  min-height: 285px;
  padding: 28px;
  background: var(--white);
}

.official-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.official-grid ul {
  margin: 0;
  padding-left: 18px;
}

.official-grid li {
  margin-bottom: 10px;
}

.project-reference-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.98), rgba(29, 42, 53, 0.94)),
    var(--ink);
}

.project-reference-section .eyebrow {
  color: #ffb3b9;
}

.project-reference-section .section-heading p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.68);
}

.reference-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
  padding: clamp(26px, 4vw, 40px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.reference-hero span,
.project-meta span {
  display: block;
  margin-bottom: 18px;
  color: #ffb3b9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.reference-hero h3 {
  max-width: 680px;
  font-size: clamp(1.8rem, 3vw, 3.3rem);
  line-height: 1.02;
}

.reference-hero p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.04rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.project-card {
  display: grid;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.project-card.featured {
  grid-column: span 2;
  grid-template-columns: 0.9fr 1.1fr;
}

.project-image {
  min-height: 210px;
  background-color: #24313d;
  background-position: center;
  background-size: cover;
}

.project-card.featured .project-image {
  min-height: 100%;
}

.project-body {
  padding: 26px;
}

.project-meta {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.project-meta strong {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.84rem;
  text-align: right;
}

.project-body p,
.project-body dd,
.project-body li {
  color: rgba(255, 255, 255, 0.68);
}

.project-body dl {
  grid-template-columns: 1fr;
  gap: 12px;
}

.project-body ul {
  margin: 0 0 20px;
  padding-left: 18px;
}

.project-body a {
  color: var(--white);
  font-weight: 800;
  text-decoration-color: rgba(255, 255, 255, 0.42);
  text-underline-offset: 4px;
}

.official-case-list {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 28px;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 38px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.official-case-list h3 {
  max-width: 560px;
  font-size: clamp(1.55rem, 2.6vw, 2.8rem);
  line-height: 1.04;
}

.official-case-list p {
  color: rgba(255, 255, 255, 0.7);
}

.official-case-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.official-case-list li {
  padding: 14px;
  background: rgba(16, 24, 32, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.official-case-list strong,
.official-case-list span {
  display: block;
}

.official-case-list strong {
  margin-bottom: 6px;
}

.official-case-list span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

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

.legal-section article {
  min-height: 250px;
  padding: 30px;
  background: var(--white);
}

.legal-section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
}

.legal-section p {
  max-width: 620px;
  color: var(--muted);
}

.error-hero {
  min-height: 100vh;
}

.industry-copy {
  position: sticky;
  top: 110px;
}

.market-table,
.rfq-form {
  background: var(--paper);
  border: 1px solid var(--line);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
}

th,
td {
  padding: 17px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.capability {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(29, 42, 53, 0.96), rgba(14, 40, 52, 0.94)),
    linear-gradient(90deg, var(--steel), var(--blue));
}

.process-line {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  margin-bottom: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.process-line div {
  min-height: 128px;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.process-line strong {
  display: block;
  margin-bottom: 24px;
  color: #ffb3b9;
}

.capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.16);
}

.capability-grid article {
  min-height: 190px;
  background: rgba(255, 255, 255, 0.06);
}

.capability-grid p {
  color: rgba(255, 255, 255, 0.7);
}

.bid-pack {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 42px;
  background: #e9edf0;
}

.bid-pack ul {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 38px;
}

.bid-pack li {
  margin-bottom: 14px;
  break-inside: avoid;
}

.resources-section {
  background: var(--white);
}

.resources-section .section-heading p {
  max-width: 420px;
}

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

.resource-grid article {
  min-height: 270px;
  padding: 28px;
  background: var(--paper);
}

.resource-grid span {
  display: block;
  margin-bottom: 28px;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sizing-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 46px;
  align-items: start;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.96), rgba(13, 94, 122, 0.84)),
    var(--steel);
}

.sizing-section .eyebrow {
  color: #ffb3b9;
}

.sizing-copy p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
}

.sizing-example {
  display: grid;
  gap: 8px;
  margin-top: 28px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.sizing-example span {
  color: #ffb3b9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sizing-example strong {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.sizing-example small {
  color: rgba(255, 255, 255, 0.68);
}

.sizing-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow);
}

.sizing-form input,
.sizing-form select {
  border-color: rgba(255, 255, 255, 0.22);
}

.sizing-form output {
  color: rgba(255, 255, 255, 0.76);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.rfq-section {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 46px;
  align-items: start;
  background: var(--white);
}

.rfq-copy p {
  max-width: 620px;
}

.rfq-points span {
  color: var(--ink);
  border-color: var(--line);
  background: var(--paper);
}

.rfq-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.contact-section {
  background: var(--steel);
  color: var(--white);
}

.contact-section .eyebrow,
.message-section .eyebrow {
  color: #ff9fa8;
}

.contact-intro {
  max-width: 820px;
  margin-bottom: 32px;
}

.contact-intro p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.7);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-card {
  min-height: 245px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-card span {
  display: block;
  margin-bottom: 22px;
  color: #ffb3b9;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin-bottom: 14px;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  overflow-wrap: anywhere;
}

.contact-card p {
  color: rgba(255, 255, 255, 0.68);
}

.link-button {
  display: inline-flex;
  padding: 0;
  color: var(--white);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.message-section {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 46px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 24, 32, 0.92), rgba(13, 94, 122, 0.82)),
    var(--steel);
}

.assistant-section {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 46px;
  align-items: start;
  background: var(--white);
}

.assistant-section p {
  max-width: 650px;
}

.assistant-form {
  display: grid;
  gap: 18px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.message-section p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.72);
}

.message-form,
.partner-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.message-form input,
.message-form select,
.message-form textarea,
.partner-form input,
.partner-form select,
.partner-form textarea {
  border-color: rgba(255, 255, 255, 0.22);
}

.message-form output,
.partner-form output {
  color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.partner-faq {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  background: #e9edf0;
}

.buyer-faq {
  background: var(--white);
}

.buyer-faq details {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.buyer-faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
}

.buyer-faq h2,
.assistant-section h2,
.partner-cooperation h2 {
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: 0;
}

.buyer-faq details p {
  max-width: 850px;
  color: var(--muted);
}

.partner-cooperation {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 40px;
  background: var(--white);
  align-items: start;
}

.partner-cooperation .partner-form {
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.partner-cooperation .partner-form input,
.partner-cooperation .partner-form select,
.partner-cooperation .partner-form textarea {
  border-color: var(--line);
}

.assistant-form textarea,
.assistant-form select,
.partner-cooperation input,
.partner-cooperation textarea,
.partner-cooperation select {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.assistant-form output,
.partner-cooperation output {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .partner-cooperation { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .partner-cooperation .partner-form { padding: 18px; }
}

.partner-panel,
.faq-panel {
  padding: clamp(26px, 4vw, 38px);
  background: var(--white);
  border: 1px solid var(--line);
}

.partner-form {
  padding: 0;
  background: transparent;
  border: 0;
}

.partner-form output {
  color: var(--muted);
  background: var(--paper);
  border-color: var(--line);
}

details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

summary {
  cursor: pointer;
  font-weight: 800;
}

details p {
  margin: 12px 0 0;
}

label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  font: inherit;
}

textarea,
label:has(textarea),
output {
  grid-column: 1 / -1;
}

output {
  min-height: 110px;
  padding: 16px;
  white-space: pre-line;
  color: var(--muted);
  background: var(--white);
  border: 1px solid var(--line);
}

.compliance-note-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 42px;
  align-items: start;
  background: #eef2f4;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compliance-note-section h2 {
  font-size: clamp(1.8rem, 3vw, 3.2rem);
}

.compliance-note-section p:last-child {
  margin: 0;
  max-width: 880px;
  padding: 26px;
  color: var(--steel);
  background: var(--white);
  border-left: 4px solid var(--red);
  box-shadow: 0 16px 38px rgba(16, 24, 32, 0.08);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 34px clamp(20px, 5vw, 64px);
  color: var(--white);
  background: var(--ink);
}

.site-footer span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
}

.social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 34px);
}

.social-links a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.social-links a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.social-links span {
  display: grid;
  place-items: center;
  color: currentColor;
}

.social-facebook,
.social-linkedin,
.social-twitter,
.social-tiktok {
  font-weight: 900;
  line-height: 1;
}

.social-facebook {
  font-size: 2.9rem;
  font-family: Arial, sans-serif;
}

.social-linkedin {
  font-size: 2.25rem;
  letter-spacing: 0;
}

.social-twitter {
  font-size: 2.05rem;
}

.social-instagram {
  position: relative;
  width: 34px;
  height: 34px;
  border: 4px solid currentColor;
  border-radius: 10px;
}

.social-instagram::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 4px solid currentColor;
  border-radius: 50%;
}

.social-instagram::after {
  content: "";
  position: absolute;
  top: 6px;
  right: 6px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.social-youtube {
  position: relative;
  width: 40px;
  height: 28px;
  border-radius: 8px;
  background: currentColor;
}

.social-youtube::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 15px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid var(--ink);
}

.social-tiktok {
  font-size: 2.55rem;
}

@media (max-width: 1100px) {
  .solution-grid,
  .product-showcase,
  .product-gallery,
  .home-entry-grid,
  .home-feature,
  .compact-cta,
  .product-detail-hero,
  .product-detail-panels,
  .product-rfq-band,
  .document-downloads,
  .industries,
  .process-line,
  .capability-grid,
  .bid-pack,
  .official-grid,
  .reference-hero,
  .project-grid,
  .official-case-list,
  .legal-section,
  .sizing-section,
  .resources-section .section-heading,
  .resource-grid,
  .document-link-grid,
  .document-library,
  .rfq-section,
  .contact-grid,
  .message-section,
  .assistant-section,
  .partner-faq {
    grid-template-columns: 1fr;
  }

  .export-product,
  .export-product.featured {
    grid-template-columns: 1fr;
  }

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

  .product-detail-media {
    min-height: auto;
  }

  .product-nav-prev {
    left: 18px;
  }

  .product-nav-next {
    right: 18px;
  }

  .process-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .project-card.featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .official-case-list ul {
    grid-template-columns: 1fr;
  }

  .industry-copy {
    position: static;
  }

  .bid-pack ul {
    columns: 1;
  }
}

@media (max-width: 760px) {
  .compliance-note-section {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .industries > * {
    min-width: 0;
  }

  .market-table {
    max-width: 100%;
    overflow-x: auto;
  }
  .site-header {
    padding: 14px 18px;
  }

  .brand strong {
    max-width: 148px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 18px 18px;
    background: rgba(16, 24, 32, 0.96);
  }

  nav.open {
    display: flex;
  }

  nav a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .hero {
    min-height: 78vh;
    padding: 104px 18px 28px;
    background:
      linear-gradient(180deg, rgba(10, 17, 24, 0.92) 0%, rgba(10, 17, 24, 0.76) 54%, rgba(10, 17, 24, 0.38) 100%),
      url("./assets/yongtai-products/YT-PHOTO-001-cabinet-hfc-227ea.jpg") right bottom / min(84vw, 420px) auto no-repeat,
      linear-gradient(135deg, #101820 0%, #24313d 55%, #8f1722 100%);
  }

  .page-hero {
    padding: 112px 18px 48px;
    background:
      linear-gradient(180deg, rgba(16, 24, 32, 0.95), rgba(16, 24, 32, 0.78)),
      var(--steel);
  }

  h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .hero-content {
    padding-bottom: 22px;
  }

  .hero-actions {
    gap: 9px;
  }

  .hero-actions .button {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .hero-metrics,
  .proof-strip,
  .sizing-form,
  .rfq-form,
  .message-form,
  .partner-form,
  dl {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 58px 18px;
  }

  .section-heading,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-links {
    justify-content: flex-start;
  }

  .solution-grid {
    grid-template-columns: 1fr;
  }

  .process-line {
    grid-template-columns: 1fr;
  }

  .export-product.featured img,
  .export-product img {
    min-height: 240px;
  }

  .product-gallery-grid {
    grid-template-columns: 1fr;
  }

  .product-detail-panels article {
    min-height: auto;
  }

  .product-detail-hero {
    padding: 112px 18px 40px;
  }

  .product-detail-copy h1 {
    font-size: clamp(2.7rem, 13vw, 4.5rem);
  }

  .product-nav-arrow {
    top: 50%;
    bottom: auto;
    width: 42px;
    min-height: 92px;
    transform: translateY(-50%);
  }

  .product-nav-prev:hover,
  .product-nav-next:hover {
    transform: translateY(-50%);
  }

  .product-nav-arrow span {
    font-size: 3.8rem;
  }

  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .floating-contact {
    display: none;
  }
}
/* Consent and delivery controls used by the operational API-backed forms. */
form.operational-intake label.intake-consent {
  display: block;
  grid-column: 1 / -1;
  font-size: 14px;
  line-height: 1.6;
}
form.operational-intake label.intake-consent input[type="checkbox"] {
  display: inline-block;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0 7px 0 0;
  vertical-align: middle;
}
form.operational-intake > button[type="submit"] {
  grid-column: 1 / -1;
  justify-self: start;
  min-height: 46px;
}
