/* Dr.Vet 介紹網站（2026-11-19）。配色沿用系統主題：主色 #42799A、輔色 #367E7E；不用漸層。 */
:root {
  --blue: #42799a;
  --blue-dark: #2f5c77;
  --teal: #367e7e;
  --ink: #1f2a33;
  --muted: #5f6b7a;
  --line: #dde3e9;
  --bg: #f5f7f9;
  --tint: #eaf2f8;
  --warm: #fde2a9;
  --radius: 14px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* 頁首 */
header.site {
  position: sticky; top: 0; z-index: 10;
  background: #fff; border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 20px; min-height: 64px; }
header.site .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
header.site .brand img { height: 40px; width: auto; }
header.site nav { margin-left: auto; display: flex; gap: 4px; flex-wrap: wrap; }
header.site nav a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 0.97rem; }
header.site nav a:hover { background: var(--tint); }
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 10px; text-decoration: none; font-weight: 700;
  background: var(--blue); color: #fff; border: 2px solid var(--blue);
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn.ghost { background: #fff; color: var(--blue); }
.btn.ghost:hover { background: var(--tint); }
header.site .btn { padding: 8px 16px; }

/* 首屏 */
.hero { background: var(--tint); padding: 64px 0 56px; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: center; }
.hero h1 { font-size: 2.6rem; line-height: 1.25; margin: 0 0 16px; letter-spacing: 0.01em; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 24px; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .facts { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; padding: 0; list-style: none; }
.hero .facts li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: 0.93rem; }
figure.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: 0 6px 24px rgba(31, 42, 51, 0.10); }
figure.shot img { width: 100%; height: auto; }
figure.shot figcaption { padding: 8px 14px; font-size: 0.88rem; color: var(--muted); border-top: 1px solid var(--line); background: #fff; }
figure.shot.phone { max-width: 300px; margin: 0 auto; border-radius: 28px; border-width: 6px; border-color: #1f2a33; }

/* 區塊 */
section { padding: 64px 0; }
section.alt { background: var(--bg); }
h2 { font-size: 1.9rem; margin: 0 0 8px; line-height: 1.3; }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 760px; }
.eyebrow { display: inline-block; color: var(--teal); font-weight: 700; font-size: 0.95rem; margin-bottom: 6px; }

/* 優點卡片 */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin: 0 0 6px; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.card .num { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; margin-bottom: 10px; }

/* 功能：左右交錯 */
.feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; padding: 28px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.flip > .text { order: 2; }
.feature.flip > .media { order: 1; }
.feature h3 { font-size: 1.45rem; margin: 0 0 10px; }
.feature ul { margin: 12px 0 0; padding-left: 1.2em; }
.feature li { margin-bottom: 6px; }
.feature.textonly { grid-template-columns: minmax(0, 1fr); }

/* 功能總表 */
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mini { border: 1px solid var(--line); border-radius: 12px; padding: 16px; background: #fff; }
.mini h4 { margin: 0 0 4px; font-size: 1.02rem; color: var(--blue-dark); }
.mini p { margin: 0; font-size: 0.93rem; color: var(--muted); }

/* 跨裝置：電腦、平板、手機三張並排，下緣對齊 */
.devices { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 3fr) minmax(0, 1.7fr); gap: 24px; align-items: end; margin-bottom: 36px; }
.devices .device-tablet { border-radius: 20px; border-width: 6px; border-color: #1f2a33; }
.devices figure.shot.phone { max-width: none; }
.scenes .card h3 { color: var(--blue-dark); }

.pacs-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; max-width: 900px; }
.pacs-gallery figure { margin: 0; background: #000; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; }
.pacs-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #000; }
.pacs-gallery figcaption { color: #e6eef4; font-size: 0.88rem; padding: 6px 10px; background: #111; }
.pacs-note { color: var(--muted); font-size: 0.86rem; margin: 6px 0 0; }
.grid4.pacs { margin-top: 18px; }
.grid4.pacs .mini { background: var(--tint); border-color: #cfe0ec; }

/* 手機 */
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; align-items: start; }

/* 導入步驟 */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: step; }
.steps .card::before { counter-increment: step; content: counter(step); display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; margin-bottom: 10px; }

/* 問答 */
details { border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; background: #fff; }
details + details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 10px 0 0; color: var(--muted); }

/* 結尾 */
.closing { background: var(--blue); color: #fff; text-align: center; }
.closing h2 { color: #fff; }
.closing p { color: #e6eef4; margin: 0 auto 24px; max-width: 640px; }
.closing .btn { background: #fff; color: var(--blue-dark); border-color: #fff; }
.closing .btn.ghost { background: transparent; color: #fff; border-color: #fff; }
footer.site { padding: 28px 0; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); }
footer.site .wrap { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
footer.site img { height: 28px; }

@media (max-width: 960px) {
  .hero .wrap, .feature { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .devices { grid-template-columns: minmax(0, 1fr) minmax(0, 0.6fr); }
  .devices .device-desktop { grid-column: 1 / -1; }
  .feature.flip > .text, .feature.flip > .media { order: initial; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pacs-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: 2.1rem; }
  header.site nav a.hide-sm { display: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  section { padding: 44px 0; }
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 1.8rem; }
  .cards, .grid4, .steps, .phones { grid-template-columns: minmax(0, 1fr); }
  .devices { grid-template-columns: minmax(0, 1fr); }
  .devices .device-tablet, .devices .device-phone { max-width: 320px; margin: 0 auto; }
  header.site nav a:not(.btn) { display: none; }
  h2 { font-size: 1.55rem; }
}

/* ===== 2026-11-19 改版：亮點列、角色、流程、圖示 ===== */
svg use { pointer-events: none; }
/* 線條圖示 */
.ico { display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 14px; background: var(--tint); color: var(--blue-dark); }
.ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico.sm { width: 38px; height: 38px; border-radius: 10px; margin-bottom: 8px; }
.ico.sm svg { width: 21px; height: 21px; }

/* 首屏的三個打勾重點 */
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 8px; }
.checks li { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.checks svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* 四個亮點：壓在首屏下緣 */
section.highlights { padding: 0 0 8px; margin-top: -34px; position: relative; z-index: 2; }
.hl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hl-item { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); box-shadow: 0 6px 20px rgba(31, 42, 51, 0.08); }
.hl-item:hover { border-color: var(--blue); }
.hl-item h3 { margin: 12px 0 4px; font-size: 1.12rem; }
.hl-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* 角色標籤 */
.role { display: inline-flex; align-items: center; gap: 8px; background: var(--blue); color: #fff; border-radius: 999px; padding: 5px 14px 5px 10px; font-weight: 700; font-size: 0.95rem; margin-bottom: 10px; }
.role svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#roles .feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
#roles .feature + .feature { margin-top: 20px; }
.stack2 { display: grid; gap: 14px; }

/* 一天的流程：六步，圖在上、說明在下 */
.flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.flow li { display: flex; flex-direction: column; gap: 12px; }
.flow figure.shot { box-shadow: 0 4px 14px rgba(31, 42, 51, 0.08); }
.flow figure.shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.flow h3 { display: inline; font-size: 1.15rem; margin: 0 0 0 8px; vertical-align: middle; }
.flow p { margin: 6px 0 0; color: var(--muted); font-size: 0.97rem; }
.step { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 700; vertical-align: middle; }

@media (max-width: 960px) {
  .hl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  section.highlights { margin-top: -20px; }
  #roles .feature { padding: 20px; }
}
@media (max-width: 600px) {
  .hl, .flow { grid-template-columns: minmax(0, 1fr); }
  section.highlights { margin-top: 16px; }
}

/* ===== 2026-11-19 第三版：色彩、設備連線、AI ===== */
:root {
  --c-blue: #2f7fb6; --c-blue-bg: #e3f0fa;
  --c-teal: #1f9c8c; --c-teal-bg: #dcf4f0;
  --c-amber: #d98a11; --c-amber-bg: #fdf0d6;
  --c-coral: #e0604f; --c-coral-bg: #fde6e1;
  --c-violet: #7a5bd0; --c-violet-bg: #ece6fb;
}
/* 每個顏色類別設定一組「主色／淡底」，給圖示、標籤、步驟、卡片共用 */
.c-blue { --ac: var(--c-blue); --ac-bg: var(--c-blue-bg); }
.c-teal { --ac: var(--c-teal); --ac-bg: var(--c-teal-bg); }
.c-amber { --ac: var(--c-amber); --ac-bg: var(--c-amber-bg); }
.c-coral { --ac: var(--c-coral); --ac-bg: var(--c-coral-bg); }
.c-violet { --ac: var(--c-violet); --ac-bg: var(--c-violet-bg); }
.eyebrow[class*="c-"] { color: var(--ac); }
.role[class*="c-"], .step[class*="c-"] { background: var(--ac); }
.hl-item[class*="c-"] { border-top: 5px solid var(--ac); }
.hl-item[class*="c-"] .ico, .card[class*="c-"] .ico { background: var(--ac-bg); color: var(--ac); }
.hl-item[class*="c-"]:hover { border-color: var(--ac); }
.card[class*="c-"] { border-top: 4px solid var(--ac); }
.card[class*="c-"] h3 { color: var(--ink); }

/* 首屏：淡藍底加上彩色色塊點綴（純色，不用漸層） */
.hero { position: relative; overflow: hidden; background: #eaf3f9; }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; z-index: 0; }
.hero::before { width: 420px; height: 420px; right: -140px; top: -160px; background: var(--c-teal-bg); }
.hero::after { width: 260px; height: 260px; left: -110px; bottom: -120px; background: var(--c-amber-bg); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #17425e; }
.hero .eyebrow { color: var(--c-teal); }
.btn { background: var(--c-blue); border-color: var(--c-blue); }
.btn:hover { background: #24668f; border-color: #24668f; }
.btn.ghost { color: var(--c-blue); }
.hero .cta .btn:first-child { background: var(--c-coral); border-color: var(--c-coral); }
.hero .cta .btn:first-child:hover { background: #c64e3f; border-color: #c64e3f; }
.checks svg { stroke: var(--c-teal); }

/* 區塊標題下的小色條 */
section h2 { position: relative; padding-bottom: 12px; }
section h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--c-amber); }
.closing h2::after { left: 50%; transform: translateX(-50%); background: #fff; }
section.alt { background: #f3f7fa; }

/* 功能總覽的小卡：左邊一條顏色輪流 */
#features .mini { border-left: 4px solid var(--c-blue); }
#features .mini:nth-child(5n + 2) { border-left-color: var(--c-teal); }
#features .mini:nth-child(5n + 3) { border-left-color: var(--c-amber); }
#features .mini:nth-child(5n + 4) { border-left-color: var(--c-coral); }
#features .mini:nth-child(5n + 5) { border-left-color: var(--c-violet); }
#features .mini h4 { color: var(--ink); }
.grid4.pacs .mini { background: #fff; border-color: var(--c-blue-bg); border-top: 3px solid var(--c-blue); }
#security .card .ico { background: var(--c-teal-bg); color: var(--c-teal); }
.steps .card::before { background: var(--c-coral); }
.steps .card:nth-child(2)::before { background: var(--c-amber); }
.steps .card:nth-child(3)::before { background: var(--c-teal); }
.steps .card:nth-child(4)::before { background: var(--c-blue); }
.scenes .card { border-top: 4px solid var(--c-teal); }
.scenes .card h3 { color: var(--ink); }

/* 設備連線 */
.cards.connect { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* AI：深色底的重點區塊。只有「AI 分析」標籤用彩色字，呼應系統裡那顆按鈕 */
.ai-band { background: #1c2340; color: #e9ecf8; }
.ai-band h2 { color: #fff; }
.ai-band h2::after { background: var(--c-violet); }
.ai-band .sub { color: #c5cbe6; }
.ai-tag { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 6px 16px 6px 12px; margin-bottom: 14px; box-shadow: 0 0 16px rgba(155, 114, 203, 0.55); }
.ai-tag svg { width: 20px; height: 20px; fill: none; stroke: #9b72cb; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ai-tag b { background-image: linear-gradient(90deg, #4285f4, #9b72cb, #d96570, #f4af3a); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 1rem; }
.ai-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ai-list li { background: #262e52; border-left: 4px solid var(--c-violet); border-radius: 8px; padding: 10px 14px; color: #dfe3f5; }
.ai-list li:nth-child(2) { border-left-color: var(--c-blue); }
.ai-list li:nth-child(3) { border-left-color: var(--c-teal); }
.ai-list li:nth-child(4) { border-left-color: var(--c-amber); }
.ai-list li:nth-child(5) { border-left-color: var(--c-coral); }
.ai-list b { color: #fff; }
.ai-band figure.shot { border-color: #3a4372; box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45); }
.ai-band figure.shot figcaption { background: #262e52; color: #c5cbe6; border-top-color: #3a4372; }

.closing { background: #1f6d9c; }
.closing .btn { color: #1f6d9c; }
footer.site { border-top: 4px solid var(--c-amber); }

@media (max-width: 960px) { .cards.connect { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards.connect { grid-template-columns: minmax(0, 1fr); } .hero::before { width: 240px; height: 240px; } }

/* ===== 2026-11-19 設備廠牌清單 ===== */
.brands-title { margin: 36px 0 14px; font-size: 1.3rem; }
.brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.brand-group { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--ac); border-radius: var(--radius); padding: 16px 18px; }
.brand-group h4 { margin: 0 0 10px; font-size: 1.05rem; color: var(--ac); }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--ac-bg); border-radius: 999px; padding: 5px 14px; font-size: 0.95rem; color: var(--ink); }
.chips li b { font-weight: 700; }
.chips sup { color: var(--ac); font-weight: 700; margin-left: 2px; }
.brands-note { margin: 14px 0 0; color: var(--muted); font-size: 0.9rem; }
@media (max-width: 760px) { .brands { grid-template-columns: minmax(0, 1fr); } }
