/* 2026-07 premium visual refresh. Loaded after styles.css to preserve site behavior. */
:root {
  --ink: #10262b;
  --muted: #5b6f73;
  --line: #d7e3e1;
  --paper: #f3f7f6;
  --white: #ffffff;
  --teal: #0a9f92;
  --teal-deep: #08675f;
  --aqua: #e2f6f2;
  --gold: #d9a62e;
  --coral: #d8654a;
  --steel: #536b73;
  --night: #071b20;
  --shadow: 0 18px 44px rgba(11, 43, 47, 0.12);
  --shadow-soft: 0 10px 28px rgba(11, 43, 47, 0.08);
}

html {
  scroll-padding-top: 104px;
}

body {
  background: var(--paper);
  color: var(--ink);
  text-rendering: optimizeLegibility;
}

::selection {
  color: var(--night);
  background: #b9eee7;
}

.site-header {
  min-height: 98px;
  gap: 20px;
  padding: 10px clamp(20px, 4vw, 56px);
  border-bottom: 1px solid rgba(7, 59, 62, 0.12);
  background: rgba(250, 253, 252, 0.94);
  box-shadow: 0 8px 30px rgba(10, 41, 44, 0.07);
  backdrop-filter: blur(18px) saturate(1.2);
}

.brand {
  min-width: 342px;
  min-height: 82px;
  gap: 14px;
  padding: 7px 18px 7px 10px;
  border-color: rgba(34, 190, 178, 0.45);
  background: linear-gradient(135deg, #06171c 0%, #0b2d32 62%, #0b4d48 100%);
  box-shadow:
    0 14px 30px rgba(5, 28, 33, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.brand::before {
  background: linear-gradient(90deg, var(--gold) 0 26%, #21c1b5 72%, transparent 100%);
  clip-path: polygon(0 0, 100% 0, 100% 4px, 0 4px);
}

.brand::after {
  right: -54px;
  bottom: -74px;
  width: 170px;
  height: 170px;
  border-color: rgba(51, 205, 194, 0.2);
  background: transparent;
}

.brand:hover,
.brand:focus-visible {
  border-color: rgba(217, 166, 46, 0.72);
  box-shadow:
    0 18px 36px rgba(5, 28, 33, 0.24),
    0 0 0 1px rgba(255, 255, 255, 0.07) inset;
}

.brand-mark {
  width: 132px;
  height: 68px;
  padding: 4px 10px;
  border-color: rgba(255, 255, 255, 0.92);
  background: #f9fbfa;
  box-shadow:
    0 8px 18px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(12, 46, 50, 0.05) inset;
  clip-path: polygon(0 0, 92% 0, 100% 16%, 100% 100%, 8% 100%, 0 84%);
}

.brand-mark::after {
  right: 5px;
  top: 6px;
  bottom: 6px;
  width: 3px;
}

.brand-mark img {
  width: 102px;
  max-height: 62px;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.brand-name {
  min-height: 48px;
  padding-left: 14px;
  border-left-color: rgba(255, 255, 255, 0.18);
  font-size: 25px;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(38, 216, 203, 0.2);
}

.site-nav {
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(126, 155, 156, 0.18);
  border-radius: 8px;
  background: rgba(232, 240, 238, 0.72);
}

.site-nav a {
  min-width: 68px;
  min-height: 40px;
  padding: 8px 15px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-color: rgba(10, 159, 146, 0.28);
  background: var(--white);
  box-shadow: 0 6px 16px rgba(10, 75, 72, 0.1);
}

.nav-cta,
.button-primary {
  background: linear-gradient(135deg, #0a9f92, #08675f);
  box-shadow: 0 12px 26px rgba(8, 103, 95, 0.24);
}

.nav-cta {
  min-height: 46px;
  padding-inline: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-cta:hover,
.nav-cta:focus-visible,
.button-primary:hover,
.button-primary:focus-visible {
  background: linear-gradient(135deg, #0bafa1, #075c56);
  box-shadow: 0 15px 30px rgba(8, 103, 95, 0.3);
}

.hero {
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  border-bottom: 4px solid var(--gold);
  background-color: #d9ebf7;
  box-shadow: 0 18px 44px rgba(16, 54, 61, 0.12);
  animation: hero-enter 680ms ease-out both;
}

@keyframes hero-enter {
  from {
    opacity: 0.65;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.signal-band {
  border: 0;
  background: var(--night);
}

.signal-inner {
  max-width: 1280px;
  gap: 0;
  padding-inline: 22px;
  background: transparent;
}

.signal-inner div {
  position: relative;
  min-height: 118px;
  padding: 28px 34px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
}

.signal-inner div:last-child {
  border-right: 0;
}

.signal-inner div::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  margin-bottom: 12px;
  background: var(--gold);
}

.signal-inner strong {
  margin-bottom: 5px;
  color: #ffffff;
  font-size: 18px;
}

.signal-inner span {
  color: rgba(230, 242, 240, 0.72);
  font-size: 14px;
}

.section {
  padding: 88px 32px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 44px;
}

.section-heading .kicker,
.factory-copy > .kicker,
.quote-copy > .kicker,
.catalog-head .kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--gold);
  color: var(--teal-deep);
  font-size: 14px;
  letter-spacing: 0;
}

.section h2 {
  color: var(--ink);
  font-size: 42px;
  line-height: 1.16;
  letter-spacing: 0;
}

.products-section {
  background: var(--paper);
}

.product-grid {
  grid-template-columns: minmax(300px, 0.78fr) minmax(560px, 1.22fr);
  gap: 24px;
  max-width: 1280px;
}

.product-card {
  position: relative;
  overflow: hidden;
  border-color: rgba(137, 164, 165, 0.35);
  padding: 30px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--teal);
}

.product-card:nth-child(2)::before {
  background: linear-gradient(90deg, var(--gold), var(--coral));
}

.product-card:hover,
.product-card:focus-visible,
.product-card.is-active {
  border-color: rgba(10, 159, 146, 0.48);
  box-shadow: 0 20px 46px rgba(10, 61, 63, 0.13);
  transform: translateY(-3px);
}

.product-card.is-active {
  background: #fbfefd;
}

.product-code {
  width: 54px;
  height: 42px;
  border: 1px solid rgba(10, 159, 146, 0.14);
  font-size: 17px;
}

.product-code.accent {
  border-color: rgba(217, 166, 46, 0.2);
}

.product-card > h3 {
  margin-top: 22px;
  font-size: 27px;
}

.product-card > p {
  font-size: 16px;
  line-height: 1.8;
}

.product-card dl {
  margin-top: 24px;
}

.product-card dl div {
  padding-top: 15px;
}

.product-card dd {
  font-size: 16px;
}

.feishi-subtype-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 22px;
  padding-top: 22px;
}

.subtype-card {
  position: relative;
  min-height: 116px;
  align-content: start;
  gap: 5px;
  overflow: hidden;
  border-color: rgba(130, 157, 160, 0.34);
  border-top: 3px solid var(--teal);
  padding: 15px 14px;
  background: #fbfdfc;
  box-shadow: none;
}

.subtype-card:nth-child(2) {
  border-top-color: var(--gold);
}

.subtype-card:nth-child(3) {
  border-top-color: var(--coral);
}

.subtype-card:nth-child(4) {
  border-top-color: var(--steel);
}

.subtype-card:hover,
.subtype-card:focus-visible,
.subtype-card.is-active {
  border-color: rgba(10, 159, 146, 0.5);
  border-top-color: var(--teal);
  background: #f1faf8;
  box-shadow: 0 10px 24px rgba(8, 103, 95, 0.1);
}

.subtype-card span {
  font-size: 11px;
}

.subtype-card h3 {
  font-size: 17px;
}

.subtype-card p {
  font-size: 14px;
}

.catalog-panel {
  max-width: 1280px;
  margin-top: 56px;
  border-top: 1px solid rgba(137, 164, 165, 0.42);
  padding-top: 44px;
}

.catalog-head {
  grid-template-columns: minmax(260px, 0.8fr) minmax(520px, 1.2fr);
  align-items: center;
}

.catalog-head h3 {
  color: var(--ink);
  font-size: 34px;
}

.catalog-tools {
  gap: 14px;
}

.catalog-tools label {
  color: var(--steel);
}

.catalog-tools input,
.catalog-tools select {
  min-height: 50px;
  border-color: rgba(125, 153, 156, 0.38);
  background: #ffffff;
  box-shadow: 0 7px 18px rgba(13, 63, 67, 0.05);
}

.catalog-meta {
  margin: 22px 0 18px;
  color: var(--steel);
  font-weight: 700;
}

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

.database-card {
  position: relative;
  grid-template-rows: auto 1fr;
  border-color: rgba(132, 159, 160, 0.35);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.database-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  opacity: 0;
  transition: opacity 180ms ease;
}

.database-card:hover,
.database-card:focus-visible {
  border-color: rgba(10, 159, 146, 0.46);
  box-shadow: 0 20px 42px rgba(8, 75, 72, 0.14);
  transform: translateY(-4px);
}

.database-card:hover::before,
.database-card:focus-visible::before {
  opacity: 1;
}

.database-card-image {
  min-height: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f0f6f4;
}

.database-card-image img {
  width: 100%;
  height: 100%;
  padding: 16px;
  object-fit: contain;
  background: #f8fbfa;
  transition: transform 260ms ease;
}

.database-card:hover .database-card-image img,
.database-card:focus-visible .database-card-image img {
  transform: scale(1.035);
}

.database-card-body {
  align-content: start;
  gap: 11px;
  padding: 19px;
}

.database-category {
  border-radius: 6px;
  padding: 5px 9px;
  background: #e6f6f3;
}

.database-card h3 {
  min-height: 49px;
  font-size: 19px;
}

.database-note {
  min-height: 46px;
  line-height: 1.7;
}

.database-price-row {
  padding-top: 12px;
}

.database-price-row strong {
  color: var(--teal-deep);
  font-size: 22px;
}

.database-card-action {
  min-height: 44px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(135deg, #087d74, #075a55);
  box-shadow: 0 8px 18px rgba(8, 103, 95, 0.16);
}

.product-modal-backdrop {
  background: rgba(4, 18, 22, 0.68);
  backdrop-filter: blur(6px);
}

.product-modal-panel {
  overflow: auto;
  border-top: 4px solid var(--gold);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.34);
}

.product-modal-close {
  border-color: rgba(123, 151, 153, 0.4);
  box-shadow: 0 8px 20px rgba(11, 43, 47, 0.12);
}

.product-modal-image {
  background: #edf5f3;
}

.price-card {
  border-color: rgba(128, 157, 159, 0.36);
  border-top: 3px solid var(--teal);
  background: #f9fcfb;
}

.price-card + .price-card {
  border-top-color: var(--gold);
}

.custom-section {
  border-top: 1px solid rgba(132, 159, 160, 0.2);
  border-bottom: 1px solid rgba(132, 159, 160, 0.2);
  background: #eaf3f1;
}

.company-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(7, 27, 32, 0.94), rgba(8, 84, 79, 0.92)),
    radial-gradient(circle at 12% 18%, rgba(217, 166, 46, 0.26), transparent 34%);
}

.company-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.35;
}

.company-profile {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(520px, 1.22fr);
  gap: 44px;
  max-width: 1280px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-top: 4px solid var(--gold);
  padding: 44px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(2, 18, 21, 0.25);
  backdrop-filter: blur(10px);
}

.company-title .kicker {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 18px;
  border-bottom: 2px solid var(--gold);
  color: #7ee0d7;
  font-size: 14px;
  letter-spacing: 0;
}

.company-title h2 {
  color: #ffffff;
  font-size: 42px;
  line-height: 1.16;
}

.company-title span {
  display: block;
  margin-top: 22px;
  border-left: 4px solid var(--gold);
  padding-left: 16px;
  color: rgba(236, 248, 247, 0.78);
  font-size: 17px;
  line-height: 1.8;
}

.company-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(320px, 100%);
  margin: 82px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-left: 4px solid var(--gold);
  padding: 22px 26px;
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.2);
}

