:root {
  color-scheme: light;
  --ink: #182235;
  --muted: #536179;
  --line: #d9e1ea;
  --paper: #ffffff;
  --soft: #f3f6f9;
  --steel: #22384f;
  --orange: #f39800;
  --orange-dark: #c77400;
  --green: #14b866;
  --shadow: 0 18px 45px rgba(25, 39, 58, 0.12);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1180px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  gap: 0;
}

.brand-text strong {
  font-size: 24px;
  line-height: 0.95;
  letter-spacing: 0;
}

.brand-text span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  color: #26344a;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 850;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #111827;
  background: var(--orange);
  box-shadow: 0 10px 22px rgba(243, 152, 0, 0.24);
}

.btn-primary:hover {
  background: #ffad1f;
}

.btn-outline {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.btn-dark {
  color: #fff;
  background: var(--steel);
}

.btn-green {
  color: #fff;
  background: var(--green);
}

.section {
  padding: 80px 0;
}

.page-hero {
  min-height: auto;
  padding: 86px 0 68px;
}

.section-alt {
  background: var(--soft);
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-title {
  max-width: 780px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 38px;
  line-height: 1.12;
}

.section-lead {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.section-head {
  position: relative;
}

.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  padding: 92px 0 56px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.9) 52%, rgba(255, 255, 255, 0.42) 100%),
    url("../images/oldsite/oldsite-16.jpg") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero.page-hero {
  min-height: auto;
  padding: 44px 0 34px;
}

.hero.page-hero h1 {
  font-size: clamp(40px, 4.7vw, 62px);
  line-height: 1.04;
}

.hero.page-hero .hero-media {
  min-height: 360px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(300px, 0.82fr);
  gap: 52px;
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-inner > *,
.split > *,
.catalog-panel > *,
.contact-grid > * {
  min-width: 0;
}

.hero h1 {
  max-width: min(720px, 100%);
  margin: 0;
  font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.hero-copy {
  max-width: 610px;
  margin: 20px 0 24px;
  color: #4a5870;
  font-size: 19px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-tags span,
.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--steel);
  background: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-media {
  align-self: stretch;
  min-height: 390px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-hero {
  min-height: 560px;
  padding: 72px 0 58px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10, 18, 30, 0.9) 0%, rgba(10, 18, 30, 0.66) 50%, rgba(10, 18, 30, 0.18) 100%),
    url("../images/factory/yigao-factory-aerial.png") center / cover no-repeat;
  border-bottom: 0;
}

.about-hero .hero-inner {
  position: relative;
  z-index: 1;
}

.about-hero h1 {
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.28);
}

.about-hero .eyebrow {
  color: var(--orange);
}

.about-hero .hero-copy {
  color: rgba(255, 255, 255, 0.88);
}

.about-hero .btn-outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.about-hero .btn-dark {
  background: rgba(17, 24, 39, 0.88);
}

.about-hero-machine {
  background: #fff;
  border-color: #fff;
}

.about-hero-machine img {
  object-fit: contain;
  padding: 24px;
  background: #fff;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 0;
  background: rgba(24, 34, 53, 0.12);
}

.stats-section {
  background: rgba(255, 255, 255, 0.92);
}

.trust-item {
  min-height: 94px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
}

.trust-item strong {
  display: block;
  color: var(--orange-dark);
  font-size: 34px;
  line-height: 1;
}

.trust-item span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.grid {
  display: grid;
  gap: 24px;
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
}

.product-card,
.case-card,
.solution-card,
.news-card,
.contact-panel,
.catalog-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-card {
  overflow: hidden;
}

.product-card img,
.case-card img,
.solution-card img,
.news-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.product-card-gas-mold-warming-machine img {
  box-sizing: border-box;
  object-fit: contain;
  padding: 22px 34px 12px;
  background: #fff;
}

.product-card-vacuum-cleaning-furnace img {
  box-sizing: border-box;
  object-fit: contain;
  padding: 28px 18px 18px;
  background: #fff;
}

.product-card-gas-hot-air-furnace img {
  box-sizing: border-box;
  object-fit: contain;
  padding: 24px 28px 14px;
  background: #fff;
}

.news-card img {
  box-sizing: border-box;
  object-fit: contain;
  padding: 18px;
  background: #fff;
}

.product-card-body,
.case-card-body,
.solution-card-body,
.news-card-body {
  padding: 22px;
}

.product-card h3,
.case-card h3,
.solution-card h3,
.news-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.product-card p,
.case-card p,
.solution-card p,
.news-card p {
  margin: 0;
  color: var(--muted);
}

.case-showcase {
  margin: 32px 0 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.case-showcase img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
}

.case-showcase figcaption {
  padding: 16px 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
  border-top: 1px solid var(--line);
}

.case-story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
  min-width: 0;
}

