/* ============================================================
   医院官网 · 公共样式
   结构统一，主题色由 theme-*.css 覆盖
   ============================================================ */

:root {
  --brand: #0b4f8a;
  --brand-deep: #073a66;
  --brand-2: #1aa79d;
  --brand-3: #e6f6f6;
  --accent: #f0b357;
  --ink: #10263c;
  --ink-2: #29455f;
  --muted: #5f7891;
  --line: #e2edf6;
  --bg: #f4f9fd;
  --bg-soft: #eef6fb;
  --card: #ffffff;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow: 0 26px 60px -34px rgba(9, 47, 83, .45);
  --shadow-sm: 0 12px 30px -20px rgba(9, 47, 83, .42);
  --container: 1200px;
  --hero-grad: linear-gradient(115deg, #062f57 0%, #0b4f8a 45%, #128c95 100%);
  --hero-overlay: linear-gradient(90deg, rgba(4, 30, 54, .88) 0%, rgba(6, 44, 78, .62) 46%, rgba(6, 44, 78, .12) 100%);
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--brand-2); }
img { max-width: 100%; display: block; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); border: 0;
}

/* ---------------- 按钮 ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff;
  box-shadow: 0 14px 26px -16px rgba(12, 88, 120, .8);
}
.btn-primary:hover { color: #fff; box-shadow: 0 18px 30px -14px rgba(12, 88, 120, .75); }
.btn-outline {
  border-color: rgba(255, 255, 255, .55);
  color: #fff;
  background: rgba(255, 255, 255, .08);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.btn-ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--brand);
}
.btn-ghost:hover { border-color: var(--brand-2); color: var(--brand-2); }
.btn-tab {
  border-color: #b8cedf;
  background: #eef5fb;
  color: #1f4f73;
}
.btn-tab:hover { background: #dfeef9; border-color: #8fb3ce; color: #0b5f87; }
.btn-lg { padding: 15px 32px; font-size: 15px; }
.btn-sm { padding: 8px 16px; font-size: 12.5px; }

/* ---------------- 顶部 ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-stuck {
  box-shadow: 0 10px 30px -24px rgba(9, 47, 83, .55);
  border-bottom-color: var(--line);
}

.topbar {
  background: var(--brand-deep);
  color: rgba(255, 255, 255, .84);
  font-size: 12px;
}
.topbar .container {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 34px;
  flex-wrap: wrap;
}
.topbar .tip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 560px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.topbar .tip i { color: var(--accent); }
.topbar .spacer { flex: 1; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar .hotline { font-weight: 700; color: #fff; letter-spacing: .4px; font-size: 13px; }

.header-main { background: transparent; }
.header-main .container {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: .5px;
  box-shadow: 0 12px 24px -16px rgba(9, 70, 110, .9);
  overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.brand-text strong {
  display: block;
  font-size: 19px;
  letter-spacing: .4px;
  color: var(--brand-deep);
  line-height: 1.25;
}
.brand-text span {
  display: block;
  font-size: 10px;
  letter-spacing: 2.4px;
  color: var(--muted);
  text-transform: uppercase;
}

.nav-wrap { flex: 1; display: flex; justify-content: center; }
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav > li { position: relative; }
.nav > li > a {
  display: block;
  padding: 10px 15px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: 10px;
}
.nav > li > a:hover,
.nav > li > a.active { color: var(--brand); background: var(--brand-3); }
.nav .caret { font-size: 9px; margin-left: 4px; opacity: .7; }

.nav-drop {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 196px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transition: all .18s ease;
}
.nav li:hover .nav-drop,
.nav li:focus-within .nav-drop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.nav-drop a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13px;
  color: var(--ink-2);
}
.nav-drop a:hover { background: var(--brand-3); color: var(--brand); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  display: inline-grid;
  place-items: center;
  font-size: 15px;
  transition: all .18s ease;
}
.icon-btn:hover { border-color: var(--brand-2); color: var(--brand-2); }
.mobile-toggle { display: none; }

/* 搜索浮层 */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 30, 52, .55);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: start center;
  padding-top: 16vh;
  opacity: 0;
  visibility: hidden;
  transition: all .2s ease;
}
.search-overlay.show { opacity: 1; visibility: visible; }
.search-panel {
  width: min(680px, calc(100% - 40px));
  background: #fff;
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
  transform: translateY(-10px);
  transition: transform .2s ease;
}
.search-overlay.show .search-panel { transform: translateY(0); }
.search-panel form {
  display: flex;
  gap: 10px;
}
.search-panel input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14px;
  outline: none;
  background: var(--bg);
}
.search-panel input:focus { border-color: var(--brand-2); background: #fff; }
.search-hint { margin-top: 10px; font-size: 12px; color: var(--muted); }

/* ---------------- 英雄区 ---------------- */
.hero {
  position: relative;
  min-height: 560px;
  background: var(--hero-grad);
  color: #fff;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero::before {
  width: 620px; height: 620px;
  right: -150px; top: -210px;
  background: radial-gradient(circle, rgba(64, 214, 205, .30), transparent 66%);
}
.hero::after {
  width: 460px; height: 460px;
  left: -180px; bottom: -260px;
  background: radial-gradient(circle, rgba(255, 255, 255, .18), transparent 68%);
}
.hero-track { position: relative; min-height: 560px; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .55s ease, visibility .55s ease;
}
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-slide .veil {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 560px;
  padding: 60px 0 74px;
}
.hero-copy { max-width: 780px; }
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .10);
  color: rgba(255, 255, 255, .92);
}
.hero-title {
  font-size: clamp(30px, 4.4vw, 50px);
  line-height: 1.22;
  letter-spacing: .5px;
  margin: 20px 0 16px;
  font-weight: 700;
}
.hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, .82);
  max-width: 560px;
  line-height: 1.9;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
