/* 全站样式：按照 Website Design.docx 的商务简约 / 科技风要求设置。 */
:root {
  --ink: #101820;
  --muted: #5f6f7a;
  --line: #dbe6ea;
  --paper: #f7fbfc;
  --white: #ffffff;
  --blue: #0597d4;
  --deep-blue: #0b4f82;
  --green: #20b050;
  --yellow: #f5bd17;
  --red: #d71920;
  --shadow: 0 22px 54px rgba(16, 24, 32, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* 顶部导航栏：固定在顶部，桌面和移动端共用。 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 8px clamp(20px, 4vw, 56px);
  background: rgba(247, 251, 252, 0.94);
  border-bottom: 1px solid rgba(219, 230, 234, 0.9);
  backdrop-filter: blur(16px);
}

.brand img {
  width: clamp(160px, 14vw, 215px);
  height: 48px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
  color: #25323b;
  font-size: 1rem;
  font-weight: 500;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 3px;
  height: 2px;
  content: "";
  background: var(--green);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.mega-menu {
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  z-index: 25;
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(220px, 300px) minmax(360px, 1fr);
  gap: 36px;
  align-items: stretch;
  padding: 34px clamp(24px, 6vw, 74px) 38px;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 22px 46px rgba(16, 24, 32, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.mega-menu::before {
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
  content: "";
}

.has-mega:hover .mega-menu,
.has-mega:focus-within .mega-menu,
.has-mega.is-open .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-menu img {
  width: 100%;
  height: 218px;
  object-fit: cover;
  background: #eef6f8;
}

.mega-platforms {
  display: grid;
  align-content: start;
}

.mega-platforms a {
  justify-content: space-between;
  min-height: 48px;
  border-bottom: 1px solid #cdd9de;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
}

.mega-platforms a[href="resources.html"] {
  display: none;
}

.mega-platforms a::before {
  content: "";
}

.mega-platforms a::after {
  position: static;
  width: auto;
  height: auto;
  margin-left: 18px;
  color: #89969e;
  background: transparent;
  content: ">";
  transform: none;
}

.mega-platforms a:hover,
.mega-platforms a:focus-visible,
.mega-platforms a.is-active {
  color: #1683f8;
}

.mega-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  align-content: start;
  gap: 18px 40px;
  padding: 18px 30px 36px;
  background: #f3f6f9;
}

.mega-links a {
  min-height: auto;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
}

.mega-links a.is-hidden {
  display: none;
}

.mega-links a::before {
  margin-right: 12px;
  color: #949ca2;
  content: "•";
}

.mega-links a::after {
  display: none;
}

.mega-links a:hover,
.mega-links a:focus-visible {
  color: #1683f8;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

/* 首页主视觉：图片来自 assets/hero-africa-dawn-no-logo.png。 */
.hero {
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: start;
  padding: clamp(30px, 4.5vw, 54px) clamp(18px, 4vw, 56px) clamp(48px, 7vw, 86px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 18, 28, 0.72) 0%, rgba(7, 18, 28, 0.45) 46%, rgba(7, 18, 28, 0.06) 100%),
    url("assets/hero-africa-dawn-no-logo.png") center / cover no-repeat;
}

.hero-overlay {
  width: min(430px, 100%);
  margin-top: 0;
}

.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(1.35rem, 2.45vw, 2.28rem);
  line-height: 1.12;
  letter-spacing: 0;
}

.hero p {
  max-width: 430px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.86rem, 1vw, 0.98rem);
}

.page-hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  line-height: 1.06;
  letter-spacing: 0;
}

.page-hero p {
  max-width: 660px;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.7vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero .button {
  min-height: 42px;
  padding: 0 18px;
  font-size: 0.9rem;
}

.page-hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 79, 130, 0.94), rgba(5, 151, 212, 0.74)),
    url("assets/hero-africa-dawn-no-logo.png") center / cover no-repeat;
}

.compact-hero .section-inner {
  padding-top: 86px;
  padding-bottom: 74px;
}

.compact-hero h1 {
  max-width: 820px;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
}

/* 通用区块：页面主体统一宽度和留白。 */
.section {
  background: var(--white);
}

.section.soft {
  background: var(--paper);
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) 0;
}

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 36px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow.light {
  color: var(--yellow);
}

h2,
h3,
p {
  margin-top: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.14;
}

p {
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  cursor: pointer;
}

.button.primary {
  color: var(--white);
  background: var(--green);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.08);
}

.text-link {
  color: var(--deep-blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* 首页使命愿景价值观卡片。 */
.principle-grid,
.product-grid,
.resource-grid,
.company-grid,
.order-layout,
.split {
  display: grid;
  gap: 24px;
}

.principle-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principle-card,
.product-card,
.resource-card,
.contact-card,
.order-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.principle-card {
  min-height: 360px;
  padding: clamp(24px, 3vw, 34px);
  border-top-width: 6px;
}

.principle-card span,
.product-type {
  display: block;
  margin-bottom: 12px;
  color: var(--deep-blue);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.accent-green {
  border-top-color: var(--green);
}

.accent-blue {
  border-top-color: var(--blue);
}

.accent-yellow {
  border-top-color: var(--yellow);
}

.split {
  grid-template-columns: minmax(280px, 0.95fr) minmax(280px, 1.05fr);
  align-items: center;
}

.summary-list {
  display: grid;
  gap: 12px;
}

.summary-list a {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--deep-blue);
  background: var(--white);
  font-weight: 900;
}

/* 产品页卡片：每张卡片包含图片、名称、描述、特点、用途和来源链接。 */
.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -4px 0 24px;
}

.product-tabs a {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--deep-blue);
  background: var(--white);
  font-size: 0.95rem;
  font-weight: 800;
}

