:root {
  --primary: #0B3A5B;
  --secondary: #1976D2;
  --accent: #C9A646;
  --bg: #FFFFFF;
  --soft: #F6F8FA;
  --text: #374151;
  --muted: #6B7280;
  --line: #E5EAF0;
  --shadow: 0 18px 45px rgba(11, 58, 91, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 1000;
  padding: 10px 14px;
  color: #fff;
  background: var(--primary);
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.soft-section {
  background: var(--soft);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 28px rgba(11, 58, 91, 0.08);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  flex: 0 0 auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--primary);
  border-radius: 50%;
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  color: #263746;
}

.site-nav a {
  position: relative;
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  width: 100%;
}

.nav-submit {
  padding: 9px 14px;
  color: #fff !important;
  background: var(--primary);
  border-radius: var(--radius);
}

.nav-submit::after {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--primary);
}

.hero {
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, #fff 0%, #fff 52%, #f7fafc 52%, #f7fafc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: 70px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--primary);
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: 52px;
  font-weight: 800;
}

h2 {
  font-size: 34px;
  font-weight: 800;
}

h3 {
  font-size: 20px;
  font-weight: 700;
}

p {
  margin: 0;
}

.hero-subtitle {
  margin-top: 18px;
  color: var(--primary);
  font-size: 22px;
  font-weight: 600;
}

.hero-text {
  max-width: 680px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 17px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  color: #fff;
  background: var(--primary);
}

.btn-primary:hover {
  background: #082f4b;
}

.btn-secondary {
  color: var(--primary);
  background: #fff;
  border-color: var(--line);
}

.btn-small {
  min-height: 40px;
  padding: 9px 15px;
  color: #fff;
  background: var(--primary);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 560px;
  margin-top: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.hero-stats div {
  padding: 18px;
}

.hero-stats div + div {
  border-left: 1px solid var(--line);
}

.hero-stats strong {
  display: block;
  color: var(--primary);
  font-size: 18px;
}

.hero-stats span {
  color: var(--muted);
  font-size: 13px;
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.visual-panel {
  position: absolute;
  inset: 46px 20px 38px 28px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.visual-toolbar {
  display: flex;
  gap: 8px;
}

.visual-toolbar span {
  width: 10px;
  height: 10px;
  background: var(--line);
  border-radius: 50%;
}

.tooth-graphic {
  position: relative;
  width: 190px;
  height: 220px;
  margin: 70px auto 42px;
}

.tooth-crown {
  position: absolute;
  left: 21px;
  top: 0;
  width: 148px;
  height: 120px;
  border: 10px solid #dbe9f7;
  border-bottom: 0;
  border-radius: 72px 72px 42px 42px;
  background: #fff;
}

.tooth-root {
  position: absolute;
  top: 101px;
  width: 76px;
  height: 112px;
  border: 10px solid #dbe9f7;
  border-top: 0;
  background: #fff;
}

.tooth-root.left {
  left: 27px;
  border-radius: 0 0 44px 30px;
  transform: rotate(9deg);
}

.tooth-root.right {
  right: 27px;
  border-radius: 0 0 30px 44px;
  transform: rotate(-9deg);
}

.visual-lines {
  display: grid;
  gap: 12px;
}

.visual-lines span {
  display: block;
  height: 10px;
  border-radius: 99px;
  background: #eef3f8;
}

.visual-lines span:nth-child(2) {
  width: 78%;
}

.visual-lines span:nth-child(3) {
  width: 54%;
  background: rgba(201, 166, 70, 0.22);
}

.visual-card {
  position: absolute;
  width: 230px;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 30px rgba(11, 58, 91, 0.1);
}

.visual-card strong {
  display: block;
  color: var(--primary);
}

.visual-card span {
  color: var(--muted);
  font-size: 13px;
}

.visual-card-top {
  top: 6px;
  right: 0;
}

.visual-card-bottom {
  left: 0;
  bottom: 0;
  border-left: 4px solid var(--accent);
}

.about-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: center;
}

.profile-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  align-items: center;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  color: #fff;
  background: var(--primary);
  border: 4px solid rgba(201, 166, 70, 0.3);
  border-radius: 50%;
  font-size: 34px;
  font-weight: 800;
  overflow: hidden;
}

.profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.profile-card p:last-child {
  margin-top: 12px;
  color: var(--muted);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-cloud span,
.mini-tags span,
.submit-types span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 12px;
  color: var(--secondary);
  background: #eef6ff;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p {
  margin-top: 12px;
  color: var(--muted);
}

.split-head {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

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

.feature-card,
.content-card,
.research-card,
.news-list article,
.video-card,
.doctors-box,
.case-detail,
.detail-aside,
.submit-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card,
.content-card,
.research-card,
.news-list article {
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover,
.content-card:hover,
.research-card:hover,
.news-list article:hover {
  transform: translateY(-3px);
  border-color: rgba(25, 118, 210, 0.35);
  box-shadow: var(--shadow);
}

.feature-card p,
.content-card p,
.research-card p,
.news-list p {
  margin-top: 12px;
  color: var(--muted);
}

.feature-card a,
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--secondary);
  font-weight: 700;
}

.icon-box {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  color: var(--primary);
  background: #f3f7fb;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  font-weight: 800;
}

.filter-row,
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn,
.tab-btn {
  min-height: 40px;
  padding: 8px 14px;
  color: var(--primary);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.filter-btn.active,
.tab-btn.active {
  color: #fff;
  background: var(--primary);
  border-color: var(--primary);
}

.pill {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 5px 10px;
  color: var(--secondary);
  background: #eef6ff;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 800;
}

.pill.gold {
  color: #6f5a13;
  background: rgba(201, 166, 70, 0.18);
}

.meta {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
}

.mini-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

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

.info-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 20px;
}

.info-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.info-list dt {
  color: var(--muted);
}

.info-list dd {
  margin: 0;
  color: var(--primary);
  font-weight: 700;
  text-align: right;
}

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

.journal {
  margin-bottom: 12px;
  color: var(--accent);
  font-weight: 800;
}

.video-layout,
.doctors-box,
.submit-grid,
.detail-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: center;
}

