:root {
  --ey-blue: #1A5A78;
  --ey-blue-dark: #123f55;
  --ey-gold: #C89640;
  --ey-text: #333333;
  --ey-muted: #666666;
  --ey-bg: #E8EEF2;
  --ey-border: #d6e0e6;
  --ey-shadow: 0 18px 45px rgba(26, 90, 120, 0.14);
}

body.instrument-home {
  min-width: 320px;
  color: var(--ey-text);
  background: #fff;
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

.container-layout {
  max-width: 1200px;
  margin: 0 auto;
}

a {
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.instrument-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 24px rgba(15, 45, 85, .06);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ey-blue-dark);
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #1A5A78, #123f55);
  color: #fff;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -1px;
  box-shadow: 0 10px 24px rgba(26, 90, 120, .22);
}

.brand-text strong {
  display: block;
  line-height: 1.1;
  font-size: 24px;
  font-weight: 800;
}

.brand-text em {
  display: block;
  margin-top: 5px;
  color: #7b8ea5;
  font-size: 10px;
  font-style: normal;
  letter-spacing: .8px;
}

.instrument-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 30px;
}

.instrument-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 86px;
  color: #1c2733;
  font-size: 16px;
  text-decoration: none;
}

.instrument-nav a::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 3px;
  background: var(--ey-blue);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.instrument-nav a:hover {
  color: var(--ey-blue);
}

.instrument-nav a.active {
  color: var(--ey-blue);
}

.instrument-nav a:hover::after {
  transform: scaleX(1);
}

.instrument-nav a.active::after {
  transform: scaleX(1);
}

.header-tel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 38px;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--ey-blue);
  text-decoration: none;
  font-size: 14px;
}

.hero-instrument {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  background: #1A5A78;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(18, 63, 85, .96) 0%, rgba(26, 90, 120, .86) 48%, rgba(26, 90, 120, .28) 78%, rgba(255,255,255,.04) 100%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 640px;
  display: flex;
  align-items: center;
}

.hero-copy {
  width: 58%;
  color: #fff;
}

.eyebrow {
  margin: 0 0 18px;
  color: #E8EEF2;
  font-size: 14px;
  letter-spacing: 2px;
}

.hero-copy h1 {
  margin: 0;
  font-size: 44px;
  line-height: 1.24;
  font-weight: 800;
  color: #fff;
}

.hero-subtitle {
  margin: 22px 0 42px;
  font-size: 26px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .92);
}

.hero-copy::after {
  content: "";
  display: block;
  width: 78px;
  height: 3px;
  margin-top: 8px;
  background: rgba(255,255,255,.72);
}

.hero-actions,
.cta-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-ghost,
.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 116px;
  height: 46px;
  padding: 0 24px;
  border-radius: 3px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

.btn-primary {
  color: #fff;
  background: #C89640;
  box-shadow: 0 12px 26px rgba(200, 150, 64, .25);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,.65);
  background: rgba(255,255,255,.08);
}

.btn-light {
  color: var(--ey-blue-dark);
  background: #fff;
}

.service-tabs {
  position: relative;
  z-index: 3;
  margin-top: -58px;
}

.service-tabs .container-layout {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.service-tabs .container-layout.service-two {
  grid-template-columns: repeat(2, 1fr);
}

.service-card {
  height: 116px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #2b3848;
  background: #fff;
  box-shadow: var(--ey-shadow);
  font-size: 22px;
}

.service-card.active {
  color: #fff;
  background: #1A5A78;
}

.service-icon {
  font-size: 31px;
  font-weight: 300;
}

.section {
  padding: 92px 0;
}

.products-section {
  background:
    linear-gradient(180deg, #E8EEF2 0%, #fff 56%);
}

.section-heading {
  margin-bottom: 42px;
  text-align: center;
}

.section-heading p,
.section-kicker,
.cta-wrap p {
  margin: 0 0 8px;
  color: var(--ey-blue);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}

.section-heading h2,
.about-copy h2,
.cta-wrap h2 {
  margin: 0;
  color: var(--ey-text);
  font-size: 34px;
  line-height: 1.35;
  font-weight: 800;
}

.section-heading span {
  display: block;
  max-width: 720px;
  margin: 14px auto 0;
  color: var(--ey-muted);
  font-size: 16px;
  line-height: 1.8;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.product-card {
  background: #fff;
  box-shadow: var(--ey-shadow);
  overflow: hidden;
}

.product-card a {
  display: block;
  color: var(--ey-text);
  text-decoration: none;
}

.product-card img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  background: #f6fbff;
}

.product-info {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  border-top: 1px solid var(--ey-border);
}

.product-info h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.product-info span {
  color: #9aa8b8;
  font-size: 38px;
  line-height: 1;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(0, 63, 132, .18);
}

.solution-section {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(18, 63, 85, .96), rgba(26, 90, 120, .9)),
    url("../images/instrument-hero.svg") center/cover no-repeat;
}

.section-heading.light h2,
.section-heading.light span {
  color: #fff;
}

.section-heading.light p {
  color: #E8EEF2;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.solution-item {
  min-height: 230px;
  padding: 34px 28px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}

.solution-item b {
  color: #C89640;
  font-size: 32px;
}

.solution-item h3 {
  margin: 24px 0 12px;
  color: #fff;
  font-size: 21px;
}

.solution-item p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.8;
}