.product-tabs a:hover,
.product-tabs a:focus-visible {
  border-color: var(--green);
  color: var(--green);
}

.catalog-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.35fr) minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
}

.category-list-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.36fr) minmax(250px, 0.34fr) minmax(420px, 1fr);
  gap: clamp(28px, 4vw, 46px);
  align-items: stretch;
}

.category-board-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(520px, 1fr);
  gap: clamp(34px, 5vw, 56px);
  align-items: stretch;
}

.category-menu-section {
  position: relative;
  z-index: 1;
  padding: 44px 0 50px;
  background: var(--white);
}

.category-menu-visual {
  min-height: 270px;
  margin: 0;
  overflow: hidden;
  background: #edf5f7;
}

.category-menu-visual img {
  width: 100%;
  height: 100%;
  min-height: 270px;
  object-fit: cover;
}

.category-board {
  display: grid;
  gap: 18px;
  align-content: start;
}

.category-board-row {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(320px, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: start;
  min-height: 130px;
  padding: 28px 34px;
  background: #f3f7fa;
}

.category-board-row h2 {
  position: relative;
  margin: 0;
  padding-right: 28px;
  color: #0078c8;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  font-weight: 900;
  line-height: 1.08;
}

.category-board-row h2::after {
  position: absolute;
  top: 0.08em;
  right: 0;
  color: #7f929d;
  content: ">";
}

.catalog-categories {
  display: grid;
  align-content: center;
  padding: 8px 0;
}

.catalog-categories a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding: 0 54px 0 54px;
  border-bottom: 1px solid var(--line);
  color: #09456f;
  font-size: clamp(1.28rem, 2.1vw, 1.55rem);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.catalog-categories a.is-active,
.catalog-categories a:hover,
.catalog-categories a:focus-visible {
  color: #0078c8;
}

.catalog-categories span {
  position: absolute;
  right: 18px;
  color: #7f929d;
  font-weight: 900;
}

.catalog-panels {
  display: grid;
  gap: 26px;
}

.catalog-panel {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f7fa;
}

.catalog-panel-heading {
  margin-bottom: 20px;
}

.catalog-panel-heading h2 {
  max-width: 760px;
  font-size: clamp(1.35rem, 2.4vw, 2.2rem);
}

.catalog-product-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.catalog-product {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 116px;
  padding: 14px;
  border: 1px solid #dbe6eb;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  font-weight: 800;
}

.catalog-product img {
  width: 112px;
  height: 84px;
  border-radius: 6px;
  object-fit: contain;
  background: #edf5f7;
}

.catalog-product.empty {
  grid-template-columns: 1fr;
  color: var(--deep-blue);
}

.category-list-panel {
  min-height: 270px;
  padding: 28px 36px;
  background: #f3f7fa;
}

.category-list-panel.align-second-category {
  min-height: 142px;
  margin-top: 135px;
}

.pipeline-category-panel .category-link-list + .category-link-list {
  margin-top: 70px;
}

.category-link-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 24px 72px;
  align-content: start;
}

.category-link-list + .category-link-list {
  margin-top: 24px;
}

.category-link-list a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  color: var(--ink);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
  line-height: 1.35;
}

.category-link-list a::before {
  color: #909ba2;
  content: "•";
}

.category-link-list a:hover,
.category-link-list a:focus-visible {
  color: #1683f8;
}

.product-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
}

.product-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: #edf5f7;
}

.product-copy {
  padding: clamp(22px, 3vw, 30px);
}

.product-copy h4 {
  margin-top: 18px;
  color: var(--deep-blue);
  font-size: 1rem;
}

.product-copy ul {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding-left: 20px;
  color: var(--muted);
}

.featured-product img {
  object-fit: contain;
  padding: 16px;
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 20px;
}

.spec-list span {
  display: block;
  padding: 9px 12px;
  border-left: 3px solid var(--green);
  color: var(--deep-blue);
  background: #f1f8f4;
  font-size: 0.93rem;
  line-height: 1.35;
}

.placeholder {
  border-style: dashed;
}

/* 资源页占位卡片。 */
/* 产品详情页：每个产品单独页面，包含图片、说明、特点、用途和资料链接。 */
.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1.1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.product-detail-media {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #eef6f8;
  box-shadow: var(--shadow);
}

.product-detail-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 20px;
}