.video-layout p,
.doctors-box p,
.submit-grid p {
  margin-top: 12px;
  color: var(--muted);
}

.video-card {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 190px;
  padding: 28px;
}

.play-circle {
  position: relative;
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  background: var(--primary);
  border-radius: 50%;
}

.play-circle::after {
  content: "";
  position: absolute;
  left: 36px;
  top: 27px;
  width: 0;
  height: 0;
  border-top: 17px solid transparent;
  border-bottom: 17px solid transparent;
  border-left: 24px solid #fff;
}

.doctors-box {
  grid-template-columns: 1fr auto;
  padding: 34px;
}

.detail-layout {
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
}

.case-detail {
  padding: 34px;
}

.article-head {
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.case-detail section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.case-detail section p {
  margin-top: 10px;
  color: var(--muted);
}

.privacy-note,
.discussion-box,
.disclaimer {
  margin-top: 22px;
  padding: 16px;
  border-radius: var(--radius);
}

.privacy-note {
  color: var(--primary);
  background: #eef6ff;
  border-left: 4px solid var(--secondary);
}

.discussion-box {
  color: var(--muted);
  background: var(--soft);
}

.disclaimer {
  color: #634c08;
  background: rgba(201, 166, 70, 0.18);
  font-weight: 700;
}

.detail-aside {
  position: sticky;
  top: 100px;
  padding: 24px;
}

.detail-aside ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.submit-grid {
  grid-template-columns: 0.9fr 1.1fr;
  align-items: start;
}

.submit-types {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.submit-form {
  display: grid;
  gap: 16px;
  padding: 28px;
}

.submit-form label {
  display: grid;
  gap: 7px;
  color: var(--primary);
  font-weight: 700;
}

.submit-form input,
.submit-form select,
.submit-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 13px;
  color: var(--text);
  background: #fff;
}

.submit-form input:focus,
.submit-form select:focus,
.submit-form textarea:focus {
  outline: 3px solid rgba(25, 118, 210, 0.15);
  border-color: var(--secondary);
}

.check-row {
  grid-template-columns: 20px 1fr !important;
  align-items: start;
  color: var(--text) !important;
  font-size: 14px;
  font-weight: 500 !important;
}

.check-row input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
}

.form-status {
  min-height: 24px;
  color: var(--secondary);
  font-weight: 700;
}

.site-footer {
  color: #d8e4ee;
  background: var(--primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1.1fr;
  gap: 44px;
  padding: 54px 0 34px;
}

.footer-brand,
.footer-brand small,
.site-footer h3 {
  color: #fff;
}

.site-footer p,
.site-footer a {
  display: block;
  margin-top: 10px;
  color: #d8e4ee;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #b9c8d5;
  font-size: 14px;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: none;
  width: 44px;
  height: 44px;
  color: #fff;
  background: var(--primary);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.back-top.show {
  display: block;
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 11px;
    font-size: 13px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero {
    background: #fff;
  }

  .hero-visual {
    min-height: 430px;
  }
}

@media (max-width: 860px) {
  .section {
    padding: 64px 0;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    max-height: calc(100vh - 76px);
    overflow: auto;
    padding: 18px 20px 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: grid;
    gap: 0;
  }

  .site-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .nav-submit {
    margin-top: 12px;
    padding: 12px 14px !important;
    text-align: center;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 26px;
  }

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

  .hero-grid,
  .about-grid,
  .feature-grid,
  .card-grid,
  .news-list,
  .research-grid,
  .video-layout,
  .doctors-box,
  .submit-grid,
  .detail-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split-head {
    align-items: start;
    flex-direction: column;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .doctors-box {
    padding: 24px;
  }

  .detail-aside {
    position: static;
  }

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

@media (max-width: 560px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav-wrap {
    min-height: 68px;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-actions,
  .filter-row,
  .tabs {
    width: 100%;
  }

  .btn,
  .filter-btn,
  .tab-btn {
    width: 100%;
  }

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

  .hero-stats div + div {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-visual {
    min-height: 360px;
  }

  .visual-panel {
    inset: 38px 0 28px 0;
  }

  .visual-card {
    width: 205px;
  }

  .visual-card-top {
    right: 4px;
  }

  .visual-card-bottom {
    left: 4px;
  }

  .tooth-graphic {
    transform: scale(0.78);
    margin: 38px auto 16px;
  }

  .case-detail,
  .submit-form {
    padding: 20px;
  }
}