.hero-stats strong {
  display: block;
  font-size: 24px;
  color: #fff;
  line-height: 1.2;
}
.hero-stats span { font-size: 12px; color: rgba(255, 255, 255, .68); }

.hero-dots {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.hero-dots button {
  width: 26px;
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .35);
  padding: 0;
}
.hero-dots button.active { width: 40px; background: var(--accent); }
.hero-nav {
  position: absolute;
  z-index: 6;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .32);
  background: var(--hero-grad);
  color: var(--hero-grad);
  display: grid;
  place-items: center;
  font-size: 16px;
}
.hero-nav:hover { background: var(--hero-grad); }
.hero-nav.prev { left: max(16px, calc((100vw - var(--container)) / 2 - 60px)); }
.hero-nav.next { right: max(16px, calc((100vw - var(--container)) / 2 - 60px)); }

/* ---------------- 通用区块 ---------------- */
.section { padding: 50px 0; }
.section.tight { padding: 0; }
.section.alt { background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%); }
.section-head {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.section-head .text { max-width: 720px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--brand-2);
  font-weight: 700;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-2);
}
.section-title {
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.3;
  letter-spacing: .4px;
  margin: 10px 0 0;
  color: var(--brand-deep);
  font-weight: 700;
}
.section-desc { margin-top: 12px; color: var(--muted); font-size: 14px; }
.section-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.section-link:hover { color: var(--brand-2); border-color: var(--brand-2); }

/* 快捷服务 */
.quick-strip {
  margin-top: -46px;
  position: relative;
  z-index: 8;
}
.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--line);
}
.quick-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  transition: background .18s ease;
}
.quick-item:last-child { border-right: 0; }
.quick-item:hover { background: var(--brand-3); }
.quick-item .ico {
  width: 44px; height: 44px;
  border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand-3), #fff);
  color: var(--brand-2);
  font-size: 19px;
  flex: none;
  border: 1px solid var(--line);
}
.quick-item strong { display: block; font-size: 14px; color: var(--ink); }
.quick-item span { display: block; font-size: 11.5px; color: var(--muted); margin-top: 2px; }

/* 关于 */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 52px;
  align-items: center;
}
.about-media {
  position: relative;
  min-height: 400px;
  border-radius: var(--radius-lg);
  background: var(--hero-grad);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.about-media .glow {
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 66%);
  top: -90px; right: -80px;
}
.about-media .badge-card {
  position: absolute;
  left: 26px;
  bottom: 26px;
  right: 26px;
  background: rgba(255, 255, 255, .94);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  gap: 18px;
  align-items: center;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}
.about-media .badge-card .num {
  font-size: 30px;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}
.about-media .badge-card .num small { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 3px; }
.about-media .badge-card .txt { font-size: 12px; color: var(--muted); line-height: 1.6; }
.about-media .mark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .88);
  font-size: 44px;
  letter-spacing: 6px;
  font-weight: 300;
}
.about-copy .lead {
  font-size: 15px;
  color: var(--ink-2);
  margin-top: 16px;
  line-height: 1.95;
}
.about-copy .lead p + p { margin-top: 12px; }
.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.about-points li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--ink-2);
  padding: 13px 15px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.about-points i { color: var(--brand-2); margin-top: 3px; }