.product-detail-copy h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.9rem);
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.detail-list li {
  padding: 14px 16px;
  border-left: 4px solid var(--green);
  background: #f1f8f4;
  color: var(--deep-blue);
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-actions .button {
  min-height: 44px;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.stat-strip div {
  padding: 14px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6fbfc;
}

.stat-strip strong {
  display: block;
  color: var(--deep-blue);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1;
}

.stat-strip span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.85rem;
}

.feature-showcase {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1fr) minmax(280px, 0.8fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}

.feature-showcase.reverse {
  grid-template-columns: minmax(260px, 0.7fr) minmax(320px, 1fr) minmax(280px, 0.8fr);
}

.section-visual,
.feature-visual {
  margin: 0 0 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #f7fbfc;
  box-shadow: var(--shadow);
}

.section-visual img,
.feature-visual img {
  width: 100%;
  height: auto;
}

.feature-visual {
  margin-bottom: 0;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.section:not(.soft) .feature-list div {
  background: #f7fbfc;
}

.feature-list strong {
  display: block;
  margin-bottom: 6px;
  color: var(--deep-blue);
}

.feature-list span {
  color: var(--muted);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.detail-card {
  min-height: 220px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.detail-card h3 {
  font-size: 1.15rem;
}

.detail-card .card-image {
  width: 100%;
  aspect-ratio: 16 / 7;
  margin: 4px 0 16px;
  border-radius: 8px;
  object-fit: cover;
  background: #eef6f8;
}

.detail-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.spec-table {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
}

.spec-table div {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(220px, 0.55fr);
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
}

.spec-table div:last-child {
  border-bottom: 0;
}

.spec-table strong {
  color: var(--deep-blue);
}

.spec-table span {
  color: var(--muted);
}

.resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.resource-card {
  min-height: 320px;
  padding: 28px;
}

.resource-card h2 {
  margin-bottom: 10px;
  font-size: clamp(1.05rem, 1.35vw, 1.25rem);
  line-height: 1.22;
}

.resource-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green);
  font-weight: 900;
}

.resource-card a {
  display: block;
  margin-top: 12px;
  color: var(--deep-blue);
  font-weight: 900;
}

/* 订单表单：当前为静态演示，不发送真实请求。 */
.order-layout,
.company-grid {
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  align-items: start;
}

.contact-panel,
.contact-card {
  padding: clamp(24px, 4vw, 36px);
}

.contact-card h2 {
  margin-bottom: 18px;
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  line-height: 1.08;
}

.small-note {
  padding: 14px 16px;
  border-left: 4px solid var(--yellow);
  background: #fff8df;
  color: #4d4631;
  font-size: 0.94rem;
}

.order-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: clamp(22px, 4vw, 34px);
}

label {
  display: grid;
  gap: 7px;
  color: #25323b;
  font-size: 0.86rem;
  font-weight: 900;
}

.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #c8d6dc;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(5, 151, 212, 0.22);
  border-color: var(--blue);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--deep-blue);
  font-weight: 900;
}

/* 公司页联系信息和地图。 */
.values-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.about-content {
  display: grid;
  gap: 34px;
}

.about-section {
  display: grid;
  gap: 12px;
}

.about-section h2 {
  margin-bottom: 4px;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
}

.about-section h3 {
  margin: 10px 0 0;
  color: var(--deep-blue);
  font-size: 1.08rem;
}

.about-list {
  display: grid;
  gap: 8px;
  margin: 0 0 6px;
  padding-left: 22px;
  color: var(--muted);
}

.values-list div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.values-list span {
  color: var(--muted);
}

address {
  margin-bottom: 22px;
  color: var(--muted);
  font-style: normal;
}

iframe {
  width: 100%;
  min-height: 320px;
  margin-top: 24px;
  border: 0;
  border-radius: 8px;
}

/* 底部版权栏：所有页面共用。 */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.78);
  background: var(--ink);
}

.site-footer img {
  width: 230px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 8px;
}

.site-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer .footer-contact {
  text-align: center;
}

.site-footer .footer-contact p {
  margin: 0;
  line-height: 1.6;
}

.site-footer .footer-contact a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer .footer-contact a:hover {
  color: var(--green);
}

/* 平板适配：两列内容改为单列，避免文字拥挤。 */
@media (max-width: 980px) {
  .principle-grid,
  .product-grid,
  .product-grid.three,
  .product-detail,
  .detail-grid,
  .feature-showcase,
  .feature-showcase.reverse,
  .resource-grid,
  .company-grid,
  .order-layout,
  .split,
  .catalog-layout,
  .category-list-layout,
  .category-board-layout,
  .category-board-row {
    grid-template-columns: 1fr;
  }

  .catalog-product-list {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 680px;
  }
}

/* 手机适配：导航变为可展开菜单，表单改为单列。 */
@media (max-width: 720px) {
  .site-header {
    min-height: 66px;
    padding: 8px 14px;
  }

  .brand img {
    width: 132px;
    height: 42px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 18px 18px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 36px rgba(16, 24, 32, 0.1);
  }

  .site-nav.open {
    display: grid;
  }

  .site-nav a {
    min-height: 44px;
    border-bottom: 1px solid var(--line);
  }

  .nav-item {
    display: grid;
    min-height: auto;
  }

  .mega-menu {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 10px 0 14px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .mega-menu img {
    display: none;
  }

  .mega-platforms,
  .mega-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
    background: transparent;
  }

  .mega-platforms a,
  .mega-links a {
    min-height: 38px;
    padding-left: 14px;
    color: var(--muted);
    font-size: 0.92rem;
    border-bottom: 1px solid #edf3f5;
  }

  .hero {
    min-height: 620px;
    padding: 30px 18px 56px;
  }

  .hero-overlay {
    width: min(330px, 100%);
    margin-top: 0;
  }

  .hero h1 {
    font-size: clamp(1.3rem, 6.5vw, 2rem);
  }

  .page-hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.7rem);
  }

  .section-inner {
    width: min(100% - 28px, 1180px);
  }

  .order-form {
    grid-template-columns: 1fr;
  }

  .catalog-panel {
    padding: 20px;
  }

  .category-list-panel {
    min-height: auto;
    padding: 22px;
  }

  .category-list-panel.align-second-category {
    margin-top: 0;
  }

  .category-link-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .catalog-product {
    grid-template-columns: 92px 1fr;
    min-height: 100px;
  }

  .catalog-product img {
    width: 92px;
    height: 70px;
  }

  .stat-strip,
  .spec-table div {
    grid-template-columns: 1fr;
  }

  .values-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    display: grid;
  }
}
.video-visual video {
  display: block;
  width: 100%;
  max-height: 520px;
  background: #101820;
  border-radius: 8px;
}

