:root {
  --ink: #162d34;
  --muted: #5f7378;
  --paper: #fffaf1;
  --surface: #ffffff;
  --aqua: #0f9ca4;
  --aqua-dark: #08727c;
  --mint: #d8f0df;
  --amber: #f5b84b;
  --coral: #ef7c62;
  --line: rgba(22, 45, 52, 0.14);
  --shadow: 0 24px 70px rgba(34, 63, 68, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Serif TC", "Microsoft JhengHei", "PingFang TC", serif;
  line-height: 1.75;
  background:
    repeating-linear-gradient(90deg, rgba(15, 156, 164, 0.045) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(245, 184, 75, 0.04) 0 1px, transparent 1px 72px),
    linear-gradient(180deg, #fffdf8 0%, #f6fbf8 46%, #fffaf1 100%);
}

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;
  padding: 14px clamp(18px, 5vw, 72px);
  background: rgba(255, 250, 241, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand img {
  width: 178px;
  border-radius: 6px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.6vw, 34px);
  color: var(--muted);
  font-size: 15px;
}

.site-nav a:hover {
  color: var(--aqua-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.76fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: clamp(42px, 7vw, 92px) clamp(18px, 5vw, 72px) 48px;
}

.hero::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.9) 42%, rgba(255, 253, 248, 0.22) 72%, rgba(255, 253, 248, 0.68) 100%),
    url("assets/hero-consultation.png") right center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(90deg, rgba(15, 156, 164, 0.05) 0 1px, transparent 1px 72px),
    linear-gradient(180deg, transparent 0%, rgba(216, 240, 223, 0.2) 100%);
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--aqua-dark);
  font-family: "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.25;
}

.hero-text,
.section-heading p,
.product-copy p,
.case-copy p,
.security-section p,
.contact-copy p {
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-family: "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--aqua), var(--aqua-dark));
  box-shadow: 0 14px 28px rgba(15, 156, 164, 0.25);
}

.button.ghost {
  color: var(--aqua-dark);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(15, 156, 164, 0.3);
}

.hero-visual {
  position: relative;
  min-height: clamp(260px, 36vw, 500px);
}

.hero-ai {
  display: none;
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.proof-strip div {
  padding: 28px;
  background: rgba(255, 255, 255, 0.76);
}

.proof-strip strong {
  display: block;
  margin-bottom: 6px;
  color: var(--aqua-dark);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.proof-strip span {
  color: var(--muted);
}

.section {
  padding: clamp(72px, 9vw, 126px) clamp(18px, 5vw, 72px);
}

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

.section-heading.compact {
  max-width: 720px;
}

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

.metric-card {
  min-height: 250px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.76);
}

.metric-card span {
  color: var(--muted);
  font-family: "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-weight: 700;
}

.metric-card strong {
  display: block;
  margin: 26px 0 18px;
  color: var(--aqua-dark);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.metric-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.metric-card.accent {
  background: linear-gradient(160deg, rgba(245, 184, 75, 0.22), rgba(255, 255, 255, 0.85));
}

.product-section,
.security-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

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

.feature-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-size: 18px;
}

.feature-list li::before {
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 12px;
  height: 12px;
  content: "";
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 6px rgba(245, 184, 75, 0.18);
}

.screen-stack {
  display: grid;
  gap: 18px;
}

.screen-stack figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.screen-stack img {
  background: #fff;
}

.screen-stack img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.screen-stack figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 12px;
  color: #fff;
  border-radius: 8px;
  font-family: "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: 14px;
  font-weight: 700;
  background: rgba(8, 114, 124, 0.9);
  box-shadow: 0 10px 24px rgba(8, 114, 124, 0.2);
}

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

.timeline article {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  padding: 0 0 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
}

.timeline img {
  width: 100%;
  height: 230px;
  margin-bottom: 22px;
  object-fit: cover;
  object-position: center 38%;
}

.timeline article:nth-child(2) img {
  object-position: 58% 36%;
}

.timeline article:nth-child(3) img {
  object-position: 50% 36%;
}

.timeline article:nth-child(4) img {
  object-position: 56% 36%;
}

.timeline span {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 8px 10px;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 8px;
  background: rgba(8, 114, 124, 0.72);
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
}

.timeline h3,
.timeline p {
  padding-right: 24px;
  padding-left: 24px;
}

.timeline p {
  margin-bottom: 0;
  color: var(--muted);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
  margin-top: 28px;
}

.hero-highlights article {
  min-height: 132px;
  padding: 16px;
  border: 1px solid rgba(15, 156, 164, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 14px 34px rgba(34, 63, 68, 0.08);
  backdrop-filter: blur(10px);
}

.hero-highlights strong {
  display: block;
  margin-bottom: 8px;
  color: var(--aqua-dark);
  font-family: "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: 18px;
}

.hero-highlights span {
  display: block;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.cases-section {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 1fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(15, 156, 164, 0.1), rgba(245, 184, 75, 0.14)),
    repeating-linear-gradient(90deg, rgba(15, 156, 164, 0.045) 0 1px, transparent 1px 72px),
    linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(246, 251, 248, 0.94));
}

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

.hospital-list article {
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(15, 156, 164, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 14px 34px rgba(34, 63, 68, 0.08);
}

.hospital-list img {
  width: 100%;
  height: 188px;
  object-fit: cover;
}

.hospital-list span {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 700;
}

.security-section {
  align-items: start;
}

.certificates {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  align-items: start;
}

.certificates img {
  width: 100%;
  min-height: 140px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 16px 38px rgba(34, 63, 68, 0.11);
}

.faq-section {
  background: rgba(255, 255, 255, 0.36);
}

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

.faq-list details {
  border: 1px solid rgba(15, 156, 164, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(34, 63, 68, 0.07);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 18px 58px 18px 22px;
  color: var(--ink);
  font-family: "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  right: 22px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  content: "+";
  color: #fff;
  border-radius: 8px;
  background: var(--aqua-dark);
  font-size: 24px;
  line-height: 1;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 22px 24px;
  color: var(--muted);
  font-size: 17px;
}

.contact-section {
  align-items: start;
  background: #102e34;
  color: #fff;
}

.contact-section .eyebrow,
.contact-section p {
  color: rgba(255, 255, 255, 0.74);
}

.company-contact {
  display: grid;
  gap: 6px;
  margin-top: 30px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-style: normal;
  background: rgba(255, 255, 255, 0.06);
}

.company-contact span:first-child {
  color: #fff;
  font-weight: 700;
}

.company-contact a {
  color: #ffe3a8;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: rgba(255, 255, 255, 0.86);
  font-family: "Microsoft JhengHei", "PingFang TC", sans-serif;
  font-weight: 700;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 13px 14px;
  color: #fff;
  font: inherit;
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(245, 184, 75, 0.16);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form ::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

.form-response {
  min-height: 28px;
  margin: 0;
  color: #ffe3a8;
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.68);
  background: #0b2227;
}

@media (max-width: 980px) {
  .hero,
  .product-section,
  .security-section,
  .contact-section,
  .cases-section {
    grid-template-columns: 1fr;
  }

  .proof-strip,
  .value-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline article {
    min-height: auto;
  }

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

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

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    padding: 10px;
    min-height: 240px;
  }

  .hospital-list,
  .certificates {
    grid-template-columns: 1fr;
  }

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