.products-section .solution-item {
  color: var(--ey-text);
  border-color: var(--ey-border);
  background: #fff;
  box-shadow: var(--ey-shadow);
}

.products-section .solution-item h3 {
  color: var(--ey-text);
}

.products-section .solution-item p {
  color: var(--ey-muted);
}

.about-section {
  background: #fff;
}

.about-wrap {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 70px;
  align-items: center;
}

.about-copy p:not(.section-kicker) {
  margin: 22px 0;
  color: var(--ey-muted);
  font-size: 17px;
  line-height: 1.9;
}

.about-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-copy li {
  position: relative;
  margin: 14px 0;
  padding-left: 28px;
  color: #334155;
  font-size: 16px;
}

.about-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--ey-blue);
  box-shadow: 0 0 0 6px rgba(0, 91, 184, .1);
}

.about-panel {
  display: grid;
  gap: 18px;
}

.about-panel div {
  padding: 28px 34px;
  border-left: 5px solid var(--ey-blue);
  background: var(--ey-bg);
  box-shadow: 0 10px 35px rgba(0, 63, 132, .08);
}

.about-panel strong {
  display: block;
  color: var(--ey-blue-dark);
  font-size: 44px;
  line-height: 1;
}

.about-panel span {
  display: block;
  margin-top: 8px;
  color: var(--ey-muted);
  font-size: 15px;
}

.cta-section {
  padding: 58px 0;
  background: #1A5A78;
}

.cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  color: #fff;
}

.cta-wrap p,
.cta-wrap h2,
.cta-wrap span {
  color: #fff;
}

.cta-wrap span {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  color: rgba(255,255,255,.82);
}

.cta-contact-list {
  display: grid;
  gap: 8px;
  margin-top: 18px;
}

.cta-contact-list a,
.cta-contact-list span {
  display: block;
  margin: 0;
  color: rgba(255,255,255,.9);
  font-size: 15px;
}

.cta-contact-list a:hover {
  color: #fff;
}

.instrument-footer {
  padding: 62px 0 0;
  color: rgba(255,255,255,.78);
  background: #123f55;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr 1.2fr;
  gap: 50px;
}

.instrument-footer .brand-text strong {
  color: #fff;
}

.footer-brand p,
.instrument-footer p {
  margin: 16px 0 0;
  line-height: 1.8;
}

.instrument-footer h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 18px;
}

.instrument-footer a {
  display: block;
  margin: 10px 0;
  color: rgba(255,255,255,.68);
  text-decoration: none;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 48px;
  padding: 22px 0 34px;
  border-top: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.55);
}

.footer-bottom a {
  display: inline;
  margin: 0;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(18, 63, 85, .96), rgba(26, 90, 120, .86)),
    url("../images/instrument-hero.svg") center/cover no-repeat;
}

.page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 38px;
  line-height: 1.3;
}

.page-hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.8;
}

.breadcrumb-bar {
  padding: 18px 0;
  color: var(--ey-muted);
  background: #fff;
  border-bottom: 1px solid var(--ey-border);
}

.breadcrumb-bar a,
.breadcrumb-bar span {
  color: var(--ey-muted);
}

.category-strip {
  padding: 20px 0 4px;
  background: #fff;
}

.category-nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.category-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--ey-border);
  border-radius: 999px;
  color: #304156;
  background: #fff;
  text-decoration: none;
}