.about-actions { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }

/* 科室 */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.dept-card {
  position: relative;
  padding: 26px 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dept-card::after {
  content: "";
  position: absolute;
  right: -40px; top: -40px;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--brand-3), transparent 70%);
}
.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: #cfe4f2;
}
.dept-card .ico {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: grid; place-items: center;
  background: var(--brand-3);
  color: var(--brand);
  font-size: 21px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.dept-card h3 { font-size: 17px; color: var(--ink); margin-bottom: 6px; position: relative; z-index: 1; }
.dept-card p { font-size: 12.5px; color: var(--muted); min-height: 38px; position: relative; z-index: 1; }
.dept-card .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-2);
  position: relative;
  z-index: 1;
}

/* 医生 */
.doctor-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.doctor-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.doctor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.doctor-photo {
  aspect-ratio: 4 / 3.4;
  background:
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, .35), transparent 45%),
    linear-gradient(145deg, var(--brand), var(--brand-2));
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 2px;
  position: relative;
  overflow: hidden;
}
.doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor-photo .tag {
  position: absolute;
  left: 12px; top: 12px;
  background: rgba(255, 255, 255, .92);
  color: var(--brand);
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
}
.doctor-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.doctor-body h3 { font-size: 16px; color: var(--ink); display: flex; align-items: baseline; gap: 7px; }
.doctor-body h3 small { font-size: 10.5px; color: var(--muted); font-weight: 400; }
.doctor-body .role { font-size: 12px; color: var(--brand-2); margin-top: 3px; font-weight: 600; }
.doctor-body .desc {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}
.doctor-body .foot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--muted);
  border-top: 1px dashed var(--line);
}
.doctor-body .foot .link { color: var(--brand); font-weight: 600; }

/* 新闻 */
.news-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  align-items: start;
}
.news-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.news-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.news-cover {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(11, 79, 138, .88), rgba(26, 167, 157, .82)),
    var(--hero-grad);
  position: relative;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .82);
  font-size: 24px;
  letter-spacing: 2px;
  overflow: hidden;
}
.news-cover img { width: 100%; height: 100%; object-fit: cover; }
.news-cover .date {
  position: absolute;
  left: 14px; bottom: 14px;
  background: rgba(255, 255, 255, .94);
  border-radius: 10px;
  padding: 6px 10px;
  color: var(--brand);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}
.news-cover .date b { display: block; font-size: 18px; }
.news-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.news-body h3 {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-body p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-body .meta {
  margin-top: auto;
  padding-top: 12px;
  font-size: 11px;
  color: #8ba1b6;
  display: flex;
  gap: 12px;
  align-items: center;
}
.news-side {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.news-side .side-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-deep);
}
.news-list { margin-top: 8px; }
.news-list li { border-bottom: 1px dashed var(--line); }
.news-list li:last-child { border-bottom: 0; }
.news-list a {
  display: flex;
  gap: 14px;
  padding: 8px 0;
  align-items: flex-start;
}
.news-list a:hover .t { color: var(--brand-2); }
.news-list .day {
  flex: none;
  width: 50px;
  text-align: center;
  border-radius: 9px;
  background: var(--bg);
  padding: 7px 0;
  font-size: 10px;
  color: var(--muted);
  line-height: 1.2;
}
.news-list .day b { display: block; font-size: 17px; color: var(--brand); }
.news-list .t {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 就医指南步骤 */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-size: 34px;
  font-weight: 800;
  color: var(--brand-3);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.step h3 { font-size: 15px; color: var(--ink); margin-bottom: 6px; }
.step p { font-size: 12px; color: var(--muted); line-height: 1.7; }
.step .go { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--brand-2); font-weight: 600; margin-top: 12px; }