.case-story-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.case-story-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.case-story-body {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 20px;
}

.case-story-body h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.25;
}

.case-story-body p {
  margin: 0;
  color: var(--muted);
  overflow-wrap: break-word;
}

.case-story-body dl {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
}

.case-story-body dl div {
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.case-story-body dt {
  color: var(--steel);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-story-body dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: break-word;
}

.card-kicker {
  margin: 0 0 10px !important;
  color: var(--orange-dark) !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--orange-dark);
  font-weight: 900;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.spec-row span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #22384f;
  background: #eef4f8;
  font-size: 12px;
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 52px;
  align-items: center;
}

.split-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.solution-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 34px;
}

.solution-card {
  overflow: hidden;
}

.solution-card strong {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--orange-dark);
  font-size: 13px;
  text-transform: uppercase;
}

.mini-list {
  gap: 14px;
}

.mini-list a {
  display: grid;
  gap: 8px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.mini-list strong {
  font-size: 18px;
}

.mini-list span {
  color: var(--muted);
}

.case-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.catalog-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  gap: 30px;
  align-items: center;
  padding: 34px;
  margin-top: 36px;
}

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

.catalog-preview img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.catalog-download-panel {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.36fr);
}

.catalog-file-card {
  display: grid;
  align-content: center;
  justify-items: start;
  min-height: 220px;
  padding: 28px;
  color: #fff;
  background: #162233;
  border-radius: var(--radius);
}

.catalog-file-card strong {
  font-size: 56px;
  line-height: 1;
  color: var(--orange);
}

.catalog-file-card span {
  margin-top: 16px;
  font-size: 20px;
  font-weight: 850;
}

.catalog-file-card small {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.74);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.75fr);
  gap: 24px;
  margin-top: 38px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.38fr);
  gap: 38px;
  align-items: start;
}

.detail-main {
  min-width: 0;
}

.detail-main p {
  color: var(--muted);
  font-size: 17px;
}

.detail-main h3 {
  margin: 34px 0 12px;
  font-size: 24px;
}