/* Product education pages: LH and cardiac marker updates. */
.product-hero {
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(11, 79, 130, 0.92) 0%, rgba(9, 83, 116, 0.82) 50%, rgba(250, 252, 253, 0.18) 100%),
    url("assets/hero-africa-dawn-no-logo.png") center / cover no-repeat;
}

.product-hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(320px, 0.85fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
}

.product-hero h1 {
  max-width: 820px;
  font-size: clamp(2.25rem, 4.9vw, 4.7rem);
  line-height: 0.98;
}

.product-hero p {
  max-width: 720px;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.92rem;
  font-weight: 900;
}

.hero-product-image {
  margin: 0;
  padding: clamp(16px, 2.5vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
}

.hero-product-image img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}

.clean-media img {
  padding: 0;
  object-fit: cover;
}

.evidence-grid,
.counsel-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 5vw, 66px);
  align-items: start;
}

.insight-list,
.marker-stack {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.insight-list div,
.marker-stack div {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: var(--white);
}

.marker-stack div:nth-child(2) {
  border-left-color: var(--yellow);
}

.marker-stack div:nth-child(3) {
  border-left-color: #a63f52;
}

.insight-list strong,
.marker-stack strong {
  color: var(--deep-blue);
  font-size: 1rem;
}

.insight-list span,
.marker-stack span {
  color: var(--muted);
}

.chart-card,
.mini-table-card {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.chart-card h3,
.mini-table-card h3 {
  color: var(--deep-blue);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.chart-card svg {
  width: 100%;
  margin: 8px 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.workflow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 28px;
}

.workflow div {
  min-height: 220px;
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.workflow strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: var(--white);
  background: var(--green);
  font-size: 1.05rem;
}

.cardiac-workflow strong {
  background: #a63f52;
}

.workflow span {
  display: block;
  margin-bottom: 8px;
  color: var(--deep-blue);
  font-size: 1.1rem;
  font-weight: 900;
}

.workflow p {
  margin: 0;
  font-size: 0.96rem;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.result-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.result-card h3 {
  font-size: 1.22rem;
}

.result-card.positive h3 {
  color: #bb2d3b;
}

.result-card.negative h3 {
  color: var(--deep-blue);
}

.result-card.invalid h3 {
  color: #b8860b;
}

.cassette-visual {
  position: relative;
  height: 96px;
  margin: 16px 0;
  border: 1px solid #cbd8de;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f4f8fa);
}

.cassette-visual::before {
  position: absolute;
  left: 24px;
  top: 31px;
  width: 34px;
  height: 34px;
  border: 2px solid #d1dde2;
  border-radius: 50%;
  color: #7a8b94;
  content: "S";
  display: grid;
  place-items: center;
  font-weight: 900;
}

.cassette-visual::after {
  position: absolute;
  right: 22px;
  top: 24px;
  width: 130px;
  height: 46px;
  border: 1px solid #d1dde2;
  border-radius: 8px;
  background: #fff;
  content: "";
}

.cassette-visual span {
  position: absolute;
  z-index: 2;
  top: 9px;
  color: #667780;
  font-size: 0.72rem;
  font-weight: 900;
}

.cassette-visual span:first-child { right: 122px; }
.cassette-visual span:nth-child(2) { right: 58px; }

.two-lines::before,
.one-line::before,
.no-control::before,
.cardiac-lines::before {
  box-shadow: none;
}

.two-lines.strong-t {
  background:
    linear-gradient(90deg, transparent calc(100% - 137px), #bb2d3b calc(100% - 137px), #bb2d3b calc(100% - 132px), transparent calc(100% - 132px), transparent calc(100% - 72px), #bb2d3b calc(100% - 72px), #bb2d3b calc(100% - 67px), transparent calc(100% - 67px)),
    linear-gradient(180deg, #ffffff, #f4f8fa);
}

.one-line.faint-t {
  background:
    linear-gradient(90deg, transparent calc(100% - 137px), rgba(187,45,59,.28) calc(100% - 137px), rgba(187,45,59,.28) calc(100% - 134px), transparent calc(100% - 134px), transparent calc(100% - 72px), #1a3a5c calc(100% - 72px), #1a3a5c calc(100% - 67px), transparent calc(100% - 67px)),
    linear-gradient(180deg, #ffffff, #f4f8fa);
}

.no-control {
  background: linear-gradient(180deg, #ffffff, #f4f8fa);
}

.cardiac-lines span:first-child { right: 154px; }
.cardiac-lines span:nth-child(2) { right: 125px; }
.cardiac-lines span:nth-child(3) { right: 96px; }
.cardiac-lines span:nth-child(4) { right: 58px; }

.positive-lines {
  background:
    linear-gradient(90deg, transparent calc(100% - 167px), #a63f52 calc(100% - 167px), #a63f52 calc(100% - 162px), transparent calc(100% - 162px), transparent calc(100% - 138px), #a63f52 calc(100% - 138px), #a63f52 calc(100% - 133px), transparent calc(100% - 133px), transparent calc(100% - 109px), #a63f52 calc(100% - 109px), #a63f52 calc(100% - 104px), transparent calc(100% - 104px), transparent calc(100% - 72px), #a63f52 calc(100% - 72px), #a63f52 calc(100% - 67px), transparent calc(100% - 67px)),
    linear-gradient(180deg, #ffffff, #f4f8fa);
}

.negative-lines {
  background:
    linear-gradient(90deg, transparent calc(100% - 72px), #1a3a5c calc(100% - 72px), #1a3a5c calc(100% - 67px), transparent calc(100% - 67px)),
    linear-gradient(180deg, #ffffff, #f4f8fa);
}

.invalid-lines {
  background: linear-gradient(180deg, #ffffff, #f4f8fa);
}

.value-card {
  position: relative;
  overflow: hidden;
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--deep-blue);
  font-weight: 900;
}

.mini-table-card table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 8px;
}

.mini-table-card th {
  padding: 10px 12px;
  color: var(--white);
  background: var(--deep-blue);
  font-size: 0.86rem;
  text-align: left;
}

.mini-table-card td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-table-card tr:nth-child(even) td {
  background: #f4f8fa;
}

.mini-table-card p {
  margin: 14px 0 0;
  font-size: 0.95rem;
}

.cardiac-hero {
  background:
    linear-gradient(100deg, rgba(26, 58, 92, 0.94) 0%, rgba(120, 48, 65, 0.84) 58%, rgba(250, 252, 253, 0.18) 100%),
    url("assets/hero-africa-dawn-no-logo.png") center / cover no-repeat;
}

@media (max-width: 980px) {
  .product-hero-grid,
  .evidence-grid,
  .counsel-layout,
  .workflow,
  .result-grid {
    grid-template-columns: 1fr;
  }

  .hero-product-image img {
    max-height: 300px;
  }

  .workflow div {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .product-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .hero-badges span {
    width: 100%;
    justify-content: center;
  }

  .chart-card,
  .mini-table-card,
  .result-card {
    padding: 18px;
  }

  .mini-table-card th,
  .mini-table-card td {
    padding: 8px 7px;
    font-size: 0.8rem;
  }
}

.two-lines.strong-t::after {
  background:
    linear-gradient(90deg, transparent 24%, #bb2d3b 24%, #bb2d3b 29%, transparent 29%, transparent 74%, #bb2d3b 74%, #bb2d3b 79%, transparent 79%),
    #ffffff;
}

.one-line.faint-t::after {
  background:
    linear-gradient(90deg, transparent 24%, rgba(187,45,59,.26) 24%, rgba(187,45,59,.26) 27%, transparent 27%, transparent 74%, #1a3a5c 74%, #1a3a5c 79%, transparent 79%),
    #ffffff;
}

.positive-lines::after {
  background:
    linear-gradient(90deg, transparent 12%, #a63f52 12%, #a63f52 16%, transparent 16%, transparent 33%, #a63f52 33%, #a63f52 37%, transparent 37%, transparent 54%, #a63f52 54%, #a63f52 58%, transparent 58%, transparent 78%, #a63f52 78%, #a63f52 82%, transparent 82%),
    #ffffff;
}

.negative-lines::after {
  background:
    linear-gradient(90deg, transparent 78%, #1a3a5c 78%, #1a3a5c 82%, transparent 82%),
    #ffffff;
}

.product-detail-text-only {
  grid-template-columns: 1fr;
  max-width: 980px;
}

.product-detail-text-only .product-detail-copy h2,
.product-detail-text-only .product-detail-copy p {
  max-width: 880px;
}

/* Mega menu row alignment for current and future categories. */
.mega-menu {
  --menu-active-offset: 0px;
  align-items: start;
}

.mega-platforms a {
  min-height: 60px;
  padding: 0 0 0 0;
  line-height: 1.22;
}

.mega-links {
  padding: var(--menu-active-offset, 0px) 30px 36px;
  gap: 0 40px;
  transition: padding-top 120ms ease;
}

.mega-links a {
  display: flex;
  align-items: center;
  min-height: 60px;
  line-height: 1.32;
}

.mega-links a::before {
  flex: 0 0 auto;
}

/* Corrected mega-menu alignment: product groups sit on the same row as their category. */
.mega-platforms {
  grid-auto-rows: 62px;
}

.mega-platforms a {
  min-height: 62px;
  padding: 0;
  align-items: center;
  line-height: 1.2;
}

.mega-links {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: 62px;
  gap: 0;
  padding: 0 30px 36px;
  align-content: start;
}

.mega-link-group {
  display: none;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 0 40px;
  min-height: 62px;
  align-items: center;
}

.mega-link-group.is-active {
  display: grid;
}

.mega-link-group[data-menu-group="devices"] {
  grid-row: 1;
}

.mega-link-group[data-menu-group="ivd"] {
  grid-row: 1;
}

.mega-platforms a[data-menu-group="devices"] + a[data-menu-group="ivd"] ~ *,
.mega-menu[aria-label="Pipeline category menu"] .mega-link-group[data-menu-group="ivd"] {
  grid-row: 2;
}

.mega-link-group a {
  display: flex;
  align-items: center;
  min-height: 62px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.32;
}

.mega-link-group a::before {
  flex: 0 0 auto;
  margin-right: 12px;
  color: #949ca2;
  content: "•";
}

.mega-link-group a:hover,
.mega-link-group a:focus-visible {
  color: #1683f8;
}

.mega-links > a {
  display: none;
}


/* 2026-07-19 professional healthcare marketing optimization layer. */
:root {
  --brand-blue: #075c8f;
  --brand-blue-2: #0a7cb7;
  --brand-green: #1e9f5a;
  --brand-mint: #eaf7f1;
  --brand-sky: #e9f5fb;
  --warm-accent: #f3b51d;
  --soft-ink: #17212b;
  --soft-muted: #526472;
  --card-line: #d8e5ea;
  --quiet-shadow: 0 18px 44px rgba(20, 48, 68, 0.1);
}

body {
  color: var(--soft-ink);
  background: #f6fafb;
  font-family: Arial, Helvetica, sans-serif;
}

.site-header {
  background: rgba(248, 252, 253, 0.96);
}

.hero {
  min-height: calc(100dvh - 76px);
  align-items: start;
  padding-top: clamp(54px, 7vw, 90px);
  background:
    linear-gradient(90deg, rgba(3, 18, 30, 0.72) 0%, rgba(6, 37, 58, 0.46) 44%, rgba(6, 37, 58, 0.08) 100%),
    url("assets/hero-africa-dawn-no-logo.png") center / cover no-repeat;
}

.hero-overlay {
  width: min(620px, 100%);
}

.hero-kicker {
  margin: 0 0 16px;
  color: #f8ca3d;
  font-size: clamp(0.82rem, 1.1vw, 0.98rem);
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 580px;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 5.2vw, 5.2rem);
  line-height: 0.98;
}

.hero p:not(.hero-kicker) {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  line-height: 1.55;
}

.hero .hero-actions {
  margin-top: 28px;
}

.button {
  border-radius: 10px;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--brand-green);
  box-shadow: 0 12px 30px rgba(30, 159, 90, 0.24);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.section-inner {
  width: min(1160px, calc(100% - 44px));
  padding: clamp(58px, 7vw, 92px) 0;
}

.section-heading h2,
.catalog-title-row h2 {
  max-width: 840px;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 1.04;
}

.section-heading p:not(.eyebrow) {
  max-width: 700px;
  font-size: 1.08rem;
  line-height: 1.65;
}

.home-product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.home-product-card,
.directory-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.55fr) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--card-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--quiet-shadow);
}

.home-product-card img,
.directory-card img {
  width: 100%;
  height: 210px;
  object-fit: contain;
  border-radius: 12px;
  background: linear-gradient(135deg, #f5fafc, #edf6fa);
}

.home-product-card span,
.directory-card-body span {
  display: block;
  margin-bottom: 10px;
  color: var(--brand-blue-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-product-card h3,
.directory-card h3 {
  margin-bottom: 12px;
  color: var(--soft-ink);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.1;
}

.home-product-card p,
.directory-card p {
  margin-bottom: 18px;
  color: var(--soft-muted);
  font-size: 1rem;
  line-height: 1.58;
}

.home-product-card a,
.directory-card-body > a {
  color: var(--brand-blue);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.support-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}

.support-list {
  display: grid;
  gap: 14px;
}

.support-list div {
  padding: 22px 24px;
  border: 1px solid var(--card-line);
  border-left: 5px solid var(--brand-green);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(20, 48, 68, 0.06);
}

.support-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-blue);
  font-size: 1.08rem;
}

.support-list span {
  color: var(--soft-muted);
  line-height: 1.58;
}

.principle-card,
.product-card,
.resource-card,
.contact-card,
.order-form,
.chart-card,
.mini-table-card,
.detail-card,
.result-card {
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(20, 48, 68, 0.08);
}

.catalog-hero {
  background:
    linear-gradient(90deg, rgba(245, 250, 252, 0.98), rgba(234, 247, 241, 0.92)),
    url("assets/hero-africa-dawn-no-logo.png") center / cover no-repeat;
}

.pipeline-catalog-hero {
  background:
    linear-gradient(90deg, rgba(245, 250, 252, 0.98), rgba(233, 245, 251, 0.92)),
    url("assets/hero-africa-dawn-no-logo.png") center / cover no-repeat;
}

.catalog-hero-inner {
  min-height: 330px;
  display: grid;
  align-items: center;
}

.catalog-hero h1 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--soft-ink);
  font-size: clamp(2.3rem, 4.6vw, 4.4rem);
  line-height: 0.98;
}

.catalog-hero p:not(.eyebrow) {
  max-width: 680px;
  color: var(--soft-muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.58;
}

.catalog-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
}

.product-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.product-directory-grid.single-row {
  grid-template-columns: minmax(0, 0.5fr);
}

.directory-card {
  align-items: stretch;
}

.directory-card-body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.directory-card ul {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding-left: 18px;
  color: var(--soft-muted);
}

.directory-card-body > a {
  margin-top: auto;
}

.product-hero {
  background:
    linear-gradient(100deg, rgba(7, 92, 143, 0.92) 0%, rgba(9, 124, 183, 0.72) 54%, rgba(245, 250, 252, 0.28) 100%),
    url("assets/hero-africa-dawn-no-logo.png") center / cover no-repeat;
}

.cardiac-hero {
  background:
    linear-gradient(100deg, rgba(7, 92, 143, 0.94) 0%, rgba(12, 97, 133, 0.78) 58%, rgba(245, 250, 252, 0.24) 100%),
    url("assets/hero-africa-dawn-no-logo.png") center / cover no-repeat;
}

.product-hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.85fr);
}

.product-hero h1 {
  font-size: clamp(2.55rem, 4.7vw, 4.45rem);
  line-height: 1.02;
  overflow-wrap: anywhere;
}

.product-hero p {
  color: rgba(255, 255, 255, 0.92);
}

.hero-product-image {
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
}

.hero-badges span {
  min-width: 0;
  max-width: 100%;
  white-space: normal;
}

@media (max-width: 980px) {
  .home-product-grid,
  .support-layout,
  .product-directory-grid,
  .product-directory-grid.single-row,
  .product-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-product-card,
  .directory-card {
    grid-template-columns: minmax(160px, 0.45fr) minmax(0, 1fr);
  }

  .catalog-title-row {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  html,
  body {
    overflow-x: hidden;
  }

  .section-inner {
    width: min(100% - 28px, 1160px);
    padding: 46px 0;
  }

  .hero {
    min-height: 680px;
    padding: 44px 18px 56px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.2rem);
  }

  .hero p:not(.hero-kicker) {
    font-size: 1.02rem;
  }

  .hero-actions .button {
    width: 100%;
  }

  .home-product-card,
  .directory-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .home-product-card img,
  .directory-card img {
    height: 190px;
  }

  .catalog-hero-inner {
    min-height: 260px;
  }

  .catalog-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .product-hero {
    overflow: hidden;
  }

  .compact-hero .section-inner {
    padding-top: 46px;
    padding-bottom: 46px;
  }

  .product-hero-grid {
    gap: 24px;
  }

  .product-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 9.4vw, 2.9rem);
    line-height: 1.06;
  }

  .product-hero p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero-badges span {
    justify-content: center;
    width: 100%;
  }

  .hero-product-image {
    padding: 14px;
  }

  .hero-product-image img {
    max-height: 230px;
  }

  .workflow,
  .result-grid,
  .evidence-grid,
  .counsel-layout {
    grid-template-columns: 1fr;
  }

  .chart-card,
  .mini-table-card,
  .result-card,
  .detail-card {
    padding: 18px;
  }
}


/* Mobile title safety pass after screenshot review. */
@media (max-width: 720px) {
  .product-hero .section-inner {
    width: calc(100% - 28px);
    max-width: 100%;
  }

  .product-hero h1 {
    width: 100%;
    max-width: 20ch;
    font-size: clamp(1.72rem, 7.6vw, 2.28rem);
    line-height: 1.08;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .cardiac-hero h1 {
    max-width: 19ch;
    font-size: clamp(1.64rem, 7.2vw, 2.18rem);
  }

  .product-hero p {
    max-width: 32ch;
  }
}


/* Final polish after visual review. */
.hero {
  min-height: clamp(640px, 82dvh, 820px);
}

.catalog-title-row .button {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  background: #fff;
}

.catalog-title-row .button:hover,
.catalog-title-row .button:focus-visible {
  border-color: var(--brand-green);
  color: var(--brand-green);
  box-shadow: 0 10px 24px rgba(30, 159, 90, 0.12);
}

@media (max-width: 720px) {
  .hero {
    min-height: 640px;
  }
}


/* Homepage hero quieting per review comments. */
.hero-overlay {
  width: min(520px, 100%);
}

.hero h1 {
  max-width: 500px;
  font-size: clamp(1.9rem, 3.1vw, 3.15rem);
  line-height: 1.08;
  opacity: 0.92;
}

.hero p:not(.hero-kicker) {
  max-width: 460px;
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  opacity: 0.9;
}

@media (max-width: 720px) {
  .hero h1 {
    max-width: 12.5ch;
    font-size: clamp(1.85rem, 8vw, 2.45rem);
  }

  .hero p:not(.hero-kicker) {
    max-width: 30ch;
    font-size: 1rem;
  }
}


/* Homepage hero text should stay quiet and single-line on tablet/desktop. */
.hero-overlay {
  width: min(900px, calc(100% - 88px));
}

.hero h1 {
  max-width: none;
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1.15;
  white-space: nowrap;
}

.hero p:not(.hero-kicker) {
  max-width: none;
  font-size: clamp(0.88rem, 1.15vw, 1.05rem);
  line-height: 1.45;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .hero-overlay {
    width: min(100%, 520px);
  }

  .hero h1,
  .hero p:not(.hero-kicker) {
    max-width: 100%;
    white-space: normal;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 7vw, 2.05rem);
  }
}

/* 首页 “In Africa, For Africa” 总解决方案展示区块。 */
.africa-banner {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.africa-headline {
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
}

.africa-line {
  display: inline-block;
  color: var(--ink);
}

.africa-line-accent {
  position: relative;
  color: var(--deep-blue);
  padding: 0 6px;
}

.africa-line-accent::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 6%;
  bottom: -10px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    var(--green) 0%,
    var(--green) 25%,
    var(--blue) 25%,
    var(--blue) 50%,
    var(--yellow) 50%,
    var(--yellow) 75%,
    var(--red) 75%,
    var(--red) 100%
  );
}

.africa-sub {
  margin-top: 18px;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 24px);
}

.solution-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: clamp(24px, 2.4vw, 34px) clamp(18px, 1.8vw, 26px);
  background: var(--white);
  border: 1px solid var(--line);
  border-top-width: 6px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.solution-card::before {
  content: "";
  position: absolute;
  inset: auto -40% -60% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  opacity: 0.08;
  z-index: 0;
}

.solution-card > * {
  position: relative;
  z-index: 1;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 64px rgba(16, 24, 32, 0.16);
}

.solution-icon {
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.solution-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.solution-card h3 {
  margin: 0;
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.solution-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.solution-step {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--white);
  background: var(--deep-blue);
  align-self: center;
}

.solution-product {
  border-top-color: var(--green);
}
.solution-product::before {
  background: var(--green);
}
.solution-product .solution-step {
  background: var(--green);
}

.solution-training {
  border-top-color: var(--blue);
}
.solution-training::before {
  background: var(--blue);
}
.solution-training .solution-step {
  background: var(--blue);
}

.solution-education {
  border-top-color: var(--yellow);
}
.solution-education::before {
  background: var(--yellow);
}
.solution-education .solution-step {
  background: #c69200;
}

.solution-support {
  border-top-color: var(--red);
}
.solution-support::before {
  background: var(--red);
}
.solution-support .solution-step {
  background: var(--red);
}

@media (max-width: 1024px) {
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .solution-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .africa-headline {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }
}


/* ============================================================
   Mobile polish: small-phone refinements (added pass)
   Tested at 390px (iPhone 14), 360px (Android baseline)
   ============================================================ */

/* Prevent horizontal overscroll bounce on iOS */
html, body {
  overflow-x: hidden;
}

/* Tablet portrait (820-981px) — between desktop and phone */
@media (max-width: 980px) {
  .hero {
    min-height: 540px;
  }
  .page-hero {
    padding: 60px 0 48px;
  }
  .africa-headline {
    font-size: clamp(1.9rem, 5.5vw, 3rem);
  }
}

/* Phone (≤720px) — tighter hero, smaller headings */
@media (max-width: 720px) {
  .hero {
    min-height: 460px;
    padding: 32px 18px 40px;
  }
  .hero-overlay {
    width: min(100%, 360px);
  }
  .hero h1 {
    font-size: clamp(1.45rem, 5.8vw, 2rem);
    line-height: 1.18;
  }
  .hero p:not(.hero-kicker) {
    font-size: clamp(0.95rem, 3.4vw, 1.05rem);
    line-height: 1.45;
  }
  .page-hero {
    padding: 48px 0 36px;
  }
  .page-hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.3rem);
    line-height: 1.18;
  }
  .page-hero p {
    font-size: clamp(0.95rem, 3.4vw, 1.05rem);
  }
  .section-inner {
    width: min(100% - 24px, 1180px);
  }
  /* Africa banner: keep dramatic size on phone but tighten gap */
  .africa-headline {
    font-size: clamp(1.85rem, 8vw, 2.5rem);
    gap: 2px;
  }
  .africa-line-accent::after {
    height: 3px;
    bottom: -8px;
  }
  /* Solution cards: tighter padding */
  .solution-card {
    padding: 22px 18px;
  }
  .solution-icon {
    width: 72px;
    height: 72px;
  }
  /* Principle cards (Mission/Vision/Value): reduce min-height */
  .principle-card {
    min-height: auto;
    padding: 22px;
  }
  /* Footer: stack columns */
  .site-footer {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }
  .site-footer > div:first-child img {
    margin: 0;
  }
  /* Product detail image: leave more breathing room */
  .product-detail-media {
    margin-bottom: 4px;
  }
  /* Order form: tighter spacing */
  .order-form {
    gap: 14px;
    padding: 22px;
  }
  .order-form label {
    gap: 6px;
  }
  /* Touch target: ensure 44px min on all interactive */
  .site-nav a,
  .button,
  .summary-list a,
  .category-link-list a {
    min-height: 44px;
  }
  /* Resource grid: slightly tighter */
  .resource-card {
    padding: 22px;
  }
}

/* Very small phones (≤380px) */
@media (max-width: 380px) {
  .hero {
    min-height: 420px;
  }
  .africa-headline {
    font-size: 1.7rem;
  }
  .africa-sub {
    font-size: 0.95rem;
  }
  .section-inner {
    width: calc(100% - 16px);
  }
  .site-header {
    padding: 6px 10px;
  }
  .brand img {
    width: 116px;
    height: 38px;
  }
}

/* Desktop nav visible, mobile toggle hidden — explicit guards */
@media (min-width: 721px) {
  .nav-toggle {
    display: none !important;
  }
  .site-nav {
    display: flex !important;
  }
}

/* Print: keep simple */
@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
  .hero { min-height: auto; }
}