/* FAQ */
.faq-list { display: grid; gap: 10px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq-q {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 17px 20px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.faq-q .n {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 8px;
  background: var(--brand-3);
  color: var(--brand);
  display: grid; place-items: center;
  font-size: 11px;
  font-weight: 700;
}
.faq-q .arrow { margin-left: auto; color: var(--muted); transition: transform .2s ease; font-size: 12px; }
.faq-item.open .faq-q .arrow { transform: rotate(180deg); color: var(--brand-2); }
.faq-a {
  display: none;
  padding: 0 20px 18px 56px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.85;
}
.faq-item.open .faq-a { display: block; }
.faq-a p + p { margin-top: 8px; }
.faq-a ul, .faq-a ol { margin: 8px 0 0; padding-left: 20px; }
.faq-a ul { list-style: disc; }
.faq-a ol { list-style: decimal; }
.faq-a li { padding-left: 2px; }
.faq-a li + li { margin-top: 4px; }
.faq-a h3, .faq-a h4 { font-size: 13.5px; color: var(--ink-2); margin: 12px 0 6px; }
.faq-a a { color: var(--brand-2); text-decoration: underline; }

/* CTA */
.cta-band {
  position: relative;
  margin: 76px 0;
  border-radius: var(--radius-lg);
  background: var(--hero-grad);
  color: #fff;
  padding: 46px 50px;
  display: flex;
  align-items: center;
  gap: 30px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cta-band::before {
  content: "";
  position: absolute;
  right: -80px; top: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 66%);
}
.cta-band .copy { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(22px, 2.6vw, 30px); }
.cta-band p { color: rgba(255, 255, 255, .78); font-size: 13.5px; margin-top: 8px; }
.cta-band .actions { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---------------- 内页 ---------------- */
.page-hero {
  position: relative;
  background: var(--hero-grad);
  color: #fff;
  padding: 62px 0 56px;
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  right: -120px; top: -160px;
  width: 460px; height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .20), transparent 68%);
}
.page-hero .inner { position: relative; z-index: 1; max-width: 800px; }
.page-hero .crumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, .66);
  margin-bottom: 14px;
}
.page-hero .crumb a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(24px, 3.4vw, 36px); line-height: 1.35; }
.page-hero p { margin-top: 10px; color: rgba(255, 255, 255, .78); font-size: 13.5px; max-width: 640px; }

.content-wrap { padding: 56px 0 0; }
.layout-sidebar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: start;
}
.layout-sidebar.left { grid-template-columns: 280px minmax(0, 1fr); }

.side-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 18px;
}
.side-card h3 {
  font-size: 14px;
  color: var(--brand-deep);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.side-nav li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 9px;
  font-size: 13px;
  color: var(--ink-2);
}
.side-nav li a:hover,
.side-nav li a.active { background: var(--brand-3); color: var(--brand); font-weight: 600; }
.side-nav li a .count { font-size: 11px; color: var(--muted); }
.side-contact { background: var(--hero-grad); color: #fff; border: 0; }
.side-contact h3 { color: #fff; border-color: rgba(255, 255, 255, .2); }
.side-contact .tel { font-size: 22px; font-weight: 800; letter-spacing: .5px; }
.side-contact p { font-size: 12px; color: rgba(255, 255, 255, .76); margin-top: 6px; }
.side-contact .btn { margin-top: 14px; width: 100%; }

/* 列表卡片 */
.list-stack { display: grid; gap: 14px; }
.list-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.list-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.list-card .thumb {
  border-radius: var(--radius-sm);
  background: var(--hero-grad);
  min-height: 128px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, .8);
  font-size: 20px;
  overflow: hidden;
}
.list-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.list-card .body { display: flex; flex-direction: column; }
.list-card h3 { font-size: 16px; line-height: 1.55; color: var(--ink); }
.list-card h3:hover { color: var(--brand-2); }
.list-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 11.5px;
  color: var(--muted);
  margin-top: 8px;
}
.list-card .summary {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.75;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.list-card .more {
  margin-top: auto;
  padding-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--brand-2);
  font-weight: 600;
}