.parameter-list {
  display: grid;
  margin: 18px 0 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.parameter-row {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.parameter-row:last-child {
  border-bottom: 0;
}

.parameter-row strong,
.parameter-row span {
  padding: 13px 14px;
}

.parameter-row strong {
  color: var(--ink);
  background: #f6f8fb;
  font-weight: 900;
}

.parameter-row span {
  color: var(--ink);
  overflow-wrap: anywhere;
}

.table-wrap {
  width: 100%;
  margin: 18px 0 30px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.wide-table {
  max-width: 100%;
}

.spec-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.wide-table .spec-table {
  min-width: 1480px;
}

.spec-table th,
.spec-table td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.spec-table th {
  width: 210px;
  color: var(--ink);
  background: #f6f8fb;
  font-weight: 900;
}

.spec-table thead th {
  width: auto;
  white-space: nowrap;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.table-note {
  margin-top: 0;
  color: var(--muted);
  font-size: 15px !important;
}

.drawing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0 32px;
}

.drawing-card {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.drawing-card:only-child {
  grid-column: 1 / -1;
}

.drawing-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.drawing-card figcaption {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
}

.drawing-card figcaption span {
  color: var(--muted);
  font-size: 14px;
}

.diagram-grid {
  display: grid;
  gap: 18px;
  margin: 18px 0 32px;
}

.diagram-card {
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.diagram-card img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.diagram-card figcaption {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
}

.diagram-card figcaption span {
  color: var(--muted);
  font-size: 14px;
}

.detail-aside {
  position: sticky;
  top: 104px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.button-stack {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.clean-list,
.feature-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list li,
.feature-list li {
  padding: 14px 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-list li {
  display: grid;
  gap: 8px;
}

.feature-list span {
  color: var(--muted);
}

.customization-panel {
  margin: 34px 0;
  padding: 24px;
  background: #f7fbff;
  border: 1px solid #c9d8e8;
  border-radius: var(--radius);
}

.customization-panel h3 {
  margin-top: 0;
}

.customization-panel p {
  margin-bottom: 18px;
}

.process-flow {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin: 18px 0 34px;
  padding: 16px;
  background: #f7fbff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.process-step {
  flex: 1 1 0;
  min-width: 0;
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.process-step span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.process-step strong {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.35;
}

.process-arrow {
  display: grid;
  align-items: center;
  color: var(--accent);
  font-size: 20px;
  font-weight: 800;
}

.page-content h2 {
  margin-top: 0;
  font-size: 34px;
}

.page-content p {
  color: var(--muted);
  font-size: 17px;
}

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

.support-grid article {
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.cta-band {
  color: #fff;
  background: #162233;
}

.cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.cta-shell h2 {
  max-width: 780px;
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.12;
}

.cta-shell p {
  max-width: 720px;
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.cta-shell .eyebrow {
  color: #ffb64a;
}

.contact-panel {
  padding: 28px;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.contact-list a,
.contact-list span {
  display: block;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.contact-list strong {
  display: block;
  color: var(--ink);
}

.form-intro {
  margin: 8px 0 18px;
  color: var(--muted);
}

.contact-form {
  display: grid;
  gap: 16px;
  margin-top: 18px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
}

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

.form-field {
  display: grid;
  gap: 8px;
}

.form-field span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
}

.form-field input,
.form-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea {
  min-height: 150px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: rgba(255, 122, 0, 0.82);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.12);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-note.is-error {
  color: #b42318;
}

.form-note.is-success {
  color: #1a7f37;
}

.inquiry-tips {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.company-channel-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.faq-section {
  margin-top: 54px;
}

.faq-section h2 {
  margin: 0 0 20px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list summary {
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

.procurement-section {
  padding: 28px;
  background: #f4f8fb;
  border: 1px solid #dbe7ef;
  border-radius: var(--radius);
}

.section-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.footer {
  padding: 34px 0;
  color: rgba(255, 255, 255, 0.78);
  background: #162233;
}

.footer-shell {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.footer-identity {
  display: grid;
  gap: 6px;
}

.footer-identity p {
  margin: 0;
}

.footer-identity strong {
  color: #fff;
  font-size: 15px;
}

.footer-brand,
.footer-copy {
  display: block;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  color: #fff;
  font-weight: 750;
}

.floating-contact {
  position: fixed;
  right: 18px;
  top: 50%;
  bottom: auto;
  z-index: 40;
  display: grid;
  gap: 10px;
  transform: translateY(-50%);
}

.floating-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(20, 184, 102, 0.34);
  font-weight: 900;
}

.floating-contact svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@media (max-width: 980px) {
  .nav-shell {
    width: min(100% - 28px, 780px);
    min-height: 72px;
  }

  .menu-button {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 14px;
    border-radius: var(--radius);
  }

  .nav-links a:hover {
    background: var(--soft);
  }

  .nav-links .btn {
    width: 100%;
    margin-top: 8px;
  }

  .hero {
    min-height: auto;
    padding: 42px 0 28px;
  }

  .hero-inner,
  .split,
  .catalog-panel,
  .contact-grid,
  .form-grid,
  .cta-shell {
    grid-template-columns: 1fr;
  }

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

  .detail-main,
  .detail-main .section-title,
  .detail-main h3,
  .detail-main p {
    max-width: 100%;
  }

  .detail-main .section-title,
  .detail-main h3 {
    overflow-wrap: break-word;
  }

  .hero-inner {
    display: block;
  }

  .hero h1 {
    font-size: clamp(31px, 8.6vw, 44px);
    line-height: 1.05;
    max-width: 560px;
    overflow-wrap: break-word;
  }

  .hero-copy {
    max-width: 560px;
    margin: 18px 0 22px;
  }

  .hero-media {
    width: 100%;
    max-width: 100%;
    min-height: 240px;
    margin-top: 22px;
  }

  .trust-strip,
  .product-grid,
  .case-grid,
  .case-story-grid,
  .news-grid,
  .solution-list,
  .support-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-aside {
    position: static;
  }
}

@media (max-width: 640px) {
  .wrap,
  .hero-inner,
  .trust-strip,
  .nav-shell {
    width: calc(100% - 28px);
  }

  .brand {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 20px;
  }

  .brand-text span {
    display: none;
  }

  .section {
    padding: 58px 0;
  }

  .hero.page-hero {
    padding: 24px 0;
  }

  .hero h1 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(30px, 8.8vw, 40px);
    overflow-wrap: anywhere;
    hyphens: auto;
  }

  .hero .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    gap: 10px;
  }

  .hero .button-row .btn {
    width: auto;
    min-width: 0;
    max-width: 100%;
    min-height: 44px;
    padding: 0 12px;
    font-size: clamp(12px, 3.45vw, 14px);
    line-height: 1.15;
    text-align: center;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .hero .button-row .btn-primary {
    grid-column: 1 / -1;
  }

  .hero-media,
  .hero.page-hero .hero-media {
    min-height: 0;
    height: 150px;
    margin-top: 18px;
  }

  .hero-media img {
    object-fit: contain;
    padding: 8px;
  }

  .section-title {
    font-size: 30px;
  }

  .hero-inner > *,
  .page-content,
  .page-content > *,
  .split,
  .split > * {
    min-width: 0;
    max-width: 100%;
  }

  .page-content h2,
  .page-content h3,
  .page-content p {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .detail-main {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .detail-main .section-title,
  .detail-main h3,
  .detail-main p,
  .detail-main .parameter-list,
  .detail-main .table-wrap,
  .detail-main .clean-list {
    width: 100%;
    max-width: 100%;
  }

  .parameter-row {
    grid-template-columns: 1fr;
  }

  .parameter-row strong,
  .parameter-row span {
    padding: 12px 10px;
  }

  .parameter-row strong {
    padding-bottom: 4px;
  }

  .parameter-row span {
    padding-top: 4px;
  }

  .detail-main .wide-table,
  .detail-main .table-note,
  .detail-main .drawing-grid,
  .detail-main .diagram-grid {
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  .detail-main .table-note {
    display: block;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .table-wrap:not(.wide-table) .spec-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    font-size: 13px;
  }

  .table-wrap:not(.wide-table) .spec-table,
  .table-wrap:not(.wide-table) .spec-table tbody,
  .table-wrap:not(.wide-table) .spec-table tr,
  .table-wrap:not(.wide-table) .spec-table th,
  .table-wrap:not(.wide-table) .spec-table td {
    display: block;
    width: 100%;
    max-width: 100%;
  }

  .table-wrap:not(.wide-table) .spec-table tr {
    border-bottom: 1px solid var(--line);
  }

  .table-wrap:not(.wide-table) .spec-table tr:last-child {
    border-bottom: 0;
  }

  .table-wrap:not(.wide-table) .spec-table th,
  .table-wrap:not(.wide-table) .spec-table td {
    width: 100%;
    padding: 12px 10px;
    border-bottom: 0;
  }

  .table-wrap:not(.wide-table) .spec-table th {
    padding-bottom: 4px;
  }

  .table-wrap:not(.wide-table) .spec-table td {
    padding-top: 4px;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .section-lead,
  .hero-copy {
    max-width: 100%;
    font-size: 16px;
    overflow-wrap: break-word;
  }

  .case-story-grid,
  .case-story-card {
    width: 100%;
    max-width: 100%;
  }

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

  .process-flow {
    display: grid;
    gap: 8px;
  }

  .process-arrow {
    justify-items: center;
    transform: rotate(90deg);
  }

  .button-row .btn {
    width: 100%;
  }

  .hero .button-row .btn {
    width: auto;
  }

  .trust-strip,
  .product-grid,
  .case-grid,
  .case-story-grid,
  .news-grid,
  .solution-list,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    min-height: 82px;
  }

  .catalog-panel,
  .contact-panel {
    padding: 22px;
  }

  .catalog-preview {
    grid-template-columns: 1fr;
  }

  .floating-contact {
    right: 12px;
    top: 50%;
    bottom: auto;
  }
}