.category-nav a:hover,
.category-nav a.active,
.category-nav a.cur {
  color: #fff;
  border-color: var(--ey-blue);
  background: var(--ey-blue);
}

.list-section {
  padding: 56px 0 76px;
  background: var(--ey-bg);
}

.instrument-list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.instrument-product-card,
.instrument-article-card {
  background: #fff;
  box-shadow: var(--ey-shadow);
  overflow: hidden;
}

.instrument-product-card a,
.instrument-article-card a {
  color: inherit;
  text-decoration: none;
}

.instrument-product-card img,
.instrument-article-card img {
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  background: #f6fbff;
}

.instrument-card-body {
  padding: 24px 26px;
}

.instrument-card-body h2,
.instrument-card-body h3 {
  margin: 0 0 12px;
  color: var(--ey-text);
  font-size: 21px;
  line-height: 1.45;
}

.instrument-card-body p {
  margin: 0;
  color: var(--ey-muted);
  font-size: 15px;
  line-height: 1.8;
}

.instrument-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
  color: #91a0b2;
  font-size: 14px;
}

.instrument-more {
  color: var(--ey-blue);
  font-weight: 700;
}

.pagination {
  margin-top: 38px;
}

.detail-section {
  padding: 58px 0 82px;
  background: var(--ey-bg);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 42px;
  align-items: start;
}

.detail-gallery,
.detail-summary,
.content-card,
.contact-card,
.side-card {
  background: #fff;
  box-shadow: var(--ey-shadow);
}

.detail-gallery {
  padding: 28px;
}

.detail-gallery img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #f6fbff;
}

.detail-summary {
  padding: 38px 42px;
}

.detail-summary h1 {
  margin: 0;
  color: var(--ey-text);
  font-size: 34px;
  line-height: 1.35;
}

.detail-summary .summary-desc {
  margin: 18px 0 26px;
  color: var(--ey-muted);
  font-size: 16px;
  line-height: 1.9;
}

.summary-list {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.summary-list li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ey-border);
  color: #405367;
}

.summary-list span {
  min-width: 80px;
  color: var(--ey-muted);
}

.detail-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.content-card {
  margin-top: 36px;
  padding: 40px 46px;
}

.content-card h2 {
  margin: 0 0 22px;
  color: var(--ey-text);
  font-size: 28px;
}

.content-card .content,
.content-card .post-content {
  color: #334155;
  font-size: 16px;
  line-height: 1.9;
}

.content-card img {
  max-width: 100% !important;
  height: auto !important;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}

.article-main {
  padding: 44px 50px;
  background: #fff;
  box-shadow: var(--ey-shadow);
}

.article-main h1 {
  margin: 0;
  color: var(--ey-text);
  font-size: 34px;
  line-height: 1.35;
}

.article-meta {
  margin: 16px 0 28px;
  color: #94a3b8;
  font-size: 14px;
}

.article-meta span {
  margin-right: 20px;
}

.side-card {
  padding: 28px;
}

.side-card h3 {
  margin: 0 0 18px;
  color: var(--ey-text);
  font-size: 20px;
}

.side-card a {
  display: block;
  padding: 12px 0;
  color: #405367;
  border-bottom: 1px solid var(--ey-border);
  text-decoration: none;
}

.side-card a:hover {
  color: var(--ey-blue);
}

.single-section {
  padding: 64px 0 84px;
  background: #fff;
}

.single-card {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px 56px;
  background: #fff;
  box-shadow: var(--ey-shadow);
}

.contact-layout {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.contact-card {
  padding: 36px;
}

.contact-card h2 {
  margin: 0 0 24px;
  color: var(--ey-text);
  font-size: 28px;
}

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

.contact-line strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ey-blue-dark);
}

.contact-line a,
.contact-line span {
  color: #405367;
}

.instrument-form .form-group {
  margin-bottom: 18px;
}

.instrument-form input,
.instrument-form select,
.instrument-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--ey-border);
  background: #f8fbff;
  color: #334155;
}

.instrument-form textarea {
  min-height: 120px;
  padding-top: 12px;
}

.search-title {
  margin: 0 0 28px;
  color: var(--ey-text);
  font-size: 28px;
}

.search-title span {
  color: var(--ey-blue);
}

.search-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.search-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--ey-border);
}

.search-list a {
  color: var(--ey-text);
  font-size: 18px;
  text-decoration: none;
}