/* 分页 */
.pagination { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 28px; }
.pagination li { list-style: none; }
.pagination .page-link,
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 11px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
}
.pagination a:hover { border-color: var(--brand-2); color: var(--brand-2); }
.pagination .active .page-link,
.pagination .active span,
.pagination .active a {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.pagination .disabled .page-link,
.pagination .disabled span { color: #b6c6d5; background: #f7fafd; }

/* 文章详情 */
.article-sheet {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 44px 34px;
}
.article-sheet .kicker {
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--brand-3);
  color: var(--brand);
  font-size: 11.5px;
  font-weight: 700;
}
.article-sheet h1 { font-size: clamp(23px, 3vw, 32px); line-height: 1.45; margin: 14px 0 0; color: var(--brand-deep); }
.article-sheet .subtitle { color: var(--muted); font-size: 14px; margin-top: 8px; }
.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  margin-top: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-body { font-size: 15px; line-height: 2; color: #2b4055; padding: 24px 0 8px; }
.article-body p { margin: 0 0 16px; }
.article-body h2, .article-body h3 { color: var(--brand-deep); margin: 30px 0 12px; line-height: 1.5; }
.article-body h2 { font-size: 21px; }
.article-body h3 { font-size: 17px; }
.article-body img { border-radius: var(--radius-sm); margin: 18px auto; }
.article-body ul, .article-body ol { margin: 0 0 16px; padding-left: 22px; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li { margin-bottom: 6px; }
.article-body blockquote {
  margin: 20px 0;
  padding: 14px 20px;
  background: var(--bg);
  border-left: 3px solid var(--brand-2);
  border-radius: 0 10px 10px 0;
  color: var(--ink-2);
}
.article-body table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 13.5px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.article-body th { background: var(--bg); }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 18px; border-top: 1px dashed var(--line); }
.article-tags span {
  font-size: 11.5px;
  color: var(--muted);
  background: var(--bg);
  border-radius: 999px;
  padding: 4px 11px;
}

.article-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
}
.article-pager a {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 12.5px;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.article-pager a:hover { border-color: var(--brand-2); }
.article-pager a span { color: var(--muted); font-size: 11px; }
.article-pager .next { text-align: right; }

.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }

/* 医生详情 */
.profile-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}
.profile-photo {
  border-radius: var(--radius);
  aspect-ratio: 4 / 4.6;
  background: var(--hero-grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-info h1 { font-size: 30px; color: var(--brand-deep); }
.profile-info .en { font-size: 12px; letter-spacing: 2px; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.profile-info .role {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.profile-info .role span {
  font-size: 12px;
  background: var(--brand-3);
  color: var(--brand);
  border-radius: 999px;
  padding: 5px 12px;
  font-weight: 600;
}
.profile-info .good-at {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg);
  border: 1px dashed #cfe3f2;
  font-size: 13.5px;
  color: var(--ink-2);
}
.profile-info .good-at b { color: var(--brand); margin-right: 6px; }
.profile-info .btns { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.schedule-list { display: grid; gap: 8px; }
.schedule-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg);
  border-radius: 10px;
  padding: 11px 14px;
  font-size: 13px;
  color: var(--ink-2);
}
.schedule-list i { color: var(--brand-2); margin-top: 3px; }

/* 搜索 */
.search-hero { padding: 54px 0; }
.big-search { display: flex; gap: 10px; max-width: 680px; margin-top: 22px; }
.big-search input {
  flex: 1;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 18px;
  font-size: 15px;
  outline: none;
}
.big-search input:focus { border-color: var(--brand-2); }
.result-group { margin-bottom: 34px; }
.result-group h2 { font-size: 18px; color: var(--brand-deep); margin-bottom: 14px; display: flex; align-items: center; gap: 9px; }
.result-group h2 span { font-size: 12px; color: var(--muted); font-weight: 400; }
.result-item {
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 10px;
}
.result-item:hover { border-color: var(--brand-2); }
.result-item h3 { font-size: 15px; color: var(--ink); }
.result-item p { font-size: 12.5px; color: var(--muted); margin-top: 5px; }

/* 联系我们 */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.contact-card .ico {
  width: 44px; height: 44px;
  border-radius: 13px;
  background: var(--brand-3);
  color: var(--brand);
  display: grid; place-items: center;
  font-size: 19px;
  margin-bottom: 14px;
}
.contact-card h3 { font-size: 14px; color: var(--muted); font-weight: 600; }
.contact-card .v { font-size: 18px; font-weight: 700; color: var(--brand-deep); margin-top: 6px; word-break: break-all; }
.contact-card p { font-size: 12px; color: var(--muted); margin-top: 6px; }
.map-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 26px;
  align-items: center;
  margin-top: 20px;
}
.map-illus {
  height: 240px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(11, 79, 138, .1), rgba(26, 167, 157, .12)),
    repeating-linear-gradient(0deg, transparent 0 38px, rgba(11, 79, 138, .07) 38px 39px),
    repeating-linear-gradient(90deg, transparent 0 38px, rgba(11, 79, 138, .07) 38px 39px),
    #f6fbff;
  display: grid;
  place-items: center;
  color: var(--brand);
  text-align: center;
  border: 1px dashed #cfe3f2;
}
.map-illus i { font-size: 36px; display: block; margin-bottom: 8px; }
.map-illus span { font-size: 12px; color: var(--muted); }
.qr-box { text-align: center; }
.qr-box .code {
  width: 150px; height: 150px;
  margin: 0 auto 12px;
  border-radius: var(--radius-sm);
  border: 1px dashed #cfe3f2;
  background: #fff;
  display: grid;
  place-items: center;
  color: #9db2c6;
  font-size: 40px;
  overflow: hidden;
}
.qr-box .code img { width: 100%; height: 100%; object-fit: contain; }
.qr-box p { font-size: 12px; color: var(--muted); }
.qr-box strong { display: block; color: var(--brand); font-size: 14px; margin-bottom: 4px; }

