:root {
  color-scheme: light;
  --ink: #182229;
  --muted: #5f6b72;
  --line: #d6dde0;
  --panel: #ffffff;
  --soft: #f4f6f8;
  --brand: #c43f2a;
  --teal: #2f6f73;
  --blue: #315d96;
  --shadow: 0 18px 50px rgba(18, 32, 38, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 0 28px;
  border-bottom: 1px solid rgba(217, 224, 223, 0.85);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
}

.brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 34px;
  object-fit: contain;
  flex: none;
}

.brand-icon {
  display: none;
}

.nav {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}

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

.header-cta,
.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-phone,
.nav-language {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid #d2d8db;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.nav-language {
  color: var(--muted);
  font-weight: 700;
  text-decoration: none;
}

.nav-language:hover {
  color: var(--ink);
}

.language-switcher {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  min-height: 36px;
  padding: 3px 7vw;
  border-bottom: 1px solid var(--line);
  background: #f7f9f8;
  overflow-x: auto;
  white-space: nowrap;
}

.language-switcher a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.language-switcher a:hover,
.language-switcher a.is-current {
  border-color: #cbd4d3;
  background: #fff;
  color: var(--ink);
}

.localized-page {
  background: #f3f6f8;
  color: #19232b;
}

.localized-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 32px 88px;
}

.localized-intro,
.localized-model-hero {
  max-width: 800px;
  margin-bottom: 42px;
}

.localized-category {
  margin: 0 0 52px;
}

.localized-category .section-title {
  margin-bottom: 20px;
}

.catalog-series {
  border-top: 1px solid #ccd5da;
  background: #fff;
}

.catalog-series:last-child {
  border-bottom: 1px solid #ccd5da;
}

.catalog-series summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}

.catalog-series summary::-webkit-details-marker {
  display: none;
}

.catalog-series summary strong {
  font-size: 1.2rem;
}

.catalog-series summary span {
  color: #65727b;
}

.catalog-model-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #e1e7ea;
}

.catalog-model {
  display: grid;
  gap: 6px;
  min-height: 116px;
  padding: 18px 20px;
  color: inherit;
  border-right: 1px solid #e1e7ea;
  border-bottom: 1px solid #e1e7ea;
  text-decoration: none;
}

.catalog-model:hover {
  background: #f8fafb;
}

.catalog-model span {
  color: #65727b;
}

.catalog-model .catalog-model-action {
  color: #c94b32;
  font-weight: 700;
}

.localized-model-search {
  display: flex;
  max-width: 660px;
  margin-bottom: 40px;
}

.localized-model-input {
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid #b9c5cb;
  border-right: 0;
  background: #fff;
  font: inherit;
  text-transform: uppercase;
}

.localized-model-search .primary-button {
  border: 0;
  white-space: nowrap;
}

.localized-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 820px;
  margin: 0 0 30px;
  border-top: 1px solid #ccd5da;
  border-left: 1px solid #ccd5da;
  background: #fff;
}

.localized-specs dt,
.localized-specs dd {
  margin: 0;
  padding: 15px 18px;
  border-right: 1px solid #ccd5da;
  border-bottom: 1px solid #ccd5da;
}

.localized-specs dt {
  color: #637078;
}

.localized-specs dd {
  font-weight: 700;
}

.localized-not-found {
  color: #c94b32;
  font-weight: 700;
}

.quote-link,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: stretch;
  min-height: 680px;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.search-hero {
  min-height: calc(100vh - 72px);
}

.image-hero {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.image-hero .hero-visual {
  min-height: calc(100vh - 72px);
  margin: 0;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px 64px 7vw;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(40px, 5.2vw, 78px);
  line-height: 1.02;
  letter-spacing: 0;
}

.lead {
  max-width: 680px;
  color: #445158;
  font-size: 18px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 36px;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 220px 120px;
  gap: 12px;
  max-width: 900px;
  margin: 30px 0 14px;
}

.search-large {
  min-height: 58px;
  font-size: 16px;
}

.hot-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #ccd5d8;
  background: #fff;
  color: #314047;
  font-size: 13px;
  font-weight: 700;
}

.quick-specs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
}

.quick-spec {
  padding: 18px;
  border: 1px solid var(--line);
  background: #f9fbfb;
}

.quick-spec strong {
  display: block;
  font-size: 22px;
}

.quick-spec span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #e5ebea;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

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

.kaydon-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  background: #eceff1;
}