.search-list small {
  display: block;
  margin-top: 8px;
  color: var(--ey-muted);
}

.auth-card {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px 42px;
  text-align: center;
  background: #fff;
  box-shadow: var(--ey-shadow);
}

.auth-card p {
  margin: 18px 0 0;
  color: var(--ey-muted);
  font-size: 16px;
  line-height: 1.8;
}

.floating-sample {
  position: fixed;
  right: 24px;
  top: 46%;
  z-index: 999;
}

.floating-sample a {
  display: block;
  width: 48px;
  padding: 16px 10px;
  color: #fff;
  line-height: 1.35;
  text-align: center;
  background: var(--ey-gold);
  box-shadow: 0 14px 28px rgba(200, 150, 64, .28);
}

.sample-modal {
  box-sizing: border-box;
  width: 420px;
  max-width: 100%;
  padding: 30px;
  background: #fff;
}

.sample-modal h3 {
  margin: 0 0 18px;
  color: var(--ey-text);
  font-size: 22px;
  font-weight: 700;
}

.sample-modal input,
.sample-modal select {
  box-sizing: border-box;
  display: block;
  width: 100%;
  height: 44px;
  margin-bottom: 12px;
  padding: 0 12px;
  border: 1px solid var(--ey-border);
  color: var(--ey-text);
  background: #f8fbff;
}

.sample-modal button {
  cursor: pointer;
  width: 100%;
  height: 46px;
  border: 0;
  color: #fff;
  font-weight: 700;
  background: var(--ey-gold);
}

.sample-modal button:hover {
  background: #ad7a2f;
}

.layui-layer .sample-modal {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.layui-layer .sample-modal h3,
.layui-layer .sample-modal button {
  grid-column: 1 / -1;
}

.layui-layer .sample-modal h3,
.layui-layer .sample-modal input,
.layui-layer .sample-modal select,
.layui-layer .sample-modal button {
  margin: 0;
}

.layui-layer-content {
  overflow: visible !important;
}

@media screen and (max-width: 1180px) {
  .container-layout {
    width: auto;
    max-width: none;
    margin-left: 24px;
    margin-right: 24px;
  }

  .instrument-nav {
    gap: 18px;
  }

  .instrument-nav a {
    font-size: 15px;
  }
}

@media screen and (max-width: 960px) {
  .header-inner {
    min-height: auto;
    padding: 16px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .instrument-nav {
    width: 100%;
    justify-content: flex-start;
    gap: 14px 22px;
    flex-wrap: wrap;
  }

  .instrument-nav a {
    height: 32px;
  }

  .header-tel {
    display: none;
  }

  .hero-instrument,
  .hero-inner {
    min-height: 560px;
  }

  .hero-copy {
    width: 100%;
  }

  .service-tabs .container-layout,
  .service-tabs .container-layout.service-two,
  .product-grid,
  .instrument-list-grid,
  .solution-grid,
  .about-wrap,
  .product-detail-layout,
  .article-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

@media screen and (max-width: 640px) {
  .floating-sample {
    right: 12px;
    top: auto;
    bottom: 20px;
  }

  .floating-sample a {
    width: auto;
    padding: 12px 16px;
  }

  .sample-modal {
    width: min(420px, calc(100vw - 32px));
    padding: 22px;
  }

  .layui-layer .sample-modal {
    grid-template-columns: 1fr;
  }

  .layui-layer .sample-modal h3,
  .layui-layer .sample-modal button {
    grid-column: auto;
  }

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

  .hero-copy h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .service-tabs {
    margin-top: 0;
  }

  .service-tabs .container-layout,
  .service-tabs .container-layout.service-two,
  .product-grid,
  .instrument-list-grid,
  .solution-grid,
  .about-wrap,
  .product-detail-layout,
  .article-layout,
  .contact-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    height: 82px;
  }

  .section {
    padding: 64px 0;
  }

  .section-heading h2,
  .about-copy h2,
  .cta-wrap h2 {
    font-size: 27px;
  }

  .footer-bottom {
    flex-direction: column;
  }

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

  .page-hero h1,
  .detail-summary h1,
  .article-main h1 {
    font-size: 28px;
  }

  .detail-summary,
  .content-card,
  .article-main,
  .single-card,
  .contact-card {
    padding: 28px 22px;
  }

  .instrument-product-card img,
  .instrument-article-card img {
    height: 210px;
  }
}