/* 空状态 */
.empty-state {
  background: #fff;
  border: 1px dashed #cfe3f2;
  border-radius: var(--radius);
  padding: 46px 20px;
  text-align: center;
  color: var(--muted);
}
.empty-state i { font-size: 38px; color: #c3d3e3; display: block; margin-bottom: 12px; }

/* 页脚 */
.site-footer {
  background: #072a46;
  color: rgba(255, 255, 255, .66);
  margin-top: 76px;
  padding: 54px 0 0;
  font-size: 12.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr .8fr .8fr 1.05fr;
  gap: 36px;
  padding-bottom: 38px;
}
.site-footer h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
  letter-spacing: .4px;
}
.site-footer .f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.site-footer .f-brand .brand-text strong { color: #fff; font-size: 17px; }
.site-footer .f-brand .brand-text span { color: rgba(255, 255, 255, .5); }
.site-footer p { line-height: 1.9; }
.f-links li { margin-bottom: 9px; }
.f-links a:hover { color: #fff; }
.f-contact li {
  display: flex;
  gap: 10px;
  margin-bottom: 11px;
  line-height: 1.7;
}
.f-contact i { color: var(--brand-2); margin-top: 3px; flex: none; }
.f-contact .tel { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: .5px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 16px 0;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: rgba(255, 255, 255, .46);
}
.footer-bottom .spacer { flex: 1; }

/* 浮动操作 */
.float-actions {
  position: fixed;
  right: 18px;
  bottom: 26px;
  z-index: 90;
  display: grid;
  gap: 9px;
}
.float-actions a, .float-actions button {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--brand);
  display: grid;
  place-items: center;
  font-size: 17px;
  box-shadow: var(--shadow-sm);
}
.float-actions a:hover, .float-actions button:hover { background: var(--brand); color: #fff; }
.float-actions .to-top { opacity: 0; visibility: hidden; transition: all .2s ease; }
.float-actions .to-top.show { opacity: 1; visibility: visible; }

/* 动画：默认可见，仅对首屏外的元素由 JS 添加 reveal-pending */
.reveal { transition: opacity .6s ease, transform .6s ease; }
.reveal.reveal-pending { opacity: 0; transform: translateY(18px); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- 响应式 ---------------- */
@media (max-width: 1080px) {
  .nav > li > a { padding: 10px 11px; font-size: 13.5px; }
  .doctor-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-grid .f-brand-col { grid-column: span 3; }
}

@media (max-width: 900px) {
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quick-item:nth-child(2) { border-right: 0; }
  .quick-item:nth-child(1), .quick-item:nth-child(2) { border-bottom: 1px solid var(--line); }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-media { min-height: 300px; }
  .dept-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .doctor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-layout { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .layout-sidebar, .layout-sidebar.left { grid-template-columns: 1fr; }
  .profile-card { grid-template-columns: 220px minmax(0, 1fr); gap: 24px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .map-card { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 34px; }
  .cta-band .actions { margin-left: 0; }
  .article-sheet { padding: 28px 24px; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-nav { display: none; }
}

@media (max-width: 760px) {
  body { font-size: 14px; }
  .container { padding: 0 18px; }
  .topbar .tip { display: none; }
  .mobile-toggle { display: inline-grid; }
  .header-main .container { min-height: 66px; gap: 12px; }
  .brand-text strong { font-size: 16px; }
  .brand-text span { display: none; }
  /* backdrop-filter 会让 fixed 子元素相对 header 定位，移动端需关闭 */
  .site-header { backdrop-filter: none; background: rgba(255, 255, 255, .98); }
  .nav-wrap {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 150;
    background: rgba(7, 35, 58, .55);
    backdrop-filter: blur(4px);
    display: none;
    align-items: flex-start;
    padding: 108px 16px 24px;
    overflow-y: auto;
  }
  .nav-wrap.open { display: flex; }
  .nav {
    width: 100%;
    background: #fff;
    border-radius: 18px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    box-shadow: var(--shadow);
  }
  .nav > li > a { padding: 12px 14px; border-radius: 10px; }
  .nav-drop {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: 0;
    border-left: 2px solid var(--brand-3);
    border-radius: 0;
    margin: 0 0 4px 14px;
    padding: 2px 0;
    display: none;
  }
  .nav li.open .nav-drop { display: block; }
  .header-actions .btn { display: none; }
  .hero, .hero-track, .hero-inner { min-height: 480px; }
  .hero-inner { padding: 44px 0 62px; }
  .hero-stats { gap: 22px; }
  .hero-stats strong { font-size: 20px; }
  .section { padding: 52px 0; }
  .section-head { margin-bottom: 24px; }
  .section-link { margin-left: 0; }
  .quick-strip { margin-top: -28px; }
  .quick-item { padding: 16px; gap: 10px; }
  .quick-item .ico { width: 38px; height: 38px; font-size: 16px; }
  .dept-grid, .doctor-grid, .news-feature, .steps, .contact-grid, .related-grid { grid-template-columns: 1fr; }
  .list-card { grid-template-columns: 1fr; }
  .list-card .thumb { min-height: 150px; }
  .profile-card { grid-template-columns: 1fr; }
  .profile-photo { max-width: 240px; margin: 0 auto; }
  .article-body { font-size: 14px; line-height: 1.95; }
  .article-pager { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-grid .f-brand-col { grid-column: span 2; }
  .cta-band { margin: 52px 0; padding: 28px 22px; }
  .float-actions { right: 12px; bottom: 16px; }
  .float-actions a, .float-actions button { width: 42px; height: 42px; }
  .page-hero { padding: 44px 0 40px; }
  .content-wrap { padding-top: 34px; }
  .about-points { grid-template-columns: 1fr; }
}

/* ---------------- 补充组件 ---------------- */
.drop-caret {
  display: none;
}

.search-panel { position: relative; }
.search-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(255, 255, 255, .14);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 13px;
  transition: background .18s ease;
}
.search-close:hover { background: rgba(255, 255, 255, .28); }
.search-hint a { color: var(--brand-2); font-weight: 600; }
.search-hint a:hover { text-decoration: underline; }

.friend-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-size: 12px;
}
.friend-links .label { color: rgba(255, 255, 255, .52); }
.friend-links a { color: rgba(255, 255, 255, .74); }
.friend-links a:hover { color: #fff; }

@media (max-width: 760px) {
  .nav > li.has-drop { display: flex; flex-wrap: wrap; align-items: center; }
  .nav > li.has-drop > a { flex: 1; }
  .nav .drop-caret {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    margin-left: 6px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
    color: var(--muted);
    font-size: 12px;
  }
  .nav li.open > .drop-caret { color: var(--brand); border-color: var(--brand-3); }
  .nav li.open > .drop-caret i { transform: rotate(180deg); }
  .nav-drop { flex: 1 0 100%; }
  .friend-links { gap: 6px 14px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 27px; letter-spacing: .2px; }
  .hero-sub { font-size: 13.5px; }
  .hero-kicker { font-size: 11px; letter-spacing: 1.2px; }
}


/* appointment / form */
.article-sheet { background: #fff; border-radius: var(--radius-lg); padding: 34px 36px; box-shadow: var(--shadow-card); }
.contact-form .form-group { margin-bottom: 18px; }
.contact-form .form-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 7px; }
.contact-form .form-control { width: 100%; padding: 11px 14px; border: 1px solid var(--line, #dce5ea); border-radius: 10px; font-size: 14px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; box-sizing: border-box; font-family: inherit; }
.contact-form .form-control:focus { outline: none; border-color: var(--brand-2, #2d8fb3); box-shadow: 0 0 0 3px rgba(45,143,179,.12); }
.contact-form textarea.form-control { resize: vertical; min-height: 110px; }
.contact-form select.form-control { appearance: auto; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row-2 { grid-template-columns: 1fr; gap: 0; } .article-sheet { padding: 24px 18px; } }