.company-logo-card img {
  display: block;
  width: 100%;
  max-width: 260px;
  height: auto;
  object-fit: contain;
  filter: grayscale(1) contrast(1.1);
}

.company-copy {
  display: grid;
  gap: 18px;
}

.company-copy p {
  margin: 0;
  color: rgba(242, 249, 248, 0.9);
  font-size: 18px;
  line-height: 2;
  text-align: justify;
}

.custom-layout,
.factory-layout,
.quote-layout {
  max-width: 1280px;
}

.custom-layout {
  align-items: start;
}

.process-list {
  counter-reset: process-step;
}

.process-step {
  position: relative;
  border-color: rgba(10, 159, 146, 0.2);
  padding: 23px 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 8px 22px rgba(11, 55, 58, 0.06);
}

.process-step:hover {
  border-color: rgba(10, 159, 146, 0.42);
  box-shadow: 0 14px 30px rgba(11, 55, 58, 0.1);
  transform: translateX(3px);
}

.process-step span {
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(135deg, #0b8f84, #075b55);
  box-shadow: 0 8px 18px rgba(8, 103, 95, 0.18);
}

.process-step h3 {
  font-size: 21px;
}

.factory-section {
  background: #ffffff;
}

.factory-photo {
  position: relative;
  border: 1px solid rgba(131, 159, 161, 0.34);
  padding: 9px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.factory-photo::after {
  content: "";
  position: absolute;
  right: -12px;
  bottom: -12px;
  z-index: -1;
  width: 70%;
  height: 64%;
  border-right: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
}

.quality-grid {
  counter-reset: quality-item;
  gap: 14px;
}

.quality-grid div {
  position: relative;
  min-height: 154px;
  overflow: hidden;
  border: 1px solid rgba(130, 158, 160, 0.33);
  border-top: 4px solid var(--teal);
  border-left: 1px solid rgba(130, 158, 160, 0.33);
  padding: 26px 26px 22px;
  background: #f9fcfb;
  box-shadow: 0 9px 24px rgba(13, 61, 65, 0.06);
  counter-increment: quality-item;
}

.quality-grid div:nth-child(2),
.quality-grid div:nth-child(3) {
  border-top-color: var(--gold);
}

.quality-grid div::before {
  content: "0" counter(quality-item);
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(8, 103, 95, 0.12);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.quality-grid strong {
  position: relative;
  margin-bottom: 9px;
  padding-right: 38px;
  color: var(--ink);
  font-size: 22px;
}

.quality-grid span {
  position: relative;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.quote-section {
  position: relative;
  overflow: hidden;
  background: var(--night);
}

.quote-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--coral));
}

.quote-section h2 {
  color: #ffffff;
}

.quote-section .quote-copy > .kicker {
  color: #78e0d6;
}

.contact-panel span {
  border-color: rgba(255, 255, 255, 0.14);
  border-left: 3px solid var(--gold);
  background: rgba(255, 255, 255, 0.055);
}

.contact-panel span:nth-child(2) {
  border-left-color: var(--teal);
}

.wecom-card {
  border-color: rgba(255, 255, 255, 0.2);
  padding: 10px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.quote-form {
  border-color: rgba(255, 255, 255, 0.14);
  border-top: 4px solid var(--gold);
  background: #ffffff;
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.26);
}

input,
select,
textarea {
  min-height: 48px;
  border-color: rgba(126, 155, 157, 0.42);
  background: #f8fbfa;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(10, 159, 146, 0.75);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(10, 159, 146, 0.11);
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.92);
  background: #051419;
}