.kaydon-photo-card figcaption {
  display: grid;
  gap: 4px;
  padding: 14px 16px 16px;
}

.kaydon-photo-card strong {
  font-size: 16px;
  letter-spacing: 0;
}

.kaydon-photo-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.section {
  padding: 78px 7vw;
}

.compact-section {
  padding-top: 56px;
}

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

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3vw, 48px);
  letter-spacing: 0;
}

.section-heading p {
  max-width: 540px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto;
  gap: 14px;
  margin-bottom: 20px;
}

.search,
.select {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
}

.table-toolbar {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 260px 120px auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.table-note {
  max-width: 900px;
  margin: -4px 0 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.table-note a {
  color: var(--brand);
  font-weight: 800;
}

.search-button {
  min-height: 48px;
  width: 100%;
  border-color: var(--brand);
  background: var(--brand);
}

.result-count {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  white-space: nowrap;
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-category-card {
  display: flex;
  min-height: 246px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-category-card:hover {
  transform: translateY(-3px);
  border-color: #b8c4c3;
  box-shadow: var(--shadow);
}

.product-category-card span {
  width: fit-content;
  min-height: 28px;
  padding: 5px 10px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.product-category-card h3 {
  margin: 22px 0 10px;
  font-size: 24px;
}

.product-category-card p {
  color: var(--muted);
  line-height: 1.65;
}

.language-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.language-card {
  display: flex;
  min-height: 190px;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 1px 0 rgba(18, 32, 38, 0.04);
}

.language-card:hover {
  transform: translateY(-3px);
  border-color: #b8c4c3;
  box-shadow: var(--shadow);
}

.language-card span {
  width: fit-content;
  min-height: 28px;
  padding: 5px 10px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.language-card h3 {
  margin: 22px 0 10px;
  font-size: 22px;
}

.language-card p {
  color: var(--muted);
  line-height: 1.6;
}

.language-card small {
  display: block;
  margin-top: 14px;
  color: #5d686d;
  font-size: 13px;
  line-height: 1.5;
}

.market-card {
  min-height: 260px;
}

.market-card p {
  margin: 6px 0;
}

.market-card strong {
  color: var(--ink);
  font-weight: 800;
}

.model-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 1px 0 rgba(18, 32, 38, 0.04);
}

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

.model-table th {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  background: #eef2f4;
  color: #334148;
  text-align: left;
  font-weight: 800;
}

.model-table td {
  padding: 15px 16px;
  border-bottom: 1px solid #edf1f2;
  color: #435057;
  vertical-align: top;
}

.model-table tr:hover td {
  background: #fafcfc;
}

.model-link {
  color: var(--brand);
  font-size: 18px;
  font-weight: 850;
}

.muted-text {
  display: inline-block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.table-action {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 760;
  white-space: nowrap;
}

.model-card {
  display: flex;
  min-height: 278px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 1px 0 rgba(18, 32, 38, 0.04);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.model-card:hover {
  transform: translateY(-3px);
  border-color: #b8c4c3;
  box-shadow: var(--shadow);
}

.model-card h3 {
  margin-bottom: 8px;
  font-size: 28px;
}

.series-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #fff;
  background: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.model-card dl,
.spec-table {
  width: 100%;
  margin: 18px 0 0;
}

.model-card div,
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid #edf1f0;
  color: var(--muted);
  font-size: 14px;
}

.model-card dd,
.spec-row dd {
  margin: 0;
  color: var(--ink);
  font-weight: 720;
}

.seo-preview {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.3fr);
  gap: 24px;
  align-items: stretch;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-panel,
.seo-panel {
  padding: 48px 7vw;
}

.detail-panel {
  border-right: 1px solid var(--line);
}

.detail-panel h2 {
  font-size: clamp(30px, 3.4vw, 54px);
  margin-bottom: 12px;
}

.detail-intro {
  max-width: 760px;
  color: var(--muted);
  line-height: 1.7;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #f8faf9;
  color: var(--muted);
  font-size: 13px;
}

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

.series-model-group {
  border: 1px solid var(--line);
  background: #fff;
}

.series-model-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding: 0 20px;
  cursor: pointer;
  list-style: none;
}

.series-model-group summary::-webkit-details-marker {
  display: none;
}

.series-model-group summary span {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.series-model-group summary strong {
  font-size: 22px;
  color: var(--ink);
}

.series-model-group summary small,
.series-model-group summary em {
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
}

.series-model-group[open] summary {
  border-bottom: 1px solid var(--line);
}

.series-model-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 18px 20px 20px;
}

.series-model-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #cbd4d6;
  background: #f8faf9;
  color: #314047;
  font-size: 13px;
  font-weight: 800;
}

.series-model-links a:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.seo-panel {
  background: #f8faf9;
}

.seo-panel h3 {
  margin-bottom: 16px;
  font-size: 22px;
}

.serp {
  padding: 18px;
  border: 1px solid var(--line);
  background: #fff;
}

.serp-title {
  color: #1a4fa3;
  font-size: 18px;
  line-height: 1.35;
}

.serp-url {
  margin: 8px 0;
  color: #237044;
  font-size: 13px;
  word-break: break-all;
}

.serp-desc {
  color: #4f5d63;
  font-size: 14px;
  line-height: 1.55;
}

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

.process-step {
  min-height: 210px;
  padding: 24px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}

a.process-step {
  cursor: pointer;
  transition: border-color 160ms ease, background-color 160ms ease;
}

a.process-step:hover {
  background: #f8faf9;
}

.series-model-group:target,
.section:target {
  scroll-margin-top: 96px;
}

.series-model-group:target {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.process-step span {
  color: var(--brand);
  font-weight: 800;
}

.process-step h3 {
  margin: 18px 0 10px;
}

.process-step p {
  color: var(--muted);
  line-height: 1.6;
}

.drawing-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.68fr) minmax(280px, 0.32fr);
  gap: 24px;
  align-items: start;
}

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

.drawing-preview img {
  display: block;
  width: 100%;
  height: auto;
}

.drawing-card {
  padding: 24px;
  border: 1px solid var(--line);
  background: #fff;
}

.drawing-card h3 {
  margin-bottom: 12px;
}

.drawing-card p {
  color: var(--muted);
  line-height: 1.65;
}

.footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  padding: 40px 7vw;
  background: var(--ink);
  color: #fff;
}

.footer p {
  margin-bottom: 0;
  color: #b7c2c6;
}

.footer-filing {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 13px;
}

.footer-filing a {
  color: #dbe3e5;
  text-decoration: none;
}

.footer-filing a:hover {
  color: #fff;
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
}

.floating-contact > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  min-height: 46px;
  padding: 0 16px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  box-shadow: var(--shadow);
}

.floating-contact > summary::-webkit-details-marker {
  display: none;
}

.floating-contact__panel {
  position: absolute;
  right: 0;
  bottom: 58px;
  width: 236px;
  padding: 16px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.floating-contact__heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 12px;
}

.floating-contact__heading strong {
  font-size: 16px;
}

.floating-contact__heading span,
.floating-contact__note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.wechat-qr {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid #e2e7ea;
  background: #f7f8f9;
}

.floating-contact__phone {
  display: flex;
  justify-content: center;
  margin-top: 12px;
  min-height: 40px;
  align-items: center;
  border: 1px solid var(--line);
  background: #f8fafb;
  font-size: 14px;
  font-weight: 800;
}

@media (max-width: 1080px) {
  .hero,
  .seo-preview {
    grid-template-columns: 1fr;
  }

  .hero {
    max-height: none;
  }

  .detail-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .model-grid,
  .product-category-grid,
  .language-grid,
  .process {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

img,
picture,
figure,
.hero-visual,
.drawing-preview {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}

img {
  pointer-events: none;
}

@media (max-width: 720px) {
  .site-header {
    position: static;
    padding: 16px 20px;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    flex: none;
    overflow-x: auto;
    justify-content: flex-start;
    gap: 14px;
    padding-bottom: 4px;
  }

  .header-cta,
  .footer-cta {
    flex-wrap: wrap;
  }

  .hero-copy,
  .section,
  .detail-panel,
  .seo-panel,
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 340px;
  }

  .quick-specs,
  .hero-search,
  .toolbar,
  .table-toolbar,
  .model-grid,
  .product-category-grid,
  .language-grid,
  .process,
  .footer {
    grid-template-columns: 1fr;
  }

  .localized-shell {
    padding: 46px 20px 64px;
  }

  .catalog-model-list,
  .localized-specs {
    grid-template-columns: 1fr;
  }

  .catalog-model {
    border-right: 0;
  }

  .localized-model-search {
    display: grid;
    grid-template-columns: 1fr;
  }

  .localized-model-input {
    border-right: 1px solid #b9c5cb;
    border-bottom: 0;
  }

  .section-heading {
    display: block;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
  }
}