.site-footer span {
  color: rgba(221, 236, 233, 0.62);
}

.site-footer a {
  color: #79ded5;
}

@media (max-width: 1180px) {
  .site-header {
    padding-inline: 22px;
  }

  .brand {
    min-width: 308px;
  }

  .brand-name {
    font-size: 22px;
  }

  .site-nav a {
    min-width: 58px;
    padding-inline: 11px;
  }

  .section {
    padding-inline: 24px;
  }

  .product-grid {
    grid-template-columns: minmax(280px, 0.72fr) minmax(500px, 1.28fr);
  }

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

@media (max-width: 980px) {
  html {
    scroll-padding-top: 86px;
  }

  .site-header {
    min-height: 86px;
  }

  .brand {
    min-width: 300px;
    min-height: 72px;
  }

  .brand-mark {
    width: 116px;
    height: 60px;
  }

  .brand-mark img {
    width: 90px;
    max-height: 54px;
  }

  .product-grid,
  .catalog-head,
  .custom-layout,
  .company-profile,
  .factory-layout,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .product-grid {
    max-width: 760px;
  }

  .feishi-subtype-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .catalog-head {
    align-items: start;
  }

  .catalog-tools {
    grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr);
  }

  .factory-layout {
    align-items: start;
  }

  .factory-photo {
    max-width: 760px;
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 74px;
  }

  .site-header {
    min-height: 74px;
    gap: 8px;
    padding: 7px 10px;
  }

  .brand {
    min-width: 0;
    min-height: 60px;
    gap: 7px;
    padding: 5px 8px 5px 6px;
  }

  .brand-mark {
    width: 82px;
    height: 50px;
    padding: 3px 6px;
  }

  .brand-mark img {
    width: 70px;
    max-height: 45px;
    transform: none;
  }

  .brand-name {
    min-height: 34px;
    padding-left: 7px;
    font-size: 16px;
  }

  .nav-cta {
    width: auto;
    min-height: 40px;
    padding: 8px 11px;
    font-size: 13px;
  }

  .hero {
    border-bottom-width: 3px;
  }

  .signal-inner {
    padding-inline: 18px;
  }

  .signal-inner div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    padding: 22px 4px;
  }

  .signal-inner div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 64px 16px;
  }

  .section-heading {
    margin-bottom: 32px;
  }

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

  .product-card {
    padding: 22px;
  }

  .product-card > h3 {
    font-size: 24px;
  }

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

  .subtype-card {
    min-height: 104px;
  }

  .catalog-panel {
    margin-top: 42px;
    padding-top: 34px;
  }

  .catalog-head h3 {
    font-size: 29px;
  }

  .catalog-tools,
  .database-grid,
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .database-card h3 {
    min-height: 0;
  }

  .database-card-image {
    aspect-ratio: 4 / 3;
  }

  .process-step {
    padding: 18px;
  }

  .company-profile {
    gap: 26px;
    padding: 28px 22px;
  }

  .company-title h2 {
    font-size: 29px;
  }

  .company-title span {
    margin-top: 16px;
    font-size: 15px;
  }

  .company-logo-card {
    width: min(260px, 100%);
    margin-top: 28px;
    padding: 16px 18px;
  }

  .company-logo-card img {
    max-width: 220px;
  }

  .company-copy {
    gap: 15px;
  }

  .company-copy p {
    font-size: 16px;
    line-height: 1.9;
    text-align: left;
  }

  .process-step:hover {
    transform: none;
  }

  .factory-photo::after {
    right: -6px;
    bottom: -6px;
  }

  .quality-grid div {
    min-height: 138px;
    padding: 22px;
  }

  .quality-grid strong {
    font-size: 21px;
  }

  .quality-grid span {
    font-size: 16px;
  }

  .quote-form {
    padding: 22px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
